]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
dbgcnt.def (gimple_unroll): New.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
62ec242e
JL
12019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2
3 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
4 the target output object format is not ELF.
5 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
6
da5c1bbe
OE
72019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
8
9 PR libgcc/78804
10 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
11 * fp-bit.c (pack_d, unpack_d): Remove special cases for
12 FLOAT_BIT_ORDER_MISMATCH.
13 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
14
8dc56a22
JW
152019-11-01 Jim Wilson <jimw@sifive.com>
16
17 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
18
91c64455
JL
192019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
20
21 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
22 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
23 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
24 Define symbols for 32-bit and f5series hardware multiply
25 register addresses.
26 Replace hard-coded register addresses with symbols.
27 Fix "_mspabi*" typo.
28 Fix whitespace.
29 * config/msp430/lib2mul.c: Add comment.
30
85093ac6
JDA
312019-10-15 John David Anglin <danglin@gcc.gnu.org>
32
33 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
34 unsigned int. Adjust callers.
35 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
36 unsigned int *. Load relocation offset before function pointer.
37 Add barrier to ensure ordering.
38
1aea083d
JDA
392019-10-12 John David Anglin <danglin@gcc.gnu.org>
40
41 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
42 Load PIC register after branch target. Fix white space.
43 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
44 implementations. Load PIC register after branch target. Don't
45 clobber function pointer when it points to function descriptor.
46 Use nullification instead of branch in LINUX implementation.
47
c49af82c
JDA
482019-10-03 John David Anglin <danglin@gcc.gnu.org>
49
50 * config/pa/fptr.c: Disable -Warray-bounds warning.
51
88a51d68
RH
522019-09-25 Richard Henderson <richard.henderson@linaro.org>
53
9e46fd07
RH
54 * config.in, configure: Re-rebuild with stock autoconf 2.69,
55 not the ubuntu modified 2.69.
56
58d169ba
RH
57 PR target/91833
58 * config/aarch64/lse-init.c: Include auto-target.h. Disable
59 initialization if !HAVE_SYS_AUXV_H.
60 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
61 * config.in, configure: Rebuild.
62
88a51d68
RH
63 PR target/91834
64 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
65 overlap the inputs.
66
761e6bb9
SZ
672019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
68
69 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
70 CTR_EL0.IDC and CTR_EL0.DIC.
71
76c93295
CL
722019-09-20 Christophe Lyon <christophe.lyon@st.com>
73
74 Revert:
75 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
76 Mickaël Guêné <mickael.guene@st.com>
77
78 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
79 architecture.
80
33befddc
RH
812019-09-19 Richard Henderson <richard.henderson@linaro.org>
82
83 * config/aarch64/lse-init.c: New file.
84 * config/aarch64/lse.S: New file.
85 * config/aarch64/t-lse: New file.
86 * config.host: Add t-lse to all aarch64 tuples.
87
ae1152e5
CL
882019-09-10 Christophe Lyon <christophe.lyon@st.com>
89 Mickaël Guêné <mickael.guene@st.com>
90
84818dbb
CL
91 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
92 architecture.
93
942019-09-10 Christophe Lyon <christophe.lyon@st.com>
95 Mickaël Guêné <mickael.guene@st.com>
96
ae1152e5
CL
97 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
98 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
99 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
100 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
101 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
102 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
103 (__gnu_personality_sigframe_fdpic): New.
104 (get_eit_entry): Add FDPIC signal frame support.
105
5d727a4b
CL
1062019-09-10 Christophe Lyon <christophe.lyon@st.com>
107 Mickaël Guêné <mickael.guene@st.com>
108
109 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
110 (__kernel_dmb): Likewise.
111 (__fdpic_cmpxchg): New function.
112 (__fdpic_dmb): New function.
113 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
114 (gnu_Unwind_Find_got): New function.
115 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
116 * unwind-arm-common.inc (UCB_PR_GOT): New.
117 (funcdesc_t): New struct.
118 (get_eit_entry): Add FDPIC support.
119 (unwind_phase2): Likewise.
120 (unwind_phase2_forced): Likewise.
121 (__gnu_Unwind_RaiseException): Likewise.
122 (__gnu_Unwind_Resume): Likewise.
123 (__gnu_Unwind_Backtrace): Likewise.
124 * unwind-pe.h (read_encoded_value_with_base): Likewise.
125
b1e21e5a 1262019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 127 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 128
11189793
CL
129 * libgcc/crtstuff.c: Add support for FDPIC.
130
1312019-09-10 Christophe Lyon <christophe.lyon@st.com>
132
133 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 134
91dfef96
JM
1352019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
136
137 * config.host: Set cpu_type for bpf-*-* targets.
138 * config/bpf/t-bpf: Likewise.
139 * config/bpf/crtn.S: Likewise.
140 * config/bpf/crti.S: New file.
141
2f4d8951
JW
1422019-09-06 Jim Wilson <jimw@sifive.com>
143
144 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
145 (riscv*-*-freebsd*): Likewise.
146
2f2aeda9
UW
1472019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
148
149 * config.host: Remove references to spu.
150 * config/spu/: Remove directory.
151
d16017da
JL
1522019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
153
154 PR target/91306
155 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
156 element type, instead of "sizeof" the element type.
157 (__DTOR_LIST__): Likewise.
158 (__TMC_LIST__): Likewise.
159 (__do_global_dtors_aux_fini_array_entry): Likewise.
160 (__frame_dummy_init_array_entry): Likewise.
161 (__CTOR_END__): Likewise.
162 (__DTOR_END__): Likweise.
163 (__FRAME_END__): Likewise.
164 (__TMC_END__): Likewise.
165
a9fcfec3
HL
1662019-08-20 Lili Cui <lilicui@intel.com>
167
168 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
169 INTEL_COREI7_COOPERLAKE.
170
428642b1
MT
1712019-07-31 Matt Thomas <matt@3am-software.com>
172 Nick Hudson <nick@nthcliff.demon.co.uk>
173 Matthew Green <mrg@eterna.com.au>
174 Maya Rashish <coypu@sdf.org>
175
176 * config.host (hppa*-*-netbsd*): New case.
177 * config/pa/t-netbsd: New file.
178
f0efd925
JH
1792019-07-31 Joel Hutton <Joel.Hutton@arm.com>
180
181 * config/arm/cmse.c (cmse_check_address_range): Add
182 warn_unused_result attribute.
183
a861990d
ML
1842019-07-22 Martin Liska <mliska@suse.cz>
185
186 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
187 * config/pa/t-stublib: Likewise.
188
9c0dba7c
SH
1892019-07-22 Stafford Horne <shorne@gmail.com>
190
191 PR target/90362
192 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
193 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
194 instructions are not available on every processor. Change a
195 l.bnf to l.bf to fix logic issue.
196
61afc8f8
IS
1972019-07-04 Iain Sandoe <iain@sandoe.co.uk>
198
199 * config.host: Remove reference to t-darwin8.
200
179c7ef5
IS
2012019-07-03 Iain Sandoe <iain@sandoe.co.uk>
202
203 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
204 list.
205 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
206 mmacosx-version-min for crts to run across all system versions.
207 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
208 * config/t-darwin: Revise mmacosx-version-min for crts to run across
209 system versions >= 10.4.
210
596341c7
ML
2112019-07-03 Martin Liska <mliska@suse.cz>
212
213 * Makefile.in: Use topn_values instead of one_value names.
214 * libgcov-merge.c (__gcov_merge_single): Move to ...
215 (__gcov_merge_topn): ... this.
216 (merge_single_value_set): Move to ...
217 (merge_topn_values_set): ... this.
218 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
219 ...
220 (__gcov_topn_values_profiler_body): ... this.
221 (__gcov_one_value_profiler_v2): Move to ...
222 (__gcov_topn_values_profiler): ... this.
223 (__gcov_one_value_profiler_v2_atomic): Move to ...
224 (__gcov_topn_values_profiler_atomic): ... this.
225 (__gcov_indirect_call_profiler_v4): Remove.
226 * libgcov-util.c (__gcov_single_counter_op): Move to ...
227 (__gcov_topn_counter_op): ... this.
228 * libgcov.h (L_gcov_merge_single): Remove.
229 (L_gcov_merge_topn): New.
230 (__gcov_merge_single): Remove.
231 (__gcov_merge_topn): New.
232 (__gcov_one_value_profiler_v2): Move to ..
233 (__gcov_topn_values_profiler): ... this.
234 (__gcov_one_value_profiler_v2_atomic): Move to ...
235 (__gcov_topn_values_profiler_atomic): ... this.
236
1b309ca5
ML
2372019-07-03 Martin Liska <mliska@suse.cz>
238
239 * libgcov-merge.c (merge_single_value_set): Support N values.
240 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
241
5a460280
ID
2422019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
243
244 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
245 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
246 * configure.ac: Add --disable-tm-clone-registry option.
247 * configure: Regenerate.
248
45309d28
ML
2492019-06-27 Martin Liska <mliska@suse.cz>
250
251 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
252 dead assignments.
253 * libgcov-util.c: Likewise.
254
c2f7a665
ML
2552019-06-27 Martin Liska <mliska@suse.cz>
256
257 * libgcov-util.c (gcov_profile_merge): Release allocated
258 memory.
259 (calculate_overlap): Likewise.
260
a8e55c61
IS
2612019-06-25 Iain Sandoe <iain@sandoe.co.uk>
262
263 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
264 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
265 Build objects for the out of line save/restore register functions
266 so that they can be used for any supported Darwin version.
267 * config/t-darwin: Default the build Darwin version to Darwin8
268 (MacOS 10.4).
269
e5ce4cbc
ML
2702019-06-25 Martin Liska <mliska@suse.cz>
271
272 * libgcov-driver-system.c (replace_filename_variables): Do not
273 call strlen with NULL argument.
274
52a47d28
AS
2752019-06-25 Andrew Stubbs <ams@codesourcery.com>
276
277 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
278 * config/gcn/unwind-gcn.c: New file.
279
76d46331
KCY
2802019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
281 Andrew Stubbs <ams@codesourcery.com>
282
283 * configure: Regenerate.
284 * config/gcn/gthr-gcn.h: New.
285
787783a0
TV
2862019-06-18 Tom de Vries <tdevries@suse.de>
287
288 * config/nvptx/crt0.c (__main): Declare.
289
f32f7585
MG
2902019-06-17 Matthew Green <mrg@eterna.com.au>
291 Maya Rashish <coypu@sdf.org>
292
293 * config.host (aarch64*-*-netbsd*): New case.
294
0fcc78f7
JL
2952019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
296
297 * config/msp430/slli.S (__mspabi_sllll): New library function for
298 performing a logical left shift of a 64-bit value.
299 * config/msp430/srai.S (__mspabi_srall): New library function for
300 performing a arithmetic right shift of a 64-bit value.
301 * config/msp430/srll.S (__mspabi_srlll): New library function for
302 performing a logical right shift of a 64-bit value.
303
b27c1082
MT
3042019-06-14 Matt Thomas <matt@3am-software.com>
305 Matthew Green <mrg@eterna.com.au>
306 Nick Hudson <skrll@netbsd.org>
307 Maya Rashish <coypu@sdf.org>
308
309 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
310 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
311 functions to build.
312 * config/arm/t-netbsd-eabi: New file.
313
ae7deb4b
DD
3142019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
315
316 * config.host: Add PRU target.
317 * config/pru/asri.c: New file.
318 * config/pru/eqd.c: New file.
319 * config/pru/eqf.c: New file.
320 * config/pru/ged.c: New file.
321 * config/pru/gef.c: New file.
322 * config/pru/gtd.c: New file.
323 * config/pru/gtf.c: New file.
324 * config/pru/led.c: New file.
325 * config/pru/lef.c: New file.
326 * config/pru/lib2bitcountHI.c: New file.
327 * config/pru/lib2divHI.c: New file.
328 * config/pru/lib2divQI.c: New file.
329 * config/pru/lib2divSI.c: New file.
330 * config/pru/libgcc-eabi.ver: New file.
331 * config/pru/ltd.c: New file.
332 * config/pru/ltf.c: New file.
333 * config/pru/mpyll.S: New file.
334 * config/pru/pru-abi.h: New file.
335 * config/pru/pru-asm.h: New file.
336 * config/pru/pru-divmod.h: New file.
337 * config/pru/sfp-machine.h: New file.
338 * config/pru/t-pru: New file.
339
0d7b3e47
JJ
3402019-06-11 Jakub Jelinek <jakub@redhat.com>
341
342 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
343
54e2d83c
ML
3442019-06-10 Martin Liska <mliska@suse.cz>
345
346 PR bootstrap/90808
347 * libgcov.h: Add ATTRIBUTE_UNUSED.
348
92d41717
ML
3492019-06-10 Martin Liska <mliska@suse.cz>
350
351 * Makefile.in: Add __gcov_one_value_profiler_v2,
352 __gcov_one_value_profiler_v2_atomic and
353 __gcov_indirect_call_profiler_v4.
354 * libgcov-merge.c (__gcov_merge_single): Change
355 function signature.
356 (merge_single_value_set): New.
357 * libgcov-profiler.c (__gcov_one_value_profiler_body):
358 Update functionality.
359 (__gcov_one_value_profiler): Remove.
360 (__gcov_one_value_profiler_v2): ... this.
361 (__gcov_one_value_profiler_atomic): Rename to ...
362 (__gcov_one_value_profiler_v2_atomic): this.
363 (__gcov_indirect_call_profiler_v3): Rename to ...
364 (__gcov_indirect_call_profiler_v4): ... this.
365 * libgcov.h (__gcov_one_value_profiler): Remove.
366 (__gcov_one_value_profiler_atomic): Remove.
367 (__gcov_one_value_profiler_v2_atomic): New.
368 (__gcov_indirect_call_profiler_v3): Remove.
369 (__gcov_one_value_profiler_v2): New.
370 (__gcov_indirect_call_profiler_v4): New.
371 (gcov_get_counter_ignore_scaling): New function.
372
e37333ba
ML
3732019-06-07 Martin Liska <mliska@suse.cz>
374
375 * Makefile.in: Remove usage of
376 _gcov_merge_icall_topn.
377 * libgcov-driver.c (gcov_sort_n_vals): Remove.
378 (gcov_sort_icall_topn_counter): Likewise.
379 (gcov_sort_topn_counter_arrays): Likewise.
380 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
381 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
382 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
383 Likewise.
384 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
385 (struct indirect_call_tuple): Remove.
386 (__gcov_indirect_call_topn_profiler): Remove.
387 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
388 * libgcov.h (gcov_sort_n_vals): Remove.
389 (L_gcov_merge_icall_topn): Likewise.
390 (__gcov_merge_icall_topn): Likewise.
391 (__gcov_indirect_call_topn_profiler): Likewise.
392
34a4a9c2
IS
3932019-06-06 Iain Sandoe <iain@sandoe.co.uk>
394
395 * config/rs6000/t-darwin: Ensure that the unwinder is built with
396 altivec enabled.
397
d1b2f85f
JL
3982019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
399
400 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
401 section.
402 (__mspabi_slli): Likewise.
403 (__mspabi_slll_n): Likewise.
404 (__mspabi_slll): Likewise.
405 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
406 (__mspabi_srai): Likewise.
407 (__mspabi_sral_n): Likewise.
408 (__mspabi_sral): Likewise.
409 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
410 (__mspabi_srli): Likewise.
411 (__mspabi_srll_n): Likewise.
412 (__mspabi_srll): Likewise.
413
e69a13d1
YS
4142019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
415
416 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
417 Add appropriate tm_file clause as well.
418 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
419
b009eac1
JC
4202019-06-05 James Clarke <jrtc27@jrtc27.com>
421
422 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
423 rather than .data/.bss so it can be accessed via gp-relative
424 addressing.
425
781d39f2
DE
4262019-06-05 David Edelsohn <dje.gcc@gmail.com>
427
428 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
429 (CR2_REGNO): Rename to R_CR2.
430 (XER_REGNO): Rename to R_XER.
431 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
432 (VRSAVE_REGNO): Rename to R_VRSAVE.
433 (VSCR_REGNO): R_VSCR.
434
76aaa9cd
YS
4352019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
436
437 * config.host (rx-*-linux*): Add new case.
438 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
439
8fc16d72
ST
4402019-05-29 Sam Tebbs <sam.tebbs@arm.com>
441
442 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
443 function.
444 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
445 aarch64_post_frob_eh_handler_addr): Add check for b-key.
446 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
447 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
448 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
449 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
450 string.
451 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
452 string.
453 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
454
e54b1a92
RO
4552019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
456
457 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
458 Remove Solaris 9 and 10 support.
459 (sparc_is_sighandler): Likewise.
460
abbb8307
JDA
4612019-05-26 John David Anglin <danglin@gcc.gnu.org>
462
463 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
464
2581344d
L
4652019-05-17 H.J. Lu <hongjiu.lu@intel.com>
466
467 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
468 4_FP_W_TYPEs are used for IEEE quad precision.
469 * soft-fp/extendhftf2.c: Likewise.
470 * soft-fp/extendsftf2.c: Likewise.
471 * soft-fp/extendxftf2.c: Likewise.
472 * soft-fp/trunctfdf2.c: Likewise.
473 * soft-fp/trunctfhf2.c: Likewise.
474 * soft-fp/trunctfsf2.c: Likewise.
475 * soft-fp/trunctfxf2.c: Likewise.
476 * config/rs6000/ibm-ldouble.c: Likewise.
477
ccd1242e
RO
4782019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
479
480 * config.host: Simplify various *-*-solaris2.1[0-9]* to
481 *-*-solaris2*.
482 * configure.ac: Likewise.
483 * configure: Regenerate.
484
485 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
486 Solaris 10 and Solaris 11 < snv_125 handling.
487
ef5eb79d
IS
4882019-05-12 Iain Sandoe <iain@sandoe.co.uk>
489
490 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
491
4f0e90fa
HL
4922019-05-07 Hongtao Liu <hongtao.liu@intel.com>
493
494 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
495 * config/i386/cpuinfo.h (enum processor_features): Add
496 FEATURE_AVX512BF16.
497
48528842
RR
4982019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
499 Bernd Edlinger <bernd.edlinger@hotmail.de>
500 Jakub Jelinek <jakub@redhat.com>
501
502 PR target/89093
503 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
504 * config/arm/unwind-arm.c: Likewise.
505 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
506 attribute for ARM.
507
887e182f
MC
5082019-04-15 Monk Chiang <sh.chiang04@gmail.com>
509
510 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
511 (RT_SIGRETURN): Update.
512 (nds32_fallback_frame_state): Update.
513
a90b0cdd
MS
5142019-02-21 Martin Sebor <msebor@redhat.com>
515
516 * libgcc2.h (__clear_cache): Correct signature.
517 * libgcc2.c (__clear_cache): Same.
518
1ed28eda
UB
5192019-02-20 Uroš Bizjak <ubizjak@gmail.com>
520
521 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
522 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
523
fe95aee9
UB
5242019-02-19 Uroš Bizjak <ubizjak@gmail.com>
525
526 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
527 regno instead of index to DWARF_ZERO_REG.
528
bf7988f1
EB
5292019-02-15 Eric Botcazou <ebotcazou@adacore.com>
530
531 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
532 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
533
ba2c1ca8
UB
5342019-01-31 Uroš Bizjak <ubizjak@gmail.com>
535
536 * config/alpha/t-linux: Add -mfp-rounding-mode=d
537 to HOST_LIBGCC2_CFLAGS.
538
6395ba73
L
5392019-01-23 Joseph Myers <joseph@codesourcery.com>
540
541 PR libgcc/88931
ba2c1ca8 542 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 543
756721ba
ML
5442019-01-18 Martin Liska <mliska@suse.cz>
545
546 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
547 to ...
548 (__gcov_indirect_call_profiler_v3): ... this.
549 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
550 (__gcov_indirect_call_profiler_v3): Likewise.
551 * Makefile.in: Bump function name.
552
d273c40a
ML
5532019-01-18 Martin Liska <mliska@suse.cz>
554
555 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
556 (gcov_version): Use in gcov_error.
557 (merge_one_data): Likewise.
558 (dump_one_gcov): Likewise.
559
be9d9fdb
ML
5602019-01-18 Martin Liska <mliska@suse.cz>
561
562 * libgcov-driver.c (gcov_version_string): New function.
563 (gcov_version): Convert version integer into string.
564
91d7b7fe
AS
5652019-01-17 Andrew Stubbs <ams@codesourcery.com>
566 Kwok Cheung Yeung <kcy@codesourcery.com>
567 Julian Brown <julian@codesourcery.com>
568 Tom de Vries <tom@codesourcery.com>
569
570 * config.host: Recognize amdgcn*-*-amdhsa.
571 * config/gcn/crt0.c: New file.
572 * config/gcn/lib2-divmod-hi.c: New file.
573 * config/gcn/lib2-divmod.c: New file.
574 * config/gcn/lib2-gcn.h: New file.
575 * config/gcn/sfp-machine.h: New file.
576 * config/gcn/t-amdgcn: New file.
577
67914693
SL
5782019-01-09 Sandra Loosemore <sandra@codesourcery.com>
579
580 PR other/16615
581
582 * config/c6x/libunwind.S: Mechanically replace "can not" with
583 "cannot".
584 * config/tilepro/atomic.h: Likewise.
585 * config/vxlib-tls.c: Likewise.
586 * generic-morestack-thread.c: Likewise.
587 * generic-morestack.c: Likewise.
588 * mkmap-symver.awk: Likewise.
589
a5544970
JJ
5902019-01-01 Jakub Jelinek <jakub@redhat.com>
591
592 Update copyright years.
593
da77eace
L
5942018-12-20 H.J. Lu <hongjiu.lu@intel.com>
595
596 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
597 to ignore -Waddress-of-packed-member.
598
72e3a529
TP
5992018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
600
601 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
602 parameter and corresponding code.
603 (ARM_FUNC_START): Likewise in both definitions.
604 Also update footer comment about condition that need to match with
605 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
606 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
607 defined. Weakly define it in this case.
608 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
609 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
610 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
611 comment to keep condition in sync with the one in
612 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
613
5d54c798
WX
6142018-12-18 Wei Xiao <wei3.xiao@intel.com>
615
616 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
617 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
618
5a2580b6
RV
6192018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
620
621 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
622 and .cfi_endproc directives for VxWorks targets.
623
c0c5112b
PK
6242018-12-05 Paul Koning <ni1d@arrl.net>
625
626 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
627
1ea7ea18
AM
6282018-11-27 Alan Modra <amodra@gmail.com>
629
630 * config/rs6000/morestack.S (__stack_split_initialize),
631 (__morestack_get_guard, __morestack_set_guard),
632 (__morestack_make_guard): Provide CFI covering these functions.
633 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
634
ff641ae1
XQ
6352018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
636
1ea7ea18 637 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
638 (sc_pt_regs_lr): Update for kernel.
639 (sc_pt_regs_tls): Update for kernel.
640
28209372
XQ
6412018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
642
643 * config/csky/linux-unwind.h: Fix coding style.
644
b2a71af6
XQ
6452018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
646
647 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 648 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
649 instructions to adapt to changes in the kernel
650
d929e137
SH
6512018-11-09 Stafford Horne <shorne@gmail.com>
652 Richard Henderson <rth@twiddle.net>
653
654 * config.host: Add OpenRISC support.
655 * config/or1k/*: New.
656
222cfefa
KC
6572018-11-08 Kito Cheng <kito@andestech.com>
658
659 * soft-fp/adddf3.c: Update from glibc.
660 * soft-fp/addsf3.c: Likewise.
661 * soft-fp/addtf3.c: Likewise.
662 * soft-fp/divdf3.c: Likewise.
663 * soft-fp/divsf3.c: Likewise.
664 * soft-fp/divtf3.c: Likewise.
665 * soft-fp/double.h: Likewise.
666 * soft-fp/eqdf2.c: Likewise.
667 * soft-fp/eqsf2.c: Likewise.
668 * soft-fp/eqtf2.c: Likewise.
669 * soft-fp/extenddftf2.c: Likewise.
670 * soft-fp/extended.h: Likewise.
671 * soft-fp/extendhftf2.c: Likewise.
672 * soft-fp/extendsfdf2.c: Likewise.
673 * soft-fp/extendsftf2.c: Likewise.
674 * soft-fp/extendxftf2.c: Likewise.
675 * soft-fp/fixdfdi.c: Likewise.
676 * soft-fp/fixdfsi.c: Likewise.
677 * soft-fp/fixdfti.c: Likewise.
678 * soft-fp/fixhfti.c: Likewise.
679 * soft-fp/fixsfdi.c: Likewise.
680 * soft-fp/fixsfsi.c: Likewise.
681 * soft-fp/fixsfti.c: Likewise.
682 * soft-fp/fixtfdi.c: Likewise.
683 * soft-fp/fixtfsi.c: Likewise.
684 * soft-fp/fixtfti.c: Likewise.
685 * soft-fp/fixunsdfdi.c: Likewise.
686 * soft-fp/fixunsdfsi.c: Likewise.
687 * soft-fp/fixunsdfti.c: Likewise.
688 * soft-fp/fixunshfti.c: Likewise.
689 * soft-fp/fixunssfdi.c: Likewise.
690 * soft-fp/fixunssfsi.c: Likewise.
691 * soft-fp/fixunssfti.c: Likewise.
692 * soft-fp/fixunstfdi.c: Likewise.
693 * soft-fp/fixunstfsi.c: Likewise.
694 * soft-fp/fixunstfti.c: Likewise.
695 * soft-fp/floatdidf.c: Likewise.
696 * soft-fp/floatdisf.c: Likewise.
697 * soft-fp/floatditf.c: Likewise.
698 * soft-fp/floatsidf.c: Likewise.
699 * soft-fp/floatsisf.c: Likewise.
700 * soft-fp/floatsitf.c: Likewise.
701 * soft-fp/floattidf.c: Likewise.
702 * soft-fp/floattihf.c: Likewise.
703 * soft-fp/floattisf.c: Likewise.
704 * soft-fp/floattitf.c: Likewise.
705 * soft-fp/floatundidf.c: Likewise.
706 * soft-fp/floatundisf.c: Likewise.
707 * soft-fp/floatunditf.c: Likewise.
708 * soft-fp/floatunsidf.c: Likewise.
709 * soft-fp/floatunsisf.c: Likewise.
710 * soft-fp/floatunsitf.c: Likewise.
711 * soft-fp/floatuntidf.c: Likewise.
712 * soft-fp/floatuntihf.c: Likewise.
713 * soft-fp/floatuntisf.c: Likewise.
714 * soft-fp/floatuntitf.c: Likewise.
715 * soft-fp/gedf2.c: Likewise.
716 * soft-fp/gesf2.c: Likewise.
717 * soft-fp/getf2.c: Likewise.
718 * soft-fp/half.h: Likewise.
719 * soft-fp/ledf2.c: Likewise.
720 * soft-fp/lesf2.c: Likewise.
721 * soft-fp/letf2.c: Likewise.
722 * soft-fp/muldf3.c: Likewise.
723 * soft-fp/mulsf3.c: Likewise.
724 * soft-fp/multf3.c: Likewise.
725 * soft-fp/negdf2.c: Likewise.
726 * soft-fp/negsf2.c: Likewise.
727 * soft-fp/negtf2.c: Likewise.
728 * soft-fp/op-1.h: Likewise.
729 * soft-fp/op-2.h: Likewise.
730 * soft-fp/op-4.h: Likewise.
731 * soft-fp/op-8.h: Likewise.
732 * soft-fp/op-common.h: Likewise.
733 * soft-fp/quad.h: Likewise.
734 * soft-fp/single.h: Likewise.
735 * soft-fp/soft-fp.h: Likewise.
736 * soft-fp/subdf3.c: Likewise.
737 * soft-fp/subsf3.c: Likewise.
738 * soft-fp/subtf3.c: Likewise.
739 * soft-fp/truncdfsf2.c: Likewise.
740 * soft-fp/trunctfdf2.c: Likewise.
741 * soft-fp/trunctfhf2.c: Likewise.
742 * soft-fp/trunctfsf2.c: Likewise.
743 * soft-fp/trunctfxf2.c: Likewise.
744 * soft-fp/unorddf2.c: Likewise.
745 * soft-fp/unordsf2.c: Likewise.
746 * soft-fp/unordtf2.c: Likewise.
747
2901f42f
VK
7482018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
749
750 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
751 * config/i386/cpuinfo.h (processor_types): Add znver2.
752
4310ca66
PK
7532018-11-01 Paul Koning <ni1d@arrl.net>
754
755 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
756 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
757
22e05272
JM
7582018-10-31 Joseph Myers <joseph@codesourcery.com>
759
760 PR bootstrap/82856
761 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
762 * configure: Regenerate.
763
8180cde0
CZ
7642018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
765
766 * config/arc/lib1funcs.S (_muldi3): New function.
767 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
768
be7b071e
RV
7692018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
770
771 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
772
3239d726
ML
7732018-10-25 Martin Liska <mliska@suse.cz>
774
775 PR other/87735
776 * libgcov-profiler.c: Revert.
777
19b55958
ML
7782018-10-24 Martin Liska <mliska@suse.cz>
779
780 * libgcov-profiler.c: Start from 1 in order to distinguish
781 functions which were seen and these that were not.
782
a9a2fddb
PK
7832018-10-18 Paul Koning <ni1d@arrl.net>
784
785 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
786 standard.
787 * divmod.c: Update references to __udivmodsi4.
788 * udivmod.c: Ditto.
789 * udivhi3.c: New file.
790 * udivmodhi4.c: New file.
791 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
792
fc8abc46
RV
7932018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
794
795 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
796
87f918e3
OH
7972018-10-12 Olivier Hainque <hainque@adacore.com>
798
799 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
800 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
801
be86efa7
PK
8022018-10-08 Paul Koning <ni1d@arrl.net>
803
804 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
805
3edbcdbe
ML
8062018-10-04 Martin Liska <mliska@suse.cz>
807
808 PR gcov-profile/84107
809 * libgcov-profiler.c (__gcov_indirect_call):
810 Change type to indirect_call_tuple.
811 (struct indirect_call_tuple): New struct.
812 (__gcov_indirect_call_topn_profiler): Change type.
813 (__gcov_indirect_call_profiler_v2): Use the new
814 variables.
815 * libgcov.h (struct indirect_call_tuple): New struct
816 definition.
817
af8096fc
UB
8182018-10-03 Uros Bizjak <ubizjak@gmail.com>
819
820 * libgcc2.c (isnan): Use __builtin_isnan.
821 (isfinite): Use __builtin_isfinite.
822 (isinf): Use __builtin_isinf.
823
0a76bba4
UB
8242018-09-26 Uros Bizjak <ubizjak@gmail.com>
825
826 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
827
5244089f
OH
8282018-09-21 Alexandre Oliva <oliva@adacore.com>
829
830 * config/vxcache.c: New file. Provide __clear_cache, based on
831 the cacheTextUpdate VxWorks service.
832 * config/t-vxworks (LIB2ADD): Add vxcache.c.
833 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
834 * config/t-vxwoks7: Likewise.
835
512cc015
ML
8362018-09-21 Martin Liska <mliska@suse.cz>
837
838 * libgcov-driver.c (crc32_unsigned): Remove.
839 (gcov_histogram_insert): Likewise.
840 (gcov_compute_histogram): Likewise.
841 (compute_summary): Simplify rapidly.
842 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
843 (merge_summary): Rapidly simplify.
844 (dump_one_gcov): Ignore gcov_summary.
845 (gcov_do_dump): Do not handle program summary, it's not
846 used.
847 * libgcov-util.c (tag_summary): Remove.
848 (read_gcda_finalize): Fix coding style.
849 (read_gcda_file): Initialize curr_object_summary.
850 (compute_summary): Remove.
851 (calculate_overlap): Remove settings of run_max.
852
36ff254b
MC
8532018-09-21 Monk Chiang <sh.chiang04@gmail.com>
854
855 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
856 ucontext_t type instead.
857 (nds32_fallback_frame_state): Remove struct _sigframe statement.
858
229a033d
KC
8592018-09-21 Kito Cheng <kito.cheng@gmail.com>
860
861 * config/nds32/t-nds32-glibc: New file.
862
53c6feb2
RO
8632018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
864
865 * configure.ac (solaris_ld_v2_maps): New test.
866 * configure: Regenerate.
867 * Makefile.in (solaris_ld_v2_maps): New variable.
868 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
869 if supported.
870
ebdb6f23
RE
8712018-08-23 Richard Earnshaw <rearnsha@arm.com>
872
873 PR target/86951
874 * config/arm/lib1funcs.asm (speculation_barrier): New function.
875 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
876 to build.
877
a49c064e
IS
8782018-08-22 Iain Sandoe <iain@sandoe.co.uk>
879
1ea7ea18 880 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
881 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
882 * config/darwin10-unwind-find-enc-func.c: … to here.
883 * config/t-darwin: Build Darwin10 unwinder shim crt.
884 * libgcc/config.host: Add the Darwin10 unwinder shim.
885
9a5b8df7
RV
8862018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
887
888 * config.host: Add crtbegin.o and crtend.o for
889 powerpc-wrs-vxworks target.
890
4cd0bc3b
J
8912018-08-17 Jojo <jijie_rong@c-sky.com>
892 Huibin Wang <huibin_wang@c-sky.com>
893 Sandra Loosemore <sandra@codesourcery.com>
894 Chung-Lin Tang <cltang@codesourcery.com>
895
896 C-SKY port: libgcc
897
898 * config.host: Add C-SKY support.
899 * config/csky/*: New.
900
a4931745
CJW
9012018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
902
903 * config/nds32/t-nds32-isr: Rearrange object dependency.
904 * config/nds32/initfini.c: Add dwarf2 unwinding support.
905 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
906 and registers usage.
907 * config/nds32/isr-library/excp_isr.S: Ditto.
908 * config/nds32/isr-library/intr_isr.S: Ditto.
909 * config/nds32/isr-library/reset.S: Ditto.
910 * config/nds32/isr-library/restore_all.inc: Ditto.
911 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
912 * config/nds32/isr-library/restore_partial.inc: Ditto.
913 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
914 * config/nds32/isr-library/save_all.inc: Ditto.
915 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
916 * config/nds32/isr-library/save_partial.inc: Ditto.
917 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
918 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
919
2b1969f6
JDA
9202018-08-11 John David Anglin <danglin@gcc.gnu.org>
921
922 * config/pa/linux-atomic.c: Update comment.
923 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
924 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
925 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
926 __ATOMIC_RELAXED for atomic loads.
927 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
928 unordered store to release lock.
929 (__sync_lock_release_8): Likewise.
930 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 931
89fff9cc
NP
9322018-08-02 Nicolas Pitre <nico@fluxnic.net>
933
934 PR libgcc/86512
935 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
936 exponent goes negative. Update my email address.
937 * config/arm/ieee754-sf.S: Likewise.
938
fd2e1dcd
ML
9392018-08-01 Martin Liska <mliska@suse.cz>
940
941 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 942 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 943
b7415975
CL
9442018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
945
946 * config/arm/ieee754-df.S: Fix comment for code working on
947 architectures >= 4.
948 * config/arm/ieee754-sf.S: Likewise.
949
b72e71a3
L
9502018-07-27 H.J. Lu <hongjiu.lu@intel.com>
951
952 PR libgcc/85334
953 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
954 Removed.
955
1c686aa4
JC
9562018-07-05 James Clarke <jrtc27@jrtc27.com>
957
958 * configure: Regenerated.
959
b61c9b99
RO
9602018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
961
962 * Makefile.in (install_leaf): Use enable_gcov instead of
963 enable_libgcov.
964
1765b023
RV
9652018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
966
967 * configure.ac: Add --disable-gcov option.
968 * configure: Regenerate.
969 * Makefile.in: Honour @enable_gcov@.
970
9b2e34ef
CL
9712018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
972
973 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
974 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
975 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
976 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
977 __ARM_ARCH__.
978 * config/arm/ieee754-sf.S: Likewise.
979 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
980
d1b0dd54
CL
9812018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
982
983 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
984 longer supported.
985 * config/arm/ieee754-sf.S: Likewise.
986
1f3fa525
TM
9872018-06-20 Than McIntosh <thanm@google.com>
988
989 PR libgcc/86213
990 * generic-morestack.c (allocate_segment): Move calls to getenv and
991 getpagesize to __morestack_load_mmap.
992 (__morestack_load_mmap) Initialize static_pagesize and
993 use_guard_page here so as to avoid clobbering SSE regs during a
994 __morestack call.
995
6a8886e4
MM
9962018-06-18 Michael Meissner <meissner@linux.ibm.com>
997
998 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
999 support modules with -mno-gnu-attribute.
1000 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1001
fb997097
OH
10022018-06-07 Olivier Hainque <hainque@adacore.com>
1003
1004 * config/t-vxworks (LIBGCC_INCLUDES): Add
1005 -I$(MULTIBUILDTOP)../../gcc/include.
1006 * config/t-vxworks7: Likewise. Reformat a bit to match
1007 the t-vxworks layout.
1008
a548a5a1
OM
10092018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1010
1011 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1012
244aebfd
ML
10132018-06-07 Martin Liska <mliska@suse.cz>
1014
1015 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1016 all_prg.
244aebfd 1017
6c086e8c
ML
10182018-06-07 Martin Liska <mliska@suse.cz>
1019
92a285c1 1020 PR bootstrap/86057
6c086e8c 1021 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1022 memcpy instead of mempcpy.
6c086e8c 1023 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1024 prefix and set it.
6c086e8c 1025 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1026 here and properly copy content into it.
6c086e8c 1027 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1028 field, change prefix from size_t into char *.
6c086e8c
ML
1029 (compute_summary): Do not calculate longest filename.
1030 (gcov_do_dump): Release memory of gf.filename after each file.
1031 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1032 compute_summary.
6c086e8c
ML
1033 (calculate_overlap): Likewise.
1034
97a53d1d
ML
10352018-06-05 Martin Liska <mliska@suse.cz>
1036
1037 PR gcov-profile/47618
1038 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1039 function.
97a53d1d
ML
1040 (gcov_exit_open_gcda_file): Use it.
1041
7f3577f5
ML
10422018-06-05 Martin Liska <mliska@suse.cz>
1043
1044 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1045 of gcov_ctr_summary.
1046 (compute_summary): Do it just for a single summary.
1047 (merge_one_data): Likewise.
1048 (merge_summary): Simplify as we read just single summary.
1049 (dump_one_gcov): Pass proper argument.
1050 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1051 single summary.
1052 (gcov_info_count_all_cold): Likewise.
1053 (calculate_overlap): Likewise.
1054
cf3cd43d
CJW
10552018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1056 Monk Chiang <sh.chiang04@gmail.com>
1057
1058 * config.host (nds32*-linux*): New.
1059 * config/nds32/linux-atomic.c: New file.
1060 * config/nds32/linux-unwind.h: New file.
1061
8b8003ed
UB
10622018-05-31 Uros Bizjak <ubizjak@gmail.com>
1063
1064 PR target/85591
1065 * config/i386/cpuinfo.c (get_amd_cpu): Return
1066 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1067
bbdf026f
RV
10682018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1069
92a285c1 1070 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1071
0e8f29da
ML
10722018-05-29 Martin Liska <mliska@suse.cz>
1073
92a285c1 1074 PR gcov-profile/85759
0e8f29da 1075 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1076 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1077 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1078 overwrite a gcov file with a different timestamp.
0e8f29da 1079
54fd1590
K
10802018-05-23 Kalamatee <kalamatee@gmail.com>
1081
1082 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1083 path to Lf$finfty.
1084
09baee1a
KC
10852018-05-18 Kito Cheng <kito.cheng@gmail.com>
1086 Monk Chiang <sh.chiang04@gmail.com>
1087 Jim Wilson <jimw@sifive.com>
1088
1089 * config/riscv/save-restore.S: Add support for rv32e.
1090
c3f808d3
KT
10912018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1092
1093 * config/arm/libunwind.S: Update comment relating to armv5.
1094
fcf4f831
JL
10952018-05-17 Jerome Lambourg <lambourg@adacore.com>
1096
1097 * config/arm/cmse.c (cmse_check_address_range): Replace
1098 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1099
74b2bb19
OM
11002018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1101
1102 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1103 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1104
50e461df
OM
11052018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1106
1107 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1108 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1109
e5f1cdb1
AC
11102018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1111
1112 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1113
8f479d7a
AT
11142018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1115 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1116
1117 PR libgcc/84292
1118 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1119 op_and_fetch to return the right result.
1120
ae043291
AM
11212018-04-27 Alan Modra <amodra@gmail.com>
1122
1123 PR libgcc/85532
1124 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1125 -fno-asynchronous-unwind-tables.
1126
ba169b74
CJW
11272018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1128
1129 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1130 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1131
ffc2fc06
L
11322018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1133
1134 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1135 when including "config/i386/shadow-stack-unwind.h".
1136
7b47ecf2
L
11372018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1138
1139 * configure: Regenerated.
1140
661eb8f9
MM
11412018-04-20 Michael Meissner <meissner@linux.ibm.com>
1142
1143 PR target/85456
1144 * config/rs6000/_powikf2.c: New file. Add support for the
1145 __builtin_powil function when long double is IEEE 128-bit floating
1146 point.
1147 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1148 __powikf2 support.
1149 (__powikf2): Likewise.
1150 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1151 (__powikf2_hw): Likewise.
1152 (__powikf2): Likewise.
1153 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1154 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1155 (_powikf2-hw.c): Likewise.
1156
5707be3c
L
11572018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1158
1159 PR libgcc/85334
1160 * unwind-generic.h (_Unwind_Frames_Increment): New.
1161 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1162 Likewise.
1163 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1164 count with _Unwind_Frames_Increment.
1165 (_Unwind_ForcedUnwind_Phase2): Likewise.
1166
5f9ca0b8
L
11672018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 PR libgcc/85379
1170 * config/i386/morestack.S (__stack_split_initialize): Add
1171 _CET_ENDBR.
1172
a0e1df88
JJ
11732018-04-19 Jakub Jelinek <jakub@redhat.com>
1174
1175 * configure: Regenerated.
1176
001ddaa8
DM
11772018-04-18 David Malcolm <dmalcolm@redhat.com>
1178
1179 PR jit/85384
1180 * configure: Regenerate.
1181
a57f99ba
JJ
11822018-04-16 Jakub Jelinek <jakub@redhat.com>
1183
1184 PR target/84945
1185 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1186 -Wdangling-else warnings. Mask shift counts to avoid
1187 -Wshift-count-negative and -Wshift-count-overflow false positives.
1188
4d47fe5a
RB
11892018-04-06 Ruslan Bukin <br@bsdpad.com>
1190
1191 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1192
059cc8ac
L
11932018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1194
1195 PR target/85100
1196 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1197 (XSTATE_FP): Likewise.
1198 (XSTATE_SSE): Likewise.
1199 (XSTATE_YMM): Likewise.
1200 (XSTATE_OPMASK): Likewise.
1201 (XSTATE_ZMM): Likewise.
1202 (XSTATE_HI_ZMM): Likewise.
1203 (XCR_AVX_ENABLED_MASK): Likewise.
1204 (XCR_AVX512F_ENABLED_MASK): Likewise.
1205 (get_available_features): Enable AVX and AVX512 features only
1206 if their states are supported by OSXSAVE.
1207
f2620385
IT
12082018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1209
1210 PR target/85025
1211 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1212 Fix a typo, tmp => 255.
1213
ae6dca8c
JJ
12142018-03-20 Jakub Jelinek <jakub@redhat.com>
1215
1216 PR target/84945
1217 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1218 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1219 ifndef SHARED only.
1220 (set_feature): Define.
1221 (get_available_features): Use set_feature macro. Set __cpu_features2
1222 to the second word of features ifndef SHARED.
1223
c36b04c1
JK
12242018-03-15 Julia Koval <julia.koval@intel.com>
1225
1226 * config/i386/cpuinfo.c (get_available_features): Add
1227 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1228 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1229 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1230 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1231 FEATURE_AVX512BITALG.
1232
79ab5364
JK
12332018-03-14 Julia Koval <julia.koval@intel.com>
1234
1235 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1236 icelake client and icelake server.
1237
66a00b11
JDA
12382018-03-06 John David Anglin <danglin@gcc.gnu.org>
1239
1240 * config/pa/fptr.c (_dl_read_access_allowed): New.
1241 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1242
ce579a4f
JJ
12432018-02-28 Jakub Jelinek <jakub@redhat.com>
1244
1245 PR debug/83917
1246 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1247 $asm_hidden_op if visibility ("hidden") attribute works.
1248 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1249 * config/i386/i386-asm.h: Don't include auto-host.h.
1250 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1251 PACKAGE_URL): Don't undefine.
1252 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1253 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1254 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1255 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1256 definition instead of hardcoded .hidden.
1257 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1258 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1259 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1260 (USE_GAS_CFI_DIRECTIVES): Don't define.
1261 * configure: Regenerated.
1262 * config.in: Likewise.
1263
e5868319
JJ
12642018-02-26 Jakub Jelinek <jakub@redhat.com>
1265
1266 PR debug/83917
1267 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1268 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1269 inclusion of auto-target.h and auto-host.h.
1270 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1271 __GCC_HAVE_DWARF2_CFI_ASM.
1272 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1273 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1274 cfi_pop): Define.
1275 * config/i386/cygwin.S: Don't include auto-host.h here, just
1276 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1277 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1278 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1279 * config/i386/resms64fx.h: Add cfi_* directives.
1280 * config/i386/resms64x.h: Likewise.
1281
faef260e
MF
12822018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1283
1284 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1285 .literal_position directive.
1286 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1287
14e335ed
IT
12882018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1289
1290 PR target/84148
1291 * configure: Regenerate.
1292
95df0433
IT
12932018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1294
1295 PR target/84239
1296 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1297 Include cetintrin.h not x86intrin.h.
1298
f8de876d
IT
12992018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1300
1301 PR target/84239
95df0433 1302 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1303 Use new _get_ssp and _inc_ssp intrinsics.
1304
02da1e9c
JK
13052018-02-02 Julia Koval <julia.koval@intel.com>
1306
1307 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1308
048c6a9a
CZ
13092018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1310
1311 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1312 option.
1313 (__divsi3): Use RF16 safe registers.
1314 (__modsi3): Likewise.
1315
0889f168
MF
13162018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1317
1318 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1319 (__divsf3): Make NaN return value quiet.
1320 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1321 (__divdf3): Make NaN return value quiet.
1322
bc8b0d04
SP
13232018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1324
1325 * config/rl78/anddi3.S: New assembly file.
1326 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1327
99cc06ea
SP
13282018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1329
1330 * config/rl78/umindi3.S: New assembly file.
1331 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1332
6e9007a0
SP
13332018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1334
1335 * config/rl78/smindi3.S: New assembly file.
1336 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1337
d975e494 13382018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1339
d975e494
SP
1340 * config/rl78/smaxdi3.S: New assembly file.
1341 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1342
6a18c146 13432018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1344
5dd16013
SP
1345 * config/rl78/umaxdi3.S: New assembly file.
1346 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1347
07baf4a5
JDA
13482018-01-21 John David Anglin <danglin@gcc.gnu.org>
1349
1350 PR lto/83452
1351 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1352 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1353
dbc3af4f
RS
13542018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1355
1356 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1357 (DWARF_LAZY_REGISTER_VALUE): Define.
1358 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1359 to provide a fallback register value.
1360
68df9882
MM
13612018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1362
1363 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1364 __ibm128, instead of trying to use long double.
1365 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1366 accomidate -mabi=ieeelongdouble multilibs.
1367 (CVT_IBM128_TO_FLOAT128): Likewise.
1368 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1369 the appropriate IBM extended double type.
1370 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1371 (__gcc_qsub): Likewise.
1372 (__gcc_qmul): Likewise.
1373 (__gcc_qdiv): Likewise.
1374 (pack_ldouble): Likewise.
1375 (__gcc_qneg): Likewise.
1376 (__gcc_qeq): Likewise.
1377 (__gcc_qne): Likewise.
1378 (__gcc_qge): Likewise.
1379 (__gcc_qle): Likewise.
1380 (__gcc_stoq): Likewise.
1381 (__gcc_dtoq): Likewise.
1382 (__gcc_itoq): Likewise.
1383 (__gcc_utoq): Likewise.
1384 (__gcc_qunord): Likewise.
1385 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1386 quad-float128.h for the definitions.
1387 (COPYSIGN): Use the f128 version instead of the q version.
1388 (INFINITY): Likewise.
1389 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1390 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1391 quad-float128.h for the definitions.
1392 (COPYSIGN): Use the f128 version instead of the q version.
1393 (INFINITY): Likewise.
1394 (FABS): Likewise.
1395 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1396 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1397 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1398
64b371b1
SH
13992018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1400
1401 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1402 configuration.
1403
85ec4feb
JJ
14042018-01-03 Jakub Jelinek <jakub@redhat.com>
1405
1406 Update copyright years.
1407
14082017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1409
1410 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1411 * config/riscv/multi3.c: New file.
1412 * config/riscv/multi3.S: Remove.
1413
3a4c600f
JW
14142017-12-08 Jim Wilson <jimw@sifive.com>
1415
1416 * config/riscv/div.S: Use FUNC_* macros.
1417 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1418 * config/riscv/save-restore.S: Likewise.
1419 * config/riscv/riscv-asm.h: New.
1420
75ad35b5
MM
14212017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1422
6ae3512c
MM
1423 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1424 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1425
75ad35b5
MM
1426 PR libgcc/83112
1427 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1428 correct type for all ifunc resolvers to silence -Wattribute-alias
1429 warnings. Eliminate the forward declaration of the resolver
1430 functions which is no longer needed.
1431 (__subkf3_resolve): Likewise.
1432 (__mulkf3_resolve): Likewise.
1433 (__divkf3_resolve): Likewise.
1434 (__negkf2_resolve): Likewise.
1435 (__eqkf2_resolve): Likewise.
1436 (__nekf2_resolve): Likewise.
1437 (__gekf2_resolve): Likewise.
1438 (__gtkf2_resolve): Likewise.
1439 (__lekf2_resolve): Likewise.
1440 (__ltkf2_resolve): Likewise.
1441 (__unordkf2_resolve): Likewise.
1442 (__extendsfkf2_resolve): Likewise.
1443 (__extenddfkf2_resolve): Likewise.
1444 (__trunckfsf2_resolve): Likewise.
1445 (__trunckfdf2_resolve): Likewise.
1446 (__fixkfsi_resolve): Likewise.
1447 (__fixkfdi_resolve): Likewise.
1448 (__fixunskfsi_resolve): Likewise.
1449 (__fixunskfdi_resolve): Likewise.
1450 (__floatsikf_resolve): Likewise.
1451 (__floatdikf_resolve): Likewise.
1452 (__floatunsikf_resolve): Likewise.
1453 (__floatundikf_resolve): Likewise.
1454 (__extendkftf2_resolve): Likewise.
1455 (__trunctfkf2_resolve): Likewise.
1456
1457 PR libgcc/83103
1458 * config/rs6000/quad-float128.h (TF): Don't define if long double
1459 is IEEE 128-bit floating point.
1460 (TCtype): Define as either TCmode or KCmode, depending on whether
1461 long double is IEEE 128-bit floating point.
1462 (__mulkc3_sw): Add declarations for software/hardware versions of
1463 complex multiply/divide.
1464 (__divkc3_sw): Likewise.
1465 (__mulkc3_hw): Likewise.
1466 (__divkc3_hw): Likewise.
1467 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1468 handlers to switch between using software emulation and hardware
1469 float128 instructions, build the complex multiply/divide functions
1470 for both software and hardware support.
1471 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1472 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1473 (__divkc3_resolve): Likewise.
1474 (__mulkc3): Likewise.
1475 (__divkc3): Likewise.
1476 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1477 (fp128_hw_src): Likewise.
1478 (fp128_hw_static_obj): Likewise.
1479 (fp128_hw_shared_obj): Likewise.
1480 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1481 _mulkc3.c and _divkc3.c, changing the function name.
1482 (_divkc3-hw.c): Likewise.
1483 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1484 and _divkc3-hw.c.
1485
c234d831
UB
14862017-11-26 Julia Koval <julia.koval@intel.com>
1487
1488 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1489 * config/i386/cpuinfo.h (processor_subtypes): Add
1490 INTEL_COREI7_CANNONLAKE.
1491
1ebafce0
IT
14922017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1493
1494 PR bootstrap/83015
1495 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1496 parameter.
1497 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1498 * config/ia64/unwind-ia64.c: Add frames parameter.
1499 * unwind-sjlj.c: Likewise.
1500
6a10fff4
IT
15012017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1502
1503 * config/i386/linux-unwind.h: Include
1504 config/i386/shadow-stack-unwind.h.
1505 * config/i386/shadow-stack-unwind.h: New file.
1506 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1507 pass it to _Unwind_Frames_Extra.
1508 * unwind-generic.h (_Unwind_Frames_Extra): New.
1509 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1510 parameter. Add local variable frames to count number of frames.
1511 (_Unwind_ForcedUnwind_Phase2): Likewise.
1512 (_Unwind_RaiseException): Add local variable frames to count
1513 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1514 uw_install_context.
1515 (_Unwind_ForcedUnwind): Likewise.
1516 (_Unwind_Resume): Likewise.
1517 (_Unwind_Resume_or_Rethrow): Likewise.
1518
1ecae1fc
IT
15192017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1520
1521 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1522 (CET_FLAGS): New.
1523 * config/i386/morestack.S: Include <cet.h>.
1524 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1525 * config/i386/resms64.h: Include <cet.h>.
1526 * config/i386/resms64f.h: Likewise.
1527 * config/i386/resms64fx.h: Likewise.
1528 * config/i386/resms64x.h: Likewise.
1529 * config/i386/savms64.h: Likewise.
1530 * config/i386/savms64f.h: Likewise.
1531 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1532 (CRTSTUFF_T_CFLAGS): Likewise.
1533 * configure.ac: Include ../config/cet.m4.
1534 Set and substitute CET_FLAGS.
1535 * configure: Regenerated.
1536
f021f1d3
RO
15372017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1538
1539 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1540 renaming.
1541 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1542 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1543 * configure: Regenerate.
1544
65f480c7
TV
15452017-11-07 Tom de Vries <tom@codesourcery.com>
1546
1547 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1548 after "do {} while (0)".
1549
2a321acb
TV
15502017-11-07 Tom de Vries <tom@codesourcery.com>
1551
1552 PR other/82784
1553 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1554 semicolon after "do {} while (0)".
1555 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1556 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1557 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1558 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1559
59fcf6c3
AT
15602017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1561
1562 PR libgcc/82635
1563 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1564 sysctl to determine whether we're in a trampoline.
1565 Keep the pattern matching method for systems without
1566 KERN_PROC_SIGTRAMP sysctl.
1567
b0c7ddf8
CM
15682017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1569 Vineet Gupta <vgupta@synopsys.com>
1570
1571 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1572 * config/arc/linux-unwind-reg.def: New file.
1573 * config/arc/linux-unwind-reg.h: Likewise.
1574
5feee954
SP
15752017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1576
1577 * config/rl78/subdi3.S: New assembly file.
1578 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1579
a0bf6cf7
SP
15802017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1581
1582 * config/rl78/adddi3.S: New assembly file.
1583 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1584
e7176f75
JJ
15852017-10-13 Jakub Jelinek <jakub@redhat.com>
1586
1587 PR target/82274
1588 * libgcc2.c (__mulvDI3): If both operands have
1589 the same highpart of -1 and the topmost bit of lowpart is 0,
1590 multiplication overflows even if both lowparts are 0.
1591
db6601d2
JB
15922017-09-28 James Bowman <james.bowman@ftdichip.com>
1593
1594 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1595
938b6f1e
JM
15962017-09-26 Joseph Myers <joseph@codesourcery.com>
1597
1598 * config/microblaze/crti.S, config/microblaze/crtn.S,
1599 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1600 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1601 config/microblaze/mulsi3.S,
1602 config/microblaze/stack_overflow_exit.S,
1603 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1604 config/pa/milli64.S: Add .note.GNU-stack section.
1605
89762a83
DS
16062017-09-23 Daniel Santos <daniel.santos@pobox.com>
1607
1608 * configure.ac: Add Check for HAVE_AS_AVX.
1609 * config.in: Regenerate.
1610 * configure: Likewise.
1611 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1612 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1613 Correct out-of-date comments.
1614
cace2309
SP
16152017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1616
1617 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1618 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1619
3cb626e4
DS
16202017-09-17 Daniel Santos <daniel.santos@pobox.com>
1621
cace2309 1622 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1623 (ASMNAME): Modify to use PASTE2.
1624 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1625 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1626 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1627 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1628 * config/i386/resms64f.S: Likewise.
1629 * config/i386/resms64fx.S: Likewise.
1630 * config/i386/resms64x.S: Likewise.
1631 * config/i386/savms64.S: Likewise.
1632 * config/i386/savms64f.S: Likewise.
1633 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1634 includes it's corresponding header file.
cace2309
SP
1635 * config/i386/avx_resms64f.S: Likewise.
1636 * config/i386/avx_resms64fx.S: Likewise.
1637 * config/i386/avx_resms64x.S: Likewise.
1638 * config/i386/avx_savms64.S: Likewise.
1639 * config/i386/avx_savms64f.S: Likewise.
1640 * config/i386/sse_resms64.S: Likewise.
1641 * config/i386/sse_resms64f.S: Likewise.
1642 * config/i386/sse_resms64fx.S: Likewise.
1643 * config/i386/sse_resms64x.S: Likewise.
1644 * config/i386/sse_savms64.S: Likewise.
1645 * config/i386/sse_savms64f.S: Likewise.
1646 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1647
2f19c491 16482017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1649 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1650
611e7036
OH
16512017-08-31 Olivier Hainque <hainque@adacore.com>
1652
1653 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1654 match as powerpc-wrs-vxworks*.
1655
c8f34527
JY
16562017-08-07 Jonathan Yong <10walls@gmail.com>
1657
1658 * config.host (*-cygwin): Include file from mingw
1659 config/i386/enable-execute-stack-mingw32.c
1660
0b458d2b 16612017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1662 Doug Rupp <rupp@adacore.com>
1663 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1664
1665 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1666 as well as arm-wrs-vxworks.
1667 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1668 LIB2ADDEH.
1669 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1670 __exidx_start and __exidx_end for downloadable modules.
1671
4df612fa
OH
16722017-08-01 Olivier Hainque <hainque@adacore.com>
1673
1674 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1675 * config/t-vxworks7: Likewise.
1676
5560e8c0
OH
16772017-08-01 Olivier Hainque <hainque@adacore.com>
1678
1679 * config/t-vxworks: Instead of redefining LIB2ADD,
1680 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1681
16bab95a
SH
16822017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1683
1684 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1685
9cbc07cc
DS
16862017-07-24 Daniel Santos <daniel.santos@pobox.com>
1687
1688 PR testsuite/80759
1689 * config.host: include i386/t-msabi for darwin and solaris.
1690 * config/i386/i386-asm.h
1691 (ELFFN): Rename to FN_TYPE.
1692 (FN_SIZE): New macro.
1693 (FN_HIDDEN): Likewise.
1694 (ASMNAME): Likewise.
1695 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1696 .globl.
1697 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1698 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1699 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1700 .macro.
1701 * config/i386/resms64f.S: Likewise.
1702 * config/i386/resms64fx.S: Likewise.
1703 * config/i386/resms64x.S: Likewise.
1704 * config/i386/savms64.S: Likewise.
1705 * config/i386/savms64f.S: Likewise.
1706
de742204
JM
17072017-07-19 John Marino <gnugcc@marino.st>
1708
1709 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1710
3787ee47
MM
17112017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1712
1713 PR target/81193
1714 * configure.ac (PowerPC float128 hardware support): Test whether
1715 we can use __builtin_cpu_supports before enabling the ifunc
1716 handler.
1717 * configure: Regenerate.
1718
b1938888
VG
17192017-07-10 Vineet Gupta <vgupta@synopsys.com>
1720
1721 * config.host: Remove uclibc from arc target spec.
1722
bec75e53
KW
17232017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1724
1725 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1726
d4391a62
PB
17272017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1728
1729 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1730 (have_ieee_hw_p): Delete function.
1731 (SW_OR_HW) Use __builtin_cpu_supports().
1732
9296dd9b
TP
17332017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1734
1735 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1736
b85a969e
OH
17372017-07-03 Olivier Hainque <hainque@adacore.com>
1738
d4391a62 1739 * config/t-vxworks7: New file, really.
b85a969e 1740
883312dc
JM
17412017-06-28 Joseph Myers <joseph@codesourcery.com>
1742
1743 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1744 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1745 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1746 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1747 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1748 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1749 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1750 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1751 config/sh/linux-unwind.h (sh_fallback_frame_state),
1752 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1753 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1754 ucontext_t instead of struct ucontext.
1755
50567938
JL
17562017-06-27 Jerome Lambourg <lambourg@adacore.com>
1757
1758 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1759 (x86_64-wrs-vxworks7): Likewise.
1760
e4b0df93
OH
17612017-06-27 Olivier Hainque <hainque@adacore.com>
1762
1763 * config/t-vxworks7: New file.
1764 * config.host (*-*-vxworks7): Use it.
1765
60edf8bb
MT
17662017-06-22 Matt Turner <mattst88@gmail.com>
1767
1768 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1769 skylake case.
1770
a51a76e5
RB
17712017-06-21 Richard Biener <rguenther@suse.de>
1772
1773 PR gcov-profile/81080
1774 * configure.ac: Add AC_SYS_LARGEFILE.
1775 * libgcov.h: Include auto-target.h before tsystem.h to pick
1776 up _FILE_OFFSET_BITS which might differ for multilibs.
1777 * config.in: Regenerate.
1778 * configure: Likewise.
1779
f0cd49c5
RE
17802017-06-16 Richard Earnshaw <rearnsha@arm.com>
1781
1782 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1783
4f751c54
ML
17842017-06-09 Martin Liska <mliska@suse.cz>
1785
1786 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1787 Reset __gcov_indirect_call_callee to NULL.
1788
1ac644c8
OH
17892017-06-08 Olivier Hainque <hainque@adacore.com>
1790
1791 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1792 the set of -I options, support for direct inclusions of net/uio.h
1793 by VxWorks header files via ioLib.h.
1794
d8b9cd27
TR
17952017-06-07 Tony Reix <tony.reix@atos.net>
1796 Matthieu Sarter <matthieu.sarter.external@atos.net>
1797 David Edelsohn <dje.gcc@gmail.com>
1798
92a285c1
ML
1799 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1800 unconditionally.
1801 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1802 AIX 7.2 support.
d8b9cd27 1803
38a75ccc
OH
18042017-06-02 Olivier Hainque <hainque@adacore.com>
1805
1806 * config/vxlib.c (__gthread_once): Add missing value to
1807 return statement.
1808
5b2edf53
OH
18092017-05-30 Olivier Hainque <hainque@adacore.com>
1810
1811 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1812 dollar sign before $(MULTIDIR).
1813
7d66e265
RH
18142017-05-26 Richard Henderson <rth@redhat.com>
1815
1816 PR libgcc/80037
1817 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1818
78eca309
AT
18192017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1820
1821 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1822 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1823 * config/arm/unwind-arm.c: Implement the above.
1824
c39d309a
AZ
18252017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1826
1827 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1828 section for a non-executable stack.
1829
eac8c9f2
KW
18302017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1831
1832 PR target/80600
1833 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1834
d6d4d770
DS
18352017-05-14 Daniel Santos <daniel.santos@pobox.com>
1836
1837 * config.host: Add i386/t-msabi to i386/t-linux file list.
1838 * config/i386/i386-asm.h: New file.
1839 * config/i386/resms64.S: New file.
1840 * config/i386/resms64f.S: New file.
1841 * config/i386/resms64fx.S: New file.
1842 * config/i386/resms64x.S: New file.
1843 * config/i386/savms64.S: New file.
1844 * config/i386/savms64f.S: New file.
1845 * config/i386/t-msabi: New file.
1846
8ef2b9a7
AT
18472017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1848
1849 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1850 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1851
7ab8766a
JC
18522017-05-05 Joshua Conner <joshconner@google.com>
1853
1854 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1855 pc-relative indirect handling for fuchsia.
1856 * config/t-slibgcc-fuchsia: New file.
1857 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1858 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1859
46928a8f
ML
18602017-04-19 Martin Liska <mliska@suse.cz>
1861
1862 PR gcov-profile/80435
1863 * Makefile.in: Install gcov.h.
1864 * gcov.h: New file.
1865 * libgcov.h: Use the header and make __gcov_flush publicly
1866 visible.
1867
63971184
ML
18682017-04-18 Martin Liska <mliska@suse.cz>
1869
1870 PR gcov-profile/78783
1871 * libgcov-driver.c (gcov_get_filename): New function.
1872
29d8aae6
JL
18732017-04-07 Jeff Law <law@redhat.com>
1874
1875 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1876 target makefile fragment.
1877 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1878
2bdf7fc6
AM
18792017-04-07 Alan Modra <amodra@gmail.com>
1880
1881 PR target/45053
1882 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1883
5764ee3c
JW
18842017-04-03 Jonathan Wakely <jwakely@redhat.com>
1885
1886 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1887
c4192ad7
CZ
18882017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1889
1890 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1891
4ccfdb28
JM
18922017-03-10 John Marino <gnugcc@marino.st>
1893
1894 * config/aarch64/freebsd-unwind.h: New file.
1895 * config.host: Add aarch64-*-freebsd unwinder.
1896
4144e4e3
SB
18972017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1898
1899 * config/rs6000/crtrestvr.s: Use .machine altivec.
1900 * config/rs6000/crtsavevr.s: Ditto.
1901
7502c597
SB
19022017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1903
1904 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1905 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1906 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1907 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1908 * configure: Regenerate.
1909 * config.in: Regenerate.
1910
db9f7f65
JY
19112017-03-02 Jonathan Yong <10walls@gmail.com>
1912
1913 * config/i386/gthr-win32.h: Define NOGDI before
1914 windows.h include to prevent w32api CC_NONE macro
1915 clash with libgfortran.
1916
126437c5
JY
19172017-03-02 Jonathan Yong <10walls@gmail.com>
1918
1919 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1920
31927af6
AP
19212017-02-16 Andrew Pinski <apinski@cavium.com>
1922
1923 * config/aarch64/value-unwind.h: New file.
1924 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1925 to tm_file.
1926
0bd99911
PD
19272017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1928
1929 * config.host: Add RISC-V tuples.
1930 * config/riscv/atomic.c: New file.
1931 * config/riscv/crti.S: Likewise.
1932 * config/riscv/crtn.S: Likewise.
1933 * config/riscv/div.S: Likewise.
1934 * config/riscv/linux-unwind.h: Likewise.
1935 * config/riscv/muldi3.S: Likewise.
1936 * config/riscv/multi3.S: Likewise.
1937 * config/riscv/save-restore.S: Likewise.
1938 * config/riscv/sfp-machine.h: Likewise.
1939 * config/riscv/t-elf: Likewise.
1940 * config/riscv/t-elf32: Likewise.
1941 * config/riscv/t-elf64: Likewise.
1942 * config/riscv/t-softfp32: Likewise.
1943 * config/riscv/t-softfp64: Likewise.
1944
a8c9ef2a
JJ
19452017-01-24 Jakub Jelinek <jakub@redhat.com>
1946
1947 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
1948 /* FALLTHRU */ comments.
1949
c6c82710
GP
19502017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
1951
1952 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
1953
a876231c
JW
19542017-01-20 Jiong Wang <jiong.wang@arm.com>
1955
1956 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
1957 * unwind-dw2.c (execute_cfa_program): Only multiplexing
1958 DW_CFA_GNU_window_save for AArch64 and LP64.
1959
aa348be2
JW
19602017-01-20 Jiong Wang <jiong.wang@arm.com>
1961
1962 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
1963
5636faf2
JW
19642017-01-19 Jiong Wang <jiong.wang@arm.com>
1965
1966 * config/aarch64/aarch64-unwind.h: New file.
1967 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
1968 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
1969 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
1970 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
1971 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
1972 (aarch64_post_extract_frame_addr): New function.
1973 (aarch64_post_frob_eh_handler_addr): New function.
1974 (aarch64_frob_update_context): New function.
1975 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
1976 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
1977 aarch64*-*-freebsd*):
1978 Initialize md_unwind_header to include aarch64-unwind.h.
1979 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
1980 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
1981 __aarch64__.
1982 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
1983 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
1984 (uw_frob_return_addr): New function.
1985 (uw_install_context): Use uw_frob_return_addr.
1986
3c36aa6b
JJ
19872017-01-17 Jakub Jelinek <jakub@redhat.com>
1988
1989 PR other/79046
1990 * configure.ac: Add GCC_BASE_VER.
1991 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
1992 version from BASE-VER file.
1993 * configure: Regenerated.
1994
829afb8f
JS
19952017-01-13 Joe Seymour <joe.s@somniumtech.com>
1996
1997 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
1998 libmul_f5.a): Filter archived prerequisites.
1999
79fc8ffe
AS
20002017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2001
2002 * config/i386/cpuinfo.h (processor_features): Add
2003 FEATURE_AVX512VPOPCNTDQ.
2004 * config/i386/cpuinfo.c (get_available_features): Habdle new
2005 feature.
2006
fec5f4e0
JM
20072017-01-04 Joseph Myers <joseph@codesourcery.com>
2008
2009 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2010 payload if [__mips_nan2008].
2011
8f56cb51
AM
20122017-01-04 Alan Modra <amodra@gmail.com>
2013
2014 * Makefile.in (configure_deps): Update.
2015 * configure: Regenerate.
2016
cbe34bb5
JJ
20172017-01-01 Jakub Jelinek <jakub@redhat.com>
2018
2019 Update copyright years.
2020
ab955692
KW
20212016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2022
2023 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2024 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2025 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2026
de34320f
MK
20272016-12-17 Matthias Klose <doko@ubuntu.com>
2028
2029 * config/arc/gmon: Remove empty directory.
2030
e04ea1da
CZ
20312016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2032
2033 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2034 crtgend.
2035 (arc*-*-elf*): Likewise.
2036 * config/arc/t-arc: Remove old gmon lib targets.
2037 * config/arc/crtg.S: Remove.
2038 * config/arc/crtgend.S: Likewise.
2039 * config/arc/gmon/atomic.h: Likewise.
2040 * config/arc/gmon/auxreg.h: Likewise.
2041 * config/arc/gmon/dcache_linesz.S: Likewise.
2042 * config/arc/gmon/gmon.c: Likewise.
2043 * config/arc/gmon/machine-gmon.h: Likewise.
2044 * config/arc/gmon/mcount.c: Likewise.
2045 * config/arc/gmon/prof-freq-stub.S: Likewise.
2046 * config/arc/gmon/prof-freq.c: Likewise.
2047 * config/arc/gmon/profil.S: Likewise.
2048 * config/arc/gmon/sys/gmon.h: Likewise.
2049 * config/arc/gmon/sys/gmon_out.h: Likewise.
2050 * config/arc/t-arc-newlib: Likewise.
2051 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2052
8ae1c2c1
GS
20532016-12-12 George Spelvin <linux@sciencehorizons.net>
2054
2055 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2056
a5b947fa
GS
20572016-12-12 George Spelvin <linux@sciencehorizons.net>
2058
2059 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2060 R16 instead of push + pop.
2061 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2062
d6574dd1
KW
20632016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2064
2065 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2066 tmake_file.
2067
62440b4f
CM
20682016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2069
2070 * config.host (arc*-*-linux-uclibc*): Use default extra
2071 objects. Include linux-android header.
2072 * config/arc/crti.S (_init): Declare symbol as function.
2073 (_fini): Likewise.
2074
31cfd832
TK
20752016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2076
2077 PR fortran/78379
2078 * config/i386/cpuinfo.c: Move denums for processor vendors,
2079 processor type, processor subtypes and declaration of
2080 struct __processor_model into
2081 * config/i386/cpuinfo.h: New header file.
2082
c92e08e3
AV
20832016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2084 Thomas Preud'homme <thomas.preudhomme@arm.com>
2085
2086 * config/arm/cmse_nonsecure_call.S: New.
2087 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2088
de7b5723
AV
20892016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2090 Thomas Preud'homme <thomas.preudhomme@arm.com>
2091
2092 * config/arm/t-arm (HAVE_CMSE): New.
2093 * config/arm/cmse.c: New.
2094
7a0d2bce
TP
20952016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2096
b3a5bff4
TP
2097 PR gcc/74748
2098 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2099 use generic linker version information on Blackfin.
2100
7a0d2bce
TP
2101 PR gcc/74748
2102 * libgcc/mkmap-symver.awk: add support for skip_underscore
2103
b410cf1d
IS
21042016-11-27 Iain Sandoe <iain@codesourcery.com>
2105 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2106
2107 PR target/67710
2108 * config/t-darwin: Default builds to 10.5 codegen.
2109
2e5f8203
JG
21102016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2111
2112 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2113 (_FP_NANSIGN_H): Likewise.
2114 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2115 (softfp_truncations): Add tfhf.
2116 (softfp_extras): Add required conversion functions.
2117
bea64ca3
JG
21182016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2119 Matthew Wahab <matthew.wahab@arm.com>
2120
2121 * config/arm/fp16.c (binary64): New.
2122 (__gnu_d2h_internal): New.
2123 (__gnu_d2h_ieee): New.
2124 (__gnu_d2h_alternative): New.
2125
8630cadb
JG
21262016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2127 Matthew Wahab <matthew.wahab@arm.com>
2128
2129 * config/arm/fp16.c (struct format): New.
2130 (binary32): New.
2131 (__gnu_float2h_internal): New. Body moved from
2132 __gnu_f2h_internal and generalize.
2133 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2134 Call it with binary32.
2135
5823ef23
JG
21362016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2137
2138 * soft-fp/extendhftf2.c: Update from glibc.
2139 * soft-fp/fixhfti.c: Likewise.
2140 * soft-fp/fixunshfti.c: Likewise.
2141 * soft-fp/floattihf.c: Likewise.
2142 * soft-fp/floatuntihf.c: Likewise.
2143 * soft-fp/half.h: Likewise.
2144 * soft-fp/trunctfhf2.c: Likewise.
2145
62a7df9f
MG
21462016-11-20 Marc Glisse <marc.glisse@inria.fr>
2147
2148 PR libgcc/77813
2149 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2150 __TMC_END__ behind a passthrough asm.
2151
7a384912
WL
21522016-11-18 Walter Lee <walt@tilera.com>
2153
62a7df9f 2154 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2155
9775c1a5
L
21562016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2157
2158 * config/i386/cpuinfo.c (processor_features): Add
2159 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2160
48c842ab
CZ
21612016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2162
2163 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2164 (__ARC_NORM__): Use instead ARC_OPTFPE.
2165 * config/arc/fp-hack.h: Likewise.
2166 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2167 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2168
5012919d
AM
21692016-11-16 Alexander Monakov <amonakov@ispras.ru>
2170
2171 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2172 * config/nvptx/mgomp.c: New file.
2173 * config/nvptx/t-nvptx: Add mgomp.c
2174
00178b98
WB
21752016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2176
2177 PR libgcc/68468
2178 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2179
d64af69f
CZ
21802016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2181
2182 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2183 of checking for cpus.
2184 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2185 (__modsi3, __clzsi2): Likewise.
2186
9d8f95de
SN
21872016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2188
2189 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2190 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2191 * config/i386/t-cpuinfo-static: New.
2192
7d29f8e3
ML
21932016-11-03 Martin Liska <mliska@suse.cz>
2194
2195 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2196 (__gcov_time_profiler_atomic): Likewise.
2197
5de3e2d8
BE
21982016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2199
2200 PR libgcc/78067
2201 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2202 count_leading_zeros.
2203
18362447
UB
22042016-11-02 Uros Bizjak <ubizjak@gmail.com>
2205
2206 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2207 * libgcc2.c (__divmoddi4): New function.
2208 * libgcc2.h (__divmoddi4): Declare.
2209 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2210 and __PFX_divmodti4.
2211
33107571
FW
22122016-10-24 Florian Weimer <fweimer@redhat.com>
2213
2214 PR libgcc/78064
2215 * unwind-c.c: Include auto-target.h.
2216
4c6d7494
JDA
22172016-10-19 John David Anglin <danglin@gcc.gnu.org>
2218
18362447 2219 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2220 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2221 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2222 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2223 hppa*64*-*-hpux11*.
2224
2a26adf1
MF
22252016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2226
2227 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2228 definition.
2229 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2230 definition.
2231 * config/xtensa/t-windowed (LIB2ADDEH): Use
2232 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2233 or xtensa/t-linux.
2234
66192aa1
DKC
22352016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2236
2237 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2238 __ieee754_sqrt): New functions.
2239 (__divdf3): Add implementation with new FPU instructions under
2240 #if XCHAL_HAVE_DFP_DIV.
2241 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2242 __ieee754_sqrtf): New functions.
2243 (__divsf3): Add implementation with new FPU instructions under
2244 #if XCHAL_HAVE_FP_DIV.
2245 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2246 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2247
4d0cdd0c
TP
22482016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2249
2250 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2251 equivalent.
2252 * config/tilepro/atomic.c: Likewise and stop casting model to
2253 enum memmodel.
2254
73f01cca
JM
22552016-10-10 Joseph Myers <joseph@codesourcery.com>
2256
2257 PR target/77586
2258 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2259 soft-fp.
2260
b20e7532
AT
22612016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2262
2263 * config.host: Add support for aarch64-*-freebsd*.
2264
a786cec4
AS
22652016-10-05 Andreas Schwab <schwab@suse.de>
2266
2267 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2268 (.section .init_array): Don't call __do_jv_register_classes.
2269 (.section .init): Likewise.
2270
5a79befb
JJ
22712016-10-04 Jakub Jelinek <jakub@redhat.com>
2272
2273 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2274 (__JCR_LIST__): Remove.
2275 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2276 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2277 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2278 * config/ia64/crtend.S (__JCR_END__): Remove.
2279 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2280 conditionals.
2281 (__JCR_LIST__, __JCR_END__): Remove.
2282 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2283 (__do_global_ctors_1): Likewise.
2284
e0ab3753
UB
22852015-09-28 Uros Bizjak <ubizjak@gmail.com>
2286
2287 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2288 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2289
8c9434c2
ML
22902016-09-27 Martin Liska <mliska@suse.cz>
2291
2292 PR gcov-profile/7970
2293 PR gcov-profile/16855
2294 PR gcov-profile/44779
2295 * libgcov-driver.c (__gcov_init): Do not register a atexit
2296 handler.
2297 (__gcov_exit): Rename from gcov_exit.
2298 * libgcov.h (__gcov_exit): Declare.
2299
56b653f1
ML
23002016-09-27 Martin Liska <mliska@suse.cz>
2301
2302 PR bootstrap/77749
2303 * Makefile.in: Remove _gcov_merge_delta.
2304 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2305 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2306 * libgcov.h: Remove declaration of __gcov_merge_delta.
2307
7e02fd1b
EB
23082016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2309
2310 * configure.ac: Do not create links, only substitute the filenames.
2311 * configure: Regenerate.
2312 * Makefile.in: Assign the substitution results to variables.
2313 (LIBGCC_LINKS): Define.
2314 (enable-execute-stack.c): New rule.
2315 (unwind.h): Likewise.
2316 (md-unwind-support.h): Likewise.
2317 (sfp-machine.h): Likewise.
2318 (gthr-default.h): Likewise.
2319 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2320 unwind.h as prerequisite of install-unwind_h-forbuild.
2321
29991048
JJ
23222016-09-16 Jakub Jelinek <jakub@redhat.com>
2323
2324 PR libgcc/71744
2325 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2326 is not the primary registry and atomics are available.
2327 (any_objects_registered): New variable.
2328 (__register_frame_info_bases, __register_frame_info_table_bases):
2329 Atomically store 1 to any_objects_registered after registering first
2330 unwind info.
2331 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2332
0abcd6cc
JG
23332016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2334
2335 PR target/63250
2336 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2337 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2338 (HFtype): Likewise.
2339 (HCtype): Likewise.
2340 (__divhc3): Likewise.
2341 (__mulhc3): Likewise.
2342 * libgcc2.c: Support _mulhc3 and _divhc3.
2343
d758aeb5
JM
23442016-09-07 Joseph Myers <joseph@codesourcery.com>
2345
2346 PR libgcc/77519
2347 * libgcc2.c (NOTRUNC): Invert settings.
2348
7fe76f6a
ML
23492016-09-06 Martin Liska <mliska@suse.cz>
2350
2351 PR gcov-profile/77378
2352 PR gcov-profile/77466
2353 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2354 conditionaly enable/disable *_atomic functions.
2355
21184026
JM
23562016-08-26 Joseph Myers <joseph@codesourcery.com>
2357
2358 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2359 where not already enabled.
2360
726f49c3
SN
23612016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2362
2363 * config/mips/linux-unwind.h: Use sys/syscall.h.
2364
feeb6268
JM
23652016-08-16 Joseph Myers <joseph@codesourcery.com>
2366
2367 PR libgcc/77265
2368 * soft-fp/adddf3.c: Update from glibc.
2369 * soft-fp/addsf3.c: Likewise.
2370 * soft-fp/addtf3.c: Likewise.
2371 * soft-fp/divdf3.c: Likewise.
2372 * soft-fp/divsf3.c: Likewise.
2373 * soft-fp/divtf3.c: Likewise.
2374 * soft-fp/double.h: Likewise.
2375 * soft-fp/eqdf2.c: Likewise.
2376 * soft-fp/eqsf2.c: Likewise.
2377 * soft-fp/eqtf2.c: Likewise.
2378 * soft-fp/extenddftf2.c: Likewise.
2379 * soft-fp/extended.h: Likewise.
2380 * soft-fp/extendsfdf2.c: Likewise.
2381 * soft-fp/extendsftf2.c: Likewise.
2382 * soft-fp/extendxftf2.c: Likewise.
2383 * soft-fp/fixdfdi.c: Likewise.
2384 * soft-fp/fixdfsi.c: Likewise.
2385 * soft-fp/fixdfti.c: Likewise.
2386 * soft-fp/fixsfdi.c: Likewise.
2387 * soft-fp/fixsfsi.c: Likewise.
2388 * soft-fp/fixsfti.c: Likewise.
2389 * soft-fp/fixtfdi.c: Likewise.
2390 * soft-fp/fixtfsi.c: Likewise.
2391 * soft-fp/fixtfti.c: Likewise.
2392 * soft-fp/fixunsdfdi.c: Likewise.
2393 * soft-fp/fixunsdfsi.c: Likewise.
2394 * soft-fp/fixunsdfti.c: Likewise.
2395 * soft-fp/fixunssfdi.c: Likewise.
2396 * soft-fp/fixunssfsi.c: Likewise.
2397 * soft-fp/fixunssfti.c: Likewise.
2398 * soft-fp/fixunstfdi.c: Likewise.
2399 * soft-fp/fixunstfsi.c: Likewise.
2400 * soft-fp/fixunstfti.c: Likewise.
2401 * soft-fp/floatdidf.c: Likewise.
2402 * soft-fp/floatdisf.c: Likewise.
2403 * soft-fp/floatditf.c: Likewise.
2404 * soft-fp/floatsidf.c: Likewise.
2405 * soft-fp/floatsisf.c: Likewise.
2406 * soft-fp/floatsitf.c: Likewise.
2407 * soft-fp/floattidf.c: Likewise.
2408 * soft-fp/floattisf.c: Likewise.
2409 * soft-fp/floattitf.c: Likewise.
2410 * soft-fp/floatundidf.c: Likewise.
2411 * soft-fp/floatundisf.c: Likewise.
2412 * soft-fp/floatunditf.c: Likewise.
2413 * soft-fp/floatunsidf.c: Likewise.
2414 * soft-fp/floatunsisf.c: Likewise.
2415 * soft-fp/floatunsitf.c: Likewise.
2416 * soft-fp/floatuntidf.c: Likewise.
2417 * soft-fp/floatuntisf.c: Likewise.
2418 * soft-fp/floatuntitf.c: Likewise.
2419 * soft-fp/gedf2.c: Likewise.
2420 * soft-fp/gesf2.c: Likewise.
2421 * soft-fp/getf2.c: Likewise.
2422 * soft-fp/ledf2.c: Likewise.
2423 * soft-fp/lesf2.c: Likewise.
2424 * soft-fp/letf2.c: Likewise.
2425 * soft-fp/muldf3.c: Likewise.
2426 * soft-fp/mulsf3.c: Likewise.
2427 * soft-fp/multf3.c: Likewise.
2428 * soft-fp/negdf2.c: Likewise.
2429 * soft-fp/negsf2.c: Likewise.
2430 * soft-fp/negtf2.c: Likewise.
2431 * soft-fp/op-1.h: Likewise.
2432 * soft-fp/op-2.h: Likewise.
2433 * soft-fp/op-4.h: Likewise.
2434 * soft-fp/op-8.h: Likewise.
2435 * soft-fp/op-common.h: Likewise.
2436 * soft-fp/quad.h: Likewise.
2437 * soft-fp/single.h: Likewise.
2438 * soft-fp/soft-fp.h: Likewise.
2439 * soft-fp/subdf3.c: Likewise.
2440 * soft-fp/subsf3.c: Likewise.
2441 * soft-fp/subtf3.c: Likewise.
2442 * soft-fp/truncdfsf2.c: Likewise.
2443 * soft-fp/trunctfdf2.c: Likewise.
2444 * soft-fp/trunctfsf2.c: Likewise.
2445 * soft-fp/trunctfxf2.c: Likewise.
2446 * soft-fp/unorddf2.c: Likewise.
2447 * soft-fp/unordsf2.c: Likewise.
2448 * soft-fp/unordtf2.c: Likewise.
2449
2e6fc1ac
GG
24502016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2451
2452 PR gcov-profile/67097
2453 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2454
a266236e
ML
24552016-08-10 Martin Liska <mliska@suse.cz>
2456
2457 PR gcov-profile/58306
2458 * Makefile.in: New functions (modules) are added.
2459 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2460 function.
2461 (__gcov_pow2_profiler_atomic): New function.
2462 (__gcov_one_value_profiler_body): New argument is instroduced.
2463 (__gcov_one_value_profiler): Call with the new argument.
2464 (__gcov_one_value_profiler_atomic): Likewise.
2465 (__gcov_indirect_call_profiler_v2): Likewise.
2466 (__gcov_time_profiler_atomic): New function.
2467 (__gcov_average_profiler_atomic): Likewise.
2468 (__gcov_ior_profiler_atomic): Likewise.
2469 * libgcov.h: Declare the aforementioned functions.
2470
e0c8eebf
ML
24712016-08-09 Martin Liska <mliska@suse.cz>
2472
2473 * libgcov-util.c: Fix typo and GNU coding style.
2474
6dce6418
ML
24752016-08-09 Martin Liska <mliska@suse.cz>
2476
2477 * Makefile.in: Remove __gcov_indirect_call_profiler.
2478 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2479 function.
2480 * libgcov.h: And the declaration of the function.
2481
dcb1e137
ML
24822016-08-09 Martin Liska <mliska@suse.cz>
2483
2484 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2485 power of two.
2486
d6e69705
BS
24872016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2488
2489 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2490 * config/rs6000/_mulkc3.c: Likewise.
2491
96aa1f95
GJL
24922016-07-29 Georg-Johann Lay <avr@gjlay.de>
2493
2494 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2495 zero_reg as previous call to __umulhisi3 already cleared it.
2496
a1b01d34
AJ
24972016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2498
2499 PR target/59833
2500 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2501
985a47b2
NC
25022016-07-19 Nick Clifton <nickc@redhat.com>
2503
2504 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2505 Add crtinit.o and crtfini.o to extra_parts.
2506
f906f5ed
BS
25072016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2508
2509 * config/rs6000/_divkc3.c: New.
2510 * config/rs6000/_mulkc3.c: New.
2511 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2512 and _divkc3.
2513 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2514 fp128_ppc_funcs.
2515
82742404
HW
25162016-07-11 Hale Wang <hale.wang@arm.com>
2517 Andre Vieira <andre.simoesdiasvieira@arm.com>
2518
2519 * config/arm/lib1funcs.S: Add new wrapper.
2520
05a437c1
TP
25212016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2522
2523 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2524
3d16d9ec
TP
25252016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2526
2527 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2528 and ARMv5t* rather than for a fixed list of architectures.
2529
6f493951
TP
25302016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2531
2532 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2533 implementation suitable for.
2534 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2535 for all Thumb-1 only targets.
2536 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2537 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2538 __ARM_ARCH_6M__.
2539 (EQUIV): Likewise.
2540 (ARM_FUNC_ALIAS): Likewise.
2541 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2542 version.
2543 (modsi3): Likewise.
2544 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2545 (clzdi2): Likewise.
2546 (ctzsi2): Likewise.
2547 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2548 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2549 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2550 __ARM_ARCH_6M__ and add comment to indicate the connection between
2551 this condition and the one in gcc/config/arm/elf.h.
2552 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2553 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2554 * config/arm/t-softfp: Likewise.
2555
1770511a
TS
25562016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2557
2558 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2559 CTOR_LISTS_DEFINED_EXTERNALLY.
2560
ba6be749
WL
25612016-06-28 Walter Lee <walt@tilera.com>
2562
2563 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2564 asm/unistd.h.
2565 (SPR_CMPEXCH_VALUE): Define for tilegx.
2566 (__NR_FAST_cmpxchg): Define for tilepro.
2567 (__NR_FAST_atomic_update): Define for tilepro.
2568 (__NR_FAST_cmpxchg64): Define for tilepro.
2569
a34c0db5
JS
25702016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2571
18362447 2572 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2573
0609abda
TS
25742016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2575
2576 * config.host: Remove support for mep-*.
2577 * config/mep/lib1funcs.S: Remove.
2578 * config/mep/lib2funcs.c: Remove.
2579 * config/mep/t-mep: Remove.
2580 * config/mep/tramp.c: Remove.
2581
3e326935
TS
25822016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2583
2584 * config.host: Remove support for avr-rtems.
2585 * config/avr/t-rtems: Remove.
2586
914b155c
TS
25872016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2588
2589 * config.host: Remove m32r-rtems support.
2590
5ebf89bd
TS
25912016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2592
2593 * config.host: Remove h8300-rtems support.
2594
8466af06
TS
25952016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2596
2597 * config.host: Remove support for knetbsd.
2598
d980e738
TS
25992016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2600
2601 * config.host: Remove support for openbsd 2 and 3.
2602
ee2499b4
TS
26032016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2604
2605 * config.host: Remove interix support.
2606 * config/i386/t-interix: Remove.
2607
9f92937b
JDA
26082016-06-18 John David Anglin <danglin@gcc.gnu.org>
2609
2610 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2611 least-significant bit in function pointer for fixup.
2612
0a0ec53d
AC
26132016-06-05 Aaron Conole <aconole@redhat.com>
2614 Nathan Sidwell <nathan@acm.org>
2615
2616 PR libgcc/71400
2617 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2618 (get_gcov_error_file): Check __gcov_error_file before trying to
2619 initialize it.
2620 (gcov_error): Always use get_gcov_error_file.
2621
8aa5bdd6
AC
26222016-06-02 Aaron Conole <aconole@redhat.com>
2623
2624 * libgcov-driver-system.c (__gcov_error_file): New.
2625 (get_gcov_error_file): New.
2626 (gcov_error): Use and set __gcov_error_file.
2627 (gcov_error_exit): New.
2628 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2629
40774faf
NS
26302016-05-26 Nathan Sidwell <nathan@acm.org>
2631
2632 * config/nvptx/free.asm: Delete.
2633 * config/nvptx/malloc.asm: Delete.
2634 * config/nvptx/realloc.c: Delete.
2635 * t-nvptx: Update.
2636
69a6d5ad
NS
26372016-05-25 Nathan Sidwell <nathan@acm.org>
2638
2639 * config/nvptx/crt0.s: Delete.
2640 * config/nvptx/crt0.c: New.
2641 * t-nvptx: Update.
2642
6befaff6
SL
26432016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2644
385c7747 2645 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2646 dw2/seh configuration.
2647 [x86_64-*-mingw*]: Likewise.
2648
ad251dfd
JS
26492016-05-10 Joel Sherrill <joel@rtems.org>
2650
2651 PR libgcc/70720
2652 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2653 targets so the same extra_parts are built. Also have tmake_file add
2654 on to its value rather than override.
2655
bc6d9014
OE
26562016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2657
2658 * config.host: Remove SH5 support.
2659 * configure: Likewise.
2660
9129c8cf
OE
26612016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2662
2663 * config/sh/crt1.S: Remove SH5 support.
2664 * config/sh/crti.S: Likewise.
2665 * config/sh/crtn.S: Likewise.
2666 * config/sh/lib1funcs-4-300.S: Likewise.
2667 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2668 * config/sh/lib1funcs.S: Likewise.
2669 * config/sh/linux-unwind.h: Likewise.
2670 * config/sh/t-sh64: Delete.
2671
39d50464
CZ
26722016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2673
2674 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2675
8b48923b
CZ
26762016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2677 Joern Rennecke <joern.rennecke@embecosm.com>
2678
2679 * config/arc/crttls.S: New file.
2680 * config/arc/t-arc: New rule.
2681 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2682
2de1cf8c
NC
26832016-04-25 Nick Clifton <nickc@redhat.com>
2684
2685 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2686 (__mspabi_cmpd): Likewise.
2687 * config/msp430/floathidf.c (__floathidf): Likewise.
2688 * config/msp430/floathisf.c (__floathisf): Likewise
2689 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2690 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2691 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2692 second parameter.
2693 (__ashrsi3): Likewise.
2694
b8ce3fe2
WB
26952016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2696
2697 * config/m68k/linux-atomic.c: Do not include unistd.h
2698
4986f823
MG
26992016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2700
2701 * config/arm/ieee754-df.S: Fix typos in comments.
2702
35fbda43
MM
27032016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2704
2705 PR target/70381
2706 * configure.ac (powerpc*-*-linux*): Rework tests to build
2707 __float128 emulation routines to not depend on using #pragma GCC
2708 target to enable -mfloat128.
2709 * configure: Regnerate.
2710
72d1a48d
EB
27112016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2712
2713 PR target/67172
2714 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2715 __MINGW32__ is defined.
2716
dc2e8995
JB
27172016-03-28 James Bowman <james.bowman@ftdichip.com>
2718
385c7747 2719 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2720
104cdaf1
MM
27212016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2722
2723 PR libgcc/70363
2724 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2725 built with an assembler that does not support ISA 3.0
2726 instructions, rename __extendkftf2_sw to __extendkftf2.
2727
a5046f48
RO
27282016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2729
2730 PR target/38239
2731 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2732 call-clobbered registers.
2733 (internal_mcount): Remove __i386__ handling.
2734
df674f74
JS
27352016-02-26 Joel Sherrill <joel@rtems.org>
2736
2737 * config.host: Add x86_64-*-rtems*.
2738
7cb065d6
JS
27392016-02-26 Joel Sherrill <joel@rtems.org>
2740
2741 * libgcc/config.host: Add aarch64-*-rtems*.
2742
47dfdc53
PM
27432016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2744 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2745
2746 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2747 union of u64 and double.
2748 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2749 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2750 value.
2751 (FP_ROUNDMODE): Update the usage of _fpscr.
2752
e6861a99
IV
27532016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2754
2755 PR driver/68463
2756 * Makefile.in (crtoffloadtable$(objext)): New rule.
2757 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2758 enable_offload_targets is not empty.
2759 * configure: Regenerate.
2760 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2761 crtoffloadtable.
2762
9bfcbdee
MF
27632016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2764
2765 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2766 .literal_position before the function.
2767 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2768 Likewise.
2769
4cb4721f
MK
27702016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2771
2772 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2773 * config/s390/morestack.S: New file.
2774 * config/s390/t-stack-s390: New file.
2775 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2776
b29d9a29
WL
27772016-02-12 Walter Lee <walt@tilera.com>
2778
2779 * config.host (tilegx*-*-linux*): remove ti from
2780 softfp_int_modes for 32-bit configs.
2781
03a0ae7d
ILT
27822016-02-10 Ian Lance Taylor <iant@google.com>
2783
2784 PR go/68562
2785 * config/i386/morestack.S (__stack_split_initialize): Align
2786 stack.
2787
68750bce
AT
27882016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2789
2790 PR bootstrap/69611
2791 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2792 __FLOAT128__ to compile only for __float128 capable targets.
2793
7d296953
JJ
27942016-01-25 Jakub Jelinek <jakub@redhat.com>
2795
2796 PR target/69444
2797 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2798 instead of ___NO_FPRS__.
2799
a71c0334 28002016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2801 Steven Munroe <munroesj@linux.vnet.ibm.com>
2802 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2803
2804 * config/rs6000/float128-sed: New files to convert TF names to KF
2805 names for PowerPC IEEE 128-bit floating point support.
2806 * config/rs6000/float128-sed-hw: Likewise.
2807
2808 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2809 floating point hardware support.
2810
2811 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2812 128-bit floating point software emulation or use ISA 3.0 hardware
2813 support if it is available.
2814
2815 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2816 floating point.
2817
2818 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2819 floating point to IBM extended double.
2820
2821 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2822 double to IEEE 128-bit floating point.
2823
2824 * config/rs6000/t-float128: New Makefile fragments to enable
2825 building __float128 emulation support.
2826 * config/rs6000/t-float128-hw: Likewise.
2827
2828 * config/rs6000/sfp-exceptions.c: New file to provide exception
2829 support for IEEE 128-bit floating point.
2830
2831 * config/rs6000/floattikf.c: New files for converting between IEEE
2832 128-bit floating point and signed/unsigned 128-bit integers.
2833 * config/rs6000/fixunskfti.c: Likewise.
2834 * config/rs6000/fixkfti.c: Likewise.
2835 * config/rs6000/floatuntikf.c: Likewise.
2836
2837 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2838 when building on 64-bit systems, or when VSX is enabled.
2839 (_FP_W_TYPE): Likewise.
2840 (_FP_WS_TYPE): Likewise.
2841 (_FP_I_TYPE): Likewise.
2842 (TItype): Define on 64-bit systems.
2843 (UTItype): Likewise.
2844 (TI_BITS): Likewise.
2845 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2846 (_FP_MUL_MEAT_Q): Likewise.
2847 (_FP_DIV_MEAT_D): Likewise.
2848 (_FP_DIV_MEAT_Q): Likewise.
2849 (_FP_NANFRAC_D): Likewise.
2850 (_FP_NANFRAC_Q): Likewise.
2851 (ISA_BIT): Add exception support if we are being compiled on a
2852 machine with hardware floating point support to build the IEEE
2853 128-bit emulation functions.
2854 (FP_EX_INVALID): Likewise.
2855 (FP_EX_OVERFLOW): Likewise.
2856 (FP_EX_UNDERFLOW): Likewise.
2857 (FP_EX_DIVZERO): Likewise.
2858 (FP_EX_INEXACT): Likewise.
2859 (FP_EX_ALL): Likewise.
2860 (__sfp_handle_exceptions): Likewise.
2861 (FP_HANDLE_EXCEPTIONS): Likewise.
2862 (FP_RND_NEAREST): Likewise.
2863 (FP_RND_ZERO): Likewise.
2864 (FP_RND_PINF): Likewise.
2865 (FP_RND_MINF): Likewise.
2866 (FP_RND_MASK): Likewise.
2867 (_FP_DECL_EX): Likewise.
2868 (FP_INIT_ROUNDMODE): Likewise.
2869 (FP_ROUNDMODE): Likewise.
2870
2871 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2872 VSX code, enable IEEE 128-bit floating point. If the compiler can
2873 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2874 floating point hardware instructions and it supports declaring
2875 functions with the ifunc attribute, enable ifunc functions to
2876 switch between software and hardware support.
2877 * configure.ac (powerpc*-*-linux*): Likewise.
2878 * configure: Regenerate.
2879
bdc27e50
NC
28802016-01-15 Nick Clifton <nickc@redhat.com>
2881
2882 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2883 dependency as the source file to be compiled.
2884 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2885 (lib2hw_mul_f5.o): Likewise.
2886
006df05d
MM
28872016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2888
2889 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2890 * libgcc/config/rs6000/fixkfti.c: Likewise.
2891 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2892 * libgcc/config/rs6000/float128-hw.c: Likewise.
2893 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2894 * libgcc/config/rs6000/float128-sed: Likewise.
2895 * libgcc/config/rs6000/floattikf.c: Likewise.
2896 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2897 * libgcc/config/rs6000/quad-float128.h: Likewise.
2898 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2899 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2900 * libgcc/config/rs6000/t-float128: Likewise.
2901 * libgcc/config/rs6000/t-float128-hw: Likewise.
2902 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2903 * libgcc/config.host: Likewise.
2904 * libgcc/configure: Likewise.
2905 * libgcc/configure.ac: Likewise.
2906
29176d57 29072016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2908 Steven Munroe <munroesj@linux.vnet.ibm.com>
2909 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2910
2911 * config/rs6000/sfp-exceptions.c: New file to provide exception
2912 support for IEEE 128-bit floating point.
2913
2914 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2915 floating point hardware support.
2916
2917 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2918 point conversions.
2919 * config/rs6000/fixunskfti.c: Likewise.
2920 * config/rs6000/fixkfti.c: Likewise.
2921 * config/rs6000/floatuntikf.c: Likewise.
2922 * config/rs6000/extendkftf2-sw.c: Likewise.
2923 * config/rs6000/trunctfkf2-sw.c: Likewise.
2924
2925 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2926 128-bit floating point software emulation or use ISA 3.0 hardware
2927 support if it is available.
2928
2929 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2930 floating point.
2931
2932 * config/rs6000/t-float128: New Makefile fragments to enable
2933 building __float128 emulation support.
2934 * config/rs6000/t-float128-hw: Likewise.
2935
2936 * config/rs6000/float128-sed: New file to convert TF names to KF
2937 names for PowerPC IEEE 128-bit floating point support.
2938
2939 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2940 when building on 64-bit systems, or when VSX is enabled.
2941 (_FP_W_TYPE): Likewise.
2942 (_FP_WS_TYPE): Likewise.
2943 (_FP_I_TYPE): Likewise.
2944 (TItype): Define on 64-bit systems.
2945 (UTItype): Likewise.
2946 (TI_BITS): Likewise.
2947 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2948 (_FP_MUL_MEAT_Q): Likewise.
2949 (_FP_DIV_MEAT_D): Likewise.
2950 (_FP_DIV_MEAT_Q): Likewise.
2951 (_FP_NANFRAC_D): Likewise.
2952 (_FP_NANFRAC_Q): Likewise.
2953 (ISA_BIT): Add exception support if we are being compiled on a
2954 machine with hardware floating point support to build the IEEE
2955 128-bit emulation functions.
2956 (FP_EX_INVALID): Likewise.
2957 (FP_EX_OVERFLOW): Likewise.
2958 (FP_EX_UNDERFLOW): Likewise.
2959 (FP_EX_DIVZERO): Likewise.
2960 (FP_EX_INEXACT): Likewise.
2961 (FP_EX_ALL): Likewise.
2962 (__sfp_handle_exceptions): Likewise.
2963 (FP_HANDLE_EXCEPTIONS): Likewise.
2964 (FP_RND_NEAREST): Likewise.
2965 (FP_RND_ZERO): Likewise.
2966 (FP_RND_PINF): Likewise.
2967 (FP_RND_MINF): Likewise.
2968 (FP_RND_MASK): Likewise.
2969 (_FP_DECL_EX): Likewise.
2970 (FP_INIT_ROUNDMODE): Likewise.
2971 (FP_ROUNDMODE): Likewise.
2972
2973 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
2974 compiler can do __float128.
2975 * configure: Regenerate.
2976
2977 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2978 VSX code, enable IEEE 128-bit floating point.
2979
a2218983
OH
29802016-01-05 Olivier Hainque <hainque@adacore.com>
2981
2982 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 2983 specificities.
a2218983 2984
818ab71a
JJ
29852016-01-04 Jakub Jelinek <jakub@redhat.com>
2986
2987 Update copyright years.
2988
5a6c8ffa
AP
29892015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
2990
2991 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 2992 soft-fp targets.
5a6c8ffa 2993
077067a5
BE
29942015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
2995
2996 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
2997 instead of abort to avoid dependency on stdlib.h.
2998
787c1027
JDA
29992015-12-09 John David Anglin <danglin@gcc.gnu.org>
3000
3001 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3002 to initialize call to __dl_fixup once.
3003
04a9ae28
NC
30042015-12-04 Nick Clifton <nickc@redhat.com>
3005
3006 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3007 Allow for the second argument being negative.
3008 * config.host (extra_parts): Define for MSP430. Create separate
3009 libraries for each of the hardware multiply formats.
3010 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3011 that are needed.
3012 * config/msp430/lib2mul.c: Likewise.
3013 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3014 Add rules to build hardware multiply libraries.
3015 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3016 __mspabi_divul function.
3017 (__mspabi_divllu): New stub function.
3018
9a32d437
JDA
30192015-12-01 John David Anglin <danglin@gcc.gnu.org>
3020
3021 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3022 fixup values if saved GOT address doesn't match runtime address.
3023 (fixup_branch_offset): Reorder list.
3024
e5ef217c
RO
30252015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3026
3027 * Makefile.in (VTV_CFLAGS): New variable.
3028 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3029 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3030 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3031 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3032 to extra_parts if $enable_vtable_verify = yes.
3033
78cc43a2
SN
30342015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3035
3036 PR target/68059
3037 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3038 (write): ...this and fix the return type.
3039
9afebea2
DD
30402015-11-19 DJ Delorie <dj@redhat.com>
3041
3042 * config/msp430/lib2hw_mul.S: Fix alignment.
3043
33f47f42
NS
30442015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3045
3046 * config/nvptx/reduction.c: New.
3047 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3048
d9adb476
DE
30492015-11-15 David Edelsohn <dje.gcc@gmail.com>
3050
3051 * config/rs6000/on_exit.c: New file.
3052 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3053 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3054
c0ab1970
CZ
30552015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3056
3057 * config/arc/dp-hack.h: Add support for ARCHS.
3058 * config/arc/ieee-754/divdf3.S: Likewise.
3059 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3060 * config/arc/ieee-754/muldf3.S: Likewise.
3061 * config/arc/ieee-754/mulsf3.S: Likewise
3062 * config/arc/lib1funcs.S: Likewise
3063 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3064 for ARCv2 cores.
3065 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3066 for ARCv2 cores.
3067 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3068 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3069 cores.
3070
e6b6bf09
RO
30712015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3072
3073 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3074 value.
3075 * config/ia64/crtend.S: Likewise.
3076
a153644f
TS
30772015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3078
3079 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3080 __CHAR_BIT__ instead of BITS_PER_UNIT.
3081 * fixed-bit.h: Likewise.
3082 * fp-bit.h: Likewise.
3083 * libgcc2.c (__popcountSI2): Likewise.
3084 (__popcountDI2): Likewise.
3085 * libgcc2.h: Likewise.
3086 * libgcov.h: Likewise.
3087
3dee689d
DE
30882015-11-07 David Edelsohn <dje.gcc@gmail.com>
3089
3090 * config/rs6000/atexit.c: New file.
3091 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3092 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3093 * config/rs6000/cxa_finalize.c
3094 (catomic_compare_and_exchange_bool_acq): Negate return value.
3095
2ef543e4
VK
30962015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3097
3098 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3099 (processor_subtypes): Add znver1.
3100 (get_amd_cpu): Detect znver1.
3101
1300f017
CL
31022015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3103
3104 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3105 Include crtfastmath.o.
3106
3e5bb7ee
JR
31072015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3108
3109 PR libgcc/66883
3110 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3111
793aa938
KP
31122015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3113
3114 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3115 * config/rl78/divmodsi.S: Update return register to r8.
3116 * config/rl78/divmodhi.S: Update return register to r8,r9.
3117 Branch to main_loop_done_himode to pop registers before return.
3118
7d296953 31192015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3120
3121 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3122 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3123
6a192b5a
KY
31242015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3125
3126 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3127
4a0a9457
MF
31282015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3129
3130 * config.host (xtensa*-*-uclinux*): New configuration.
3131
ab91c076
KY
31322015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3133
385c7747 3134 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3135 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3136
30954527
JM
31372015-09-28 Joseph Myers <joseph@codesourcery.com>
3138
3139 * soft-fp/adddf3.c: Update from glibc.
3140 * soft-fp/addsf3.c: Likewise.
3141 * soft-fp/addtf3.c: Likewise.
3142 * soft-fp/divdf3.c: Likewise.
3143 * soft-fp/divsf3.c: Likewise.
3144 * soft-fp/divtf3.c: Likewise.
3145 * soft-fp/double.h: Likewise.
3146 * soft-fp/eqdf2.c: Likewise.
3147 * soft-fp/eqsf2.c: Likewise.
3148 * soft-fp/eqtf2.c: Likewise.
3149 * soft-fp/extenddftf2.c: Likewise.
3150 * soft-fp/extended.h: Likewise.
3151 * soft-fp/extendsfdf2.c: Likewise.
3152 * soft-fp/extendsftf2.c: Likewise.
3153 * soft-fp/extendxftf2.c: Likewise.
3154 * soft-fp/fixdfdi.c: Likewise.
3155 * soft-fp/fixdfsi.c: Likewise.
3156 * soft-fp/fixdfti.c: Likewise.
3157 * soft-fp/fixsfdi.c: Likewise.
3158 * soft-fp/fixsfsi.c: Likewise.
3159 * soft-fp/fixsfti.c: Likewise.
3160 * soft-fp/fixtfdi.c: Likewise.
3161 * soft-fp/fixtfsi.c: Likewise.
3162 * soft-fp/fixtfti.c: Likewise.
3163 * soft-fp/fixunsdfdi.c: Likewise.
3164 * soft-fp/fixunsdfsi.c: Likewise.
3165 * soft-fp/fixunsdfti.c: Likewise.
3166 * soft-fp/fixunssfdi.c: Likewise.
3167 * soft-fp/fixunssfsi.c: Likewise.
3168 * soft-fp/fixunssfti.c: Likewise.
3169 * soft-fp/fixunstfdi.c: Likewise.
3170 * soft-fp/fixunstfsi.c: Likewise.
3171 * soft-fp/fixunstfti.c: Likewise.
3172 * soft-fp/floatdidf.c: Likewise.
3173 * soft-fp/floatdisf.c: Likewise.
3174 * soft-fp/floatditf.c: Likewise.
3175 * soft-fp/floatsidf.c: Likewise.
3176 * soft-fp/floatsisf.c: Likewise.
3177 * soft-fp/floatsitf.c: Likewise.
3178 * soft-fp/floattidf.c: Likewise.
3179 * soft-fp/floattisf.c: Likewise.
3180 * soft-fp/floattitf.c: Likewise.
3181 * soft-fp/floatundidf.c: Likewise.
3182 * soft-fp/floatundisf.c: Likewise.
3183 * soft-fp/floatunditf.c: Likewise.
3184 * soft-fp/floatunsidf.c: Likewise.
3185 * soft-fp/floatunsisf.c: Likewise.
3186 * soft-fp/floatunsitf.c: Likewise.
3187 * soft-fp/floatuntidf.c: Likewise.
3188 * soft-fp/floatuntisf.c: Likewise.
3189 * soft-fp/floatuntitf.c: Likewise.
3190 * soft-fp/gedf2.c: Likewise.
3191 * soft-fp/gesf2.c: Likewise.
3192 * soft-fp/getf2.c: Likewise.
3193 * soft-fp/ledf2.c: Likewise.
3194 * soft-fp/lesf2.c: Likewise.
3195 * soft-fp/letf2.c: Likewise.
3196 * soft-fp/muldf3.c: Likewise.
3197 * soft-fp/mulsf3.c: Likewise.
3198 * soft-fp/multf3.c: Likewise.
3199 * soft-fp/negdf2.c: Likewise.
3200 * soft-fp/negsf2.c: Likewise.
3201 * soft-fp/negtf2.c: Likewise.
3202 * soft-fp/op-1.h: Likewise.
3203 * soft-fp/op-2.h: Likewise.
3204 * soft-fp/op-4.h: Likewise.
3205 * soft-fp/op-8.h: Likewise.
3206 * soft-fp/op-common.h: Likewise.
3207 * soft-fp/quad.h: Likewise.
3208 * soft-fp/single.h: Likewise.
3209 * soft-fp/soft-fp.h: Likewise.
3210 * soft-fp/subdf3.c: Likewise.
3211 * soft-fp/subsf3.c: Likewise.
3212 * soft-fp/subtf3.c: Likewise.
3213 * soft-fp/truncdfsf2.c: Likewise.
3214 * soft-fp/trunctfdf2.c: Likewise.
3215 * soft-fp/trunctfsf2.c: Likewise.
3216 * soft-fp/trunctfxf2.c: Likewise.
3217 * soft-fp/unorddf2.c: Likewise.
3218 * soft-fp/unordsf2.c: Likewise.
3219 * soft-fp/unordtf2.c: Likewise.
3220
4dfe21ac
RE
32212015-09-24 Richard Earnshaw <rearnsha@arm.com>
3222
3223 PR libgcc/67624
3224 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3225
df2a1cc4
RO
32262015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3227
3228 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3229 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3230 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3231 messages.
3232 (internal_mcount): Likewise.
3233 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3234 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3235
2d110442
RO
32362015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3237
3238 * configure.ac (libgcc_cv_solaris_crts): New test.
3239 * configure: Regenerate.
3240 * config.in: Regenerate.
3241 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3242 * config/gmon-sol2.c: Rename to ...
3243 * config/sol2/gmon.c: ... this.
3244 Include auto-target.h.
3245 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3246 * config/t-sol2: Rename to ...
3247 * config/sol2/t-sol2: ... this.
3248 (gmon.o): Reflect renaming.
3249 (crtp.o, crtpg.o): New rules.
3250 * config.host (*-*-solaris2*): Reflect renaming.
3251 Use system CRTs if present.
3252 Remove default CRT case.
3253
d572e439
JDA
32542015-09-23 John David Anglin <danglin@gcc.gnu.org>
3255
3256 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3257 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3258 __kernel_cmpxchg2.
3259 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3260 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3261 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3262 (__sync_lock_test_and_set_##WIDTH): Likewise.
3263 (__sync_lock_release_##WIDTH): Likewise.
3264 (__sync_fetch_and_##OP##_4): Change result to match type of
3265 __kernel_cmpxchg.
3266 (__sync_##OP##_and_fetch_4): Likewise.
3267 (__sync_val_compare_and_swap_4): Likewise.
3268 (__sync_bool_compare_and_swap_4): likewise.
3269 (__sync_lock_test_and_set_4): Likewise.
3270 (__sync_lock_release_4): Likewise.
3271 (FETCH_AND_OP_2): Add long long variants.
3272 (OP_AND_FETCH_2): Likewise.
3273 (COMPARE_AND_SWAP_2 ): Likewise.
3274 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3275 (SYNC_LOCK_RELEASE_2): Likewise.
3276 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3277
7d296953 32782015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3279
3280 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3281 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3282 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3283 (get_available_features): Habdle new features.
3284
131314e1
JB
32852015-09-21 James Bowman <james.bowman@ftdichip.com>
3286
3287 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3288 memory layout. Deal correctly with BSS region larger than 32K.
3289 Handle a watchdog reset like a power-on reset. Clean up unused
3290 code.
3291
04218b35
AD
32922015-09-18 Andrew Dixie <andrewd@gentrack.com>
3293 David Edelsohn <dje.gcc@gmail.com>
3294
3295 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3296 * config/rs6000/crtdbase.S: New file.
3297 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3298
c8338173
MF
32992015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3300
3301 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3302 Add support for call0 ABI.
3303
7a84bf71
JDA
33042015-09-13 John David Anglin <danglin@gcc.gnu.org>
3305
3306 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3307
4efab402
SH
33082015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3309
3310 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3311 (__GTHREAD_HAS_COND): Likewise.
3312 (__gthread_t): Likewise.
3313 (__gthread_cond_t): Likewise.
3314 (__gthread_time_t): Likewise.
3315 (__GTHREAD_MUTEX_INIT): Likewise.
3316 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3317 (__GTHREAD_COND_INIT): Likewise.
3318 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3319 (__GTHREAD_TIME_INIT): Likewise.
3320 (__gthread_create): Likewise.
3321 (__gthread_join): Likewise.
3322 (__gthread_detach): Likewise.
3323 (__gthread_equal): Likewise.
3324 (__gthread_self): Likewise.
3325 (__gthread_yield): Likewise.
3326 (__gthread_cond_broadcast): Likewise.
3327 (__gthread_cond_signal): Likewise.
3328 (__gthread_cond_wait): Likewise.
3329 (__gthread_cond_timedwait): Likewise.
3330 (__gthread_cond_wait_recursive): Likewise.
3331 (__gthread_cond_destroy): Likewise.
3332 (rtems_gxx_once): Delete.
3333 (rtems_gxx_key_create): Likewise.
3334 (rtems_gxx_key_delete): Likewise.
3335 (rtems_gxx_getspecific): Likewise.
3336 (rtems_gxx_setspecific): Likewise.
3337 (rtems_gxx_mutex_init): Likewise.
3338 (rtems_gxx_mutex_destroy): Likewise.
3339 (rtems_gxx_mutex_lock): Likewise.
3340 (rtems_gxx_mutex_trylock): Likewise.
3341 (rtems_gxx_mutex_unlock): Likewise.
3342 (rtems_gxx_recursive_mutex_init): Likewise.
3343 (rtems_gxx_recursive_mutex_lock): Likewise.
3344 (rtems_gxx_recursive_mutex_trylock): Likewise.
3345 (rtems_gxx_recursive_mutex_unlock): Likewise.
3346 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3347 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3348 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3349 (__gthread_once): Likewise.
3350 (__gthread_key_create): Likewise.
3351 (__gthread_key_delete): Likewise.
3352 (__gthread_getspecific): Likewise.
3353 (__gthread_setspecific): Likewise.
3354 (__gthread_key_t): Use <pthread.h> type.
3355 (__gthread_once_t): Likewise
3356 (__gthread_mutex_t): Use <sys/lock.h> type.
3357 (__gthread_recursive_mutex_t): Likewise
3358 (__gthread_mutex_lock): Use <sys/lock.h> function.
3359 (__gthread_mutex_trylock): Likewise.
3360 (__gthread_mutex_timedlock): Likewise.
3361 (__gthread_mutex_unlock): Likewise.
3362 (__gthread_mutex_destroy): Likewise.
3363 (__gthread_recursive_mutex_lock): Likewise.
3364 (__gthread_recursive_mutex_trylock): Likewise.
3365 (__gthread_recursive_mutex_timedlock): Likewise.
3366 (__gthread_recursive_mutex_unlock): Likewise.
3367 (__gthread_recursive_mutex_destroy): Likewise.
3368
991995c4
MF
33692015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3370
3371 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3372 context->sp instead of context->cfa.
3373
0e19db59
MF
33742015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3375
3376 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3377 with unwind-dw2-fde-dip.
3378
b6ac5f62
MF
33792015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3380
3381 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3382 CALL12 followed by series of ENTRY to spill windowed registers.
3383 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3384 instead of making linux spill syscall.
3385
3e0f3349
YR
33862015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3387
3388 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3389 (get_intel_cpu): Likewise.
3390
51c728b1
L
33912015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3392
3393 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3394 (get_intel_cpu): Add Knights Landing support.
3395
aff4eeac
UB
33962015-08-11 Uros Bizjak <ubizjak@gmail.com>
3397
3398 PR target/66954
3399 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3400 (get_available_features): Handle FEATURE_PCLMUL.
3401
736e56da
L
34022015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3405 Broadwell.
3406
54d22142
UB
34072015-07-22 Uros Bizjak <ubizjak@gmail.com>
3408
3409 PR target/66954
3410 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3411 (get_available_features): Handle FEATURE_AES.
3412
20ca17e4
CLT
34132015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3414
3415 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3416 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3417
ebe4a560
NS
34182015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3419
3420 * offloadstuff.c: Constify host data.
3421
180744c0
JB
34222015-07-17 Jan Beulich <jbeulich@suse.com>
3423
3424 * config/t-softfp: Split up "else ifneq".
3425
a03c6ae3
SL
34262015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3427 Cesar Philippidis <cesar@codesourcery.com>
3428 Chung-Lin Tang <cltang@codesourcery.com>
3429
3430 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3431 for __nios2_arch__ level.
3432
73358db5
JM
34332015-07-13 John Marino <gnugcc@marino.st>
3434
3435 * config/i386/t-dragonfly: New.
3436
f9a12f7b
JDA
34372015-07-01 John David Anglin <danglin@gcc.gnu.org>
3438
3439 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3440 better match light-weight syscall argument order.
3441 (__kernel_cmpxchg2): Likewise.
3442 Adjust callers.
3443
cb78b51c
L
34442015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3445
3446 * config.host: Support i[34567]86-*-elfiamcu target.
3447 * config/t-softfp-sfdftf: New file.
3448 * config/i386/32/t-iamcu: Likewise.
3449 * configure: Regenerated.
3450
4fa0f9ea
JL
34512015-06-23 James Lemke <jwlemke@codesourcery.com>
3452
3453 libgcc/config/arm/
3454 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3455
428b3812
L
34562015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3457
3458 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3459
7d296953 34602015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3461
3462 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3463 md_unwind_header
3464 * config/i386/freebsd-unwind.h: New.
3465
9b789cc1
UB
34662015-05-22 Uros Bizjak <ubizjak@gmail.com>
3467
3468 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3469 i386/t-crtfm to tmake_file.
3470 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3471 (set_fast_math): Use set_fast_math_sse for SSE targets.
3472 * config/i386/t-crtfm: Remove.
3473
3dafb220
AM
34742015-05-21 Alan Modra <amodra@gmail.com>
3475
3476 PR libgcc/66225
3477 * config/rs6000/morestack.S: Remove ".abiversion 1".
3478
0f0fd745
AM
34792015-05-20 Alan Modra <amodra@gmail.com>
3480
3481 * config/rs6000/morestack.S: New.
3482 * config/rs6000/t-stack-rs6000: New.
3483 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3484 to tmake_file.
3485 * generic-morestack.c: Don't build for powerpc 32-bit.
3486
515ae71b
EB
34872015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3488
3489 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3490 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3491
36805406
JL
34922015-05-16 James Bowman <james.bowman@ftdichip.com>
3493
3494 * config.host: FT32 target added.
3495 * config/ft32/*: New files for FT32 target.
3496
ff935d0c
MG
34972015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3498
385c7747
UB
3499 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3500 New macros.
3501 * config/arm/ieee754-df.S: Add CFI directives.
3502 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3503
9b92a9f3
EB
35042015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3505
3506 * configure.ac: Include config/sjlj.m4.
3507 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3508 * config.in: Regenerate.
3509 * configure: Likewise.
3510 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3511
98b5dc61
UB
35122015-05-12 Uros Bizjak <ubizjak@gmail.com>
3513
3514 * libgcov-util.c: Add space between string literal and macro name.
3515
5a0ff57c
SL
35162015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3517 Chris Jones <chrisj@nvidia.com>
3518 Joshua Conner <jconner@nvidia.com>
3519
3520 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3521 (arm*-*-uclinux*): Likewise.
3522 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3523 * config/arm/crtfastmath.c: New file.
3524
d28ad5d4
BS
35252014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3526
3527 * Makefile.in (real_host_noncanonical): New variable.
3528 (libsubdir): Use it.
3529 * configure.ac (real_host_noncanonical): Compute. Remove special
3530 case for intelmicemul.
3531 * configure: Regenerate.
3532
cc86234f
UB
35332015-04-28 Uros Bizjak <ubizjak@gmail.com>
3534
3535 * config/frv/elf-lib.h: New file.
3536 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3537 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3538 to tm_file.
3539
35402015-04-28 Uros Bizjak <ubizjak@gmail.com>
3541
3542 * config/frv/frvbengin.c: Do not include defaults.h
3543 * config/frv/frvend.c: Ditto.
3544
2f6bd6eb
YS
35452015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3546
3547 * config.host: Add h8300-*-linux
3548 * config/h8300/t-linux: New file.
3549 * config/h8300/lib1funs.s: Change symbol prefix.
3550 * config/h8300/sfp-machine.h: 64bit double support.
3551
15aa7b44
GR
35522015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3553 Szabolcs Nagy <szabolcs.nagy@arm.com>
3554
3555 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3556 Linux if target provides dl_iterate_phdr.
3557
abd0cdc9
L
35582015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3559
3560 PR target/65612
3561 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3562 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3563 (__cpu_indicator_init@GCC_4.8.0): New.
3564 (__cpu_model@GCC_4.8.0): Likewise.
3565 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3566 -DUSE_ELF_SYMVER.
3567
72ed1126
NC
35682015-04-16 Nick Clifton <nickc@redhat.com>
3569
3570 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3571 and __modhi3 functions.
3572 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3573 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3574
d26b2237
CG
35752015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3576
3577 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3578 do-while loop as macro body to avoid warnings.
3579
cacf1f59
JJ
35802015-04-10 Jakub Jelinek <jakub@redhat.com>
3581 Iain Sandoe <iain@codesourcery.com>
3582
3583 PR target/65351
3584 * configure: Regenerate.
3585
e8a4ed3b
JJ
35862015-04-07 Jakub Jelinek <jakub@redhat.com>
3587 Iain Sandoe <iain@codesourcery.com>
3588
3589 PR target/65351
3590 * configure: Regenerate.
3591
0341335e
CLT
35922015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3593
3594 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3595
590e2636 35962015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3597
590e2636
MF
3598 Implement call0 ABI for xtensa
3599 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3600 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3601 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3602 use ret in call0 ABI.
3603 * config/xtensa/t-windowed: New file.
3604 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3605 * libgcc/configure: Regenerated.
3606 * libgcc/configure.ac: Check if xtensa target is configured for
3607 windowed ABI and thus needs to use custom unwind code.
3608
7727f8f2
JW
36092015-02-12 Jonathan Wakely <jwakely@redhat.com>
3610
3611 PR libgcc/64885
3612 * gthr-single.h: Use __unused__ attribute instead of unused.
3613 * config/gthr-vxworks.h: Likewise.
3614 * config/i386/gthr-win32.h: Likewise.
3615
0e4a0def
KT
36162015-02-27 Kai Tietz <ktietz@redhat.com>
3617
3618 PR target/65038
3619 * config.in: Regenerated.
3620 * configure: Likewise.
3621 * configure.ac (AC_HEADER_STDC): Added explicit.
3622 (AC_CHECK_HEADERS): Check for default headers plus
3623 for ftw.h header.
3624 * libgcov-util.c (gcov_read_profile_dir): Disable use
3625 of ftw-function, if header is not found.
3626 (ftw_read_file): Likewise.
3627
b6530d0a
TS
36282015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3629
3630 PR target/65181
3631 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3632 -Dinhibit_libc.
3633
53cfb467
SL
36342015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3635
3636 * config/arm/bpabi.S (test_div_by_zero): Make label names
3637 consistent between thumb2 and arm mode cases. Separate the
3638 signed comparison on the high word of the numerator from the
3639 unsigned comparison on the low word.
3640 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3641 signed comparison.
3642
77d10a1b
JM
36432015-02-17 Joseph Myers <joseph@codesourcery.com>
3644
3645 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3646 and <string.h>.
3647 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3648
98174188
RE
36492015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3650
3651 PR gcov-profile/61889
471274de 3652 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3653
771bef14
NC
36542015-02-02 Nick Clifton <nickc@redhat.com>
3655
3656 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3657 rounding up the fraction.
3658
40702893
JDA
36592015-01-31 John David Anglin <danglin@gcc.gnu.org>
3660
3661 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3662 oldval and newval to const void *. Fix typo.
3663 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3664 (FETCH_AND_OP_WORD): Likewise.
3665 (OP_AND_FETCH_WORD): Likewise.
3666 (COMPARE_AND_SWAP_2): Likewise.
3667 (__sync_val_compare_and_swap_4): Likewise.
3668 (__sync_lock_test_and_set_4): Likewise.
3669 (SYNC_LOCK_RELEASE_2): Likewise.
3670 Remove support for long long atomic operations.
3671
f7f049fa
CT
36722015-01-27 Caroline Tice <cmtice@google.com>
3673
3674 Committing VTV Cywin/Ming patch for Patrick Wollgast
3675 * Makefile.in: Move rules to build vtv_*.o out of the check
3676 for CUSTOM_CRTSTUFF.
3677 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3678 i[34567]86-*-mingw*)
3679 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3680 enable_vtable_verify.
3681
8410904a
NC
36822015-01-27 Nick Clifton <nickc@redhat.com>
3683
3684 * config/rl78/cmpsi2.S: Use function start and end macros.
3685 (__gcc_bcmp): New function.
3686 * config/rl78/lshrsi3.S: Use function start and end macros.
3687 * config/rl78/mulsi3.S: Add support for G10.
3688 (__mulqi3): New function for G10.
3689 * config/rl78/signbit.S: Use function start and end macros.
3690 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3691 fpmath-sf.S.
3692 (LIB2FUNCS_EXCLUDE): Define.
3693 (LIB2FUNCS_ST): Define.
3694 * config/rl78/trampoline.S: Use function start and end macros.
3695 * config/rl78/vregs.h (START_FUNC): New macro.
3696 (START_ANOTHER_FUNC): New macro.
3697 (END_FUNC): New macro.
3698 (END_ANOTHER_FUNC): New macro.
3699 * config/rl78/bit-count.S: New file. Contains assembler
3700 implementations of the bit counting functions: ___clzhi2,
3701 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3702 __paritysi2, __popcounthi2 and __popcountsi2.
3703 * config/rl78/fpbit-sf.S: New file. Contains assembler
3704 implementationas of the math functions: __negsf2, __cmpsf2,
3705 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3706 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3707 * config/rl78/fpmath-sf.S: New file. Contains assembler
3708 implementations of the math functions: __subsf3, __addsf3,
3709 __mulsf3 and __divsf3
3710
f962fbf1
RO
37112015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3712
3713 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3714 Add i386/elf-lib.h to tm_file.
3715 * config/i386/elf-lib.h: Fix comment.
3716 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3717 && __sun__ && __svr4__]: Remove workaround.
3718
939911c5
ASJ
37192015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3720
3721 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3722 FEATURE_BMI2.
3723 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3724
c8f2dff2
L
37252015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3726
3727 * config/i386/cpuinfo.c (processor_subtypes): Add
3728 INTEL_COREI7_BROADWELL.
3729 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3730 model numbers.
3731
7bbf9734
UB
37322015-01-23 Uros Bizjak <ubizjak@gmail.com>
3733
3734 * config/i386/elf-lib.h: New file.
3735 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3736 Wrap definition in #ifdef __i386__.
3737 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3738 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3739 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3740 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3741 to tm_file.
3742
324820f1
CG
37432015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3744
3745 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3746 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3747
a9ce4e4a
CLT
37482015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3749
3750 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3751 Update rt_sigframe format and address for current Nios II
3752 Linux conventions.
3753
82a19768
AT
37542015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3755
3756 * config.host (arm*-*-freebsd*): Add new configuration for
3757 arm*-*-freebsd*.
3758 * config/arm/freebsd-atomic.c: New file.
3759 * config/arm/t-freebsd: Likewise.
3760 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3761 'PC-relative indirect' OS's.
3762
0969ec7d
EB
37632015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3764
3765 * config.host: Add Visium support.
3766 * config/visium: New directory.
3767
5624e564
JJ
37682015-01-05 Jakub Jelinek <jakub@redhat.com>
3769
3770 Update copyright years.
3771
82f84ecb
MF
37722014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3773
3774 * config.host: Support mipsisa32r6 and mipsisa64r6.
3775 * config/mips/mips16.S: Do not build for R6.
3776
69044fa9
OE
37772014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3778
3779 * config/sh/crt.h: New.
3780 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3781 symbols.
3782 * config/sh/crt1.S: Likewise.
3783
2405e0ea
UB
37842014-12-15 Uros Bizjak <ubizjak@gmail.com>
3785
3786 PR libgcc/63832
3787 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3788 func_ptr *dtor_list temporary variable to avoid "array subscript
3789 is above array bounds" warnings.
3790
7d296953 37912014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3792
3793 * Makefile.in (with_aix_soname): Define.
3794 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3795 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3796 * configure: Recreate.
3797
a66272f6
OH
37982014-12-05 Olivier Hainque <hainque@adacore.com>
3799
3800 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3801 now provided by defaults.h.
3802
6342b2c5
OE
38032014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3804
7d0ee249 3805 PR target/55351
6342b2c5
OE
3806 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3807 whether it's defined.
3808
c17eac85
IT
38092014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3810
3811 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3812 * config/i386/cpuinfo.c (get_available_features): Detect it.
3813
1025cb6c
TW
38142014-11-27 Tony Wang <tony.wang@arm.com>
3815
3816 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3817 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3818 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3819
d19f2e38
SB
38202014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3821
3822 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3823
17f6e9a3
JDA
38242014-11-24 John David Anglin <danglin@gcc.gnu.org>
3825
3826 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3827 instead.
3828
0cd7c672
GM
38292014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3830 John David Anglin <danglin@gcc.gnu.org>
3831
3832 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3833 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3834 (OP_AND_FETCH_2): Likewise.
3835 (COMPARE_AND_SWAP_2): Likewise.
3836 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3837 (SYNC_LOCK_RELEASE_2): Likewise.
3838 (SUBWORD_SYNC_OP): Remove.
3839 (SUBWORD_VAL_CAS): Likewise.
3840 (SUBWORD_BOOL_CAS): Likewise.
3841 (FETCH_AND_OP_WORD): Update.
3842 Consistently use signed types.
cc86234f 3843
85c64bbe
BS
38442014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3845 Thomas Schwinge <thomas@codesourcery.com>
3846 Ilya Verbin <ilya.verbin@intel.com>
3847 Andrey Turetskiy <andrey.turetskiy@intel.com>
3848
3849 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3850 (crtoffloadend$(objext)): Likewise.
3851 * configure: Regenerate.
3852 * configure.ac (accel_dir_suffix): Compute new variable.
3853 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3854 if enable_offload_targets is not empty.
3855 * offloadstuff.c: New file.
3856
52a1ff8b
NC
38572014-11-13 Nick Clifton <nickc@redhat.com>
3858
3859 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3860 Use START_FUNC and END_FUNC macros to enable linker garbage
3861 collection.
3862 * config/rl78/divmodqi.S: Likewise.
3863 * config/rl78/divmodsi.S: Likewise.
3864 * config/rl78/mulsi3.S: Likewise.
3865 * config/rl78/lib2div.c: Remove G10 functions.
3866 * config/rl78/lib2muls.c: Likewise.
3867 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3868 * config/rl78/vregs.h (START_FUNC): New macro.
3869 (END_FUNC): New macro.
3870
050af144
MF
38712014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3872
3873 * config/mips/mips16.S: Set .module when supported. Update O32
3874 FP64 calling convention and use for FPXX when possible. Add FPXX
3875 calling convention fallback case.
3876
738f2522
BS
38772014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3878
3879 * config.host: Handle nvptx-*-*.
3880 * shared-object.mk (as-flags-$o): Define.
3881 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3882 -xassembler-with-cpp.
3883 * static-object.mk: Identical changes.
3884 * config/nvptx/t-nvptx: New file.
3885 * config/nvptx/crt0.s: New file.
3886 * config/nvptx/free.asm: New file.
3887 * config/nvptx/malloc.asm: New file.
3888 * config/nvptx/realloc.c: New file.
3889
e610393c
JM
38902014-10-30 Joseph Myers <joseph@codesourcery.com>
3891
3892 * Makefile.in (libgcc.map.in): New target.
3893 (libgcc.map): Use libgcc.map.in.
3894 * config/t-softfp (softfp_compat): New variable to be set by
3895 users.
3896 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3897 variables.
3898 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3899 directory.
3900 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3901 that use compat symbols and disable all code unless [SHARED].
3902 * config/t-softfp-compat: New file.
3903 * find-symver.awk: New file.
3904 * configure.ac (--with-glibc-version): New configure option.
3905 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3906 * configure: Regenerate.
3907 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3908 soft-float and e500.
3909
bc1b3a88
JM
39102014-10-29 Joseph Myers <joseph@codesourcery.com>
3911
3912 * config/t-hardfp (hardfp_exclusions): Document new variable for
3913 user to define.
3914 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3915 * config/t-softfp (softfp_extras): Document new variable for user
3916 to define.
3917 (softfp_func_list): Add functions from $(softfp_extras).
3918 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3919 * config.host (powerpc*-*-linux*): For e500v1, use
3920 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3921 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3922 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3923
ef2810c1
JDA
39242014-10-26 John David Anglin <danglin@gcc.gnu.org>
3925
3926 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3927 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3928 memory read accesses are ok.
3929
d80c2bea
JM
39302014-10-25 Joseph Myers <joseph@codesourcery.com>
3931
3932 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3933 * configure: Regenerate.
3934 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3935 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3936 of soft-fp for 32-bit classic hard float. Do not use
3937 t-softfp-excl for soft float.
3938
693b297b
JM
39392014-10-22 Joseph Myers <joseph@codesourcery.com>
3940
3941 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3942 configurations.
3943 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3944 Remove variables.
3945
18a3415e
GJL
39462014-10-22 Georg-Johann Lay <avr@gjlay.de>
3947
3948 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
3949 introduced with 2014-10-21 trunk r216525.
3950
c1dd9790 39512014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
3952 Vidya Praveen <vidya.praveen@atmel.com>
3953 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
3954 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
3955 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
3956
3957 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
3958 order.
3959
3960 Updated library functions for AVRTINY arch.
3961 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
3962 Replaced occurrences of r0/r1 with tmp/zero reg macros.
3963 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
3964 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
3965 wsubi/wadi macors.
3966 (__mulsi3_helper): Update stack, preserve callee saved regs and
3967 argument from stack. Restore callee save registers.
3968 (__mulpsi3): Likewise.
3969 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
3970 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 3971 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
3972 AVRTINY.
3973 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
3974 (__do_copy_data): Added new definition for AVRTINY.
3975 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
3976 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
3977 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
3978 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
3979 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
3980 macors.
18a3415e 3981 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
3982 AVRTINY.
3983
18a3415e 3984 Fix broken long multiplication on tiny arch.
c1dd9790 3985
5f606431
JM
39862014-10-09 Joseph Myers <joseph@codesourcery.com>
3987
3988 * soft-fp/double.h: Update from glibc.
3989 * soft-fp/eqdf2.c: Likewise.
3990 * soft-fp/eqsf2.c: Likewise.
3991 * soft-fp/eqtf2.c: Likewise.
3992 * soft-fp/extenddftf2.c: Likewise.
3993 * soft-fp/extended.h: Likewise.
3994 * soft-fp/extendsfdf2.c: Likewise.
3995 * soft-fp/extendsftf2.c: Likewise.
3996 * soft-fp/extendxftf2.c: Likewise.
3997 * soft-fp/gedf2.c: Likewise.
3998 * soft-fp/gesf2.c: Likewise.
3999 * soft-fp/getf2.c: Likewise.
4000 * soft-fp/ledf2.c: Likewise.
4001 * soft-fp/lesf2.c: Likewise.
4002 * soft-fp/letf2.c: Likewise.
4003 * soft-fp/op-1.h: Likewise.
4004 * soft-fp/op-2.h: Likewise.
4005 * soft-fp/op-4.h: Likewise.
4006 * soft-fp/op-8.h: Likewise.
4007 * soft-fp/op-common.h: Likewise.
4008 * soft-fp/quad.h: Likewise.
4009 * soft-fp/single.h: Likewise.
4010 * soft-fp/soft-fp.h: Likewise.
4011 * soft-fp/unorddf2.c: Likewise.
4012 * soft-fp/unordsf2.c: Likewise.
4013 * soft-fp/unordtf2.c: Likewise.
4014 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4015 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4016 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4017 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4018 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4019 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4020 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4021 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4022 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4023 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4024
9b84e7a8
RX
40252014-10-08 Rong Xu <xur@google.com>
4026
4027 * libgcov-util.c (read_gcda_file): Fix format.
4028 (find_match_gcov_info): Ditto.
4029 (calculate_2_entries): New.
4030 (compute_one_gcov): Ditto.
4031 (gcov_info_count_all_cold): Ditto.
4032 (gcov_info_count_all_zero): Ditto.
4033 (extract_file_basename): Ditto.
4034 (get_file_basename): Ditto.
4035 (set_flag): Ditto.
4036 (matched_gcov_info): Ditto.
4037 (calculate_overlap): Ditto.
4038 (gcov_profile_overlap): Ditto.
4039 * libgcov-driver.c (compute_summary): Make
4040 it avavilable for external calls.
4041
fe1090c1
RX
40422014-10-06 Rong Xu <xur@google.com>
4043
4044 * Makefile.in: Ditto.
4045 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4046 (gcov_sort_icall_topn_counter): Ditto.
4047 (gcov_sort_topn_counter_arrays): Ditto.
4048 (dump_one_gcov): Sort indirect_call topn counters.
4049 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4050 function.
4051 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4052 utility function.
4053 (__gcov_indirect_call_topn_profiler): New profiler function.
4054 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4055 * libgcov.h: New decls.
4056
3daa7bbf
TS
40572014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4058
4059 * config.host: Remove support for score-*.
4060
9a79452d
JM
40612014-09-22 Joseph Myers <joseph@codesourcery.com>
4062
4063 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4064 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4065 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4066 __LIBGCC_XF_MANT_DIG__.
4067 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4068 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4069 __LIBGCC_TF_MANT_DIG__.
4070 * libgcc2.c (NOTRUNC): Define in terms of
4071 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4072 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4073
1a849e50
JM
40742014-09-22 Joseph Myers <joseph@codesourcery.com>
4075
4076 PR target/63312
4077 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4078 New macros.
4079
598a1586
HPN
40802014-09-22 Hans-Peter Nilsson <hp@axis.com>
4081
4082 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4083 override USE_PT_GNU_EH_FRAME.
4084 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4085 check USE_EH_FRAME_REGISTRY_ALWAYS against
4086 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4087 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4088 variable for substituted force_explicit_eh_registry.
4089 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4090 * configure.ac (explicit-exception-frame-registration):
4091 New AC_ARG_ENABLE.
4092 * configure: Regenerate.
4093
3a8fe7c6
OH
40942014-09-19 Olivier Hainque <hainque@adacore.com>
4095
4096 * config.host (powerpc-wrs-vxworksmils): New configuration,
4097 same as vxworksae.
4098
dd69f047
JM
40992014-09-18 Joseph Myers <joseph@codesourcery.com>
4100
4101 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4102
e770bfd9
JM
41032014-09-18 Joseph Myers <joseph@codesourcery.com>
4104
4105 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4106 bits not set bits as indicating trapping exceptions.
4107
cadb2b96
NS
41082014-09-17 Nathan sidwell <nathan@acm.org>
4109
4110 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4111 (LIBGCOV_DRIVER): ... here.
4112 * libgcov-driver.c (gcov_master): New.
4113 (gcov_exit): Remove from master chain.
4114 (__gcov_init): Add to master chain if version compatible. Don't
4115 clear the version.
4116 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4117 (gcov_reset_int): Clear master chain, if compatible.
4118 (gcov_dump_int): New internal interface. Dump master chain, if
4119 compatible.
4120 (gcov_dump): Alias for gcov_dump_int.
4121 * libgcov.h (struct gcov_root): Add next and prev fields.
4122 (struct gcov_master): New struct.
4123 (__gcov_master): New.
4124 (gcov_dump_int): Declare.
4125
580d22a3
OH
41262014-09-17 Olivier Hainque <hainque@adacore.com>
4127
4128 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4129 and crtbegin.o + crtend.o to extra_parts.
4130
8cc4b7a2
JM
41312014-09-12 Joseph Myers <joseph@codesourcery.com>
4132
4133 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4134 __LIBGCC_HAS_SF_MODE__.
4135 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4136 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4137 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4138 * config/libbid/bid_gcc_intrinsics.h
4139 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4140 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4141 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4142 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4143 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4144 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4145
ea3f2b24
GJL
41462014-09-11 Georg-Johann Lay <avr@gjlay.de>
4147
4148 PR target/63223
4149 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4150 and R24 as needed. Make work for all devices and .text locations.
4151 (__do_global_ctors, __do_global_dtors): Use word addresses.
4152 (__tablejump__, __tablejump_elpm__): Remove functions.
4153 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4154 Add _tablejump2.
4155 (XICALL, XIJMP): New macros.
4156
b677236a
MS
41572014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4158 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4159
4160 * config.host (aarch64*): Include crtfastmath.o and
4161 t-crtfm.
4162 * config/aarch64/crtfastmath.c: New file.
4163
157e859f
TS
41642014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4165
4166 * config.host: Remove picochip support.
4167 * config/picochip/adddi3.S: Remove.
4168 * config/picochip/ashlsi3.S: Remove.
4169 * config/picochip/ashlsi3.c: Remove.
4170 * config/picochip/ashrsi3.S: Remove.
4171 * config/picochip/ashrsi3.c: Remove.
4172 * config/picochip/clzsi2.S: Remove.
4173 * config/picochip/cmpsi2.S: Remove.
4174 * config/picochip/divmod15.S: Remove.
4175 * config/picochip/divmodhi4.S: Remove.
4176 * config/picochip/divmodsi4.S: Remove.
4177 * config/picochip/lib1funcs.S: Remove.
4178 * config/picochip/longjmp.S: Remove.
4179 * config/picochip/lshrsi3.S: Remove.
4180 * config/picochip/lshrsi3.c: Remove.
4181 * config/picochip/parityhi2.S: Remove.
4182 * config/picochip/popcounthi2.S: Remove.
4183 * config/picochip/setjmp.S: Remove.
4184 * config/picochip/subdi3.S: Remove.
4185 * config/picochip/t-picochip: Remove.
4186 * config/picochip/ucmpsi2.S: Remove.
4187 * config/picochip/udivmodhi4.S: Remove.
4188 * config/picochip/udivmodsi4.S: Remove.
4189
66bb34c0
JM
41902014-09-08 Joseph Myers <joseph@codesourcery.com>
4191
4192 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4193 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4194 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4195 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4196 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4197 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4198 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4199 defined and LIBGCC2_HAS_DF_MODE is defined.
4200 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4201 defined and LIBGCC2_HAS_XF_MODE is defined.
4202 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4203 defined and LIBGCC2_HAS_TF_MODE is defined.
4204
9686a2e6
JM
42052014-09-08 Joseph Myers <joseph@codesourcery.com>
4206
4207 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4208 and ROUND_TOWARDS_ZERO conditionals.
4209
71c3e2ef
NS
42102014-09-07 Nathan sidwell <nathan@acm.org>
4211
4212 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4213 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4214
53d68b9f
JM
42152014-09-05 Joseph Myers <joseph@codesourcery.com>
4216
4217 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4218 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4219 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4220 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4221 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4222 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4223 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4224 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4225 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4226 (DWARF_FRAME_REGISTERS): Change all uses to
4227 __LIBGCC_DWARF_FRAME_REGISTERS__.
4228 (EH_RETURN_STACKADJ_RTX): Change all uses to
4229 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4230 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4231 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4232 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4233 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4234 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4235 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4236 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4237 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4238 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4239 __LIBGCC_STACK_POINTER_REGNUM__.
4240 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4241 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4242 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4243 to __LIBGCC_STACK_POINTER_REGNUM__.
4244 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4245 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4246 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4247 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4248 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4249 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4250 (STACK_POINTER_REGNUM): Change all uses to
4251 __LIBGCC_STACK_POINTER_REGNUM__.
4252 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4253 use to __LIBGCC_STACK_POINTER_REGNUM__.
4254 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4255 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4256 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4257 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4258 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4259 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4260 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4261 to __LIBGCC_STACK_POINTER_REGNUM__.
4262 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4263 Remove conditional definition.
4264 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4265 __LIBGCC_TEXT_SECTION_ASM_OP__.
4266 (EH_FRAME_SECTION_NAME): Change all uses to
4267 __LIBGCC_EH_FRAME_SECTION_NAME__.
4268 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4269 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4270 (CTORS_SECTION_ASM_OP): Change all uses to
4271 __LIBGCC_CTORS_SECTION_ASM_OP__.
4272 (DTORS_SECTION_ASM_OP): Change all uses to
4273 __LIBGCC_DTORS_SECTION_ASM_OP__.
4274 (JCR_SECTION_NAME): Change all uses to
4275 __LIBGCC_JCR_SECTION_NAME__.
4276 (INIT_SECTION_ASM_OP): Change all uses to
4277 __LIBGCC_INIT_SECTION_ASM_OP__.
4278 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4279 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4280 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4281 __LIBGCC_STACK_GROWS_DOWNWARD__.
4282 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4283 __LIBGCC_INIT_SECTION_ASM_OP__.
4284 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4285 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4286 (EH_FRAME_SECTION_NAME): Change all uses to
4287 __LIBGCC_EH_FRAME_SECTION_NAME__.
4288 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4289 definitions. Change all uses to
4290 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4291 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4292 __LIBGCC_STACK_GROWS_DOWNWARD__.
4293 (DWARF_FRAME_REGISTERS): Change all uses to
4294 __LIBGCC_DWARF_FRAME_REGISTERS__.
4295 (EH_RETURN_STACKADJ_RTX): Change all uses to
4296 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4297 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4298 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4299 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4300 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4301 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4302
b20ee094
NS
43032014-09-02 Nathan sidwell <nathan@acm.org>
4304
4305 * libgcov-interface.c (STRONG_ALIAS): New.
4306 (__gcov_flush): Call __gcov_reset_int.
4307 (__gcov_reset): Strong alias for ...
4308 (__gcov_reset_ing): ... this renamed hidden version.
4309 * libgcov.h (__gcov_reset_int): New declaration.
4310
1ac83976
YS
43112014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4312
25efdb9f
YS
4313 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4314 call from here...
4315 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4316 (__dso_handle): Define on Cygwin.
4317 * config/i386/t-cygming (crtbeginS.o): New rule.
4318 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4319
1ac83976
YS
4320 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4321 declaration syntax.
4322
c6f9ea3b
SE
43232014-08-13 Steve Ellcey <sellcey@mips.com>
4324
4325 * crtstuff.c: Undef caddr_t.
4326
5b1ea7c5
SE
43272014-08-12 Steve Ellcey <sellcey@mips.com>
4328
4329 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4330
4303c581
NS
43312014-08-07 Nathan Sidwell <nathan@acm.org>
4332
4333 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4334 (LIBGCOV_DRIVER): ... to here.
4335 * libgcov.h (gcov_do_dump): New #define.
4336 (struct gcov_root): New.
4337 (__gcov_root): New declaration.
4338 (__gcov_dump_one): Declare.
4339 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4340 run_accounted): Delete.
4341 (gcov_compute_histogram): Add LIST argument, adjust.
4342 (compute_summary): Adjust gcov_compute_histogram call.
4343 (gcov_do_dump): Not hidden, static in libgcov.
4344 (gcov_clear): Move to interface.c.
4345 (__gcov_dump_one): New, broken out of ...
4346 (gcov_exit): ... here. Make static.
4347 (__gcov_root): New.
4348 (__gcov_init): Adjust.
4349 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4350 declarations.
4351 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4352 (gcov_clear): Moved from driver.c. Add LIST argument.
4353 (__gcov_reset): Adjust for changed interfaces.
4354 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4355
23742a9e
RAR
43562014-08-04 Rohit <rohitarulraj@freescale.com>
4357
4358 PR target/60102
4359 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4360 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4361
b98a872b
NS
43622014-08-01 Nathan Sidwell <nathan@acm.org>
4363
4364 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4365 LIBGCOV_INTERFACE): Reformat.
4366 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4367 IN_GCOV_TOOL.
4368 * libgcov-interface.c: Reformat some comments.
4369 (__gcov_flush_mx): Add declaration. Tidy up definition.
4370
6adaaa1d
AM
43712014-07-31 Alan Modra <amodra@gmail.com>
4372 Peter Bergner <bergner@vnet.ibm.com>
4373
4374 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4375 (pack_ldouble): New function.
4376 (__gcc_qadd): Use it.
4377 (__gcc_qmul): Likewise.
4378 (__gcc_qdiv): Likewise.
4379 (__gcc_qneg): Likewise.
4380 (__gcc_stoq): Likewise.
4381 (__gcc_dtoq): Likewise.
4382
87cb0c0c
UW
43832014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4384
4385 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4386 (__tpf_eh_return): Add original return address as second parameter.
4387 Handle cases where unwinder routines were called directly, instead
4388 of from within the C++ library.
4389
19926161
NS
43902014-07-29 Nathan Sidwell <nathan@acm.org>
4391
4392 * libgcov.h: Move renaming of entry points to lib gcov specific
4393 portion.
4394 (gcov_do_dump): New rename.
4395 (gcov_rewrite): Remove inline, make HIDDEN.
4396 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4397 (gcov_exit_compute_summary): Rename to ...
4398 (compute_summary): ... here. Add LIST argument.
4399 (gcov_exit_merge_gcda): Rename to ...
4400 (merge_one_data): ... here.
4401 (gcov_exit_write_gcda): Rename to ...
4402 (write_one_data): ... here.
4403 (gcov_exit_merge_summary): Rename to ...
4404 (merge_summary): Add RUN_COUNTED argument.
4405 (gcov_exit_dump_gcov): Rename to ...
4406 (dump_one_gcov): Add RUN_COUNTED argument.
4407 (gcov_do_dump): New function, broken out of ...
4408 (gcov_exit): ... here. Call it.
4409
17522262
AG
44102014-07-27 Anthony Green <green@moxielogic.com>
4411
4412 * config.host: Add moxiebox configuration suppport.
4413
6dc33097
NS
44142014-07-27 Nathan Sidwell <nathan@acm.org>
4415
4416 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4417 (struct gcov_filename): ... here. Include buffer and max length
4418 fields.
4419 (gcov_max_filename): Remove.
4420 (gi_filename): Remove.
4421 (gcov_exit_compute_summary): Compute max filename here.
4422 (gcov_exit_merge_gcda): Add filename parm, adjust.
4423 (gcov_exit_merge_summary): Likewise.
4424 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4425 (gcov_exit): Likewise.
4426 (__gcov_init): Don't calculate max length here.
4427 * libgcov_util.c (max_filename_len): Remove.
4428 (read_gcda_file): Don't calculate max length here.
4429 (gcov_read_profile_dir): Don't propagate here.
4430 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4431 struct gcov_filename changes.
4432 (gcov_exit_open_gcda_file): Likewise.
4433
770f687d
NS
44342014-07-25 Nathan Sidwell <nathan@acm.org>
4435
4436 * libgcov-driver.c (set_gcov_dump_complete,
4437 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4438 functions polluting user's namespace.
4439 (gcov_exit): Set variable directly.
4440 (gcov_clear): Reset variable directly.
4441 * libgcov-interface.c (get_gcov_dymp_complete,
4442 reset_gov_dump_complete): Remove declarations.
4443 (__gcov_reset, __gcov_dump): Don't call them.
4444
fabf71ba
DD
44452014-07-24 DJ Delorie <dj@redhat.com>
4446
4447 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4448 (__gcc_deregister_frame): Move logic to detect deregister function
4449 to ...
4450 (__gcc_register_frame): here, so it's consistent with the register
4451 logic.
fabf71ba 4452
d10ee722
NS
44532014-07-23 Nathan Sidwell <nathan@acm.org>
4454
4455 * libgcov-driver.c (set_gcov_list): Remove.
4456 (gcov_list): Make non-static in GCOV_TOOL.
4457 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4458
a4137090
JDA
44592014-07-17 John David Anglin <danglin@gcc.gnu.org>
4460
4461 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4462 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4463 Don't use SYNC_LOCK_RELEASE for int type.
4464
72602c6c
RB
44652014-07-14 Richard Biener <rguenther@suse.de>
4466
4467 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4468
d5313205
RX
44692014-07-11 Rong Xu <xur@google.com>
4470
4471 * libgcov-util.c (gcov_max_filename): Fix declartion.
4472
c77556a5
RX
44732014-07-10 Rong Xu <xur@google.com>
4474
4475 Add gcov-tool: an offline gcda profile processing tool
4476 Support.
4477 * libgcov-driver.c (gcov_max_filename): Make available
4478 to gcov-tool.
4479 * libgcov-merge.c (__gcov_merge_add): Replace
4480 gcov_read_counter() with a Macro.
4481 (__gcov_merge_ior): Ditto.
4482 (__gcov_merge_time_profile): Ditto.
4483 (__gcov_merge_single): Ditto.
4484 (__gcov_merge_delta): Ditto.
4485 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4486 in the utility functions.
4487 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4488 gcov_list object link lists.
4489 (tag_function): Ditto.
4490 (tag_blocks): Ditto.
4491 (tag_arcs): Ditto.
4492 (tag_lines): Ditto.
4493 (tag_counters): Ditto.
4494 (tag_summary): Ditto.
4495 (read_gcda_finalize): Ditto.
4496 (read_gcda_file): Ditto.
4497 (ftw_read_file): Ditto.
4498 (read_profile_dir_init): Ditto.
4499 (gcov_read_profile_dir): Ditto.
4500 (gcov_read_counter_mem): Ditto.
4501 (gcov_get_merge_weight): Ditto.
4502 (merge_wrapper): A wrapper function that calls merging handler.
4503 (gcov_merge): Merge two gcov_info objects with weights.
4504 (find_match_gcov_info): Find the matched gcov_info in the list.
4505 (gcov_profile_merge): Merge two gcov_info object lists.
4506 (__gcov_add_counter_op): Process edge profile counter values.
4507 (__gcov_ior_counter_op): Process IOR profile counter values.
4508 (__gcov_delta_counter_op): Process delta profile counter values.
4509 (__gcov_single_counter_op): Process single profile counter values.
4510 (fp_scale): Callback function for float-point scaling.
cc86234f 4511 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4512 (gcov_profile_scale): Scaling profile counters.
4513 (gcov_profile_normalize): Normalize profile counters.
4514 * libgcov.h: Add headers and functions for gcov-tool use.
4515 (gcov_get_counter): New.
4516 (gcov_get_counter_target): Ditto.
4517 (struct gcov_info): Make the functions field mutable in gcov-tool
4518 compilation.
4519
5c7dac8a
KT
45202014-06-23 Kai Tietz <ktietz@redhat.com>
4521
4522 PR libgcc/61585
4523 * unwind-seh.c (_Unwind_GetGR): Check for proper
4524 index range.
4525 (_Unwind_SetGR): Likewise.
4526
161c9312
NC
45272014-05-22 Nick Clifton <nickc@redhat.com>
4528
4529 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4530 -mhwmult=none.
4531
e3f0315f
TJ
45322014-05-22 Teresa Johnson <tejohnson@google.com>
4533
4534 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4535 include.
4536
dbed5a9b
JM
45372014-05-20 John Marino <gnugcc@marino.st>
4538
4539 * config.host (*-*-dragonfly*): New target.
4540 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4541 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4542 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4543 * config/i386/dragonfly-unwind.h: New.
4544
1ec380e5
MR
45452014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4546
4547 PR libgcc/60166
4548 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4549 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4550
54fde020
BE
45512014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4552
4553 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4554 implementation.
4555
999db125
GJL
45562014-05-12 Georg-Johann Lay <avr@gjlay.de>
4557
4558 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4559
cceaf54a
RO
45602014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4561
4562 PR libgcc/61097
4563 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4564 if --enable-shared.
4565
e3fe9b5b
BE
45662014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4567
4568 Work around for current cygwin32 build problems.
4569 * config/i386/cygming-crtbegin.c (__register_frame_info,
4570 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4571 functions only for 64-bit systems.
4572
54cf37e9
RO
45732014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4574
4575 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4576 (sigill_caught, sigill_hdlr): Remove.
4577
d9f069ab
RO
45782014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4579
4580 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4581 check.
4582 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4583 Solaris 9 single-threaded support.
4584 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4585 Solaris 9 single-threaded support. Add call_user_handler code
4586 sequences.
4587 (sparc_is_sighandler): Likewise.
4588
59976ef8
AK
45892014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4590
4591 * config.host: Append t-floattodi to tmake_file depending on
4592 host_address.
4593
d02bbcf3
JS
45942014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4595
31466bc0 4596 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4597
c2e7e597
UB
45982014-03-10 Uros Bizjak <ubizjak@gmail.com>
4599
4600 PR libgcc/60472
4601 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4602 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4603 Use __builtin_expect when checking *jcr_list for NULL.
4604
227a7dc8
RO
46052014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4606
4607 PR libgcc/59339
4608 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4609 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4610 vtv_*.o to extra_parts if enable_vtable_verify.
4611
df2b279c
NC
46122014-03-06 Nick Clifton <nickc@redhat.com>
4613
4614 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4615 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4616
dc11d79b
JY
46172014-02-28 Joey Ye <joey.ye@arm.com>
4618
4619 PR libgcc/60166
4620 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4621 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4622 Set to zero.
4623
341c653c
WL
46242014-02-24 Walter Lee <walt@tilera.com>
4625
4626 * config.host: Support "tilegx*" and "tilepro*" triplets.
4627 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4628 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4629
95ce7613
CLT
46302014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4631 Chung-Lin Tang <cltang@codesourcery.com>
4632
4633 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4634 * config/nios2/crti.S: Remove .file directive.
4635 * config/nios2/crtn.S: Likewise.
4636
0bb4fc05
KT
46372014-02-18 Kai Tietz <ktietz@redhat.com>
4638 Jonathan Schleifer <js@webkeks.org>
4639
4640 PR objc/56870
4641 * unwind-seh.c (_GCC_specific_handler): Pass proper
4642 value to unwind-handler.
4643
9acf28f1
JM
46442014-02-12 Joseph Myers <joseph@codesourcery.com>
4645
4646 * soft-fp/adddf3.c: Update from glibc.
4647 * soft-fp/addsf3.c: Likewise.
4648 * soft-fp/addtf3.c: Likewise.
4649 * soft-fp/divdf3.c: Likewise.
4650 * soft-fp/divsf3.c: Likewise.
4651 * soft-fp/divtf3.c: Likewise.
4652 * soft-fp/double.h: Likewise.
4653 * soft-fp/eqdf2.c: Likewise.
4654 * soft-fp/eqsf2.c: Likewise.
4655 * soft-fp/eqtf2.c: Likewise.
4656 * soft-fp/extenddftf2.c: Likewise.
4657 * soft-fp/extended.h: Likewise.
4658 * soft-fp/extendsfdf2.c: Likewise.
4659 * soft-fp/extendsftf2.c: Likewise.
4660 * soft-fp/extendxftf2.c: Likewise.
4661 * soft-fp/fixdfdi.c: Likewise.
4662 * soft-fp/fixdfsi.c: Likewise.
4663 * soft-fp/fixdfti.c: Likewise.
4664 * soft-fp/fixsfdi.c: Likewise.
4665 * soft-fp/fixsfsi.c: Likewise.
4666 * soft-fp/fixsfti.c: Likewise.
4667 * soft-fp/fixtfdi.c: Likewise.
4668 * soft-fp/fixtfsi.c: Likewise.
4669 * soft-fp/fixtfti.c: Likewise.
4670 * soft-fp/fixunsdfdi.c: Likewise.
4671 * soft-fp/fixunsdfsi.c: Likewise.
4672 * soft-fp/fixunsdfti.c: Likewise.
4673 * soft-fp/fixunssfdi.c: Likewise.
4674 * soft-fp/fixunssfsi.c: Likewise.
4675 * soft-fp/fixunssfti.c: Likewise.
4676 * soft-fp/fixunstfdi.c: Likewise.
4677 * soft-fp/fixunstfsi.c: Likewise.
4678 * soft-fp/fixunstfti.c: Likewise.
4679 * soft-fp/floatdidf.c: Likewise.
4680 * soft-fp/floatdisf.c: Likewise.
4681 * soft-fp/floatditf.c: Likewise.
4682 * soft-fp/floatsidf.c: Likewise.
4683 * soft-fp/floatsisf.c: Likewise.
4684 * soft-fp/floatsitf.c: Likewise.
4685 * soft-fp/floattidf.c: Likewise.
4686 * soft-fp/floattisf.c: Likewise.
4687 * soft-fp/floattitf.c: Likewise.
4688 * soft-fp/floatundidf.c: Likewise.
4689 * soft-fp/floatundisf.c: Likewise.
4690 * soft-fp/floatunditf.c: Likewise.
4691 * soft-fp/floatunsidf.c: Likewise.
4692 * soft-fp/floatunsisf.c: Likewise.
4693 * soft-fp/floatunsitf.c: Likewise.
4694 * soft-fp/floatuntidf.c: Likewise.
4695 * soft-fp/floatuntisf.c: Likewise.
4696 * soft-fp/floatuntitf.c: Likewise.
4697 * soft-fp/gedf2.c: Likewise.
4698 * soft-fp/gesf2.c: Likewise.
4699 * soft-fp/getf2.c: Likewise.
4700 * soft-fp/ledf2.c: Likewise.
4701 * soft-fp/lesf2.c: Likewise.
4702 * soft-fp/letf2.c: Likewise.
4703 * soft-fp/muldf3.c: Likewise.
4704 * soft-fp/mulsf3.c: Likewise.
4705 * soft-fp/multf3.c: Likewise.
4706 * soft-fp/negdf2.c: Likewise.
4707 * soft-fp/negsf2.c: Likewise.
4708 * soft-fp/negtf2.c: Likewise.
4709 * soft-fp/op-1.h: Likewise.
4710 * soft-fp/op-2.h: Likewise.
4711 * soft-fp/op-4.h: Likewise.
4712 * soft-fp/op-8.h: Likewise.
4713 * soft-fp/op-common.h: Likewise.
4714 * soft-fp/quad.h: Likewise.
4715 * soft-fp/single.h: Likewise.
4716 * soft-fp/soft-fp.h: Likewise.
4717 * soft-fp/subdf3.c: Likewise.
4718 * soft-fp/subsf3.c: Likewise.
4719 * soft-fp/subtf3.c: Likewise.
4720 * soft-fp/truncdfsf2.c: Likewise.
4721 * soft-fp/trunctfdf2.c: Likewise.
4722 * soft-fp/trunctfsf2.c: Likewise.
4723 * soft-fp/trunctfxf2.c: Likewise.
4724 * soft-fp/unorddf2.c: Likewise.
4725 * soft-fp/unordsf2.c: Likewise.
4726 * soft-fp/unordtf2.c: Likewise.
4727 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4728 macro.
4729 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4730 Likewise.
4731 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4732 Likewise.
4733 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4734 Likewise.
4735 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4736 Likewise.
4737 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4738 Likewise.
4739 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4740 Likewise.
4741 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4742 Likewise.
4743 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4744 Likewise.
4745 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4746 Likewise.
4747 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4748 Likewise.
4749 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4750 Likewise.
4751 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4752 Likewise.
4753 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4754 Likewise.
4755 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4756 Likewise.
4757 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4758 Likewise.
4759
ce245ec6
AK
47602014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4761
4762 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4763 cannot be represented.
4764 * config/s390/32/_fixsfdi.c: Likewise.
4765 * config/s390/32/_fixtfdi.c: Likewise.
4766 * config/s390/32/_fixunsdfdi.c: Likewise.
4767 * config/s390/32/_fixunssfdi.c: Likewise.
4768 * config/s390/32/_fixunstfdi.c: Likewise.
4769
1c51d688
RS
47702014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4771
4772 * configure.ac (libgcc_cv_mips_hard_float): New.
4773 * configure: Regenerate.
4774 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4775 t-softfp-sfdf for hard-float targets.
4776 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4777 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4778 (softfp_truncations, softfp_exclude_libgcc2): New.
4779 * config/t-hardfp: New file.
4780 * config/t-hardfp-sfdf: Likewise.
4781 * config/hardfp.c: Likewise.
4782
bbf391db
AK
47832014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4784
4785 * config.host: Include t-floattodi also for s390x.
4786 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4787 * config/s390/32/_fixsfdi.c: Likewise.
4788 * config/s390/32/_fixtfdi.c: Likewise.
4789 * config/s390/32/_fixunsdfdi.c: Likewise.
4790 * config/s390/32/_fixunssfdi.c: Likewise.
4791 * config/s390/32/_fixunstfdi.c: Likewise.
4792
91da0481
RO
47932014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4794
4795 PR target/59788
4796 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4797 (install-libgcc-unwind-map-forbuild): New target.
4798 (all): Depend on install-libgcc-unwind-map-forbuild.
4799 (install-libgcc-unwind-map): New target.
4800 (install): Depend on install-libgcc-unwind-map.
4801
02b67731
SL
48022014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4803
4804 * config/nios2/crti.S (_init): Initialize GOT pointer from
4805 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4806
1ea0a651
RS
48072014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4808
4809 * configure.ac: Check __mips64 when setting host_address.
4810 * configure: Regenerate.
4811 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4812 mips/t-mips64 and t-softfp.
4813 (mips*-*-linux*): Don't add mips/t-tpbit.
4814 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4815 (DPBIT, DPBIT_CFLAGS): Delete.
4816 * config/mips/sfp-machine.h: New file.
4817 * config/mips/t-mips64: Likewise.
4818 * config/mips/t-softfp-tf: Likewise.
4819 * config/mips/t-tpbit: Delete.
4820
f32b0061
MS
48212014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4822
4823 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4824 as long long.
4825
a5420aa4
WL
48262014-01-25 Walter Lee <walt@tilera.com>
4827
4828 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4829 config.h or system.h.
4830 (bool) Define.
4831
24534912
WL
48322014-01-25 Walter Lee <walt@tilera.com>
4833
4834 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4835 (post_atomic_barrier): Ditto.
4836 (__fetch_and_do): New macro.
4837 (__atomic_fetch_and_do): Use __fetch_and_do.
4838 (__sync_fetch_and_do): New macro.
4839 (__sync_fetch_and_add_4): New function.
4840 (__sync_fetch_and_sub_4): New function.
4841 (__sync_fetch_and_or_4): New function.
4842 (__sync_fetch_and_and_4): New function.
4843 (__sync_fetch_and_xor_4): New function.
4844 (__sync_fetch_and_nand_4): New function.
4845 (__sync_fetch_and_add_8): New function.
4846 (__sync_fetch_and_sub_8): New function.
4847 (__sync_fetch_and_or_8): New function.
4848 (__sync_fetch_and_and_8): New function.
4849 (__sync_fetch_and_xor_8): New function.
4850 (__sync_fetch_and_nand_8): New function.
4851 (__do_and_fetch): New macro.
4852 (__atomic_do_and_fetch): Use __do_and_fetch.
4853 (__sync_do_and_fetch): New macro.
4854 (__sync_add_and_fetch_4): New function.
4855 (__sync_sub_and_fetch_4): New function.
4856 (__sync_or_and_fetch_4): New function.
4857 (__sync_and_and_fetch_4): New function.
4858 (__sync_xor_and_fetch_4): New function.
4859 (__sync_nand_and_fetch_4): New function.
4860 (__sync_add_and_fetch_8): New function.
4861 (__sync_sub_and_fetch_8): New function.
4862 (__sync_or_and_fetch_8): New function.
4863 (__sync_and_and_fetch_8): New function.
4864 (__sync_xor_and_fetch_8): New function.
4865 (__sync_nand_and_fetch_8): New function.
4866 (__sync_exchange_methods): New macro.
4867 (__sync_val_compare_and_swap_4): New function.
4868 (__sync_bool_compare_and_swap_4): New function.
4869 (__sync_lock_test_and_test_4): New function.
4870 (__sync_val_compare_and_swap_8): New function.
4871 (__sync_bool_compare_and_swap_8): New function.
4872 (__sync_lock_test_and_test_8): New function.
4873 (__subword_cmpxchg_body): New macro.
4874 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4875 (__atomic_compare_exchange_2): Ditto.
4876 (__sync_subword_cmpxchg): New macro.
4877 (__sync_val_compare_and_swap_1): New function.
4878 (__sync_bool_compare_and_swap_1): New function.
4879 (__sync_val_compare_and_swap_2): New function.
4880 (__sync_bool_compare_and_swap_2): New function.
4881 (__atomic_subword): Rename to ...
4882 (__subword): ... New name.
4883 (__atomic_subword_fetch): Use __subword.
4884 (__sync_subword_fetch): New macro.
4885 (__sync_fetch_and_add_1): New function.
4886 (__sync_fetch_and_sub_1): New function.
4887 (__sync_fetch_and_or_1): New function.
4888 (__sync_fetch_and_and_1): New function.
4889 (__sync_fetch_and_xor_1): New function.
4890 (__sync_fetch_and_nand_1): New function.
4891 (__sync_fetch_and_add_2): New function.
4892 (__sync_fetch_and_sub_2): New function.
4893 (__sync_fetch_and_or_2): New function.
4894 (__sync_fetch_and_and_2): New function.
4895 (__sync_fetch_and_xor_2): New function.
4896 (__sync_fetch_and_nand_2): New function.
4897 (__sync_add_and_fetch_1): New function.
4898 (__sync_sub_and_fetch_1): New function.
4899 (__sync_or_and_fetch_1): New function.
4900 (__sync_and_and_fetch_1): New function.
4901 (__sync_xor_and_fetch_1): New function.
4902 (__sync_nand_and_fetch_1): New function.
4903 (__sync_add_and_fetch_2): New function.
4904 (__sync_sub_and_fetch_2): New function.
4905 (__sync_or_and_fetch_2): New function.
4906 (__sync_and_and_fetch_2): New function.
4907 (__sync_xor_and_fetch_2): New function.
4908 (__sync_nand_and_fetch_2): New function.
4909 (__atomic_subword_lock): Use __subword.
4910 (__sync_subword_lock): New macro.
4911 (__sync_lock_test_and_set_1): New function.
4912 (__sync_lock_test_and_set_2): New function.
4913
4d6d3bc5
WL
49142014-01-25 Walter Lee <walt@tilera.com>
4915
4916 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4917 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4918 (__atomic_subword): Ditto.
4919
cbd9890e
WL
49202014-01-25 Walter Lee <walt@tilera.com>
4921
4922 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4923 a prefix op argument.
4924 (__atomic_nand_fetch_4): Add prefix op.
4925 (__atomic_nand_fetch_8): Ditto.
4926
7d296953 49272014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4928
4929 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4930
46dd1242
L
49312014-01-09 Rong Xu <xur@google.com>
4932
4933 * libgcov-driver.c (this_prg): make it local to save
4934 bss space.
4935 (gcov_exit_compute_summary): Ditto.
4936 (gcov_exit_merge_gcda): Ditto.
4937 (gcov_exit_merge_summary): Ditto.
4938 (gcov_exit_dump_gcov): Ditto.
4939
cc86234f 49402014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4941
4942 * libgcov-driver.c: Use libgcov.h.
4943 (buffer_fn_data): Use xmalloc instead of malloc.
4944 (gcov_exit_merge_gcda): Ditto.
4945 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4946 * libgcov.h: New common header files for libgcov-*.h.
4947 * libgcov-interface.c: Use libgcov.h
4948 * libgcov-merge.c: Ditto.
4949 * libgcov-profiler.c: Ditto.
4950 * Makefile.in: Add dependence to libgcov.h
4951
a02e7bdd
JM
49522014-01-02 Joseph Myers <joseph@codesourcery.com>
4953
4954 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
4955 case of small numerator and finite nonzero result.
4956
ac1dca3c
RS
49572014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4958
4959 Update copyright years
4960
f9030485
RS
49612014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
4962
4963 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
4964 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
4965 config/arc/dp-hack.h, config/arc/fp-hack.h,
4966 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
4967 config/arc/ieee-754/arc600-dsp/divdf3.S,
4968 config/arc/ieee-754/arc600-dsp/divsf3.S,
4969 config/arc/ieee-754/arc600-dsp/muldf3.S,
4970 config/arc/ieee-754/arc600-dsp/mulsf3.S,
4971 config/arc/ieee-754/arc600-mul64/divdf3.S,
4972 config/arc/ieee-754/arc600-mul64/divsf3.S,
4973 config/arc/ieee-754/arc600-mul64/muldf3.S,
4974 config/arc/ieee-754/arc600-mul64/mulsf3.S,
4975 config/arc/ieee-754/arc600/divsf3.S,
4976 config/arc/ieee-754/arc600/mulsf3.S,
4977 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
4978 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
4979 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
4980 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
4981 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
4982 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
4983 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
4984 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
4985 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
4986 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
4987 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
4988 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
4989 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
4990 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
4991 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
4992 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
4993 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
4994 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
4995 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
4996 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
4997 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
4998 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
4999 vtv_start_preinit.c: Use the standard form for the copyright notice.
5000
e430824f
CLT
50012013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5002 Chung-Lin Tang <cltang@codesourcery.com>
5003 Based on patches from Altera Corporation
5004
5005 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5006 * config/nios2/lib2-nios2.h: New file.
5007 * config/nios2/lib2-divmod-hi.c: New file.
5008 * config/nios2/linux-unwind.h: New file.
5009 * config/nios2/lib2-divmod.c: New file.
5010 * config/nios2/linux-atomic.c: New file.
5011 * config/nios2/t-nios2: New file.
5012 * config/nios2/crti.asm: New file.
5013 * config/nios2/t-linux: New file.
5014 * config/nios2/lib2-divtable.c: New file.
5015 * config/nios2/lib2-mul.c: New file.
5016 * config/nios2/tramp.c: New file.
5017 * config/nios2/crtn.asm: New file.
5018
1879e97f
UB
50192013-12-26 Uros Bizjak <ubizjak@gmail.com>
5020
5021 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5022 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5023 from cpuid.h to check vendor signatures.
5024
f4a4bdbb
GG
50252013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5026
c2e7e597 5027 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5028 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5029 (get_amd_cpu): Likewise.
5030
8d2ae544
L
50312013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5032
5033 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5034 Haswell.
5035
74924838
ASJ
50362013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5037 H.J. Lu <hongjiu.lu@intel.com>
5038
0bb52f25
L
5039 PR target/59422
5040 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5041 and AMD_JAGUAR.
5042 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5043 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5044 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5045 FEATURE_XOP and FEATURE_FMA.
5046 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5047 AMDFAM15H_BDVER3.
5048 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5049 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5050 FEATURE_FMA4 and FEATURE_XOP.
5051
d3c11974
L
50522013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5053
5054 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5055 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5056 (get_intel_cpu): Updated.
5057
064c4ff2
ZC
50582013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5059
5060 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5061
8b02e720
UB
50622013-12-09 Uros Bizjak <ubizjak@gmail.com>
5063
5064 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5065 instructions when __SSE_MATH__ is defined.
8b02e720 5066
3fa2ccb4
RC
50672013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5068
5069 * config.host (microblaze-*-rtems*): New.
5070
ecd78fc9
KV
50712013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5072
5073 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5074 architectures that do not have hardware divide instruction.
5075 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5076
b21fbbd2
RS
50772013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5078
5079 * longlong.h: Delete (moved to include/).
5080
b03fb8c9
AZ
50812013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082
5083 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5084 of normal number and qNaN to not raise an inexact exception.
5085
3c716922
UB
50862013-11-28 Uros Bizjak <ubizjak@gmail.com>
5087
5088 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5089
50902013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5091
5092 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5093 for correct opcodes on BE.
5094
a3458d22
UB
50952013-11-27 Uros Bizjak <ubizjak@gmail.com>
5096
5097 * soft-fp/op-4.h: Update from glibc.
5098
30b8f78b
KV
50992013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5100
5101 * libgcc2.c (__udivmoddi4): Define new implementation when
5102 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5103 divide instructions.
5104
82552a29
OE
51052013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5106
5107 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5108
80e87457
RO
51092013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5110
5111 * config/t-softfp (soft-fp-objects-base): New variable.
5112 (soft-fp-objects): Use it.
5113
44178879
DE
51142013-11-23 David Edelson <dje.gcc@gmail.com>
5115 Andrew Dixie <andrewd@gentrack.com>
5116
5117 PR target/33704
5118 * config/rs6000/aixinitfini.c: New file.
5119 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5120 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5121 symbols.
5122
e5287671
YR
51232013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5124
a3458d22 5125 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5126
867c8b03
JH
51272013-11-18 Jan Hubicka <jh@suse.cz>
5128
7f369373
JH
5129 * libgcov-driver.c (run_accounted): Make global level static.
5130 (gcov_exit_merge_summary): Silence warning; do not clear
5131 run_accounted here.
5132 (gcov_exit): Clear it here.
5133
1d0b3334
JH
5134 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5135 run_accounted.
5136
867c8b03
JH
5137 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5138 (all_prg, crc32): Remove static vars.
5139 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5140 all_prg.
5141 (gcov_exit_merge_gcda): Add crc32 parameter.
5142 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5143 do not account run if it was already accounted.
5144 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5145 (gcov_exit): Initialize all_prg; update.
5146
66204992
AS
51472013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5148
5149 * configure: Regenerate.
5150
b54214fe
UW
51512013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5152 Alan Modra <amodra@gmail.com>
5153
5154 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5155 (frob_update_context): Use it.
5156
51572013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5158 Alan Modra <amodra@gmail.com>
5159
5160 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5161 (trampoline_initial): Provide ELFv2 variant.
5162 (__trampoline_setup): Likewise.
5163
5164 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5165 check for AIX indirect function call sequence if _CALL_ELF == 2.
5166
51672013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5168 Alan Modra <amodra@gmail.com>
5169
5170 * config/rs6000/linux-unwind.h (get_regs): Do not support
5171 old kernel versions if _CALL_ELF == 2.
5172 (frob_update_context): Do not support PLT stub variants only
5173 generated by old linkers if _CALL_ELF == 2.
5174
13e0981a
UW
51752013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5176 Alan Modra <amodra@gmail.com>
5177
5178 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5179 location of CR save area for 64-bit little-endian systems.
5180
1a80085d
EB
51812013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5182
5183 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5184 in tmake_file.
5185 * config/arm/t-vxworks: Delete.
5186
cabeea52
KT
51872013-11-10 Kai Tietz <ktietz@redhat.com>
5188
5189 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5190 Increment load-count on use of LIBGCC_SONAME DLL.
5191 (hmod_libgcc): New static variable to hold handle of
5192 LIBGCC_SONAME DLL.
5193 (__gcc_deregister_frame): Decrement load-count of
5194 LIBGCC_SONAME DLL.
5195
ac088ba1
BRF
51962013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5197
5198 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5199 availability.
5200 * configure: Regenerate
5201
d59a8fcc
UB
52022013-11-07 Uros Bizjak <ubizjak@gmail.com>
5203
5204 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5205 FP_EX_DENORM. Store result to volatile location after SSE division
5206 to close interrupt window. Remove unneeded fwait after x87
5207 division since interrupt window will be closed by emitted fstp.
9de84e84 5208 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5209
9954c743
JM
52102013-11-06 Joseph Myers <joseph@codesourcery.com>
5211
5212 * soft-fp/README: Update.
5213 * soft-fp/adddf3.c: Update from glibc.
5214 * soft-fp/addsf3.c: Likewise.
5215 * soft-fp/addtf3.c: Likewise.
5216 * soft-fp/divdf3.c: Likewise.
5217 * soft-fp/divsf3.c: Likewise.
5218 * soft-fp/divtf3.c: Likewise.
5219 * soft-fp/double.h: Likewise.
5220 * soft-fp/eqdf2.c: Likewise.
5221 * soft-fp/eqsf2.c: Likewise.
5222 * soft-fp/eqtf2.c: Likewise.
5223 * soft-fp/extenddftf2.c: Likewise.
5224 * soft-fp/extended.h: Likewise.
5225 * soft-fp/extendsfdf2.c: Likewise.
5226 * soft-fp/extendsftf2.c: Likewise.
5227 * soft-fp/extendxftf2.c: Likewise.
5228 * soft-fp/fixdfdi.c: Likewise.
5229 * soft-fp/fixdfsi.c: Likewise.
5230 * soft-fp/fixdfti.c: Likewise.
5231 * soft-fp/fixsfdi.c: Likewise.
5232 * soft-fp/fixsfsi.c: Likewise.
5233 * soft-fp/fixsfti.c: Likewise.
5234 * soft-fp/fixtfdi.c: Likewise.
5235 * soft-fp/fixtfsi.c: Likewise.
5236 * soft-fp/fixtfti.c: Likewise.
5237 * soft-fp/fixunsdfdi.c: Likewise.
5238 * soft-fp/fixunsdfsi.c: Likewise.
5239 * soft-fp/fixunsdfti.c: Likewise.
5240 * soft-fp/fixunssfdi.c: Likewise.
5241 * soft-fp/fixunssfsi.c: Likewise.
5242 * soft-fp/fixunssfti.c: Likewise.
5243 * soft-fp/fixunstfdi.c: Likewise.
5244 * soft-fp/fixunstfsi.c: Likewise.
5245 * soft-fp/fixunstfti.c: Likewise.
5246 * soft-fp/floatdidf.c: Likewise.
5247 * soft-fp/floatdisf.c: Likewise.
5248 * soft-fp/floatditf.c: Likewise.
5249 * soft-fp/floatsidf.c: Likewise.
5250 * soft-fp/floatsisf.c: Likewise.
5251 * soft-fp/floatsitf.c: Likewise.
5252 * soft-fp/floattidf.c: Likewise.
5253 * soft-fp/floattisf.c: Likewise.
5254 * soft-fp/floattitf.c: Likewise.
5255 * soft-fp/floatundidf.c: Likewise.
5256 * soft-fp/floatundisf.c: Likewise.
5257 * soft-fp/floatunditf.c: Likewise.
5258 * soft-fp/floatunsidf.c: Likewise.
5259 * soft-fp/floatunsisf.c: Likewise.
5260 * soft-fp/floatunsitf.c: Likewise.
5261 * soft-fp/floatuntidf.c: Likewise.
5262 * soft-fp/floatuntisf.c: Likewise.
5263 * soft-fp/floatuntitf.c: Likewise.
5264 * soft-fp/gedf2.c: Likewise.
5265 * soft-fp/gesf2.c: Likewise.
5266 * soft-fp/getf2.c: Likewise.
5267 * soft-fp/ledf2.c: Likewise.
5268 * soft-fp/lesf2.c: Likewise.
5269 * soft-fp/letf2.c: Likewise.
5270 * soft-fp/muldf3.c: Likewise.
5271 * soft-fp/mulsf3.c: Likewise.
5272 * soft-fp/multf3.c: Likewise.
5273 * soft-fp/negdf2.c: Likewise.
5274 * soft-fp/negsf2.c: Likewise.
5275 * soft-fp/negtf2.c: Likewise.
5276 * soft-fp/op-1.h: Likewise.
5277 * soft-fp/op-2.h: Likewise.
5278 * soft-fp/op-4.h: Likewise.
5279 * soft-fp/op-8.h: Likewise.
5280 * soft-fp/op-common.h: Likewise.
5281 * soft-fp/quad.h: Likewise.
5282 * soft-fp/single.h: Likewise.
5283 * soft-fp/soft-fp.h: Likewise.
5284 * soft-fp/subdf3.c: Likewise.
5285 * soft-fp/subsf3.c: Likewise.
5286 * soft-fp/subtf3.c: Likewise.
5287 * soft-fp/truncdfsf2.c: Likewise.
5288 * soft-fp/trunctfdf2.c: Likewise.
5289 * soft-fp/trunctfsf2.c: Likewise.
5290 * soft-fp/trunctfxf2.c: Likewise.
5291 * soft-fp/unorddf2.c: Likewise.
5292 * soft-fp/unordsf2.c: Likewise.
5293 * soft-fp/unordtf2.c: Likewise.
5294
02ac9503
UB
52952013-11-05 Uros Bizjak <ubizjak@gmail.com>
5296
5297 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5298 (_FP_MUL_MEAT_D): Ditto.
5299 (_FP_DIV_MEAT_S): Ditto.
5300 (_FP_DIV_MEAT_D): Ditto.
5301 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5302 t-softfp-sfdf and t-softfp to tmake_file.
5303
61221141
UB
53042013-11-03 Uros Bizjak <ubizjak@gmail.com>
5305
5306 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5307 * config/i386/crtprec.c: Ditto.
5308
9304f876
CJW
53092013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5310 Shiva Chen <shiva0217@gmail.com>
5311
5312 * config.host (nds32*-elf*): Add nds32 target.
5313 * config/nds32 : New directory and files.
5314
0e499e75
HPN
53152013-10-16 Hans-Peter Nilsson <hp@axis.com>
5316
5317 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5318 * config.host (cpu_type) <Setting default>: Add entry for
5319 crisv32-*-*.
5320 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5321 <crisv32-*-linux*>: Adjust.
5322 * longlong.h: Wrap the whole CRIS section in a single
5323 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5324 and sub_ddmmss.
5325 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5326 defined.
5327 [__CRIS__] (__umulsidi3): Define.
5328 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5329 * config/cris/sfp-machine.h: New file.
5330 * config/cris/umulsidi3.S: New file.
5331 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5332 * config/cris/arit.c (SIGNMULT): New macro.
5333 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5334 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5335 saving 3 out of originally 33 cycles from the fastest
5336 path, 3 out of 54 from the medium path and one from the longest
5337 path. Improve comments.
5338
16022041
RS
53392013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5340
5341 * sync.c: Remove static aliases and define each function directly
5342 under its real name.
5343
69778659
JDA
53442013-10-02 John David Anglin <danglin@gcc.gnu.org>
5345
5346 * config.host (hppa*64*-*-linux*): Define extra_parts.
5347 (hppa*-*-linux*): Likewise.
5348
2deaf8b0
JR
53492013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5350
5351 * config/arc/crtgend.S: Add 2013 to Copyright years.
5352 * config/arc/gmon/atomic.h: Likewise.
5353 * config/arc/gmon/auxreg.h: Likewise.
5354 * config/arc/gmon/sys/gmon_out.h: Likewise.
5355 * config/arc/gmon/sys/gmon.h: Likewise.
5356 * config/arc/gmon/prof-freq.c: Likewise.
5357 * config/arc/gmon/mcount.c: Likewise.
5358 * config/arc/gmon/prof-freq-stub.S: Likewise.
5359 * config/arc/gmon/gmon.c: Likewise.
5360 * config/arc/gmon/machine-gmon.h: Likewise.
5361 * config/arc/gmon/profil.S: Likewise.
5362 * config/arc/gmon/dcache_linesz.S: Likewise.
5363 * config/arc/crtg.S: Likewise.
5364 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5365 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5366 * config/arc/ieee-754/adddf3.S: Likewise.
5367 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5368 * config/arc/ieee-754/fixsfsi.S: Likewise.
5369 * config/arc/ieee-754/gtsf2.S: Likewise.
5370 * config/arc/ieee-754/floatsisf.S: Likewise.
5371 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5372 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5373 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5374 * config/arc/ieee-754/fixdfsi.S: Likewise.
5375 * config/arc/ieee-754/addsf3.S: Likewise.
5376 * config/arc/ieee-754/gesf2.S: Likewise.
5377 * config/arc/ieee-754/floatsidf.S: Likewise.
5378 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5379 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5380 * config/arc/ieee-754/gtdf2.S: Likewise.
5381 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5382 * config/arc/ieee-754/uneqdf2.S: Likewise.
5383 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5384 * config/arc/ieee-754/uneqsf2.S: Likewise.
5385 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5386 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5387 * config/arc/ieee-754/eqdf2.S: Likewise.
5388 * config/arc/ieee-754/ordsf2.S: Likewise.
5389 * config/arc/ieee-754/divsf3.S: Likewise.
5390 * config/arc/ieee-754/divdf3.S: Likewise.
5391 * config/arc/ieee-754/floatunsidf.S: Likewise.
5392 * config/arc/ieee-754/orddf2.S: Likewise.
5393 * config/arc/ieee-754/eqsf2.S: Likewise.
5394 * config/arc/ieee-754/gedf2.S: Likewise.
5395 * config/arc/crtn.S: Likewise.
5396 * config/arc/crti.S: Likewise.
5397 * config/arc/t-arc700-uClibc: Likewise.
5398 * config/arc/asm.h: Likewise.
5399 * config/arc/libgcc-excl.ver: Likewise.
5400 * config/arc/t-arc-newlib: Likewise.
5401 * config/arc/divtab-arc700.c: Likewise.
5402 * config/arc/initfini.c: Likewise.
5403 * config/arc/fp-hack.h: Likewise.
5404
c8e318b0
JR
54052013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5406 Diego Novillo <dnovillo@google.com>
5407
5408 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5409 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5410 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5411 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5412
d38a64b4
JR
54132013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5414 Brendan Kehoe <brendan@zen.org>
5415 Simon Cook <simon.cook@embecosm.com>
5416
5417 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5418 * config/arc: New directory.
5419 * longlong.h [__arc__] (umul_ppmm): Remove.
5420 [__arc__] (__umulsidi3): Define.
5421 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5422 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5423
dff717d2
JC
54242013-09-17 Jacek Caban <jacek@codeweavers.com>
5425
5426 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5427 CreateSemaphoreA.
5428 * config/i386/gthr-win32.h: Likewise.
5429
5c0029de
DD
54302013-09-16 DJ Delorie <dj@redhat.com>
5431
844ad6c6 5432 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5433 * config/rl78/lib2mul.c: Enable for RL78/G10.
5434 * config/rl78/lib2div.c: Likewise.
5435 * config/rl78/lshrsi3.S: Use vregs.h.
5436 * config/rl78/cmpsi2.S: Likewise.
5437 * config/rl78/trampoline.S: Likewise.
5438 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5439
ceb2fc49
DD
54402013-09-14 DJ Delorie <dj@redhat.com>
5441 Nick Clifton <nickc@redhat.com>
5442
5443 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5444 * config/rl78/vregs.h: New.
5445 * config/rl78/signbit.S: New file. Implements signbit function.
5446 * config/rl78/divmodsi.S: New.
5447 * config/rl78/divmodhi.S: New.
5448 * config/rl78/divmodqi.S: New.
5449 * config/rl78/t-rl78: Build them here...
5450 * config/rl78/lib2div.c: ...but not here.
5451
f6a83b4a
DD
54522013-09-12 DJ Delorie <dj@redhat.com>
5453
5454 * config.host (msp*-*-elf): New.
5455 * config/msp430/: New port.
5456
9107b096
IS
54572013-08-18 Iain Sandoe <iain@codesourcery.com>
5458
5459 PR gcov-profile/58127
5460 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5461 __thread var for emulated TLS.
5462 (__gcov_indirect_call_counters): Likewise.
5463
0f9bde1f 54642013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5465 Catherine Moore <clm@codesourcery.com>
7d296953 5466 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5467
5468 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5469 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5470 (CALL_STUB_NO_RET): Likewise.
5471 (CALL_STUB_RET): Likewise.
5472 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5473 __mips16_ret call/return stub symbols.
5474 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5475 to tmake_file.
5476
2dc14aac
MR
54772013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5478
5479 * config.host <mips*-*-linux*>: Remove a stray comment.
5480
748d71f3
JH
54812013-08-10 Jan Hubicka <jh@suse.cz>
5482
5483 Work around binutils PR14342
5484 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5485 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5486 (L_gcov_indirect_call_profiler_v2): New.
5487
2fa3d31b
JH
54882013-08-06 Jan Hubicka <jh@suse.cz>
5489
5490 * libgcov.c (__gcov_indirect_call_callee,
5491 __gcov_indirect_call_counters): New global vars.
5492 (__gcov_indirect_call_profiler): replace by ...
5493 (__gcov_indirect_call_profiler_v2) ... this one.
5494
2077db1b
CT
54952013-08-06 Caroline Tice <cmtice@google.com>
5496
d0595b65 5497 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5498 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5499 * configure.ac: Add code to check/set enable_vtable_verify.
5500 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5501 true.
d0595b65
CT
5502 * vtv_start_preinit.c: New file.
5503 * vtv_end_preinit.c: New file.
5504 * vtv_start.c: New file.
5505 * vtv_end.c: New file.
5506 * configure: Regenerated.
2077db1b 5507
46549c20
MK
55082013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5509
5510 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5511 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5512 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5513 GPL-3.0-with-GCC-exception.
5514
72be589b
MR
55152013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5516
5517 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5518 ISA and up.
5519
902a3faf
AK
55202013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5521
5522 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5523 mapping for FPRs when creating the fallback framestate.
5524
02371798
GJL
55252013-07-19 Georg-Johann Lay <avr@gjlay.de>
5526
5527 PR target/57516
5528 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5529 (__round_s2_const, __round_u2_const)
5530 (__round_s4_const, __round_u4_const, __round_x8):
5531 Saturate result if addition result cannot be represented.
5532
ab0e8379
MK
55332013-07-15 Matthias Klose <doko@ubuntu.com>
5534
5535 * libgcc2.c: Don't include <limits.h>.
5536
7da38058
JJ
55372013-07-09 Janis Johnson <janisjo@codesourcery.com>
5538
5539 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5540
1f6eac90
JJ
55412013-07-06 Jakub Jelinek <jakub@redhat.com>
5542
5543 PR target/29776
5544 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5545
4ea3d774
JJ
55462013-06-28 Jakub Jelinek <jakub@redhat.com>
5547
5548 PR middle-end/36041
5549 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5550 Define.
5551 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5552 instead of table lookups.
5553 (__popcountDI2): Likewise.
5554
9d2cdf25
CJW
55552013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5556
5557 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5558 correctly.
5559
fa1e55b0
JM
55602013-06-21 Joseph Myers <joseph@codesourcery.com>
5561
5562 PR other/53317
5563 * soft-fp/adddf3.c: Update from glibc.
5564 * soft-fp/addsf3.c: Likewise.
5565 * soft-fp/addtf3.c: Likewise.
5566 * soft-fp/divdf3.c: Likewise.
5567 * soft-fp/divsf3.c: Likewise.
5568 * soft-fp/divtf3.c: Likewise.
5569 * soft-fp/double.h: Likewise.
5570 * soft-fp/eqdf2.c: Likewise.
5571 * soft-fp/eqsf2.c: Likewise.
5572 * soft-fp/eqtf2.c: Likewise.
5573 * soft-fp/extenddftf2.c: Likewise.
5574 * soft-fp/extended.h: Likewise.
5575 * soft-fp/extendsfdf2.c: Likewise.
5576 * soft-fp/extendsftf2.c: Likewise.
5577 * soft-fp/fixdfdi.c: Likewise.
5578 * soft-fp/fixdfsi.c: Likewise.
5579 * soft-fp/fixsfdi.c: Likewise.
5580 * soft-fp/fixsfsi.c: Likewise.
5581 * soft-fp/fixtfdi.c: Likewise.
5582 * soft-fp/fixtfsi.c: Likewise.
5583 * soft-fp/fixunsdfdi.c: Likewise.
5584 * soft-fp/fixunsdfsi.c: Likewise.
5585 * soft-fp/fixunssfdi.c: Likewise.
5586 * soft-fp/fixunssfsi.c: Likewise.
5587 * soft-fp/fixunstfdi.c: Likewise.
5588 * soft-fp/fixunstfsi.c: Likewise.
5589 * soft-fp/floatdidf.c: Likewise.
5590 * soft-fp/floatdisf.c: Likewise.
5591 * soft-fp/floatditf.c: Likewise.
5592 * soft-fp/floatsidf.c: Likewise.
5593 * soft-fp/floatsisf.c: Likewise.
5594 * soft-fp/floatsitf.c: Likewise.
5595 * soft-fp/floatundidf.c: Likewise.
5596 * soft-fp/floatundisf.c: Likewise.
5597 * soft-fp/floatunditf.c: Likewise.
5598 * soft-fp/floatunsidf.c: Likewise.
5599 * soft-fp/floatunsisf.c: Likewise.
5600 * soft-fp/floatunsitf.c: Likewise.
5601 * soft-fp/gedf2.c: Likewise.
5602 * soft-fp/gesf2.c: Likewise.
5603 * soft-fp/getf2.c: Likewise.
5604 * soft-fp/ledf2.c: Likewise.
5605 * soft-fp/lesf2.c: Likewise.
5606 * soft-fp/letf2.c: Likewise.
5607 * soft-fp/muldf3.c: Likewise.
5608 * soft-fp/mulsf3.c: Likewise.
5609 * soft-fp/multf3.c: Likewise.
5610 * soft-fp/negdf2.c: Likewise.
5611 * soft-fp/negsf2.c: Likewise.
5612 * soft-fp/negtf2.c: Likewise.
5613 * soft-fp/op-1.h: Likewise.
5614 * soft-fp/op-2.h: Likewise.
5615 * soft-fp/op-4.h: Likewise.
5616 * soft-fp/op-8.h: Likewise.
5617 * soft-fp/op-common.h: Likewise.
5618 * soft-fp/quad.h: Likewise.
5619 * soft-fp/single.h: Likewise.
5620 * soft-fp/soft-fp.h: Likewise.
5621 * soft-fp/subdf3.c: Likewise.
5622 * soft-fp/subsf3.c: Likewise.
5623 * soft-fp/subtf3.c: Likewise.
5624 * soft-fp/truncdfsf2.c: Likewise.
5625 * soft-fp/trunctfdf2.c: Likewise.
5626 * soft-fp/trunctfsf2.c: Likewise.
5627 * soft-fp/unorddf2.c: Likewise.
5628 * soft-fp/unordsf2.c: Likewise.
5629 * soft-fp/unordtf2.c: Likewise.
5630 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5631 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5632 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5633 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5634 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5635 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5636 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5637 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5638 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5639 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5640 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5641 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5642
0de86a92
JU
56432013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5644
5645 * config/mips/lib2funcs.c: New file.
5646 * config/mips/t-mips (LIB2ADD_ST): Add it.
5647
0d008882
OE
56482013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5649
5650 PR target/6526
5651 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5652 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5653
776434d1
WL
56542013-06-08 Walter Lee <walt@tilera.com>
5655
5656 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5657 Replace int64_t with long long. Add __extension__ where
5658 appropriate.
5659 * config/tilepro/atomic.c: Include config.h.
5660
6ab3ebb4
DR
56612013-06-06 Douglas B Rupp <rupp@adacore.com>
5662
5663 * config.host (arm-wrs-vxworks): Configure with other soft float.
5664
107eea2c
JU
56652013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5666
5667 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5668 (mips64r5900el-*-elf*): New configurations.
5669
5cc19c62
AM
56702013-06-04 Alan Modra <amodra@gmail.com>
5671
5672 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5673
0f1d3965
YR
56742013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5675
5676 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5677
0ba045df
EB
56782013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5679
5680 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5681 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5682 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5683
49dcafd4
EB
56842013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5685
5686 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5687 (powerpc-wrs-vxworks): Likewise.
5688
4fcb5d87
EB
56892013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5690
5691 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5692 signal frames as well.
5693 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5694 STACK_BIAS to the CFA offset.
5695
0ec33224
RH
56962013-05-17 Richard Henderson <rth@redhat.com>
5697
5698 PR target/49146
5699 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5700 (execute_cfa_program): Use it when storing to fs->regs.
5701
492a8029
KT
57022013-05-08 Kai Tietz <ktietz@redhat.com>
5703
5704 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5705 (__deregister_frame_info): Likewise.
5706
701e2f0a
TS
57072013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5708
e5123d08
TS
5709 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5710 NaN's payload.
5711
701e2f0a
TS
5712 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5713
b9a7eb5d
AM
57142013-04-25 Alan Modra <amodra@gmail.com>
5715
5716 * config.host: Match little-endian powerpc-linux.
5717
dfe192f5
YZ
57182013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5719
5720 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5721 as 'unsigned long long' instead of 'unsigned long'.
5722 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5723 'signed long'.
5724
b6b9af2f
JB
57252013-04-10 Julian Brown <julian@codesourcery.com>
5726
5727 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5728 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5729 unsigned char/unsigned short.
5730 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5731
ecabdd00
JDA
57322013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5733
5734 PR other/55274
5735 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5736
34652576
MI
57372013-04-04 Meador Inge <meadori@codesourcery.com>
5738
5739 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5740 computing the location of the link register.
5741 (aeabi_uldivmod): Ditto.
5742
e9fd8c19
KT
57432013-03-27 Kai Tietz <ktietz@redhat.com>
5744
5745 * config.host: Add support for cygwin x64 target.
5746 * configure: Regenerated.
5747
a6406324
WL
57482013-03-26 Walter Lee <walt@tilera.com>
5749
5750 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5751 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5752
55446c7e
KT
57532013-03-25 Kai Tietz <ktietz@redhat.com>
5754
5755 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5756
d2ae19d9
RM
57572013-03-20 Robert Mason <rbmj@verizon.net>
5758
5759 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5760 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5761 (__gthread_leave_tsd_dtor_context): Add prototypes.
5762 (tls_delete_hook): Update.
5763
22c4c869
CM
57642013-03-20 Catherine Moore <clm@codesourcery.com>
5765 Joseph Myers <joseph@codesourcery.com>
5766 Chao-ying Fu <fu@mips.com>
5767
5768 * config/mips/mips16.S: Don't build for microMIPS.
5769 * config/mips/linux-unwind.h: Handle microMIPS frame.
5770 * config/mips/crtn.S (fini, init): New labels.
5771
fbd28bc3
JJ
57722013-03-14 Jakub Jelinek <jakub@redhat.com>
5773
5774 PR tree-optimization/53265
5775 * unwind-dw2.c (execute_cfa_program): Avoid
5776 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5777 on targets with DWARF_FRAME_REGISTERS < 32.
5778
decc676e
OE
57792013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5780
5781 PR target/49880
5782 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5783 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5784
84ea618a
ST
57852013-03-07 Sriraman Tallam <tmsriram@google.com>
5786
5787 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5788 sandybridge processors.
5789
8f6d1c86
OE
57902013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5791
5792 PR target/56529
5793 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5794 inclusion list.
5795
ecdbd01a 57962013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5797
5798 * config/microblaze/crti.S: Setup stack protection at entry
5799
0b4ce21b
GJL
58002013-03-04 Georg-Johann Lay <avr@gjlay.de>
5801
5802 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5803 (__rotldi3): Shift bytewise if applicable.
5804
b7c3f1ca
JG
58052013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5806
5807 * config/aarch64/sync-cache.c
5808 (__aarch64_sync_cache_range): Silence warnings.
5809
6d65e8f1
CM
58102013-02-25 Catherine Moore <clm@codesourcery.com>
5811
5812 Revert:
5813 2013-02-24 Catherine Moore <clm@codesourcery.com>
5814 Joseph Myers <joseph@codesourcery.com>
5815 Chao-ying Fu <fu@mips.com>
5816
5817 * config/mips/mips16.S: Don't build for microMIPS.
5818 * config/mips/linux-unwind.h: Handle microMIPS frame.
5819 * config/mips/crtn.S (fini, init): New labels.
5820
6941b508
CM
58212013-02-24 Catherine Moore <clm@codesourcery.com>
5822 Joseph Myers <joseph@codesourcery.com>
5823 Chao-ying Fu <fu@mips.com>
5824
5825 * config/mips/mips16.S: Don't build for microMIPS.
5826 * config/mips/linux-unwind.h: Handle microMIPS frame.
5827 * config/mips/crtn.S (fini, init): New labels.
5828
7c422dbb 58292012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5830 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5831 as dividend.
5832
110207ad
AM
58332013-02-16 Alan Modra <amodra@gmail.com>
5834
5835 PR target/55431
5836 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5837 (ppc_fallback_frame_state): Always set up save locations for fp
5838 and altivec. Don't bother with non-callee-saved regs, r0-r13
5839 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5840
e68a4ef6
GJL
58412013-02-12 Georg-Johann Lay <avr@gjlay.de>
5842
5843 PR target/54222
5844 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5845 _ssmulHA, _ssmulSA.
5846 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5847 _ssmulha3, _usmulusa3, _ssmulsa3.
5848 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5849 (__muldi3): XCALL __muldi3_6 instead of rcall.
5850 (__umulsidi3, __mulsidi3): New functions.
5851 (do_prologue_saves, do_epilogue_restores): New .macros.
5852 (__divdi3_moddi3): Use them.
5853 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5854 (__usmulusa3, __ssmulsa3): New functions.
5855
6c59ffd1
IS
58562013-02-11 Iain Sandoe <iain@codesourcery.com>
5857 Jack Howarth <howarth@bromo.med.uc.edu>
5858 Patrick Marlier <patrick.marlier@gmail.com>
5859
5860 PR libitm/55693
5861 * config/darwin-crt-tm.c: Remove dummy functions hack.
5862
85d768f3
GJL
58632013-02-08 Georg-Johann Lay <avr@gjlay.de>
5864
5865 PR target/54222
5866 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5867 * config/avr/lib2-object.mk: New iterator to build objects from it.
5868 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5869 lib2funcs.c.
5870 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5871 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5872 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5873 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5874 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5875 * config/avr/lib1funcs-fixed.S: Implement them.
5876
5d5bf775
RS
58772013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5878
5879 Update copyright years.
5880
99113dff
DE
58812013-02-01 David Edelsohn <dje.gcc@gmail.com>
5882
5883 PR target/54601
5884 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5885 Add crtcxa to extra_parts.
5886 * config/rs6000/exit.h: New file.
5887 * config/rs6000/cxa_atexit.c: New file.
5888 * config/rs6000/cxa_finalize.c: New file.
5889 * config/rs6000/crtcxa.c: New file.
5890 * config/rs6000/t-aix-cxa: New file.
5891 * config/rs6000/libgcc-aix-cxa.ver: New file.
5892
dbdbd982
NC
58932013-01-31 Nick Clifton <nickc@redhat.com>
5894
5895 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5896 variant.
5897
5893f158
GJL
58982013-01-29 Georg-Johann Lay <avr@gjlay.de>
5899
5900 PR target/54222
5901 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5902 _mulQQ, _mulHQ, _mulHA, _mulSA,
5903 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5904 _divQQ, _divHQ, _divHA, _divSA,
5905 _divUQQ, _divUHQ, _divUHA, _divUSA.
5906
ecdbd01a 59072013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5908
dbdbd982 5909 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5910 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5911 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5912 to exclude functions from being built with libgcc.c and use
5913 the microblaze assembly.
5914
ecdbd01a 59152013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5916
5917 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5918 extra_parts.
5919
922c57d1
YZ
59202013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5921
5922 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5923 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5924 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5925 alignment operation.
5926
e0f8b6a0
SN
59272013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5928
5929 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5930 loop start address for cache clearing.
5931
00892272
GJL
59322013-01-14 Georg-Johann Lay <avr@gjlay.de>
5933
5934 * config/avr/lib1funcs.S: Remove trailing blanks.
5935 * config/avr/lib1funcs-fixed.S: Ditto.
5936
e59ec5fd
GJL
59372013-01-14 Georg-Johann Lay <avr@gjlay.de>
5938
5939 * config/avr/avr-lib.h: Add GPL copyright notice.
5940
3ffc1958
GJL
59412013-01-14 Georg-Johann Lay <avr@gjlay.de>
5942
5943 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5944 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5945 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5946 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
5947
25c210f9
MK
59482013-01-07 Mark Kettenis <kettenis@openbsd.org>
5949
5950 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
5951 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 5952
db59befb
NC
59532013-01-04 Nick Clifton <nickc@redhat.com>
5954
5955 * config/v850/lib1funcs.S: Only provide CALLT support functions if
5956 the CALLT instruction is supported.
5957
5aa12dbf
JW
59582012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
5959
5960 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
5961 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
5962
65f14117
JT
59632012-12-13 John Tytgat <John@bass-software.com>
5964
5965 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
5966 is 25.
5967
ee3ae4f7
JJ
59682012-12-12 Jakub Jelinek <jakub@redhat.com>
5969
5970 PR libgcc/55451
5971 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
5972 undefined signed overflows.
5973
2fcfba3d
UB
59742012-12-09 Uros Bizjak <ubizjak@gmail.com>
5975
5976 PR target/55344
5977 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
5978
4f2b3dc2
UB
59792012-12-06 Uros Bizjak <ubizjak@gmail.com>
5980
5981 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
5982 (FP_TRAPPING_EXCEPTIONS): Define.
5983 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
5984 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
5985
066161a2
RH
59862012-12-04 Richard Henderson <rth@redhat.com>
5987
5988 PR bootstrap/55571
5989 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
5990
7d296953 59912012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 5992
4f2b3dc2 5993 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
5994 (FP_EX_SHIFT): Define.
5995 (FP_TRAPPING_EXCEPTIONS): Define.
5996
7d296953 59972012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
5998
5999 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6000 (FP_ROUNDMODE): Use FP_RND_MASK.
6001 * config/aarch64/sfp-exceptions.c: New.
6002 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6003 Use __sfp_handle_exceptions.
6004
5005fe22
RE
60052012-12-04 Richard Earnshaw <rearnsha@arm.com>
6006
6007 * config.host: (arm*-*-freebsd*): Remove.
6008 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6009 (arm*-*-elf*): Remove.
6010 (arm*-*-wince-pe*): Remove.
6011 * arm/unwind-arm.c (struct fpa_reg): Delete.
6012 (struct fpa_regs): Delete.
6013 (phase1_vrs): Remove fpa element.
6014 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6015 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6016 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6017 * ieee754-sf.S (floatundisf): Remove FPA support.
6018 (floatdisf): Likewise.
6019 * ieee75f-df.S (floatundidf): Likewise.
6020 (floatdidf): Likewise.
6021
e5a81c8e
KT
60222012-11-29 Kai Tietz <ktietz@redhat.com>
6023
6024 PR target/55445
6025 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6026 * unwind-generic.h: Likewise.
6027 * unwind-seh.c: Likewise.
6028
f4919e4a
RH
60292012-11-28 Richard Henderson <rth@redhat.com>
6030
6031 PR libgcc/48076
6032 * emutls.c (__emutls_get_address): Avoid race condition between
6033 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6034
e13d9d5a
GJL
60352012-11-22 Georg-Johann Lay <avr@gjlay.de>
6036
6037 Adjust decimal point of signed accum mode to GCC default.
6038
6039 PR target/54222
6040 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6041 _divqq_helper.
6042 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6043 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6044 (__mulha3, __mulsa3)
6045 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6046 decimal point of signed accum types.
6047
e13d9d5a
GJL
6048 (__mulusa3_round): New function.
6049 (__mulusa3): Use it.
6050 (__divqq_helper): New function.
6051 (__udivuqq3): Use it.
6052
1b845c6e
JJ
60532012-11-20 Jakub Jelinek <jakub@redhat.com>
6054
6055 PR bootstrap/55370
6056 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6057
822a258a
TJ
60582012-11-18 Teresa Johnson <tejohnson@google.com>
6059
6060 PR bootstrap/55051
6061 * libgcov.c (gcov_exit): Remove merged program summary
6062 comparison unless !GCOV_LOCKED.
6063
7d296953 60642012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6065
6066 * soft-fp: Updated from glibc upstream.
6067
e808687a
ILT
60682012-11-06 Ian Lance Taylor <iant@google.com>
6069
6070 * generic-morestack.c (__generic_morestack): Align the returned
6071 stack pointer to a 32 byte boundary.
6072 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6073 increment the return address until we have decided that we don't
6074 have a varargs function.
6075 (__morestack) [32-bit]: Align stack correctly when calling C
6076 functions.
6077 (__morestack) [64-bit]: Likewise.
6078
460277e0
TS
60792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6080
6081 * configure: Regenerate.
6082
73edb277
UB
60832012-11-02 Uros Bizjak <ubizjak@gmail.com>
6084
6085 PR target/55175
6086 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6087 * config/i386/sfp-machine.h: Guard exception handling
6088 code with _SOFT_FLOAT.
6089 * config/i386/32/sfp-machine.h: Guard rounding handling
6090 code with _SOFT_FLOAT.
6091 * config/i386/64/sfp-machine.h: Ditto.
6092
c1d4fa04
JS
60932012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6094
6095 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6096 as extra_parts.
6097
eff6ca85
UB
60982012-10-26 Uros Bizjak <ubizjak@gmail.com>
6099
6100 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6101 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6102 when appropriate. Correct structure element types.
6103 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6104 -minline-all-stringops from compile flags.
6105
7d296953 61062012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6107
6108 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6109
7d296953 61102012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6111
eff6ca85 6112 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6113
6f288860
SH
61142012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6115
6116 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6117 tmake_file.
6118
1e3d5096
IB
61192012-10-23 Ian Bolton <ian.bolton@arm.com>
6120 Jim MacArthur <jim.macarthur@arm.com>
6121 Marcus Shawcroft <marcus.shawcroft@arm.com>
6122 Nigel Stephens <nigel.stephens@arm.com>
6123 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6124 Richard Earnshaw <rearnsha@arm.com>
6125 Sofiane Naci <sofiane.naci@arm.com>
6126 Stephen Thomas <stephen.thomas@arm.com>
6127 Tejas Belagod <tejas.belagod@arm.com>
6128 Yufeng Zhang <yufeng.zhang@arm.com>
6129
6130 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6131 * config/aarch64/crti.S: New file.
6132 * config/aarch64/crtn.S: New file.
6133 * config/aarch64/linux-unwind.h: New file.
6134 * config/aarch64/sfp-machine.h: New file.
6135 * config/aarch64/sync-cache.c: New file.
6136 * config/aarch64/t-aarch64: New file.
6137 * config/aarch64/t-softfp: New file.
6138
8a740f07
HPN
61392012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6140
6141 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6142 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6143 no-longer-needed LDBU insns.
6144
7d296953 61452012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6146
6147 * config.host
6148 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6149 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6150
595fefee
MGD
61512012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6152
6153 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6154
9945a876
MK
61552012-10-15 Matthias Klose <doko@ubuntu.com>
6156
6157 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6158
1183dc2c
PC
61592012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6160
6161 * configure: Regenerate.
6162 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6163
945a9c1f
UB
61642012-10-10 Uros Bizjak <ubizjak@gmail.com>
6165
6166 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6167 instructions for 64bit targets only.
6168
fb8bf47a
UB
61692012-10-10 Uros Bizjak <ubizjak@gmail.com>
6170
6171 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6172 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6173 * config/i386/32/sfp-machine.h: ... here.
6174 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6175 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6176 New defines.
6177
acb72498
MK
61782012-10-07 Matthias Klose <doko@ubuntu.com>
6179
6180 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6181 as unused.
6182 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6183
8eaee0f0
MK
61842012-10-06 Mark Kettenis <kettenis@openbsd.org>
6185
6186 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6187 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6188 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6189 (ElfW): Likewise.
6190
5e3e4fe8
JW
61912012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6192
6193 PR other/53889
6194 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6195 Fix parameter names.
6196
86086376
OE
61972012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6198
6199 PR target/33135
6200 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6201 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6202 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6203
9597375a
OE
62042012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6205
6206 PR target/50457
6207 * config/sh/linux-atomic.S: Delete.
6208 * config/sh/linux-atomic.c: New.
6209 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6210 linux-atomic.c. Add cflags to disable warnings.
6211
1504e3e1
JW
62122012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6213
6214 PR other/53889
6215 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6216 function.
6217 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6218 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6219 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6220 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6221 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6222 Likewise.
1504e3e1
JW
6223 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6224 Likewise.
6225 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6226 Likewise.
6227 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6228 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6229
17f293b0
MK
62302012-09-19 Mark Kettenis <kettenis@openbsd.org>
6231
9597375a
OE
6232 * config.host (hppa-*-openbsd*): New target.
6233 * config/pa/t-openbsd: New file.
17f293b0 6234
51526856
GJL
62352012-09-15 Georg-Johann Lay <avr@gjlay.de>
6236
6237 PR target/54222
6238 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6239 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6240 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6241 (__divsa3): Use __negsi2 to negate r_quoL.
6242 * config/avr/lib1funcs.S (FALIAS): New macro.
6243 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6244 (__negsi2): ...this new function.
6245 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6246 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6247 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6248 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6249 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6250 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6251
aadb5b43
OE
62522012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6253
6254 PR target/54089
6255 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6256 (lshrsi3): Reimplement as lshrsi3_r0.
6257
d5d66749
AS
62582012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6259
6260 PR target/46191
6261 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6262 of libgcc.a.
6263
c6c36e73
TJ
62642012-09-07 Teresa Johnson <tejohnson@google.com>
6265
9597375a 6266 PR gcov-profile/54487
c6c36e73 6267 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6268 differences.
c6c36e73 6269
b588ae30
GJL
62702012-09-05 Georg-Johann Lay <avr@gjlay.de>
6271
6272 PR target/54461
6273 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6274 not configured --with-avrlibc=no.
6275 * config/avr/t-avrlibc: New file.
6276 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6277 (DPBIT_FUNCS): Ditto.
6278 (TPBIT_FUNCS): Ditto.
6279
abd16fb1
TJ
62802012-09-04 Teresa Johnson <tejohnson@google.com>
6281
6282 * libgcov.c (struct gcov_summary_buffer): New structure.
6283 (gcov_histogram_insert): New function.
6284 (gcov_compute_histogram): Ditto.
6285 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6286 histograms during summary merging.
6287
613061fd
MK
62882012-09-01 Mark Kettenis <kettenis@openbsd.org>
6289
6290 * config.host (x86_64-*-openbsd*): New target.
73edb277 6291
867a8345
CLT
62922012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6293
6294 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6295 attribute.
6296
4aeaaca3
GJL
62972012-08-24 Georg-Johann Lay <avr@gjlay.de>
6298
6299 PR target/54222
6300 * config/avr/t-avr (conv_X): Rename to func_X.
6301
e55e4056
GJL
63022012-08-24 Georg-Johann Lay <avr@gjlay.de>
6303
6304 PR target/54222
6305 * config/avr/lib1funcs-fixed.S: New file.
6306 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6307 after they are used.
6308 (neg2, neg4): New macros.
6309 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6310 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6311 (__umulhisi3): Speed up MUL variant if there is enough flash.
6312 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6313 avr-modes.def.
6314 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6315 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6316 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6317 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6318 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6319 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6320 (LIB2FUNCS_EXCLUDE): Add supported functions.
6321
a147b6d2
GJL
63222012-08-22 Georg-Johann Lay <avr@gjlay.de>
6323
6324 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6325 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6326 libgcc-s-objects.
6327 * fixed-obj.mk: Only expand dependency if $o is not in
6328 LIB2FUNCS_EXCLUDE.
6329
c637141a
L
63302012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6331
6332 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6333
130e00bd
JM
63342012-08-22 Joseph Myers <joseph@codesourcery.com>
6335
6336 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6337 depend on --enable-shared.
6338 ($(lib1asmfuncs-o)): Use %.vis files independent of
6339 --enable-shared.
6340 * static-object.mk ($(base)$(objext), $(base).vis)
6341 ($(base)_s$(objext)): Use same rules for visibility handling as in
6342 shared-object.mk.
6343
4b1b3788
ILT
63442012-08-21 Ian Lance Taylor <iant@google.com>
6345
6346 * config/i386/morestack.S (__morestack_non_split): Increase amount
6347 of space allocated for non-split code stack.
6348
d2468141
JM
63492012-08-19 Joseph Myers <joseph@codesourcery.com>
6350
6351 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6352 even if inhibit_libc.
6353
a508e1a8
JB
63542012-08-17 Julian Brown <julian@codesourcery.com>
6355
6356 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6357 -fexceptions -fnon-call-exceptions if not defined.
6358 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6359 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6360
5615a07d
AS
63612012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6362
6363 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6364 type.
6365
138f5acd
DE
63662012-08-16 David Edelsohn <dje.gcc@gmail.com>
6367
6368 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6369 rs6000/t-slibgcc-aix.
6370
18efc0dd
SB
63712012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6372
6373 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6374
6b39bc38
SB
63752012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6376
6377 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6378
cd25dea0
L
63792012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6380
6381 PR driver/54171
6382 * Makefile.in (version): Replace top_srcdir with srcdir.
6383
a3dda30b
JY
63842012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6385
6386 * Makefile.in (version): set to BASE-VER file from gcc directory.
6387
d04aacfc
NC
63882012-08-01 Nick Clifton <nickc@redhat.com>
6389
6390 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6391 Implements __clrsb for an HImode argument.
6392
0d13c974
NC
63932012-07-31 Nick Clifton <nickc@redhat.com>
6394
6395 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6396 Implements __clrsb for an HImode argument.
6397 * config/stormy16/clrsbhi2.c: New file:
6398 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6399
efbb59b2
SB
64002012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6401
6402 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6403
bf1431e3
TG
64042012-07-19 Tristan Gingold <gingold@adacore.com>
6405 Richard Henderson <rth@redhat.com>
6406
6407 * unwind-seh.c: New file.
6408 * unwind-generic.h: Include windows.h for SEH.
6409 (_Unwind_Exception): Use 6 private fields for SEH.
6410 (_GCC_specific_handler): Declare.
6411 * unwind-c.c (__gcc_personality_seh0): New function.
6412 Adjust for SEH.
6413 * config/i386/libgcc-cygming.ver: New file.
6414 * config/i386/t-seh-eh: New file.
6415 * config.host (x86_64-*-mingw*): Default to seh.
6416
659140c8
SB
64172012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6418
6419 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6420
a20d08fd
UB
64212012-06-17 Uros Bizjak <ubizjak@gmail.com>
6422
6423 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6424 __builtin_expect when checking for exceptions.
6425 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6426
79261115
UB
64272012-06-13 Uros Bizjak <ubizjak@gmail.com>
6428
4a172156
UB
6429 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6430 function declaration.
6431 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6432 (FP_RND_MASK): New.
6433 * config/ia64/sfp-exceptions.c: New.
6434 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6435
bb5c97d4
UB
64362012-06-13 Uros Bizjak <ubizjak@gmail.com>
6437
6438 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6439 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6440 * config/i386/64/sfp-machine: ... (delete here) ...
6441 * config/i386/sfp-machine.h: ... to here.
6442 (FP_EX_MASK): Remove.
6443 (FP_RND_MASK): New.
6444 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6445
91fe5efb
ST
64462012-06-11 Sriraman Tallam <tmsriram@google.com>
6447
6448 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6449 * config/i386/libgcc-sol2.ver: Ditto.
6450 * config/i386/libgcc-glibc.ver: Ditto.
6451
67a218c5
RM
64522012-06-11 Roland McGrath <mcgrathr@google.com>
6453
6454 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6455 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6456 pthread_cancel.
6457
492fbea1
UB
64582012-06-09 Uros Bizjak <ubizjak@gmail.com>
6459
6460 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6461 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6462 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6463 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6464 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6465 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6466 * config/i386/64/sfp-machine: ... (delete here) ...
6467 * config/i386/sfp-machine.h: ... to here.
6468 (FP_EX_MASK): New.
6469 (__sfp_handle_exceptions): New function declaration.
6470 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6471 * config/i386/sfp-exceptions.c: New.
6472 * config/i386/t-softfp: New.
6473 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6474 i386/t-softfp to tmake_file.
6475
7b4cf266
DM
64762012-06-03 David S. Miller <davem@davemloft.net>
6477
6478 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6479 change.
6480
0de0d5c6
DM
64812012-05-31 David S. Miller <davem@davemloft.net>
6482
6483 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6484 multiply and divide instructions on 32-bit when V9.
6485 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6486
d8c9d391
JM
64872012-05-29 Joseph Myers <joseph@codesourcery.com>
6488
6489 * config/arm/ieee754-df.S: Fix typos.
6490 * config/arm/ieee754-sf.S: Fix typos.
6491 * config/c6x/libunwind.S: Fix typos.
6492 * config/epiphany/udivsi3-float.c: Fix typos.
6493 * config/microblaze/muldi3_hard.S: Fix typos.
6494 * config/picochip/adddi3.S: Fix typos.
6495 * config/picochip/ashlsi3.S: Fix typos.
6496 * config/picochip/ashrsi3.S: Fix typos.
6497 * config/picochip/clzsi2.S: Fix typos.
6498 * config/picochip/cmpsi2.S: Fix typos.
6499 * config/picochip/divmod15.S: Fix typos.
6500 * config/picochip/divmodhi4.S: Fix typos.
6501 * config/picochip/divmodsi4.S: Fix typos.
6502 * config/picochip/longjmp.S: Fix typos.
6503 * config/picochip/lshrsi3.S: Fix typos.
6504 * config/picochip/parityhi2.S: Fix typos.
6505 * config/picochip/popcounthi2.S: Fix typos.
6506 * config/picochip/setjmp.S: Fix typos.
6507 * config/picochip/subdi3.S: Fix typos.
6508 * config/picochip/ucmpsi2.S: Fix typos.
6509 * config/picochip/udivmodhi4.S: Fix typos.
6510 * config/picochip/udivmodsi4.S: Fix typos.
6511 * config/spu/divv2df3.c: Fix typos.
6512 * config/spu/mfc_multi_tag_release.c: Fix typos.
6513 * config/spu/mfc_tag_release.c: Fix typos.
6514 * configure.ac: Fix typos.
6515 * configure: Regenerate.
6516
31a18a7e
ILT
65172012-05-25 Ian Lance Taylor <iant@google.com>
6518
6519 * config/i386/morestack.S (__morestack_non_split): Check whether
6520 caller is varargs and needs %bp to hold the stack frame on return.
6521
c5768510
OH
65222012-05-25 Olivier Hainque <hainque@adacore.com>
6523
6524 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6525 sequence in the non pic case on VxWorks.
6526
7c7c339b
OH
65272012-05-24 Olivier Hainque <hainque@adacore.com>
6528
73fb7630 6529 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6530 "install-leaf" to "install".
6531
fdc1b7d3
OH
65322012-05-24 Olivier Hainque <hainque@adacore.com>
6533
6534 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6535 Use a separate command for stamp removals.
6536
07ba94b9
AP
65372012-05-21 Andrew Pinski <apinski@cavium.com>
6538
6539 PR bootstrap/53183
6540 * configure.ac: Define the default includes to being none.
6541 * configure: Regenerate.
6542
4677d2eb
OH
65432012-05-16 Olivier Hainque <hainque@adacore.com>
6544
6545 * Makefile.in (install-unwind_h): Rename into ...
6546 (install-unwind_h-forbuild): New target.
6547 (all): Use it instead of the former install-unwind_h.
6548 (install-unwind_h): Reinstate, copy to user install destination
6549 for include files, not to the internal gcc object directory one.
6550 (install-leaf): Depend on it.
6551
7d67c380
OH
65522012-05-15 Olivier Hainque <hainque@adacore.com>
6553
6554 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6555 register numbers. LR_REGNO replaces R_LR.
6556 (ucontext_for): New, helper for ...
6557 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6558 and 5.3 of ...
6559 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6560
aca06c90
RO
65612012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6562
6563 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6564 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6565 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6566 i386/t-cpuinfo ...
6567 (i[34567]86-*-*, x86_64-*-*): ... here.
6568
6569 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6570 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6571
6572 * config/i386/i386-cpuinfo.c: Rename to ...
6573 * config/i386/cpuinfo.c: ... this.
6574 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6575
6576 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6577 (libgcc_cv_init_priority): New test.
6578 * configure: Regenerate.
6579 * config.in: New file.
6580 * Makefile.in (clean): Rename config.h to auto-target.h.
6581 (config.h): Likewise.
6582 (stamp-h): Likewise.
6583
6584 * config/i386/cpuinfo.c (auto-target.h): Include.
6585 (CONSTRUCTOR_PRIORITY): Define.
6586 (__cpu_indicator_init): Use it.
6587
0d03ac1b
L
65882012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6589
6590 * longlong.h: Use a URL instead of an FSF postal address.
6591 Replace spaces with tab.
6592
4a172156 65932012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6594
6595 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6596 (__gcov_dump): Ditto.
6597 (gcov_dump_complete): New global variable.
6598 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6599 (__gcov_flush): Outline functionality now in gcov_clear.
6600 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6601
e4bb767e
AJ
66022012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6603
31a18a7e
ILT
6604 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6605 (mips*-*-linux*): Include mips/t-tpbit when long double is
6606 16 bytes long.
e4bb767e 6607
5ddecff9
ST
66082012-04-25 Sriraman Tallam <tmsriram@google.com>
6609
6610 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6611 (get_available_features): New argument. Check for AVX2.
6612 (__cpu_indicator_init): Modify call to get_available_features.
6613
b427dd7a
AM
66142012-04-25 Alan Modra <amodra@gmail.com>
6615
6616 * config/rs6000/crtsavevr.S: New file.
6617 * config/rs6000/crtrestvr.S: New file.
6618 * config/rs6000/t-savresfgpr: Build the above.
6619 * config/rs6000/t-netbsd: Likewise.
6620
ad491329
ST
66212012-04-24 Sriraman Tallam <tmsriram@google.com>
6622
6623 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6624
792317cc
ST
66252012-04-24 Sriraman Tallam <tmsriram@google.com>
6626
6627 * libgcc/config/i386/i386-cpuinfo.c: New file.
6628 * libgcc/config/i386/t-cpuinfo: New file.
6629 * libgcc/config.host: Include t-cpuinfo.
6630 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6631
e1be98a4
CF
66322012-04-24 Chao-ying Fu <fu@mips.com>
6633
6634 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6635
1bde7dab
TS
66362012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6637
6638 struct siginfo vs. siginfo_t
6639
6640 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6641 siginfo_t instead of struct siginfo.
6642 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6643 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6644 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6645 (ia64_handle_unwabi): Likewise.
6646 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6647 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6648 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6649 (sh_fallback_frame_state): Likewise.
6650 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6651 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6652
24590f66
L
66532012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6654
6655 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6656 system call number.
6657
9a9dcce8
EB
66582012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6659
6660 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6661 if it hasn't been previously saved.
6662
6401aaf5
L
66632012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6664
6665 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6666 only for glibc.
6667
7fd6378e
GJL
66682012-03-28 Georg-Johann Lay <avr@gjlay.de>
6669
6670 PR target/52737
6671 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6672 instead of __AVR_HAVE_8BIT_SP__.
6673
9e916de7
TG
66742012-03-26 Tristan Gingold <gingold@adacore.com>
6675
6676 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6677 (unw_table_entry): Use unw_word instead of unsigned long.
6678 (_Unwind_FindTableEntry): Likewise.
6679 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6680 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6681 (_Unwind_FindTableEntry): Likewise.
6682 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6683 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6684 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6685 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6686 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6687 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6688 (uw_init_context_1, uw_install_context): Likewise.
6689 (unw_word): Move to unwind-ia64.h
6690
4b12e93d
TG
66912012-03-26 Tristan Gingold <gingold@adacore.com>
6692
6693 * config/vms/vms-ucrt0.c: Update copyright years.
6694 Add a sanity check.
6695 (___gcc_main_flags): Declare.
6696 (__main): Check flags to remap argv and exit code.
6697 * config.host (*-*-*vms*): Adjust extra_parts.
6698 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6699 (crt0.o): Add.
6700
06ea7371
RE
67012012-03-22 Richard Earnshaw <rearnsha@arm.com>
6702
6703 * arm/lib1funcs.asm (ctzsi2): New function.
6704 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6705 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6706 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6707 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6708 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6709 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6710
d82ad50d
AT
67112012-03-21 Andreas Tobler <andreast@fgznet.ch>
6712
6713 * config.host: Add bits to support powerpc64-*-freebsd*.
6714 * config/rs6000/freebsd-unwind.h: New file.
6715 * config/rs6000/t-freebsd64: New file.
6716
b260a8c0
RG
67172012-03-20 Richard Guenther <rguenther@suse.de>
6718
6719 PR gcov-profile/52627
6720 * libgcov.c (init_mx): Fix mutex name.
6721
86286a8a
TG
67222012-03-16 Tristan Gingold <gingold@adacore.com>
6723
6724 * config/ia64/vms-unwind.h: Remove ulong (and replace
6725 it by unw_reg where used). Define unw_reg with __int64.
6726
7888f266
RO
67272012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6728
6729 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6730 Solaris 8 handling.
6731 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6732 Solaris 8 handling.
6733 (sparc_is_sighandler): Likewise.
6734
f155bc64
L
67352012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6736
6737 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6738 <= saved reg size.
6739
d47657bd
RO
67402012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6741
6742 * config/arm/crtn.S: Fix typo.
6743
5bef73a1
RG
67442012-03-13 Richard Guenther <rguenther@suse.de>
6745
6746 * libgcov.c: Remove stdio.h include and NULL un-define.
6747
9c4271f3
RG
67482012-03-13 Richard Guenther <rguenther@suse.de>
6749
6750 PR target/52569
6751 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6752
c6d10e7c
RG
67532012-03-13 Richard Guenther <rguenther@suse.de>
6754
6755 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6756
074a385f
RG
67572012-03-13 Richard Guenther <rguenther@suse.de>
6758
6759 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6760 and __gthread_mutex_init_function definitions.
6761
c4bc5c25
RO
67622012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6763
6764 * config.host (mips*-*-openbsd*): Remove.
6765
5c30094f
RO
67662012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6767
6768 * config.host: Remove alpha*-dec-osf5.1* handling.
6769 * config/alpha/gthr-posix.c: Remove.
6770 * config/alpha/libgcc-osf5.ver: Remove.
6771 * config/alpha/osf5-unwind.h: Remove.
6772 * config/alpha/t-osf-pthread: Remove.
6773 * config/alpha/t-slibgcc-osf: Remove.
6774 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6775 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6776 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6777 * mkmap-flat.awk: Remove osf_export handling.
6778
33e3e24d
RG
67792012-03-12 Richard Guenther <rguenther@suse.de>
6780
6781 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6782 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6783 (__gthread_mutex_init_function): New function.
6784 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6785
6786 PR gcov/49484
6787 * libgcov.c: Include gthr.h.
6788 (__gcov_flush_mx): New global variable.
6789 (init_mx, init_mx_once): New functions.
6790 (__gcov_flush): Protect self with a mutex.
6791 (__gcov_fork): Re-initialize mutex after forking.
6792 * unwind-dw2-fde.c: Change condition under which to use
6793 __GTHREAD_MUTEX_INIT_FUNCTION.
6794
d8aba32a
TG
67952012-03-12 Tristan Gingold <gingold@adacore.com>
6796
6797 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6798 * config/ia64/t-vms: Likewise.
6799
75ffafdc
MH
68002012-03-11 Michael Hope <michael.hope@linaro.org>
6801
4a172156
UB
6802 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6803 for Thumb-2.
75ffafdc 6804
ef6c2c53
WL
68052012-03-07 Walter Lee <walt@tilera.com>
6806
6807 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6808 "arch_atomic_".
6809 (atomic_xor): Rename and move definition to
6810 config/tilepro/atomic.h.
6811 (atomic_nand): Ditto.
6812 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6813 "arch_atomic_".
6814 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6815 (arch_atomic_nand): Ditto.
6816
4e30d980
GJL
68172012-03-07 Georg-Johann Lay <avr@gjlay.de>
6818
6819 PR target/52507
6820 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6821
61108225
GJL
68222012-03-07 Georg-Johann Lay <avr@gjlay.de>
6823
6824 PR target/52505
6825 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6826 from RAM.
6827
b30e10ab
GJL
68282012-03-07 Georg-Johann Lay <avr@gjlay.de>
6829
6830 PR target/52461
6831 PR target/52508
6832 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6833 if RAMPZ affects reading from RAM.
6834 (__tablejump_elpm__): Ditto.
6835 (.xload): Ditto.
6836 (__movmemx_hi): Ditto.
6837 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6838 (__do_global_dtors): Ditto.
6839 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6840 (__movmemx_hi): Ditto.
6841
8993fde4
RH
68422012-03-05 Richard Henderson <rth@redhat.com>
6843
6844 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6845 [ARM] (count_trailing_zeros): Use the builtin.
6846
b7633ee3
KT
68472012-03-01 Kai Tietz <ktietz@redhat.com>
6848
6849 * soft-fp: Imported from glibc upstream.
6850
fbd3340c
KT
68512012-02-28 Kai Tietz <ktietz@redhat.com>
6852
6853 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6854 for mingw-targets as attribute gcc_struct.
6855
e9e053eb
ILT
68562012-02-28 Ian Lance Taylor <iant@google.com>
6857
6858 * generic-morestack.c (__splitstack_releasecontext): Correct call
6859 to __morestack_release_segments.
6860
d80c632e
ST
68612012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6862
6863 PR target/52390
6864 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6865 for __linux__ when removing signals from __morestack_fullmask.
6866
0253a8b1
GJL
68672012-02-23 Georg-Johann Lay <avr@gjlay.de>
6868
6869 PR target/52261
6870 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6871
e10e461e
UW
68722012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6873
6874 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6875 instead of HAVE_INITFINI_ARRAY.
6876 * config/ia64/crtend.S: Likewise.
6877
0c0c6398
KT
68782012-02-20 Kai Tietz <ktietz@redhat.com>
6879
d7470374
KT
6880 PR libstdc++/52300
6881 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6882
0c0c6398
KT
6883 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6884 to w32-unwind.h header.
6885
78c27266
RS
68862012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6887
6888 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6889 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6890 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6891 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6892
5adeb246
RS
68932012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6894
6895 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6896
672ed313
IS
68972012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6898
6899 PR libitm/52220
6900 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6901
e948a1fb
IS
69022012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6903 Patrick Marlier <patrick.marlier@gmail.com>
6904
6905 PR libitm/52220
6906 * config/darwin-crt-tm.c: Generate dummy functions.
6907
6017aed3
IS
69082012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6909 Patrick Marlier <patrick.marlier@gmail.com>
6910
6911 PR libitm/52042
6912 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6913 (__doTMRegistrations): Call it.
e9e053eb 6914 (__doTMdeRegistrations): Likewise.
6017aed3 6915
2da8c1ad 69162012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6917 Anatoly Sokolov <aesok@post.ru>
6918 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6919
6920 PR target/52261
6921 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6922 (__epilogue_restores__): Ditto.
6923
0f952eb4
EB
69242012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6925
6926 PR target/51921
6927 PR target/52205
6928 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6929 Solaris 11 and slightly reformat.
6930 (sparc_is_sighandler): Likewise.
6931
dd552284
WL
69322012-02-14 Walter Lee <walt@tilera.com>
6933
6934 * config.host: Handle tilegx and tilepro.
6935 * config/tilegx/sfp-machine.h: New file.
6936 * config/tilegx/sfp-machine32.h: New file.
6937 * config/tilegx/sfp-machine64.h: New file.
6938 * config/tilegx/t-crtstuff: New file.
6939 * config/tilegx/t-softfp: New file.
6940 * config/tilegx/t-tilegx: New file.
6941 * config/tilepro/atomic.c: New file.
6942 * config/tilepro/atomic.h: New file.
6943 * config/tilepro/linux-unwind.h: New file.
6944 * config/tilepro/sfp-machine.h: New file.
6945 * config/tilepro/softdivide.c: New file.
6946 * config/tilepro/softmpy.S: New file.
6947 * config/tilepro/t-crtstuff: New file.
6948 * config/tilepro/t-tilepro: New file.
6949
b59cbd50
JW
69502012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
6951
6952 PR libstdc++/51296
6953 PR libstdc++/51906
6954 * gthr-posix.h: Allow static initializer macros to be disabled.
6955 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
6956
6caf807f
CLT
69572012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6958
6959 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
6960 Add t-slibgcc-libgcc to tmake_file.
6961 * config/mips/libgcc-mips16.ver: Revert previous patch.
6962 * config/mips/mips16.S (__mips16_rdhwr): Hide.
6963
7d296953
JJ
69642012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
6965 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
6966
6967 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
6968 * config/cr16/crti.S: New file.
6969 * config/cr16/crtlibid.S: New file.
6970 * config/cr16/crtn.S: New file.
6971 * config/cr16/lib1funcs.S: New file.
6972 * config/cr16/t-cr16: New file.
6973 * config/cr16/t-crtlibid: New file.
6974 * config/cr16/unwind-dw2.h: New file.
6975 * config/cr16/unwind-cr16.c: New file.
6976 * config/cr16/divmodhi3.c: New file.
6977
8ef03aa7
AM
69782012-01-25 Alan Modra <amodra@gmail.com>
6979
6980 * config/rs6000/t-linux64: Delete. Move..
6981 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
6982 * config/rs6000/t-linux: ..and libgcc flags to here.
6983
daecebc8
DR
69842012-01-22 Douglas B Rupp <rupp@gnat.com>
6985
6986 * config.host (i[34567]86-*-interix3*):
8ef03aa7 6987 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
6988 * configure: Regenerate.
6989
ddaf8125
RS
69902012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
6991 Richard Sandiford <rdsandiford@googlemail.com>
6992
6993 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
6994 * config/mips/mips16.S (__mips16_rdhwr): New function.
6995 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
6996
2cd8b32c
NS
69972012-01-11 Nathan Sidwell <nathan@acm.org>
6998
6999 * libgcov.c (__gcov_init): Ignore objects with no functions.
7000
cba300dd
GJL
70012012-01-10 Georg-Johann Lay <avr@gjlay.de>
7002
7003 PR target/49868
7004 Extend __pgmx semantics to linearize memory.
7005 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7006 * config/avr/lib1funcs.S (__xload_1): New function.
7007 (__movmemx_qi, __movmemx_hi): New functions.
7008 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7009 semantics.
9ffaf4bc 7010
3d137660
EB
70112012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7012
7013 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7014 purported sigacthandler address isn't null before dereferencing it.
7015 (sparc_is_sighandler): Likewise.
7016
bf4db96c
EB
70172012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7018
7019 PR ada/41929
7020 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7021 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7022 (sparc_is_sighandler): Likewise.
7023 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7024
1ab3568b
TG
70252012-01-06 Tristan Gingold <gingold@adacore.com>
7026
7027 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7028 compatibility thunks...
7029 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7030 (crtbeginS.o, crtendS.o): ... and these to ...
7031 * config/ia64/t-ia64-elf: ... this new file.
7032 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7033 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7034
925b0ed8
AK
70352012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7036
7037 * configure: Regenerate.
7038 * config/s390/t-crtstuff: Remove -fPIC.
7039
a99ad737
JW
70402012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7041
7042 PR bootstrap/51006
7043 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7044 for NetBSD.
7045
884f56d1
GJL
70462012-01-02 Georg-Johann Lay <avr@gjlay.de>
7047
7048 PR target/51345
7049 * config/avr/lib1funcs.S: Remove FIXME comments.
7050 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7051
8c57e547
GJL
70522012-01-02 Georg-Johann Lay <avr@gjlay.de>
7053
7054 Implement light-weight DImode support.
7055 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7056 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7057 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7058 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7059
04dbc287
NS
70602011-12-30 Nathan Sidwell <nathan@acm.org>
7061
7062 * libgcov.c (gcov_crc32): Remove global var.
7063 (free_fn_data): New function.
7064 (buffer_fn_data): Pass in filename, more robust error recovery.
7065 (crc32_unsigned): New function.
7066 (gcov_exit): More robust detection of new program. More robust
7067 error recovery.
7068 (__gcov_init): Do not update program's crc here.
7069
8e1d97d4
TG
70702011-12-21 Tristan Gingold <gingold@adacore.com>
7071
7072 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7073
9ffaf4bc
ILT
70742011-12-21 Ian Lance Taylor <iant@google.com>
7075
7076 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7077
a0c8d0c1
ILT
70782011-12-20 Ian Lance Taylor <iant@google.com>
7079
7080 * config/i386/morestack.S (__morestack_non_split): If there is
7081 enough stack space already, don't split. Ask for more stack space
7082 than we required.
7083
69048898
SDJ
70842011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7085
7086 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7087 `sys/sdt.h'.
7088 (_Unwind_DebugHook): New function.
7089 (uw_restore_core_regs): New define.
7090 (unwind_phase2): Use uw_restore_core_regs instead of
7091 restore_core_regs.
7092 (unwind_phase2_forced): Likewise.
7093 (__gnu_Unwind_Resume): Likewise.
7094
1bb4b6a3
UB
70952011-12-20 Uros Bizjak <ubizjak@gmail.com>
7096
7097 * config/alpha/linux-unwind.h: Update copyright years.
7098 (MD_FROB_UPDATE_CONTEXT): New define.
7099 (alpha_frob_update_context): New function.
7100
eb028768
RS
71012011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7102
7103 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7104 tmake_file rather replacing it.
7105
6a2045bf
IS
71062011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7107
7108 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7109 function is not used for PPC64.
6a2045bf
IS
7110 (save_world): Amend comments. Update the VRsave mask to reflect the
7111 saved regs.
7112 (rest_world): Update comments, do not clobber r10, do not use r8.
7113 (eh_rest_world_r10): Amend comments, do not use r8.
7114 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7115 no longer used, move restore of CR and target address to the end of
7116 the routine.
7117
a13780a6
L
71182011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7119
7120 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7121 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7122
d7288dfb
GJL
71232011-12-14 Georg-Johann Lay <avr@gjlay.de>
7124
7125 PR target/49313
7126 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7127 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7128
8d2c862d
EB
71292011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7130
7131 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7132
3447cae6
GJL
71332011-12-09 Georg-Johann Lay <avr@gjlay.de>
7134
7135 PR target/49313
7136 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7137 * config/avr/lib1funcs.S (__muldi3): New function.
7138
806fc6aa
AP
71392011-12-06 Andrew Pinski <apinski@cavium.com>
7140
7141 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7142 size of func_ptr.
7143 (__frame_dummy_init_array_entry): Likewise.
7144
28c5e6b5
GJL
71452011-12-06 Georg-Johann Lay <avr@gjlay.de>
7146
7147 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7148
7149 PR target/51345
7150 PR target/51002
7151 * config/avr/lib1funcs.S (__prologue_saves__,
7152 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7153 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7154
8f90394a
IS
71552011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7156
7157 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7158
06dd33ac
JDA
71592011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7160
7161 PR other/51272
7162 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7163 (_ITM_deregisterTMCloneTable): Likewise.
7164 (__register_frame_info): Fix unused warning.
7165 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7166 pthread_default_stacksize_np): Likewise.
7167 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7168
85b8555e
DD
71692011-11-29 DJ Delorie <dj@redhat.com>
7170
7171 * config.host (rl78-*-elf): New case.
7172 * config/rl78: New directory for the Renesas RL78.
7173
4d5ae4ea
BS
71742011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7175
7176 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7177 formatting.
7178
f9c55897
RO
71792011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7180
7181 PR other/51022
7182 * config/rs6000/t-savresfgpr: New file.
7183 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7184 $(srcdir)/config/rs6000/eabi.S.
7185 * config/rs6000/t-ppccomm-ldbl: Remove.
7186 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7187 tmake_file.
7188 (powerpc-*-eabispe*): Likewise.
7189 (powerpc-*-eabi*): Likewise.
7190 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7191 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7192 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7193 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7194 tmake_file.
7195 (powerpc-*-eabisim*): Likewise.
7196 (powerpc-*-elf*): Likewise.
7197 (powerpc-*-eabialtivec*): Likewise.
7198 (powerpc-xilinx-eabi*): Likewise.
7199 (powerpc-*-rtems*): Likewise.
7200 (powerpcle-*-elf*): Likewise.
7201 (powerpcle-*-eabisim*): Likewise.
7202 (powerpcle-*-eabi*): Likewise.
7203
a01207c4
ILT
72042011-11-27 Ian Lance Taylor <iant@google.com>
7205
7206 * generic-morestack.c (__splitstack_find): Check for NULL old
7207 stack value.
7208 (__splitstack_resetcontext): New function.
7209 (__splitstack_releasecontext): New function.
7210 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7211
2b0b8ab2
IS
72122011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7213
7214 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7215
c1d8101c
IS
72162011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7217
7218 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7219
8b281334
RH
72202011-11-26 Richard Henderson <rth@redhat.com>
7221
7222 * config/m68k/linux-atomic.c: New file.
7223 * config/m68k/t-linux: New file.
7224 * config.host (m68k-uclinux, m68k-linux): Use it.
7225
7546aa9d
RH
72262011-11-26 Richard Henderson <rth@redhat.com>
7227
7228 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7229 (__TMC_END__): Only declare if hidden is available; in the definition,
7230 if hidden is unavailable add a null record.
7231 (deregister_tm_clones, register_tm_clones): New.
7232 (__do_global_dtors_aux, frame_dummy): Use them.
7233 (__do_global_dtors, __do_global_ctors_1): Likewise.
7234
e2362f5d
IS
72352011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7236
7237 * config/darwin-crt-tm.c: New file.
7238 * config.host (darwin): Build crttms.o crttme.o to provide
7239 startup and shutdown for tm clones.
7240 * config/t-darwin (crttms.o): New build rule.
7241 (crttme.o): Likewise.
7242
6685dd96
HPN
72432011-11-21 Hans-Peter Nilsson <hp@axis.com>
7244
7245 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7246 et al.
7247
b0dc7e4c
RH
72482011-11-21 Richard Henderson <rth@redhat.com>
7249
7250 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7251 (__TMC_LIST__, __TMC_END__): New.
7252 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7253 (__do_global_dtors): Likewise.
7254 (frame_dummy): Call _ITM_registerTMCloneTable.
7255 (__do_global_ctors_1): Likewise.
7256
d4b4b542
RO
72572011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7258
7259 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7260 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7261 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7262 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7263 * config/i386/t-darwin64: Remove.
7264 * config/sh/t-netbsd (LIB2ADD): Remove.
7265
989bdb74
GJL
72662011-11-21 Georg-Johann Lay <avr@gjlay.de>
7267
7268 PR target/49313
7269 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7270 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7271 * config/avr/lib1funcs.S (wmov): New assembler macro.
7272 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7273 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7274 (__udivmod64): New function.
7275 (__negdi2): New function.
7276
515a0cfc
GP
72772011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7278
7279 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7280 *-*-freebsd*aout*): Remove.
7281
0115d17f
HPN
72822011-11-20 Hans-Peter Nilsson <hp@axis.com>
7283
7284 * static-object.mk (c_flags-$o): Save c_flags.
7285 ($(base)$(objext)): Use it.
7286
93aeb62b
SE
72872011-11-18 Steve Ellcey <sje@cup.hp.com>
7288
7289 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7290
7bc6df2c
GJL
72912011-11-18 Georg-Johann Lay <avr@gjlay.de>
7292
7293 PR target/49868
7294 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7295 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7296 New functions.
7297
425d737b
MGD
72982011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7299
7300 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7301 functions.
1bb4b6a3 7302 (aeabi_uidivmod): Likewise.
425d737b
MGD
7303 (umodsi3): Likewise.
7304 (divsi3): Likewise.
7305 (aeabi_idivmod): Likewise.
7306 (modsi3): Likewise.
7307
f2a176dc
TG
73082011-11-16 Tristan Gingold <gingold@adacore.com>
7309
7310 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7311
7c209481
GJL
73122011-11-15 Georg-Johann Lay <avr@gjlay.de>
7313
7314 PR target/49868
7315 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7316 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7317
9dfd5832
JDA
73182011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7319
7320 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7321 tmake_file list.
7322 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7323 * config/pa/t-stublib64: Delete.
7324
f77dca5d
RH
73252011-11-12 Richard Henderson <rth@redhat.com>
7326
7327 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7328 cast the pointer argument to _Unwind_SetGRPtr.
7329
902828f0
RO
73302011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7331
7332 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7333
e14304ef
ILT
73342011-11-09 Ian Lance Taylor <iant@google.com>
7335
7336 * generic-morestack.c: Include <string.h>.
7337 (uintptr_type): Define.
7338 (struct initial_sp): Add dont_block_signals field. Reduce size of
7339 extra array by 1.
7340 (allocate_segment): Set prev field to NULL. Don't set
7341 __morestack_current_segment or __morestack_segments.
7342 (__generic_morestack): Update current->prev and *pp after calling
7343 allocate_segment.
7344 (__morestack_block_signals): Don't do anything if
7345 dont_block_signals is set.
7346 (__morestack_unblock_signals): Likewise.
7347 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7348 uintptr_type.
7349 (__splitstack_block_signals): New function.
7350 (enum __splitstack_content_offsets): Define.
7351 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7352 (__splitstack_makecontext): New function.
7353 (__splitstack_block_signals_context): New function.
7354 (__splitstack_find_context): New function.
7355 * config/i386/morestack.S (__morestack_get_guard): New function.
7356 (__morestack_set_guard, __morestack_make_guard): New functions.
7357 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7358
e3d871e4
RO
73592011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7360
7361 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7362 (i[34567]86-*-mingw*): ... here.
7363 (x86_64-*-mingw*): ... here.
7364
e55cef40
RO
73652011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7366
7367 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7368
5366b186
NS
73692011-11-07 Nathan Sidwell <nathan@acm.org>
7370
7371 * libgcov.c (struct gcov_fn_buffer): New struct.
7372 (buffer_fn_data): New helper.
7373 (gcov_exit): Rework for new gcov data structures.
7374
74155a6f
GJL
73752011-11-07 Georg-Johann Lay <avr@gjlay.de>
7376
7377 PR target/49313
7378 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7379
200feb07
RO
73802011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7381
7382 * config.host (tmake_file): Correct comment.
7383 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7384 t-libgcc-pic.
7385 (bfin*-uclinux*): Likewise.
7386 (bfin*-linux-uclibc*): Likewise.
7387 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7388
7389 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7390 assigning.
7391 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7392 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7393 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7394 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7395 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7396 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7397 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7398 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7399 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7400 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7401 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7402 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7403 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7404
7405 * config/bfin/t-elf: Remove.
7406 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7407
c9cd1a07
RO
74082011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7409
7410 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7411 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7412 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7413 (lm32-*-elf*): ... this.
7414 (lm32-*-rtems*): ... and this.
7415 Add to tmake_file.
7416 (m32r-*-rtems*): Add to tmake_file.
7417 (moxie-*-rtems*): Likewise.
7418 (sparc-*-rtems*): Likewise.
7419 Remove t-rtems from tmake_file.
7420 (sparc64-*-rtems*): Likewise.
7421 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7422 instead.
7423
9fbcc75d
RO
74242011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7425
7426 PR bootstrap/50982
7427 * config/gthr-posix.h: Move ...
7428 * gthr-posix.h: ... here.
7429 * config/gthr-lynx.h: Reflect this.
7430 * config/gthr-vxworks.h: Likewise.
7431 * config/rs6000/gthr-aix.h: Likewise.
7432 * configure.ac (target_thread_file): Likewise.
7433 * configure: Regenerate.
7434
76644b68
SH
74352011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7436
7437 * config.host (arm*-*-rtemseabi*): New target.
7438
5e490f2a
JDA
74392011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7440
7441 PR other/50991
7442 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7443 extra-parts.
7444
feeeff5c
JR
74452011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7446
7447 * config.host (epiphany-*-elf*): New configuration.
7448 * config/epiphany: New Directory.
7449
d618bb2c
RC
74502011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7451
7452 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7453 * config/avr/t-rtems: New.
7454 Filter out _exit from LIB1ASMFUNCS.
7455
1bb6f778
DM
74562011-11-04 David S. Miller <davem@davemloft.net>
7457
7458 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7459 * configure: Rebuild.
7460
9a7f7422
AK
74612011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7462
7463 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7464 variable.
7465
e4fe948a
GJL
74662011-11-04 Georg-Johann Lay <avr@gjlay.de>
7467
7468 PR target/50931
7469 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7470 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7471
7084e037
JS
74722011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7473
7474 PR target/50989
7475 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7476
1a032034
RO
74772011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7478
7479 * config/c6x/t-elf (LIB2ADDEH): Set.
7480 * config/c6x/t-c6x-elf: Remove.
7481
d385f772
RO
74822011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7483
7484 * config/i386/sol2-ci.S: Rename to ...
7485 * config/i386/crti.S: ... this.
7486 * config/i386/sol2-cn.S: Rename to ...
7487 * config/i386/crtn.S: ... this.
7488 * config/sparc/sol2-ci.S: Rename to ...
7489 * config/sparc/crti.S: ... this.
7490 * config/sparc/sol2-cn.S: Rename to ...
7491 * config/sparc/crtn.S: ... this.
7492 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7493 (crti.o, crtn.o): Remove.
7494
1ba878a9
TG
74952011-11-04 Tristan Gingold <gingold@adacore.com>
7496
7497 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7498
02750c15
KK
74992011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7500
7501 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7502
bf86b067
HPN
75032011-11-03 Hans-Peter Nilsson <hp@axis.com>
7504
7505 * config.host (crisv32-*-none, cris-*-none): Remove.
7506 (crisv32-*-elf): Append to tmake_file, don't just set it.
7507 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7508
d0bc53bd
RO
75092011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7510
7511 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7512 (ecrtn$(objext)): Likewise.
7513 (ncrti$(objext)): Likewise.
7514 (ncrtn$(objext)): Likewise.
7515
036da830
AS
75162011-11-03 Andreas Schwab <schwab@redhat.com>
7517
7518 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7519
d2a7d041
DM
75202011-11-02 David S. Miller <davem@davemloft.net>
7521
7522 * configure.ac: Set host_address on sparc too.
7523 * configure: Regenerate.
7524 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7525 based upon host_address.
7526 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7527
af8ed618
JM
75282011-11-02 Jason Merrill <jason@redhat.com>
7529
7530 * config/rs6000/t-ppccomm: Add missing \.
7531
5d1c8e77
RO
75322011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7533
7534 * gthr-single.h, gthr.h: New files.
7535 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7536 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7537 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7538 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7539 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7540 * configure.ac (thread_header): New variable.
7541 Set it depending on target_thread_file.
7542 (gthr-default.h): Link from $thread_header.
7543 * configure: Regenerate.
7544 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7545
852b75ed
RO
75462011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7547
7548 * configure.ac (tm_file_): New variable.
7549 Determine from tm_file.
7550 (tm_file, tm_defines): Substitute.
7551 * configure: Regenerate.
7552 * mkheader.sh: New file.
7553 * Makefile.in (clean): Remove libgcc_tm.h.
7554 ($(objects)): Depend on libgcc_tm.h.
7555 (libgcc_tm_defines, libgcc_tm_file): New variables.
7556 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7557 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7558 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7559 ($(extra-parts)): Depend on libgcc_tm.h.
7560 * config.host (tm_defines, tm_file): New variable.
7561 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7562 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7563 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7564 (avr-*-rtems*): Likewise.
7565 (avr-*-*): Likewise.
7566 (frv-*-elf): Likewise.
7567 (frv-*-*linux*): Likewise.
7568 (h8300-*-rtems*): Likewise.
7569 (h8300-*-elf*): Likewise.
7570 (i[34567]86-*-darwin*): Likewise.
7571 (x86_64-*-darwin*): Likewise.
7572 (rx-*-elf): Likewise.
7573 (tic6x-*-uclinux): Likewise.
7574 (tic6x-*-elf): Likewise.
7575 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7576 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7577 * config/i386/cygming-crtbegin.c: Likewise.
7578 * config/i386/cygming-crtend.c: Likewise.
7579 * config/ia64/fde-vms.c: Likewise.
7580 * config/ia64/unwind-ia64.c: Likewise.
7581 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7582 * config/rs6000/darwin-fallback.c: Likewise.
7583 * config/stormy16/lib2funcs.c: Likewise.
7584 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7585 * crtstuff.c: Likewise.
7586 * dfp-bit.h: Likewise.
7587 * emutls.c: Likewise.
7588 * fixed-bit.c: Likewise.
7589 * fp-bit.c: Likewise.
7590 * generic-morestack-thread.c: Likewise.
7591 * generic-morestack.c: Likewise.
7592 * libgcc2.c: Likewise.
7593 * libgcov.c: Likewise.
7594 * unwind-dw2-fde-dip.c: Likewise.
7595 * unwind-dw2-fde.c: Likewise.
7596 * unwind-dw2.c: Likewise.
7597 * unwind-sjlj.c: Likewise.
7598
f9989b51
RO
75992011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7600
7601 * configure.ac: Include ../config/picflag.m4.
7602 (GCC_PICFLAG): Call it.
7603 Substitute.
7604 * configure: Regenerate.
7605 * Makefile.in (gcc_srcdir): Remove.
7606 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7607 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7608 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7609 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7610 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7611 Use $<.
7612 Remove comment.
7613 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7614 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7615 to refer to libgcc2.c.
7616 Use $<.
7617 * config/darwin-64.c: New file.
7618 * config/darwin-crt3.c: Remove comment.
7619 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7620 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7621 config/udivmodsi4.c: New files.
7622 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7623 config/memset.c: New files.
7624 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7625 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7626 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7627 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7628 * config/t-openbsd-thread: New file.
7629 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7630 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7631 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7632 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7633 qrnnd.S.
7634 Adapt filename.
7635 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7636 to refer to gthr-posix.c.
7637 * config/alpha/t-vms (LIB2ADD): Set.
7638 * config/alpha/vms-gcc_shell_handler.c: New file.
7639 * config/arm/bpabi.c, config/arm/fp16.c,
7640 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7641 config/arm/unaligned-funcs.c: New files.
7642 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7643 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7644 * config/arm/t-linux: Likewise.
7645 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7646 * config/arm/t-netbsd: New file.
7647 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7648 * config/arm/t-symbian (LIB2ADD_ST): Set.
7649 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7650 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7651 * config/bfin/t-elf: New file.
7652 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7653 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7654 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7655 config/c6x/ltf.c: New files.
7656 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7657 (HOST_LIBGCC2_CFLAGS): Set.
7658 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7659 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7660 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7661 New files.
7662 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7663 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7664 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7665 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7666 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7667 files.
7668 * config/frv/t-frv (LIB2ADD): Set.
7669 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7670 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7671 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7672 config/h8300/popcounthi2.c: New files.
7673 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7674 * config/i386/gthr-win32.c: New file.
7675 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7676 * config/i386/t-cygwin: Likewise.
7677 * config/i386/t-darwin, config/i386/t-darwin64,
7678 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7679 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7680 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7681 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7682 * config/ia64/quadlib.c: New file.
7683 * config/ia64/t-hpux (LIB2ADD): Set.
7684 * config/ia64/t-ia64: Add comment.
7685 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7686 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7687 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7688 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7689 * config/m32c/t-m32c (LIB2ADD): Set.
7690 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7691 * config/m32r/t-m32r: Likewise.
7692 * config/m68k/fpgnulib.c: New file.
7693 * config/m68k/t-floatlib (LIB2ADD): Set.
7694 (xfgnulib.c): New target.
7695 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7696 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7697 * config/mep/t-mep (LIB2ADD): Set.
7698 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7699 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7700 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7701 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7702 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7703 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7704 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7705 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7706 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7707 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7708 New files.
7709 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7710 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7711 * config/pa/fptr.c, config/pa/lib2funcs.S,
7712 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7713 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7714 (LIB2ADD, LIB2ADD_ST): Set.
7715 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7716 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7717 Set.
7718 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7719 * config/pdp11/t-pdp11: New file.
7720 * config/picochip/libgccExtras/adddi3.S,
7721 config/picochip/libgccExtras/ashlsi3.S,
7722 config/picochip/libgccExtras/ashrsi3.S,
7723 config/picochip/libgccExtras/clzsi2.S,
7724 config/picochip/libgccExtras/cmpsi2.S,
7725 config/picochip/libgccExtras/divmod15.S,
7726 config/picochip/libgccExtras/divmodhi4.S,
7727 config/picochip/libgccExtras/divmodsi4.S,
7728 config/picochip/libgccExtras/lshrsi3.S,
7729 config/picochip/libgccExtras/parityhi2.S,
7730 config/picochip/libgccExtras/popcounthi2.S,
7731 config/picochip/libgccExtras/subdi3.S,
7732 config/picochip/libgccExtras/ucmpsi2.S,
7733 config/picochip/libgccExtras/udivmodhi4.S,
7734 config/picochip/libgccExtras/udivmodsi4.S: New files.
7735 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7736 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7737 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7738 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7739 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7740 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7741 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7742 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7743 files.
7744 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7745 (HOST_LIBGCC2_CFLAGS): Set.
7746 * config/rs6000/t-darwin64: New file.
7747 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7748 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7749 * config/rs6000/t-ppccomm (LIB2ADD): Add
7750 $(srcdir)/config/rs6000/tramp.S.
7751 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7752 Add $(srcdir)/config/rs6000/eabi.S.
7753 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7754 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7755 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7756 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7757 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7758 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7759 * config/rs6000/tramp.S: New file.
7760 * config/s390/t-tpf: Remove.
7761 * config/sh/linux-atomic.S: New file.
7762 * config/sh/t-linux (LIB2ADD): Set.
7763 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7764 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7765 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7766 to unwind-dw2.c.
7767 (HOST_LIBGCC2_CFLAGS): Set.
7768 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7769 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7770 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7771 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7772 config/spu/mfc_multi_tag_release.c,
7773 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7774 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7775 config/spu/multi3.c: New files.
7776 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7777 (HOST_LIBGCC2_CFLAGS): Set.
7778 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7779 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7780 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7781 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7782 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7783 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7784 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7785 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7786 config/stormy16/umodsi3.c: New files.
7787 * config/xtensa/lib2funcs.S: New file.
7788 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7789 * config/xtensa/t-xtensa (LIB2ADD): Set.
7790 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7791 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7792 Add t-freebsd-thread to tmake_file for posix threads.
7793 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7794 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7795 (*-*-lynxos*): Likewise.
7796 (*-*-netbsd*): Likewise.
7797 (*-*-openbsd*): Likewise.
7798 Add t-openbsd-thread to tmake_file for posix threads.
7799 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7800 (*-*-vxworks*): Set tmake_file.
7801 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7802 (alpha*-*-freebsd*): Likewise.
7803 (alpha*-*-netbsd*): Likewise.
7804 (alpha*-*-openbsd*): Likewise.
7805 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7806 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7807 (alpha*-dec-*vms*): Likewise.
7808 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7809 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7810 (bfin*-uclinux*): Likewise.
7811 (bfin*-linux-uclibc*): Likewise.
7812 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7813 (crisv32-*-none): Likewise.
7814 (cris-*-elf): Likewise.
7815 (cris-*-none): Likewise.
7816 (cris-*-linux*, crisv32-*-linux*): Likewise.
7817 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7818 tmake_file.
7819 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7820 tmake_file.
7821 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7822 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7823 (x86_64-*-elf*): Likewise.
7824 (i[34567]86-*-nto-qnx*): Likewise.
7825 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7826 win32 threads.
7827 (x86_64-*-mingw*): Likewise.
7828 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7829 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7830 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7831 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7832 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7833 tmake_file.
7834 (mipsisa64sr71k-*-elf*): Likewise.
7835 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7836 (mips-*-elf*, mipsel-*-elf*): Likewise.
7837 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7838 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7839 (mips*-*-rtems*): Likewise.
7840 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7841 to tmake_file.
7842 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7843 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7844 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7845 (spu-*-elf*): Likewise.
7846 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7847
45b86625
RO
78482011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7849
7850 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7851 $(srcdir) to refer to $(LIB1ASMSRC).
7852 Use $<.
7853 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7854 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7855 config/arm/lib1funcs.S: New files.
7856 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7857 * config/arm/t-arm: New file.
7858 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7859 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7860 config/arm/t-strongarm-elf: New files.
7861 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7862 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7863 * config/avr/lib1funcs.S: New file.
7864 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7865 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7866 * config/c6x/lib1funcs.S: New file.
7867 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7868 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7869 * config/frv/lib1funcs.S: New file.
7870 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7871 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7872 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7873 * config/ia64/__divxf3.asm: Rename to ...
7874 * config/ia64/__divxf3.S: ... this.
7875 Adapt lib1funcs.asm filename.
7876 * config/ia64/_fixtfdi.asm: Rename to ...
7877 * config/ia64/_fixtfdi.S: ... this.
7878 Adapt lib1funcs.asm filename.
7879 * config/ia64/_fixunstfdi.asm: Rename to ...
7880 * config/ia64/_fixunstfdi.S: ... this.
7881 Adapt lib1funcs.asm filename.
7882 * config/ia64/_floatditf.asm: Rename to ...
7883 * config/ia64/_floatditf.S: ... this.
7884 Adapt lib1funcs.asm filename.
7885 * config/ia64/lib1funcs.S: New file.
7886 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7887 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7888 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7889 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7890 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7891 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7892 * config/mep/lib1funcs.S: New file.
7893 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7894 * config/mips/mips16.S: New file.
7895 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7896 * config/pa/milli64.S: New file.
7897 * config/pa/t-linux, config/pa/t-linux64: New files.
7898 * config/picochip/lib1funcs.S: New file.
7899 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7900 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7901 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7902 * config/sh/t-netbsd: New file.
7903 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7904 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7905 * config/sh/t-sh64: New file.
7906 * config/sparc/lb1spc.S: New file.
7907 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7908 filename.
7909 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7910 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7911 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7912 config/xtensa/lib1funcs.S: New files.
7913 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7914 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7915 tmake_file.
7916 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7917 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7918 (arm*-*-linux*): Likewise.
7919 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7920 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7921 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7922 (arm*-*-ecos-elf): Likewise.
7923 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7924 (arm*-*-rtems*): Likewise.
7925 (arm*-*-elf): Likewise.
7926 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7927 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7928 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7929 (bfin*-uclinux*): Likewise.
7930 (bfin*-linux-uclibc*): Likewise.
7931 (bfin*-rtems*): Likewise.
7932 (bfin*-*): Likewise.
7933 (fido-*-elf): Merge into m68k-*-elf*.
7934 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7935 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7936 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7937 (h8300-*-elf*): Likewise.
7938 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7939 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7940 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7941 (i[34567]86-*-mingw*): Likewise.
7942 (x86_64-*-mingw*): Likewise.
7943 (i[34567]86-*-interix3*): Likewise.
7944 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7945 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7946 (m68k-*-elf*): Also handle fido-*-elf.
7947 Add m68k/t-floatlib to tmake_file.
7948 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
7949 (m68k-*-linux*): Likewise.
7950 (m68k-*-rtems*): Likewise.
7951 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
7952 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
7953 sh64*-*-*.
7954 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
7955 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
7956 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
7957 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
7958 sh/t-netbsd to tmake_file.
7959 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
7960 (sh-*-rtems*): Add sh/t-sh to tmake_file.
7961 (sh-wrs-vxworks): Likewise.
7962 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
7963 *-leon[3-9]*.
7964 (v850*-*-*): Add v850/t-v850 to tmake_file.
7965 (vax-*-linux*): Add vax/t-linux to tmake_file.
7966 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
7967
5f73c6cc
RO
79682011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7969
7970 * crtstuff.c: New file.
7971 * Makefile.in (CRTSTUFF_CFLAGS): Define.
7972 (CRTSTUFF_T_CFLAGS): Define.
7973 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
7974 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
7975 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
7976 crtstuff.c.
7977 Use $<.
7978 (crtbeginT.o): Use $(objext).
7979 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
7980 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
7981 (gcc-extra-parts): Remove.
7982 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
7983 Set extra_parts.
7984 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7985 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
7986 Add t-crtstuff-pic to tmake_file.
7987 (*-*-lynxos*): New case.
7988 Set tmake_file, extra_parts.
7989 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
7990 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
7991 *-*-netbsdelf[2-9]*.
7992 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
7993 (*-*-rtems*): Set extra_parts.
7994 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
7995 (*-*-uclinux*): New case.
7996 Set extra_parts.
7997 (*-*-vms*): New case.
7998 Set tmake_file, extra_parts.
7999 (*-*-elf): Set extra_parts.
8000 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8001 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8002 vms/t-vms64.
8003 Set extra_parts.
8004 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8005 Set extra_parts.
8006 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8007 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8008 (arm-wrs-vxworks): Append to tmake_file.
8009 Set extra_parts.
8010 (arm*-*-uclinux*): Set extra_parts.
8011 (arm*-*-ecos-elf): Likewise.
8012 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8013 arm*-*-eabi*.
8014 (arm*-*-rtems*): Set extra_parts.
8015 (arm*-*-elf): Likewise.
8016 (avr-*-rtems*): Clear extra_parts.
8017 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8018 Set extra_parts.
8019 (bfin*-uclinux*): Likewise.
8020 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8021 (bfin*-rtems*): Append to tmake_file.
8022 Set extra_parts.
8023 (bfin*-*): Likewise.
8024 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8025 (crisv32-*-elf): ... this.
8026 (crisv32-*-none): ... this.
8027 (cris-*-elf, cris-*-none): New cases.
8028 Add cris/t-elfmulti to tmake_file.
8029 (fr30-*-elf): Append to tmake_file.
8030 Set extra_parts.
8031 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8032 Set extra_parts.
8033 (h8300-*-rtems*): Append to tmake_file.
8034 Set extra_parts.
8035 (h8300-*-elf*): Likewise.
8036 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8037 Set extra_parts.
8038 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8039 Set extra_parts.
8040 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8041 (x86_64-*-elf*): Likewise.
8042 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8043 (x86_64-*-freebsd*): Likewise.
8044 (x86_64-*-netbsd*): Likewise.
8045 (i[34567]86-*-linux*): Likewise.
8046 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8047 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8048 (x86_64-*-linux*): Likewise.
8049 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8050 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8051 tmake_file.
8052 Set extra_parts.
8053 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8054 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8055 Append to extra_parts, remove crtbegin.o, crtend.o.
8056 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8057 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8058 crtend.o, crtbeginS.o, crtendS.o.
8059 (ia64*-*-linux*): Comment extra_parts.
8060 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8061 Set extra_parts.
8062 (iq2000*-*-elf*): Clear extra_parts.
8063 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8064 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8065 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8066 (m32r-*-rtems*): ... this.
8067 Add m32r/t-m32r to tmake_file.
8068 (m68k-*-elf*): Add t-crtin to tmake_file.
8069 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8070 (mcore-*-elf): Likewise.
8071 (microblaze*-*-*): Set extra_parts.
8072 (mips*-sde-elf*): New case.
8073 Set tmake_file, extra_parts.
8074 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8075 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8076 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8077 tmake_file.
8078 Set extra_parts.
8079 (mipsisa64sr71k-*-elf*): Likewise.
8080 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8081 (mips-*-elf*, mipsel-*-elf*): Likewise.
8082 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8083 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8084 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8085 (mips*-*-rtems*): Likewise.
8086 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8087 (moxie-*-*): Split into ...
8088 (moxie-*-elf, moxie-*-uclinux*): ... this.
8089 Add to extra_parts, remove crtbegin.o, crtend.o.
8090 (moxie-*-rtems*): New case.
8091 Set tmake_file.
8092 Clear extra_parts.
8093 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8094 Set extra_parts.
8095 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8096 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8097 tmake_file.
8098 Set extra_parts.
8099 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8100 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8101 Set extra_parts.
8102 (powerpc-*-eabisim*): Likewise.
8103 (powerpc-*-elf*): Likewise.
8104 (powerpc-*-eabialtivec*): Likewise.
8105 (powerpc-xilinx-eabi*): Likewise.
8106 (powerpc-*-eabi*): Likewise.
8107 (powerpc-*-rtems*): Likewise.
8108 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8109 tmake_file.
8110 Set extra_parts.
8111 (powerpc-*-lynxos*): Add to tmake_file.
8112 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8113 rs6000/t-crtstuff, t-crtstuff-pic.
8114 Set extra_parts.
8115 (powerpcle-*-eabisim*): Likewise.
8116 (powerpcle-*-eabi*): Likewise.
8117 (rx-*-elf): Remove extra_parts.
8118 (s390x-ibm-tpf*): Set extra_parts.
8119 (score-*-elf): Set extra_parts.
8120 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8121 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8122 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8123 (sh64l*-*-netbsd*): Split into ...
8124 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8125 Add t-crtstuff-pic to tmake_file.
8126 Set extra_parts.
8127 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8128 Set extra_parts.
8129 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8130 (sparc-*-elf*): Remove t-crtin from tmake_file.
8131 Add to extra_parts, remove crtbegin.o, crtend.o.
8132 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8133 (sparc64-*-linux*): Likewise.
8134 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8135 Add to extra_parts, remove crtbegin.o, crtend.o.
8136 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8137 Add to extra_parts, remove crtbegin.o, crtend.o.
8138 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8139 Add to extra_parts, remove crtbegin.o, crtend.o.
8140 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8141 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8142 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8143 Set extra_parts.
8144 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8145 Set extra_parts.
8146 (tic6x-*-*): Change to ...
8147 (tic6x-*-elf): ... this.
8148 Set extra_parts.
8149 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8150 Set extra_parts.
8151 (am33_2.0-*-linux*): Add comment.
8152 (mep*-*-*): Add mep/t-mep to tmake_file.
8153 Set extra_parts.
8154 * config/alpha/t-vms: New file.
8155 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8156 * config/arm/crti.S, config/arm/crtn.S: New files.
8157 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8158 * config/bfin/crtlibid.S: New file.
8159 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8160 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8161 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8162 (crti.o, crtin.o): New rules.
8163 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8164 * config/c6x/t-uclinux: New file.
8165 * config/cris/t-elfmulti: New file.
8166 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8167 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8168 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8169 * config/frv/t-frv: New file.
8170 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8171 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8172 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8173 New files.
8174 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8175 refer to cygming-crtbegin.c, cygming-crtend.c.
8176 Use $<.
8177 * config/i386/t-nto: New file.
8178 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8179 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8180 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8181 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8182 Use .S extension.
8183 Use $<.
8184 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8185 (crtinitS.o): New rule.
8186 * config/ia64/vms-crtinit.S: New file.
8187 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8188 * config/m32r/initfini.c: New file.
8189 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8190 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8191 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8192 * config/mep/t-mep: New file.
8193 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8194 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8195 * config/mips/crti.S, config/mips/crtn.S: New files.
8196 * config/mips/t-crtstuff: New file.
8197 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8198 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8199 (CUSTOM_CRTIN): Set.
8200 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8201 dependencies.
8202 Use $(srcdir) to refer to crti.S, crtn.S.
8203 Use .S extension, $<.
8204 * config/moxie/crti.asm: Rename to ...
8205 * config/moxie/crti.S: ... this.
8206 * config/moxie/crtn.asm: Rename to ...
8207 * config/moxie/crtn.S: ... this.
8208 * config/moxie/t-moxie: Remove.
8209 * config/pa/stublib.c: New file.
8210 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8211 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8212 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8213 * config/rs6000/t-crtstuff: New file.
8214 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8215 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8216 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8217 Make output file explicit.
8218 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8219 Make output file explicit.
8220 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8221 Make output file explicit.
8222 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8223 Make output file explicit.
8224 * config/score/crti.S, config/score/crtn.S: New files.
8225 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8226 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8227 files.
8228 * config/sh/t-sh, config/sh/t-superh: New files.
8229 * config/sparc/t-linux64: New file.
8230 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8231 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8232 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8233 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8234 * config/t-crtin: Remove.
8235 * config/t-crtstuff-pic: New file.
8236 * config/t-sol2 (CUSTOM_CRTIN): Set.
8237 (crti.o, crtn.o): New rules.
8238 * config/vms/t-vms: New file.
8239 * config/vms/vms-ucrt0.c: New file.
8240 * config/xtensa/t-elf: New file.
8241
b040f2be
RO
82422011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8243
8244 * Makefile.in (SHLIB_NM_FLAGS): Set.
8245 * mkmap-flat.awk, mkmap-symver.awk: New files.
8246 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8247 exceptions.
8248 * configure: Regenerate.
8249 * config/libgcc-glibc.ver: New file.
8250 * config/libgcc-libsystem.ver: New file.
8251 * config/t-libunwind (SHLIB_LC): Set.
8252 * config/t-linux: New file.
8253 * config/t-slibgcc (INSTALL_SHLIB): New.
8254 (SHLIB_INSTALL): Use it.
8255 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8256 to mkmap-symver.awk.
8257 (SHLIB_MAPFILES): Don't append, adapt pathname.
8258 (SHLIB_VERPFX): Set.
8259 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8260 to mkmap-symver.awk.
8261 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8262 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8263 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8264 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8265 to mkmap-flat.awk.
8266 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8267 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8268 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8269 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8270 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8271 * config/i386/libgcc-darwin.10.4.ver,
8272 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8273 New files.
8274 * config/i386/t-darwin: Remove.
8275 * config/i386/t-darwin64: Likewise.
8276 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8277 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8278 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8279 * config/i386/t-linux: New file.
8280 * config/i386/t-mingw32: New file.
8281 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8282 * config/ia64/t-glibc: Rename to ...
8283 * config/ia64/t-linux: ... this.
8284 (SHLIB_MAPFILES): Set.
8285 * config/ia64/t-glibc-libunwind: Rename to ...
8286 * config/ia64/t-linux-libunwind: ... this.
8287 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8288 * config/ia64/t-slibgcc-hpux: New file.
8289 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8290 * config/m68k/t-slibgcc-elf-ver: New file.
8291 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8292 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8293 to mkmap-flat.awk.
8294 * config/pa/t-slibgcc-hpux: New file.
8295 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8296 files.
8297 * config/rs6000/libgcc-darwin.10.4.ver,
8298 config/rs6000/libgcc-darwin.10.5.ver: New files.
8299 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8300 config/rs6000/libgcc-glibc.ver.
8301 * config/rs6000/libgcc-ppc64.ver: Rename to
8302 config/rs6000/libgcc-ibm-ldouble.ver.
8303 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8304 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8305 * config/rs6000/t-ldbl128: Rename to ...
8306 * config/rs6000/t-linux: ... this.
8307 (SHLIB_MAPFILES): Adapt filename.
8308 * config/rs6000/t-slibgcc-aix: New file.
8309 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8310 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8311 libgcc-excl.ver, libgcc-glibc.ver.
8312 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8313 * config/sparc/libgcc-glibc.ver: New file.
8314 * config/sparc/t-linux: New file.
8315 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8316 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8317 t-slibgcc-elf-ver to tmake_file.
8318 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8319 *-*-freebsd[34].
8320 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8321 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8322 t-slibgcc-elf-ver, t-linux to tmake_file.
8323 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8324 tmake_file.
8325 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8326 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8327 (alpha*-dec-*vms*): Likewise.
8328 (arm*-*-freebsd*): Append to tmake_file.
8329 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8330 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8331 arm*-*-linux-*eabi.
8332 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8333 tmake_file for arm*-*-symbianelf*.
8334 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8335 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8336 cris/t-linux.
8337 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8338 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8339 pa/t-slibgcc-dwarf-ver to tmake_file.
8340 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8341 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8342 (hppa*64*-*-hpux11*): Likewise.
8343 (hppa[12]*-*-hpux11*): Likewise.
8344 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8345 i386/t-crtpc, i386/t-crtfm.
8346 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8347 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8348 to tmake_file.
8349 Add i386/t-cygwin to tmake_file.
8350 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8351 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8352 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8353 to tmake_file.
8354 Add i386/t-mingw32 to tmake_file.
8355 (x86_64-*-mingw*): Likewise.
8356 (ia64*-*-freebsd*): Append to tmake_file.
8357 (ia64*-*-linux*): Append to tmake_file.
8358 Replace ia64/t-glibc by ia64/t-linux.
8359 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8360 system libunwind.
8361 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8362 t-slibgcc-hpux to tmake_file.
8363 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8364 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8365 (m32rle-*-linux*): Likewise.
8366 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8367 sjlj exceptions.
8368 (microblaze*-linux*): New case.
8369 Append to tmake_file, add t-slibgcc-nolc-override.
8370 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8371 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8372 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8373 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8374 rs6000/t-slibgcc-aix to tmake_file.
8375 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8376 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8377 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8378 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8379 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8380 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8381 sh*-*-linux*.
8382 (sparc-*-linux*): Append to tmake_file for *-leon*.
8383 Add sparc/t-linux to tmake_file for non-Leon targets.
8384 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8385 (tic6x-*-uclinux): New case.
8386 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8387 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8388 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8389 (am33_2.0-*-linux*): Append to tmake_file.
8390 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8391 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8392 x86_64-*-kfreebsd*-gnu.
8393 Add i386/t-linux to tmake_file.
8394
18b4bd7b
ILT
83952011-10-28 Ian Lance Taylor <iant@google.com>
8396
8397 * config/i386/morestack.S: Correct CFI information to do proper
8398 returns throughout function. In 32-bit mode, save %ebx so that it
8399 is restored on unwind.
8400
5b2d9d90
BS
84012011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8402
8403 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8404 case where B3 isn't the return register.
8405
0d53e346
BS
8406 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8407 logic for doubleword pops.
8408
cbffbd59
AT
84092011-10-25 Andreas Tobler <andreast@fgznet.ch>
8410
8411 * config/rs6000/t-freebsd: Add wildcard.
8412
56dc349e
PB
84132011-10-21 Paul Brook <paul@codesourcery.com>
8414
8415 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8416
1e06b07d
UB
84172011-10-16 Uros Bizjak <ubizjak@gmail.com>
8418 Eric Botcazou <ebotcazou@adacore.com>
8419
8420 PR target/50737
8421 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8422 fs->signal_frame to 1.
8423
b5204884
ILT
84242011-10-07 Ian Lance Taylor <iant@google.com>
8425
8426 * generic-morestack-thread.c: #include <errno.h>.
8427
91a639a1
ILT
84282011-10-07 Ian Lance Taylor <iant@google.com>
8429
8430 PR target/46093
8431 * generic-morestack.c (__generic_morestack): Make sure the segment
8432 is large enough for both the stack frame and the copied
8433 parameters.
8434
cc49116d
RO
84352011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8436
8437 PR bootstrap/49804
8438 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8439 extra_parts.
8440
2996d8c3
NC
84412011-09-28 Nick Clifton <nickc@redhat.com>
8442
8443 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8444 64-bit doubles are not enabled.
8445 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8446 and floatunsisf functions.
8447
1e874273 84482011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8449
1e874273
PB
8450 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8451 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8452 * unwind-arm-common.inc: New file.
8453 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8454 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8455 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8456 * config/c6x/libunwind.S: New file.
8457 * config/c6x/pr-support.c: New file.
8458 * config/c6x/unwind-c6x.c: New file.
8459 * config/c6x/unwind-c6x.h: New file.
8460 * config/c6x/t-c6x-elf: New file.
8461
f70c879a
UB
84622011-08-23 Uros Bizjak <ubizjak@gmail.com>
8463
8464 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8465 (ASM_DIVZERO): Ditto.
8466 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8467
c55b374b
RS
84682011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8469
8470 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8471
1e138510
RS
84722011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8473
8474 PR target/50090
8475 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8476 instead of an assembly one.
8477
1563503d
PB
84782011-08-12 Paolo Bonzini <bonzini@gnu.org>
8479
8480 PR bootstrap/50047
8481 * Makefile.in (install-unwind_h): Create
8482 $(gcc_objdir)/include/unwind.h atomically.
8483
3627ac1a
RO
84842011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8485
8486 * Makefile.in (install-unwind_h): Remove destination file first.
8487
c6412d86
RO
84882011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8489
8490 * sync.c: New file.
8491 * config/mips/t-mips16: New file.
8492 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8493 (mips*-*-linux*): Likewise.
8494 (mips*-sde-elf*): Likewise.
8495 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8496 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8497 Add mips/t-mips16 to tmake_file.
8498 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8499 (mips-*-elf*): Likewise.
8500 (mips64-*-elf*): Likewise.
8501 (mips64orion-*-elf*): Likewise.
8502 (mips*-*-rtems*): Likewise.
8503 (mipstx39-*-elf*): Likewise.
8504 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8505 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8506 LIBGCC_SYNC_CFLAGS.
8507 Use $(srcdir) to refer to sync.c.
8508 Use $<.
8509 ($(libgcc-sync-funcs-o)): Likewise.
8510 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8511 ($(libgcc-sync-funcs-s-o)): Likewise.
8512
3cb6e5bd
AS
85132011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8514
8515 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8516 t-libunwind.
8517
cca2207a
L
85182011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8519
8520 PR other/48007
8521 * config/i386/value-unwind.h: New.
8522
ed39fbad
RS
85232011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8524
8525 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8526 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8527 Add to tmake_file rather than overriding it.
8528
aca0b0b3
RO
85292011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8530
8531 * config/t-softfp: Remove.
8532 * soft-fp: Moved from ../gcc/config.
8533 * soft-fp/README: Remove t-softfp reference.
8534 * soft-fp/t-softfp: Move to config/t-softfp.
8535 (softfp_machine_header): Remove.
8536 (softfp_file_list): Remove config subdir.
8537 (soft-fp-objects): New variable.
8538 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8539 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8540 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8541 * config/t-softfp-excl: New file.
8542 * config/t-softfp-sfdf: New file.
8543 * config/t-softfp-tf: New file.
8544 * config/no-sfp-machine.h: New file.
8545 * config/arm/sfp-machine.h: New file.
8546 * config/arm/t-softfp: New file.
8547 * config/c6x/sfp-machine.h: New file.
8548 * config/i386/32/t-fprules-softfp: Rename to ...
8549 * config/i386/32/t-softfp: ... this.
8550 (tifunctions, LIB2ADD): Remove.
8551 (softfp_int_modes): Override.
8552 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8553 subdir.
8554 * config/i386/64/eqtf2.c: Likewise.
8555 * config/i386/64/getf2.c: Likewise.
8556 * config/i386/64/letf2.c: Likewise.
8557 * config/ia64/sft-machine.h: New file.
8558 * config/ia64/t-fprules-softfp: Rename to ...
8559 * config/ia64/t-softfp: ... this.
8560 * config/lm32/sfp-machine.h: New file.
8561 * config/moxie/t-moxie-softfp: Remove.
8562 * config/rs6000/ibm-ldouble-format: New file.
8563 * config/rs6000/ibm-ldouble.c: New file.
8564 * config/rs6000/libgcc-ppc-glibc.ver: New file
8565 * config/rs6000/libgcc-ppc64.ver: New file
8566 * config/rs6000/sfp-machine.h: New file.
8567 * config/rs6000/t-freebsd: New file.
8568 * config/rs6000/t-ibm-ldouble: New file.
8569 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8570 libgcc-ppc-glibc.ver.
8571 * config/rs6000/t-linux64: New file.
8572 * config/rs6000/t-ppccomm (LIB2ADD): Add
8573 $(srcdir)/config/rs6000/ibm-ldouble.c.
8574 * config/rs6000/t-ppccomm-ldbl: New file.
8575 * config/score/sfp-machine.h: New file.
8576 * config.host (sfp_machine_header): Explain.
8577 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8578 t-softfp to tmake_file.
8579 (arm*-*-uclinux*): Likewise.
8580 (arm*-*-ecos-elf): Likewise.
8581 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8582 (arm*-*-rtems*): Likewise.
8583 (arm*-*-elf): Likewise.
8584 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8585 in tmake_file.
8586 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8587 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8588 (lm32-*-uclinux*): Likewise.
8589 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8590 t-softfp-excl, t-softfp.
8591 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8592 (powerpc64-*-darwin*): Likewise.
8593 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8594 to tmake_file.
8595 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8596 tmake_file.
8597 (powerpc-*-eabisim*): Likewise.
8598 (powerpc-*-elf*): Likewise.
8599 (powerpc-*-eabialtivec*): Likewise.
8600 (powerpc-xilinx-eabi*): Likewise.
8601 (powerpc-*-rtems*): Likewise.
8602 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8603 t-softfp-excl, t-softfp to tmake_file.
8604 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8605 rs6000/t-ppccomm-ldbl to tmake_file.
8606 (powerpcle-*-elf*): Likewise.
8607 (powerpcle-*-eabisim*): Likewise.
8608 (powerpcle-*-eabi*): Likewise.
8609 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8610 rs6000/t-ibm-ldouble to tmake_file.
8611 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8612 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8613 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8614 (tic6x-*-*): Likewise.
8615 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8616 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8617 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8618 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8619 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8620 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8621 t-softfp to tmake_file.
8622 * configure.ac (sfp_machine_header): Provide default if unset.
8623 Substitute.
8624 Link sfp-machine.h to config/$sfp_machine_header.
8625 * configure: Regenerate.
8626
569dc494
RO
86272011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8628
8629 * Makefile.in (double_type_size, long_double_type_size): Set.
8630 Remove $(fpbit-in-libgcc) support.
8631 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8632 (fpbit-src): New variable.
8633 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8634 Compile with -DFLOAT $(FPBIT_CFLAGS).
8635 Use $<.
8636 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8637 Compile with $(FPBIT_CFLAGS).
8638 Use $<.
8639 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8640 Compile with -DFLOAT $(TPBIT_CFLAGS).
8641 Use $<.
8642 * configure.ac (double_type_size, long_double_type_size):
8643 Determine and substitute.
8644 * configure: Regenerate.
8645 * fp-bit.c, fp-bit.h: New files.
8646 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8647 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8648 * config/mips/t-mips: New file.
8649 * config/mips/t-sdemtk: New file.
8650 * config/rs6000/ppc64-fp.c: New file.
8651 * config/rs6000/t-darwin (LIB2ADD): Add
8652 $(srcdir)/config/rs6000/ppc64-fp.c.
8653 * config/rs6000/t-ppc64-fp: New file.
8654 * config/rx/rx-lib.h: New file.
8655 * config/rx/t-rx (FPBIT): Set to true.
8656 ($(gcc_objdir)/fp-bit.c): Remove.
8657 (DPBIT): Set to true only with -m64bit-doubles.
8658 ($(gcc_objdir)/dp-bit.c): Remove.
8659 * config/sparc/t-softfp: Remove.
8660 * config/spu/t-elf: New file.
8661 * config/t-fdpbit, config/t-fpbit: New files.
8662 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8663 (mips*-*-*): Likewise.
8664 (arm-wrs-vxworks): Likewise.
8665 (arm*-*-freebsd*): Likewise.
8666 (avr-*-rtems*): Add t-fpbit to tmake_file.
8667 (avr-*-*): Likewise.
8668 (bfin*-elf*): Add t-fdpbit to tmake_file.
8669 (bfin*-uclinux*): Likewise.
8670 (bfin*-linux-uclibc*): Likewise.
8671 (bfin*-rtems*): New case.
8672 Add t-fdpbit to tmake_file.
8673 (bfin*-*): Add t-fdpbit to tmake_file.
8674 (crisv32-*-elf): Likewise.
8675 (cris-*-linux*): Likewise.
8676 (fr30-*-elf): Likewise.
8677 (frv-*-elf, frv-*-*linux*): Likewise.
8678 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8679 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8680 (m32r-*-elf*): Likewise.
8681 (m32rle-*-elf*): Likewise.
8682 (m32r-*-linux*): Likewise.
8683 (m32rle-*-linux*): Likewise.
8684 (mcore-*-elf): Add t-fdpbit to tmake_file.
8685 (microblaze*-*-*): Likewise.
8686 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8687 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8688 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8689 Fix typo.
8690 Add mips/t-tpbit to tmake-file.
8691 (mips*-*-linux*): Fix typo.
8692 (mips*-sde-elf*): New case
8693 Add mips/t-sdemtk unless using newlib.
8694 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8695 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8696 (mn10300-*-*): Likewise.
8697 (pdp11-*-*): Likewise.
8698 (picochip-*-*): Add t-fpbit to tmake_file.
8699 (powerpc-*-eabisimaltivec*): Likewise.
8700 (powerpc-*-eabisim*): Likewise.
8701 (powerpc-*-elf*): Likewise.
8702 (powerpc-*-eabialtivec*): Likewise.
8703 (powerpc-xilinx-eabi*): New case.
8704 Add t-fdpbit to tmake_file.
8705 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8706 (powerpc-*-rtems*): Likewise.
8707 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8708 tmake_file.
8709 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8710 tmake_file.
8711 (powerpc-*-lynxos*): Likewise.
8712 (powerpcle-*-elf*): Likewise.
8713 (powerpcle-*-eabisim*): Likewise.
8714 (powerpcle-*-eabi*): Likewise.
8715 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8716 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8717 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8718 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8719 (rx-*-elf): Add t-fdpbit to tmake_file.
8720 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8721 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8722 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8723 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8724 sh*-*-netbsd*.
8725 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8726 (sh-wrs-vxworks): Likewise.
8727 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8728 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8729 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8730 (sparc64-*-rtems*): ... new case.
8731 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8732 (spu-*-elf*): Likewise.
8733 Add spu/t-elf to tmake_file.
8734 (v850*-*-*): Add t-fdpbit to tmake_file.
8735 (xstormy16-*-elf): Likewise.
8736 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8737 (mep*-*-*): Likewise.
8738
201cdb74
RO
87392011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8740
8741 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8742 variables.
8743 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8744 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8745 (install-unwind_h): New target.
8746 (all): Depend on it.
8747 * config.host (unwind_header): New variable.
8748 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8749 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8750 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8751 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8752 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8753 Set unwind_header.
8754 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8755 Set unwind_header.
8756 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8757 arm*-*-eabi*.
8758 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8759 Set unwind_header.
8760 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8761 (ia64*-*-freebsd*): Likewise.
8762 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8763 tmake_file.
8764 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8765 $with_system_libunwind.
8766 (ia64*-*-hpux*): Set tmake_file.
8767 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8768 (picochip-*-*): Set tmake_file.
8769 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8770 md_unwind_header.
8771 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8772 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8773 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8774 (xtensa*-*-elf*): Set tmake_file.
8775 (xtensa*-*-linux*): Likewise.
8776 * configure.ac: Include ../config/unwind_ipinfo.m4.
8777 Call GCC_CHECK_UNWIND_GETIPINFO.
8778 Link unwind.h to $unwind_header.
8779 * configure: Regenerate.
8780 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8781 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8782 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8783 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8784 * config/unwind-dw2-fde-darwin.c: New file.
8785 * config/arm/libunwind.S, config/arm/pr-support.c,
8786 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8787 config/arm/unwind-arm.h,: New files.
8788 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8789 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8790 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8791 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8792 config/ia64/unwind-ia64.h: New files.
8793 * config/picochip/t-picochip: New file.
8794 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8795 files.
8796 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8797 * config/s390/t-tpf (LIB2ADDEH): Remove.
8798 * config/t-darwin (LIB2ADDEH): Set.
8799 * config/t-eh-dw2-dip: New file.
8800 * config/t-libunwind, config/t-libunwind-elf: New files.
8801 * config/t-sol2 (LIB2ADDEH): Remove.
8802 * config/xtensa/t-xtensa: New file.
8803
40f2f11f
L
88042011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8805
8806 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8807 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8808 long long to check rt_sigreturn syscall.
8809
bd15e32c
AM
88102011-08-02 Alan Modra <amodra@gmail.com>
8811
8812 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8813 Restore for indirect call bcrtl from correct stack slot, and only
8814 if cfa+40 isn't valid.
8815
655b30bf
JB
88162011-08-01 Julian Brown <julian@codesourcery.com>
8817
8818 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8819 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8820 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8821
247eb06f
JB
88222011-08-01 Julian Brown <julian@codesourcery.com>
8823
8824 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8825 (libgcc-std.ver.in): Use above.
8826 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8827 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8828 throughout file.
8829 * config/t-fixedpoint-gnu-prefix: New file.
8830 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8831 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8832 instead of __PFX__.
8833
02a8fe00
L
88342011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8835
8836 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8837 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8838 for x86-64. Properly check __x86_64__ and __LP64__.
8839
5fce9126
L
88402010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8841
8842 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8843 version.
8844 (_FP_WS_TYPE): Likewise.
8845 (_FP_I_TYPE): Likewise.
8846
2374a88a
AM
88472011-07-28 Alan Modra <amodra@gmail.com>
8848
8849 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8850 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8851 in a plt call stub. Do restore r2 if stopped on bctrl.
8852
e44dbbe1
RO
88532011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8854
8855 * config.host (i[3456x]86-*-netware*): Remove.
8856 * config/i386/netware-crt0.c, config/i386/t-nwld,
8857 config/i386/t-slibgcc-nwld: Remove.
8858
bcead286
BS
88592011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8860
8861 * config.host: Handle tic6x-*-*.
8862 * config/c6x/c6x-abi.h: New file.
8863
b3fe1584
RO
88642011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8865
8866 * config/i386/crtprec.c: New file.
8867 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8868 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8869 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8870 (x86_64-*-darwin*): Likewise.
8871 (i[34567]86-*-solaris2*: Likewise.
8872
35d8090d
RO
88732011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8874
8875 * config/alpha/crtfastmath.c: New file.
8876 * config/i386/crtfastmath.c: New file.
8877 * config/ia64/crtfastmath.c: New file.
8878 * config/mips/crtfastmath.c: New file.
8879 * config/sparc/crtfastmath.c: New file.
8880
8881 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8882 crtfastmath.c.
8883 Add -frandom-seed=gcc-crtfastmath.
8884 * config/alpha/t-crtfm: Remove.
8885 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8886 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8887
8888 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8889 (alpha*-dec-osf5.1*): Likewise.
8890 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8891 Add crtfastmath.o to extra_parts.
8892 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8893 Add crtfastmath.o to extra_parts.
8894 (x86_64-*-darwin*): Likewise.
8895 (x86_64-*-mingw*): Likewise.
8896 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8897 (ia64*-*-freebsd*): Likewise.
8898 (ia64*-*-linux*): Likewise.
8899 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8900 Add crtfastmath.o to extra_parts.
8901
e141542e
RO
89022011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8903
8904 * config/darwin-crt3.o: New file.
8905 * config/rs6000/darwin-crt2.c: New file.
8906 * config/t-darwin: New file.
8907 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8908 (crt2.o): New rule.
8909 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8910 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8911 (powerpc64-*-darwin*): Likewise.
8912
2d1efe2d
RO
89132011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8914
8915 * config/i386/netware-crt0.c: New file.
8916 * config/i386/t-nwld: Rename to ...
8917 * config/i386/t-slibgcc-nwld: ... this.
8918 * config/i386/t-nwld: New file.
8919 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8920 tmake_file.
8921 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8922 extra_parts.
8923
4a8bb046
RO
89242011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8925
8926 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8927 i386/t-crtstuff.
8928 * configure: Regenerate.
8929
2d8d5935
RO
89302011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8931
8932 * dfp-bit.c, dfp-bit.h: New files.
8933 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8934 variables.
8935 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8936 ($(d64pbit-o)): Likewise.
8937 ($(d128pbit-o)): Likewise.
8938 * config/t-dfprules: New file.
8939 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8940 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8941 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8942 (x86_64-*-linux*): Likewise.
8943 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8944 (i[34567]86-*-cygwin*): Likewise.
8945 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8946 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8947
2c50b2c3
RO
89482011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8949
8950 * Makfile.in (LIBGCOV): New variable.
8951 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
8952 * libgcov.c: New file.
8953
a039d7c2
RO
89542011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8955
8956 * fixed-bit.c, fixed-bit.h: New files.
8957 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
8958 refer to fixed-bit.c.
8959
1e4b2746
JM
89602011-07-07 Joseph Myers <joseph@codesourcery.com>
8961
8962 * config.host (*local*): Remove.
8963
fbdd5d87
RO
89642011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8965
8966 PR target/39150
8967 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
8968 like i?86-*-solaris2.1[0-9]*.
8969 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
8970 * configure.ac (i?86-*-solaris2*): Likewise.
8971 * configure: Regenerate.
8972
9e7714f4
TS
89732011-07-06 Thomas Schwinge <thomas@schwinge.name>
8974
8975 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8976 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
8977 md_unwind_header by splitting out of...
8978 (i[34567]86-*-linux*): ... this.
8979 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
8980 Remove md_unwind_header by splitting out of...
8981 (x86_64-*-linux*): ... this.
8982
6dab9931
GJL
89832011-07-04 Georg-Johann Lay <avr@gjlay.de>
8984
8985 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
8986
4be46d19
NC
89872011-06-28 Nick Clifton <nickc@redhat.com>
8988
8989 * config.host: Recognize all V850 variants.
8990
1da9434b
UB
89912011-06-22 Uros Bizjak <ubizjak@gmail.com>
8992
8993 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
8994
e4d48a4d
RO
89952011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8996
8997 * shared-object.mk (c_flags-$o): Save c_flags.
8998 ($(base)$(objext)): Use it.
8999 ($(base)_s$(objext)): Likewise.
9000
3801c801
BS
90012011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9002
9003 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9004 * libgcc-std.ver.in (GCC_4.7.0): New section.
9005
0ad8bb3b 90062011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9007
0ad8bb3b
GJL
9008 PR target/49313
9009 PR target/29524
9010 * config/avr/t-avr: Fix line endings.
9011 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9012 _parityXX2.
9013
ea963999
OH
90142011-06-14 Olivier Hainque <hainque@adacore.com>
9015 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9016
9017 * config/mips/irix6-unwind.h: New file.
9018 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9019
b11b0904
EB
90202011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9021
9022 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9023 (sparc64_fallback_frame_state): Use it.
9024 (sparc64_frob_update_context): Further adjust context.
9025 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9026 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9027 * config/sparc/sol2-cn.S: Likewise.
9028
10e48e39
RO
90292011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9030
9031 * enable-execute-stack-empty.c: New file.
9032 * enable-execute-stack-mprotect.c: New file.
9033 * config/i386/enable-execute-stack-mingw32.c: New file.
9034 * config.host (enable_execute_stack): New variable.
9035 Select appropriate variants.
9036 * configure.ac: Link enable-execute-stack.c to
9037 $enable_execute_stack.
9038 * configure: Regenerate.
9039 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9040 (lib2funcs): Remove _enable_execute_stack.
9041
10c4cabc
DM
90422011-06-09 David S. Miller <davem@davemloft.net>
9043 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9044
9045 * config.host (sparc-*-linux*): Correct md_unwind_header
9046 filename.
9047 (s390x-ibm-tpf*): Fix typo.
9048
aa4203e7
RO
90492011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9050
9051 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9052 Add crtfastmath.o to extra_parts.
9053 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9054 mips/t-crtfm.
9055 * config/mips/t-crtfm: Remove.
9056
0defd786
JDA
90572011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9058
9059 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9060
82f247af
KK
90612011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9062
9063 * config.host (sh*-*-linux*): Fix typo.
9064
58cd1d70
RO
90652011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9066
9067 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9068 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9069 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9070 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9071 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9072 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9073 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9074 Wrap in !__MINGW64__.
9075 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9076 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9077 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9078 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9079 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9080 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9081 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9082 Wrap in !__LP64__.
9083 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9084 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9085 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9086 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9087 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9088 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9089 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9090 * config/no-unwind.h: New file.
9091 * config.host (md_unwind_header): Document.
9092 Define.
9093 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9094 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9095 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9096 hppa[12]*-*-hpux11*): Set md_unwind_header.
9097 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9098 Set md_unwind_header.
9099 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9100 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9101 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9102 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9103 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9104 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9105 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9106 md_unwind_header.
9107 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9108 * configure: Regenerate.
9109
737346fa
RO
91102011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9111
9112 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9113 Set tmake_file, extra_parts.
9114 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9115 Remove O32 support.
9116 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9117 Remove O32 support.
9118 * config/mips/t-irix6: New file.
9119 * config/mips/t-slibgcc-irix: New file.
9120
c192cee6
RO
91212011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9122
9123 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9124 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9125
ee33b5f0
RO
91262011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9127
9128 * configure.ac (target_thread_file): Determine thread model.
9129 * configure: Regenerate.
9130 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9131 * config/alpha/t-alpha: New file.
9132 * config/alpha/t-crtfm: Use $<.
9133 * config/alpha/t-ieee: New file.
9134 * config/alpha/t-osf-pthread: New file.
9135 * config/alpha/t-slibgcc-osf: New file.
9136 * config/alpha/libgcc-osf5.ver: New file.
9137
0699e415
RO
91382011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9139
9140 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9141 tmake_file.
9142 Add crtfastmath.o to extra_parts.
9143
a3fab9c2
RO
91442011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9145
9146 * config/gmon-sol2.c: Reindent.
9147 Cleanup comments.
9148 Remove, correct casts.
9149 Use STDERR_FILENO, NULL.
9150 (BASEADDRESS): Remove.
9151 (minbrk): Remove.
9152 (errno, sbrk): Remove declarations.
9153 (monstartup) [hp300]: Remove.
9154 (mcount): Remove.
9155
ca24c5ad
RO
91562011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9157
9158 * Makefile.in (cpu_type): Define.
9159 * config.host (i[34567]86-*-rtems*): Handle it.
9160 (i[34567]86-*-solaris2*): Move body ...
9161 (*-*-solaris2*): ... here.
9162 New case, generalize.
9163 (sparc-*-elf*): Handle it.
9164 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9165 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9166 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9167 Fold into ...
9168 (sparc*-*-solaris2*): ... this.
9169 New case.
9170 (sparc64-*-elf*): Handle it.
9171 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9172 Merge ../gcc/config/i386/gmon-sol2.c.
9173 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9174 Use C comments.
9175 Merge ../gcc/config/i386/sol2-gc1.asm.
9176 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9177 Use C comments.
9178 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9179 Use C comments.
9180 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9181 * config/i386/t-crtstuff: New file.
9182 * config/i386/t-softfp: New file.
9183 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9184 $(T)crti.o, $(T)crtn.o): Remove.
9185 (gcrt1.o): New rule.
9186 (TARGET_LIBGCC2_CFLAGS): Remove.
9187 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9188 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9189 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9190 * config/sparc/t-sol2: New file.
9191 * config/sparc/t-crtfm: Move to ...
9192 * config/t-crtfm: ... this.
9193 Use $(cpu_type), $<.
9194 * config/t-crtin: New file.
9195 * config/sparc/t-softfp: New file.
9196 * config/sparc/t-softmul: New file.
9197 * config/t-rtems: New file.
9198 * config/t-slibgcc: New file.
9199 * config/t-slibgcc-elf-ver: New file.
9200 * config/t-slibgcc-gld: New file.
9201 * config/t-slibgcc-sld: New file.
9202 * config/t-sol2: New file.
9203 * configure.ac: Include ../config/lib-ld.m4.
9204 Call AC_LIB_PROG_LD_GNU.
9205 Substitute cpu_type.
9206 * configure: Regenerate.
9207
ad5f3d7b
BS
92082011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9209
9210 PR bootstrap/49173
9211 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9212 libgcc-std.ver in the build directory.
9213 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9214 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9215
cdbf4541
BS
92162011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9217
9218 * libgcc-std.ver.in: New file.
9219 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9220 variables.
9221 (libgcc-std.ver): New rule.
9222 * config/t-gnu-prefix: New file.
9223
c8028650
RO
92242011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9225
9226 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9227
4a68b4ca
JM
92282011-05-10 Joseph Myers <joseph@codesourcery.com>
9229
9230 * config/i386/darwin-lib.h: New file.
9231
80cf2e08
JM
92322011-05-10 Joseph Myers <joseph@codesourcery.com>
9233
9234 * config/arm/symbian-lib.h: New.
9235
a3330c9d
CD
92362011-05-04 Chris Demetriou <cgd@google.com>
9237
9238 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9239 (__x86.get_pc_thunk.bx): ...this.
9240 (__morestack): Adjust for rename, remove undef of __i686.
9241
6ace0756
CD
92422011-05-03 Chris Demetriou <cgd@google.com>
9243
9244 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9245
ebb9f8b0
JM
92462011-03-22 Joseph Myers <joseph@codesourcery.com>
9247
9248 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9249 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9250 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9251 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9252 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9253 Remove cases.
9254
9cfa1499
AT
92552011-03-14 Andreas Tobler <andreast@fgznet.ch>
9256
9257 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9258 Adjust copyright year.
9259
457186f6
ILT
92602011-03-07 Ian Lance Taylor <iant@google.com>
9261
9262 * generic-morestack.c (__splitstack_find): Adjust returned stack
9263 pointer to include all registers pushed by __morestack.
9264
58c741a6
DK
92652011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9266
9267 PR target/40125
9268 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9269 (toolexecdir): Calculate and AC_SUBST.
9270 (toolexeclibdir): Likewise.
9271 * Makefile.in (target_noncanonical): Import.
9272 (toolexecdir): Likewise.
9273 (toolexeclibdir): Likewise.
9274 * configure: Regenerate.
9275
26716c44
NF
92762010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9277
9278 PR target/46040
9279 * config/arm/bpabi.h: Rename to...
9280 * config/arm/bpabi-lib.h: ...this.
9281
b595b1a1
RO
92822010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9283
9284 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9285 appropriate.
9286 * configure: Regenerate.
9287
a3abe41c
NF
92882010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9289
9290 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9291 __FLOAT_WORD_ORDER__.
9292 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9293 Delete.
9294
455c8f48
RW
92952010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9296
9297 PR other/46202
9298 * Makefile.in (install-strip): New phony target.
9299
f3824a8b
ILT
93002010-11-07 Ian Lance Taylor <iant@google.com>
9301
9302 PR target/46089
9303 * config/i386/morestack.S (__morestack_large_model): New
9304 function.
9305
18ed6ee4
NF
93062010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9307
9308 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9309 Delete.
9310 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9311
8ac7fdcb
NF
93122010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9313
9314 * config/arm/bpabi.h: New file.
9315 * config/frv/frv-abi.h: New file.
9316
cdb388c2
ILT
93172010-10-01 Ian Lance Taylor <iant@google.com>
9318
9319 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9320 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9321
ef7c141c
L
93222010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9323
9324 PR target/45858
9325 * config.host: Add the missing `$'.
9326
80920132
ME
93272010-09-30 Michael Eager <eager@eagercon.com>
9328
9329 * config.host: Add microblaze*-*-*.
9330 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9331 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9332 udivsi3.asm,umodsi3.asm}: New.
9333
6dace308
ILT
93342010-09-28 Ian Lance Taylor <iant@google.com>
9335
9336 * configure.ac: Adjust CFI test to test assembler directly rather
9337 than checking gcc preprocessor macro.
9338 * configure: Rebuild.
9339
b6110d6d
ILT
93402010-09-27 Ian Lance Taylor <iant@google.com>
9341
9342 * configure.ac: Test whether assembler supports CFI directives.
9343 * config.host: Only add t-stack and i386/t-stack-i386 to
9344 tmake_file if libgcc_cv_cfi is "yes".
9345 * configure: Rebuild.
9346
7458026b
ILT
93472010-09-27 Ian Lance Taylor <iant@google.com>
9348
9349 * generic-morestack.h: New file.
9350 * generic-morestack.c: New file.
9351 * generic-morestack-thread.c: New file.
9352 * config/i386/morestack.S: New file.
9353 * config/t-stack: New file.
9354 * config/i386/t-stack-i386: New file.
9355 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9356 i386/t-stack-i386 to tmake_file.
9357
5b50fc0c
IS
93582010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9359
9360 * Makefile.in (libgcc-extra-parts): Check for static archives and
9361 invoke ranlib after installing them.
9362 (gcc-extra-parts): Likewise.
9363 (install-leaf): Likewise.
9364
b93cf342
L
93652010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9366
9367 * configure: Regenerated.
9368
996b42ef
KT
93692010-09-10 Kai Tietz <kai.tietz@onevision.com>
9370
b93cf342 9371 * configure: Regenerated.
996b42ef 9372
be1c764e
GP
93732010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9374 Andrew Pinski <pinskia@gmail.com>
9375
1da9434b 9376 PR target/40959
be1c764e
GP
9377 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9378
cc0ae0ca
L
93792010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9380
9381 PR target/45524
9382 * configure: Regenerated.
9383
84f47d20
AS
93842010-09-06 Andreas Schwab <schwab@redhat.com>
9385
9386 * configure: Regenerate.
9387
4159fb8d
UB
93882010-09-03 Uros Bizjak <ubizjak@gmail.com>
9389
9390 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9391 64bit targets.
9392 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9393 for 64bit targets.
9394
0df8fcc8
UB
93952010-09-03 Uros Bizjak <ubizjak@gmail.com>
9396 Iain Sandoe <iains@gcc.gnu.org>
9397
9398 PR target/45476
9399 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9400 LIB2FUNCS_EXCLUDE functions.
9401
3c39bca6
AK
94022010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9403
9404 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9405 Include dfp.m4.
9406 * configure: Regenerate.
9407
d78552bd
UB
94082010-09-01 Uros Bizjak <ubizjak@gmail.com>
9409
9410 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9411 i386/t-freebsd to tmake_file.
9412 * config/i386/t-freebsd: New file.
9413 * config/i386/libgcc-bsd.ver: New file.
9414
c5b79d4e
NF
94152010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9416
9417 * config.host (powerpc*-eabispe*): Set tmake_file.
9418 (powerpc*-eabi*): Likewise.
9419 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9420 crtbeginS, crtendS, crtbeginT.
9421
48b09a92
KH
94222010-06-12 Kazu Hirata <kazu@codesourcery.com>
9423
9424 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9425 to tmake_file. Add crtfastmath.o to extra_parts.
9426 * config/mips/t-crtfm: New.
9427
7d296953 94282010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9429
9430 * config.host (sparc64-*-rtems*): New target.
9431
ed104137
RO
94322010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9433
9434 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9435 assembler syntax.
9436
3f56ef8b
TS
94372010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9438
9439 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9440
8c200350
RO
94412010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9442
9443 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9444 alpha-dec-osf5.0* support.
9445
7d296953 94462010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9447
9448 * config.host: Add lm32-*-rtems*.
9449
f128db92 94502010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9451 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9452
9453 PR target/39048
9454 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9455 like other remaining 32-bit x86 OSes.
9456 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9457 assembler syntax.
9458 * config/i386/libgcc-sol2.ver: New file.
9459 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9460
7d296953 94612010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9462
9463 PR c/43553
9464 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9465 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9466 is used and substitute set_use_emutls.
9467 * configure: Regenerated.
9468
15baf7f8
TG
94692010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9470
9471 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9472
7f5441df
RO
94732010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9474
9475 PR target/38085
9476 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9477 MULTILIB_CFLAGS.
9478 ($(T)gcrt1.o): Likewise.
9479 ($(T)crt1.o): Likewise.
9480 ($(T)crti.o): Likewise.
9481 ($(T)crtn.o): Likewise.
9482
ef74edbd
RW
94832010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9484
9485 PR other/42980
9486 * Makefile.in (install): Use $(MAKE) string in rule, for
9487 parallel make.
9488
e7c914db
HPN
94892010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9490
9491 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9492 * config/mmix/t-mmix: New file.
9493 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9494
1bcb71c4
JH
94952010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9496
9497 PR java/41991
9498 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9499 SHLIB_MAPFILES.
9500
e6e50811
AG
95012010-01-04 Anthony Green <green@moxielogic.com>
9502
9503 * config/moxie/crti.asm, config/moxie/crtn.asm,
9504 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9505 config/moxie/t-moxie: New files.
9506 * config.host: Add t-moxie-softfp reference.
9507
7d296953 95082009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9509
9510 PR other/39888
9511 * config/t-slibgcc-darwin: Fix embedded rpaths for
9512 --enable-version-specific-runtime-libs, build extension stub
9513 libs exposing features available from current libgcc_s.
9514
7d296953 95152009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9516
d78552bd
UB
9517 * config.host: Add lm32 targets.
9518 * config/lm32: New directory.
9519 * config/lm32/libgcc_lm32.h: New file.
9520 * config/lm32/_mulsi3.c: New file.
9521 * config/lm32/_udivmodsi4.c: New file.
9522 * config/lm32/_divsi3.c: New file.
9523 * config/lm32/_modsi3.c: New file.
9524 * config/lm32/_udivsi3.c: New file.
9525 * config/lm32/_umodsi3.c: New file.
9526 * config/lm32/_lshrsi3.S: New file.
9527 * config/lm32/_ashrsi3.S: New file.
9528 * config/lm32/_ashlsi3.S: New file.
9529 * config/lm32/crti.S: New file.
9530 * config/lm32/crtn.S: New file.
9531 * config/lm32/t-lm32: New file.
9532 * config/lm32/t-elf: New file.
9533 * config/lm32/t-uclinux: New file.
aa4945c1 9534
65a324b4
NC
95352009-10-26 Nick Clifton <nickc@redhat.com>
9536
9537 * config.host: Add support for RX target.
9538 * config/rx: New directory.
9539 * config/rx/rx-abi-functions.c: New file. Supplementary
9540 functions for libgcc to support the RX ABI.
9541 * config/rx/rx-abi.h: New file. Supplementary header file for
9542 libgcc RX ABI functions.
9543 * config/rx/t-rx: New file: Makefile fragment for building
9544 libgcc for the RX.
9545
dfb3b0e3
UB
95462009-10-09 Uros Bizjak <ubizjak@gmail.com>
9547
9548 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9549 constraint of y0 to "g".
9550
81dd9fd7
AK
95512009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9552
9553 * config.host: Include the s390 makefile fragments.
9554 * config/s390/32/_fixdfdi.c: New file.
9555 * config/s390/32/_fixsfdi.c: New file.
9556 * config/s390/32/_fixtfdi.c: New file.
9557 * config/s390/32/_fixunsdfdi.c: New file.
9558 * config/s390/32/_fixunssfdi.c: New file.
9559 * config/s390/32/_fixunstfdi.c: New file.
9560 * config/s390/32/t-floattodi: New file.
9561 * config/s390/libgcc-glibc.ver: New file.
9562 * config/s390/t-crtstuff: New file.
9563 * config/s390/t-linux: New file.
9564 * config/s390/t-tpf: New file.
9565
df58e648
RW
95662009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9567
9568 * configure.ac (AC_PREREQ): Bump to 2.64.
9569
79052be3
KK
95702009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9571
9572 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9573
5213506e
RW
95742009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9575
9576 * configure: Regenerate.
9577
a9a25daa
DR
95782009-08-09 Douglas B Rupp <rupp@gnat.com>
9579
9580 * config.host (ia64-hp-*vms*): New target.
9581 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9582 with ia64-hp-*vms*.
9583
6efbd53f
RW
95842009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9585
9586 * configure.ac: Add snippet for maintainer-mode.
9587 * configure: Regenerate.
9588 * Makefile.in (AUTOCONF, configure_deps): New variables.
9589 ($(srcdir)/configure)): New rule, active only with maintainer
9590 mode turned on.
9591
7acf4da6
DD
95922009-06-23 DJ Delorie <dj@redhat.com>
9593
9594 Add MeP port.
9595 * config.host: Add mep support.
9596
54f549af
KT
95972009-06-22 Kai Tietz <kai.tietz@onevision.com>
9598
34481f28 9599 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9600 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9601
9602 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9603 for mingw targets.
54f549af
KT
9604 * config/i386/64/_multc3.c: Likewise.
9605 * config/i386/64/_powitf2.c: Likewise.
9606 * config/i386/64/eqtf2.c: Likewise.
9607 * config/i386/64/getf2.c: Likewise.
9608 * config/i386/64/letf2.c: Likewise.
9609 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9610 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9611 unsigned long long for x64 mingw targets.
9612 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9613 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9614
fea96e25
MR
96152009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9616
9617 * config.host (vax-*-linux*): New.
9618
cceb575c
AG
96192009-05-31 Anthony Green <green@moxielogic.com>
9620
9621 * config.host: Add moxie support.
9622 * config/moxie/t-moxie: New file.
9623
7d296953 96242009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9625
9626 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9627 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9628
532bfb0a
AJ
96292009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9630
9631 * config.host: Add i386/${host_address}/t-fprules-softfp to
9632 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9633
748086b7
JJ
96342009-04-09 Nick Clifton <nickc@redhat.com>
9635
9636 * config/ia64/tf-signs.c: Change copyright header to refer to
9637 version 3 of the GNU General Public License with version 3.1
9638 of the GCC Runtime Library Exception and to point readers at
9639 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9640 web page.
9641 * config/i386/32/tf-signs.c: Likewise.
9642 * config/libbid/_addsub_dd.c: Likewise.
9643 * config/libbid/_addsub_sd.c: Likewise.
9644 * config/libbid/_addsub_td.c: Likewise.
9645 * config/libbid/_dd_to_df.c: Likewise.
9646 * config/libbid/_dd_to_di.c: Likewise.
9647 * config/libbid/_dd_to_sd.c: Likewise.
9648 * config/libbid/_dd_to_sf.c: Likewise.
9649 * config/libbid/_dd_to_si.c: Likewise.
9650 * config/libbid/_dd_to_td.c: Likewise.
9651 * config/libbid/_dd_to_tf.c: Likewise.
9652 * config/libbid/_dd_to_udi.c: Likewise.
9653 * config/libbid/_dd_to_usi.c: Likewise.
9654 * config/libbid/_dd_to_xf.c: Likewise.
9655 * config/libbid/_df_to_dd.c: Likewise.
9656 * config/libbid/_df_to_sd.c: Likewise.
9657 * config/libbid/_df_to_td.c: Likewise.
9658 * config/libbid/_di_to_dd.c: Likewise.
9659 * config/libbid/_di_to_sd.c: Likewise.
9660 * config/libbid/_di_to_td.c: Likewise.
9661 * config/libbid/_div_dd.c: Likewise.
9662 * config/libbid/_div_sd.c: Likewise.
9663 * config/libbid/_div_td.c: Likewise.
9664 * config/libbid/_eq_dd.c: Likewise.
9665 * config/libbid/_eq_sd.c: Likewise.
9666 * config/libbid/_eq_td.c: Likewise.
9667 * config/libbid/_ge_dd.c: Likewise.
9668 * config/libbid/_ge_sd.c: Likewise.
9669 * config/libbid/_ge_td.c: Likewise.
9670 * config/libbid/_gt_dd.c: Likewise.
9671 * config/libbid/_gt_sd.c: Likewise.
9672 * config/libbid/_gt_td.c: Likewise.
9673 * config/libbid/_isinfd128.c: Likewise.
9674 * config/libbid/_isinfd32.c: Likewise.
9675 * config/libbid/_isinfd64.c: Likewise.
9676 * config/libbid/_le_dd.c: Likewise.
9677 * config/libbid/_le_sd.c: Likewise.
9678 * config/libbid/_le_td.c: Likewise.
9679 * config/libbid/_lt_dd.c: Likewise.
9680 * config/libbid/_lt_sd.c: Likewise.
9681 * config/libbid/_lt_td.c: Likewise.
9682 * config/libbid/_mul_dd.c: Likewise.
9683 * config/libbid/_mul_sd.c: Likewise.
9684 * config/libbid/_mul_td.c: Likewise.
9685 * config/libbid/_ne_dd.c: Likewise.
9686 * config/libbid/_ne_sd.c: Likewise.
9687 * config/libbid/_ne_td.c: Likewise.
9688 * config/libbid/_sd_to_dd.c: Likewise.
9689 * config/libbid/_sd_to_df.c: Likewise.
9690 * config/libbid/_sd_to_di.c: Likewise.
9691 * config/libbid/_sd_to_sf.c: Likewise.
9692 * config/libbid/_sd_to_si.c: Likewise.
9693 * config/libbid/_sd_to_td.c: Likewise.
9694 * config/libbid/_sd_to_tf.c: Likewise.
9695 * config/libbid/_sd_to_udi.c: Likewise.
9696 * config/libbid/_sd_to_usi.c: Likewise.
9697 * config/libbid/_sd_to_xf.c: Likewise.
9698 * config/libbid/_sf_to_dd.c: Likewise.
9699 * config/libbid/_sf_to_sd.c: Likewise.
9700 * config/libbid/_sf_to_td.c: Likewise.
9701 * config/libbid/_si_to_dd.c: Likewise.
9702 * config/libbid/_si_to_sd.c: Likewise.
9703 * config/libbid/_si_to_td.c: Likewise.
9704 * config/libbid/_td_to_dd.c: Likewise.
9705 * config/libbid/_td_to_df.c: Likewise.
9706 * config/libbid/_td_to_di.c: Likewise.
9707 * config/libbid/_td_to_sd.c: Likewise.
9708 * config/libbid/_td_to_sf.c: Likewise.
9709 * config/libbid/_td_to_si.c: Likewise.
9710 * config/libbid/_td_to_tf.c: Likewise.
9711 * config/libbid/_td_to_udi.c: Likewise.
9712 * config/libbid/_td_to_usi.c: Likewise.
9713 * config/libbid/_td_to_xf.c: Likewise.
9714 * config/libbid/_tf_to_dd.c: Likewise.
9715 * config/libbid/_tf_to_sd.c: Likewise.
9716 * config/libbid/_tf_to_td.c: Likewise.
9717 * config/libbid/_udi_to_dd.c: Likewise.
9718 * config/libbid/_udi_to_sd.c: Likewise.
9719 * config/libbid/_udi_to_td.c: Likewise.
9720 * config/libbid/_unord_dd.c: Likewise.
9721 * config/libbid/_unord_sd.c: Likewise.
9722 * config/libbid/_unord_td.c: Likewise.
9723 * config/libbid/_usi_to_dd.c: Likewise.
9724 * config/libbid/_usi_to_sd.c: Likewise.
9725 * config/libbid/_usi_to_td.c: Likewise.
9726 * config/libbid/_xf_to_dd.c: Likewise.
9727 * config/libbid/_xf_to_sd.c: Likewise.
9728 * config/libbid/_xf_to_td.c: Likewise.
9729 * config/libbid/bid128.c: Likewise.
9730 * config/libbid/bid128_2_str.h: Likewise.
9731 * config/libbid/bid128_2_str_macros.h: Likewise.
9732 * config/libbid/bid128_2_str_tables.c: Likewise.
9733 * config/libbid/bid128_add.c: Likewise.
9734 * config/libbid/bid128_compare.c: Likewise.
9735 * config/libbid/bid128_div.c: Likewise.
9736 * config/libbid/bid128_fma.c: Likewise.
9737 * config/libbid/bid128_logb.c: Likewise.
9738 * config/libbid/bid128_minmax.c: Likewise.
9739 * config/libbid/bid128_mul.c: Likewise.
9740 * config/libbid/bid128_next.c: Likewise.
9741 * config/libbid/bid128_noncomp.c: Likewise.
9742 * config/libbid/bid128_quantize.c: Likewise.
9743 * config/libbid/bid128_rem.c: Likewise.
9744 * config/libbid/bid128_round_integral.c: Likewise.
9745 * config/libbid/bid128_scalb.c: Likewise.
9746 * config/libbid/bid128_sqrt.c: Likewise.
9747 * config/libbid/bid128_string.c: Likewise.
9748 * config/libbid/bid128_to_int16.c: Likewise.
9749 * config/libbid/bid128_to_int32.c: Likewise.
9750 * config/libbid/bid128_to_int64.c: Likewise.
9751 * config/libbid/bid128_to_int8.c: Likewise.
9752 * config/libbid/bid128_to_uint16.c: Likewise.
9753 * config/libbid/bid128_to_uint32.c: Likewise.
9754 * config/libbid/bid128_to_uint64.c: Likewise.
9755 * config/libbid/bid128_to_uint8.c: Likewise.
9756 * config/libbid/bid32_to_bid128.c: Likewise.
9757 * config/libbid/bid32_to_bid64.c: Likewise.
9758 * config/libbid/bid64_add.c: Likewise.
9759 * config/libbid/bid64_compare.c: Likewise.
9760 * config/libbid/bid64_div.c: Likewise.
9761 * config/libbid/bid64_fma.c: Likewise.
9762 * config/libbid/bid64_logb.c: Likewise.
9763 * config/libbid/bid64_minmax.c: Likewise.
9764 * config/libbid/bid64_mul.c: Likewise.
9765 * config/libbid/bid64_next.c: Likewise.
9766 * config/libbid/bid64_noncomp.c: Likewise.
9767 * config/libbid/bid64_quantize.c: Likewise.
9768 * config/libbid/bid64_rem.c: Likewise.
9769 * config/libbid/bid64_round_integral.c: Likewise.
9770 * config/libbid/bid64_scalb.c: Likewise.
9771 * config/libbid/bid64_sqrt.c: Likewise.
9772 * config/libbid/bid64_string.c: Likewise.
9773 * config/libbid/bid64_to_bid128.c: Likewise.
9774 * config/libbid/bid64_to_int16.c: Likewise.
9775 * config/libbid/bid64_to_int32.c: Likewise.
9776 * config/libbid/bid64_to_int64.c: Likewise.
9777 * config/libbid/bid64_to_int8.c: Likewise.
9778 * config/libbid/bid64_to_uint16.c: Likewise.
9779 * config/libbid/bid64_to_uint32.c: Likewise.
9780 * config/libbid/bid64_to_uint64.c: Likewise.
9781 * config/libbid/bid64_to_uint8.c: Likewise.
9782 * config/libbid/bid_b2d.h: Likewise.
9783 * config/libbid/bid_binarydecimal.c: Likewise.
9784 * config/libbid/bid_conf.h: Likewise.
9785 * config/libbid/bid_convert_data.c: Likewise.
9786 * config/libbid/bid_decimal_data.c: Likewise.
9787 * config/libbid/bid_decimal_globals.c: Likewise.
9788 * config/libbid/bid_div_macros.h: Likewise.
9789 * config/libbid/bid_dpd.c: Likewise.
9790 * config/libbid/bid_flag_operations.c: Likewise.
9791 * config/libbid/bid_from_int.c: Likewise.
9792 * config/libbid/bid_functions.h: Likewise.
9793 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9794 * config/libbid/bid_inline_add.h: Likewise.
9795 * config/libbid/bid_internal.h: Likewise.
9796 * config/libbid/bid_round.c: Likewise.
9797 * config/libbid/bid_sqrt_macros.h: Likewise.
9798
97992009-04-09 Jakub Jelinek <jakub@redhat.com>
9800
9801 * Makefile.in: Change copyright header to refer to version
9802 3 of the GNU General Public License and to point readers at the
9803 COPYING3 file and the FSF's license web page.
9804 * config.host: Likewise.
9805
633dd061
AM
98062009-04-07 Alan Modra <amodra@bigpond.net.au>
9807
9808 * config.host: Reorder and merge to match config.gcc change.
9809
457d1d00
AM
98102009-04-03 Alan Modra <amodra@bigpond.net.au>
9811
9812 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9813
52c0e446
JM
98142009-03-28 Joseph Myers <joseph@codesourcery.com>
9815
9816 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9817 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9818 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9819 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9820
ba181049
UB
98212009-02-12 Uros Bizjak <ubizjak@gmail.com>
9822
9823 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9824 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9825
c252db20
L
98262009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9827
ba181049
UB
9828 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9829 ia64/t-softfp-compat to tmake_file.
c252db20
L
9830
9831 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9832
9833 * config/ia64/__divxf3.asm: New.
9834 * config/ia64/_fixtfdi.asm: Likewise.
9835 * config/ia64/_fixunstfdi.asm: Likewise.
9836 * config/ia64/_floatditf.asm: Likewise.
9837 * config/ia64/t-fprules-softfp: Likewise.
9838 * config/ia64/t-softfp-compat: Likewise.
9839 * config/ia64/tf-signs.c: Likewise.
9840
c60535f9
BE
98412009-01-18 Ben Elliston <bje@au.ibm.com>
9842
9843 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9844
ce16861e
BE
98452009-01-16 Ben Elliston <bje@au.ibm.com>
9846
9847 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9848 to tmake_file.
9849
bcf4713b
BE
98502009-01-13 Ben Elliston <bje@au.ibm.com>
9851
9852 * config/t-softfp: New file.
9853 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9854 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9855
7d296953 98562009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9857
9858 * config.host: Add m32r*-*-rtems*.
9859
7d296953 98602008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9861
9862 * config.host: Add m32c*-*-rtems*.
9863
19523300
RO
98642008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9865
9866 PR bootstrap/33100
9867 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9868 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9869 * configure: Regenerate.
9870 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9871 tmake_file here from gcc/config.gcc.
9872 Move extra_parts here from gcc/config.gcc.
9873 * config/i386/t-sol2: Move here from gcc/config/i386.
9874 Use gcc_srcdir instead of srcdir.
9875
0a4a51c7
AN
98762008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9877
9878 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9879 case.
9880
2a761e46
TS
98812008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9882
9883 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9884
c0451df7
TS
98852008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9886
9887 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9888
358da97e
HS
98892008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9890
9891 Add picoChip port.
9892 * config.host: Add picochip-*-*.
9893
c660f132
BW
98942008-08-06 Bob Wilson <bob.wilson@acm.org>
9895
9896 * config.host: Match more processor names for Xtensa.
9897
d1349557
L
98982008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9899
9900 * config/i386/64/t-softfp-compat: Update comments.
9901
dd7b73c0
L
99022008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9903
9904 * config/i386/64/_divtc3-compat.c: Moved to ...
9905 * config/i386/64/_divtc3.c: Here.
9906
9907 * config/i386/64/_multc3-compat.c: Moved to ...
9908 * config/i386/64/_multc3.c: Here.
9909
9910 * config/i386/64/_powitf2-compat.c: Moved to ...
9911 * config/i386/64/_powitf2.c: Here.
9912
9913 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9914 .c suffix instead of -compat.c.
9915
6e1fab3d
UB
99162008-07-05 Uros Bizjak <ubizjak@gmail.com>
9917
9918 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9919 (_FP_MUL_MEAT_D): Ditto.
9920 (_FP_DIV_MEAT_S): Ditto.
9921 (_FP_DIV_MEAT_D): Ditto.
9922
f92518d7
RS
99232008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9924
9925 * Makefile.in: Add support for __sync_* libgcc functions.
9926
d0aede14
L
99272008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9928
9929 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9930
c174f11c
L
99312008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9932
9933 PR boostrap/36702
9934 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9935 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9936
9937 * config/i386/64/t-fprules-softfp: Moved to ...
9938 * config/i386/64/t-softfp-compat: This. New.
9939
5f464fa2
UB
99402008-07-02 Uros Bizjak <ubizjak@gmail.com>
9941
9942 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9943 Initialize f with 0.0.
9944
ff473280
L
99452008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9946
9947 PR target/36669
9948 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
9949
9950 * config/i386/64/_divtc3-compat.c: New.
9951 * config/i386/64/_multc3-compat.c: Likewise.
9952 * config/i386/64/_powitf2-compat.c: Likewise.
9953 * config/i386/64/eqtf2.c: Likewise.
9954 * config/i386/64/getf2.c: Likewise.
9955 * config/i386/64/letf2.c: Likewise.
9956 * config/i386/64/t-fprules-softfp: Likewise.
9957
99582008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9959
9960 * config.host: Add i386/${host_address}/t-fprules-softfp to
9961 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 9962 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
9963
9964 * configure.ac: Set host_address to 64 or 32 for x86.
9965 * configure: Regenerated.
9966
9967 * Makefile.in (config.status): Also depend on
9968 $(srcdir)/config.host.
9969
9970 * config/i386/32/t-fprules-softfp: New.
9971 * config/i386/32/tf-signs.c: Likewise.
9972
9973 * config/i386/64/sfp-machine.h: New. Moved from gcc.
9974
99752008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9976 Uros Bizjak <ubizjak@gmail.com>
9977
9978 * config/i386/32/sfp-machine.h: New.
9979
30551d99
NF
99802008-06-26 Nathan Froyd <froydnj@codesourcery.com>
9981
9982 * config/rs6000/t-ppccomm: Remove rules that conflict with
9983 auto-generated rules.
9984
18c04407
RW
99852008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9986
9987 * configure.ac: sinclude override.m4.
9988 * configure: Regenerate.
9989
10fbe77a
BRF
99902008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
9991
9992 * configure: Regenerate.
9993
bc6d4c3f
JM
99942008-06-10 Joseph Myers <joseph@codesourcery.com>
9995
9996 * Makefile.in (DECNUMINC): Remove
9997 -I$(MULTIBUILDTOP)../../libdecnumber.
9998 * gstdint.h: New.
9999
cd985f66
JM
100002008-06-07 Joseph Myers <joseph@codesourcery.com>
10001
10002 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10003 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10004 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10005 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10006 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10007 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10008 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10009 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10010 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10011 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10012 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10013 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10014 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10015 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10016
93fea8d3
AL
100172008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10018
10019 * config.host (sh2[lbe]*-*-linux*): Allow target.
10020
18724e30
NF
100212008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10022
10023 * config/rs6000/t-ppccomm: Add build rules for new files.
10024 (LIB2ADD_ST): New variable.
10025
47583040
AH
100262008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10027
10028 PR target/34210
10029 PR target/35508
10030 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10031 * config/t-avr: New file. Build 16bit libgcc functions.
10032
cf8e67fe
JJ
100332008-03-02 Jakub Jelinek <jakub@redhat.com>
10034
10035 PR target/35401
10036 * config/t-slibgcc-darwin: Make install-leaf dependent on
10037 install-darwin-libgcc-stubs instead of install.
10038
8d8da227
JM
100392008-01-25 Joseph Myers <joseph@codesourcery.com>
10040
10041 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10042 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10043 sh-*-rtemscoff*): Remove cases.
10044
edbf8b16
RS
100452007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10046
10047 * Makefile.in (all): Use install-leaf rather than install.
10048 (install): Split most of the rule into...
10049 (install-leaf): ...this new one.
10050
89deeaff
EK
100512007-12-19 Etsushi Kato <ek.kato@gmail.com>
10052 Paolo Bonzini <bonzini@gnu.org>
10053
10054 PR target/30572
5f464fa2
UB
10055 * Makefile.in: Use @shlib_slibdir@ substitution to get
10056 correct install name on darwin.
89deeaff 10057 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10058
4081d704
HPN
100592007-12-15 Hans-Peter Nilsson <hp@axis.com>
10060
10061 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10062 cris-*-elf and cris-*-none.
10063 (crisv32-*-linux*): Similar, as cris-*-linux*.
10064
f43e89a3
RIL
100652007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10066
10067 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10068
b4e9c2c6
L
100692007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10070
10071 PR regression/33926
10072 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10073 * configure: Regenerated.
10074
b2a00c89
L
100752007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10076
10077 * Makefile.in (dfp-filenames): Replace decimal_globals,
10078 decimal_data, binarydecimal and convert_data with
10079 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10080 and bid_convert_data, respectively.
10081
8d2a9e0e
CF
100822007-09-17 Chao-ying Fu <fu@mips.com>
10083 Nigel Stephens <nigel@mips.com>
10084
10085 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10086 * Makefile.in (fixed_point): Define.
10087 Check if fixed_point is yes to build support functions.
10088 * configure.ac: Check for fixed_point support.
10089 * configure: Regenerated.
10090 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10091 funcs, modes, from, to.
10092
2b53935d
JJ
100932007-09-11 Janis Johnson <janis187@us.ibm.com
10094
10095 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10096
2533577f
JJ
100972007-09-10 Janis Johnson <janis187@us.ibm.com>
10098
10099 * Makefile.in (dfp-filenames): Remove decUtility, add
10100 decDouble, decPacked, decQuad, decSingle.
10101
3ae3dbd6
HK
101022007-08-27 Hans Kester <hans.kester@ellips.nl>
10103
10104 * config.host : Add x86_64-elf target.
10105
22867d02
L
101062007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10107
10108 * configure.ac (set_have_cc_tls): Add a missing =.
10109 * configure: Regenerated.
10110
6f461e76
L
101112007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10112
10113 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10114 and x86_64-*-linux*.
10115
10116 * config/t-tls: New file.
10117
dfb3b0e3 10118 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10119
10120 * configure.ac: Include ../config/enable.m4 and
10121 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10122 supports TLS and substitute set_have_cc_tls.
10123 * configure: Regenerated.
10124
200359e8
L
101252007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10126
10127 * Makefile.in: Use libbid for DFP when BID is enabled.
10128
76f5e200
DS
101292007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10130
10131 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10132 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10133 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10134
9bd196f0 101352007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10136 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10137
10138 PR target/29498
10139 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10140 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10141 * config/i386/t-crtfm: Compile crtfastmath.o with
10142 -minline-all-stringops.
10143
1910440e
RS
101442007-05-10 Richard Sandiford <richard@codesourcery.com>
10145
10146 * config.host (sparc-wrs-vxworks): New target.
10147
7d33c31d
KH
101482007-04-14 Kazu Hirata <kazu@codesourcery.com>
10149
10150 * config.host: Recognize fido.
10151
96fccd0d
JJ
101522007-04-04 Janis Johnson <janis187@us.ibm.com>
10153
10154 * configure: Check host, not target, for decimal float support.
10155
577565f9
UB
101562007-04-03 Uros Bizjak <ubizjak@gmail.com>
10157
10158 * config/i386/t-crtpc: New file.
10159 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10160 (x86_64-*-linux*): Ditto.
577565f9 10161
ccf8e764
RH
101622007-02-30 Kai Tietz <kai.tietz@onevision.com>
10163
10164 * config.host (x86_64-*-mingw*): New target.
10165
79b87c74
MM
101662007-03-23 Michael Meissner <michael.meissner@amd.com>
10167 H.J. Lu <hongjiu.lu@intel.com>
10168
10169 * Makefile.in (enable_decimal_float): New.
10170 (DECNUMINC): Add
10171 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10172 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10173 (decbits-filenames): This.
10174 (decbits-objects): New.
10175 (libgcc-objects): Add $(decbits-objects).
10176
10177 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10178 Substitute enable_decimal_float.
10179 * configure: Regenerated.
10180
8fce4e31
HPN
101812007-03-19 Hans-Peter Nilsson <hp@axis.com>
10182
10183 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10184
e8bb4597
BM
101852007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10186
10187 * Makefile.in (install-info): New dummy target.
10188
344189f9
BS
101892007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10190
10191 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10192
ac84c172
BM
101932007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10194
10195 * Makefile.in: Add install-html and install-pdf dummy
10196 targets.
10197
cd5c2357
RS
101982007-02-05 Roger Sayle <roger@eyesopen.com>
10199 Daniel Jacobowitz <dan@codesourcery.com>
10200
10201 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10202 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10203 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10204
d9a66f98
JJ
102052007-01-29 Janis Johnson <janis187@us.ibm.com>
10206
10207 * Makefile.in (dec-filenames): Add decExcept.
10208
9891ec5f
DJ
102092007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10210
10211 PR bootstrap/30469
10212 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10213 -fprofile-use.
10214
d6efbf5a
DJ
102152007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10216
10217 * configure.ac: Add --enable-version-specific-runtime-libs.
10218 Correct $slibdir default.
10219 * configure: Regenerated.
10220
17caeff2
JM
102212007-01-23 Joseph Myers <joseph@codesourcery.com>
10222
10223 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10224
5ea41e3a
AP
102252007-01-21 Andrew Pinski <pinskia@gmail.com>
10226
10227 PR target/30519
10228 * config.host (alpha*-*-linux*): Set extra_parts.
10229
26900826
KK
102302007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10231
10232 * config/sh/t-linux: New.
10233 * config.host (sh*-*-linux*): Set tmake_file.
10234
97af925b
DJ
102352007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10236
10237 * Makefile.in (install): Handle multilibs.
10238
b0088af7
BM
102392007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10240
10241 * Makefile.in: Added .PHONY entry for documentation targets.
10242
e0a9456a
BM
102432007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10244
10245 * Makefile.in: Add empty info, html, dvi, pdf targets.
10246
7fd453b4
MS
102472007-01-04 Mike Stump <mrs@apple.com>
10248
10249 * Makefile.in (MAKEINFO): Remove.
10250 (PERL): Likewise.
10251
14e8fc8b
PB
102522007-01-04 Paolo Bonzini <bonzini@gnu.org>
10253
10254 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10255 * configure: Regenerate.
10256 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10257 (gcc_objdir): Use it.
14e8fc8b 10258
1555beba
DJ
102592007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10260
10261 * config.host (ia64*-*-linux*): Set tmake_file.
10262
79e6eaeb
DJ
102632007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10264
10265 * Makefile.in (version): Define.
10266
fa958513
DJ
102672007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10268 Paolo Bonzini <bonzini@gnu.org>
10269
10270 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10271 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10272 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10273 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10274 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10275 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10276 * configure: Generated.
818ab71a 10277\f
a5544970 10278Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10279
10280Copying and distribution of this file, with or without modification,
10281are permitted in any medium without royalty provided the copyright
10282notice and this notice are preserved.