]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Improve the thread support for VxWorks
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
806dd047
CG
12019-11-12 Corentin Gay <gay@adacore.com>
2 Jerome Lambourg <lambourg@adacore.com>
3 Olivier Hainque <hainque@adacore.com>
4
5 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
6 sources to LIB2ADDEH.
7 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
8 * config/t-vxworks7: Likewise.
9
10 * config.host: Append a block at the end of the file to add the
11 t-gthr files to the tmake_file list for VxWorks after everything
12 else.
13
14 * config/vxlib.c: Rename as gthr-vxworks.c.
15 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
16
17 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
18 API and a basic error checking API, both internal. Simplify the
19 __gthread_once_t type definition and initializers. Add sections
20 for condition variables support and for the C++0x thread support,
21 conditioned against Vx653 for the latter.
22
23 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
24 implementation, leveraging the TAS internal API.
25 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
26 API, leveraging the general availability of TLS services in VxWorks7
27 post SR6xxx.
28 (__gthread_setspecific, __gthread_setspecific): Use it.
29 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
30 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
31 support based on VxWorks primitives.
32 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
33 based on VxWorks primitives.
34
78e49fb1
JL
352019-11-06 Jerome Lambourg <lambourg@adacore.com>
36 Olivier Hainque <hainque@adacore.com>
37
38 * config/vxcrtstuff.c: New file.
39 * config/t-vxcrtstuff: New Makefile fragment.
40 * config.host: Append t-vxcrtstuff to the tmake_file list
41 on all VxWorks ports using dwarf for table based EH.
42
29f3def3
GJL
432019-11-07 Georg-Johann Lay <avr@gjlay.de>
44
45 Support 64-bit double and 64-bit long double configurations.
46
47 PR target/92055
48 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
49 long double is a 32-bit type.
50 * config/avr/t-avrlibc: Copy double64 and long-double64
51 multilib(s) from the vanilla one.
52 * config/avr/t-copy-libgcc: New Makefile snip.
53
62ec242e
JL
542019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
55
56 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
57 the target output object format is not ELF.
58 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
59
da5c1bbe
OE
602019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
61
62 PR libgcc/78804
63 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
64 * fp-bit.c (pack_d, unpack_d): Remove special cases for
65 FLOAT_BIT_ORDER_MISMATCH.
66 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
67
8dc56a22
JW
682019-11-01 Jim Wilson <jimw@sifive.com>
69
70 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
71
91c64455
JL
722019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
73
74 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
75 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
76 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
77 Define symbols for 32-bit and f5series hardware multiply
78 register addresses.
79 Replace hard-coded register addresses with symbols.
80 Fix "_mspabi*" typo.
81 Fix whitespace.
82 * config/msp430/lib2mul.c: Add comment.
83
85093ac6
JDA
842019-10-15 John David Anglin <danglin@gcc.gnu.org>
85
86 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
87 unsigned int. Adjust callers.
88 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
89 unsigned int *. Load relocation offset before function pointer.
90 Add barrier to ensure ordering.
91
1aea083d
JDA
922019-10-12 John David Anglin <danglin@gcc.gnu.org>
93
94 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
95 Load PIC register after branch target. Fix white space.
96 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
97 implementations. Load PIC register after branch target. Don't
98 clobber function pointer when it points to function descriptor.
99 Use nullification instead of branch in LINUX implementation.
100
c49af82c
JDA
1012019-10-03 John David Anglin <danglin@gcc.gnu.org>
102
103 * config/pa/fptr.c: Disable -Warray-bounds warning.
104
88a51d68
RH
1052019-09-25 Richard Henderson <richard.henderson@linaro.org>
106
9e46fd07
RH
107 * config.in, configure: Re-rebuild with stock autoconf 2.69,
108 not the ubuntu modified 2.69.
109
58d169ba
RH
110 PR target/91833
111 * config/aarch64/lse-init.c: Include auto-target.h. Disable
112 initialization if !HAVE_SYS_AUXV_H.
113 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
114 * config.in, configure: Rebuild.
115
88a51d68
RH
116 PR target/91834
117 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
118 overlap the inputs.
119
761e6bb9
SZ
1202019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
121
122 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
123 CTR_EL0.IDC and CTR_EL0.DIC.
124
76c93295
CL
1252019-09-20 Christophe Lyon <christophe.lyon@st.com>
126
127 Revert:
128 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
129 Mickaël Guêné <mickael.guene@st.com>
130
131 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
132 architecture.
133
33befddc
RH
1342019-09-19 Richard Henderson <richard.henderson@linaro.org>
135
136 * config/aarch64/lse-init.c: New file.
137 * config/aarch64/lse.S: New file.
138 * config/aarch64/t-lse: New file.
139 * config.host: Add t-lse to all aarch64 tuples.
140
ae1152e5
CL
1412019-09-10 Christophe Lyon <christophe.lyon@st.com>
142 Mickaël Guêné <mickael.guene@st.com>
143
84818dbb
CL
144 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
145 architecture.
146
1472019-09-10 Christophe Lyon <christophe.lyon@st.com>
148 Mickaël Guêné <mickael.guene@st.com>
149
ae1152e5
CL
150 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
151 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
152 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
153 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
154 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
155 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
156 (__gnu_personality_sigframe_fdpic): New.
157 (get_eit_entry): Add FDPIC signal frame support.
158
5d727a4b
CL
1592019-09-10 Christophe Lyon <christophe.lyon@st.com>
160 Mickaël Guêné <mickael.guene@st.com>
161
162 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
163 (__kernel_dmb): Likewise.
164 (__fdpic_cmpxchg): New function.
165 (__fdpic_dmb): New function.
166 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
167 (gnu_Unwind_Find_got): New function.
168 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
169 * unwind-arm-common.inc (UCB_PR_GOT): New.
170 (funcdesc_t): New struct.
171 (get_eit_entry): Add FDPIC support.
172 (unwind_phase2): Likewise.
173 (unwind_phase2_forced): Likewise.
174 (__gnu_Unwind_RaiseException): Likewise.
175 (__gnu_Unwind_Resume): Likewise.
176 (__gnu_Unwind_Backtrace): Likewise.
177 * unwind-pe.h (read_encoded_value_with_base): Likewise.
178
b1e21e5a 1792019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 180 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 181
11189793
CL
182 * libgcc/crtstuff.c: Add support for FDPIC.
183
1842019-09-10 Christophe Lyon <christophe.lyon@st.com>
185
186 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 187
91dfef96
JM
1882019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
189
190 * config.host: Set cpu_type for bpf-*-* targets.
191 * config/bpf/t-bpf: Likewise.
192 * config/bpf/crtn.S: Likewise.
193 * config/bpf/crti.S: New file.
194
2f4d8951
JW
1952019-09-06 Jim Wilson <jimw@sifive.com>
196
197 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
198 (riscv*-*-freebsd*): Likewise.
199
2f2aeda9
UW
2002019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
201
202 * config.host: Remove references to spu.
203 * config/spu/: Remove directory.
204
d16017da
JL
2052019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
206
207 PR target/91306
208 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
209 element type, instead of "sizeof" the element type.
210 (__DTOR_LIST__): Likewise.
211 (__TMC_LIST__): Likewise.
212 (__do_global_dtors_aux_fini_array_entry): Likewise.
213 (__frame_dummy_init_array_entry): Likewise.
214 (__CTOR_END__): Likewise.
215 (__DTOR_END__): Likweise.
216 (__FRAME_END__): Likewise.
217 (__TMC_END__): Likewise.
218
a9fcfec3
HL
2192019-08-20 Lili Cui <lilicui@intel.com>
220
221 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
222 INTEL_COREI7_COOPERLAKE.
223
428642b1
MT
2242019-07-31 Matt Thomas <matt@3am-software.com>
225 Nick Hudson <nick@nthcliff.demon.co.uk>
226 Matthew Green <mrg@eterna.com.au>
227 Maya Rashish <coypu@sdf.org>
228
229 * config.host (hppa*-*-netbsd*): New case.
230 * config/pa/t-netbsd: New file.
231
f0efd925
JH
2322019-07-31 Joel Hutton <Joel.Hutton@arm.com>
233
234 * config/arm/cmse.c (cmse_check_address_range): Add
235 warn_unused_result attribute.
236
a861990d
ML
2372019-07-22 Martin Liska <mliska@suse.cz>
238
239 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
240 * config/pa/t-stublib: Likewise.
241
9c0dba7c
SH
2422019-07-22 Stafford Horne <shorne@gmail.com>
243
244 PR target/90362
245 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
246 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
247 instructions are not available on every processor. Change a
248 l.bnf to l.bf to fix logic issue.
249
61afc8f8
IS
2502019-07-04 Iain Sandoe <iain@sandoe.co.uk>
251
252 * config.host: Remove reference to t-darwin8.
253
179c7ef5
IS
2542019-07-03 Iain Sandoe <iain@sandoe.co.uk>
255
256 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
257 list.
258 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
259 mmacosx-version-min for crts to run across all system versions.
260 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
261 * config/t-darwin: Revise mmacosx-version-min for crts to run across
262 system versions >= 10.4.
263
596341c7
ML
2642019-07-03 Martin Liska <mliska@suse.cz>
265
266 * Makefile.in: Use topn_values instead of one_value names.
267 * libgcov-merge.c (__gcov_merge_single): Move to ...
268 (__gcov_merge_topn): ... this.
269 (merge_single_value_set): Move to ...
270 (merge_topn_values_set): ... this.
271 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
272 ...
273 (__gcov_topn_values_profiler_body): ... this.
274 (__gcov_one_value_profiler_v2): Move to ...
275 (__gcov_topn_values_profiler): ... this.
276 (__gcov_one_value_profiler_v2_atomic): Move to ...
277 (__gcov_topn_values_profiler_atomic): ... this.
278 (__gcov_indirect_call_profiler_v4): Remove.
279 * libgcov-util.c (__gcov_single_counter_op): Move to ...
280 (__gcov_topn_counter_op): ... this.
281 * libgcov.h (L_gcov_merge_single): Remove.
282 (L_gcov_merge_topn): New.
283 (__gcov_merge_single): Remove.
284 (__gcov_merge_topn): New.
285 (__gcov_one_value_profiler_v2): Move to ..
286 (__gcov_topn_values_profiler): ... this.
287 (__gcov_one_value_profiler_v2_atomic): Move to ...
288 (__gcov_topn_values_profiler_atomic): ... this.
289
1b309ca5
ML
2902019-07-03 Martin Liska <mliska@suse.cz>
291
292 * libgcov-merge.c (merge_single_value_set): Support N values.
293 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
294
5a460280
ID
2952019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
296
297 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
298 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
299 * configure.ac: Add --disable-tm-clone-registry option.
300 * configure: Regenerate.
301
45309d28
ML
3022019-06-27 Martin Liska <mliska@suse.cz>
303
304 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
305 dead assignments.
306 * libgcov-util.c: Likewise.
307
c2f7a665
ML
3082019-06-27 Martin Liska <mliska@suse.cz>
309
310 * libgcov-util.c (gcov_profile_merge): Release allocated
311 memory.
312 (calculate_overlap): Likewise.
313
a8e55c61
IS
3142019-06-25 Iain Sandoe <iain@sandoe.co.uk>
315
316 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
317 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
318 Build objects for the out of line save/restore register functions
319 so that they can be used for any supported Darwin version.
320 * config/t-darwin: Default the build Darwin version to Darwin8
321 (MacOS 10.4).
322
e5ce4cbc
ML
3232019-06-25 Martin Liska <mliska@suse.cz>
324
325 * libgcov-driver-system.c (replace_filename_variables): Do not
326 call strlen with NULL argument.
327
52a47d28
AS
3282019-06-25 Andrew Stubbs <ams@codesourcery.com>
329
330 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
331 * config/gcn/unwind-gcn.c: New file.
332
76d46331
KCY
3332019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
334 Andrew Stubbs <ams@codesourcery.com>
335
336 * configure: Regenerate.
337 * config/gcn/gthr-gcn.h: New.
338
787783a0
TV
3392019-06-18 Tom de Vries <tdevries@suse.de>
340
341 * config/nvptx/crt0.c (__main): Declare.
342
f32f7585
MG
3432019-06-17 Matthew Green <mrg@eterna.com.au>
344 Maya Rashish <coypu@sdf.org>
345
346 * config.host (aarch64*-*-netbsd*): New case.
347
0fcc78f7
JL
3482019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
349
350 * config/msp430/slli.S (__mspabi_sllll): New library function for
351 performing a logical left shift of a 64-bit value.
352 * config/msp430/srai.S (__mspabi_srall): New library function for
353 performing a arithmetic right shift of a 64-bit value.
354 * config/msp430/srll.S (__mspabi_srlll): New library function for
355 performing a logical right shift of a 64-bit value.
356
b27c1082
MT
3572019-06-14 Matt Thomas <matt@3am-software.com>
358 Matthew Green <mrg@eterna.com.au>
359 Nick Hudson <skrll@netbsd.org>
360 Maya Rashish <coypu@sdf.org>
361
362 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
363 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
364 functions to build.
365 * config/arm/t-netbsd-eabi: New file.
366
ae7deb4b
DD
3672019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
368
369 * config.host: Add PRU target.
370 * config/pru/asri.c: New file.
371 * config/pru/eqd.c: New file.
372 * config/pru/eqf.c: New file.
373 * config/pru/ged.c: New file.
374 * config/pru/gef.c: New file.
375 * config/pru/gtd.c: New file.
376 * config/pru/gtf.c: New file.
377 * config/pru/led.c: New file.
378 * config/pru/lef.c: New file.
379 * config/pru/lib2bitcountHI.c: New file.
380 * config/pru/lib2divHI.c: New file.
381 * config/pru/lib2divQI.c: New file.
382 * config/pru/lib2divSI.c: New file.
383 * config/pru/libgcc-eabi.ver: New file.
384 * config/pru/ltd.c: New file.
385 * config/pru/ltf.c: New file.
386 * config/pru/mpyll.S: New file.
387 * config/pru/pru-abi.h: New file.
388 * config/pru/pru-asm.h: New file.
389 * config/pru/pru-divmod.h: New file.
390 * config/pru/sfp-machine.h: New file.
391 * config/pru/t-pru: New file.
392
0d7b3e47
JJ
3932019-06-11 Jakub Jelinek <jakub@redhat.com>
394
395 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
396
54e2d83c
ML
3972019-06-10 Martin Liska <mliska@suse.cz>
398
399 PR bootstrap/90808
400 * libgcov.h: Add ATTRIBUTE_UNUSED.
401
92d41717
ML
4022019-06-10 Martin Liska <mliska@suse.cz>
403
404 * Makefile.in: Add __gcov_one_value_profiler_v2,
405 __gcov_one_value_profiler_v2_atomic and
406 __gcov_indirect_call_profiler_v4.
407 * libgcov-merge.c (__gcov_merge_single): Change
408 function signature.
409 (merge_single_value_set): New.
410 * libgcov-profiler.c (__gcov_one_value_profiler_body):
411 Update functionality.
412 (__gcov_one_value_profiler): Remove.
413 (__gcov_one_value_profiler_v2): ... this.
414 (__gcov_one_value_profiler_atomic): Rename to ...
415 (__gcov_one_value_profiler_v2_atomic): this.
416 (__gcov_indirect_call_profiler_v3): Rename to ...
417 (__gcov_indirect_call_profiler_v4): ... this.
418 * libgcov.h (__gcov_one_value_profiler): Remove.
419 (__gcov_one_value_profiler_atomic): Remove.
420 (__gcov_one_value_profiler_v2_atomic): New.
421 (__gcov_indirect_call_profiler_v3): Remove.
422 (__gcov_one_value_profiler_v2): New.
423 (__gcov_indirect_call_profiler_v4): New.
424 (gcov_get_counter_ignore_scaling): New function.
425
e37333ba
ML
4262019-06-07 Martin Liska <mliska@suse.cz>
427
428 * Makefile.in: Remove usage of
429 _gcov_merge_icall_topn.
430 * libgcov-driver.c (gcov_sort_n_vals): Remove.
431 (gcov_sort_icall_topn_counter): Likewise.
432 (gcov_sort_topn_counter_arrays): Likewise.
433 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
434 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
435 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
436 Likewise.
437 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
438 (struct indirect_call_tuple): Remove.
439 (__gcov_indirect_call_topn_profiler): Remove.
440 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
441 * libgcov.h (gcov_sort_n_vals): Remove.
442 (L_gcov_merge_icall_topn): Likewise.
443 (__gcov_merge_icall_topn): Likewise.
444 (__gcov_indirect_call_topn_profiler): Likewise.
445
34a4a9c2
IS
4462019-06-06 Iain Sandoe <iain@sandoe.co.uk>
447
448 * config/rs6000/t-darwin: Ensure that the unwinder is built with
449 altivec enabled.
450
d1b2f85f
JL
4512019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
452
453 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
454 section.
455 (__mspabi_slli): Likewise.
456 (__mspabi_slll_n): Likewise.
457 (__mspabi_slll): Likewise.
458 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
459 (__mspabi_srai): Likewise.
460 (__mspabi_sral_n): Likewise.
461 (__mspabi_sral): Likewise.
462 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
463 (__mspabi_srli): Likewise.
464 (__mspabi_srll_n): Likewise.
465 (__mspabi_srll): Likewise.
466
e69a13d1
YS
4672019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
468
469 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
470 Add appropriate tm_file clause as well.
471 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
472
b009eac1
JC
4732019-06-05 James Clarke <jrtc27@jrtc27.com>
474
475 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
476 rather than .data/.bss so it can be accessed via gp-relative
477 addressing.
478
781d39f2
DE
4792019-06-05 David Edelsohn <dje.gcc@gmail.com>
480
481 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
482 (CR2_REGNO): Rename to R_CR2.
483 (XER_REGNO): Rename to R_XER.
484 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
485 (VRSAVE_REGNO): Rename to R_VRSAVE.
486 (VSCR_REGNO): R_VSCR.
487
76aaa9cd
YS
4882019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
489
490 * config.host (rx-*-linux*): Add new case.
491 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
492
8fc16d72
ST
4932019-05-29 Sam Tebbs <sam.tebbs@arm.com>
494
495 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
496 function.
497 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
498 aarch64_post_frob_eh_handler_addr): Add check for b-key.
499 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
500 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
501 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
502 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
503 string.
504 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
505 string.
506 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
507
e54b1a92
RO
5082019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
509
510 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
511 Remove Solaris 9 and 10 support.
512 (sparc_is_sighandler): Likewise.
513
abbb8307
JDA
5142019-05-26 John David Anglin <danglin@gcc.gnu.org>
515
516 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
517
2581344d
L
5182019-05-17 H.J. Lu <hongjiu.lu@intel.com>
519
520 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
521 4_FP_W_TYPEs are used for IEEE quad precision.
522 * soft-fp/extendhftf2.c: Likewise.
523 * soft-fp/extendsftf2.c: Likewise.
524 * soft-fp/extendxftf2.c: Likewise.
525 * soft-fp/trunctfdf2.c: Likewise.
526 * soft-fp/trunctfhf2.c: Likewise.
527 * soft-fp/trunctfsf2.c: Likewise.
528 * soft-fp/trunctfxf2.c: Likewise.
529 * config/rs6000/ibm-ldouble.c: Likewise.
530
ccd1242e
RO
5312019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
532
533 * config.host: Simplify various *-*-solaris2.1[0-9]* to
534 *-*-solaris2*.
535 * configure.ac: Likewise.
536 * configure: Regenerate.
537
538 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
539 Solaris 10 and Solaris 11 < snv_125 handling.
540
ef5eb79d
IS
5412019-05-12 Iain Sandoe <iain@sandoe.co.uk>
542
543 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
544
4f0e90fa
HL
5452019-05-07 Hongtao Liu <hongtao.liu@intel.com>
546
547 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
548 * config/i386/cpuinfo.h (enum processor_features): Add
549 FEATURE_AVX512BF16.
550
48528842
RR
5512019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
552 Bernd Edlinger <bernd.edlinger@hotmail.de>
553 Jakub Jelinek <jakub@redhat.com>
554
555 PR target/89093
556 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
557 * config/arm/unwind-arm.c: Likewise.
558 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
559 attribute for ARM.
560
887e182f
MC
5612019-04-15 Monk Chiang <sh.chiang04@gmail.com>
562
563 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
564 (RT_SIGRETURN): Update.
565 (nds32_fallback_frame_state): Update.
566
a90b0cdd
MS
5672019-02-21 Martin Sebor <msebor@redhat.com>
568
569 * libgcc2.h (__clear_cache): Correct signature.
570 * libgcc2.c (__clear_cache): Same.
571
1ed28eda
UB
5722019-02-20 Uroš Bizjak <ubizjak@gmail.com>
573
574 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
575 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
576
fe95aee9
UB
5772019-02-19 Uroš Bizjak <ubizjak@gmail.com>
578
579 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
580 regno instead of index to DWARF_ZERO_REG.
581
bf7988f1
EB
5822019-02-15 Eric Botcazou <ebotcazou@adacore.com>
583
584 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
585 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
586
ba2c1ca8
UB
5872019-01-31 Uroš Bizjak <ubizjak@gmail.com>
588
589 * config/alpha/t-linux: Add -mfp-rounding-mode=d
590 to HOST_LIBGCC2_CFLAGS.
591
6395ba73
L
5922019-01-23 Joseph Myers <joseph@codesourcery.com>
593
594 PR libgcc/88931
ba2c1ca8 595 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 596
756721ba
ML
5972019-01-18 Martin Liska <mliska@suse.cz>
598
599 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
600 to ...
601 (__gcov_indirect_call_profiler_v3): ... this.
602 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
603 (__gcov_indirect_call_profiler_v3): Likewise.
604 * Makefile.in: Bump function name.
605
d273c40a
ML
6062019-01-18 Martin Liska <mliska@suse.cz>
607
608 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
609 (gcov_version): Use in gcov_error.
610 (merge_one_data): Likewise.
611 (dump_one_gcov): Likewise.
612
be9d9fdb
ML
6132019-01-18 Martin Liska <mliska@suse.cz>
614
615 * libgcov-driver.c (gcov_version_string): New function.
616 (gcov_version): Convert version integer into string.
617
91d7b7fe
AS
6182019-01-17 Andrew Stubbs <ams@codesourcery.com>
619 Kwok Cheung Yeung <kcy@codesourcery.com>
620 Julian Brown <julian@codesourcery.com>
621 Tom de Vries <tom@codesourcery.com>
622
623 * config.host: Recognize amdgcn*-*-amdhsa.
624 * config/gcn/crt0.c: New file.
625 * config/gcn/lib2-divmod-hi.c: New file.
626 * config/gcn/lib2-divmod.c: New file.
627 * config/gcn/lib2-gcn.h: New file.
628 * config/gcn/sfp-machine.h: New file.
629 * config/gcn/t-amdgcn: New file.
630
67914693
SL
6312019-01-09 Sandra Loosemore <sandra@codesourcery.com>
632
633 PR other/16615
634
635 * config/c6x/libunwind.S: Mechanically replace "can not" with
636 "cannot".
637 * config/tilepro/atomic.h: Likewise.
638 * config/vxlib-tls.c: Likewise.
639 * generic-morestack-thread.c: Likewise.
640 * generic-morestack.c: Likewise.
641 * mkmap-symver.awk: Likewise.
642
a5544970
JJ
6432019-01-01 Jakub Jelinek <jakub@redhat.com>
644
645 Update copyright years.
646
da77eace
L
6472018-12-20 H.J. Lu <hongjiu.lu@intel.com>
648
649 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
650 to ignore -Waddress-of-packed-member.
651
72e3a529
TP
6522018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
653
654 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
655 parameter and corresponding code.
656 (ARM_FUNC_START): Likewise in both definitions.
657 Also update footer comment about condition that need to match with
658 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
659 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
660 defined. Weakly define it in this case.
661 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
662 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
663 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
664 comment to keep condition in sync with the one in
665 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
666
5d54c798
WX
6672018-12-18 Wei Xiao <wei3.xiao@intel.com>
668
669 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
670 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
671
5a2580b6
RV
6722018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
673
674 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
675 and .cfi_endproc directives for VxWorks targets.
676
c0c5112b
PK
6772018-12-05 Paul Koning <ni1d@arrl.net>
678
679 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
680
1ea7ea18
AM
6812018-11-27 Alan Modra <amodra@gmail.com>
682
683 * config/rs6000/morestack.S (__stack_split_initialize),
684 (__morestack_get_guard, __morestack_set_guard),
685 (__morestack_make_guard): Provide CFI covering these functions.
686 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
687
ff641ae1
XQ
6882018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
689
1ea7ea18 690 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
691 (sc_pt_regs_lr): Update for kernel.
692 (sc_pt_regs_tls): Update for kernel.
693
28209372
XQ
6942018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
695
696 * config/csky/linux-unwind.h: Fix coding style.
697
b2a71af6
XQ
6982018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
699
700 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 701 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
702 instructions to adapt to changes in the kernel
703
d929e137
SH
7042018-11-09 Stafford Horne <shorne@gmail.com>
705 Richard Henderson <rth@twiddle.net>
706
707 * config.host: Add OpenRISC support.
708 * config/or1k/*: New.
709
222cfefa
KC
7102018-11-08 Kito Cheng <kito@andestech.com>
711
712 * soft-fp/adddf3.c: Update from glibc.
713 * soft-fp/addsf3.c: Likewise.
714 * soft-fp/addtf3.c: Likewise.
715 * soft-fp/divdf3.c: Likewise.
716 * soft-fp/divsf3.c: Likewise.
717 * soft-fp/divtf3.c: Likewise.
718 * soft-fp/double.h: Likewise.
719 * soft-fp/eqdf2.c: Likewise.
720 * soft-fp/eqsf2.c: Likewise.
721 * soft-fp/eqtf2.c: Likewise.
722 * soft-fp/extenddftf2.c: Likewise.
723 * soft-fp/extended.h: Likewise.
724 * soft-fp/extendhftf2.c: Likewise.
725 * soft-fp/extendsfdf2.c: Likewise.
726 * soft-fp/extendsftf2.c: Likewise.
727 * soft-fp/extendxftf2.c: Likewise.
728 * soft-fp/fixdfdi.c: Likewise.
729 * soft-fp/fixdfsi.c: Likewise.
730 * soft-fp/fixdfti.c: Likewise.
731 * soft-fp/fixhfti.c: Likewise.
732 * soft-fp/fixsfdi.c: Likewise.
733 * soft-fp/fixsfsi.c: Likewise.
734 * soft-fp/fixsfti.c: Likewise.
735 * soft-fp/fixtfdi.c: Likewise.
736 * soft-fp/fixtfsi.c: Likewise.
737 * soft-fp/fixtfti.c: Likewise.
738 * soft-fp/fixunsdfdi.c: Likewise.
739 * soft-fp/fixunsdfsi.c: Likewise.
740 * soft-fp/fixunsdfti.c: Likewise.
741 * soft-fp/fixunshfti.c: Likewise.
742 * soft-fp/fixunssfdi.c: Likewise.
743 * soft-fp/fixunssfsi.c: Likewise.
744 * soft-fp/fixunssfti.c: Likewise.
745 * soft-fp/fixunstfdi.c: Likewise.
746 * soft-fp/fixunstfsi.c: Likewise.
747 * soft-fp/fixunstfti.c: Likewise.
748 * soft-fp/floatdidf.c: Likewise.
749 * soft-fp/floatdisf.c: Likewise.
750 * soft-fp/floatditf.c: Likewise.
751 * soft-fp/floatsidf.c: Likewise.
752 * soft-fp/floatsisf.c: Likewise.
753 * soft-fp/floatsitf.c: Likewise.
754 * soft-fp/floattidf.c: Likewise.
755 * soft-fp/floattihf.c: Likewise.
756 * soft-fp/floattisf.c: Likewise.
757 * soft-fp/floattitf.c: Likewise.
758 * soft-fp/floatundidf.c: Likewise.
759 * soft-fp/floatundisf.c: Likewise.
760 * soft-fp/floatunditf.c: Likewise.
761 * soft-fp/floatunsidf.c: Likewise.
762 * soft-fp/floatunsisf.c: Likewise.
763 * soft-fp/floatunsitf.c: Likewise.
764 * soft-fp/floatuntidf.c: Likewise.
765 * soft-fp/floatuntihf.c: Likewise.
766 * soft-fp/floatuntisf.c: Likewise.
767 * soft-fp/floatuntitf.c: Likewise.
768 * soft-fp/gedf2.c: Likewise.
769 * soft-fp/gesf2.c: Likewise.
770 * soft-fp/getf2.c: Likewise.
771 * soft-fp/half.h: Likewise.
772 * soft-fp/ledf2.c: Likewise.
773 * soft-fp/lesf2.c: Likewise.
774 * soft-fp/letf2.c: Likewise.
775 * soft-fp/muldf3.c: Likewise.
776 * soft-fp/mulsf3.c: Likewise.
777 * soft-fp/multf3.c: Likewise.
778 * soft-fp/negdf2.c: Likewise.
779 * soft-fp/negsf2.c: Likewise.
780 * soft-fp/negtf2.c: Likewise.
781 * soft-fp/op-1.h: Likewise.
782 * soft-fp/op-2.h: Likewise.
783 * soft-fp/op-4.h: Likewise.
784 * soft-fp/op-8.h: Likewise.
785 * soft-fp/op-common.h: Likewise.
786 * soft-fp/quad.h: Likewise.
787 * soft-fp/single.h: Likewise.
788 * soft-fp/soft-fp.h: Likewise.
789 * soft-fp/subdf3.c: Likewise.
790 * soft-fp/subsf3.c: Likewise.
791 * soft-fp/subtf3.c: Likewise.
792 * soft-fp/truncdfsf2.c: Likewise.
793 * soft-fp/trunctfdf2.c: Likewise.
794 * soft-fp/trunctfhf2.c: Likewise.
795 * soft-fp/trunctfsf2.c: Likewise.
796 * soft-fp/trunctfxf2.c: Likewise.
797 * soft-fp/unorddf2.c: Likewise.
798 * soft-fp/unordsf2.c: Likewise.
799 * soft-fp/unordtf2.c: Likewise.
800
2901f42f
VK
8012018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
802
803 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
804 * config/i386/cpuinfo.h (processor_types): Add znver2.
805
4310ca66
PK
8062018-11-01 Paul Koning <ni1d@arrl.net>
807
808 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
809 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
810
22e05272
JM
8112018-10-31 Joseph Myers <joseph@codesourcery.com>
812
813 PR bootstrap/82856
814 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
815 * configure: Regenerate.
816
8180cde0
CZ
8172018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
818
819 * config/arc/lib1funcs.S (_muldi3): New function.
820 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
821
be7b071e
RV
8222018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
823
824 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
825
3239d726
ML
8262018-10-25 Martin Liska <mliska@suse.cz>
827
828 PR other/87735
829 * libgcov-profiler.c: Revert.
830
19b55958
ML
8312018-10-24 Martin Liska <mliska@suse.cz>
832
833 * libgcov-profiler.c: Start from 1 in order to distinguish
834 functions which were seen and these that were not.
835
a9a2fddb
PK
8362018-10-18 Paul Koning <ni1d@arrl.net>
837
838 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
839 standard.
840 * divmod.c: Update references to __udivmodsi4.
841 * udivmod.c: Ditto.
842 * udivhi3.c: New file.
843 * udivmodhi4.c: New file.
844 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
845
fc8abc46
RV
8462018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
847
848 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
849
87f918e3
OH
8502018-10-12 Olivier Hainque <hainque@adacore.com>
851
852 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
853 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
854
be86efa7
PK
8552018-10-08 Paul Koning <ni1d@arrl.net>
856
857 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
858
3edbcdbe
ML
8592018-10-04 Martin Liska <mliska@suse.cz>
860
861 PR gcov-profile/84107
862 * libgcov-profiler.c (__gcov_indirect_call):
863 Change type to indirect_call_tuple.
864 (struct indirect_call_tuple): New struct.
865 (__gcov_indirect_call_topn_profiler): Change type.
866 (__gcov_indirect_call_profiler_v2): Use the new
867 variables.
868 * libgcov.h (struct indirect_call_tuple): New struct
869 definition.
870
af8096fc
UB
8712018-10-03 Uros Bizjak <ubizjak@gmail.com>
872
873 * libgcc2.c (isnan): Use __builtin_isnan.
874 (isfinite): Use __builtin_isfinite.
875 (isinf): Use __builtin_isinf.
876
0a76bba4
UB
8772018-09-26 Uros Bizjak <ubizjak@gmail.com>
878
879 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
880
5244089f
OH
8812018-09-21 Alexandre Oliva <oliva@adacore.com>
882
883 * config/vxcache.c: New file. Provide __clear_cache, based on
884 the cacheTextUpdate VxWorks service.
885 * config/t-vxworks (LIB2ADD): Add vxcache.c.
886 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
887 * config/t-vxwoks7: Likewise.
888
512cc015
ML
8892018-09-21 Martin Liska <mliska@suse.cz>
890
891 * libgcov-driver.c (crc32_unsigned): Remove.
892 (gcov_histogram_insert): Likewise.
893 (gcov_compute_histogram): Likewise.
894 (compute_summary): Simplify rapidly.
895 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
896 (merge_summary): Rapidly simplify.
897 (dump_one_gcov): Ignore gcov_summary.
898 (gcov_do_dump): Do not handle program summary, it's not
899 used.
900 * libgcov-util.c (tag_summary): Remove.
901 (read_gcda_finalize): Fix coding style.
902 (read_gcda_file): Initialize curr_object_summary.
903 (compute_summary): Remove.
904 (calculate_overlap): Remove settings of run_max.
905
36ff254b
MC
9062018-09-21 Monk Chiang <sh.chiang04@gmail.com>
907
908 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
909 ucontext_t type instead.
910 (nds32_fallback_frame_state): Remove struct _sigframe statement.
911
229a033d
KC
9122018-09-21 Kito Cheng <kito.cheng@gmail.com>
913
914 * config/nds32/t-nds32-glibc: New file.
915
53c6feb2
RO
9162018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
917
918 * configure.ac (solaris_ld_v2_maps): New test.
919 * configure: Regenerate.
920 * Makefile.in (solaris_ld_v2_maps): New variable.
921 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
922 if supported.
923
ebdb6f23
RE
9242018-08-23 Richard Earnshaw <rearnsha@arm.com>
925
926 PR target/86951
927 * config/arm/lib1funcs.asm (speculation_barrier): New function.
928 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
929 to build.
930
a49c064e
IS
9312018-08-22 Iain Sandoe <iain@sandoe.co.uk>
932
1ea7ea18 933 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
934 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
935 * config/darwin10-unwind-find-enc-func.c: … to here.
936 * config/t-darwin: Build Darwin10 unwinder shim crt.
937 * libgcc/config.host: Add the Darwin10 unwinder shim.
938
9a5b8df7
RV
9392018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
940
941 * config.host: Add crtbegin.o and crtend.o for
942 powerpc-wrs-vxworks target.
943
4cd0bc3b
J
9442018-08-17 Jojo <jijie_rong@c-sky.com>
945 Huibin Wang <huibin_wang@c-sky.com>
946 Sandra Loosemore <sandra@codesourcery.com>
947 Chung-Lin Tang <cltang@codesourcery.com>
948
949 C-SKY port: libgcc
950
951 * config.host: Add C-SKY support.
952 * config/csky/*: New.
953
a4931745
CJW
9542018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
955
956 * config/nds32/t-nds32-isr: Rearrange object dependency.
957 * config/nds32/initfini.c: Add dwarf2 unwinding support.
958 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
959 and registers usage.
960 * config/nds32/isr-library/excp_isr.S: Ditto.
961 * config/nds32/isr-library/intr_isr.S: Ditto.
962 * config/nds32/isr-library/reset.S: Ditto.
963 * config/nds32/isr-library/restore_all.inc: Ditto.
964 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
965 * config/nds32/isr-library/restore_partial.inc: Ditto.
966 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
967 * config/nds32/isr-library/save_all.inc: Ditto.
968 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
969 * config/nds32/isr-library/save_partial.inc: Ditto.
970 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
971 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
972
2b1969f6
JDA
9732018-08-11 John David Anglin <danglin@gcc.gnu.org>
974
975 * config/pa/linux-atomic.c: Update comment.
976 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
977 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
978 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
979 __ATOMIC_RELAXED for atomic loads.
980 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
981 unordered store to release lock.
982 (__sync_lock_release_8): Likewise.
983 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 984
89fff9cc
NP
9852018-08-02 Nicolas Pitre <nico@fluxnic.net>
986
987 PR libgcc/86512
988 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
989 exponent goes negative. Update my email address.
990 * config/arm/ieee754-sf.S: Likewise.
991
fd2e1dcd
ML
9922018-08-01 Martin Liska <mliska@suse.cz>
993
994 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 995 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 996
b7415975
CL
9972018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
998
999 * config/arm/ieee754-df.S: Fix comment for code working on
1000 architectures >= 4.
1001 * config/arm/ieee754-sf.S: Likewise.
1002
b72e71a3
L
10032018-07-27 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 PR libgcc/85334
1006 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1007 Removed.
1008
1c686aa4
JC
10092018-07-05 James Clarke <jrtc27@jrtc27.com>
1010
1011 * configure: Regenerated.
1012
b61c9b99
RO
10132018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1014
1015 * Makefile.in (install_leaf): Use enable_gcov instead of
1016 enable_libgcov.
1017
1765b023
RV
10182018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1019
1020 * configure.ac: Add --disable-gcov option.
1021 * configure: Regenerate.
1022 * Makefile.in: Honour @enable_gcov@.
1023
9b2e34ef
CL
10242018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1025
1026 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
1027 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
1028 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
1029 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
1030 __ARM_ARCH__.
1031 * config/arm/ieee754-sf.S: Likewise.
1032 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
1033
d1b0dd54
CL
10342018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
1035
1036 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
1037 longer supported.
1038 * config/arm/ieee754-sf.S: Likewise.
1039
1f3fa525
TM
10402018-06-20 Than McIntosh <thanm@google.com>
1041
1042 PR libgcc/86213
1043 * generic-morestack.c (allocate_segment): Move calls to getenv and
1044 getpagesize to __morestack_load_mmap.
1045 (__morestack_load_mmap) Initialize static_pagesize and
1046 use_guard_page here so as to avoid clobbering SSE regs during a
1047 __morestack call.
1048
6a8886e4
MM
10492018-06-18 Michael Meissner <meissner@linux.ibm.com>
1050
1051 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
1052 support modules with -mno-gnu-attribute.
1053 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
1054
fb997097
OH
10552018-06-07 Olivier Hainque <hainque@adacore.com>
1056
1057 * config/t-vxworks (LIBGCC_INCLUDES): Add
1058 -I$(MULTIBUILDTOP)../../gcc/include.
1059 * config/t-vxworks7: Likewise. Reformat a bit to match
1060 the t-vxworks layout.
1061
a548a5a1
OM
10622018-06-07 Olga Makhotina <olga.makhotina@intel.com>
1063
1064 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
1065
244aebfd
ML
10662018-06-07 Martin Liska <mliska@suse.cz>
1067
1068 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 1069 all_prg.
244aebfd 1070
6c086e8c
ML
10712018-06-07 Martin Liska <mliska@suse.cz>
1072
92a285c1 1073 PR bootstrap/86057
6c086e8c 1074 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 1075 memcpy instead of mempcpy.
6c086e8c 1076 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 1077 prefix and set it.
6c086e8c 1078 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 1079 here and properly copy content into it.
6c086e8c 1080 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 1081 field, change prefix from size_t into char *.
6c086e8c
ML
1082 (compute_summary): Do not calculate longest filename.
1083 (gcov_do_dump): Release memory of gf.filename after each file.
1084 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 1085 compute_summary.
6c086e8c
ML
1086 (calculate_overlap): Likewise.
1087
97a53d1d
ML
10882018-06-05 Martin Liska <mliska@suse.cz>
1089
1090 PR gcov-profile/47618
1091 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 1092 function.
97a53d1d
ML
1093 (gcov_exit_open_gcda_file): Use it.
1094
7f3577f5
ML
10952018-06-05 Martin Liska <mliska@suse.cz>
1096
1097 * libgcov-driver.c (gcov_compute_histogram): Remove usage
1098 of gcov_ctr_summary.
1099 (compute_summary): Do it just for a single summary.
1100 (merge_one_data): Likewise.
1101 (merge_summary): Simplify as we read just single summary.
1102 (dump_one_gcov): Pass proper argument.
1103 * libgcov-util.c (compute_one_gcov): Simplify as we have just
1104 single summary.
1105 (gcov_info_count_all_cold): Likewise.
1106 (calculate_overlap): Likewise.
1107
cf3cd43d
CJW
11082018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
1109 Monk Chiang <sh.chiang04@gmail.com>
1110
1111 * config.host (nds32*-linux*): New.
1112 * config/nds32/linux-atomic.c: New file.
1113 * config/nds32/linux-unwind.h: New file.
1114
8b8003ed
UB
11152018-05-31 Uros Bizjak <ubizjak@gmail.com>
1116
1117 PR target/85591
1118 * config/i386/cpuinfo.c (get_amd_cpu): Return
1119 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
1120
bbdf026f
RV
11212018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1122
92a285c1 1123 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 1124
0e8f29da
ML
11252018-05-29 Martin Liska <mliska@suse.cz>
1126
92a285c1 1127 PR gcov-profile/85759
0e8f29da 1128 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 1129 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 1130 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 1131 overwrite a gcov file with a different timestamp.
0e8f29da 1132
54fd1590
K
11332018-05-23 Kalamatee <kalamatee@gmail.com>
1134
1135 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
1136 path to Lf$finfty.
1137
09baee1a
KC
11382018-05-18 Kito Cheng <kito.cheng@gmail.com>
1139 Monk Chiang <sh.chiang04@gmail.com>
1140 Jim Wilson <jimw@sifive.com>
1141
1142 * config/riscv/save-restore.S: Add support for rv32e.
1143
c3f808d3
KT
11442018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1145
1146 * config/arm/libunwind.S: Update comment relating to armv5.
1147
fcf4f831
JL
11482018-05-17 Jerome Lambourg <lambourg@adacore.com>
1149
1150 * config/arm/cmse.c (cmse_check_address_range): Replace
1151 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
1152
74b2bb19
OM
11532018-05-17 Olga Makhotina <olga.makhotina@intel.com>
1154
1155 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
1156 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
1157
50e461df
OM
11582018-05-08 Olga Makhotina <olga.makhotina@intel.com>
1159
1160 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
1161 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
1162
e5f1cdb1
AC
11632018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
1164
1165 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
1166
8f479d7a
AT
11672018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
1168 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
1169
1170 PR libgcc/84292
1171 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
1172 op_and_fetch to return the right result.
1173
ae043291
AM
11742018-04-27 Alan Modra <amodra@gmail.com>
1175
1176 PR libgcc/85532
1177 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
1178 -fno-asynchronous-unwind-tables.
1179
ba169b74
CJW
11802018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
1181
1182 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
1183 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
1184
ffc2fc06
L
11852018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
1188 when including "config/i386/shadow-stack-unwind.h".
1189
7b47ecf2
L
11902018-04-24 H.J. Lu <hongjiu.lu@intel.com>
1191
1192 * configure: Regenerated.
1193
661eb8f9
MM
11942018-04-20 Michael Meissner <meissner@linux.ibm.com>
1195
1196 PR target/85456
1197 * config/rs6000/_powikf2.c: New file. Add support for the
1198 __builtin_powil function when long double is IEEE 128-bit floating
1199 point.
1200 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
1201 __powikf2 support.
1202 (__powikf2): Likewise.
1203 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
1204 (__powikf2_hw): Likewise.
1205 (__powikf2): Likewise.
1206 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
1207 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
1208 (_powikf2-hw.c): Likewise.
1209
5707be3c
L
12102018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1211
1212 PR libgcc/85334
1213 * unwind-generic.h (_Unwind_Frames_Increment): New.
1214 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
1215 Likewise.
1216 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
1217 count with _Unwind_Frames_Increment.
1218 (_Unwind_ForcedUnwind_Phase2): Likewise.
1219
5f9ca0b8
L
12202018-04-19 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 PR libgcc/85379
1223 * config/i386/morestack.S (__stack_split_initialize): Add
1224 _CET_ENDBR.
1225
a0e1df88
JJ
12262018-04-19 Jakub Jelinek <jakub@redhat.com>
1227
1228 * configure: Regenerated.
1229
001ddaa8
DM
12302018-04-18 David Malcolm <dmalcolm@redhat.com>
1231
1232 PR jit/85384
1233 * configure: Regenerate.
1234
a57f99ba
JJ
12352018-04-16 Jakub Jelinek <jakub@redhat.com>
1236
1237 PR target/84945
1238 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
1239 -Wdangling-else warnings. Mask shift counts to avoid
1240 -Wshift-count-negative and -Wshift-count-overflow false positives.
1241
4d47fe5a
RB
12422018-04-06 Ruslan Bukin <br@bsdpad.com>
1243
1244 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
1245
059cc8ac
L
12462018-03-29 H.J. Lu <hongjiu.lu@intel.com>
1247
1248 PR target/85100
1249 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
1250 (XSTATE_FP): Likewise.
1251 (XSTATE_SSE): Likewise.
1252 (XSTATE_YMM): Likewise.
1253 (XSTATE_OPMASK): Likewise.
1254 (XSTATE_ZMM): Likewise.
1255 (XSTATE_HI_ZMM): Likewise.
1256 (XCR_AVX_ENABLED_MASK): Likewise.
1257 (XCR_AVX512F_ENABLED_MASK): Likewise.
1258 (get_available_features): Enable AVX and AVX512 features only
1259 if their states are supported by OSXSAVE.
1260
f2620385
IT
12612018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1262
1263 PR target/85025
1264 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1265 Fix a typo, tmp => 255.
1266
ae6dca8c
JJ
12672018-03-20 Jakub Jelinek <jakub@redhat.com>
1268
1269 PR target/84945
1270 * config/i386/cpuinfo.h (__cpu_features2): Declare.
1271 * config/i386/cpuinfo.c (__cpu_features2): New variable for
1272 ifndef SHARED only.
1273 (set_feature): Define.
1274 (get_available_features): Use set_feature macro. Set __cpu_features2
1275 to the second word of features ifndef SHARED.
1276
c36b04c1
JK
12772018-03-15 Julia Koval <julia.koval@intel.com>
1278
1279 * config/i386/cpuinfo.c (get_available_features): Add
1280 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
1281 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
1282 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
1283 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
1284 FEATURE_AVX512BITALG.
1285
79ab5364
JK
12862018-03-14 Julia Koval <julia.koval@intel.com>
1287
1288 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
1289 icelake client and icelake server.
1290
66a00b11
JDA
12912018-03-06 John David Anglin <danglin@gcc.gnu.org>
1292
1293 * config/pa/fptr.c (_dl_read_access_allowed): New.
1294 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 1295
ce579a4f
JJ
12962018-02-28 Jakub Jelinek <jakub@redhat.com>
1297
1298 PR debug/83917
1299 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
1300 $asm_hidden_op if visibility ("hidden") attribute works.
1301 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
1302 * config/i386/i386-asm.h: Don't include auto-host.h.
1303 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
1304 PACKAGE_URL): Don't undefine.
1305 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
1306 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
1307 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
1308 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
1309 definition instead of hardcoded .hidden.
1310 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
1311 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
1312 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
1313 (USE_GAS_CFI_DIRECTIVES): Don't define.
1314 * configure: Regenerated.
1315 * config.in: Likewise.
1316
e5868319
JJ
13172018-02-26 Jakub Jelinek <jakub@redhat.com>
1318
1319 PR debug/83917
1320 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
1321 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
1322 inclusion of auto-target.h and auto-host.h.
1323 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
1324 __GCC_HAVE_DWARF2_CFI_ASM.
1325 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1326 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
1327 cfi_pop): Define.
1328 * config/i386/cygwin.S: Don't include auto-host.h here, just
1329 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
1330 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
1331 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
1332 * config/i386/resms64fx.h: Add cfi_* directives.
1333 * config/i386/resms64x.h: Likewise.
1334
faef260e
MF
13352018-02-20 Max Filippov <jcmvbkbc@gmail.com>
1336
1337 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
1338 .literal_position directive.
1339 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
1340
14e335ed
IT
13412018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1342
1343 PR target/84148
1344 * configure: Regenerate.
1345
95df0433
IT
13462018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1347
1348 PR target/84239
1349 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
1350 Include cetintrin.h not x86intrin.h.
1351
f8de876d
IT
13522018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1353
1354 PR target/84239
95df0433 1355 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
1356 Use new _get_ssp and _inc_ssp intrinsics.
1357
02da1e9c
JK
13582018-02-02 Julia Koval <julia.koval@intel.com>
1359
1360 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
1361
048c6a9a
CZ
13622018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1363
1364 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
1365 option.
1366 (__divsi3): Use RF16 safe registers.
1367 (__modsi3): Likewise.
1368
0889f168
MF
13692018-01-23 Max Filippov <jcmvbkbc@gmail.com>
1370
1371 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
1372 (__divsf3): Make NaN return value quiet.
1373 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
1374 (__divdf3): Make NaN return value quiet.
1375
bc8b0d04
SP
13762018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1377
1378 * config/rl78/anddi3.S: New assembly file.
1379 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
1380
99cc06ea
SP
13812018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1382
1383 * config/rl78/umindi3.S: New assembly file.
1384 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
1385
6e9007a0
SP
13862018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
1387
1388 * config/rl78/smindi3.S: New assembly file.
1389 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
1390
d975e494 13912018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1392
d975e494
SP
1393 * config/rl78/smaxdi3.S: New assembly file.
1394 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
1395
6a18c146 13962018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 1397
5dd16013
SP
1398 * config/rl78/umaxdi3.S: New assembly file.
1399 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 1400
07baf4a5
JDA
14012018-01-21 John David Anglin <danglin@gcc.gnu.org>
1402
1403 PR lto/83452
1404 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
1405 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 1406
dbc3af4f
RS
14072018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
1408
1409 * config/aarch64/value-unwind.h (aarch64_vg): New function.
1410 (DWARF_LAZY_REGISTER_VALUE): Define.
1411 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
1412 to provide a fallback register value.
1413
68df9882
MM
14142018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
1415
1416 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
1417 __ibm128, instead of trying to use long double.
1418 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
1419 accomidate -mabi=ieeelongdouble multilibs.
1420 (CVT_IBM128_TO_FLOAT128): Likewise.
1421 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
1422 the appropriate IBM extended double type.
1423 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
1424 (__gcc_qsub): Likewise.
1425 (__gcc_qmul): Likewise.
1426 (__gcc_qdiv): Likewise.
1427 (pack_ldouble): Likewise.
1428 (__gcc_qneg): Likewise.
1429 (__gcc_qeq): Likewise.
1430 (__gcc_qne): Likewise.
1431 (__gcc_qge): Likewise.
1432 (__gcc_qle): Likewise.
1433 (__gcc_stoq): Likewise.
1434 (__gcc_dtoq): Likewise.
1435 (__gcc_itoq): Likewise.
1436 (__gcc_utoq): Likewise.
1437 (__gcc_qunord): Likewise.
1438 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
1439 quad-float128.h for the definitions.
1440 (COPYSIGN): Use the f128 version instead of the q version.
1441 (INFINITY): Likewise.
1442 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
1443 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
1444 quad-float128.h for the definitions.
1445 (COPYSIGN): Use the f128 version instead of the q version.
1446 (INFINITY): Likewise.
1447 (FABS): Likewise.
1448 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
1449 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
1450 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
1451
64b371b1
SH
14522018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
1453
1454 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
1455 configuration.
1456
85ec4feb
JJ
14572018-01-03 Jakub Jelinek <jakub@redhat.com>
1458
1459 Update copyright years.
1460
14612017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
1462
1463 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
1464 * config/riscv/multi3.c: New file.
1465 * config/riscv/multi3.S: Remove.
1466
3a4c600f
JW
14672017-12-08 Jim Wilson <jimw@sifive.com>
1468
1469 * config/riscv/div.S: Use FUNC_* macros.
1470 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
1471 * config/riscv/save-restore.S: Likewise.
1472 * config/riscv/riscv-asm.h: New.
1473
75ad35b5
MM
14742017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
1475
6ae3512c
MM
1476 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
1477 * config/rs6000/_divkc3.c (__divkc3): Likewise.
1478
75ad35b5
MM
1479 PR libgcc/83112
1480 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
1481 correct type for all ifunc resolvers to silence -Wattribute-alias
1482 warnings. Eliminate the forward declaration of the resolver
1483 functions which is no longer needed.
1484 (__subkf3_resolve): Likewise.
1485 (__mulkf3_resolve): Likewise.
1486 (__divkf3_resolve): Likewise.
1487 (__negkf2_resolve): Likewise.
1488 (__eqkf2_resolve): Likewise.
1489 (__nekf2_resolve): Likewise.
1490 (__gekf2_resolve): Likewise.
1491 (__gtkf2_resolve): Likewise.
1492 (__lekf2_resolve): Likewise.
1493 (__ltkf2_resolve): Likewise.
1494 (__unordkf2_resolve): Likewise.
1495 (__extendsfkf2_resolve): Likewise.
1496 (__extenddfkf2_resolve): Likewise.
1497 (__trunckfsf2_resolve): Likewise.
1498 (__trunckfdf2_resolve): Likewise.
1499 (__fixkfsi_resolve): Likewise.
1500 (__fixkfdi_resolve): Likewise.
1501 (__fixunskfsi_resolve): Likewise.
1502 (__fixunskfdi_resolve): Likewise.
1503 (__floatsikf_resolve): Likewise.
1504 (__floatdikf_resolve): Likewise.
1505 (__floatunsikf_resolve): Likewise.
1506 (__floatundikf_resolve): Likewise.
1507 (__extendkftf2_resolve): Likewise.
1508 (__trunctfkf2_resolve): Likewise.
1509
1510 PR libgcc/83103
1511 * config/rs6000/quad-float128.h (TF): Don't define if long double
1512 is IEEE 128-bit floating point.
1513 (TCtype): Define as either TCmode or KCmode, depending on whether
1514 long double is IEEE 128-bit floating point.
1515 (__mulkc3_sw): Add declarations for software/hardware versions of
1516 complex multiply/divide.
1517 (__divkc3_sw): Likewise.
1518 (__mulkc3_hw): Likewise.
1519 (__divkc3_hw): Likewise.
1520 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
1521 handlers to switch between using software emulation and hardware
1522 float128 instructions, build the complex multiply/divide functions
1523 for both software and hardware support.
1524 * config/rs6000/_divkc3.c (_divkc3): Likewise.
1525 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
1526 (__divkc3_resolve): Likewise.
1527 (__mulkc3): Likewise.
1528 (__divkc3): Likewise.
1529 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
1530 (fp128_hw_src): Likewise.
1531 (fp128_hw_static_obj): Likewise.
1532 (fp128_hw_shared_obj): Likewise.
1533 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
1534 _mulkc3.c and _divkc3.c, changing the function name.
1535 (_divkc3-hw.c): Likewise.
1536 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
1537 and _divkc3-hw.c.
1538
c234d831
UB
15392017-11-26 Julia Koval <julia.koval@intel.com>
1540
1541 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
1542 * config/i386/cpuinfo.h (processor_subtypes): Add
1543 INTEL_COREI7_CANNONLAKE.
1544
1ebafce0
IT
15452017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1546
1547 PR bootstrap/83015
1548 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
1549 parameter.
1550 * config/xtensa/unwind-dw2-xtensa.c: Likewise
1551 * config/ia64/unwind-ia64.c: Add frames parameter.
1552 * unwind-sjlj.c: Likewise.
1553
6a10fff4
IT
15542017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1555
1556 * config/i386/linux-unwind.h: Include
1557 config/i386/shadow-stack-unwind.h.
1558 * config/i386/shadow-stack-unwind.h: New file.
1559 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
1560 pass it to _Unwind_Frames_Extra.
1561 * unwind-generic.h (_Unwind_Frames_Extra): New.
1562 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
1563 parameter. Add local variable frames to count number of frames.
1564 (_Unwind_ForcedUnwind_Phase2): Likewise.
1565 (_Unwind_RaiseException): Add local variable frames to count
1566 number of frames, pass it to _Unwind_RaiseException_Phase2 and
1567 uw_install_context.
1568 (_Unwind_ForcedUnwind): Likewise.
1569 (_Unwind_Resume): Likewise.
1570 (_Unwind_Resume_or_Rethrow): Likewise.
1571
1ecae1fc
IT
15722017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
1573
1574 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
1575 (CET_FLAGS): New.
1576 * config/i386/morestack.S: Include <cet.h>.
1577 (__morestack_large_model): Add _CET_ENDBR at function entrance.
1578 * config/i386/resms64.h: Include <cet.h>.
1579 * config/i386/resms64f.h: Likewise.
1580 * config/i386/resms64fx.h: Likewise.
1581 * config/i386/resms64x.h: Likewise.
1582 * config/i386/savms64.h: Likewise.
1583 * config/i386/savms64f.h: Likewise.
1584 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
1585 (CRTSTUFF_T_CFLAGS): Likewise.
1586 * configure.ac: Include ../config/cet.m4.
1587 Set and substitute CET_FLAGS.
1588 * configure: Regenerated.
1589
f021f1d3
RO
15902017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1591
1592 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
1593 renaming.
1594 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
1595 * configure.ac (libgcc_cv_solaris_crts): Likewise.
1596 * configure: Regenerate.
1597
65f480c7
TV
15982017-11-07 Tom de Vries <tom@codesourcery.com>
1599
1600 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
1601 after "do {} while (0)".
1602
2a321acb
TV
16032017-11-07 Tom de Vries <tom@codesourcery.com>
1604
1605 PR other/82784
1606 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
1607 semicolon after "do {} while (0)".
1608 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1609 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1610 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1611 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
1612
59fcf6c3
AT
16132017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
1614
1615 PR libgcc/82635
1616 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
1617 sysctl to determine whether we're in a trampoline.
1618 Keep the pattern matching method for systems without
1619 KERN_PROC_SIGTRAMP sysctl.
1620
b0c7ddf8
CM
16212017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
1622 Vineet Gupta <vgupta@synopsys.com>
1623
1624 * config.host (arc*-*-linux*): Set md_unwind_header variable.
1625 * config/arc/linux-unwind-reg.def: New file.
1626 * config/arc/linux-unwind-reg.h: Likewise.
1627
5feee954
SP
16282017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
1629
1630 * config/rl78/subdi3.S: New assembly file.
1631 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
1632
a0bf6cf7
SP
16332017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
1634
1635 * config/rl78/adddi3.S: New assembly file.
1636 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
1637
e7176f75
JJ
16382017-10-13 Jakub Jelinek <jakub@redhat.com>
1639
1640 PR target/82274
1641 * libgcc2.c (__mulvDI3): If both operands have
1642 the same highpart of -1 and the topmost bit of lowpart is 0,
1643 multiplication overflows even if both lowparts are 0.
1644
db6601d2
JB
16452017-09-28 James Bowman <james.bowman@ftdichip.com>
1646
1647 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
1648
938b6f1e
JM
16492017-09-26 Joseph Myers <joseph@codesourcery.com>
1650
1651 * config/microblaze/crti.S, config/microblaze/crtn.S,
1652 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
1653 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
1654 config/microblaze/mulsi3.S,
1655 config/microblaze/stack_overflow_exit.S,
1656 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
1657 config/pa/milli64.S: Add .note.GNU-stack section.
1658
89762a83
DS
16592017-09-23 Daniel Santos <daniel.santos@pobox.com>
1660
1661 * configure.ac: Add Check for HAVE_AS_AVX.
1662 * config.in: Regenerate.
1663 * configure: Likewise.
1664 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
1665 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
1666 Correct out-of-date comments.
1667
cace2309
SP
16682017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
1669
1670 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
1671 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
1672
3cb626e4
DS
16732017-09-17 Daniel Santos <daniel.santos@pobox.com>
1674
cace2309 1675 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
1676 (ASMNAME): Modify to use PASTE2.
1677 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
1678 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 1679 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 1680 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
1681 * config/i386/resms64f.S: Likewise.
1682 * config/i386/resms64fx.S: Likewise.
1683 * config/i386/resms64x.S: Likewise.
1684 * config/i386/savms64.S: Likewise.
1685 * config/i386/savms64f.S: Likewise.
1686 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 1687 includes it's corresponding header file.
cace2309
SP
1688 * config/i386/avx_resms64f.S: Likewise.
1689 * config/i386/avx_resms64fx.S: Likewise.
1690 * config/i386/avx_resms64x.S: Likewise.
1691 * config/i386/avx_savms64.S: Likewise.
1692 * config/i386/avx_savms64f.S: Likewise.
1693 * config/i386/sse_resms64.S: Likewise.
1694 * config/i386/sse_resms64f.S: Likewise.
1695 * config/i386/sse_resms64fx.S: Likewise.
1696 * config/i386/sse_resms64x.S: Likewise.
1697 * config/i386/sse_savms64.S: Likewise.
1698 * config/i386/sse_savms64f.S: Likewise.
1699 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 1700
2f19c491 17012017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
1702 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
1703
611e7036
OH
17042017-08-31 Olivier Hainque <hainque@adacore.com>
1705
1706 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
1707 match as powerpc-wrs-vxworks*.
1708
c8f34527
JY
17092017-08-07 Jonathan Yong <10walls@gmail.com>
1710
1711 * config.host (*-cygwin): Include file from mingw
1712 config/i386/enable-execute-stack-mingw32.c
1713
0b458d2b 17142017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
1715 Doug Rupp <rupp@adacore.com>
1716 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
1717
1718 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
1719 as well as arm-wrs-vxworks.
1720 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
1721 LIB2ADDEH.
1722 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
1723 __exidx_start and __exidx_end for downloadable modules.
1724
4df612fa
OH
17252017-08-01 Olivier Hainque <hainque@adacore.com>
1726
1727 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
1728 * config/t-vxworks7: Likewise.
1729
5560e8c0
OH
17302017-08-01 Olivier Hainque <hainque@adacore.com>
1731
1732 * config/t-vxworks: Instead of redefining LIB2ADD,
1733 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
1734
16bab95a
SH
17352017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1736
1737 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
1738
9cbc07cc
DS
17392017-07-24 Daniel Santos <daniel.santos@pobox.com>
1740
1741 PR testsuite/80759
1742 * config.host: include i386/t-msabi for darwin and solaris.
1743 * config/i386/i386-asm.h
1744 (ELFFN): Rename to FN_TYPE.
1745 (FN_SIZE): New macro.
1746 (FN_HIDDEN): Likewise.
1747 (ASMNAME): Likewise.
1748 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
1749 .globl.
1750 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
1751 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
1752 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
1753 .macro.
1754 * config/i386/resms64f.S: Likewise.
1755 * config/i386/resms64fx.S: Likewise.
1756 * config/i386/resms64x.S: Likewise.
1757 * config/i386/savms64.S: Likewise.
1758 * config/i386/savms64f.S: Likewise.
1759
de742204
JM
17602017-07-19 John Marino <gnugcc@marino.st>
1761
1762 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
1763
3787ee47
MM
17642017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
1765
1766 PR target/81193
1767 * configure.ac (PowerPC float128 hardware support): Test whether
1768 we can use __builtin_cpu_supports before enabling the ifunc
1769 handler.
1770 * configure: Regenerate.
1771
b1938888
VG
17722017-07-10 Vineet Gupta <vgupta@synopsys.com>
1773
1774 * config.host: Remove uclibc from arc target spec.
1775
bec75e53
KW
17762017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
1777
1778 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
1779
d4391a62
PB
17802017-07-07 Peter Bergner <bergner@vnet.ibm.com>
1781
1782 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
1783 (have_ieee_hw_p): Delete function.
1784 (SW_OR_HW) Use __builtin_cpu_supports().
1785
9296dd9b
TP
17862017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1787
1788 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
1789
b85a969e
OH
17902017-07-03 Olivier Hainque <hainque@adacore.com>
1791
d4391a62 1792 * config/t-vxworks7: New file, really.
b85a969e 1793
883312dc
JM
17942017-06-28 Joseph Myers <joseph@codesourcery.com>
1795
1796 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
1797 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
1798 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
1799 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
1800 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
1801 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
1802 config/pa/linux-unwind.h (pa32_fallback_frame_state),
1803 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
1804 config/sh/linux-unwind.h (sh_fallback_frame_state),
1805 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
1806 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
1807 ucontext_t instead of struct ucontext.
1808
50567938
JL
18092017-06-27 Jerome Lambourg <lambourg@adacore.com>
1810
1811 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
1812 (x86_64-wrs-vxworks7): Likewise.
1813
e4b0df93
OH
18142017-06-27 Olivier Hainque <hainque@adacore.com>
1815
1816 * config/t-vxworks7: New file.
1817 * config.host (*-*-vxworks7): Use it.
1818
60edf8bb
MT
18192017-06-22 Matt Turner <mattst88@gmail.com>
1820
1821 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
1822 skylake case.
1823
a51a76e5
RB
18242017-06-21 Richard Biener <rguenther@suse.de>
1825
1826 PR gcov-profile/81080
1827 * configure.ac: Add AC_SYS_LARGEFILE.
1828 * libgcov.h: Include auto-target.h before tsystem.h to pick
1829 up _FILE_OFFSET_BITS which might differ for multilibs.
1830 * config.in: Regenerate.
1831 * configure: Likewise.
1832
f0cd49c5
RE
18332017-06-16 Richard Earnshaw <rearnsha@arm.com>
1834
1835 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
1836
4f751c54
ML
18372017-06-09 Martin Liska <mliska@suse.cz>
1838
1839 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
1840 Reset __gcov_indirect_call_callee to NULL.
1841
1ac644c8
OH
18422017-06-08 Olivier Hainque <hainque@adacore.com>
1843
1844 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
1845 the set of -I options, support for direct inclusions of net/uio.h
1846 by VxWorks header files via ioLib.h.
1847
d8b9cd27
TR
18482017-06-07 Tony Reix <tony.reix@atos.net>
1849 Matthieu Sarter <matthieu.sarter.external@atos.net>
1850 David Edelsohn <dje.gcc@gmail.com>
1851
92a285c1
ML
1852 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
1853 unconditionally.
1854 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
1855 AIX 7.2 support.
d8b9cd27 1856
38a75ccc
OH
18572017-06-02 Olivier Hainque <hainque@adacore.com>
1858
1859 * config/vxlib.c (__gthread_once): Add missing value to
1860 return statement.
1861
5b2edf53
OH
18622017-05-30 Olivier Hainque <hainque@adacore.com>
1863
1864 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
1865 dollar sign before $(MULTIDIR).
1866
7d66e265
RH
18672017-05-26 Richard Henderson <rth@redhat.com>
1868
1869 PR libgcc/80037
1870 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
1871
78eca309
AT
18722017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
1873
1874 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
1875 _Unwind_SetIP available as functions for arm*-*-freebsd*.
1876 * config/arm/unwind-arm.c: Implement the above.
1877
c39d309a
AZ
18782017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1879
1880 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
1881 section for a non-executable stack.
1882
eac8c9f2
KW
18832017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
1884
1885 PR target/80600
1886 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
1887
d6d4d770
DS
18882017-05-14 Daniel Santos <daniel.santos@pobox.com>
1889
1890 * config.host: Add i386/t-msabi to i386/t-linux file list.
1891 * config/i386/i386-asm.h: New file.
1892 * config/i386/resms64.S: New file.
1893 * config/i386/resms64f.S: New file.
1894 * config/i386/resms64fx.S: New file.
1895 * config/i386/resms64x.S: New file.
1896 * config/i386/savms64.S: New file.
1897 * config/i386/savms64f.S: New file.
1898 * config/i386/t-msabi: New file.
1899
8ef2b9a7
AT
19002017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
1901
1902 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
1903 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
1904
7ab8766a
JC
19052017-05-05 Joshua Conner <joshconner@google.com>
1906
1907 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
1908 pc-relative indirect handling for fuchsia.
1909 * config/t-slibgcc-fuchsia: New file.
1910 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 1911 x86_64-*-fuchsia*): Add definitions.
7ab8766a 1912
46928a8f
ML
19132017-04-19 Martin Liska <mliska@suse.cz>
1914
1915 PR gcov-profile/80435
1916 * Makefile.in: Install gcov.h.
1917 * gcov.h: New file.
1918 * libgcov.h: Use the header and make __gcov_flush publicly
1919 visible.
1920
63971184
ML
19212017-04-18 Martin Liska <mliska@suse.cz>
1922
1923 PR gcov-profile/78783
1924 * libgcov-driver.c (gcov_get_filename): New function.
1925
29d8aae6
JL
19262017-04-07 Jeff Law <law@redhat.com>
1927
1928 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
1929 target makefile fragment.
1930 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
1931
2bdf7fc6
AM
19322017-04-07 Alan Modra <amodra@gmail.com>
1933
1934 PR target/45053
1935 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
1936
5764ee3c
JW
19372017-04-03 Jonathan Wakely <jwakely@redhat.com>
1938
1939 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
1940
c4192ad7
CZ
19412017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
1942
1943 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
1944
4ccfdb28
JM
19452017-03-10 John Marino <gnugcc@marino.st>
1946
1947 * config/aarch64/freebsd-unwind.h: New file.
1948 * config.host: Add aarch64-*-freebsd unwinder.
1949
4144e4e3
SB
19502017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1951
1952 * config/rs6000/crtrestvr.s: Use .machine altivec.
1953 * config/rs6000/crtsavevr.s: Ditto.
1954
7502c597
SB
19552017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
1956
1957 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
1958 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
1959 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
1960 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
1961 * configure: Regenerate.
1962 * config.in: Regenerate.
1963
db9f7f65
JY
19642017-03-02 Jonathan Yong <10walls@gmail.com>
1965
1966 * config/i386/gthr-win32.h: Define NOGDI before
1967 windows.h include to prevent w32api CC_NONE macro
1968 clash with libgfortran.
1969
126437c5
JY
19702017-03-02 Jonathan Yong <10walls@gmail.com>
1971
1972 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
1973
31927af6
AP
19742017-02-16 Andrew Pinski <apinski@cavium.com>
1975
1976 * config/aarch64/value-unwind.h: New file.
1977 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
1978 to tm_file.
1979
0bd99911
PD
19802017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
1981
1982 * config.host: Add RISC-V tuples.
1983 * config/riscv/atomic.c: New file.
1984 * config/riscv/crti.S: Likewise.
1985 * config/riscv/crtn.S: Likewise.
1986 * config/riscv/div.S: Likewise.
1987 * config/riscv/linux-unwind.h: Likewise.
1988 * config/riscv/muldi3.S: Likewise.
1989 * config/riscv/multi3.S: Likewise.
1990 * config/riscv/save-restore.S: Likewise.
1991 * config/riscv/sfp-machine.h: Likewise.
1992 * config/riscv/t-elf: Likewise.
1993 * config/riscv/t-elf32: Likewise.
1994 * config/riscv/t-elf64: Likewise.
1995 * config/riscv/t-softfp32: Likewise.
1996 * config/riscv/t-softfp64: Likewise.
1997
a8c9ef2a
JJ
19982017-01-24 Jakub Jelinek <jakub@redhat.com>
1999
2000 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2001 /* FALLTHRU */ comments.
2002
c6c82710
GP
20032017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
2004
2005 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
2006
a876231c
JW
20072017-01-20 Jiong Wang <jiong.wang@arm.com>
2008
2009 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
2010 * unwind-dw2.c (execute_cfa_program): Only multiplexing
2011 DW_CFA_GNU_window_save for AArch64 and LP64.
2012
aa348be2
JW
20132017-01-20 Jiong Wang <jiong.wang@arm.com>
2014
2015 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
2016
5636faf2
JW
20172017-01-19 Jiong Wang <jiong.wang@arm.com>
2018
2019 * config/aarch64/aarch64-unwind.h: New file.
2020 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
2021 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
2022 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
2023 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
2024 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
2025 (aarch64_post_extract_frame_addr): New function.
2026 (aarch64_post_frob_eh_handler_addr): New function.
2027 (aarch64_frob_update_context): New function.
2028 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
2029 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
2030 aarch64*-*-freebsd*):
2031 Initialize md_unwind_header to include aarch64-unwind.h.
2032 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
2033 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
2034 __aarch64__.
2035 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
2036 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
2037 (uw_frob_return_addr): New function.
2038 (uw_install_context): Use uw_frob_return_addr.
2039
3c36aa6b
JJ
20402017-01-17 Jakub Jelinek <jakub@redhat.com>
2041
2042 PR other/79046
2043 * configure.ac: Add GCC_BASE_VER.
2044 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
2045 version from BASE-VER file.
2046 * configure: Regenerated.
2047
829afb8f
JS
20482017-01-13 Joe Seymour <joe.s@somniumtech.com>
2049
2050 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
2051 libmul_f5.a): Filter archived prerequisites.
2052
79fc8ffe
AS
20532017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
2054
2055 * config/i386/cpuinfo.h (processor_features): Add
2056 FEATURE_AVX512VPOPCNTDQ.
2057 * config/i386/cpuinfo.c (get_available_features): Habdle new
2058 feature.
2059
fec5f4e0
JM
20602017-01-04 Joseph Myers <joseph@codesourcery.com>
2061
2062 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
2063 payload if [__mips_nan2008].
2064
8f56cb51
AM
20652017-01-04 Alan Modra <amodra@gmail.com>
2066
2067 * Makefile.in (configure_deps): Update.
2068 * configure: Regenerate.
2069
cbe34bb5
JJ
20702017-01-01 Jakub Jelinek <jakub@redhat.com>
2071
2072 Update copyright years.
2073
ab955692
KW
20742016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
2075
2076 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
2077 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
2078 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
2079
de34320f
MK
20802016-12-17 Matthias Klose <doko@ubuntu.com>
2081
2082 * config/arc/gmon: Remove empty directory.
2083
e04ea1da
CZ
20842016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
2085
2086 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
2087 crtgend.
2088 (arc*-*-elf*): Likewise.
2089 * config/arc/t-arc: Remove old gmon lib targets.
2090 * config/arc/crtg.S: Remove.
2091 * config/arc/crtgend.S: Likewise.
2092 * config/arc/gmon/atomic.h: Likewise.
2093 * config/arc/gmon/auxreg.h: Likewise.
2094 * config/arc/gmon/dcache_linesz.S: Likewise.
2095 * config/arc/gmon/gmon.c: Likewise.
2096 * config/arc/gmon/machine-gmon.h: Likewise.
2097 * config/arc/gmon/mcount.c: Likewise.
2098 * config/arc/gmon/prof-freq-stub.S: Likewise.
2099 * config/arc/gmon/prof-freq.c: Likewise.
2100 * config/arc/gmon/profil.S: Likewise.
2101 * config/arc/gmon/sys/gmon.h: Likewise.
2102 * config/arc/gmon/sys/gmon_out.h: Likewise.
2103 * config/arc/t-arc-newlib: Likewise.
2104 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
2105
8ae1c2c1
GS
21062016-12-12 George Spelvin <linux@sciencehorizons.net>
2107
2108 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
2109
a5b947fa
GS
21102016-12-12 George Spelvin <linux@sciencehorizons.net>
2111
2112 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
2113 R16 instead of push + pop.
2114 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
2115
d6574dd1
KW
21162016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
2117
2118 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
2119 tmake_file.
2120
62440b4f
CM
21212016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
2122
2123 * config.host (arc*-*-linux-uclibc*): Use default extra
2124 objects. Include linux-android header.
2125 * config/arc/crti.S (_init): Declare symbol as function.
2126 (_fini): Likewise.
2127
31cfd832
TK
21282016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
2129
2130 PR fortran/78379
2131 * config/i386/cpuinfo.c: Move denums for processor vendors,
2132 processor type, processor subtypes and declaration of
2133 struct __processor_model into
2134 * config/i386/cpuinfo.h: New header file.
2135
c92e08e3
AV
21362016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2137 Thomas Preud'homme <thomas.preudhomme@arm.com>
2138
2139 * config/arm/cmse_nonsecure_call.S: New.
2140 * config/arm/t-arm: Compile cmse_nonsecure_call.S
2141
de7b5723
AV
21422016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
2143 Thomas Preud'homme <thomas.preudhomme@arm.com>
2144
2145 * config/arm/t-arm (HAVE_CMSE): New.
2146 * config/arm/cmse.c: New.
2147
7a0d2bce
TP
21482016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2149
b3a5bff4
TP
2150 PR gcc/74748
2151 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
2152 use generic linker version information on Blackfin.
2153
7a0d2bce
TP
2154 PR gcc/74748
2155 * libgcc/mkmap-symver.awk: add support for skip_underscore
2156
b410cf1d
IS
21572016-11-27 Iain Sandoe <iain@codesourcery.com>
2158 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2159
2160 PR target/67710
2161 * config/t-darwin: Default builds to 10.5 codegen.
2162
2e5f8203
JG
21632016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
2164
2165 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
2166 (_FP_NANSIGN_H): Likewise.
2167 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
2168 (softfp_truncations): Add tfhf.
2169 (softfp_extras): Add required conversion functions.
2170
bea64ca3
JG
21712016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2172 Matthew Wahab <matthew.wahab@arm.com>
2173
2174 * config/arm/fp16.c (binary64): New.
2175 (__gnu_d2h_internal): New.
2176 (__gnu_d2h_ieee): New.
2177 (__gnu_d2h_alternative): New.
2178
8630cadb
JG
21792016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2180 Matthew Wahab <matthew.wahab@arm.com>
2181
2182 * config/arm/fp16.c (struct format): New.
2183 (binary32): New.
2184 (__gnu_float2h_internal): New. Body moved from
2185 __gnu_f2h_internal and generalize.
2186 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
2187 Call it with binary32.
2188
5823ef23
JG
21892016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
2190
2191 * soft-fp/extendhftf2.c: Update from glibc.
2192 * soft-fp/fixhfti.c: Likewise.
2193 * soft-fp/fixunshfti.c: Likewise.
2194 * soft-fp/floattihf.c: Likewise.
2195 * soft-fp/floatuntihf.c: Likewise.
2196 * soft-fp/half.h: Likewise.
2197 * soft-fp/trunctfhf2.c: Likewise.
2198
62a7df9f
MG
21992016-11-20 Marc Glisse <marc.glisse@inria.fr>
2200
2201 PR libgcc/77813
2202 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
2203 __TMC_END__ behind a passthrough asm.
2204
7a384912
WL
22052016-11-18 Walter Lee <walt@tilera.com>
2206
62a7df9f 2207 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 2208
9775c1a5
L
22092016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
2210
2211 * config/i386/cpuinfo.c (processor_features): Add
2212 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
2213
48c842ab
CZ
22142016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
2215
2216 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
2217 (__ARC_NORM__): Use instead ARC_OPTFPE.
2218 * config/arc/fp-hack.h: Likewise.
2219 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
2220 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
2221
5012919d
AM
22222016-11-16 Alexander Monakov <amonakov@ispras.ru>
2223
2224 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
2225 * config/nvptx/mgomp.c: New file.
2226 * config/nvptx/t-nvptx: Add mgomp.c
2227
00178b98
WB
22282016-11-16 Waldemar Brodkorb <wbx@openadk.org>
2229
2230 PR libgcc/68468
2231 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
2232
d64af69f
CZ
22332016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
2234
2235 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
2236 of checking for cpus.
2237 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
2238 (__modsi3, __clzsi2): Likewise.
2239
9d8f95de
SN
22402016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
2241
2242 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
2243 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
2244 * config/i386/t-cpuinfo-static: New.
2245
7d29f8e3
ML
22462016-11-03 Martin Liska <mliska@suse.cz>
2247
2248 * libgcov-profiler.c (__gcov_time_profiler): Remove.
2249 (__gcov_time_profiler_atomic): Likewise.
2250
5de3e2d8
BE
22512016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
2252
2253 PR libgcc/78067
2254 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
2255 count_leading_zeros.
2256
18362447
UB
22572016-11-02 Uros Bizjak <ubizjak@gmail.com>
2258
2259 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
2260 * libgcc2.c (__divmoddi4): New function.
2261 * libgcc2.h (__divmoddi4): Declare.
2262 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
2263 and __PFX_divmodti4.
2264
33107571
FW
22652016-10-24 Florian Weimer <fweimer@redhat.com>
2266
2267 PR libgcc/78064
2268 * unwind-c.c: Include auto-target.h.
2269
4c6d7494
JDA
22702016-10-19 John David Anglin <danglin@gcc.gnu.org>
2271
18362447 2272 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
2273 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
2274 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
2275 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
2276 hppa*64*-*-hpux11*.
2277
2a26adf1
MF
22782016-10-18 Max Filippov <jcmvbkbc@gmail.com>
2279
2280 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2281 definition.
2282 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
2283 definition.
2284 * config/xtensa/t-windowed (LIB2ADDEH): Use
2285 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
2286 or xtensa/t-linux.
2287
66192aa1
DKC
22882016-10-18 Ding-Kai Chen <dkchen@cadence.com>
2289
2290 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
2291 __ieee754_sqrt): New functions.
2292 (__divdf3): Add implementation with new FPU instructions under
2293 #if XCHAL_HAVE_DFP_DIV.
2294 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
2295 __ieee754_sqrtf): New functions.
2296 (__divsf3): Add implementation with new FPU instructions under
2297 #if XCHAL_HAVE_FP_DIV.
2298 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
2299 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
2300
4d0cdd0c
TP
23012016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2302
2303 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
2304 equivalent.
2305 * config/tilepro/atomic.c: Likewise and stop casting model to
2306 enum memmodel.
2307
73f01cca
JM
23082016-10-10 Joseph Myers <joseph@codesourcery.com>
2309
2310 PR target/77586
2311 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
2312 soft-fp.
2313
b20e7532
AT
23142016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
2315
2316 * config.host: Add support for aarch64-*-freebsd*.
2317
a786cec4
AS
23182016-10-05 Andreas Schwab <schwab@suse.de>
2319
2320 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
2321 (.section .init_array): Don't call __do_jv_register_classes.
2322 (.section .init): Likewise.
2323
5a79befb
JJ
23242016-10-04 Jakub Jelinek <jakub@redhat.com>
2325
2326 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
2327 (__JCR_LIST__): Remove.
2328 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
2329 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
2330 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
2331 * config/ia64/crtend.S (__JCR_END__): Remove.
2332 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
2333 conditionals.
2334 (__JCR_LIST__, __JCR_END__): Remove.
2335 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
2336 (__do_global_ctors_1): Likewise.
2337
e0ab3753
UB
23382015-09-28 Uros Bizjak <ubizjak@gmail.com>
2339
2340 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
2341 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
2342
8c9434c2
ML
23432016-09-27 Martin Liska <mliska@suse.cz>
2344
2345 PR gcov-profile/7970
2346 PR gcov-profile/16855
2347 PR gcov-profile/44779
2348 * libgcov-driver.c (__gcov_init): Do not register a atexit
2349 handler.
2350 (__gcov_exit): Rename from gcov_exit.
2351 * libgcov.h (__gcov_exit): Declare.
2352
56b653f1
ML
23532016-09-27 Martin Liska <mliska@suse.cz>
2354
2355 PR bootstrap/77749
2356 * Makefile.in: Remove _gcov_merge_delta.
2357 * libgcov-merge.c (void __gcov_merge_delta): Remove.
2358 * libgcov-util.c (__gcov_delta_counter_op): Remove.
2359 * libgcov.h: Remove declaration of __gcov_merge_delta.
2360
7e02fd1b
EB
23612016-09-21 Eric Botcazou <ebotcazou@adacore.com>
2362
2363 * configure.ac: Do not create links, only substitute the filenames.
2364 * configure: Regenerate.
2365 * Makefile.in: Assign the substitution results to variables.
2366 (LIBGCC_LINKS): Define.
2367 (enable-execute-stack.c): New rule.
2368 (unwind.h): Likewise.
2369 (md-unwind-support.h): Likewise.
2370 (sfp-machine.h): Likewise.
2371 (gthr-default.h): Likewise.
2372 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
2373 unwind.h as prerequisite of install-unwind_h-forbuild.
2374
29991048
JJ
23752016-09-16 Jakub Jelinek <jakub@redhat.com>
2376
2377 PR libgcc/71744
2378 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
2379 is not the primary registry and atomics are available.
2380 (any_objects_registered): New variable.
2381 (__register_frame_info_bases, __register_frame_info_table_bases):
2382 Atomically store 1 to any_objects_registered after registering first
2383 unwind info.
2384 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
2385
0abcd6cc
JG
23862016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
2387
2388 PR target/63250
2389 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
2390 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
2391 (HFtype): Likewise.
2392 (HCtype): Likewise.
2393 (__divhc3): Likewise.
2394 (__mulhc3): Likewise.
2395 * libgcc2.c: Support _mulhc3 and _divhc3.
2396
d758aeb5
JM
23972016-09-07 Joseph Myers <joseph@codesourcery.com>
2398
2399 PR libgcc/77519
2400 * libgcc2.c (NOTRUNC): Invert settings.
2401
7fe76f6a
ML
24022016-09-06 Martin Liska <mliska@suse.cz>
2403
2404 PR gcov-profile/77378
2405 PR gcov-profile/77466
2406 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
2407 conditionaly enable/disable *_atomic functions.
2408
21184026
JM
24092016-08-26 Joseph Myers <joseph@codesourcery.com>
2410
2411 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
2412 where not already enabled.
2413
726f49c3
SN
24142016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
2415
2416 * config/mips/linux-unwind.h: Use sys/syscall.h.
2417
feeb6268
JM
24182016-08-16 Joseph Myers <joseph@codesourcery.com>
2419
2420 PR libgcc/77265
2421 * soft-fp/adddf3.c: Update from glibc.
2422 * soft-fp/addsf3.c: Likewise.
2423 * soft-fp/addtf3.c: Likewise.
2424 * soft-fp/divdf3.c: Likewise.
2425 * soft-fp/divsf3.c: Likewise.
2426 * soft-fp/divtf3.c: Likewise.
2427 * soft-fp/double.h: Likewise.
2428 * soft-fp/eqdf2.c: Likewise.
2429 * soft-fp/eqsf2.c: Likewise.
2430 * soft-fp/eqtf2.c: Likewise.
2431 * soft-fp/extenddftf2.c: Likewise.
2432 * soft-fp/extended.h: Likewise.
2433 * soft-fp/extendsfdf2.c: Likewise.
2434 * soft-fp/extendsftf2.c: Likewise.
2435 * soft-fp/extendxftf2.c: Likewise.
2436 * soft-fp/fixdfdi.c: Likewise.
2437 * soft-fp/fixdfsi.c: Likewise.
2438 * soft-fp/fixdfti.c: Likewise.
2439 * soft-fp/fixsfdi.c: Likewise.
2440 * soft-fp/fixsfsi.c: Likewise.
2441 * soft-fp/fixsfti.c: Likewise.
2442 * soft-fp/fixtfdi.c: Likewise.
2443 * soft-fp/fixtfsi.c: Likewise.
2444 * soft-fp/fixtfti.c: Likewise.
2445 * soft-fp/fixunsdfdi.c: Likewise.
2446 * soft-fp/fixunsdfsi.c: Likewise.
2447 * soft-fp/fixunsdfti.c: Likewise.
2448 * soft-fp/fixunssfdi.c: Likewise.
2449 * soft-fp/fixunssfsi.c: Likewise.
2450 * soft-fp/fixunssfti.c: Likewise.
2451 * soft-fp/fixunstfdi.c: Likewise.
2452 * soft-fp/fixunstfsi.c: Likewise.
2453 * soft-fp/fixunstfti.c: Likewise.
2454 * soft-fp/floatdidf.c: Likewise.
2455 * soft-fp/floatdisf.c: Likewise.
2456 * soft-fp/floatditf.c: Likewise.
2457 * soft-fp/floatsidf.c: Likewise.
2458 * soft-fp/floatsisf.c: Likewise.
2459 * soft-fp/floatsitf.c: Likewise.
2460 * soft-fp/floattidf.c: Likewise.
2461 * soft-fp/floattisf.c: Likewise.
2462 * soft-fp/floattitf.c: Likewise.
2463 * soft-fp/floatundidf.c: Likewise.
2464 * soft-fp/floatundisf.c: Likewise.
2465 * soft-fp/floatunditf.c: Likewise.
2466 * soft-fp/floatunsidf.c: Likewise.
2467 * soft-fp/floatunsisf.c: Likewise.
2468 * soft-fp/floatunsitf.c: Likewise.
2469 * soft-fp/floatuntidf.c: Likewise.
2470 * soft-fp/floatuntisf.c: Likewise.
2471 * soft-fp/floatuntitf.c: Likewise.
2472 * soft-fp/gedf2.c: Likewise.
2473 * soft-fp/gesf2.c: Likewise.
2474 * soft-fp/getf2.c: Likewise.
2475 * soft-fp/ledf2.c: Likewise.
2476 * soft-fp/lesf2.c: Likewise.
2477 * soft-fp/letf2.c: Likewise.
2478 * soft-fp/muldf3.c: Likewise.
2479 * soft-fp/mulsf3.c: Likewise.
2480 * soft-fp/multf3.c: Likewise.
2481 * soft-fp/negdf2.c: Likewise.
2482 * soft-fp/negsf2.c: Likewise.
2483 * soft-fp/negtf2.c: Likewise.
2484 * soft-fp/op-1.h: Likewise.
2485 * soft-fp/op-2.h: Likewise.
2486 * soft-fp/op-4.h: Likewise.
2487 * soft-fp/op-8.h: Likewise.
2488 * soft-fp/op-common.h: Likewise.
2489 * soft-fp/quad.h: Likewise.
2490 * soft-fp/single.h: Likewise.
2491 * soft-fp/soft-fp.h: Likewise.
2492 * soft-fp/subdf3.c: Likewise.
2493 * soft-fp/subsf3.c: Likewise.
2494 * soft-fp/subtf3.c: Likewise.
2495 * soft-fp/truncdfsf2.c: Likewise.
2496 * soft-fp/trunctfdf2.c: Likewise.
2497 * soft-fp/trunctfsf2.c: Likewise.
2498 * soft-fp/trunctfxf2.c: Likewise.
2499 * soft-fp/unorddf2.c: Likewise.
2500 * soft-fp/unordsf2.c: Likewise.
2501 * soft-fp/unordtf2.c: Likewise.
2502
2e6fc1ac
GG
25032016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
2504
2505 PR gcov-profile/67097
2506 * libgcov-util.c (gcov_profile_merge): Skip missing files.
2507
a266236e
ML
25082016-08-10 Martin Liska <mliska@suse.cz>
2509
2510 PR gcov-profile/58306
2511 * Makefile.in: New functions (modules) are added.
2512 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
2513 function.
2514 (__gcov_pow2_profiler_atomic): New function.
2515 (__gcov_one_value_profiler_body): New argument is instroduced.
2516 (__gcov_one_value_profiler): Call with the new argument.
2517 (__gcov_one_value_profiler_atomic): Likewise.
2518 (__gcov_indirect_call_profiler_v2): Likewise.
2519 (__gcov_time_profiler_atomic): New function.
2520 (__gcov_average_profiler_atomic): Likewise.
2521 (__gcov_ior_profiler_atomic): Likewise.
2522 * libgcov.h: Declare the aforementioned functions.
2523
e0c8eebf
ML
25242016-08-09 Martin Liska <mliska@suse.cz>
2525
2526 * libgcov-util.c: Fix typo and GNU coding style.
2527
6dce6418
ML
25282016-08-09 Martin Liska <mliska@suse.cz>
2529
2530 * Makefile.in: Remove __gcov_indirect_call_profiler.
2531 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
2532 function.
2533 * libgcov.h: And the declaration of the function.
2534
dcb1e137
ML
25352016-08-09 Martin Liska <mliska@suse.cz>
2536
2537 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
2538 power of two.
2539
d6e69705
BS
25402016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2541
2542 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
2543 * config/rs6000/_mulkc3.c: Likewise.
2544
96aa1f95
GJL
25452016-07-29 Georg-Johann Lay <avr@gjlay.de>
2546
2547 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
2548 zero_reg as previous call to __umulhisi3 already cleared it.
2549
a1b01d34
AJ
25502016-07-21 Aurelien Jarno <aurelien@aurel32.net>
2551
2552 PR target/59833
2553 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
2554
985a47b2
NC
25552016-07-19 Nick Clifton <nickc@redhat.com>
2556
2557 * config.host (m32r): Add m32r/t-m32r to tmake_file.
2558 Add crtinit.o and crtfini.o to extra_parts.
2559
f906f5ed
BS
25602016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2561
2562 * config/rs6000/_divkc3.c: New.
2563 * config/rs6000/_mulkc3.c: New.
2564 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
2565 and _divkc3.
2566 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
2567 fp128_ppc_funcs.
2568
82742404
HW
25692016-07-11 Hale Wang <hale.wang@arm.com>
2570 Andre Vieira <andre.simoesdiasvieira@arm.com>
2571
2572 * config/arm/lib1funcs.S: Add new wrapper.
2573
05a437c1
TP
25742016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2575
2576 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
2577
3d16d9ec
TP
25782016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2579
2580 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
2581 and ARMv5t* rather than for a fixed list of architectures.
2582
6f493951
TP
25832016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
2584
2585 * config/arm/bpabi-v6m.S: Clarify what architectures is the
2586 implementation suitable for.
2587 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
2588 for all Thumb-1 only targets.
2589 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
2590 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
2591 __ARM_ARCH_6M__.
2592 (EQUIV): Likewise.
2593 (ARM_FUNC_ALIAS): Likewise.
2594 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
2595 version.
2596 (modsi3): Likewise.
2597 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
2598 (clzdi2): Likewise.
2599 (ctzsi2): Likewise.
2600 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
2601 __ARM_ARCH_6M__ in guard for checking whether it is defined.
2602 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
2603 __ARM_ARCH_6M__ and add comment to indicate the connection between
2604 this condition and the one in gcc/config/arm/elf.h.
2605 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
2606 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
2607 * config/arm/t-softfp: Likewise.
2608
1770511a
TS
26092016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2610
2611 * libgcc2.c (SYMBOL__MAIN): Remove checks for
2612 CTOR_LISTS_DEFINED_EXTERNALLY.
2613
ba6be749
WL
26142016-06-28 Walter Lee <walt@tilera.com>
2615
2616 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
2617 asm/unistd.h.
2618 (SPR_CMPEXCH_VALUE): Define for tilegx.
2619 (__NR_FAST_cmpxchg): Define for tilepro.
2620 (__NR_FAST_atomic_update): Define for tilepro.
2621 (__NR_FAST_cmpxchg64): Define for tilepro.
2622
a34c0db5
JS
26232016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
2624
18362447 2625 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 2626
0609abda
TS
26272016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2628
2629 * config.host: Remove support for mep-*.
2630 * config/mep/lib1funcs.S: Remove.
2631 * config/mep/lib2funcs.c: Remove.
2632 * config/mep/t-mep: Remove.
2633 * config/mep/tramp.c: Remove.
2634
3e326935
TS
26352016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2636
2637 * config.host: Remove support for avr-rtems.
2638 * config/avr/t-rtems: Remove.
2639
914b155c
TS
26402016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2641
2642 * config.host: Remove m32r-rtems support.
2643
5ebf89bd
TS
26442016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2645
2646 * config.host: Remove h8300-rtems support.
2647
8466af06
TS
26482016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2649
2650 * config.host: Remove support for knetbsd.
2651
d980e738
TS
26522016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2653
2654 * config.host: Remove support for openbsd 2 and 3.
2655
ee2499b4
TS
26562016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2657
2658 * config.host: Remove interix support.
2659 * config/i386/t-interix: Remove.
2660
9f92937b
JDA
26612016-06-18 John David Anglin <danglin@gcc.gnu.org>
2662
2663 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
2664 least-significant bit in function pointer for fixup.
2665
0a0ec53d
AC
26662016-06-05 Aaron Conole <aconole@redhat.com>
2667 Nathan Sidwell <nathan@acm.org>
2668
2669 PR libgcc/71400
2670 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
2671 (get_gcov_error_file): Check __gcov_error_file before trying to
2672 initialize it.
2673 (gcov_error): Always use get_gcov_error_file.
2674
8aa5bdd6
AC
26752016-06-02 Aaron Conole <aconole@redhat.com>
2676
2677 * libgcov-driver-system.c (__gcov_error_file): New.
2678 (get_gcov_error_file): New.
2679 (gcov_error): Use and set __gcov_error_file.
2680 (gcov_error_exit): New.
2681 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
2682
40774faf
NS
26832016-05-26 Nathan Sidwell <nathan@acm.org>
2684
2685 * config/nvptx/free.asm: Delete.
2686 * config/nvptx/malloc.asm: Delete.
2687 * config/nvptx/realloc.c: Delete.
2688 * t-nvptx: Update.
2689
69a6d5ad
NS
26902016-05-25 Nathan Sidwell <nathan@acm.org>
2691
2692 * config/nvptx/crt0.s: Delete.
2693 * config/nvptx/crt0.c: New.
2694 * t-nvptx: Update.
2695
6befaff6
SL
26962016-05-19 Sandra Loosemore <sandra@codesourcery.com>
2697
385c7747 2698 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
2699 dw2/seh configuration.
2700 [x86_64-*-mingw*]: Likewise.
2701
ad251dfd
JS
27022016-05-10 Joel Sherrill <joel@rtems.org>
2703
2704 PR libgcc/70720
2705 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
2706 targets so the same extra_parts are built. Also have tmake_file add
2707 on to its value rather than override.
2708
bc6d9014
OE
27092016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
2710
2711 * config.host: Remove SH5 support.
2712 * configure: Likewise.
2713
9129c8cf
OE
27142016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
2715
2716 * config/sh/crt1.S: Remove SH5 support.
2717 * config/sh/crti.S: Likewise.
2718 * config/sh/crtn.S: Likewise.
2719 * config/sh/lib1funcs-4-300.S: Likewise.
2720 * config/sh/lib1funcs-Os-4-200.S: Likewise.
2721 * config/sh/lib1funcs.S: Likewise.
2722 * config/sh/linux-unwind.h: Likewise.
2723 * config/sh/t-sh64: Delete.
2724
39d50464
CZ
27252016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
2726
2727 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
2728
8b48923b
CZ
27292016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
2730 Joern Rennecke <joern.rennecke@embecosm.com>
2731
2732 * config/arc/crttls.S: New file.
2733 * config/arc/t-arc: New rule.
2734 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
2735
2de1cf8c
NC
27362016-04-25 Nick Clifton <nickc@redhat.com>
2737
2738 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
2739 (__mspabi_cmpd): Likewise.
2740 * config/msp430/floathidf.c (__floathidf): Likewise.
2741 * config/msp430/floathisf.c (__floathisf): Likewise
2742 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
2743 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
2744 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
2745 second parameter.
2746 (__ashrsi3): Likewise.
2747
b8ce3fe2
WB
27482016-04-21 Waldemar Brodkorb <wbx@openadk.org>
2749
2750 * config/m68k/linux-atomic.c: Do not include unistd.h
2751
4986f823
MG
27522016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
2753
2754 * config/arm/ieee754-df.S: Fix typos in comments.
2755
35fbda43
MM
27562016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2757
2758 PR target/70381
2759 * configure.ac (powerpc*-*-linux*): Rework tests to build
2760 __float128 emulation routines to not depend on using #pragma GCC
2761 target to enable -mfloat128.
2762 * configure: Regnerate.
2763
72d1a48d
EB
27642016-04-04 Eric Botcazou <ebotcazou@adacore.com>
2765
2766 PR target/67172
2767 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
2768 __MINGW32__ is defined.
2769
dc2e8995
JB
27702016-03-28 James Bowman <james.bowman@ftdichip.com>
2771
385c7747 2772 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 2773
104cdaf1
MM
27742016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
2775
2776 PR libgcc/70363
2777 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
2778 built with an assembler that does not support ISA 3.0
2779 instructions, rename __extendkftf2_sw to __extendkftf2.
2780
a5046f48
RO
27812016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2782
2783 PR target/38239
2784 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
2785 call-clobbered registers.
2786 (internal_mcount): Remove __i386__ handling.
2787
df674f74
JS
27882016-02-26 Joel Sherrill <joel@rtems.org>
2789
2790 * config.host: Add x86_64-*-rtems*.
2791
7cb065d6
JS
27922016-02-26 Joel Sherrill <joel@rtems.org>
2793
2794 * libgcc/config.host: Add aarch64-*-rtems*.
2795
47dfdc53
PM
27962016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2797 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2798
2799 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
2800 union of u64 and double.
2801 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
2802 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
2803 value.
2804 (FP_ROUNDMODE): Update the usage of _fpscr.
2805
e6861a99
IV
28062016-02-25 Ilya Verbin <ilya.verbin@intel.com>
2807
2808 PR driver/68463
2809 * Makefile.in (crtoffloadtable$(objext)): New rule.
2810 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
2811 enable_offload_targets is not empty.
2812 * configure: Regenerate.
2813 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
2814 crtoffloadtable.
2815
9bfcbdee
MF
28162016-02-17 Max Filippov <jcmvbkbc@gmail.com>
2817
2818 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
2819 .literal_position before the function.
2820 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
2821 Likewise.
2822
4cb4721f
MK
28232016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
2824
2825 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
2826 * config/s390/morestack.S: New file.
2827 * config/s390/t-stack-s390: New file.
2828 * generic-morestack.c (__splitstack_find): Add s390-specific code.
2829
b29d9a29
WL
28302016-02-12 Walter Lee <walt@tilera.com>
2831
2832 * config.host (tilegx*-*-linux*): remove ti from
2833 softfp_int_modes for 32-bit configs.
2834
03a0ae7d
ILT
28352016-02-10 Ian Lance Taylor <iant@google.com>
2836
2837 PR go/68562
2838 * config/i386/morestack.S (__stack_split_initialize): Align
2839 stack.
2840
68750bce
AT
28412016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
2842
2843 PR bootstrap/69611
2844 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
2845 __FLOAT128__ to compile only for __float128 capable targets.
2846
7d296953
JJ
28472016-01-25 Jakub Jelinek <jakub@redhat.com>
2848
2849 PR target/69444
2850 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
2851 instead of ___NO_FPRS__.
2852
a71c0334 28532016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2854 Steven Munroe <munroesj@linux.vnet.ibm.com>
2855 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
2856
2857 * config/rs6000/float128-sed: New files to convert TF names to KF
2858 names for PowerPC IEEE 128-bit floating point support.
2859 * config/rs6000/float128-sed-hw: Likewise.
2860
2861 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2862 floating point hardware support.
2863
2864 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2865 128-bit floating point software emulation or use ISA 3.0 hardware
2866 support if it is available.
2867
2868 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2869 floating point.
2870
2871 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
2872 floating point to IBM extended double.
2873
2874 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
2875 double to IEEE 128-bit floating point.
2876
2877 * config/rs6000/t-float128: New Makefile fragments to enable
2878 building __float128 emulation support.
2879 * config/rs6000/t-float128-hw: Likewise.
2880
2881 * config/rs6000/sfp-exceptions.c: New file to provide exception
2882 support for IEEE 128-bit floating point.
2883
2884 * config/rs6000/floattikf.c: New files for converting between IEEE
2885 128-bit floating point and signed/unsigned 128-bit integers.
2886 * config/rs6000/fixunskfti.c: Likewise.
2887 * config/rs6000/fixkfti.c: Likewise.
2888 * config/rs6000/floatuntikf.c: Likewise.
2889
2890 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2891 when building on 64-bit systems, or when VSX is enabled.
2892 (_FP_W_TYPE): Likewise.
2893 (_FP_WS_TYPE): Likewise.
2894 (_FP_I_TYPE): Likewise.
2895 (TItype): Define on 64-bit systems.
2896 (UTItype): Likewise.
2897 (TI_BITS): Likewise.
2898 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
2899 (_FP_MUL_MEAT_Q): Likewise.
2900 (_FP_DIV_MEAT_D): Likewise.
2901 (_FP_DIV_MEAT_Q): Likewise.
2902 (_FP_NANFRAC_D): Likewise.
2903 (_FP_NANFRAC_Q): Likewise.
2904 (ISA_BIT): Add exception support if we are being compiled on a
2905 machine with hardware floating point support to build the IEEE
2906 128-bit emulation functions.
2907 (FP_EX_INVALID): Likewise.
2908 (FP_EX_OVERFLOW): Likewise.
2909 (FP_EX_UNDERFLOW): Likewise.
2910 (FP_EX_DIVZERO): Likewise.
2911 (FP_EX_INEXACT): Likewise.
2912 (FP_EX_ALL): Likewise.
2913 (__sfp_handle_exceptions): Likewise.
2914 (FP_HANDLE_EXCEPTIONS): Likewise.
2915 (FP_RND_NEAREST): Likewise.
2916 (FP_RND_ZERO): Likewise.
2917 (FP_RND_PINF): Likewise.
2918 (FP_RND_MINF): Likewise.
2919 (FP_RND_MASK): Likewise.
2920 (_FP_DECL_EX): Likewise.
2921 (FP_INIT_ROUNDMODE): Likewise.
2922 (FP_ROUNDMODE): Likewise.
2923
2924 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
2925 VSX code, enable IEEE 128-bit floating point. If the compiler can
2926 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
2927 floating point hardware instructions and it supports declaring
2928 functions with the ifunc attribute, enable ifunc functions to
2929 switch between software and hardware support.
2930 * configure.ac (powerpc*-*-linux*): Likewise.
2931 * configure: Regenerate.
2932
bdc27e50
NC
29332016-01-15 Nick Clifton <nickc@redhat.com>
2934
2935 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
2936 dependency as the source file to be compiled.
2937 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
2938 (lib2hw_mul_f5.o): Likewise.
2939
006df05d
MM
29402016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
2941
2942 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
2943 * libgcc/config/rs6000/fixkfti.c: Likewise.
2944 * libgcc/config/rs6000/fixunskfti.c: Likewise.
2945 * libgcc/config/rs6000/float128-hw.c: Likewise.
2946 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
2947 * libgcc/config/rs6000/float128-sed: Likewise.
2948 * libgcc/config/rs6000/floattikf.c: Likewise.
2949 * libgcc/config/rs6000/floatuntikf.c: Likewise.
2950 * libgcc/config/rs6000/quad-float128.h: Likewise.
2951 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
2952 * libgcc/config/rs6000/sfp-machine.h: Likewise.
2953 * libgcc/config/rs6000/t-float128: Likewise.
2954 * libgcc/config/rs6000/t-float128-hw: Likewise.
2955 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
2956 * libgcc/config.host: Likewise.
2957 * libgcc/configure: Likewise.
2958 * libgcc/configure.ac: Likewise.
2959
29176d57 29602016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
2961 Steven Munroe <munroesj@linux.vnet.ibm.com>
2962 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
2963
2964 * config/rs6000/sfp-exceptions.c: New file to provide exception
2965 support for IEEE 128-bit floating point.
2966
2967 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
2968 floating point hardware support.
2969
2970 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
2971 point conversions.
2972 * config/rs6000/fixunskfti.c: Likewise.
2973 * config/rs6000/fixkfti.c: Likewise.
2974 * config/rs6000/floatuntikf.c: Likewise.
2975 * config/rs6000/extendkftf2-sw.c: Likewise.
2976 * config/rs6000/trunctfkf2-sw.c: Likewise.
2977
2978 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
2979 128-bit floating point software emulation or use ISA 3.0 hardware
2980 support if it is available.
2981
2982 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
2983 floating point.
2984
2985 * config/rs6000/t-float128: New Makefile fragments to enable
2986 building __float128 emulation support.
2987 * config/rs6000/t-float128-hw: Likewise.
2988
2989 * config/rs6000/float128-sed: New file to convert TF names to KF
2990 names for PowerPC IEEE 128-bit floating point support.
2991
2992 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
2993 when building on 64-bit systems, or when VSX is enabled.
2994 (_FP_W_TYPE): Likewise.
2995 (_FP_WS_TYPE): Likewise.
2996 (_FP_I_TYPE): Likewise.
2997 (TItype): Define on 64-bit systems.
2998 (UTItype): Likewise.
2999 (TI_BITS): Likewise.
3000 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3001 (_FP_MUL_MEAT_Q): Likewise.
3002 (_FP_DIV_MEAT_D): Likewise.
3003 (_FP_DIV_MEAT_Q): Likewise.
3004 (_FP_NANFRAC_D): Likewise.
3005 (_FP_NANFRAC_Q): Likewise.
3006 (ISA_BIT): Add exception support if we are being compiled on a
3007 machine with hardware floating point support to build the IEEE
3008 128-bit emulation functions.
3009 (FP_EX_INVALID): Likewise.
3010 (FP_EX_OVERFLOW): Likewise.
3011 (FP_EX_UNDERFLOW): Likewise.
3012 (FP_EX_DIVZERO): Likewise.
3013 (FP_EX_INEXACT): Likewise.
3014 (FP_EX_ALL): Likewise.
3015 (__sfp_handle_exceptions): Likewise.
3016 (FP_HANDLE_EXCEPTIONS): Likewise.
3017 (FP_RND_NEAREST): Likewise.
3018 (FP_RND_ZERO): Likewise.
3019 (FP_RND_PINF): Likewise.
3020 (FP_RND_MINF): Likewise.
3021 (FP_RND_MASK): Likewise.
3022 (_FP_DECL_EX): Likewise.
3023 (FP_INIT_ROUNDMODE): Likewise.
3024 (FP_ROUNDMODE): Likewise.
3025
3026 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
3027 compiler can do __float128.
3028 * configure: Regenerate.
3029
3030 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3031 VSX code, enable IEEE 128-bit floating point.
3032
a2218983
OH
30332016-01-05 Olivier Hainque <hainque@adacore.com>
3034
3035 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 3036 specificities.
a2218983 3037
818ab71a
JJ
30382016-01-04 Jakub Jelinek <jakub@redhat.com>
3039
3040 Update copyright years.
3041
5a6c8ffa
AP
30422015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
3043
3044 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 3045 soft-fp targets.
5a6c8ffa 3046
077067a5
BE
30472015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
3048
3049 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
3050 instead of abort to avoid dependency on stdlib.h.
3051
787c1027
JDA
30522015-12-09 John David Anglin <danglin@gcc.gnu.org>
3053
3054 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
3055 to initialize call to __dl_fixup once.
3056
04a9ae28
NC
30572015-12-04 Nick Clifton <nickc@redhat.com>
3058
3059 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
3060 Allow for the second argument being negative.
3061 * config.host (extra_parts): Define for MSP430. Create separate
3062 libraries for each of the hardware multiply formats.
3063 * config/msp430/lib2hw_mul.S: Build only the multiply routines
3064 that are needed.
3065 * config/msp430/lib2mul.c: Likewise.
3066 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
3067 Add rules to build hardware multiply libraries.
3068 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
3069 __mspabi_divul function.
3070 (__mspabi_divllu): New stub function.
3071
9a32d437
JDA
30722015-12-01 John David Anglin <danglin@gcc.gnu.org>
3073
3074 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
3075 fixup values if saved GOT address doesn't match runtime address.
3076 (fixup_branch_offset): Reorder list.
3077
e5ef217c
RO
30782015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3079
3080 * Makefile.in (VTV_CFLAGS): New variable.
3081 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
3082 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
3083 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3084 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
3085 to extra_parts if $enable_vtable_verify = yes.
3086
78cc43a2
SN
30872015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
3088
3089 PR target/68059
3090 * config/arm/linux-atomic-64bit.c (__write): Rename to...
3091 (write): ...this and fix the return type.
3092
9afebea2
DD
30932015-11-19 DJ Delorie <dj@redhat.com>
3094
3095 * config/msp430/lib2hw_mul.S: Fix alignment.
3096
33f47f42
NS
30972015-11-18 Nathan Sidwell <nathan@codesourcery.com>
3098
3099 * config/nvptx/reduction.c: New.
3100 * config/nvptx/t-nvptx (LIB2ADD): Add it.
3101
d9adb476
DE
31022015-11-15 David Edelsohn <dje.gcc@gmail.com>
3103
3104 * config/rs6000/on_exit.c: New file.
3105 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
3106 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
3107
c0ab1970
CZ
31082015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
3109
3110 * config/arc/dp-hack.h: Add support for ARCHS.
3111 * config/arc/ieee-754/divdf3.S: Likewise.
3112 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3113 * config/arc/ieee-754/muldf3.S: Likewise.
3114 * config/arc/ieee-754/mulsf3.S: Likewise
3115 * config/arc/lib1funcs.S: Likewise
3116 * config/arc/gmon/dcache_linesz.S: Don't read the build register
3117 for ARCv2 cores.
3118 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
3119 for ARCv2 cores.
3120 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
3121 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
3122 cores.
3123
e6b6bf09
RO
31242015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3125
3126 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
3127 value.
3128 * config/ia64/crtend.S: Likewise.
3129
a153644f
TS
31302015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3131
3132 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
3133 __CHAR_BIT__ instead of BITS_PER_UNIT.
3134 * fixed-bit.h: Likewise.
3135 * fp-bit.h: Likewise.
3136 * libgcc2.c (__popcountSI2): Likewise.
3137 (__popcountDI2): Likewise.
3138 * libgcc2.h: Likewise.
3139 * libgcov.h: Likewise.
3140
3dee689d
DE
31412015-11-07 David Edelsohn <dje.gcc@gmail.com>
3142
3143 * config/rs6000/atexit.c: New file.
3144 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
3145 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
3146 * config/rs6000/cxa_finalize.c
3147 (catomic_compare_and_exchange_bool_acq): Negate return value.
3148
2ef543e4
VK
31492015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3150
3151 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
3152 (processor_subtypes): Add znver1.
3153 (get_amd_cpu): Detect znver1.
3154
1300f017
CL
31552015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
3156
3157 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
3158 Include crtfastmath.o.
3159
3e5bb7ee
JR
31602015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
3161
3162 PR libgcc/66883
3163 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 3164
793aa938
KP
31652015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
3166
3167 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
3168 * config/rl78/divmodsi.S: Update return register to r8.
3169 * config/rl78/divmodhi.S: Update return register to r8,r9.
3170 Branch to main_loop_done_himode to pop registers before return.
3171
7d296953 31722015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
3173
3174 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
3175 (__cpu_indicator_init): Fix model selection for AMD CPUs.
3176
6a192b5a
KY
31772015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
3178
3179 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
3180
4a0a9457
MF
31812015-10-03 Max Filippov <jcmvbkbc@gmail.com>
3182
3183 * config.host (xtensa*-*-uclinux*): New configuration.
3184
ab91c076
KY
31852015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
3186
385c7747 3187 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
3188 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
3189
30954527
JM
31902015-09-28 Joseph Myers <joseph@codesourcery.com>
3191
3192 * soft-fp/adddf3.c: Update from glibc.
3193 * soft-fp/addsf3.c: Likewise.
3194 * soft-fp/addtf3.c: Likewise.
3195 * soft-fp/divdf3.c: Likewise.
3196 * soft-fp/divsf3.c: Likewise.
3197 * soft-fp/divtf3.c: Likewise.
3198 * soft-fp/double.h: Likewise.
3199 * soft-fp/eqdf2.c: Likewise.
3200 * soft-fp/eqsf2.c: Likewise.
3201 * soft-fp/eqtf2.c: Likewise.
3202 * soft-fp/extenddftf2.c: Likewise.
3203 * soft-fp/extended.h: Likewise.
3204 * soft-fp/extendsfdf2.c: Likewise.
3205 * soft-fp/extendsftf2.c: Likewise.
3206 * soft-fp/extendxftf2.c: Likewise.
3207 * soft-fp/fixdfdi.c: Likewise.
3208 * soft-fp/fixdfsi.c: Likewise.
3209 * soft-fp/fixdfti.c: Likewise.
3210 * soft-fp/fixsfdi.c: Likewise.
3211 * soft-fp/fixsfsi.c: Likewise.
3212 * soft-fp/fixsfti.c: Likewise.
3213 * soft-fp/fixtfdi.c: Likewise.
3214 * soft-fp/fixtfsi.c: Likewise.
3215 * soft-fp/fixtfti.c: Likewise.
3216 * soft-fp/fixunsdfdi.c: Likewise.
3217 * soft-fp/fixunsdfsi.c: Likewise.
3218 * soft-fp/fixunsdfti.c: Likewise.
3219 * soft-fp/fixunssfdi.c: Likewise.
3220 * soft-fp/fixunssfsi.c: Likewise.
3221 * soft-fp/fixunssfti.c: Likewise.
3222 * soft-fp/fixunstfdi.c: Likewise.
3223 * soft-fp/fixunstfsi.c: Likewise.
3224 * soft-fp/fixunstfti.c: Likewise.
3225 * soft-fp/floatdidf.c: Likewise.
3226 * soft-fp/floatdisf.c: Likewise.
3227 * soft-fp/floatditf.c: Likewise.
3228 * soft-fp/floatsidf.c: Likewise.
3229 * soft-fp/floatsisf.c: Likewise.
3230 * soft-fp/floatsitf.c: Likewise.
3231 * soft-fp/floattidf.c: Likewise.
3232 * soft-fp/floattisf.c: Likewise.
3233 * soft-fp/floattitf.c: Likewise.
3234 * soft-fp/floatundidf.c: Likewise.
3235 * soft-fp/floatundisf.c: Likewise.
3236 * soft-fp/floatunditf.c: Likewise.
3237 * soft-fp/floatunsidf.c: Likewise.
3238 * soft-fp/floatunsisf.c: Likewise.
3239 * soft-fp/floatunsitf.c: Likewise.
3240 * soft-fp/floatuntidf.c: Likewise.
3241 * soft-fp/floatuntisf.c: Likewise.
3242 * soft-fp/floatuntitf.c: Likewise.
3243 * soft-fp/gedf2.c: Likewise.
3244 * soft-fp/gesf2.c: Likewise.
3245 * soft-fp/getf2.c: Likewise.
3246 * soft-fp/ledf2.c: Likewise.
3247 * soft-fp/lesf2.c: Likewise.
3248 * soft-fp/letf2.c: Likewise.
3249 * soft-fp/muldf3.c: Likewise.
3250 * soft-fp/mulsf3.c: Likewise.
3251 * soft-fp/multf3.c: Likewise.
3252 * soft-fp/negdf2.c: Likewise.
3253 * soft-fp/negsf2.c: Likewise.
3254 * soft-fp/negtf2.c: Likewise.
3255 * soft-fp/op-1.h: Likewise.
3256 * soft-fp/op-2.h: Likewise.
3257 * soft-fp/op-4.h: Likewise.
3258 * soft-fp/op-8.h: Likewise.
3259 * soft-fp/op-common.h: Likewise.
3260 * soft-fp/quad.h: Likewise.
3261 * soft-fp/single.h: Likewise.
3262 * soft-fp/soft-fp.h: Likewise.
3263 * soft-fp/subdf3.c: Likewise.
3264 * soft-fp/subsf3.c: Likewise.
3265 * soft-fp/subtf3.c: Likewise.
3266 * soft-fp/truncdfsf2.c: Likewise.
3267 * soft-fp/trunctfdf2.c: Likewise.
3268 * soft-fp/trunctfsf2.c: Likewise.
3269 * soft-fp/trunctfxf2.c: Likewise.
3270 * soft-fp/unorddf2.c: Likewise.
3271 * soft-fp/unordsf2.c: Likewise.
3272 * soft-fp/unordtf2.c: Likewise.
3273
4dfe21ac
RE
32742015-09-24 Richard Earnshaw <rearnsha@arm.com>
3275
3276 PR libgcc/67624
3277 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
3278
df2a1cc4
RO
32792015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3280
3281 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
3282 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
3283 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
3284 messages.
3285 (internal_mcount): Likewise.
3286 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
3287 crt_compile, add CRTSTUFF_T_CFLAGS_S.
3288
2d110442
RO
32892015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3290
3291 * configure.ac (libgcc_cv_solaris_crts): New test.
3292 * configure: Regenerate.
3293 * config.in: Regenerate.
3294 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
3295 * config/gmon-sol2.c: Rename to ...
3296 * config/sol2/gmon.c: ... this.
3297 Include auto-target.h.
3298 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
3299 * config/t-sol2: Rename to ...
3300 * config/sol2/t-sol2: ... this.
3301 (gmon.o): Reflect renaming.
3302 (crtp.o, crtpg.o): New rules.
3303 * config.host (*-*-solaris2*): Reflect renaming.
3304 Use system CRTs if present.
3305 Remove default CRT case.
3306
d572e439
JDA
33072015-09-23 John David Anglin <danglin@gcc.gnu.org>
3308
3309 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
3310 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
3311 __kernel_cmpxchg2.
3312 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
3313 (__sync_val_compare_and_swap_##WIDTH): Likewise.
3314 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
3315 (__sync_lock_test_and_set_##WIDTH): Likewise.
3316 (__sync_lock_release_##WIDTH): Likewise.
3317 (__sync_fetch_and_##OP##_4): Change result to match type of
3318 __kernel_cmpxchg.
3319 (__sync_##OP##_and_fetch_4): Likewise.
3320 (__sync_val_compare_and_swap_4): Likewise.
3321 (__sync_bool_compare_and_swap_4): likewise.
3322 (__sync_lock_test_and_set_4): Likewise.
3323 (__sync_lock_release_4): Likewise.
3324 (FETCH_AND_OP_2): Add long long variants.
3325 (OP_AND_FETCH_2): Likewise.
3326 (COMPARE_AND_SWAP_2 ): Likewise.
3327 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3328 (SYNC_LOCK_RELEASE_2): Likewise.
3329 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
3330
7d296953 33312015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
3332
3333 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
3334 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
3335 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
3336 (get_available_features): Habdle new features.
3337
131314e1
JB
33382015-09-21 James Bowman <james.bowman@ftdichip.com>
3339
3340 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
3341 memory layout. Deal correctly with BSS region larger than 32K.
3342 Handle a watchdog reset like a power-on reset. Clean up unused
3343 code.
3344
04218b35
AD
33452015-09-18 Andrew Dixie <andrewd@gentrack.com>
3346 David Edelsohn <dje.gcc@gmail.com>
3347
3348 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
3349 * config/rs6000/crtdbase.S: New file.
3350 * config/rs6000/t-aix-cxa: Build crtdbase.o.
3351
c8338173
MF
33522015-09-15 Max Filippov <jcmvbkbc@gmail.com>
3353
3354 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
3355 Add support for call0 ABI.
3356
7a84bf71
JDA
33572015-09-13 John David Anglin <danglin@gcc.gnu.org>
3358
3359 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
3360
4efab402
SH
33612015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
3362
3363 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
3364 (__GTHREAD_HAS_COND): Likewise.
3365 (__gthread_t): Likewise.
3366 (__gthread_cond_t): Likewise.
3367 (__gthread_time_t): Likewise.
3368 (__GTHREAD_MUTEX_INIT): Likewise.
3369 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
3370 (__GTHREAD_COND_INIT): Likewise.
3371 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
3372 (__GTHREAD_TIME_INIT): Likewise.
3373 (__gthread_create): Likewise.
3374 (__gthread_join): Likewise.
3375 (__gthread_detach): Likewise.
3376 (__gthread_equal): Likewise.
3377 (__gthread_self): Likewise.
3378 (__gthread_yield): Likewise.
3379 (__gthread_cond_broadcast): Likewise.
3380 (__gthread_cond_signal): Likewise.
3381 (__gthread_cond_wait): Likewise.
3382 (__gthread_cond_timedwait): Likewise.
3383 (__gthread_cond_wait_recursive): Likewise.
3384 (__gthread_cond_destroy): Likewise.
3385 (rtems_gxx_once): Delete.
3386 (rtems_gxx_key_create): Likewise.
3387 (rtems_gxx_key_delete): Likewise.
3388 (rtems_gxx_getspecific): Likewise.
3389 (rtems_gxx_setspecific): Likewise.
3390 (rtems_gxx_mutex_init): Likewise.
3391 (rtems_gxx_mutex_destroy): Likewise.
3392 (rtems_gxx_mutex_lock): Likewise.
3393 (rtems_gxx_mutex_trylock): Likewise.
3394 (rtems_gxx_mutex_unlock): Likewise.
3395 (rtems_gxx_recursive_mutex_init): Likewise.
3396 (rtems_gxx_recursive_mutex_lock): Likewise.
3397 (rtems_gxx_recursive_mutex_trylock): Likewise.
3398 (rtems_gxx_recursive_mutex_unlock): Likewise.
3399 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
3400 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
3401 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
3402 (__gthread_once): Likewise.
3403 (__gthread_key_create): Likewise.
3404 (__gthread_key_delete): Likewise.
3405 (__gthread_getspecific): Likewise.
3406 (__gthread_setspecific): Likewise.
3407 (__gthread_key_t): Use <pthread.h> type.
3408 (__gthread_once_t): Likewise
3409 (__gthread_mutex_t): Use <sys/lock.h> type.
3410 (__gthread_recursive_mutex_t): Likewise
3411 (__gthread_mutex_lock): Use <sys/lock.h> function.
3412 (__gthread_mutex_trylock): Likewise.
3413 (__gthread_mutex_timedlock): Likewise.
3414 (__gthread_mutex_unlock): Likewise.
3415 (__gthread_mutex_destroy): Likewise.
3416 (__gthread_recursive_mutex_lock): Likewise.
3417 (__gthread_recursive_mutex_trylock): Likewise.
3418 (__gthread_recursive_mutex_timedlock): Likewise.
3419 (__gthread_recursive_mutex_unlock): Likewise.
3420 (__gthread_recursive_mutex_destroy): Likewise.
3421
991995c4
MF
34222015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3423
3424 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
3425 context->sp instead of context->cfa.
3426
0e19db59
MF
34272015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3428
3429 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
3430 with unwind-dw2-fde-dip.
3431
b6ac5f62
MF
34322015-08-18 Max Filippov <jcmvbkbc@gmail.com>
3433
3434 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
3435 CALL12 followed by series of ENTRY to spill windowed registers.
3436 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
3437 instead of making linux spill syscall.
3438
3e0f3349
YR
34392015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
3440
3441 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
3442 (get_intel_cpu): Likewise.
3443
51c728b1
L
34442015-08-12 H.J. Lu <hongjiu.lu@intel.com>
3445
3446 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
3447 (get_intel_cpu): Add Knights Landing support.
3448
aff4eeac
UB
34492015-08-11 Uros Bizjak <ubizjak@gmail.com>
3450
3451 PR target/66954
3452 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
3453 (get_available_features): Handle FEATURE_PCLMUL.
3454
736e56da
L
34552015-08-10 H.J. Lu <hongjiu.lu@intel.com>
3456
3457 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
3458 Broadwell.
3459
54d22142
UB
34602015-07-22 Uros Bizjak <ubizjak@gmail.com>
3461
3462 PR target/66954
3463 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
3464 (get_available_features): Handle FEATURE_AES.
3465
20ca17e4
CLT
34662015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
3467
3468 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
3469 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
3470
ebe4a560
NS
34712015-07-17 Nathan Sidwell <nathan@codesourcery.com>
3472
3473 * offloadstuff.c: Constify host data.
3474
180744c0
JB
34752015-07-17 Jan Beulich <jbeulich@suse.com>
3476
3477 * config/t-softfp: Split up "else ifneq".
3478
a03c6ae3
SL
34792015-07-14 Sandra Loosemore <sandra@codesourcery.com>
3480 Cesar Philippidis <cesar@codesourcery.com>
3481 Chung-Lin Tang <cltang@codesourcery.com>
3482
3483 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
3484 for __nios2_arch__ level.
3485
73358db5
JM
34862015-07-13 John Marino <gnugcc@marino.st>
3487
3488 * config/i386/t-dragonfly: New.
3489
f9a12f7b
JDA
34902015-07-01 John David Anglin <danglin@gcc.gnu.org>
3491
3492 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
3493 better match light-weight syscall argument order.
3494 (__kernel_cmpxchg2): Likewise.
3495 Adjust callers.
3496
cb78b51c
L
34972015-06-30 H.J. Lu <hongjiu.lu@intel.com>
3498
3499 * config.host: Support i[34567]86-*-elfiamcu target.
3500 * config/t-softfp-sfdftf: New file.
3501 * config/i386/32/t-iamcu: Likewise.
3502 * configure: Regenerated.
3503
4fa0f9ea
JL
35042015-06-23 James Lemke <jwlemke@codesourcery.com>
3505
3506 libgcc/config/arm/
3507 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
3508
428b3812
L
35092015-05-27 H.J. Lu <hongjiu.lu@intel.com>
3510
3511 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
3512
7d296953 35132015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
3514
3515 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
3516 md_unwind_header
3517 * config/i386/freebsd-unwind.h: New.
3518
9b789cc1
UB
35192015-05-22 Uros Bizjak <ubizjak@gmail.com>
3520
3521 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
3522 i386/t-crtfm to tmake_file.
3523 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
3524 (set_fast_math): Use set_fast_math_sse for SSE targets.
3525 * config/i386/t-crtfm: Remove.
3526
3dafb220
AM
35272015-05-21 Alan Modra <amodra@gmail.com>
3528
3529 PR libgcc/66225
3530 * config/rs6000/morestack.S: Remove ".abiversion 1".
3531
0f0fd745
AM
35322015-05-20 Alan Modra <amodra@gmail.com>
3533
3534 * config/rs6000/morestack.S: New.
3535 * config/rs6000/t-stack-rs6000: New.
3536 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
3537 to tmake_file.
3538 * generic-morestack.c: Don't build for powerpc 32-bit.
3539
515ae71b
EB
35402015-05-19 Eric Botcazou <ebotcazou@adacore.com>
3541
3542 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
3543 Remove useless endif/ifneq ($(enable_shared),yes) pair.
3544
36805406
JL
35452015-05-16 James Bowman <james.bowman@ftdichip.com>
3546
3547 * config.host: FT32 target added.
3548 * config/ft32/*: New files for FT32 target.
3549
ff935d0c
MG
35502015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
3551
385c7747
UB
3552 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
3553 New macros.
3554 * config/arm/ieee754-df.S: Add CFI directives.
3555 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 3556
9b92a9f3
EB
35572015-05-13 Eric Botcazou <ebotcazou@adacore.com>
3558
3559 * configure.ac: Include config/sjlj.m4.
3560 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
3561 * config.in: Regenerate.
3562 * configure: Likewise.
3563 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
3564
98b5dc61
UB
35652015-05-12 Uros Bizjak <ubizjak@gmail.com>
3566
3567 * libgcov-util.c: Add space between string literal and macro name.
3568
5a0ff57c
SL
35692015-05-06 Sandra Loosemore <sandra@codesourcery.com>
3570 Chris Jones <chrisj@nvidia.com>
3571 Joshua Conner <jconner@nvidia.com>
3572
3573 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
3574 (arm*-*-uclinux*): Likewise.
3575 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
3576 * config/arm/crtfastmath.c: New file.
3577
d28ad5d4
BS
35782014-04-29 Bernd Schmidt <bernds@codesourcery.com>
3579
3580 * Makefile.in (real_host_noncanonical): New variable.
3581 (libsubdir): Use it.
3582 * configure.ac (real_host_noncanonical): Compute. Remove special
3583 case for intelmicemul.
3584 * configure: Regenerate.
3585
cc86234f
UB
35862015-04-28 Uros Bizjak <ubizjak@gmail.com>
3587
3588 * config/frv/elf-lib.h: New file.
3589 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
3590 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
3591 to tm_file.
3592
35932015-04-28 Uros Bizjak <ubizjak@gmail.com>
3594
3595 * config/frv/frvbengin.c: Do not include defaults.h
3596 * config/frv/frvend.c: Ditto.
3597
2f6bd6eb
YS
35982015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
3599
3600 * config.host: Add h8300-*-linux
3601 * config/h8300/t-linux: New file.
3602 * config/h8300/lib1funs.s: Change symbol prefix.
3603 * config/h8300/sfp-machine.h: 64bit double support.
3604
15aa7b44
GR
36052015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
3606 Szabolcs Nagy <szabolcs.nagy@arm.com>
3607
3608 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
3609 Linux if target provides dl_iterate_phdr.
3610
abd0cdc9
L
36112015-04-17 H.J. Lu <hongjiu.lu@intel.com>
3612
3613 PR target/65612
3614 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
3615 * config/i386/cpuinfo.c (__cpu_model): Initialize.
3616 (__cpu_indicator_init@GCC_4.8.0): New.
3617 (__cpu_model@GCC_4.8.0): Likewise.
3618 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
3619 -DUSE_ELF_SYMVER.
3620
72ed1126
NC
36212015-04-16 Nick Clifton <nickc@redhat.com>
3622
3623 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
3624 and __modhi3 functions.
3625 * config/rl78/divmodso.S: Add G14 and G13 versions of the
3626 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
3627
d26b2237
CG
36282015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
3629
3630 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
3631 do-while loop as macro body to avoid warnings.
3632
cacf1f59
JJ
36332015-04-10 Jakub Jelinek <jakub@redhat.com>
3634 Iain Sandoe <iain@codesourcery.com>
3635
3636 PR target/65351
3637 * configure: Regenerate.
3638
e8a4ed3b
JJ
36392015-04-07 Jakub Jelinek <jakub@redhat.com>
3640 Iain Sandoe <iain@codesourcery.com>
3641
3642 PR target/65351
3643 * configure: Regenerate.
3644
0341335e
CLT
36452015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
3646
3647 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
3648
590e2636 36492015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 3650
590e2636
MF
3651 Implement call0 ABI for xtensa
3652 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
3653 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
3654 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
3655 use ret in call0 ABI.
3656 * config/xtensa/t-windowed: New file.
3657 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
3658 * libgcc/configure: Regenerated.
3659 * libgcc/configure.ac: Check if xtensa target is configured for
3660 windowed ABI and thus needs to use custom unwind code.
3661
7727f8f2
JW
36622015-02-12 Jonathan Wakely <jwakely@redhat.com>
3663
3664 PR libgcc/64885
3665 * gthr-single.h: Use __unused__ attribute instead of unused.
3666 * config/gthr-vxworks.h: Likewise.
3667 * config/i386/gthr-win32.h: Likewise.
3668
0e4a0def
KT
36692015-02-27 Kai Tietz <ktietz@redhat.com>
3670
3671 PR target/65038
3672 * config.in: Regenerated.
3673 * configure: Likewise.
3674 * configure.ac (AC_HEADER_STDC): Added explicit.
3675 (AC_CHECK_HEADERS): Check for default headers plus
3676 for ftw.h header.
3677 * libgcov-util.c (gcov_read_profile_dir): Disable use
3678 of ftw-function, if header is not found.
3679 (ftw_read_file): Likewise.
3680
b6530d0a
TS
36812015-02-23 Thomas Schwinge <thomas@codesourcery.com>
3682
3683 PR target/65181
3684 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
3685 -Dinhibit_libc.
3686
53cfb467
SL
36872015-02-17 Sandra Loosemore <sandra@codesourcery.com>
3688
3689 * config/arm/bpabi.S (test_div_by_zero): Make label names
3690 consistent between thumb2 and arm mode cases. Separate the
3691 signed comparison on the high word of the numerator from the
3692 unsigned comparison on the low word.
3693 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
3694 signed comparison.
3695
77d10a1b
JM
36962015-02-17 Joseph Myers <joseph@codesourcery.com>
3697
3698 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
3699 and <string.h>.
3700 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
3701
98174188
RE
37022015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
3703
3704 PR gcov-profile/61889
471274de 3705 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 3706
771bef14
NC
37072015-02-02 Nick Clifton <nickc@redhat.com>
3708
3709 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
3710 rounding up the fraction.
3711
40702893
JDA
37122015-01-31 John David Anglin <danglin@gcc.gnu.org>
3713
3714 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
3715 oldval and newval to const void *. Fix typo.
3716 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
3717 (FETCH_AND_OP_WORD): Likewise.
3718 (OP_AND_FETCH_WORD): Likewise.
3719 (COMPARE_AND_SWAP_2): Likewise.
3720 (__sync_val_compare_and_swap_4): Likewise.
3721 (__sync_lock_test_and_set_4): Likewise.
3722 (SYNC_LOCK_RELEASE_2): Likewise.
3723 Remove support for long long atomic operations.
3724
f7f049fa
CT
37252015-01-27 Caroline Tice <cmtice@google.com>
3726
3727 Committing VTV Cywin/Ming patch for Patrick Wollgast
3728 * Makefile.in: Move rules to build vtv_*.o out of the check
3729 for CUSTOM_CRTSTUFF.
3730 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
3731 i[34567]86-*-mingw*)
3732 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
3733 enable_vtable_verify.
3734
8410904a
NC
37352015-01-27 Nick Clifton <nickc@redhat.com>
3736
3737 * config/rl78/cmpsi2.S: Use function start and end macros.
3738 (__gcc_bcmp): New function.
3739 * config/rl78/lshrsi3.S: Use function start and end macros.
3740 * config/rl78/mulsi3.S: Add support for G10.
3741 (__mulqi3): New function for G10.
3742 * config/rl78/signbit.S: Use function start and end macros.
3743 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
3744 fpmath-sf.S.
3745 (LIB2FUNCS_EXCLUDE): Define.
3746 (LIB2FUNCS_ST): Define.
3747 * config/rl78/trampoline.S: Use function start and end macros.
3748 * config/rl78/vregs.h (START_FUNC): New macro.
3749 (START_ANOTHER_FUNC): New macro.
3750 (END_FUNC): New macro.
3751 (END_ANOTHER_FUNC): New macro.
3752 * config/rl78/bit-count.S: New file. Contains assembler
3753 implementations of the bit counting functions: ___clzhi2,
3754 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
3755 __paritysi2, __popcounthi2 and __popcountsi2.
3756 * config/rl78/fpbit-sf.S: New file. Contains assembler
3757 implementationas of the math functions: __negsf2, __cmpsf2,
3758 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
3759 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
3760 * config/rl78/fpmath-sf.S: New file. Contains assembler
3761 implementations of the math functions: __subsf3, __addsf3,
3762 __mulsf3 and __divsf3
3763
f962fbf1
RO
37642015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3765
3766 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
3767 Add i386/elf-lib.h to tm_file.
3768 * config/i386/elf-lib.h: Fix comment.
3769 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
3770 && __sun__ && __svr4__]: Remove workaround.
3771
939911c5
ASJ
37722015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3773
3774 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
3775 FEATURE_BMI2.
3776 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
3777
c8f2dff2
L
37782015-01-24 H.J. Lu <hongjiu.lu@intel.com>
3779
3780 * config/i386/cpuinfo.c (processor_subtypes): Add
3781 INTEL_COREI7_BROADWELL.
3782 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
3783 model numbers.
3784
7bbf9734
UB
37852015-01-23 Uros Bizjak <ubizjak@gmail.com>
3786
3787 * config/i386/elf-lib.h: New file.
3788 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
3789 Wrap definition in #ifdef __i386__.
3790 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
3791 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
3792 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
3793 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
3794 to tm_file.
3795
324820f1
CG
37962015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
3797
3798 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
3799 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
3800
a9ce4e4a
CLT
38012015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
3802
3803 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
3804 Update rt_sigframe format and address for current Nios II
3805 Linux conventions.
3806
82a19768
AT
38072015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3808
3809 * config.host (arm*-*-freebsd*): Add new configuration for
3810 arm*-*-freebsd*.
3811 * config/arm/freebsd-atomic.c: New file.
3812 * config/arm/t-freebsd: Likewise.
3813 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
3814 'PC-relative indirect' OS's.
3815
0969ec7d
EB
38162015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3817
3818 * config.host: Add Visium support.
3819 * config/visium: New directory.
3820
5624e564
JJ
38212015-01-05 Jakub Jelinek <jakub@redhat.com>
3822
3823 Update copyright years.
3824
82f84ecb
MF
38252014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
3826
3827 * config.host: Support mipsisa32r6 and mipsisa64r6.
3828 * config/mips/mips16.S: Do not build for R6.
3829
69044fa9
OE
38302014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
3831
3832 * config/sh/crt.h: New.
3833 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
3834 symbols.
3835 * config/sh/crt1.S: Likewise.
3836
2405e0ea
UB
38372014-12-15 Uros Bizjak <ubizjak@gmail.com>
3838
3839 PR libgcc/63832
3840 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
3841 func_ptr *dtor_list temporary variable to avoid "array subscript
3842 is above array bounds" warnings.
3843
7d296953 38442014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
3845
3846 * Makefile.in (with_aix_soname): Define.
3847 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
3848 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
3849 * configure: Recreate.
3850
a66272f6
OH
38512014-12-05 Olivier Hainque <hainque@adacore.com>
3852
3853 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
3854 now provided by defaults.h.
3855
6342b2c5
OE
38562014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
3857
7d0ee249 3858 PR target/55351
6342b2c5
OE
3859 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
3860 whether it's defined.
3861
c17eac85
IT
38622014-11-27 Ilya Tocar <ilya.tocar@intel.com>
3863
3864 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
3865 * config/i386/cpuinfo.c (get_available_features): Detect it.
3866
1025cb6c
TW
38672014-11-27 Tony Wang <tony.wang@arm.com>
3868
3869 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
3870 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
3871 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
3872
d19f2e38
SB
38732014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
3874
3875 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
3876
17f6e9a3
JDA
38772014-11-24 John David Anglin <danglin@gcc.gnu.org>
3878
3879 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
3880 instead.
3881
0cd7c672
GM
38822014-11-21 Guy Martin <gmsoft@tuxicoman.be>
3883 John David Anglin <danglin@gcc.gnu.org>
3884
3885 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
3886 (FETCH_AND_OP_2): New. Use for subword and double word operations.
3887 (OP_AND_FETCH_2): Likewise.
3888 (COMPARE_AND_SWAP_2): Likewise.
3889 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
3890 (SYNC_LOCK_RELEASE_2): Likewise.
3891 (SUBWORD_SYNC_OP): Remove.
3892 (SUBWORD_VAL_CAS): Likewise.
3893 (SUBWORD_BOOL_CAS): Likewise.
3894 (FETCH_AND_OP_WORD): Update.
3895 Consistently use signed types.
cc86234f 3896
85c64bbe
BS
38972014-11-13 Bernd Schmidt <bernds@codesourcery.com>
3898 Thomas Schwinge <thomas@codesourcery.com>
3899 Ilya Verbin <ilya.verbin@intel.com>
3900 Andrey Turetskiy <andrey.turetskiy@intel.com>
3901
3902 * Makefile.in (crtoffloadbegin$(objext)): New rule.
3903 (crtoffloadend$(objext)): Likewise.
3904 * configure: Regenerate.
3905 * configure.ac (accel_dir_suffix): Compute new variable.
3906 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
3907 if enable_offload_targets is not empty.
3908 * offloadstuff.c: New file.
3909
52a1ff8b
NC
39102014-11-13 Nick Clifton <nickc@redhat.com>
3911
3912 * config/rl78/divmodhi.S: Add support for the G10 architecture.
3913 Use START_FUNC and END_FUNC macros to enable linker garbage
3914 collection.
3915 * config/rl78/divmodqi.S: Likewise.
3916 * config/rl78/divmodsi.S: Likewise.
3917 * config/rl78/mulsi3.S: Likewise.
3918 * config/rl78/lib2div.c: Remove G10 functions.
3919 * config/rl78/lib2muls.c: Likewise.
3920 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
3921 * config/rl78/vregs.h (START_FUNC): New macro.
3922 (END_FUNC): New macro.
3923
050af144
MF
39242014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
3925
3926 * config/mips/mips16.S: Set .module when supported. Update O32
3927 FP64 calling convention and use for FPXX when possible. Add FPXX
3928 calling convention fallback case.
3929
738f2522
BS
39302014-11-06 Bernd Schmidt <bernds@codesourcery.com>
3931
3932 * config.host: Handle nvptx-*-*.
3933 * shared-object.mk (as-flags-$o): Define.
3934 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
3935 -xassembler-with-cpp.
3936 * static-object.mk: Identical changes.
3937 * config/nvptx/t-nvptx: New file.
3938 * config/nvptx/crt0.s: New file.
3939 * config/nvptx/free.asm: New file.
3940 * config/nvptx/malloc.asm: New file.
3941 * config/nvptx/realloc.c: New file.
3942
e610393c
JM
39432014-10-30 Joseph Myers <joseph@codesourcery.com>
3944
3945 * Makefile.in (libgcc.map.in): New target.
3946 (libgcc.map): Use libgcc.map.in.
3947 * config/t-softfp (softfp_compat): New variable to be set by
3948 users.
3949 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
3950 variables.
3951 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
3952 directory.
3953 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
3954 that use compat symbols and disable all code unless [SHARED].
3955 * config/t-softfp-compat: New file.
3956 * find-symver.awk: New file.
3957 * configure.ac (--with-glibc-version): New configure option.
3958 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
3959 * configure: Regenerate.
3960 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
3961 soft-float and e500.
3962
bc1b3a88
JM
39632014-10-29 Joseph Myers <joseph@codesourcery.com>
3964
3965 * config/t-hardfp (hardfp_exclusions): Document new variable for
3966 user to define.
3967 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
3968 * config/t-softfp (softfp_extras): Document new variable for user
3969 to define.
3970 (softfp_func_list): Add functions from $(softfp_extras).
3971 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
3972 * config.host (powerpc*-*-linux*): For e500v1, use
3973 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
3974 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
3975 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
3976
ef2810c1
JDA
39772014-10-26 John David Anglin <danglin@gcc.gnu.org>
3978
3979 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
3980 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
3981 memory read accesses are ok.
3982
d80c2bea
JM
39832014-10-25 Joseph Myers <joseph@codesourcery.com>
3984
3985 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
3986 * configure: Regenerate.
3987 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
3988 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
3989 of soft-fp for 32-bit classic hard float. Do not use
3990 t-softfp-excl for soft float.
3991
693b297b
JM
39922014-10-22 Joseph Myers <joseph@codesourcery.com>
3993
3994 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
3995 configurations.
3996 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
3997 Remove variables.
3998
18a3415e
GJL
39992014-10-22 Georg-Johann Lay <avr@gjlay.de>
4000
4001 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
4002 introduced with 2014-10-21 trunk r216525.
4003
c1dd9790 40042014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
4005 Vidya Praveen <vidya.praveen@atmel.com>
4006 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
4007 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
4008 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
4009
4010 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
4011 order.
4012
4013 Updated library functions for AVRTINY arch.
4014 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
4015 Replaced occurrences of r0/r1 with tmp/zero reg macros.
4016 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
4017 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
4018 wsubi/wadi macors.
4019 (__mulsi3_helper): Update stack, preserve callee saved regs and
4020 argument from stack. Restore callee save registers.
4021 (__mulpsi3): Likewise.
4022 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
4023 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 4024 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
4025 AVRTINY.
4026 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
4027 (__do_copy_data): Added new definition for AVRTINY.
4028 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
4029 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
4030 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
4031 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
4032 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
4033 macors.
18a3415e 4034 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
4035 AVRTINY.
4036
18a3415e 4037 Fix broken long multiplication on tiny arch.
c1dd9790 4038
5f606431
JM
40392014-10-09 Joseph Myers <joseph@codesourcery.com>
4040
4041 * soft-fp/double.h: Update from glibc.
4042 * soft-fp/eqdf2.c: Likewise.
4043 * soft-fp/eqsf2.c: Likewise.
4044 * soft-fp/eqtf2.c: Likewise.
4045 * soft-fp/extenddftf2.c: Likewise.
4046 * soft-fp/extended.h: Likewise.
4047 * soft-fp/extendsfdf2.c: Likewise.
4048 * soft-fp/extendsftf2.c: Likewise.
4049 * soft-fp/extendxftf2.c: Likewise.
4050 * soft-fp/gedf2.c: Likewise.
4051 * soft-fp/gesf2.c: Likewise.
4052 * soft-fp/getf2.c: Likewise.
4053 * soft-fp/ledf2.c: Likewise.
4054 * soft-fp/lesf2.c: Likewise.
4055 * soft-fp/letf2.c: Likewise.
4056 * soft-fp/op-1.h: Likewise.
4057 * soft-fp/op-2.h: Likewise.
4058 * soft-fp/op-4.h: Likewise.
4059 * soft-fp/op-8.h: Likewise.
4060 * soft-fp/op-common.h: Likewise.
4061 * soft-fp/quad.h: Likewise.
4062 * soft-fp/single.h: Likewise.
4063 * soft-fp/soft-fp.h: Likewise.
4064 * soft-fp/unorddf2.c: Likewise.
4065 * soft-fp/unordsf2.c: Likewise.
4066 * soft-fp/unordtf2.c: Likewise.
4067 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
4068 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
4069 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
4070 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
4071 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
4072 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
4073 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
4074 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
4075 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
4076 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
4077
9b84e7a8
RX
40782014-10-08 Rong Xu <xur@google.com>
4079
4080 * libgcov-util.c (read_gcda_file): Fix format.
4081 (find_match_gcov_info): Ditto.
4082 (calculate_2_entries): New.
4083 (compute_one_gcov): Ditto.
4084 (gcov_info_count_all_cold): Ditto.
4085 (gcov_info_count_all_zero): Ditto.
4086 (extract_file_basename): Ditto.
4087 (get_file_basename): Ditto.
4088 (set_flag): Ditto.
4089 (matched_gcov_info): Ditto.
4090 (calculate_overlap): Ditto.
4091 (gcov_profile_overlap): Ditto.
4092 * libgcov-driver.c (compute_summary): Make
4093 it avavilable for external calls.
4094
fe1090c1
RX
40952014-10-06 Rong Xu <xur@google.com>
4096
4097 * Makefile.in: Ditto.
4098 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
4099 (gcov_sort_icall_topn_counter): Ditto.
4100 (gcov_sort_topn_counter_arrays): Ditto.
4101 (dump_one_gcov): Sort indirect_call topn counters.
4102 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
4103 function.
4104 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
4105 utility function.
4106 (__gcov_indirect_call_topn_profiler): New profiler function.
4107 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
4108 * libgcov.h: New decls.
4109
3daa7bbf
TS
41102014-10-04 Trevor Saunders <tsaunders@mozilla.com>
4111
4112 * config.host: Remove support for score-*.
4113
9a79452d
JM
41142014-09-22 Joseph Myers <joseph@codesourcery.com>
4115
4116 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4117 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
4118 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
4119 __LIBGCC_XF_MANT_DIG__.
4120 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
4121 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
4122 __LIBGCC_TF_MANT_DIG__.
4123 * libgcc2.c (NOTRUNC): Define in terms of
4124 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4125 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
4126
1a849e50
JM
41272014-09-22 Joseph Myers <joseph@codesourcery.com>
4128
4129 PR target/63312
4130 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
4131 New macros.
4132
598a1586
HPN
41332014-09-22 Hans-Peter Nilsson <hp@axis.com>
4134
4135 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
4136 override USE_PT_GNU_EH_FRAME.
4137 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
4138 check USE_EH_FRAME_REGISTRY_ALWAYS against
4139 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
4140 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
4141 variable for substituted force_explicit_eh_registry.
4142 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
4143 * configure.ac (explicit-exception-frame-registration):
4144 New AC_ARG_ENABLE.
4145 * configure: Regenerate.
4146
3a8fe7c6
OH
41472014-09-19 Olivier Hainque <hainque@adacore.com>
4148
4149 * config.host (powerpc-wrs-vxworksmils): New configuration,
4150 same as vxworksae.
4151
dd69f047
JM
41522014-09-18 Joseph Myers <joseph@codesourcery.com>
4153
4154 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
4155
e770bfd9
JM
41562014-09-18 Joseph Myers <joseph@codesourcery.com>
4157
4158 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
4159 bits not set bits as indicating trapping exceptions.
4160
cadb2b96
NS
41612014-09-17 Nathan sidwell <nathan@acm.org>
4162
4163 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
4164 (LIBGCOV_DRIVER): ... here.
4165 * libgcov-driver.c (gcov_master): New.
4166 (gcov_exit): Remove from master chain.
4167 (__gcov_init): Add to master chain if version compatible. Don't
4168 clear the version.
4169 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
4170 (gcov_reset_int): Clear master chain, if compatible.
4171 (gcov_dump_int): New internal interface. Dump master chain, if
4172 compatible.
4173 (gcov_dump): Alias for gcov_dump_int.
4174 * libgcov.h (struct gcov_root): Add next and prev fields.
4175 (struct gcov_master): New struct.
4176 (__gcov_master): New.
4177 (gcov_dump_int): Declare.
4178
580d22a3
OH
41792014-09-17 Olivier Hainque <hainque@adacore.com>
4180
4181 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
4182 and crtbegin.o + crtend.o to extra_parts.
4183
8cc4b7a2
JM
41842014-09-12 Joseph Myers <joseph@codesourcery.com>
4185
4186 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
4187 __LIBGCC_HAS_SF_MODE__.
4188 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4189 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4190 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4191 * config/libbid/bid_gcc_intrinsics.h
4192 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4193 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
4194 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
4195 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
4196 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
4197 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
4198
ea3f2b24
GJL
41992014-09-11 Georg-Johann Lay <avr@gjlay.de>
4200
4201 PR target/63223
4202 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
4203 and R24 as needed. Make work for all devices and .text locations.
4204 (__do_global_ctors, __do_global_dtors): Use word addresses.
4205 (__tablejump__, __tablejump_elpm__): Remove functions.
4206 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
4207 Add _tablejump2.
4208 (XICALL, XIJMP): New macros.
4209
b677236a
MS
42102014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
4211 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4212
4213 * config.host (aarch64*): Include crtfastmath.o and
4214 t-crtfm.
4215 * config/aarch64/crtfastmath.c: New file.
4216
157e859f
TS
42172014-09-08 Trevor Saunders <tsaunders@mozilla.com>
4218
4219 * config.host: Remove picochip support.
4220 * config/picochip/adddi3.S: Remove.
4221 * config/picochip/ashlsi3.S: Remove.
4222 * config/picochip/ashlsi3.c: Remove.
4223 * config/picochip/ashrsi3.S: Remove.
4224 * config/picochip/ashrsi3.c: Remove.
4225 * config/picochip/clzsi2.S: Remove.
4226 * config/picochip/cmpsi2.S: Remove.
4227 * config/picochip/divmod15.S: Remove.
4228 * config/picochip/divmodhi4.S: Remove.
4229 * config/picochip/divmodsi4.S: Remove.
4230 * config/picochip/lib1funcs.S: Remove.
4231 * config/picochip/longjmp.S: Remove.
4232 * config/picochip/lshrsi3.S: Remove.
4233 * config/picochip/lshrsi3.c: Remove.
4234 * config/picochip/parityhi2.S: Remove.
4235 * config/picochip/popcounthi2.S: Remove.
4236 * config/picochip/setjmp.S: Remove.
4237 * config/picochip/subdi3.S: Remove.
4238 * config/picochip/t-picochip: Remove.
4239 * config/picochip/ucmpsi2.S: Remove.
4240 * config/picochip/udivmodhi4.S: Remove.
4241 * config/picochip/udivmodsi4.S: Remove.
4242
66bb34c0
JM
42432014-09-08 Joseph Myers <joseph@codesourcery.com>
4244
4245 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
4246 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
4247 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
4248 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
4249 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
4250 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
4251 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
4252 defined and LIBGCC2_HAS_DF_MODE is defined.
4253 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
4254 defined and LIBGCC2_HAS_XF_MODE is defined.
4255 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
4256 defined and LIBGCC2_HAS_TF_MODE is defined.
4257
9686a2e6
JM
42582014-09-08 Joseph Myers <joseph@codesourcery.com>
4259
4260 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
4261 and ROUND_TOWARDS_ZERO conditionals.
4262
71c3e2ef
NS
42632014-09-07 Nathan sidwell <nathan@acm.org>
4264
4265 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
4266 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
4267
53d68b9f
JM
42682014-09-05 Joseph Myers <joseph@codesourcery.com>
4269
4270 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
4271 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4272 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4273 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4274 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4275 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4276 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4277 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
4278 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
4279 (DWARF_FRAME_REGISTERS): Change all uses to
4280 __LIBGCC_DWARF_FRAME_REGISTERS__.
4281 (EH_RETURN_STACKADJ_RTX): Change all uses to
4282 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4283 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
4284 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
4285 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
4286 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
4287 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
4288 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
4289 to __LIBGCC_EH_FRAME_SECTION_NAME__.
4290 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
4291 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
4292 __LIBGCC_STACK_POINTER_REGNUM__.
4293 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
4294 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4295 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4296 to __LIBGCC_STACK_POINTER_REGNUM__.
4297 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4298 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4299 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
4300 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4301 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
4302 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
4303 (STACK_POINTER_REGNUM): Change all uses to
4304 __LIBGCC_STACK_POINTER_REGNUM__.
4305 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
4306 use to __LIBGCC_STACK_POINTER_REGNUM__.
4307 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
4308 uses to __LIBGCC_STACK_POINTER_REGNUM__.
4309 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
4310 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4311 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
4312 to __LIBGCC_DWARF_FRAME_REGISTERS__.
4313 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
4314 to __LIBGCC_STACK_POINTER_REGNUM__.
4315 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
4316 Remove conditional definition.
4317 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
4318 __LIBGCC_TEXT_SECTION_ASM_OP__.
4319 (EH_FRAME_SECTION_NAME): Change all uses to
4320 __LIBGCC_EH_FRAME_SECTION_NAME__.
4321 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
4322 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
4323 (CTORS_SECTION_ASM_OP): Change all uses to
4324 __LIBGCC_CTORS_SECTION_ASM_OP__.
4325 (DTORS_SECTION_ASM_OP): Change all uses to
4326 __LIBGCC_DTORS_SECTION_ASM_OP__.
4327 (JCR_SECTION_NAME): Change all uses to
4328 __LIBGCC_JCR_SECTION_NAME__.
4329 (INIT_SECTION_ASM_OP): Change all uses to
4330 __LIBGCC_INIT_SECTION_ASM_OP__.
4331 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4332 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4333 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
4334 __LIBGCC_STACK_GROWS_DOWNWARD__.
4335 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
4336 __LIBGCC_INIT_SECTION_ASM_OP__.
4337 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
4338 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
4339 (EH_FRAME_SECTION_NAME): Change all uses to
4340 __LIBGCC_EH_FRAME_SECTION_NAME__.
4341 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
4342 definitions. Change all uses to
4343 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
4344 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
4345 __LIBGCC_STACK_GROWS_DOWNWARD__.
4346 (DWARF_FRAME_REGISTERS): Change all uses to
4347 __LIBGCC_DWARF_FRAME_REGISTERS__.
4348 (EH_RETURN_STACKADJ_RTX): Change all uses to
4349 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
4350 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
4351 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
4352 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
4353 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
4354 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
4355
b20ee094
NS
43562014-09-02 Nathan sidwell <nathan@acm.org>
4357
4358 * libgcov-interface.c (STRONG_ALIAS): New.
4359 (__gcov_flush): Call __gcov_reset_int.
4360 (__gcov_reset): Strong alias for ...
4361 (__gcov_reset_ing): ... this renamed hidden version.
4362 * libgcov.h (__gcov_reset_int): New declaration.
4363
1ac83976
YS
43642014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
4365
25efdb9f
YS
4366 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
4367 call from here...
4368 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
4369 (__dso_handle): Define on Cygwin.
4370 * config/i386/t-cygming (crtbeginS.o): New rule.
4371 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
4372
1ac83976
YS
4373 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4374 declaration syntax.
4375
c6f9ea3b
SE
43762014-08-13 Steve Ellcey <sellcey@mips.com>
4377
4378 * crtstuff.c: Undef caddr_t.
4379
5b1ea7c5
SE
43802014-08-12 Steve Ellcey <sellcey@mips.com>
4381
4382 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
4383
4303c581
NS
43842014-08-07 Nathan Sidwell <nathan@acm.org>
4385
4386 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
4387 (LIBGCOV_DRIVER): ... to here.
4388 * libgcov.h (gcov_do_dump): New #define.
4389 (struct gcov_root): New.
4390 (__gcov_root): New declaration.
4391 (__gcov_dump_one): Declare.
4392 * libgcov-driver.c (gcov_list, gcov_dump_complete,
4393 run_accounted): Delete.
4394 (gcov_compute_histogram): Add LIST argument, adjust.
4395 (compute_summary): Adjust gcov_compute_histogram call.
4396 (gcov_do_dump): Not hidden, static in libgcov.
4397 (gcov_clear): Move to interface.c.
4398 (__gcov_dump_one): New, broken out of ...
4399 (gcov_exit): ... here. Make static.
4400 (__gcov_root): New.
4401 (__gcov_init): Adjust.
4402 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
4403 declarations.
4404 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
4405 (gcov_clear): Moved from driver.c. Add LIST argument.
4406 (__gcov_reset): Adjust for changed interfaces.
4407 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
4408
23742a9e
RAR
44092014-08-04 Rohit <rohitarulraj@freescale.com>
4410
4411 PR target/60102
4412 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 4413 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 4414
b98a872b
NS
44152014-08-01 Nathan Sidwell <nathan@acm.org>
4416
4417 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
4418 LIBGCOV_INTERFACE): Reformat.
4419 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
4420 IN_GCOV_TOOL.
4421 * libgcov-interface.c: Reformat some comments.
4422 (__gcov_flush_mx): Add declaration. Tidy up definition.
4423
6adaaa1d
AM
44242014-07-31 Alan Modra <amodra@gmail.com>
4425 Peter Bergner <bergner@vnet.ibm.com>
4426
4427 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
4428 (pack_ldouble): New function.
4429 (__gcc_qadd): Use it.
4430 (__gcc_qmul): Likewise.
4431 (__gcc_qdiv): Likewise.
4432 (__gcc_qneg): Likewise.
4433 (__gcc_stoq): Likewise.
4434 (__gcc_dtoq): Likewise.
4435
87cb0c0c
UW
44362014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
4437
4438 * config/s390/tpf-unwind.h: Include <stdbool.h>.
4439 (__tpf_eh_return): Add original return address as second parameter.
4440 Handle cases where unwinder routines were called directly, instead
4441 of from within the C++ library.
4442
19926161
NS
44432014-07-29 Nathan Sidwell <nathan@acm.org>
4444
4445 * libgcov.h: Move renaming of entry points to lib gcov specific
4446 portion.
4447 (gcov_do_dump): New rename.
4448 (gcov_rewrite): Remove inline, make HIDDEN.
4449 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
4450 (gcov_exit_compute_summary): Rename to ...
4451 (compute_summary): ... here. Add LIST argument.
4452 (gcov_exit_merge_gcda): Rename to ...
4453 (merge_one_data): ... here.
4454 (gcov_exit_write_gcda): Rename to ...
4455 (write_one_data): ... here.
4456 (gcov_exit_merge_summary): Rename to ...
4457 (merge_summary): Add RUN_COUNTED argument.
4458 (gcov_exit_dump_gcov): Rename to ...
4459 (dump_one_gcov): Add RUN_COUNTED argument.
4460 (gcov_do_dump): New function, broken out of ...
4461 (gcov_exit): ... here. Call it.
4462
17522262
AG
44632014-07-27 Anthony Green <green@moxielogic.com>
4464
4465 * config.host: Add moxiebox configuration suppport.
4466
6dc33097
NS
44672014-07-27 Nathan Sidwell <nathan@acm.org>
4468
4469 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
4470 (struct gcov_filename): ... here. Include buffer and max length
4471 fields.
4472 (gcov_max_filename): Remove.
4473 (gi_filename): Remove.
4474 (gcov_exit_compute_summary): Compute max filename here.
4475 (gcov_exit_merge_gcda): Add filename parm, adjust.
4476 (gcov_exit_merge_summary): Likewise.
4477 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
4478 (gcov_exit): Likewise.
4479 (__gcov_init): Don't calculate max length here.
4480 * libgcov_util.c (max_filename_len): Remove.
4481 (read_gcda_file): Don't calculate max length here.
4482 (gcov_read_profile_dir): Don't propagate here.
4483 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
4484 struct gcov_filename changes.
4485 (gcov_exit_open_gcda_file): Likewise.
4486
770f687d
NS
44872014-07-25 Nathan Sidwell <nathan@acm.org>
4488
4489 * libgcov-driver.c (set_gcov_dump_complete,
4490 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
4491 functions polluting user's namespace.
4492 (gcov_exit): Set variable directly.
4493 (gcov_clear): Reset variable directly.
4494 * libgcov-interface.c (get_gcov_dymp_complete,
4495 reset_gov_dump_complete): Remove declarations.
4496 (__gcov_reset, __gcov_dump): Don't call them.
4497
fabf71ba
DD
44982014-07-24 DJ Delorie <dj@redhat.com>
4499
4500 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
4501 (__gcc_deregister_frame): Move logic to detect deregister function
4502 to ...
4503 (__gcc_register_frame): here, so it's consistent with the register
4504 logic.
fabf71ba 4505
d10ee722
NS
45062014-07-23 Nathan Sidwell <nathan@acm.org>
4507
4508 * libgcov-driver.c (set_gcov_list): Remove.
4509 (gcov_list): Make non-static in GCOV_TOOL.
4510 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
4511
a4137090
JDA
45122014-07-17 John David Anglin <danglin@gcc.gnu.org>
4513
4514 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
4515 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
4516 Don't use SYNC_LOCK_RELEASE for int type.
4517
72602c6c
RB
45182014-07-14 Richard Biener <rguenther@suse.de>
4519
4520 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
4521
d5313205
RX
45222014-07-11 Rong Xu <xur@google.com>
4523
4524 * libgcov-util.c (gcov_max_filename): Fix declartion.
4525
c77556a5
RX
45262014-07-10 Rong Xu <xur@google.com>
4527
4528 Add gcov-tool: an offline gcda profile processing tool
4529 Support.
4530 * libgcov-driver.c (gcov_max_filename): Make available
4531 to gcov-tool.
4532 * libgcov-merge.c (__gcov_merge_add): Replace
4533 gcov_read_counter() with a Macro.
4534 (__gcov_merge_ior): Ditto.
4535 (__gcov_merge_time_profile): Ditto.
4536 (__gcov_merge_single): Ditto.
4537 (__gcov_merge_delta): Ditto.
4538 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
4539 in the utility functions.
4540 (set_fn_ctrs): Utility function for reading gcda files to in-memory
4541 gcov_list object link lists.
4542 (tag_function): Ditto.
4543 (tag_blocks): Ditto.
4544 (tag_arcs): Ditto.
4545 (tag_lines): Ditto.
4546 (tag_counters): Ditto.
4547 (tag_summary): Ditto.
4548 (read_gcda_finalize): Ditto.
4549 (read_gcda_file): Ditto.
4550 (ftw_read_file): Ditto.
4551 (read_profile_dir_init): Ditto.
4552 (gcov_read_profile_dir): Ditto.
4553 (gcov_read_counter_mem): Ditto.
4554 (gcov_get_merge_weight): Ditto.
4555 (merge_wrapper): A wrapper function that calls merging handler.
4556 (gcov_merge): Merge two gcov_info objects with weights.
4557 (find_match_gcov_info): Find the matched gcov_info in the list.
4558 (gcov_profile_merge): Merge two gcov_info object lists.
4559 (__gcov_add_counter_op): Process edge profile counter values.
4560 (__gcov_ior_counter_op): Process IOR profile counter values.
4561 (__gcov_delta_counter_op): Process delta profile counter values.
4562 (__gcov_single_counter_op): Process single profile counter values.
4563 (fp_scale): Callback function for float-point scaling.
cc86234f 4564 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
4565 (gcov_profile_scale): Scaling profile counters.
4566 (gcov_profile_normalize): Normalize profile counters.
4567 * libgcov.h: Add headers and functions for gcov-tool use.
4568 (gcov_get_counter): New.
4569 (gcov_get_counter_target): Ditto.
4570 (struct gcov_info): Make the functions field mutable in gcov-tool
4571 compilation.
4572
5c7dac8a
KT
45732014-06-23 Kai Tietz <ktietz@redhat.com>
4574
4575 PR libgcc/61585
4576 * unwind-seh.c (_Unwind_GetGR): Check for proper
4577 index range.
4578 (_Unwind_SetGR): Likewise.
4579
161c9312
NC
45802014-05-22 Nick Clifton <nickc@redhat.com>
4581
4582 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
4583 -mhwmult=none.
4584
e3f0315f
TJ
45852014-05-22 Teresa Johnson <tejohnson@google.com>
4586
4587 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
4588 include.
4589
dbed5a9b
JM
45902014-05-20 John Marino <gnugcc@marino.st>
4591
4592 * config.host (*-*-dragonfly*): New target.
4593 * crtstuff.c: Make dl_iterate_support generic on *bsd.
4594 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
4595 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
4596 * config/i386/dragonfly-unwind.h: New.
4597
1ec380e5
MR
45982014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
4599
4600 PR libgcc/60166
4601 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
4602 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
4603
54fde020
BE
46042014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
4605
4606 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
4607 implementation.
4608
999db125
GJL
46092014-05-12 Georg-Johann Lay <avr@gjlay.de>
4610
4611 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
4612
cceaf54a
RO
46132014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4614
4615 PR libgcc/61097
4616 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
4617 if --enable-shared.
4618
e3fe9b5b
BE
46192014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
4620
4621 Work around for current cygwin32 build problems.
4622 * config/i386/cygming-crtbegin.c (__register_frame_info,
4623 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
4624 functions only for 64-bit systems.
4625
54cf37e9
RO
46262014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4627
4628 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
4629 (sigill_caught, sigill_hdlr): Remove.
4630
d9f069ab
RO
46312014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4632
4633 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
4634 check.
4635 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4636 Solaris 9 single-threaded support.
4637 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4638 Solaris 9 single-threaded support. Add call_user_handler code
4639 sequences.
4640 (sparc_is_sighandler): Likewise.
4641
59976ef8
AK
46422014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4643
4644 * config.host: Append t-floattodi to tmake_file depending on
4645 host_address.
4646
d02bbcf3
JS
46472014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
4648
31466bc0 4649 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 4650
c2e7e597
UB
46512014-03-10 Uros Bizjak <ubizjak@gmail.com>
4652
4653 PR libgcc/60472
4654 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 4655 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
4656 Use __builtin_expect when checking *jcr_list for NULL.
4657
227a7dc8
RO
46582014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4659
4660 PR libgcc/59339
4661 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
4662 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
4663 vtv_*.o to extra_parts if enable_vtable_verify.
4664
df2b279c
NC
46652014-03-06 Nick Clifton <nickc@redhat.com>
4666
4667 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
4668 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
4669
dc11d79b
JY
46702014-02-28 Joey Ye <joey.ye@arm.com>
4671
4672 PR libgcc/60166
4673 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
4674 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
4675 Set to zero.
4676
341c653c
WL
46772014-02-24 Walter Lee <walt@tilera.com>
4678
4679 * config.host: Support "tilegx*" and "tilepro*" triplets.
4680 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
4681 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
4682
95ce7613
CLT
46832014-02-20 Sandra Loosemore <sandra@codesourcery.com>
4684 Chung-Lin Tang <cltang@codesourcery.com>
4685
4686 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
4687 * config/nios2/crti.S: Remove .file directive.
4688 * config/nios2/crtn.S: Likewise.
4689
0bb4fc05
KT
46902014-02-18 Kai Tietz <ktietz@redhat.com>
4691 Jonathan Schleifer <js@webkeks.org>
4692
4693 PR objc/56870
4694 * unwind-seh.c (_GCC_specific_handler): Pass proper
4695 value to unwind-handler.
4696
9acf28f1
JM
46972014-02-12 Joseph Myers <joseph@codesourcery.com>
4698
4699 * soft-fp/adddf3.c: Update from glibc.
4700 * soft-fp/addsf3.c: Likewise.
4701 * soft-fp/addtf3.c: Likewise.
4702 * soft-fp/divdf3.c: Likewise.
4703 * soft-fp/divsf3.c: Likewise.
4704 * soft-fp/divtf3.c: Likewise.
4705 * soft-fp/double.h: Likewise.
4706 * soft-fp/eqdf2.c: Likewise.
4707 * soft-fp/eqsf2.c: Likewise.
4708 * soft-fp/eqtf2.c: Likewise.
4709 * soft-fp/extenddftf2.c: Likewise.
4710 * soft-fp/extended.h: Likewise.
4711 * soft-fp/extendsfdf2.c: Likewise.
4712 * soft-fp/extendsftf2.c: Likewise.
4713 * soft-fp/extendxftf2.c: Likewise.
4714 * soft-fp/fixdfdi.c: Likewise.
4715 * soft-fp/fixdfsi.c: Likewise.
4716 * soft-fp/fixdfti.c: Likewise.
4717 * soft-fp/fixsfdi.c: Likewise.
4718 * soft-fp/fixsfsi.c: Likewise.
4719 * soft-fp/fixsfti.c: Likewise.
4720 * soft-fp/fixtfdi.c: Likewise.
4721 * soft-fp/fixtfsi.c: Likewise.
4722 * soft-fp/fixtfti.c: Likewise.
4723 * soft-fp/fixunsdfdi.c: Likewise.
4724 * soft-fp/fixunsdfsi.c: Likewise.
4725 * soft-fp/fixunsdfti.c: Likewise.
4726 * soft-fp/fixunssfdi.c: Likewise.
4727 * soft-fp/fixunssfsi.c: Likewise.
4728 * soft-fp/fixunssfti.c: Likewise.
4729 * soft-fp/fixunstfdi.c: Likewise.
4730 * soft-fp/fixunstfsi.c: Likewise.
4731 * soft-fp/fixunstfti.c: Likewise.
4732 * soft-fp/floatdidf.c: Likewise.
4733 * soft-fp/floatdisf.c: Likewise.
4734 * soft-fp/floatditf.c: Likewise.
4735 * soft-fp/floatsidf.c: Likewise.
4736 * soft-fp/floatsisf.c: Likewise.
4737 * soft-fp/floatsitf.c: Likewise.
4738 * soft-fp/floattidf.c: Likewise.
4739 * soft-fp/floattisf.c: Likewise.
4740 * soft-fp/floattitf.c: Likewise.
4741 * soft-fp/floatundidf.c: Likewise.
4742 * soft-fp/floatundisf.c: Likewise.
4743 * soft-fp/floatunditf.c: Likewise.
4744 * soft-fp/floatunsidf.c: Likewise.
4745 * soft-fp/floatunsisf.c: Likewise.
4746 * soft-fp/floatunsitf.c: Likewise.
4747 * soft-fp/floatuntidf.c: Likewise.
4748 * soft-fp/floatuntisf.c: Likewise.
4749 * soft-fp/floatuntitf.c: Likewise.
4750 * soft-fp/gedf2.c: Likewise.
4751 * soft-fp/gesf2.c: Likewise.
4752 * soft-fp/getf2.c: Likewise.
4753 * soft-fp/ledf2.c: Likewise.
4754 * soft-fp/lesf2.c: Likewise.
4755 * soft-fp/letf2.c: Likewise.
4756 * soft-fp/muldf3.c: Likewise.
4757 * soft-fp/mulsf3.c: Likewise.
4758 * soft-fp/multf3.c: Likewise.
4759 * soft-fp/negdf2.c: Likewise.
4760 * soft-fp/negsf2.c: Likewise.
4761 * soft-fp/negtf2.c: Likewise.
4762 * soft-fp/op-1.h: Likewise.
4763 * soft-fp/op-2.h: Likewise.
4764 * soft-fp/op-4.h: Likewise.
4765 * soft-fp/op-8.h: Likewise.
4766 * soft-fp/op-common.h: Likewise.
4767 * soft-fp/quad.h: Likewise.
4768 * soft-fp/single.h: Likewise.
4769 * soft-fp/soft-fp.h: Likewise.
4770 * soft-fp/subdf3.c: Likewise.
4771 * soft-fp/subsf3.c: Likewise.
4772 * soft-fp/subtf3.c: Likewise.
4773 * soft-fp/truncdfsf2.c: Likewise.
4774 * soft-fp/trunctfdf2.c: Likewise.
4775 * soft-fp/trunctfsf2.c: Likewise.
4776 * soft-fp/trunctfxf2.c: Likewise.
4777 * soft-fp/unorddf2.c: Likewise.
4778 * soft-fp/unordsf2.c: Likewise.
4779 * soft-fp/unordtf2.c: Likewise.
4780 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
4781 macro.
4782 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4783 Likewise.
4784 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4785 Likewise.
4786 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4787 Likewise.
4788 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4789 Likewise.
4790 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4791 Likewise.
4792 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4793 Likewise.
4794 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4795 Likewise.
4796 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4797 Likewise.
4798 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4799 Likewise.
4800 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4801 Likewise.
4802 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4803 Likewise.
4804 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4805 Likewise.
4806 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
4807 Likewise.
4808 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
4809 Likewise.
4810 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4811 Likewise.
4812
ce245ec6
AK
48132014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4814
4815 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
4816 cannot be represented.
4817 * config/s390/32/_fixsfdi.c: Likewise.
4818 * config/s390/32/_fixtfdi.c: Likewise.
4819 * config/s390/32/_fixunsdfdi.c: Likewise.
4820 * config/s390/32/_fixunssfdi.c: Likewise.
4821 * config/s390/32/_fixunstfdi.c: Likewise.
4822
1c51d688
RS
48232014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
4824
4825 * configure.ac (libgcc_cv_mips_hard_float): New.
4826 * configure: Regenerate.
4827 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
4828 t-softfp-sfdf for hard-float targets.
4829 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
4830 (softfp_float_modes, softfp_int_modes, softfp_extensions)
4831 (softfp_truncations, softfp_exclude_libgcc2): New.
4832 * config/t-hardfp: New file.
4833 * config/t-hardfp-sfdf: Likewise.
4834 * config/hardfp.c: Likewise.
4835
bbf391db
AK
48362014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4837
4838 * config.host: Include t-floattodi also for s390x.
4839 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
4840 * config/s390/32/_fixsfdi.c: Likewise.
4841 * config/s390/32/_fixtfdi.c: Likewise.
4842 * config/s390/32/_fixunsdfdi.c: Likewise.
4843 * config/s390/32/_fixunssfdi.c: Likewise.
4844 * config/s390/32/_fixunstfdi.c: Likewise.
4845
91da0481
RO
48462014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4847
4848 PR target/59788
4849 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
4850 (install-libgcc-unwind-map-forbuild): New target.
4851 (all): Depend on install-libgcc-unwind-map-forbuild.
4852 (install-libgcc-unwind-map): New target.
4853 (install): Depend on install-libgcc-unwind-map.
4854
02b67731
SL
48552014-02-02 Sandra Loosemore <sandra@codesourcery.com>
4856
4857 * config/nios2/crti.S (_init): Initialize GOT pointer from
4858 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
4859
1ea0a651
RS
48602014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
4861
4862 * configure.ac: Check __mips64 when setting host_address.
4863 * configure: Regenerate.
4864 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
4865 mips/t-mips64 and t-softfp.
4866 (mips*-*-linux*): Don't add mips/t-tpbit.
4867 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
4868 (DPBIT, DPBIT_CFLAGS): Delete.
4869 * config/mips/sfp-machine.h: New file.
4870 * config/mips/t-mips64: Likewise.
4871 * config/mips/t-softfp-tf: Likewise.
4872 * config/mips/t-tpbit: Delete.
4873
f32b0061
MS
48742014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
4875
4876 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
4877 as long long.
4878
a5420aa4
WL
48792014-01-25 Walter Lee <walt@tilera.com>
4880
4881 * config/tilepro/atomic.c: Include tconfig.h. Don't include
4882 config.h or system.h.
4883 (bool) Define.
4884
24534912
WL
48852014-01-25 Walter Lee <walt@tilera.com>
4886
4887 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
4888 (post_atomic_barrier): Ditto.
4889 (__fetch_and_do): New macro.
4890 (__atomic_fetch_and_do): Use __fetch_and_do.
4891 (__sync_fetch_and_do): New macro.
4892 (__sync_fetch_and_add_4): New function.
4893 (__sync_fetch_and_sub_4): New function.
4894 (__sync_fetch_and_or_4): New function.
4895 (__sync_fetch_and_and_4): New function.
4896 (__sync_fetch_and_xor_4): New function.
4897 (__sync_fetch_and_nand_4): New function.
4898 (__sync_fetch_and_add_8): New function.
4899 (__sync_fetch_and_sub_8): New function.
4900 (__sync_fetch_and_or_8): New function.
4901 (__sync_fetch_and_and_8): New function.
4902 (__sync_fetch_and_xor_8): New function.
4903 (__sync_fetch_and_nand_8): New function.
4904 (__do_and_fetch): New macro.
4905 (__atomic_do_and_fetch): Use __do_and_fetch.
4906 (__sync_do_and_fetch): New macro.
4907 (__sync_add_and_fetch_4): New function.
4908 (__sync_sub_and_fetch_4): New function.
4909 (__sync_or_and_fetch_4): New function.
4910 (__sync_and_and_fetch_4): New function.
4911 (__sync_xor_and_fetch_4): New function.
4912 (__sync_nand_and_fetch_4): New function.
4913 (__sync_add_and_fetch_8): New function.
4914 (__sync_sub_and_fetch_8): New function.
4915 (__sync_or_and_fetch_8): New function.
4916 (__sync_and_and_fetch_8): New function.
4917 (__sync_xor_and_fetch_8): New function.
4918 (__sync_nand_and_fetch_8): New function.
4919 (__sync_exchange_methods): New macro.
4920 (__sync_val_compare_and_swap_4): New function.
4921 (__sync_bool_compare_and_swap_4): New function.
4922 (__sync_lock_test_and_test_4): New function.
4923 (__sync_val_compare_and_swap_8): New function.
4924 (__sync_bool_compare_and_swap_8): New function.
4925 (__sync_lock_test_and_test_8): New function.
4926 (__subword_cmpxchg_body): New macro.
4927 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
4928 (__atomic_compare_exchange_2): Ditto.
4929 (__sync_subword_cmpxchg): New macro.
4930 (__sync_val_compare_and_swap_1): New function.
4931 (__sync_bool_compare_and_swap_1): New function.
4932 (__sync_val_compare_and_swap_2): New function.
4933 (__sync_bool_compare_and_swap_2): New function.
4934 (__atomic_subword): Rename to ...
4935 (__subword): ... New name.
4936 (__atomic_subword_fetch): Use __subword.
4937 (__sync_subword_fetch): New macro.
4938 (__sync_fetch_and_add_1): New function.
4939 (__sync_fetch_and_sub_1): New function.
4940 (__sync_fetch_and_or_1): New function.
4941 (__sync_fetch_and_and_1): New function.
4942 (__sync_fetch_and_xor_1): New function.
4943 (__sync_fetch_and_nand_1): New function.
4944 (__sync_fetch_and_add_2): New function.
4945 (__sync_fetch_and_sub_2): New function.
4946 (__sync_fetch_and_or_2): New function.
4947 (__sync_fetch_and_and_2): New function.
4948 (__sync_fetch_and_xor_2): New function.
4949 (__sync_fetch_and_nand_2): New function.
4950 (__sync_add_and_fetch_1): New function.
4951 (__sync_sub_and_fetch_1): New function.
4952 (__sync_or_and_fetch_1): New function.
4953 (__sync_and_and_fetch_1): New function.
4954 (__sync_xor_and_fetch_1): New function.
4955 (__sync_nand_and_fetch_1): New function.
4956 (__sync_add_and_fetch_2): New function.
4957 (__sync_sub_and_fetch_2): New function.
4958 (__sync_or_and_fetch_2): New function.
4959 (__sync_and_and_fetch_2): New function.
4960 (__sync_xor_and_fetch_2): New function.
4961 (__sync_nand_and_fetch_2): New function.
4962 (__atomic_subword_lock): Use __subword.
4963 (__sync_subword_lock): New macro.
4964 (__sync_lock_test_and_set_1): New function.
4965 (__sync_lock_test_and_set_2): New function.
4966
4d6d3bc5
WL
49672014-01-25 Walter Lee <walt@tilera.com>
4968
4969 * config/tilepro/atomic.c (BIT_OFFSET): Define.
4970 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
4971 (__atomic_subword): Ditto.
4972
cbd9890e
WL
49732014-01-25 Walter Lee <walt@tilera.com>
4974
4975 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
4976 a prefix op argument.
4977 (__atomic_nand_fetch_4): Add prefix op.
4978 (__atomic_nand_fetch_8): Ditto.
4979
7d296953 49802014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
4981
4982 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
4983
46dd1242
L
49842014-01-09 Rong Xu <xur@google.com>
4985
4986 * libgcov-driver.c (this_prg): make it local to save
4987 bss space.
4988 (gcov_exit_compute_summary): Ditto.
4989 (gcov_exit_merge_gcda): Ditto.
4990 (gcov_exit_merge_summary): Ditto.
4991 (gcov_exit_dump_gcov): Ditto.
4992
cc86234f 49932014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
4994
4995 * libgcov-driver.c: Use libgcov.h.
4996 (buffer_fn_data): Use xmalloc instead of malloc.
4997 (gcov_exit_merge_gcda): Ditto.
4998 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
4999 * libgcov.h: New common header files for libgcov-*.h.
5000 * libgcov-interface.c: Use libgcov.h
5001 * libgcov-merge.c: Ditto.
5002 * libgcov-profiler.c: Ditto.
5003 * Makefile.in: Add dependence to libgcov.h
5004
a02e7bdd
JM
50052014-01-02 Joseph Myers <joseph@codesourcery.com>
5006
5007 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
5008 case of small numerator and finite nonzero result.
5009
ac1dca3c
RS
50102014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5011
5012 Update copyright years
5013
f9030485
RS
50142014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
5015
5016 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
5017 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
5018 config/arc/dp-hack.h, config/arc/fp-hack.h,
5019 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
5020 config/arc/ieee-754/arc600-dsp/divdf3.S,
5021 config/arc/ieee-754/arc600-dsp/divsf3.S,
5022 config/arc/ieee-754/arc600-dsp/muldf3.S,
5023 config/arc/ieee-754/arc600-dsp/mulsf3.S,
5024 config/arc/ieee-754/arc600-mul64/divdf3.S,
5025 config/arc/ieee-754/arc600-mul64/divsf3.S,
5026 config/arc/ieee-754/arc600-mul64/muldf3.S,
5027 config/arc/ieee-754/arc600-mul64/mulsf3.S,
5028 config/arc/ieee-754/arc600/divsf3.S,
5029 config/arc/ieee-754/arc600/mulsf3.S,
5030 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
5031 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
5032 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
5033 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
5034 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
5035 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
5036 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
5037 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
5038 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
5039 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
5040 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
5041 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
5042 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
5043 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
5044 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
5045 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
5046 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
5047 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
5048 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
5049 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
5050 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
5051 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
5052 vtv_start_preinit.c: Use the standard form for the copyright notice.
5053
e430824f
CLT
50542013-12-31 Sandra Loosemore <sandra@codesourcery.com>
5055 Chung-Lin Tang <cltang@codesourcery.com>
5056 Based on patches from Altera Corporation
5057
5058 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
5059 * config/nios2/lib2-nios2.h: New file.
5060 * config/nios2/lib2-divmod-hi.c: New file.
5061 * config/nios2/linux-unwind.h: New file.
5062 * config/nios2/lib2-divmod.c: New file.
5063 * config/nios2/linux-atomic.c: New file.
5064 * config/nios2/t-nios2: New file.
5065 * config/nios2/crti.asm: New file.
5066 * config/nios2/t-linux: New file.
5067 * config/nios2/lib2-divtable.c: New file.
5068 * config/nios2/lib2-mul.c: New file.
5069 * config/nios2/tramp.c: New file.
5070 * config/nios2/crtn.asm: New file.
5071
1879e97f
UB
50722013-12-26 Uros Bizjak <ubizjak@gmail.com>
5073
5074 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
5075 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
5076 from cpuid.h to check vendor signatures.
5077
f4a4bdbb
GG
50782013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
5079
c2e7e597 5080 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
5081 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
5082 (get_amd_cpu): Likewise.
5083
8d2ae544
L
50842013-12-25 H.J. Lu <hongjiu.lu@intel.com>
5085
5086 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
5087 Haswell.
5088
74924838
ASJ
50892013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
5090 H.J. Lu <hongjiu.lu@intel.com>
5091
0bb52f25
L
5092 PR target/59422
5093 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
5094 and AMD_JAGUAR.
5095 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
5096 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
5097 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
5098 FEATURE_XOP and FEATURE_FMA.
5099 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
5100 AMDFAM15H_BDVER3.
5101 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 5102 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
5103 FEATURE_FMA4 and FEATURE_XOP.
5104
d3c11974
L
51052013-12-23 H.J. Lu <hongjiu.lu@intel.com>
5106
5107 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
5108 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
5109 (get_intel_cpu): Updated.
5110
064c4ff2
ZC
51112013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
5112
5113 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
5114
8b02e720
UB
51152013-12-09 Uros Bizjak <ubizjak@gmail.com>
5116
5117 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 5118 instructions when __SSE_MATH__ is defined.
8b02e720 5119
3fa2ccb4
RC
51202013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
5121
5122 * config.host (microblaze-*-rtems*): New.
5123
ecd78fc9
KV
51242013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
5125
5126 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
5127 architectures that do not have hardware divide instruction.
5128 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
5129
b21fbbd2
RS
51302013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
5131
5132 * longlong.h: Delete (moved to include/).
5133
b03fb8c9
AZ
51342013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5135
5136 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
5137 of normal number and qNaN to not raise an inexact exception.
5138
3c716922
UB
51392013-11-28 Uros Bizjak <ubizjak@gmail.com>
5140
5141 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
5142
51432013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
5144
5145 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
5146 for correct opcodes on BE.
5147
a3458d22
UB
51482013-11-27 Uros Bizjak <ubizjak@gmail.com>
5149
5150 * soft-fp/op-4.h: Update from glibc.
5151
30b8f78b
KV
51522013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
5153
5154 * libgcc2.c (__udivmoddi4): Define new implementation when
5155 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
5156 divide instructions.
5157
82552a29
OE
51582013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
5159
5160 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
5161
80e87457
RO
51622013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5163
5164 * config/t-softfp (soft-fp-objects-base): New variable.
5165 (soft-fp-objects): Use it.
5166
44178879
DE
51672013-11-23 David Edelson <dje.gcc@gmail.com>
5168 Andrew Dixie <andrewd@gentrack.com>
5169
5170 PR target/33704
5171 * config/rs6000/aixinitfini.c: New file.
5172 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
5173 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
5174 symbols.
5175
e5287671
YR
51762013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
5177
a3458d22 5178 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 5179
867c8b03
JH
51802013-11-18 Jan Hubicka <jh@suse.cz>
5181
7f369373
JH
5182 * libgcov-driver.c (run_accounted): Make global level static.
5183 (gcov_exit_merge_summary): Silence warning; do not clear
5184 run_accounted here.
5185 (gcov_exit): Clear it here.
5186
1d0b3334
JH
5187 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
5188 run_accounted.
5189
867c8b03
JH
5190 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
5191 (all_prg, crc32): Remove static vars.
5192 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
5193 all_prg.
5194 (gcov_exit_merge_gcda): Add crc32 parameter.
5195 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
5196 do not account run if it was already accounted.
5197 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
5198 (gcov_exit): Initialize all_prg; update.
5199
66204992
AS
52002013-11-15 Andreas Schwab <schwab@linux-m68k.org>
5201
5202 * configure: Regenerate.
5203
b54214fe
UW
52042013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5205 Alan Modra <amodra@gmail.com>
5206
5207 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
5208 (frob_update_context): Use it.
5209
52102013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5211 Alan Modra <amodra@gmail.com>
5212
5213 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
5214 (trampoline_initial): Provide ELFv2 variant.
5215 (__trampoline_setup): Likewise.
5216
5217 * config/rs6000/linux-unwind.h (frob_update_context): Do not
5218 check for AIX indirect function call sequence if _CALL_ELF == 2.
5219
52202013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5221 Alan Modra <amodra@gmail.com>
5222
5223 * config/rs6000/linux-unwind.h (get_regs): Do not support
5224 old kernel versions if _CALL_ELF == 2.
5225 (frob_update_context): Do not support PLT stub variants only
5226 generated by old linkers if _CALL_ELF == 2.
5227
13e0981a
UW
52282013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5229 Alan Modra <amodra@gmail.com>
5230
5231 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
5232 location of CR save area for 64-bit little-endian systems.
5233
1a80085d
EB
52342013-11-11 Eric Botcazou <ebotcazou@adacore.com>
5235
5236 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
5237 in tmake_file.
5238 * config/arm/t-vxworks: Delete.
5239
cabeea52
KT
52402013-11-10 Kai Tietz <ktietz@redhat.com>
5241
5242 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
5243 Increment load-count on use of LIBGCC_SONAME DLL.
5244 (hmod_libgcc): New static variable to hold handle of
5245 LIBGCC_SONAME DLL.
5246 (__gcc_deregister_frame): Decrement load-count of
5247 LIBGCC_SONAME DLL.
5248
ac088ba1
BRF
52492013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
5250
5251 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
5252 availability.
5253 * configure: Regenerate
5254
d59a8fcc
UB
52552013-11-07 Uros Bizjak <ubizjak@gmail.com>
5256
5257 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
5258 FP_EX_DENORM. Store result to volatile location after SSE division
5259 to close interrupt window. Remove unneeded fwait after x87
5260 division since interrupt window will be closed by emitted fstp.
9de84e84 5261 Rewrite FP_EX_INEXACT handling.
d59a8fcc 5262
9954c743
JM
52632013-11-06 Joseph Myers <joseph@codesourcery.com>
5264
5265 * soft-fp/README: Update.
5266 * soft-fp/adddf3.c: Update from glibc.
5267 * soft-fp/addsf3.c: Likewise.
5268 * soft-fp/addtf3.c: Likewise.
5269 * soft-fp/divdf3.c: Likewise.
5270 * soft-fp/divsf3.c: Likewise.
5271 * soft-fp/divtf3.c: Likewise.
5272 * soft-fp/double.h: Likewise.
5273 * soft-fp/eqdf2.c: Likewise.
5274 * soft-fp/eqsf2.c: Likewise.
5275 * soft-fp/eqtf2.c: Likewise.
5276 * soft-fp/extenddftf2.c: Likewise.
5277 * soft-fp/extended.h: Likewise.
5278 * soft-fp/extendsfdf2.c: Likewise.
5279 * soft-fp/extendsftf2.c: Likewise.
5280 * soft-fp/extendxftf2.c: Likewise.
5281 * soft-fp/fixdfdi.c: Likewise.
5282 * soft-fp/fixdfsi.c: Likewise.
5283 * soft-fp/fixdfti.c: Likewise.
5284 * soft-fp/fixsfdi.c: Likewise.
5285 * soft-fp/fixsfsi.c: Likewise.
5286 * soft-fp/fixsfti.c: Likewise.
5287 * soft-fp/fixtfdi.c: Likewise.
5288 * soft-fp/fixtfsi.c: Likewise.
5289 * soft-fp/fixtfti.c: Likewise.
5290 * soft-fp/fixunsdfdi.c: Likewise.
5291 * soft-fp/fixunsdfsi.c: Likewise.
5292 * soft-fp/fixunsdfti.c: Likewise.
5293 * soft-fp/fixunssfdi.c: Likewise.
5294 * soft-fp/fixunssfsi.c: Likewise.
5295 * soft-fp/fixunssfti.c: Likewise.
5296 * soft-fp/fixunstfdi.c: Likewise.
5297 * soft-fp/fixunstfsi.c: Likewise.
5298 * soft-fp/fixunstfti.c: Likewise.
5299 * soft-fp/floatdidf.c: Likewise.
5300 * soft-fp/floatdisf.c: Likewise.
5301 * soft-fp/floatditf.c: Likewise.
5302 * soft-fp/floatsidf.c: Likewise.
5303 * soft-fp/floatsisf.c: Likewise.
5304 * soft-fp/floatsitf.c: Likewise.
5305 * soft-fp/floattidf.c: Likewise.
5306 * soft-fp/floattisf.c: Likewise.
5307 * soft-fp/floattitf.c: Likewise.
5308 * soft-fp/floatundidf.c: Likewise.
5309 * soft-fp/floatundisf.c: Likewise.
5310 * soft-fp/floatunditf.c: Likewise.
5311 * soft-fp/floatunsidf.c: Likewise.
5312 * soft-fp/floatunsisf.c: Likewise.
5313 * soft-fp/floatunsitf.c: Likewise.
5314 * soft-fp/floatuntidf.c: Likewise.
5315 * soft-fp/floatuntisf.c: Likewise.
5316 * soft-fp/floatuntitf.c: Likewise.
5317 * soft-fp/gedf2.c: Likewise.
5318 * soft-fp/gesf2.c: Likewise.
5319 * soft-fp/getf2.c: Likewise.
5320 * soft-fp/ledf2.c: Likewise.
5321 * soft-fp/lesf2.c: Likewise.
5322 * soft-fp/letf2.c: Likewise.
5323 * soft-fp/muldf3.c: Likewise.
5324 * soft-fp/mulsf3.c: Likewise.
5325 * soft-fp/multf3.c: Likewise.
5326 * soft-fp/negdf2.c: Likewise.
5327 * soft-fp/negsf2.c: Likewise.
5328 * soft-fp/negtf2.c: Likewise.
5329 * soft-fp/op-1.h: Likewise.
5330 * soft-fp/op-2.h: Likewise.
5331 * soft-fp/op-4.h: Likewise.
5332 * soft-fp/op-8.h: Likewise.
5333 * soft-fp/op-common.h: Likewise.
5334 * soft-fp/quad.h: Likewise.
5335 * soft-fp/single.h: Likewise.
5336 * soft-fp/soft-fp.h: Likewise.
5337 * soft-fp/subdf3.c: Likewise.
5338 * soft-fp/subsf3.c: Likewise.
5339 * soft-fp/subtf3.c: Likewise.
5340 * soft-fp/truncdfsf2.c: Likewise.
5341 * soft-fp/trunctfdf2.c: Likewise.
5342 * soft-fp/trunctfsf2.c: Likewise.
5343 * soft-fp/trunctfxf2.c: Likewise.
5344 * soft-fp/unorddf2.c: Likewise.
5345 * soft-fp/unordsf2.c: Likewise.
5346 * soft-fp/unordtf2.c: Likewise.
5347
02ac9503
UB
53482013-11-05 Uros Bizjak <ubizjak@gmail.com>
5349
5350 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
5351 (_FP_MUL_MEAT_D): Ditto.
5352 (_FP_DIV_MEAT_S): Ditto.
5353 (_FP_DIV_MEAT_D): Ditto.
5354 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
5355 t-softfp-sfdf and t-softfp to tmake_file.
5356
61221141
UB
53572013-11-03 Uros Bizjak <ubizjak@gmail.com>
5358
5359 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
5360 * config/i386/crtprec.c: Ditto.
5361
9304f876
CJW
53622013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
5363 Shiva Chen <shiva0217@gmail.com>
5364
5365 * config.host (nds32*-elf*): Add nds32 target.
5366 * config/nds32 : New directory and files.
5367
0e499e75
HPN
53682013-10-16 Hans-Peter Nilsson <hp@axis.com>
5369
5370 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
5371 * config.host (cpu_type) <Setting default>: Add entry for
5372 crisv32-*-*.
5373 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
5374 <crisv32-*-linux*>: Adjust.
5375 * longlong.h: Wrap the whole CRIS section in a single
5376 defined(__CRIS__) conditional. Add comment about add_ssaaaa
5377 and sub_ddmmss.
5378 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
5379 defined.
5380 [__CRIS__] (__umulsidi3): Define.
5381 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
5382 * config/cris/sfp-machine.h: New file.
5383 * config/cris/umulsidi3.S: New file.
5384 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
5385 * config/cris/arit.c (SIGNMULT): New macro.
5386 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
5387 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
5388 saving 3 out of originally 33 cycles from the fastest
5389 path, 3 out of 54 from the medium path and one from the longest
5390 path. Improve comments.
5391
16022041
RS
53922013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
5393
5394 * sync.c: Remove static aliases and define each function directly
5395 under its real name.
5396
69778659
JDA
53972013-10-02 John David Anglin <danglin@gcc.gnu.org>
5398
5399 * config.host (hppa*64*-*-linux*): Define extra_parts.
5400 (hppa*-*-linux*): Likewise.
5401
2deaf8b0
JR
54022013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
5403
5404 * config/arc/crtgend.S: Add 2013 to Copyright years.
5405 * config/arc/gmon/atomic.h: Likewise.
5406 * config/arc/gmon/auxreg.h: Likewise.
5407 * config/arc/gmon/sys/gmon_out.h: Likewise.
5408 * config/arc/gmon/sys/gmon.h: Likewise.
5409 * config/arc/gmon/prof-freq.c: Likewise.
5410 * config/arc/gmon/mcount.c: Likewise.
5411 * config/arc/gmon/prof-freq-stub.S: Likewise.
5412 * config/arc/gmon/gmon.c: Likewise.
5413 * config/arc/gmon/machine-gmon.h: Likewise.
5414 * config/arc/gmon/profil.S: Likewise.
5415 * config/arc/gmon/dcache_linesz.S: Likewise.
5416 * config/arc/crtg.S: Likewise.
5417 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
5418 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
5419 * config/arc/ieee-754/adddf3.S: Likewise.
5420 * config/arc/ieee-754/truncdfsf2.S: Likewise.
5421 * config/arc/ieee-754/fixsfsi.S: Likewise.
5422 * config/arc/ieee-754/gtsf2.S: Likewise.
5423 * config/arc/ieee-754/floatsisf.S: Likewise.
5424 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
5425 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
5426 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
5427 * config/arc/ieee-754/fixdfsi.S: Likewise.
5428 * config/arc/ieee-754/addsf3.S: Likewise.
5429 * config/arc/ieee-754/gesf2.S: Likewise.
5430 * config/arc/ieee-754/floatsidf.S: Likewise.
5431 * config/arc/ieee-754/extendsfdf2.S: Likewise.
5432 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
5433 * config/arc/ieee-754/gtdf2.S: Likewise.
5434 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
5435 * config/arc/ieee-754/uneqdf2.S: Likewise.
5436 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
5437 * config/arc/ieee-754/uneqsf2.S: Likewise.
5438 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
5439 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
5440 * config/arc/ieee-754/eqdf2.S: Likewise.
5441 * config/arc/ieee-754/ordsf2.S: Likewise.
5442 * config/arc/ieee-754/divsf3.S: Likewise.
5443 * config/arc/ieee-754/divdf3.S: Likewise.
5444 * config/arc/ieee-754/floatunsidf.S: Likewise.
5445 * config/arc/ieee-754/orddf2.S: Likewise.
5446 * config/arc/ieee-754/eqsf2.S: Likewise.
5447 * config/arc/ieee-754/gedf2.S: Likewise.
5448 * config/arc/crtn.S: Likewise.
5449 * config/arc/crti.S: Likewise.
5450 * config/arc/t-arc700-uClibc: Likewise.
5451 * config/arc/asm.h: Likewise.
5452 * config/arc/libgcc-excl.ver: Likewise.
5453 * config/arc/t-arc-newlib: Likewise.
5454 * config/arc/divtab-arc700.c: Likewise.
5455 * config/arc/initfini.c: Likewise.
5456 * config/arc/fp-hack.h: Likewise.
5457
c8e318b0
JR
54582013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5459 Diego Novillo <dnovillo@google.com>
5460
5461 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
5462 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
5463 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
5464 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 5465
d38a64b4
JR
54662013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
5467 Brendan Kehoe <brendan@zen.org>
5468 Simon Cook <simon.cook@embecosm.com>
5469
5470 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
5471 * config/arc: New directory.
5472 * longlong.h [__arc__] (umul_ppmm): Remove.
5473 [__arc__] (__umulsidi3): Define.
5474 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
5475 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
5476
dff717d2
JC
54772013-09-17 Jacek Caban <jacek@codeweavers.com>
5478
5479 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
5480 CreateSemaphoreA.
5481 * config/i386/gthr-win32.h: Likewise.
5482
5c0029de
DD
54832013-09-16 DJ Delorie <dj@redhat.com>
5484
844ad6c6 5485 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
5486 * config/rl78/lib2mul.c: Enable for RL78/G10.
5487 * config/rl78/lib2div.c: Likewise.
5488 * config/rl78/lshrsi3.S: Use vregs.h.
5489 * config/rl78/cmpsi2.S: Likewise.
5490 * config/rl78/trampoline.S: Likewise.
5491 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
5492
ceb2fc49
DD
54932013-09-14 DJ Delorie <dj@redhat.com>
5494 Nick Clifton <nickc@redhat.com>
5495
5496 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
5497 * config/rl78/vregs.h: New.
5498 * config/rl78/signbit.S: New file. Implements signbit function.
5499 * config/rl78/divmodsi.S: New.
5500 * config/rl78/divmodhi.S: New.
5501 * config/rl78/divmodqi.S: New.
5502 * config/rl78/t-rl78: Build them here...
5503 * config/rl78/lib2div.c: ...but not here.
5504
f6a83b4a
DD
55052013-09-12 DJ Delorie <dj@redhat.com>
5506
5507 * config.host (msp*-*-elf): New.
5508 * config/msp430/: New port.
5509
9107b096
IS
55102013-08-18 Iain Sandoe <iain@codesourcery.com>
5511
5512 PR gcov-profile/58127
5513 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
5514 __thread var for emulated TLS.
5515 (__gcov_indirect_call_counters): Likewise.
5516
0f9bde1f 55172013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 5518 Catherine Moore <clm@codesourcery.com>
7d296953 5519 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
5520
5521 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
5522 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
5523 (CALL_STUB_NO_RET): Likewise.
5524 (CALL_STUB_RET): Likewise.
5525 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
5526 __mips16_ret call/return stub symbols.
5527 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
5528 to tmake_file.
5529
2dc14aac
MR
55302013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
5531
5532 * config.host <mips*-*-linux*>: Remove a stray comment.
5533
748d71f3
JH
55342013-08-10 Jan Hubicka <jh@suse.cz>
5535
5536 Work around binutils PR14342
5537 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
5538 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
5539 (L_gcov_indirect_call_profiler_v2): New.
5540
2fa3d31b
JH
55412013-08-06 Jan Hubicka <jh@suse.cz>
5542
5543 * libgcov.c (__gcov_indirect_call_callee,
5544 __gcov_indirect_call_counters): New global vars.
5545 (__gcov_indirect_call_profiler): replace by ...
5546 (__gcov_indirect_call_profiler_v2) ... this one.
5547
2077db1b
CT
55482013-08-06 Caroline Tice <cmtice@google.com>
5549
d0595b65 5550 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 5551 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
5552 * configure.ac: Add code to check/set enable_vtable_verify.
5553 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 5554 true.
d0595b65
CT
5555 * vtv_start_preinit.c: New file.
5556 * vtv_end_preinit.c: New file.
5557 * vtv_start.c: New file.
5558 * vtv_end.c: New file.
5559 * configure: Regenerated.
2077db1b 5560
46549c20
MK
55612013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
5562
5563 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
5564 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
5565 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
5566 GPL-3.0-with-GCC-exception.
5567
72be589b
MR
55682013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
5569
5570 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
5571 ISA and up.
5572
902a3faf
AK
55732013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5574
5575 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
5576 mapping for FPRs when creating the fallback framestate.
5577
02371798
GJL
55782013-07-19 Georg-Johann Lay <avr@gjlay.de>
5579
5580 PR target/57516
5581 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
5582 (__round_s2_const, __round_u2_const)
5583 (__round_s4_const, __round_u4_const, __round_x8):
5584 Saturate result if addition result cannot be represented.
5585
ab0e8379
MK
55862013-07-15 Matthias Klose <doko@ubuntu.com>
5587
5588 * libgcc2.c: Don't include <limits.h>.
5589
7da38058
JJ
55902013-07-09 Janis Johnson <janisjo@codesourcery.com>
5591
5592 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
5593
1f6eac90
JJ
55942013-07-06 Jakub Jelinek <jakub@redhat.com>
5595
5596 PR target/29776
5597 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
5598
4ea3d774
JJ
55992013-06-28 Jakub Jelinek <jakub@redhat.com>
5600
5601 PR middle-end/36041
5602 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
5603 Define.
5604 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
5605 instead of table lookups.
5606 (__popcountDI2): Likewise.
5607
9d2cdf25
CJW
56082013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
5609
5610 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
5611 correctly.
5612
fa1e55b0
JM
56132013-06-21 Joseph Myers <joseph@codesourcery.com>
5614
5615 PR other/53317
5616 * soft-fp/adddf3.c: Update from glibc.
5617 * soft-fp/addsf3.c: Likewise.
5618 * soft-fp/addtf3.c: Likewise.
5619 * soft-fp/divdf3.c: Likewise.
5620 * soft-fp/divsf3.c: Likewise.
5621 * soft-fp/divtf3.c: Likewise.
5622 * soft-fp/double.h: Likewise.
5623 * soft-fp/eqdf2.c: Likewise.
5624 * soft-fp/eqsf2.c: Likewise.
5625 * soft-fp/eqtf2.c: Likewise.
5626 * soft-fp/extenddftf2.c: Likewise.
5627 * soft-fp/extended.h: Likewise.
5628 * soft-fp/extendsfdf2.c: Likewise.
5629 * soft-fp/extendsftf2.c: Likewise.
5630 * soft-fp/fixdfdi.c: Likewise.
5631 * soft-fp/fixdfsi.c: Likewise.
5632 * soft-fp/fixsfdi.c: Likewise.
5633 * soft-fp/fixsfsi.c: Likewise.
5634 * soft-fp/fixtfdi.c: Likewise.
5635 * soft-fp/fixtfsi.c: Likewise.
5636 * soft-fp/fixunsdfdi.c: Likewise.
5637 * soft-fp/fixunsdfsi.c: Likewise.
5638 * soft-fp/fixunssfdi.c: Likewise.
5639 * soft-fp/fixunssfsi.c: Likewise.
5640 * soft-fp/fixunstfdi.c: Likewise.
5641 * soft-fp/fixunstfsi.c: Likewise.
5642 * soft-fp/floatdidf.c: Likewise.
5643 * soft-fp/floatdisf.c: Likewise.
5644 * soft-fp/floatditf.c: Likewise.
5645 * soft-fp/floatsidf.c: Likewise.
5646 * soft-fp/floatsisf.c: Likewise.
5647 * soft-fp/floatsitf.c: Likewise.
5648 * soft-fp/floatundidf.c: Likewise.
5649 * soft-fp/floatundisf.c: Likewise.
5650 * soft-fp/floatunditf.c: Likewise.
5651 * soft-fp/floatunsidf.c: Likewise.
5652 * soft-fp/floatunsisf.c: Likewise.
5653 * soft-fp/floatunsitf.c: Likewise.
5654 * soft-fp/gedf2.c: Likewise.
5655 * soft-fp/gesf2.c: Likewise.
5656 * soft-fp/getf2.c: Likewise.
5657 * soft-fp/ledf2.c: Likewise.
5658 * soft-fp/lesf2.c: Likewise.
5659 * soft-fp/letf2.c: Likewise.
5660 * soft-fp/muldf3.c: Likewise.
5661 * soft-fp/mulsf3.c: Likewise.
5662 * soft-fp/multf3.c: Likewise.
5663 * soft-fp/negdf2.c: Likewise.
5664 * soft-fp/negsf2.c: Likewise.
5665 * soft-fp/negtf2.c: Likewise.
5666 * soft-fp/op-1.h: Likewise.
5667 * soft-fp/op-2.h: Likewise.
5668 * soft-fp/op-4.h: Likewise.
5669 * soft-fp/op-8.h: Likewise.
5670 * soft-fp/op-common.h: Likewise.
5671 * soft-fp/quad.h: Likewise.
5672 * soft-fp/single.h: Likewise.
5673 * soft-fp/soft-fp.h: Likewise.
5674 * soft-fp/subdf3.c: Likewise.
5675 * soft-fp/subsf3.c: Likewise.
5676 * soft-fp/subtf3.c: Likewise.
5677 * soft-fp/truncdfsf2.c: Likewise.
5678 * soft-fp/trunctfdf2.c: Likewise.
5679 * soft-fp/trunctfsf2.c: Likewise.
5680 * soft-fp/unorddf2.c: Likewise.
5681 * soft-fp/unordsf2.c: Likewise.
5682 * soft-fp/unordtf2.c: Likewise.
5683 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
5684 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5685 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5686 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5687 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5688 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5689 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5690 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5691 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5692 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
5693 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
5694 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
5695
0de86a92
JU
56962013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
5697
5698 * config/mips/lib2funcs.c: New file.
5699 * config/mips/t-mips (LIB2ADD_ST): Add it.
5700
0d008882
OE
57012013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
5702
5703 PR target/6526
5704 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
5705 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
5706
776434d1
WL
57072013-06-08 Walter Lee <walt@tilera.com>
5708
5709 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
5710 Replace int64_t with long long. Add __extension__ where
5711 appropriate.
5712 * config/tilepro/atomic.c: Include config.h.
5713
6ab3ebb4
DR
57142013-06-06 Douglas B Rupp <rupp@adacore.com>
5715
5716 * config.host (arm-wrs-vxworks): Configure with other soft float.
5717
107eea2c
JU
57182013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
5719
5720 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
5721 (mips64r5900el-*-elf*): New configurations.
5722
5cc19c62
AM
57232013-06-04 Alan Modra <amodra@gmail.com>
5724
5725 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
5726
0f1d3965
YR
57272013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
5728
5729 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
5730
0ba045df
EB
57312013-05-28 Eric Botcazou <ebotcazou@adacore.com>
5732
5733 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
5734 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
5735 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
5736
49dcafd4
EB
57372013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5738
5739 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
5740 (powerpc-wrs-vxworks): Likewise.
5741
4fcb5d87
EB
57422013-05-22 Eric Botcazou <ebotcazou@adacore.com>
5743
5744 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
5745 signal frames as well.
5746 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
5747 STACK_BIAS to the CFA offset.
5748
0ec33224
RH
57492013-05-17 Richard Henderson <rth@redhat.com>
5750
5751 PR target/49146
5752 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
5753 (execute_cfa_program): Use it when storing to fs->regs.
5754
492a8029
KT
57552013-05-08 Kai Tietz <ktietz@redhat.com>
5756
5757 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
5758 (__deregister_frame_info): Likewise.
5759
701e2f0a
TS
57602013-05-06 Thomas Schwinge <thomas@codesourcery.com>
5761
e5123d08
TS
5762 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
5763 NaN's payload.
5764
701e2f0a
TS
5765 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
5766
b9a7eb5d
AM
57672013-04-25 Alan Modra <amodra@gmail.com>
5768
5769 * config.host: Match little-endian powerpc-linux.
5770
dfe192f5
YZ
57712013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
5772
5773 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
5774 as 'unsigned long long' instead of 'unsigned long'.
5775 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
5776 'signed long'.
5777
b6b9af2f
JB
57782013-04-10 Julian Brown <julian@codesourcery.com>
5779
5780 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
5781 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
5782 unsigned char/unsigned short.
5783 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
5784
ecabdd00
JDA
57852013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5786
5787 PR other/55274
5788 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
5789
34652576
MI
57902013-04-04 Meador Inge <meadori@codesourcery.com>
5791
5792 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
5793 computing the location of the link register.
5794 (aeabi_uldivmod): Ditto.
5795
e9fd8c19
KT
57962013-03-27 Kai Tietz <ktietz@redhat.com>
5797
5798 * config.host: Add support for cygwin x64 target.
5799 * configure: Regenerated.
5800
a6406324
WL
58012013-03-26 Walter Lee <walt@tilera.com>
5802
5803 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
5804 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
5805
55446c7e
KT
58062013-03-25 Kai Tietz <ktietz@redhat.com>
5807
5808 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
5809
d2ae19d9
RM
58102013-03-20 Robert Mason <rbmj@verizon.net>
5811
5812 * config/vxlib-tls.c (__gthread_get_tsd_data,)
5813 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
5814 (__gthread_leave_tsd_dtor_context): Add prototypes.
5815 (tls_delete_hook): Update.
5816
22c4c869
CM
58172013-03-20 Catherine Moore <clm@codesourcery.com>
5818 Joseph Myers <joseph@codesourcery.com>
5819 Chao-ying Fu <fu@mips.com>
5820
5821 * config/mips/mips16.S: Don't build for microMIPS.
5822 * config/mips/linux-unwind.h: Handle microMIPS frame.
5823 * config/mips/crtn.S (fini, init): New labels.
5824
fbd28bc3
JJ
58252013-03-14 Jakub Jelinek <jakub@redhat.com>
5826
5827 PR tree-optimization/53265
5828 * unwind-dw2.c (execute_cfa_program): Avoid
5829 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
5830 on targets with DWARF_FRAME_REGISTERS < 32.
5831
decc676e
OE
58322013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
5833
5834 PR target/49880
5835 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
5836 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
5837
84ea618a
ST
58382013-03-07 Sriraman Tallam <tmsriram@google.com>
5839
5840 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
5841 sandybridge processors.
5842
8f6d1c86
OE
58432013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
5844
5845 PR target/56529
5846 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
5847 inclusion list.
5848
ecdbd01a 58492013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
5850
5851 * config/microblaze/crti.S: Setup stack protection at entry
5852
0b4ce21b
GJL
58532013-03-04 Georg-Johann Lay <avr@gjlay.de>
5854
5855 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
5856 (__rotldi3): Shift bytewise if applicable.
5857
b7c3f1ca
JG
58582013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
5859
5860 * config/aarch64/sync-cache.c
5861 (__aarch64_sync_cache_range): Silence warnings.
5862
6d65e8f1
CM
58632013-02-25 Catherine Moore <clm@codesourcery.com>
5864
5865 Revert:
5866 2013-02-24 Catherine Moore <clm@codesourcery.com>
5867 Joseph Myers <joseph@codesourcery.com>
5868 Chao-ying Fu <fu@mips.com>
5869
5870 * config/mips/mips16.S: Don't build for microMIPS.
5871 * config/mips/linux-unwind.h: Handle microMIPS frame.
5872 * config/mips/crtn.S (fini, init): New labels.
5873
6941b508
CM
58742013-02-24 Catherine Moore <clm@codesourcery.com>
5875 Joseph Myers <joseph@codesourcery.com>
5876 Chao-ying Fu <fu@mips.com>
5877
5878 * config/mips/mips16.S: Don't build for microMIPS.
5879 * config/mips/linux-unwind.h: Handle microMIPS frame.
5880 * config/mips/crtn.S (fini, init): New labels.
5881
7c422dbb 58822012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 5883 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
5884 as dividend.
5885
110207ad
AM
58862013-02-16 Alan Modra <amodra@gmail.com>
5887
5888 PR target/55431
5889 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
5890 (ppc_fallback_frame_state): Always set up save locations for fp
5891 and altivec. Don't bother with non-callee-saved regs, r0-r13
5892 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
5893
e68a4ef6
GJL
58942013-02-12 Georg-Johann Lay <avr@gjlay.de>
5895
5896 PR target/54222
5897 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
5898 _ssmulHA, _ssmulSA.
5899 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
5900 _ssmulha3, _usmulusa3, _ssmulsa3.
5901 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
5902 (__muldi3): XCALL __muldi3_6 instead of rcall.
5903 (__umulsidi3, __mulsidi3): New functions.
5904 (do_prologue_saves, do_epilogue_restores): New .macros.
5905 (__divdi3_moddi3): Use them.
5906 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
5907 (__usmulusa3, __ssmulsa3): New functions.
5908
6c59ffd1
IS
59092013-02-11 Iain Sandoe <iain@codesourcery.com>
5910 Jack Howarth <howarth@bromo.med.uc.edu>
5911 Patrick Marlier <patrick.marlier@gmail.com>
5912
5913 PR libitm/55693
5914 * config/darwin-crt-tm.c: Remove dummy functions hack.
5915
85d768f3
GJL
59162013-02-08 Georg-Johann Lay <avr@gjlay.de>
5917
5918 PR target/54222
5919 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
5920 * config/avr/lib2-object.mk: New iterator to build objects from it.
5921 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
5922 lib2funcs.c.
5923 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
5924 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
5925 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
5926 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
5927 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
5928 * config/avr/lib1funcs-fixed.S: Implement them.
5929
5d5bf775
RS
59302013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
5931
5932 Update copyright years.
5933
99113dff
DE
59342013-02-01 David Edelsohn <dje.gcc@gmail.com>
5935
5936 PR target/54601
5937 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
5938 Add crtcxa to extra_parts.
5939 * config/rs6000/exit.h: New file.
5940 * config/rs6000/cxa_atexit.c: New file.
5941 * config/rs6000/cxa_finalize.c: New file.
5942 * config/rs6000/crtcxa.c: New file.
5943 * config/rs6000/t-aix-cxa: New file.
5944 * config/rs6000/libgcc-aix-cxa.ver: New file.
5945
dbdbd982
NC
59462013-01-31 Nick Clifton <nickc@redhat.com>
5947
5948 * config/v850/lib1funcs.S: Add support for e3v5 architecture
5949 variant.
5950
5893f158
GJL
59512013-01-29 Georg-Johann Lay <avr@gjlay.de>
5952
5953 PR target/54222
5954 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
5955 _mulQQ, _mulHQ, _mulHA, _mulSA,
5956 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
5957 _divQQ, _divHQ, _divHA, _divSA,
5958 _divUQQ, _divUHQ, _divUHA, _divUSA.
5959
ecdbd01a 59602013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 5961
dbdbd982 5962 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
5963 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
5964 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
5965 to exclude functions from being built with libgcc.c and use
5966 the microblaze assembly.
5967
ecdbd01a 59682013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
5969
5970 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
5971 extra_parts.
5972
922c57d1
YZ
59732013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
5974
5975 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
5976 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
5977 __UINTPTR_TYPE__; also cast 'base' to the same type before the
5978 alignment operation.
5979
e0f8b6a0
SN
59802013-01-15 Sofiane Naci <sofiane.naci@arm.com>
5981
5982 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
5983 loop start address for cache clearing.
5984
00892272
GJL
59852013-01-14 Georg-Johann Lay <avr@gjlay.de>
5986
5987 * config/avr/lib1funcs.S: Remove trailing blanks.
5988 * config/avr/lib1funcs-fixed.S: Ditto.
5989
e59ec5fd
GJL
59902013-01-14 Georg-Johann Lay <avr@gjlay.de>
5991
5992 * config/avr/avr-lib.h: Add GPL copyright notice.
5993
3ffc1958
GJL
59942013-01-14 Georg-Johann Lay <avr@gjlay.de>
5995
5996 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
5997 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
5998 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
5999 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
6000
25c210f9
MK
60012013-01-07 Mark Kettenis <kettenis@openbsd.org>
6002
6003 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
6004 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 6005
db59befb
NC
60062013-01-04 Nick Clifton <nickc@redhat.com>
6007
6008 * config/v850/lib1funcs.S: Only provide CALLT support functions if
6009 the CALLT instruction is supported.
6010
5aa12dbf
JW
60112012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
6012
6013 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
6014 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
6015
65f14117
JT
60162012-12-13 John Tytgat <John@bass-software.com>
6017
6018 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
6019 is 25.
6020
ee3ae4f7
JJ
60212012-12-12 Jakub Jelinek <jakub@redhat.com>
6022
6023 PR libgcc/55451
6024 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
6025 undefined signed overflows.
6026
2fcfba3d
UB
60272012-12-09 Uros Bizjak <ubizjak@gmail.com>
6028
6029 PR target/55344
6030 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
6031
4f2b3dc2
UB
60322012-12-06 Uros Bizjak <ubizjak@gmail.com>
6033
6034 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
6035 (FP_TRAPPING_EXCEPTIONS): Define.
6036 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
6037 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
6038
066161a2
RH
60392012-12-04 Richard Henderson <rth@redhat.com>
6040
6041 PR bootstrap/55571
6042 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
6043
7d296953 60442012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 6045
4f2b3dc2 6046 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
6047 (FP_EX_SHIFT): Define.
6048 (FP_TRAPPING_EXCEPTIONS): Define.
6049
7d296953 60502012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
6051
6052 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
6053 (FP_ROUNDMODE): Use FP_RND_MASK.
6054 * config/aarch64/sfp-exceptions.c: New.
6055 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6056 Use __sfp_handle_exceptions.
6057
5005fe22
RE
60582012-12-04 Richard Earnshaw <rearnsha@arm.com>
6059
6060 * config.host: (arm*-*-freebsd*): Remove.
6061 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
6062 (arm*-*-elf*): Remove.
6063 (arm*-*-wince-pe*): Remove.
6064 * arm/unwind-arm.c (struct fpa_reg): Delete.
6065 (struct fpa_regs): Delete.
6066 (phase1_vrs): Remove fpa element.
6067 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
6068 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
6069 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
6070 * ieee754-sf.S (floatundisf): Remove FPA support.
6071 (floatdisf): Likewise.
6072 * ieee75f-df.S (floatundidf): Likewise.
6073 (floatdidf): Likewise.
6074
e5a81c8e
KT
60752012-11-29 Kai Tietz <ktietz@redhat.com>
6076
6077 PR target/55445
6078 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
6079 * unwind-generic.h: Likewise.
6080 * unwind-seh.c: Likewise.
6081
f4919e4a
RH
60822012-11-28 Richard Henderson <rth@redhat.com>
6083
6084 PR libgcc/48076
6085 * emutls.c (__emutls_get_address): Avoid race condition between
6086 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 6087
e13d9d5a
GJL
60882012-11-22 Georg-Johann Lay <avr@gjlay.de>
6089
6090 Adjust decimal point of signed accum mode to GCC default.
6091
6092 PR target/54222
6093 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
6094 _divqq_helper.
6095 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
6096 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
6097 (__mulha3, __mulsa3)
6098 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
6099 decimal point of signed accum types.
6100
e13d9d5a
GJL
6101 (__mulusa3_round): New function.
6102 (__mulusa3): Use it.
6103 (__divqq_helper): New function.
6104 (__udivuqq3): Use it.
6105
1b845c6e
JJ
61062012-11-20 Jakub Jelinek <jakub@redhat.com>
6107
6108 PR bootstrap/55370
6109 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
6110
822a258a
TJ
61112012-11-18 Teresa Johnson <tejohnson@google.com>
6112
6113 PR bootstrap/55051
6114 * libgcov.c (gcov_exit): Remove merged program summary
6115 comparison unless !GCOV_LOCKED.
6116
7d296953 61172012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
6118
6119 * soft-fp: Updated from glibc upstream.
6120
e808687a
ILT
61212012-11-06 Ian Lance Taylor <iant@google.com>
6122
6123 * generic-morestack.c (__generic_morestack): Align the returned
6124 stack pointer to a 32 byte boundary.
6125 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
6126 increment the return address until we have decided that we don't
6127 have a varargs function.
6128 (__morestack) [32-bit]: Align stack correctly when calling C
6129 functions.
6130 (__morestack) [64-bit]: Likewise.
6131
460277e0
TS
61322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6133
6134 * configure: Regenerate.
6135
73edb277
UB
61362012-11-02 Uros Bizjak <ubizjak@gmail.com>
6137
6138 PR target/55175
6139 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
6140 * config/i386/sfp-machine.h: Guard exception handling
6141 code with _SOFT_FLOAT.
6142 * config/i386/32/sfp-machine.h: Guard rounding handling
6143 code with _SOFT_FLOAT.
6144 * config/i386/64/sfp-machine.h: Ditto.
6145
c1d4fa04
JS
61462012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
6147
6148 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
6149 as extra_parts.
6150
eff6ca85
UB
61512012-10-26 Uros Bizjak <ubizjak@gmail.com>
6152
6153 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
6154 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
6155 when appropriate. Correct structure element types.
6156 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
6157 -minline-all-stringops from compile flags.
6158
7d296953 61592012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
6160
6161 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
6162
7d296953 61632012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 6164
eff6ca85 6165 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 6166
6f288860
SH
61672012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
6168
6169 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
6170 tmake_file.
6171
1e3d5096
IB
61722012-10-23 Ian Bolton <ian.bolton@arm.com>
6173 Jim MacArthur <jim.macarthur@arm.com>
6174 Marcus Shawcroft <marcus.shawcroft@arm.com>
6175 Nigel Stephens <nigel.stephens@arm.com>
6176 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6177 Richard Earnshaw <rearnsha@arm.com>
6178 Sofiane Naci <sofiane.naci@arm.com>
6179 Stephen Thomas <stephen.thomas@arm.com>
6180 Tejas Belagod <tejas.belagod@arm.com>
6181 Yufeng Zhang <yufeng.zhang@arm.com>
6182
6183 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
6184 * config/aarch64/crti.S: New file.
6185 * config/aarch64/crtn.S: New file.
6186 * config/aarch64/linux-unwind.h: New file.
6187 * config/aarch64/sfp-machine.h: New file.
6188 * config/aarch64/sync-cache.c: New file.
6189 * config/aarch64/t-aarch64: New file.
6190 * config/aarch64/t-softfp: New file.
6191
8a740f07
HPN
61922012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
6193
6194 * config/mmix/crti.S: Mark program and data addresses using PRELD.
6195 Remove typo'd and unnecessary alignment-LOC for .data. Remove
6196 no-longer-needed LDBU insns.
6197
7d296953 61982012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
6199
6200 * config.host
6201 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
6202 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
6203
595fefee
MGD
62042012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6205
6206 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
6207
9945a876
MK
62082012-10-15 Matthias Klose <doko@ubuntu.com>
6209
6210 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
6211
1183dc2c
PC
62122012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
6213
6214 * configure: Regenerate.
6215 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
6216
945a9c1f
UB
62172012-10-10 Uros Bizjak <ubizjak@gmail.com>
6218
6219 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6220 instructions for 64bit targets only.
6221
fb8bf47a
UB
62222012-10-10 Uros Bizjak <ubizjak@gmail.com>
6223
6224 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6225 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
6226 * config/i386/32/sfp-machine.h: ... here.
6227 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
6228 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
6229 New defines.
6230
acb72498
MK
62312012-10-07 Matthias Klose <doko@ubuntu.com>
6232
6233 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
6234 as unused.
6235 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
6236
8eaee0f0
MK
62372012-10-06 Mark Kettenis <kettenis@openbsd.org>
6238
6239 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
6240 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
6241 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
6242 (ElfW): Likewise.
6243
5e3e4fe8
JW
62442012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
6245
6246 PR other/53889
6247 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6248 Fix parameter names.
6249
86086376
OE
62502012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
6251
6252 PR target/33135
6253 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
6254 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
6255 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
6256
9597375a
OE
62572012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
6258
6259 PR target/50457
6260 * config/sh/linux-atomic.S: Delete.
6261 * config/sh/linux-atomic.c: New.
6262 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
6263 linux-atomic.c. Add cflags to disable warnings.
6264
1504e3e1
JW
62652012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
6266
6267 PR other/53889
6268 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
6269 function.
6270 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
6271 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
6272 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
6273 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
6274 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
6275 Likewise.
1504e3e1
JW
6276 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
6277 Likewise.
6278 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
6279 Likewise.
6280 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
6281 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
6282
17f293b0
MK
62832012-09-19 Mark Kettenis <kettenis@openbsd.org>
6284
9597375a
OE
6285 * config.host (hppa-*-openbsd*): New target.
6286 * config/pa/t-openbsd: New file.
17f293b0 6287
51526856
GJL
62882012-09-15 Georg-Johann Lay <avr@gjlay.de>
6289
6290 PR target/54222
6291 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
6292 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
6293 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
6294 (__divsa3): Use __negsi2 to negate r_quoL.
6295 * config/avr/lib1funcs.S (FALIAS): New macro.
6296 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
6297 (__negsi2): ...this new function.
6298 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
6299 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
6300 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
6301 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
6302 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
6303 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
6304
aadb5b43
OE
63052012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
6306
6307 PR target/54089
6308 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
6309 (lshrsi3): Reimplement as lshrsi3_r0.
6310
d5d66749
AS
63112012-09-10 Andreas Schwab <schwab@linux-m68k.org>
6312
6313 PR target/46191
6314 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
6315 of libgcc.a.
6316
c6c36e73
TJ
63172012-09-07 Teresa Johnson <tejohnson@google.com>
6318
9597375a 6319 PR gcov-profile/54487
c6c36e73 6320 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 6321 differences.
c6c36e73 6322
b588ae30
GJL
63232012-09-05 Georg-Johann Lay <avr@gjlay.de>
6324
6325 PR target/54461
6326 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
6327 not configured --with-avrlibc=no.
6328 * config/avr/t-avrlibc: New file.
6329 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
6330 (DPBIT_FUNCS): Ditto.
6331 (TPBIT_FUNCS): Ditto.
6332
abd16fb1
TJ
63332012-09-04 Teresa Johnson <tejohnson@google.com>
6334
6335 * libgcov.c (struct gcov_summary_buffer): New structure.
6336 (gcov_histogram_insert): New function.
6337 (gcov_compute_histogram): Ditto.
6338 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
6339 histograms during summary merging.
6340
613061fd
MK
63412012-09-01 Mark Kettenis <kettenis@openbsd.org>
6342
6343 * config.host (x86_64-*-openbsd*): New target.
73edb277 6344
867a8345
CLT
63452012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
6346
6347 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
6348 attribute.
6349
4aeaaca3
GJL
63502012-08-24 Georg-Johann Lay <avr@gjlay.de>
6351
6352 PR target/54222
6353 * config/avr/t-avr (conv_X): Rename to func_X.
6354
e55e4056
GJL
63552012-08-24 Georg-Johann Lay <avr@gjlay.de>
6356
6357 PR target/54222
6358 * config/avr/lib1funcs-fixed.S: New file.
6359 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
6360 after they are used.
6361 (neg2, neg4): New macros.
6362 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
6363 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
6364 (__umulhisi3): Speed up MUL variant if there is enough flash.
6365 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
6366 avr-modes.def.
6367 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
6368 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
6369 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
6370 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
6371 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
6372 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
6373 (LIB2FUNCS_EXCLUDE): Add supported functions.
6374
a147b6d2
GJL
63752012-08-22 Georg-Johann Lay <avr@gjlay.de>
6376
6377 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
6378 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
6379 libgcc-s-objects.
6380 * fixed-obj.mk: Only expand dependency if $o is not in
6381 LIB2FUNCS_EXCLUDE.
6382
c637141a
L
63832012-08-22 H.J. Lu <hongjiu.lu@intel.com>
6384
6385 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
6386
130e00bd
JM
63872012-08-22 Joseph Myers <joseph@codesourcery.com>
6388
6389 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
6390 depend on --enable-shared.
6391 ($(lib1asmfuncs-o)): Use %.vis files independent of
6392 --enable-shared.
6393 * static-object.mk ($(base)$(objext), $(base).vis)
6394 ($(base)_s$(objext)): Use same rules for visibility handling as in
6395 shared-object.mk.
6396
4b1b3788
ILT
63972012-08-21 Ian Lance Taylor <iant@google.com>
6398
6399 * config/i386/morestack.S (__morestack_non_split): Increase amount
6400 of space allocated for non-split code stack.
6401
d2468141
JM
64022012-08-19 Joseph Myers <joseph@codesourcery.com>
6403
6404 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
6405 even if inhibit_libc.
6406
a508e1a8
JB
64072012-08-17 Julian Brown <julian@codesourcery.com>
6408
6409 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
6410 -fexceptions -fnon-call-exceptions if not defined.
6411 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
6412 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
6413
5615a07d
AS
64142012-08-17 Andreas Schwab <schwab@linux-m68k.org>
6415
6416 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
6417 type.
6418
138f5acd
DE
64192012-08-16 David Edelsohn <dje.gcc@gmail.com>
6420
6421 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
6422 rs6000/t-slibgcc-aix.
6423
18efc0dd
SB
64242012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6425
6426 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
6427
6b39bc38
SB
64282012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
6429
6430 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
6431
cd25dea0
L
64322012-08-03 H.J. Lu <hongjiu.lu@intel.com>
6433
6434 PR driver/54171
6435 * Makefile.in (version): Replace top_srcdir with srcdir.
6436
a3dda30b
JY
64372012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
6438
6439 * Makefile.in (version): set to BASE-VER file from gcc directory.
6440
d04aacfc
NC
64412012-08-01 Nick Clifton <nickc@redhat.com>
6442
6443 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
6444 Implements __clrsb for an HImode argument.
6445
0d13c974
NC
64462012-07-31 Nick Clifton <nickc@redhat.com>
6447
6448 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
6449 Implements __clrsb for an HImode argument.
6450 * config/stormy16/clrsbhi2.c: New file:
6451 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
6452
efbb59b2
SB
64532012-07-22 Steven Bosscher <steven@gcc.gnu.org>
6454
6455 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
6456
bf1431e3
TG
64572012-07-19 Tristan Gingold <gingold@adacore.com>
6458 Richard Henderson <rth@redhat.com>
6459
6460 * unwind-seh.c: New file.
6461 * unwind-generic.h: Include windows.h for SEH.
6462 (_Unwind_Exception): Use 6 private fields for SEH.
6463 (_GCC_specific_handler): Declare.
6464 * unwind-c.c (__gcc_personality_seh0): New function.
6465 Adjust for SEH.
6466 * config/i386/libgcc-cygming.ver: New file.
6467 * config/i386/t-seh-eh: New file.
6468 * config.host (x86_64-*-mingw*): Default to seh.
6469
659140c8
SB
64702012-07-14 Steven Bosscher <steven@gcc.gnu.org>
6471
6472 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
6473
a20d08fd
UB
64742012-06-17 Uros Bizjak <ubizjak@gmail.com>
6475
6476 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
6477 __builtin_expect when checking for exceptions.
6478 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
6479
79261115
UB
64802012-06-13 Uros Bizjak <ubizjak@gmail.com>
6481
4a172156
UB
6482 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
6483 function declaration.
6484 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6485 (FP_RND_MASK): New.
6486 * config/ia64/sfp-exceptions.c: New.
6487 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 6488
bb5c97d4
UB
64892012-06-13 Uros Bizjak <ubizjak@gmail.com>
6490
6491 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
6492 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
6493 * config/i386/64/sfp-machine: ... (delete here) ...
6494 * config/i386/sfp-machine.h: ... to here.
6495 (FP_EX_MASK): Remove.
6496 (FP_RND_MASK): New.
6497 (FP_INIT_ROUNDMODE): Declare asm as volatile.
6498
91fe5efb
ST
64992012-06-11 Sriraman Tallam <tmsriram@google.com>
6500
6501 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
6502 * config/i386/libgcc-sol2.ver: Ditto.
6503 * config/i386/libgcc-glibc.ver: Ditto.
6504
67a218c5
RM
65052012-06-11 Roland McGrath <mcgrathr@google.com>
6506
6507 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
6508 If __GLIBC__ is defined, refer to __pthread_key_create instead of
6509 pthread_cancel.
6510
492fbea1
UB
65112012-06-09 Uros Bizjak <ubizjak@gmail.com>
6512
6513 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
6514 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
6515 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
6516 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
6517 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
6518 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
6519 * config/i386/64/sfp-machine: ... (delete here) ...
6520 * config/i386/sfp-machine.h: ... to here.
6521 (FP_EX_MASK): New.
6522 (__sfp_handle_exceptions): New function declaration.
6523 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
6524 * config/i386/sfp-exceptions.c: New.
6525 * config/i386/t-softfp: New.
6526 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
6527 i386/t-softfp to tmake_file.
6528
7b4cf266
DM
65292012-06-03 David S. Miller <davem@davemloft.net>
6530
6531 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
6532 change.
6533
0de0d5c6
DM
65342012-05-31 David S. Miller <davem@davemloft.net>
6535
6536 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
6537 multiply and divide instructions on 32-bit when V9.
6538 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
6539
d8c9d391
JM
65402012-05-29 Joseph Myers <joseph@codesourcery.com>
6541
6542 * config/arm/ieee754-df.S: Fix typos.
6543 * config/arm/ieee754-sf.S: Fix typos.
6544 * config/c6x/libunwind.S: Fix typos.
6545 * config/epiphany/udivsi3-float.c: Fix typos.
6546 * config/microblaze/muldi3_hard.S: Fix typos.
6547 * config/picochip/adddi3.S: Fix typos.
6548 * config/picochip/ashlsi3.S: Fix typos.
6549 * config/picochip/ashrsi3.S: Fix typos.
6550 * config/picochip/clzsi2.S: Fix typos.
6551 * config/picochip/cmpsi2.S: Fix typos.
6552 * config/picochip/divmod15.S: Fix typos.
6553 * config/picochip/divmodhi4.S: Fix typos.
6554 * config/picochip/divmodsi4.S: Fix typos.
6555 * config/picochip/longjmp.S: Fix typos.
6556 * config/picochip/lshrsi3.S: Fix typos.
6557 * config/picochip/parityhi2.S: Fix typos.
6558 * config/picochip/popcounthi2.S: Fix typos.
6559 * config/picochip/setjmp.S: Fix typos.
6560 * config/picochip/subdi3.S: Fix typos.
6561 * config/picochip/ucmpsi2.S: Fix typos.
6562 * config/picochip/udivmodhi4.S: Fix typos.
6563 * config/picochip/udivmodsi4.S: Fix typos.
6564 * config/spu/divv2df3.c: Fix typos.
6565 * config/spu/mfc_multi_tag_release.c: Fix typos.
6566 * config/spu/mfc_tag_release.c: Fix typos.
6567 * configure.ac: Fix typos.
6568 * configure: Regenerate.
6569
31a18a7e
ILT
65702012-05-25 Ian Lance Taylor <iant@google.com>
6571
6572 * config/i386/morestack.S (__morestack_non_split): Check whether
6573 caller is varargs and needs %bp to hold the stack frame on return.
6574
c5768510
OH
65752012-05-25 Olivier Hainque <hainque@adacore.com>
6576
6577 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
6578 sequence in the non pic case on VxWorks.
6579
7c7c339b
OH
65802012-05-24 Olivier Hainque <hainque@adacore.com>
6581
73fb7630 6582 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
6583 "install-leaf" to "install".
6584
fdc1b7d3
OH
65852012-05-24 Olivier Hainque <hainque@adacore.com>
6586
6587 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
6588 Use a separate command for stamp removals.
6589
07ba94b9
AP
65902012-05-21 Andrew Pinski <apinski@cavium.com>
6591
6592 PR bootstrap/53183
6593 * configure.ac: Define the default includes to being none.
6594 * configure: Regenerate.
6595
4677d2eb
OH
65962012-05-16 Olivier Hainque <hainque@adacore.com>
6597
6598 * Makefile.in (install-unwind_h): Rename into ...
6599 (install-unwind_h-forbuild): New target.
6600 (all): Use it instead of the former install-unwind_h.
6601 (install-unwind_h): Reinstate, copy to user install destination
6602 for include files, not to the internal gcc object directory one.
6603 (install-leaf): Depend on it.
6604
7d67c380
OH
66052012-05-15 Olivier Hainque <hainque@adacore.com>
6606
6607 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
6608 register numbers. LR_REGNO replaces R_LR.
6609 (ucontext_for): New, helper for ...
6610 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
6611 and 5.3 of ...
6612 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
6613
aca06c90
RO
66142012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6615
6616 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
6617 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
6618 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
6619 i386/t-cpuinfo ...
6620 (i[34567]86-*-*, x86_64-*-*): ... here.
6621
6622 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
6623 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
6624
6625 * config/i386/i386-cpuinfo.c: Rename to ...
6626 * config/i386/cpuinfo.c: ... this.
6627 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
6628
6629 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
6630 (libgcc_cv_init_priority): New test.
6631 * configure: Regenerate.
6632 * config.in: New file.
6633 * Makefile.in (clean): Rename config.h to auto-target.h.
6634 (config.h): Likewise.
6635 (stamp-h): Likewise.
6636
6637 * config/i386/cpuinfo.c (auto-target.h): Include.
6638 (CONSTRUCTOR_PRIORITY): Define.
6639 (__cpu_indicator_init): Use it.
6640
0d03ac1b
L
66412012-05-09 H.J. Lu <hongjiu.lu@intel.com>
6642
6643 * longlong.h: Use a URL instead of an FSF postal address.
6644 Replace spaces with tab.
6645
4a172156 66462012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
6647
6648 * libgcov.c (gcov_clear, __gcov_reset): New functions.
6649 (__gcov_dump): Ditto.
6650 (gcov_dump_complete): New global variable.
6651 (gcov_exit): Export hidden to enable use in L_gcov_dump.
6652 (__gcov_flush): Outline functionality now in gcov_clear.
6653 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
6654
e4bb767e
AJ
66552012-04-28 Aurelien Jarno <aurelien@aurel32.net>
6656
31a18a7e
ILT
6657 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
6658 (mips*-*-linux*): Include mips/t-tpbit when long double is
6659 16 bytes long.
e4bb767e 6660
5ddecff9
ST
66612012-04-25 Sriraman Tallam <tmsriram@google.com>
6662
6663 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
6664 (get_available_features): New argument. Check for AVX2.
6665 (__cpu_indicator_init): Modify call to get_available_features.
6666
b427dd7a
AM
66672012-04-25 Alan Modra <amodra@gmail.com>
6668
6669 * config/rs6000/crtsavevr.S: New file.
6670 * config/rs6000/crtrestvr.S: New file.
6671 * config/rs6000/t-savresfgpr: Build the above.
6672 * config/rs6000/t-netbsd: Likewise.
6673
ad491329
ST
66742012-04-24 Sriraman Tallam <tmsriram@google.com>
6675
6676 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
6677
792317cc
ST
66782012-04-24 Sriraman Tallam <tmsriram@google.com>
6679
6680 * libgcc/config/i386/i386-cpuinfo.c: New file.
6681 * libgcc/config/i386/t-cpuinfo: New file.
6682 * libgcc/config.host: Include t-cpuinfo.
6683 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
6684
e1be98a4
CF
66852012-04-24 Chao-ying Fu <fu@mips.com>
6686
6687 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
6688
1bde7dab
TS
66892012-04-20 Thomas Schwinge <thomas@codesourcery.com>
6690
6691 struct siginfo vs. siginfo_t
6692
6693 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
6694 siginfo_t instead of struct siginfo.
6695 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
6696 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
6697 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
6698 (ia64_handle_unwabi): Likewise.
6699 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
6700 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
6701 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
6702 (sh_fallback_frame_state): Likewise.
6703 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
6704 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
6705
24590f66
L
67062012-04-02 H.J. Lu <hongjiu.lu@intel.com>
6707
6708 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
6709 system call number.
6710
9a9dcce8
EB
67112012-03-31 Eric Botcazou <ebotcazou@adacore.com>
6712
6713 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
6714 if it hasn't been previously saved.
6715
6401aaf5
L
67162012-03-29 H.J. Lu <hongjiu.lu@intel.com>
6717
6718 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
6719 only for glibc.
6720
7fd6378e
GJL
67212012-03-28 Georg-Johann Lay <avr@gjlay.de>
6722
6723 PR target/52737
6724 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
6725 instead of __AVR_HAVE_8BIT_SP__.
6726
9e916de7
TG
67272012-03-26 Tristan Gingold <gingold@adacore.com>
6728
6729 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
6730 (unw_table_entry): Use unw_word instead of unsigned long.
6731 (_Unwind_FindTableEntry): Likewise.
6732 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
6733 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
6734 (_Unwind_FindTableEntry): Likewise.
6735 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
6736 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
6737 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
6738 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
6739 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
6740 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
6741 (uw_init_context_1, uw_install_context): Likewise.
6742 (unw_word): Move to unwind-ia64.h
6743
4b12e93d
TG
67442012-03-26 Tristan Gingold <gingold@adacore.com>
6745
6746 * config/vms/vms-ucrt0.c: Update copyright years.
6747 Add a sanity check.
6748 (___gcc_main_flags): Declare.
6749 (__main): Check flags to remap argv and exit code.
6750 * config.host (*-*-*vms*): Adjust extra_parts.
6751 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
6752 (crt0.o): Add.
6753
06ea7371
RE
67542012-03-22 Richard Earnshaw <rearnsha@arm.com>
6755
6756 * arm/lib1funcs.asm (ctzsi2): New function.
6757 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
6758 * arm/t-linux (LIB1ASMFUNCS): Likewise.
6759 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
6760 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
6761 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
6762 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
6763
d82ad50d
AT
67642012-03-21 Andreas Tobler <andreast@fgznet.ch>
6765
6766 * config.host: Add bits to support powerpc64-*-freebsd*.
6767 * config/rs6000/freebsd-unwind.h: New file.
6768 * config/rs6000/t-freebsd64: New file.
6769
b260a8c0
RG
67702012-03-20 Richard Guenther <rguenther@suse.de>
6771
6772 PR gcov-profile/52627
6773 * libgcov.c (init_mx): Fix mutex name.
6774
86286a8a
TG
67752012-03-16 Tristan Gingold <gingold@adacore.com>
6776
6777 * config/ia64/vms-unwind.h: Remove ulong (and replace
6778 it by unw_reg where used). Define unw_reg with __int64.
6779
7888f266
RO
67802012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6781
6782 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
6783 Solaris 8 handling.
6784 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
6785 Solaris 8 handling.
6786 (sparc_is_sighandler): Likewise.
6787
f155bc64
L
67882012-03-13 H.J. Lu <hongjiu.lu@intel.com>
6789
6790 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
6791 <= saved reg size.
6792
d47657bd
RO
67932012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6794
6795 * config/arm/crtn.S: Fix typo.
6796
5bef73a1
RG
67972012-03-13 Richard Guenther <rguenther@suse.de>
6798
6799 * libgcov.c: Remove stdio.h include and NULL un-define.
6800
9c4271f3
RG
68012012-03-13 Richard Guenther <rguenther@suse.de>
6802
6803 PR target/52569
6804 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
6805
c6d10e7c
RG
68062012-03-13 Richard Guenther <rguenther@suse.de>
6807
6808 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
6809
074a385f
RG
68102012-03-13 Richard Guenther <rguenther@suse.de>
6811
6812 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
6813 and __gthread_mutex_init_function definitions.
6814
c4bc5c25
RO
68152012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6816
6817 * config.host (mips*-*-openbsd*): Remove.
6818
5c30094f
RO
68192012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6820
6821 * config.host: Remove alpha*-dec-osf5.1* handling.
6822 * config/alpha/gthr-posix.c: Remove.
6823 * config/alpha/libgcc-osf5.ver: Remove.
6824 * config/alpha/osf5-unwind.h: Remove.
6825 * config/alpha/t-osf-pthread: Remove.
6826 * config/alpha/t-slibgcc-osf: Remove.
6827 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
6828 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
6829 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
6830 * mkmap-flat.awk: Remove osf_export handling.
6831
33e3e24d
RG
68322012-03-12 Richard Guenther <rguenther@suse.de>
6833
6834 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
6835 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6836 (__gthread_mutex_init_function): New function.
6837 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
6838
6839 PR gcov/49484
6840 * libgcov.c: Include gthr.h.
6841 (__gcov_flush_mx): New global variable.
6842 (init_mx, init_mx_once): New functions.
6843 (__gcov_flush): Protect self with a mutex.
6844 (__gcov_fork): Re-initialize mutex after forking.
6845 * unwind-dw2-fde.c: Change condition under which to use
6846 __GTHREAD_MUTEX_INIT_FUNCTION.
6847
d8aba32a
TG
68482012-03-12 Tristan Gingold <gingold@adacore.com>
6849
6850 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
6851 * config/ia64/t-vms: Likewise.
6852
75ffafdc
MH
68532012-03-11 Michael Hope <michael.hope@linaro.org>
6854
4a172156
UB
6855 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
6856 for Thumb-2.
75ffafdc 6857
ef6c2c53
WL
68582012-03-07 Walter Lee <walt@tilera.com>
6859
6860 * config/tilepro/atomic.c: Rename "atomic_" prefix to
6861 "arch_atomic_".
6862 (atomic_xor): Rename and move definition to
6863 config/tilepro/atomic.h.
6864 (atomic_nand): Ditto.
6865 * config/tilepro/atomic.h: Rename "atomic_" prefix to
6866 "arch_atomic_".
6867 (arch_atomic_xor): Move from config/tilepro/atomic.c.
6868 (arch_atomic_nand): Ditto.
6869
4e30d980
GJL
68702012-03-07 Georg-Johann Lay <avr@gjlay.de>
6871
6872 PR target/52507
6873 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
6874
61108225
GJL
68752012-03-07 Georg-Johann Lay <avr@gjlay.de>
6876
6877 PR target/52505
6878 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
6879 from RAM.
6880
b30e10ab
GJL
68812012-03-07 Georg-Johann Lay <avr@gjlay.de>
6882
6883 PR target/52461
6884 PR target/52508
6885 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
6886 if RAMPZ affects reading from RAM.
6887 (__tablejump_elpm__): Ditto.
6888 (.xload): Ditto.
6889 (__movmemx_hi): Ditto.
6890 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
6891 (__do_global_dtors): Ditto.
6892 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
6893 (__movmemx_hi): Ditto.
6894
8993fde4
RH
68952012-03-05 Richard Henderson <rth@redhat.com>
6896
6897 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
6898 [ARM] (count_trailing_zeros): Use the builtin.
6899
b7633ee3
KT
69002012-03-01 Kai Tietz <ktietz@redhat.com>
6901
6902 * soft-fp: Imported from glibc upstream.
6903
fbd3340c
KT
69042012-02-28 Kai Tietz <ktietz@redhat.com>
6905
6906 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
6907 for mingw-targets as attribute gcc_struct.
6908
e9e053eb
ILT
69092012-02-28 Ian Lance Taylor <iant@google.com>
6910
6911 * generic-morestack.c (__splitstack_releasecontext): Correct call
6912 to __morestack_release_segments.
6913
d80c632e
ST
69142012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6915
6916 PR target/52390
6917 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
6918 for __linux__ when removing signals from __morestack_fullmask.
6919
0253a8b1
GJL
69202012-02-23 Georg-Johann Lay <avr@gjlay.de>
6921
6922 PR target/52261
6923 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
6924
e10e461e
UW
69252012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6926
6927 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
6928 instead of HAVE_INITFINI_ARRAY.
6929 * config/ia64/crtend.S: Likewise.
6930
0c0c6398
KT
69312012-02-20 Kai Tietz <ktietz@redhat.com>
6932
d7470374
KT
6933 PR libstdc++/52300
6934 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
6935
0c0c6398
KT
6936 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
6937 to w32-unwind.h header.
6938
78c27266
RS
69392012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6940
6941 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
6942 (mips*-*-linux*): Remove t-slibgcc-libgcc.
6943 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
6944 * config/mips/mips16.S (__mips16_rdhwr): Delete.
6945
5adeb246
RS
69462012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
6947
6948 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
6949
672ed313
IS
69502012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6951
6952 PR libitm/52220
6953 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 6954
e948a1fb
IS
69552012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6956 Patrick Marlier <patrick.marlier@gmail.com>
6957
6958 PR libitm/52220
6959 * config/darwin-crt-tm.c: Generate dummy functions.
6960
6017aed3
IS
69612012-02-15 Iain Sandoe <iains@gcc.gnu.org>
6962 Patrick Marlier <patrick.marlier@gmail.com>
6963
6964 PR libitm/52042
6965 * config/darwin-crt-tm.c (getTMCloneTable): New function.
6966 (__doTMRegistrations): Call it.
e9e053eb 6967 (__doTMdeRegistrations): Likewise.
6017aed3 6968
2da8c1ad 69692012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
6970 Anatoly Sokolov <aesok@post.ru>
6971 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
6972
6973 PR target/52261
6974 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
6975 (__epilogue_restores__): Ditto.
6976
0f952eb4
EB
69772012-02-15 Eric Botcazou <ebotcazou@adacore.com>
6978
6979 PR target/51921
6980 PR target/52205
6981 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
6982 Solaris 11 and slightly reformat.
6983 (sparc_is_sighandler): Likewise.
6984
dd552284
WL
69852012-02-14 Walter Lee <walt@tilera.com>
6986
6987 * config.host: Handle tilegx and tilepro.
6988 * config/tilegx/sfp-machine.h: New file.
6989 * config/tilegx/sfp-machine32.h: New file.
6990 * config/tilegx/sfp-machine64.h: New file.
6991 * config/tilegx/t-crtstuff: New file.
6992 * config/tilegx/t-softfp: New file.
6993 * config/tilegx/t-tilegx: New file.
6994 * config/tilepro/atomic.c: New file.
6995 * config/tilepro/atomic.h: New file.
6996 * config/tilepro/linux-unwind.h: New file.
6997 * config/tilepro/sfp-machine.h: New file.
6998 * config/tilepro/softdivide.c: New file.
6999 * config/tilepro/softmpy.S: New file.
7000 * config/tilepro/t-crtstuff: New file.
7001 * config/tilepro/t-tilepro: New file.
7002
b59cbd50
JW
70032012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
7004
7005 PR libstdc++/51296
7006 PR libstdc++/51906
7007 * gthr-posix.h: Allow static initializer macros to be disabled.
7008 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
7009
6caf807f
CLT
70102012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
7011
7012 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
7013 Add t-slibgcc-libgcc to tmake_file.
7014 * config/mips/libgcc-mips16.ver: Revert previous patch.
7015 * config/mips/mips16.S (__mips16_rdhwr): Hide.
7016
7d296953
JJ
70172012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
7018 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
7019
7020 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
7021 * config/cr16/crti.S: New file.
7022 * config/cr16/crtlibid.S: New file.
7023 * config/cr16/crtn.S: New file.
7024 * config/cr16/lib1funcs.S: New file.
7025 * config/cr16/t-cr16: New file.
7026 * config/cr16/t-crtlibid: New file.
7027 * config/cr16/unwind-dw2.h: New file.
7028 * config/cr16/unwind-cr16.c: New file.
7029 * config/cr16/divmodhi3.c: New file.
7030
8ef03aa7
AM
70312012-01-25 Alan Modra <amodra@gmail.com>
7032
7033 * config/rs6000/t-linux64: Delete. Move..
7034 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
7035 * config/rs6000/t-linux: ..and libgcc flags to here.
7036
daecebc8
DR
70372012-01-22 Douglas B Rupp <rupp@gnat.com>
7038
7039 * config.host (i[34567]86-*-interix3*):
8ef03aa7 7040 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
7041 * configure: Regenerate.
7042
ddaf8125
RS
70432012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
7044 Richard Sandiford <rdsandiford@googlemail.com>
7045
7046 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
7047 * config/mips/mips16.S (__mips16_rdhwr): New function.
7048 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
7049
2cd8b32c
NS
70502012-01-11 Nathan Sidwell <nathan@acm.org>
7051
7052 * libgcov.c (__gcov_init): Ignore objects with no functions.
7053
cba300dd
GJL
70542012-01-10 Georg-Johann Lay <avr@gjlay.de>
7055
7056 PR target/49868
7057 Extend __pgmx semantics to linearize memory.
7058 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
7059 * config/avr/lib1funcs.S (__xload_1): New function.
7060 (__movmemx_qi, __movmemx_hi): New functions.
7061 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
7062 semantics.
9ffaf4bc 7063
3d137660
EB
70642012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7065
7066 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
7067 purported sigacthandler address isn't null before dereferencing it.
7068 (sparc_is_sighandler): Likewise.
7069
bf4db96c
EB
70702012-01-09 Eric Botcazou <ebotcazou@adacore.com>
7071
7072 PR ada/41929
7073 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
7074 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
7075 (sparc_is_sighandler): Likewise.
7076 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
7077
1ab3568b
TG
70782012-01-06 Tristan Gingold <gingold@adacore.com>
7079
7080 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
7081 compatibility thunks...
7082 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
7083 (crtbeginS.o, crtendS.o): ... and these to ...
7084 * config/ia64/t-ia64-elf: ... this new file.
7085 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
7086 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
7087
925b0ed8
AK
70882012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7089
7090 * configure: Regenerate.
7091 * config/s390/t-crtstuff: Remove -fPIC.
7092
a99ad737
JW
70932012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7094
7095 PR bootstrap/51006
7096 * enable-execute-stack-mprotect.c (getpagesize): Do not define
7097 for NetBSD.
7098
884f56d1
GJL
70992012-01-02 Georg-Johann Lay <avr@gjlay.de>
7100
7101 PR target/51345
7102 * config/avr/lib1funcs.S: Remove FIXME comments.
7103 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
7104
8c57e547
GJL
71052012-01-02 Georg-Johann Lay <avr@gjlay.de>
7106
7107 Implement light-weight DImode support.
7108 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
7109 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
7110 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
7111 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
7112
04dbc287
NS
71132011-12-30 Nathan Sidwell <nathan@acm.org>
7114
7115 * libgcov.c (gcov_crc32): Remove global var.
7116 (free_fn_data): New function.
7117 (buffer_fn_data): Pass in filename, more robust error recovery.
7118 (crc32_unsigned): New function.
7119 (gcov_exit): More robust detection of new program. More robust
7120 error recovery.
7121 (__gcov_init): Do not update program's crc here.
7122
8e1d97d4
TG
71232011-12-21 Tristan Gingold <gingold@adacore.com>
7124
7125 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
7126
9ffaf4bc
ILT
71272011-12-21 Ian Lance Taylor <iant@google.com>
7128
7129 * config/i386/morestack.S: Simplify CFI opcodes throughout.
7130
a0c8d0c1
ILT
71312011-12-20 Ian Lance Taylor <iant@google.com>
7132
7133 * config/i386/morestack.S (__morestack_non_split): If there is
7134 enough stack space already, don't split. Ask for more stack space
7135 than we required.
7136
69048898
SDJ
71372011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
7138
7139 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
7140 `sys/sdt.h'.
7141 (_Unwind_DebugHook): New function.
7142 (uw_restore_core_regs): New define.
7143 (unwind_phase2): Use uw_restore_core_regs instead of
7144 restore_core_regs.
7145 (unwind_phase2_forced): Likewise.
7146 (__gnu_Unwind_Resume): Likewise.
7147
1bb4b6a3
UB
71482011-12-20 Uros Bizjak <ubizjak@gmail.com>
7149
7150 * config/alpha/linux-unwind.h: Update copyright years.
7151 (MD_FROB_UPDATE_CONTEXT): New define.
7152 (alpha_frob_update_context): New function.
7153
eb028768
RS
71542011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
7155
7156 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
7157 tmake_file rather replacing it.
7158
6a2045bf
IS
71592011-12-15 Iain Sandoe <iains@gcc.gnu.org>
7160
7161 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 7162 function is not used for PPC64.
6a2045bf
IS
7163 (save_world): Amend comments. Update the VRsave mask to reflect the
7164 saved regs.
7165 (rest_world): Update comments, do not clobber r10, do not use r8.
7166 (eh_rest_world_r10): Amend comments, do not use r8.
7167 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
7168 no longer used, move restore of CR and target address to the end of
7169 the routine.
7170
a13780a6
L
71712011-12-14 H.J. Lu <hongjiu.lu@intel.com>
7172
7173 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
7174 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
7175
d7288dfb
GJL
71762011-12-14 Georg-Johann Lay <avr@gjlay.de>
7177
7178 PR target/49313
7179 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
7180 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
7181
8d2c862d
EB
71822011-12-11 Eric Botcazou <ebotcazou@adacore.com>
7183
7184 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
7185
3447cae6
GJL
71862011-12-09 Georg-Johann Lay <avr@gjlay.de>
7187
7188 PR target/49313
7189 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
7190 * config/avr/lib1funcs.S (__muldi3): New function.
7191
806fc6aa
AP
71922011-12-06 Andrew Pinski <apinski@cavium.com>
7193
7194 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
7195 size of func_ptr.
7196 (__frame_dummy_init_array_entry): Likewise.
7197
28c5e6b5
GJL
71982011-12-06 Georg-Johann Lay <avr@gjlay.de>
7199
7200 Forward-port from gcc-4_6-branch r181936 2011-12-02.
7201
7202 PR target/51345
7203 PR target/51002
7204 * config/avr/lib1funcs.S (__prologue_saves__,
7205 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
7206 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
7207
8f90394a
IS
72082011-12-04 Iain Sandoe <iains@gcc.gnu.org>
7209
7210 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
7211
06dd33ac
JDA
72122011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7213
7214 PR other/51272
7215 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
7216 (_ITM_deregisterTMCloneTable): Likewise.
7217 (__register_frame_info): Fix unused warning.
7218 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
7219 pthread_default_stacksize_np): Likewise.
7220 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 7221
85b8555e
DD
72222011-11-29 DJ Delorie <dj@redhat.com>
7223
7224 * config.host (rl78-*-elf): New case.
7225 * config/rl78: New directory for the Renesas RL78.
7226
4d5ae4ea
BS
72272011-11-29 Bernd Schmidt <bernds@codesourcery.com>
7228
7229 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
7230 formatting.
7231
f9c55897
RO
72322011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7233
7234 PR other/51022
7235 * config/rs6000/t-savresfgpr: New file.
7236 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
7237 $(srcdir)/config/rs6000/eabi.S.
7238 * config/rs6000/t-ppccomm-ldbl: Remove.
7239 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
7240 tmake_file.
7241 (powerpc-*-eabispe*): Likewise.
7242 (powerpc-*-eabi*): Likewise.
7243 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7244 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
7245 to tmake_file, remove rs6000/t-ppccomm-ldbl.
7246 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
7247 tmake_file.
7248 (powerpc-*-eabisim*): Likewise.
7249 (powerpc-*-elf*): Likewise.
7250 (powerpc-*-eabialtivec*): Likewise.
7251 (powerpc-xilinx-eabi*): Likewise.
7252 (powerpc-*-rtems*): Likewise.
7253 (powerpcle-*-elf*): Likewise.
7254 (powerpcle-*-eabisim*): Likewise.
7255 (powerpcle-*-eabi*): Likewise.
7256
a01207c4
ILT
72572011-11-27 Ian Lance Taylor <iant@google.com>
7258
7259 * generic-morestack.c (__splitstack_find): Check for NULL old
7260 stack value.
7261 (__splitstack_resetcontext): New function.
7262 (__splitstack_releasecontext): New function.
7263 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7264
2b0b8ab2
IS
72652011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7266
7267 * config/darwin-crt-tm.c: Correct comments, use correct licence.
7268
c1d8101c
IS
72692011-11-27 Iain Sandoe <iains@gcc.gnu.org>
7270
7271 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
7272
8b281334
RH
72732011-11-26 Richard Henderson <rth@redhat.com>
7274
7275 * config/m68k/linux-atomic.c: New file.
7276 * config/m68k/t-linux: New file.
7277 * config.host (m68k-uclinux, m68k-linux): Use it.
7278
7546aa9d
RH
72792011-11-26 Richard Henderson <rth@redhat.com>
7280
7281 * crtstuff.c (__TMC_LIST__): Mark used not unused.
7282 (__TMC_END__): Only declare if hidden is available; in the definition,
7283 if hidden is unavailable add a null record.
7284 (deregister_tm_clones, register_tm_clones): New.
7285 (__do_global_dtors_aux, frame_dummy): Use them.
7286 (__do_global_dtors, __do_global_ctors_1): Likewise.
7287
e2362f5d
IS
72882011-11-22 Iain Sandoe <iains@gcc.gnu.org>
7289
7290 * config/darwin-crt-tm.c: New file.
7291 * config.host (darwin): Build crttms.o crttme.o to provide
7292 startup and shutdown for tm clones.
7293 * config/t-darwin (crttms.o): New build rule.
7294 (crttme.o): Likewise.
7295
6685dd96
HPN
72962011-11-21 Hans-Peter Nilsson <hp@axis.com>
7297
7298 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
7299 et al.
7300
b0dc7e4c
RH
73012011-11-21 Richard Henderson <rth@redhat.com>
7302
7303 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
7304 (__TMC_LIST__, __TMC_END__): New.
7305 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
7306 (__do_global_dtors): Likewise.
7307 (frame_dummy): Call _ITM_registerTMCloneTable.
7308 (__do_global_ctors_1): Likewise.
7309
d4b4b542
RO
73102011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7311
7312 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
7313 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
7314 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
7315 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
7316 * config/i386/t-darwin64: Remove.
7317 * config/sh/t-netbsd (LIB2ADD): Remove.
7318
989bdb74
GJL
73192011-11-21 Georg-Johann Lay <avr@gjlay.de>
7320
7321 PR target/49313
7322 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
7323 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
7324 * config/avr/lib1funcs.S (wmov): New assembler macro.
7325 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
7326 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
7327 (__udivmod64): New function.
7328 (__negdi2): New function.
7329
515a0cfc
GP
73302011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
7331
7332 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
7333 *-*-freebsd*aout*): Remove.
7334
0115d17f
HPN
73352011-11-20 Hans-Peter Nilsson <hp@axis.com>
7336
7337 * static-object.mk (c_flags-$o): Save c_flags.
7338 ($(base)$(objext)): Use it.
7339
93aeb62b
SE
73402011-11-18 Steve Ellcey <sje@cup.hp.com>
7341
7342 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
7343
7bc6df2c
GJL
73442011-11-18 Georg-Johann Lay <avr@gjlay.de>
7345
7346 PR target/49868
7347 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
7348 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
7349 New functions.
7350
425d737b
MGD
73512011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7352
7353 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
7354 functions.
1bb4b6a3 7355 (aeabi_uidivmod): Likewise.
425d737b
MGD
7356 (umodsi3): Likewise.
7357 (divsi3): Likewise.
7358 (aeabi_idivmod): Likewise.
7359 (modsi3): Likewise.
7360
f2a176dc
TG
73612011-11-16 Tristan Gingold <gingold@adacore.com>
7362
7363 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
7364
7c209481
GJL
73652011-11-15 Georg-Johann Lay <avr@gjlay.de>
7366
7367 PR target/49868
7368 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
7369 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
7370
9dfd5832
JDA
73712011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7372
7373 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
7374 tmake_file list.
7375 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
7376 * config/pa/t-stublib64: Delete.
7377
f77dca5d
RH
73782011-11-12 Richard Henderson <rth@redhat.com>
7379
7380 * config/rs6000/linux-unwind.h (frob_update_context): Properly
7381 cast the pointer argument to _Unwind_SetGRPtr.
7382
902828f0
RO
73832011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7384
7385 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
7386
e14304ef
ILT
73872011-11-09 Ian Lance Taylor <iant@google.com>
7388
7389 * generic-morestack.c: Include <string.h>.
7390 (uintptr_type): Define.
7391 (struct initial_sp): Add dont_block_signals field. Reduce size of
7392 extra array by 1.
7393 (allocate_segment): Set prev field to NULL. Don't set
7394 __morestack_current_segment or __morestack_segments.
7395 (__generic_morestack): Update current->prev and *pp after calling
7396 allocate_segment.
7397 (__morestack_block_signals): Don't do anything if
7398 dont_block_signals is set.
7399 (__morestack_unblock_signals): Likewise.
7400 (__generic_findstack): Check for initial_sp == NULL. Add casts to
7401 uintptr_type.
7402 (__splitstack_block_signals): New function.
7403 (enum __splitstack_content_offsets): Define.
7404 (__splitstack_getcontext, __splitstack_setcontext): New functions.
7405 (__splitstack_makecontext): New function.
7406 (__splitstack_block_signals_context): New function.
7407 (__splitstack_find_context): New function.
7408 * config/i386/morestack.S (__morestack_get_guard): New function.
7409 (__morestack_set_guard, __morestack_make_guard): New functions.
7410 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
7411
e3d871e4
RO
74122011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7413
7414 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
7415 (i[34567]86-*-mingw*): ... here.
7416 (x86_64-*-mingw*): ... here.
7417
e55cef40
RO
74182011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7419
7420 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
7421
5366b186
NS
74222011-11-07 Nathan Sidwell <nathan@acm.org>
7423
7424 * libgcov.c (struct gcov_fn_buffer): New struct.
7425 (buffer_fn_data): New helper.
7426 (gcov_exit): Rework for new gcov data structures.
7427
74155a6f
GJL
74282011-11-07 Georg-Johann Lay <avr@gjlay.de>
7429
7430 PR target/49313
7431 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
7432
200feb07
RO
74332011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7434
7435 * config.host (tmake_file): Correct comment.
7436 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
7437 t-libgcc-pic.
7438 (bfin*-uclinux*): Likewise.
7439 (bfin*-linux-uclibc*): Likewise.
7440 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
7441
7442 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
7443 assigning.
7444 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7445 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
7446 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7447 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
7448 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7449 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
7450 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
7451 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
7452 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
7453 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
7454 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
7455 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
7456 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
7457
7458 * config/bfin/t-elf: Remove.
7459 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
7460
c9cd1a07
RO
74612011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7462
7463 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
7464 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
7465 (lm32-*-elf*, lm32-*-rtems*): Split into ...
7466 (lm32-*-elf*): ... this.
7467 (lm32-*-rtems*): ... and this.
7468 Add to tmake_file.
7469 (m32r-*-rtems*): Add to tmake_file.
7470 (moxie-*-rtems*): Likewise.
7471 (sparc-*-rtems*): Likewise.
7472 Remove t-rtems from tmake_file.
7473 (sparc64-*-rtems*): Likewise.
7474 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
7475 instead.
7476
9fbcc75d
RO
74772011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7478
7479 PR bootstrap/50982
7480 * config/gthr-posix.h: Move ...
7481 * gthr-posix.h: ... here.
7482 * config/gthr-lynx.h: Reflect this.
7483 * config/gthr-vxworks.h: Likewise.
7484 * config/rs6000/gthr-aix.h: Likewise.
7485 * configure.ac (target_thread_file): Likewise.
7486 * configure: Regenerate.
7487
76644b68
SH
74882011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
7489
7490 * config.host (arm*-*-rtemseabi*): New target.
7491
5e490f2a
JDA
74922011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7493
7494 PR other/50991
7495 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
7496 extra-parts.
7497
feeeff5c
JR
74982011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
7499
7500 * config.host (epiphany-*-elf*): New configuration.
7501 * config/epiphany: New Directory.
7502
d618bb2c
RC
75032011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
7504
7505 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
7506 * config/avr/t-rtems: New.
7507 Filter out _exit from LIB1ASMFUNCS.
7508
1bb6f778
DM
75092011-11-04 David S. Miller <davem@davemloft.net>
7510
7511 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
7512 * configure: Rebuild.
7513
9a7f7422
AK
75142011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7515
7516 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
7517 variable.
7518
e4fe948a
GJL
75192011-11-04 Georg-Johann Lay <avr@gjlay.de>
7520
7521 PR target/50931
7522 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
7523 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
7524
7084e037
JS
75252011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
7526
7527 PR target/50989
7528 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
7529
1a032034
RO
75302011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7531
7532 * config/c6x/t-elf (LIB2ADDEH): Set.
7533 * config/c6x/t-c6x-elf: Remove.
7534
d385f772
RO
75352011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7536
7537 * config/i386/sol2-ci.S: Rename to ...
7538 * config/i386/crti.S: ... this.
7539 * config/i386/sol2-cn.S: Rename to ...
7540 * config/i386/crtn.S: ... this.
7541 * config/sparc/sol2-ci.S: Rename to ...
7542 * config/sparc/crti.S: ... this.
7543 * config/sparc/sol2-cn.S: Rename to ...
7544 * config/sparc/crtn.S: ... this.
7545 * config/t-sol2 (CUSTOM_CRTIN): Remove.
7546 (crti.o, crtn.o): Remove.
7547
1ba878a9
TG
75482011-11-04 Tristan Gingold <gingold@adacore.com>
7549
7550 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
7551
02750c15
KK
75522011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
7553
7554 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
7555
bf86b067
HPN
75562011-11-03 Hans-Peter Nilsson <hp@axis.com>
7557
7558 * config.host (crisv32-*-none, cris-*-none): Remove.
7559 (crisv32-*-elf): Append to tmake_file, don't just set it.
7560 (cris-*-elf): Add missing t-fdpbit to tmake_file.
7561
d0bc53bd
RO
75622011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7563
7564 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
7565 (ecrtn$(objext)): Likewise.
7566 (ncrti$(objext)): Likewise.
7567 (ncrtn$(objext)): Likewise.
7568
036da830
AS
75692011-11-03 Andreas Schwab <schwab@redhat.com>
7570
7571 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
7572
d2a7d041
DM
75732011-11-02 David S. Miller <davem@davemloft.net>
7574
7575 * configure.ac: Set host_address on sparc too.
7576 * configure: Regenerate.
7577 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
7578 based upon host_address.
7579 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
7580
af8ed618
JM
75812011-11-02 Jason Merrill <jason@redhat.com>
7582
7583 * config/rs6000/t-ppccomm: Add missing \.
7584
5d1c8e77
RO
75852011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7586
7587 * gthr-single.h, gthr.h: New files.
7588 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
7589 config/gthr-vxworks.h, config/i386/gthr-win32.h,
7590 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
7591 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
7592 * config/i386/gthr-win32.c: Include "gthr-win32.h".
7593 * configure.ac (thread_header): New variable.
7594 Set it depending on target_thread_file.
7595 (gthr-default.h): Link from $thread_header.
7596 * configure: Regenerate.
7597 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
7598
852b75ed
RO
75992011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7600
7601 * configure.ac (tm_file_): New variable.
7602 Determine from tm_file.
7603 (tm_file, tm_defines): Substitute.
7604 * configure: Regenerate.
7605 * mkheader.sh: New file.
7606 * Makefile.in (clean): Remove libgcc_tm.h.
7607 ($(objects)): Depend on libgcc_tm.h.
7608 (libgcc_tm_defines, libgcc_tm_file): New variables.
7609 (libgcc_tm.h, libgcc_tm.stamp): New targets.
7610 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
7611 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
7612 ($(extra-parts)): Depend on libgcc_tm.h.
7613 * config.host (tm_defines, tm_file): New variable.
7614 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
7615 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
7616 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
7617 (avr-*-rtems*): Likewise.
7618 (avr-*-*): Likewise.
7619 (frv-*-elf): Likewise.
7620 (frv-*-*linux*): Likewise.
7621 (h8300-*-rtems*): Likewise.
7622 (h8300-*-elf*): Likewise.
7623 (i[34567]86-*-darwin*): Likewise.
7624 (x86_64-*-darwin*): Likewise.
7625 (rx-*-elf): Likewise.
7626 (tic6x-*-uclinux): Likewise.
7627 (tic6x-*-elf): Likewise.
7628 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
7629 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
7630 * config/i386/cygming-crtbegin.c: Likewise.
7631 * config/i386/cygming-crtend.c: Likewise.
7632 * config/ia64/fde-vms.c: Likewise.
7633 * config/ia64/unwind-ia64.c: Likewise.
7634 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7635 * config/rs6000/darwin-fallback.c: Likewise.
7636 * config/stormy16/lib2funcs.c: Likewise.
7637 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
7638 * crtstuff.c: Likewise.
7639 * dfp-bit.h: Likewise.
7640 * emutls.c: Likewise.
7641 * fixed-bit.c: Likewise.
7642 * fp-bit.c: Likewise.
7643 * generic-morestack-thread.c: Likewise.
7644 * generic-morestack.c: Likewise.
7645 * libgcc2.c: Likewise.
7646 * libgcov.c: Likewise.
7647 * unwind-dw2-fde-dip.c: Likewise.
7648 * unwind-dw2-fde.c: Likewise.
7649 * unwind-dw2.c: Likewise.
7650 * unwind-sjlj.c: Likewise.
7651
f9989b51
RO
76522011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7653
7654 * configure.ac: Include ../config/picflag.m4.
7655 (GCC_PICFLAG): Call it.
7656 Substitute.
7657 * configure: Regenerate.
7658 * Makefile.in (gcc_srcdir): Remove.
7659 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
7660 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
7661 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
7662 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
7663 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
7664 Use $<.
7665 Remove comment.
7666 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
7667 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
7668 to refer to libgcc2.c.
7669 Use $<.
7670 * config/darwin-64.c: New file.
7671 * config/darwin-crt3.c: Remove comment.
7672 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
7673 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
7674 config/udivmodsi4.c: New files.
7675 * config/memcmp.c, config/memcpy.c, config/memmove.c,
7676 config/memset.c: New files.
7677 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
7678 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
7679 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
7680 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
7681 * config/t-openbsd-thread: New file.
7682 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
7683 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
7684 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
7685 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
7686 qrnnd.S.
7687 Adapt filename.
7688 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
7689 to refer to gthr-posix.c.
7690 * config/alpha/t-vms (LIB2ADD): Set.
7691 * config/alpha/vms-gcc_shell_handler.c: New file.
7692 * config/arm/bpabi.c, config/arm/fp16.c,
7693 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
7694 config/arm/unaligned-funcs.c: New files.
7695 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
7696 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7697 * config/arm/t-linux: Likewise.
7698 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
7699 * config/arm/t-netbsd: New file.
7700 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
7701 * config/arm/t-symbian (LIB2ADD_ST): Set.
7702 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
7703 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7704 * config/bfin/t-elf: New file.
7705 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
7706 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
7707 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
7708 config/c6x/ltf.c: New files.
7709 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
7710 (HOST_LIBGCC2_CFLAGS): Set.
7711 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
7712 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7713 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
7714 New files.
7715 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
7716 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
7717 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
7718 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
7719 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
7720 files.
7721 * config/frv/t-frv (LIB2ADD): Set.
7722 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7723 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
7724 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
7725 config/h8300/popcounthi2.c: New files.
7726 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7727 * config/i386/gthr-win32.c: New file.
7728 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
7729 * config/i386/t-cygwin: Likewise.
7730 * config/i386/t-darwin, config/i386/t-darwin64,
7731 config/i386/t-gthr-win32, config/i386/t-interix: New files.
7732 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
7733 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7734 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7735 * config/ia64/quadlib.c: New file.
7736 * config/ia64/t-hpux (LIB2ADD): Set.
7737 * config/ia64/t-ia64: Add comment.
7738 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
7739 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7740 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
7741 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
7742 * config/m32c/t-m32c (LIB2ADD): Set.
7743 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7744 * config/m32r/t-m32r: Likewise.
7745 * config/m68k/fpgnulib.c: New file.
7746 * config/m68k/t-floatlib (LIB2ADD): Set.
7747 (xfgnulib.c): New target.
7748 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
7749 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
7750 * config/mep/t-mep (LIB2ADD): Set.
7751 * config/microblaze/divsi3.asm: Rename to divsi3.S.
7752 * config/microblaze/moddi3.asm: Rename to moddi3.S.
7753 * config/microblaze/modsi3.asm: Rename to modsi3.S.
7754 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
7755 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
7756 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
7757 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
7758 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
7759 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
7760 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
7761 New files.
7762 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
7763 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
7764 * config/pa/fptr.c, config/pa/lib2funcs.S,
7765 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
7766 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
7767 (LIB2ADD, LIB2ADD_ST): Set.
7768 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
7769 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
7770 Set.
7771 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
7772 * config/pdp11/t-pdp11: New file.
7773 * config/picochip/libgccExtras/adddi3.S,
7774 config/picochip/libgccExtras/ashlsi3.S,
7775 config/picochip/libgccExtras/ashrsi3.S,
7776 config/picochip/libgccExtras/clzsi2.S,
7777 config/picochip/libgccExtras/cmpsi2.S,
7778 config/picochip/libgccExtras/divmod15.S,
7779 config/picochip/libgccExtras/divmodhi4.S,
7780 config/picochip/libgccExtras/divmodsi4.S,
7781 config/picochip/libgccExtras/lshrsi3.S,
7782 config/picochip/libgccExtras/parityhi2.S,
7783 config/picochip/libgccExtras/popcounthi2.S,
7784 config/picochip/libgccExtras/subdi3.S,
7785 config/picochip/libgccExtras/ucmpsi2.S,
7786 config/picochip/libgccExtras/udivmodhi4.S,
7787 config/picochip/libgccExtras/udivmodsi4.S: New files.
7788 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
7789 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
7790 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
7791 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
7792 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
7793 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
7794 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
7795 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
7796 files.
7797 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
7798 (HOST_LIBGCC2_CFLAGS): Set.
7799 * config/rs6000/t-darwin64: New file.
7800 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
7801 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
7802 * config/rs6000/t-ppccomm (LIB2ADD): Add
7803 $(srcdir)/config/rs6000/tramp.S.
7804 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
7805 Add $(srcdir)/config/rs6000/eabi.S.
7806 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
7807 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
7808 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
7809 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
7810 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
7811 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
7812 * config/rs6000/tramp.S: New file.
7813 * config/s390/t-tpf: Remove.
7814 * config/sh/linux-atomic.S: New file.
7815 * config/sh/t-linux (LIB2ADD): Set.
7816 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
7817 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
7818 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
7819 to unwind-dw2.c.
7820 (HOST_LIBGCC2_CFLAGS): Set.
7821 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
7822 * config/spu/divmodti4.c, config/spu/divv2df3.c,
7823 config/spu/float_disf.c, config/spu/float_unsdidf.c,
7824 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
7825 config/spu/mfc_multi_tag_release.c,
7826 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
7827 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
7828 config/spu/multi3.c: New files.
7829 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
7830 (HOST_LIBGCC2_CFLAGS): Set.
7831 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
7832 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
7833 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
7834 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
7835 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
7836 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
7837 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
7838 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
7839 config/stormy16/umodsi3.c: New files.
7840 * config/xtensa/lib2funcs.S: New file.
7841 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
7842 * config/xtensa/t-xtensa (LIB2ADD): Set.
7843 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
7844 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
7845 Add t-freebsd-thread to tmake_file for posix threads.
7846 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
7847 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
7848 (*-*-lynxos*): Likewise.
7849 (*-*-netbsd*): Likewise.
7850 (*-*-openbsd*): Likewise.
7851 Add t-openbsd-thread to tmake_file for posix threads.
7852 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
7853 (*-*-vxworks*): Set tmake_file.
7854 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7855 (alpha*-*-freebsd*): Likewise.
7856 (alpha*-*-netbsd*): Likewise.
7857 (alpha*-*-openbsd*): Likewise.
7858 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
7859 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
7860 (alpha*-dec-*vms*): Likewise.
7861 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
7862 (bfin*-elf*): Add bfin/t-elf to tmake_file.
7863 (bfin*-uclinux*): Likewise.
7864 (bfin*-linux-uclibc*): Likewise.
7865 (crisv32-*-elf): Add cris/t-cris to tmake_file.
7866 (crisv32-*-none): Likewise.
7867 (cris-*-elf): Likewise.
7868 (cris-*-none): Likewise.
7869 (cris-*-linux*, crisv32-*-linux*): Likewise.
7870 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
7871 tmake_file.
7872 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
7873 tmake_file.
7874 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
7875 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
7876 (x86_64-*-elf*): Likewise.
7877 (i[34567]86-*-nto-qnx*): Likewise.
7878 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
7879 win32 threads.
7880 (x86_64-*-mingw*): Likewise.
7881 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
7882 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
7883 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
7884 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
7885 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
7886 tmake_file.
7887 (mipsisa64sr71k-*-elf*): Likewise.
7888 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
7889 (mips-*-elf*, mipsel-*-elf*): Likewise.
7890 (mips64-*-elf*, mips64el-*-elf*): Likewise.
7891 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
7892 (mips*-*-rtems*): Likewise.
7893 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
7894 to tmake_file.
7895 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
7896 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
7897 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
7898 (spu-*-elf*): Likewise.
7899 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
7900
45b86625
RO
79012011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7902
7903 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
7904 $(srcdir) to refer to $(LIB1ASMSRC).
7905 Use $<.
7906 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
7907 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
7908 config/arm/lib1funcs.S: New files.
7909 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
7910 * config/arm/t-arm: New file.
7911 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
7912 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
7913 config/arm/t-strongarm-elf: New files.
7914 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
7915 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
7916 * config/avr/lib1funcs.S: New file.
7917 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7918 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
7919 * config/c6x/lib1funcs.S: New file.
7920 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7921 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
7922 * config/frv/lib1funcs.S: New file.
7923 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7924 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
7925 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
7926 * config/ia64/__divxf3.asm: Rename to ...
7927 * config/ia64/__divxf3.S: ... this.
7928 Adapt lib1funcs.asm filename.
7929 * config/ia64/_fixtfdi.asm: Rename to ...
7930 * config/ia64/_fixtfdi.S: ... this.
7931 Adapt lib1funcs.asm filename.
7932 * config/ia64/_fixunstfdi.asm: Rename to ...
7933 * config/ia64/_fixunstfdi.S: ... this.
7934 Adapt lib1funcs.asm filename.
7935 * config/ia64/_floatditf.asm: Rename to ...
7936 * config/ia64/_floatditf.S: ... this.
7937 Adapt lib1funcs.asm filename.
7938 * config/ia64/lib1funcs.S: New file.
7939 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
7940 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7941 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
7942 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
7943 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
7944 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
7945 * config/mep/lib1funcs.S: New file.
7946 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7947 * config/mips/mips16.S: New file.
7948 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7949 * config/pa/milli64.S: New file.
7950 * config/pa/t-linux, config/pa/t-linux64: New files.
7951 * config/picochip/lib1funcs.S: New file.
7952 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7953 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
7954 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
7955 * config/sh/t-netbsd: New file.
7956 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
7957 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
7958 * config/sh/t-sh64: New file.
7959 * config/sparc/lb1spc.S: New file.
7960 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
7961 filename.
7962 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
7963 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
7964 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
7965 config/xtensa/lib1funcs.S: New files.
7966 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
7967 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
7968 tmake_file.
7969 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
7970 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
7971 (arm*-*-linux*): Likewise.
7972 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
7973 arm*-*-linux-*eabi, add arm/t-linux otherwise.
7974 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
7975 (arm*-*-ecos-elf): Likewise.
7976 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7977 (arm*-*-rtems*): Likewise.
7978 (arm*-*-elf): Likewise.
7979 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
7980 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
7981 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
7982 (bfin*-uclinux*): Likewise.
7983 (bfin*-linux-uclibc*): Likewise.
7984 (bfin*-rtems*): Likewise.
7985 (bfin*-*): Likewise.
7986 (fido-*-elf): Merge into m68k-*-elf*.
7987 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
7988 (frv-*-*linux*): Add frv/t-frv to tmake_file.
7989 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
7990 (h8300-*-elf*): Likewise.
7991 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
7992 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
7993 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
7994 (i[34567]86-*-mingw*): Likewise.
7995 (x86_64-*-mingw*): Likewise.
7996 (i[34567]86-*-interix3*): Likewise.
7997 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
7998 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
7999 (m68k-*-elf*): Also handle fido-*-elf.
8000 Add m68k/t-floatlib to tmake_file.
8001 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
8002 (m68k-*-linux*): Likewise.
8003 (m68k-*-rtems*): Likewise.
8004 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
8005 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
8006 sh64*-*-*.
8007 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
8008 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
8009 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
8010 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
8011 sh/t-netbsd to tmake_file.
8012 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
8013 (sh-*-rtems*): Add sh/t-sh to tmake_file.
8014 (sh-wrs-vxworks): Likewise.
8015 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
8016 *-leon[3-9]*.
8017 (v850*-*-*): Add v850/t-v850 to tmake_file.
8018 (vax-*-linux*): Add vax/t-linux to tmake_file.
8019 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
8020
5f73c6cc
RO
80212011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8022
8023 * crtstuff.c: New file.
8024 * Makefile.in (CRTSTUFF_CFLAGS): Define.
8025 (CRTSTUFF_T_CFLAGS): Define.
8026 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
8027 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
8028 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
8029 crtstuff.c.
8030 Use $<.
8031 (crtbeginT.o): Use $(objext).
8032 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
8033 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
8034 (gcc-extra-parts): Remove.
8035 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
8036 Set extra_parts.
8037 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8038 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
8039 Add t-crtstuff-pic to tmake_file.
8040 (*-*-lynxos*): New case.
8041 Set tmake_file, extra_parts.
8042 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
8043 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
8044 *-*-netbsdelf[2-9]*.
8045 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
8046 (*-*-rtems*): Set extra_parts.
8047 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
8048 (*-*-uclinux*): New case.
8049 Set extra_parts.
8050 (*-*-vms*): New case.
8051 Set tmake_file, extra_parts.
8052 (*-*-elf): Set extra_parts.
8053 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
8054 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
8055 vms/t-vms64.
8056 Set extra_parts.
8057 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
8058 Set extra_parts.
8059 (arm*-*-freebsd*): Add t-crtin to tmake_file.
8060 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
8061 (arm-wrs-vxworks): Append to tmake_file.
8062 Set extra_parts.
8063 (arm*-*-uclinux*): Set extra_parts.
8064 (arm*-*-ecos-elf): Likewise.
8065 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
8066 arm*-*-eabi*.
8067 (arm*-*-rtems*): Set extra_parts.
8068 (arm*-*-elf): Likewise.
8069 (avr-*-rtems*): Clear extra_parts.
8070 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
8071 Set extra_parts.
8072 (bfin*-uclinux*): Likewise.
8073 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
8074 (bfin*-rtems*): Append to tmake_file.
8075 Set extra_parts.
8076 (bfin*-*): Likewise.
8077 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
8078 (crisv32-*-elf): ... this.
8079 (crisv32-*-none): ... this.
8080 (cris-*-elf, cris-*-none): New cases.
8081 Add cris/t-elfmulti to tmake_file.
8082 (fr30-*-elf): Append to tmake_file.
8083 Set extra_parts.
8084 (frv-*-elf): Append to tmake_file, add frv/t-frv.
8085 Set extra_parts.
8086 (h8300-*-rtems*): Append to tmake_file.
8087 Set extra_parts.
8088 (h8300-*-elf*): Likewise.
8089 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
8090 Set extra_parts.
8091 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
8092 Set extra_parts.
8093 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
8094 (x86_64-*-elf*): Likewise.
8095 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
8096 (x86_64-*-freebsd*): Likewise.
8097 (x86_64-*-netbsd*): Likewise.
8098 (i[34567]86-*-linux*): Likewise.
8099 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
8100 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8101 (x86_64-*-linux*): Likewise.
8102 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8103 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
8104 tmake_file.
8105 Set extra_parts.
8106 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
8107 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
8108 Append to extra_parts, remove crtbegin.o, crtend.o.
8109 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
8110 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
8111 crtend.o, crtbeginS.o, crtendS.o.
8112 (ia64*-*-linux*): Comment extra_parts.
8113 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
8114 Set extra_parts.
8115 (iq2000*-*-elf*): Clear extra_parts.
8116 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
8117 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
8118 (m32r-*-elf*, m32r-*-rtems*): Split off ...
8119 (m32r-*-rtems*): ... this.
8120 Add m32r/t-m32r to tmake_file.
8121 (m68k-*-elf*): Add t-crtin to tmake_file.
8122 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
8123 (mcore-*-elf): Likewise.
8124 (microblaze*-*-*): Set extra_parts.
8125 (mips*-sde-elf*): New case.
8126 Set tmake_file, extra_parts.
8127 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8128 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8129 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
8130 tmake_file.
8131 Set extra_parts.
8132 (mipsisa64sr71k-*-elf*): Likewise.
8133 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8134 (mips-*-elf*, mipsel-*-elf*): Likewise.
8135 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8136 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
8137 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8138 (mips*-*-rtems*): Likewise.
8139 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
8140 (moxie-*-*): Split into ...
8141 (moxie-*-elf, moxie-*-uclinux*): ... this.
8142 Add to extra_parts, remove crtbegin.o, crtend.o.
8143 (moxie-*-rtems*): New case.
8144 Set tmake_file.
8145 Clear extra_parts.
8146 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
8147 Set extra_parts.
8148 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8149 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
8150 tmake_file.
8151 Set extra_parts.
8152 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
8153 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
8154 Set extra_parts.
8155 (powerpc-*-eabisim*): Likewise.
8156 (powerpc-*-elf*): Likewise.
8157 (powerpc-*-eabialtivec*): Likewise.
8158 (powerpc-xilinx-eabi*): Likewise.
8159 (powerpc-*-eabi*): Likewise.
8160 (powerpc-*-rtems*): Likewise.
8161 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
8162 tmake_file.
8163 Set extra_parts.
8164 (powerpc-*-lynxos*): Add to tmake_file.
8165 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
8166 rs6000/t-crtstuff, t-crtstuff-pic.
8167 Set extra_parts.
8168 (powerpcle-*-eabisim*): Likewise.
8169 (powerpcle-*-eabi*): Likewise.
8170 (rx-*-elf): Remove extra_parts.
8171 (s390x-ibm-tpf*): Set extra_parts.
8172 (score-*-elf): Set extra_parts.
8173 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8174 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8175 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8176 (sh64l*-*-netbsd*): Split into ...
8177 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
8178 Add t-crtstuff-pic to tmake_file.
8179 Set extra_parts.
8180 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
8181 Set extra_parts.
8182 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
8183 (sparc-*-elf*): Remove t-crtin from tmake_file.
8184 Add to extra_parts, remove crtbegin.o, crtend.o.
8185 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
8186 (sparc64-*-linux*): Likewise.
8187 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
8188 Add to extra_parts, remove crtbegin.o, crtend.o.
8189 (sparc64-*-elf*): Remove t-crtin from tmake_file.
8190 Add to extra_parts, remove crtbegin.o, crtend.o.
8191 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
8192 Add to extra_parts, remove crtbegin.o, crtend.o.
8193 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
8194 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
8195 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
8196 Set extra_parts.
8197 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
8198 Set extra_parts.
8199 (tic6x-*-*): Change to ...
8200 (tic6x-*-elf): ... this.
8201 Set extra_parts.
8202 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
8203 Set extra_parts.
8204 (am33_2.0-*-linux*): Add comment.
8205 (mep*-*-*): Add mep/t-mep to tmake_file.
8206 Set extra_parts.
8207 * config/alpha/t-vms: New file.
8208 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
8209 * config/arm/crti.S, config/arm/crtn.S: New files.
8210 * config/bfin/crti.S, config/bfin/crtn.S: New files.
8211 * config/bfin/crtlibid.S: New file.
8212 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
8213 * config/c6x/crti.S, config/c6x/crtn.S: New files.
8214 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
8215 (crti.o, crtin.o): New rules.
8216 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8217 * config/c6x/t-uclinux: New file.
8218 * config/cris/t-elfmulti: New file.
8219 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
8220 * config/fr30/crti.S, config/fr30/crtn.S: New files.
8221 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
8222 * config/frv/t-frv: New file.
8223 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
8224 * config/h8300/crti.S, config/h8300/crtn.S: New files.
8225 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
8226 New files.
8227 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
8228 refer to cygming-crtbegin.c, cygming-crtend.c.
8229 Use $<.
8230 * config/i386/t-nto: New file.
8231 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
8232 * config/ia64/crti.S, config/ia64/crtn.S: New files.
8233 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
8234 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
8235 Use .S extension.
8236 Use $<.
8237 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
8238 (crtinitS.o): New rule.
8239 * config/ia64/vms-crtinit.S: New file.
8240 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
8241 * config/m32r/initfini.c: New file.
8242 * config/m32r/t-linux, config/m32r/t-m32r: New files.
8243 * config/m68k/crti.S, config/m68k/crtn.S: New files.
8244 * config/mcore/crti.S, config/mcore/crtn.S: New files.
8245 * config/mep/t-mep: New file.
8246 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
8247 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
8248 * config/mips/crti.S, config/mips/crtn.S: New files.
8249 * config/mips/t-crtstuff: New file.
8250 * config/mmix/crti.S, config/mmix/crtn.S: New files.
8251 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
8252 (CUSTOM_CRTIN): Set.
8253 ($(T)crti.o, $(T)crtn.o): Remove $(T),
8254 dependencies.
8255 Use $(srcdir) to refer to crti.S, crtn.S.
8256 Use .S extension, $<.
8257 * config/moxie/crti.asm: Rename to ...
8258 * config/moxie/crti.S: ... this.
8259 * config/moxie/crtn.asm: Rename to ...
8260 * config/moxie/crtn.S: ... this.
8261 * config/moxie/t-moxie: Remove.
8262 * config/pa/stublib.c: New file.
8263 * config/pa/t-stublib, config/pa/t-stublib64: New files.
8264 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
8265 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
8266 * config/rs6000/t-crtstuff: New file.
8267 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
8268 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
8269 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
8270 Make output file explicit.
8271 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
8272 Make output file explicit.
8273 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
8274 Make output file explicit.
8275 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
8276 Make output file explicit.
8277 * config/score/crti.S, config/score/crtn.S: New files.
8278 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
8279 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
8280 files.
8281 * config/sh/t-sh, config/sh/t-superh: New files.
8282 * config/sparc/t-linux64: New file.
8283 * config/spu/cache.S, config/spu/cachemgr.c: New files.
8284 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
8285 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
8286 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
8287 * config/t-crtin: Remove.
8288 * config/t-crtstuff-pic: New file.
8289 * config/t-sol2 (CUSTOM_CRTIN): Set.
8290 (crti.o, crtn.o): New rules.
8291 * config/vms/t-vms: New file.
8292 * config/vms/vms-ucrt0.c: New file.
8293 * config/xtensa/t-elf: New file.
8294
b040f2be
RO
82952011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8296
8297 * Makefile.in (SHLIB_NM_FLAGS): Set.
8298 * mkmap-flat.awk, mkmap-symver.awk: New files.
8299 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
8300 exceptions.
8301 * configure: Regenerate.
8302 * config/libgcc-glibc.ver: New file.
8303 * config/libgcc-libsystem.ver: New file.
8304 * config/t-libunwind (SHLIB_LC): Set.
8305 * config/t-linux: New file.
8306 * config/t-slibgcc (INSTALL_SHLIB): New.
8307 (SHLIB_INSTALL): Use it.
8308 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
8309 to mkmap-symver.awk.
8310 (SHLIB_MAPFILES): Don't append, adapt pathname.
8311 (SHLIB_VERPFX): Set.
8312 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
8313 to mkmap-symver.awk.
8314 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
8315 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
8316 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
8317 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
8318 to mkmap-flat.awk.
8319 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
8320 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
8321 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
8322 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
8323 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
8324 * config/i386/libgcc-darwin.10.4.ver,
8325 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
8326 New files.
8327 * config/i386/t-darwin: Remove.
8328 * config/i386/t-darwin64: Likewise.
8329 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
8330 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
8331 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
8332 * config/i386/t-linux: New file.
8333 * config/i386/t-mingw32: New file.
8334 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
8335 * config/ia64/t-glibc: Rename to ...
8336 * config/ia64/t-linux: ... this.
8337 (SHLIB_MAPFILES): Set.
8338 * config/ia64/t-glibc-libunwind: Rename to ...
8339 * config/ia64/t-linux-libunwind: ... this.
8340 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
8341 * config/ia64/t-slibgcc-hpux: New file.
8342 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
8343 * config/m68k/t-slibgcc-elf-ver: New file.
8344 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
8345 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
8346 to mkmap-flat.awk.
8347 * config/pa/t-slibgcc-hpux: New file.
8348 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
8349 files.
8350 * config/rs6000/libgcc-darwin.10.4.ver,
8351 config/rs6000/libgcc-darwin.10.5.ver: New files.
8352 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
8353 config/rs6000/libgcc-glibc.ver.
8354 * config/rs6000/libgcc-ppc64.ver: Rename to
8355 config/rs6000/libgcc-ibm-ldouble.ver.
8356 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
8357 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
8358 * config/rs6000/t-ldbl128: Rename to ...
8359 * config/rs6000/t-linux: ... this.
8360 (SHLIB_MAPFILES): Adapt filename.
8361 * config/rs6000/t-slibgcc-aix: New file.
8362 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
8363 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
8364 libgcc-excl.ver, libgcc-glibc.ver.
8365 (SHLIB_LINK, SHLIB_INSTALL): Remove.
8366 * config/sparc/libgcc-glibc.ver: New file.
8367 * config/sparc/t-linux: New file.
8368 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
8369 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
8370 t-slibgcc-elf-ver to tmake_file.
8371 Add t-slibgcc-nolc-override to tmake_file for posix threads on
8372 *-*-freebsd[34].
8373 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8374 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
8375 t-slibgcc-elf-ver, t-linux to tmake_file.
8376 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
8377 tmake_file.
8378 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
8379 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
8380 (alpha*-dec-*vms*): Likewise.
8381 (arm*-*-freebsd*): Append to tmake_file.
8382 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
8383 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
8384 arm*-*-linux-*eabi.
8385 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
8386 tmake_file for arm*-*-symbianelf*.
8387 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
8388 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
8389 cris/t-linux.
8390 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
8391 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
8392 pa/t-slibgcc-dwarf-ver to tmake_file.
8393 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
8394 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
8395 (hppa*64*-*-hpux11*): Likewise.
8396 (hppa[12]*-*-hpux11*): Likewise.
8397 (x86_64-*-darwin*): Don't override tmake_file, but only keep
8398 i386/t-crtpc, i386/t-crtfm.
8399 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
8400 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8401 to tmake_file.
8402 Add i386/t-cygwin to tmake_file.
8403 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
8404 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
8405 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
8406 to tmake_file.
8407 Add i386/t-mingw32 to tmake_file.
8408 (x86_64-*-mingw*): Likewise.
8409 (ia64*-*-freebsd*): Append to tmake_file.
8410 (ia64*-*-linux*): Append to tmake_file.
8411 Replace ia64/t-glibc by ia64/t-linux.
8412 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
8413 system libunwind.
8414 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
8415 t-slibgcc-hpux to tmake_file.
8416 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
8417 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
8418 (m32rle-*-linux*): Likewise.
8419 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
8420 sjlj exceptions.
8421 (microblaze*-linux*): New case.
8422 Append to tmake_file, add t-slibgcc-nolc-override.
8423 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
8424 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8425 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
8426 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8427 rs6000/t-slibgcc-aix to tmake_file.
8428 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8429 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8430 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8431 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8432 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8433 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
8434 sh*-*-linux*.
8435 (sparc-*-linux*): Append to tmake_file for *-leon*.
8436 Add sparc/t-linux to tmake_file for non-Leon targets.
8437 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
8438 (tic6x-*-uclinux): New case.
8439 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
8440 (tic6x-*-*): Add c6x/t-elf to tmake_file.
8441 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
8442 (am33_2.0-*-linux*): Append to tmake_file.
8443 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
8444 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
8445 x86_64-*-kfreebsd*-gnu.
8446 Add i386/t-linux to tmake_file.
8447
18b4bd7b
ILT
84482011-10-28 Ian Lance Taylor <iant@google.com>
8449
8450 * config/i386/morestack.S: Correct CFI information to do proper
8451 returns throughout function. In 32-bit mode, save %ebx so that it
8452 is restored on unwind.
8453
5b2d9d90
BS
84542011-10-25 Bernd Schmidt <bernds@codesourcery.com>
8455
8456 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
8457 case where B3 isn't the return register.
8458
0d53e346
BS
8459 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
8460 logic for doubleword pops.
8461
cbffbd59
AT
84622011-10-25 Andreas Tobler <andreast@fgznet.ch>
8463
8464 * config/rs6000/t-freebsd: Add wildcard.
8465
56dc349e
PB
84662011-10-21 Paul Brook <paul@codesourcery.com>
8467
8468 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
8469
1e06b07d
UB
84702011-10-16 Uros Bizjak <ubizjak@gmail.com>
8471 Eric Botcazou <ebotcazou@adacore.com>
8472
8473 PR target/50737
8474 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
8475 fs->signal_frame to 1.
8476
b5204884
ILT
84772011-10-07 Ian Lance Taylor <iant@google.com>
8478
8479 * generic-morestack-thread.c: #include <errno.h>.
8480
91a639a1
ILT
84812011-10-07 Ian Lance Taylor <iant@google.com>
8482
8483 PR target/46093
8484 * generic-morestack.c (__generic_morestack): Make sure the segment
8485 is large enough for both the stack frame and the copied
8486 parameters.
8487
cc49116d
RO
84882011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8489
8490 PR bootstrap/49804
8491 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
8492 extra_parts.
8493
2996d8c3
NC
84942011-09-28 Nick Clifton <nickc@redhat.com>
8495
8496 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
8497 64-bit doubles are not enabled.
8498 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
8499 and floatunsisf functions.
8500
1e874273 85012011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 8502
1e874273
PB
8503 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
8504 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
8505 * unwind-arm-common.inc: New file.
8506 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
8507 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
8508 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
8509 * config/c6x/libunwind.S: New file.
8510 * config/c6x/pr-support.c: New file.
8511 * config/c6x/unwind-c6x.c: New file.
8512 * config/c6x/unwind-c6x.h: New file.
8513 * config/c6x/t-c6x-elf: New file.
8514
f70c879a
UB
85152011-08-23 Uros Bizjak <ubizjak@gmail.com>
8516
8517 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
8518 (ASM_DIVZERO): Ditto.
8519 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
8520
c55b374b
RS
85212011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
8522
8523 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
8524
1e138510
RS
85252011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
8526
8527 PR target/50090
8528 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
8529 instead of an assembly one.
8530
1563503d
PB
85312011-08-12 Paolo Bonzini <bonzini@gnu.org>
8532
8533 PR bootstrap/50047
8534 * Makefile.in (install-unwind_h): Create
8535 $(gcc_objdir)/include/unwind.h atomically.
8536
3627ac1a
RO
85372011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8538
8539 * Makefile.in (install-unwind_h): Remove destination file first.
8540
c6412d86
RO
85412011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8542
8543 * sync.c: New file.
8544 * config/mips/t-mips16: New file.
8545 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
8546 (mips*-*-linux*): Likewise.
8547 (mips*-sde-elf*): Likewise.
8548 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
8549 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
8550 Add mips/t-mips16 to tmake_file.
8551 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
8552 (mips-*-elf*): Likewise.
8553 (mips64-*-elf*): Likewise.
8554 (mips64orion-*-elf*): Likewise.
8555 (mips*-*-rtems*): Likewise.
8556 (mipstx39-*-elf*): Likewise.
8557 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
8558 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
8559 LIBGCC_SYNC_CFLAGS.
8560 Use $(srcdir) to refer to sync.c.
8561 Use $<.
8562 ($(libgcc-sync-funcs-o)): Likewise.
8563 ($(libgcc-sync-size-funcs-s-o)): Likewise.
8564 ($(libgcc-sync-funcs-s-o)): Likewise.
8565
3cb6e5bd
AS
85662011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8567
8568 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
8569 t-libunwind.
8570
cca2207a
L
85712011-08-08 H.J. Lu <hongjiu.lu@intel.com>
8572
8573 PR other/48007
8574 * config/i386/value-unwind.h: New.
8575
ed39fbad
RS
85762011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
8577
8578 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
8579 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
8580 Add to tmake_file rather than overriding it.
8581
aca0b0b3
RO
85822011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8583
8584 * config/t-softfp: Remove.
8585 * soft-fp: Moved from ../gcc/config.
8586 * soft-fp/README: Remove t-softfp reference.
8587 * soft-fp/t-softfp: Move to config/t-softfp.
8588 (softfp_machine_header): Remove.
8589 (softfp_file_list): Remove config subdir.
8590 (soft-fp-objects): New variable.
8591 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
8592 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
8593 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
8594 * config/t-softfp-excl: New file.
8595 * config/t-softfp-sfdf: New file.
8596 * config/t-softfp-tf: New file.
8597 * config/no-sfp-machine.h: New file.
8598 * config/arm/sfp-machine.h: New file.
8599 * config/arm/t-softfp: New file.
8600 * config/c6x/sfp-machine.h: New file.
8601 * config/i386/32/t-fprules-softfp: Rename to ...
8602 * config/i386/32/t-softfp: ... this.
8603 (tifunctions, LIB2ADD): Remove.
8604 (softfp_int_modes): Override.
8605 * config/i386/64/t-softfp-compat (tf-functions): Remove config
8606 subdir.
8607 * config/i386/64/eqtf2.c: Likewise.
8608 * config/i386/64/getf2.c: Likewise.
8609 * config/i386/64/letf2.c: Likewise.
8610 * config/ia64/sft-machine.h: New file.
8611 * config/ia64/t-fprules-softfp: Rename to ...
8612 * config/ia64/t-softfp: ... this.
8613 * config/lm32/sfp-machine.h: New file.
8614 * config/moxie/t-moxie-softfp: Remove.
8615 * config/rs6000/ibm-ldouble-format: New file.
8616 * config/rs6000/ibm-ldouble.c: New file.
8617 * config/rs6000/libgcc-ppc-glibc.ver: New file
8618 * config/rs6000/libgcc-ppc64.ver: New file
8619 * config/rs6000/sfp-machine.h: New file.
8620 * config/rs6000/t-freebsd: New file.
8621 * config/rs6000/t-ibm-ldouble: New file.
8622 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
8623 libgcc-ppc-glibc.ver.
8624 * config/rs6000/t-linux64: New file.
8625 * config/rs6000/t-ppccomm (LIB2ADD): Add
8626 $(srcdir)/config/rs6000/ibm-ldouble.c.
8627 * config/rs6000/t-ppccomm-ldbl: New file.
8628 * config/score/sfp-machine.h: New file.
8629 * config.host (sfp_machine_header): Explain.
8630 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
8631 t-softfp to tmake_file.
8632 (arm*-*-uclinux*): Likewise.
8633 (arm*-*-ecos-elf): Likewise.
8634 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
8635 (arm*-*-rtems*): Likewise.
8636 (arm*-*-elf): Likewise.
8637 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
8638 in tmake_file.
8639 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
8640 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
8641 (lm32-*-uclinux*): Likewise.
8642 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
8643 t-softfp-excl, t-softfp.
8644 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
8645 (powerpc64-*-darwin*): Likewise.
8646 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
8647 to tmake_file.
8648 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
8649 tmake_file.
8650 (powerpc-*-eabisim*): Likewise.
8651 (powerpc-*-elf*): Likewise.
8652 (powerpc-*-eabialtivec*): Likewise.
8653 (powerpc-xilinx-eabi*): Likewise.
8654 (powerpc-*-rtems*): Likewise.
8655 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
8656 t-softfp-excl, t-softfp to tmake_file.
8657 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
8658 rs6000/t-ppccomm-ldbl to tmake_file.
8659 (powerpcle-*-elf*): Likewise.
8660 (powerpcle-*-eabisim*): Likewise.
8661 (powerpcle-*-eabi*): Likewise.
8662 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8663 rs6000/t-ibm-ldouble to tmake_file.
8664 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8665 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8666 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
8667 (tic6x-*-*): Likewise.
8668 (i[34567]86-*-darwin*, x86_64-*-darwin*,
8669 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
8670 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
8671 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
8672 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
8673 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
8674 t-softfp to tmake_file.
8675 * configure.ac (sfp_machine_header): Provide default if unset.
8676 Substitute.
8677 Link sfp-machine.h to config/$sfp_machine_header.
8678 * configure: Regenerate.
8679
569dc494
RO
86802011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8681
8682 * Makefile.in (double_type_size, long_double_type_size): Set.
8683 Remove $(fpbit-in-libgcc) support.
8684 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
8685 (fpbit-src): New variable.
8686 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
8687 Compile with -DFLOAT $(FPBIT_CFLAGS).
8688 Use $<.
8689 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
8690 Compile with $(FPBIT_CFLAGS).
8691 Use $<.
8692 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
8693 Compile with -DFLOAT $(TPBIT_CFLAGS).
8694 Use $<.
8695 * configure.ac (double_type_size, long_double_type_size):
8696 Determine and substitute.
8697 * configure: Regenerate.
8698 * fp-bit.c, fp-bit.h: New files.
8699 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
8700 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
8701 * config/mips/t-mips: New file.
8702 * config/mips/t-sdemtk: New file.
8703 * config/rs6000/ppc64-fp.c: New file.
8704 * config/rs6000/t-darwin (LIB2ADD): Add
8705 $(srcdir)/config/rs6000/ppc64-fp.c.
8706 * config/rs6000/t-ppc64-fp: New file.
8707 * config/rx/rx-lib.h: New file.
8708 * config/rx/t-rx (FPBIT): Set to true.
8709 ($(gcc_objdir)/fp-bit.c): Remove.
8710 (DPBIT): Set to true only with -m64bit-doubles.
8711 ($(gcc_objdir)/dp-bit.c): Remove.
8712 * config/sparc/t-softfp: Remove.
8713 * config/spu/t-elf: New file.
8714 * config/t-fdpbit, config/t-fpbit: New files.
8715 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
8716 (mips*-*-*): Likewise.
8717 (arm-wrs-vxworks): Likewise.
8718 (arm*-*-freebsd*): Likewise.
8719 (avr-*-rtems*): Add t-fpbit to tmake_file.
8720 (avr-*-*): Likewise.
8721 (bfin*-elf*): Add t-fdpbit to tmake_file.
8722 (bfin*-uclinux*): Likewise.
8723 (bfin*-linux-uclibc*): Likewise.
8724 (bfin*-rtems*): New case.
8725 Add t-fdpbit to tmake_file.
8726 (bfin*-*): Add t-fdpbit to tmake_file.
8727 (crisv32-*-elf): Likewise.
8728 (cris-*-linux*): Likewise.
8729 (fr30-*-elf): Likewise.
8730 (frv-*-elf, frv-*-*linux*): Likewise.
8731 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
8732 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
8733 (m32r-*-elf*): Likewise.
8734 (m32rle-*-elf*): Likewise.
8735 (m32r-*-linux*): Likewise.
8736 (m32rle-*-linux*): Likewise.
8737 (mcore-*-elf): Add t-fdpbit to tmake_file.
8738 (microblaze*-*-*): Likewise.
8739 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
8740 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
8741 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
8742 Fix typo.
8743 Add mips/t-tpbit to tmake-file.
8744 (mips*-*-linux*): Fix typo.
8745 (mips*-sde-elf*): New case
8746 Add mips/t-sdemtk unless using newlib.
8747 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
8748 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
8749 (mn10300-*-*): Likewise.
8750 (pdp11-*-*): Likewise.
8751 (picochip-*-*): Add t-fpbit to tmake_file.
8752 (powerpc-*-eabisimaltivec*): Likewise.
8753 (powerpc-*-eabisim*): Likewise.
8754 (powerpc-*-elf*): Likewise.
8755 (powerpc-*-eabialtivec*): Likewise.
8756 (powerpc-xilinx-eabi*): New case.
8757 Add t-fdpbit to tmake_file.
8758 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
8759 (powerpc-*-rtems*): Likewise.
8760 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
8761 tmake_file.
8762 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
8763 tmake_file.
8764 (powerpc-*-lynxos*): Likewise.
8765 (powerpcle-*-elf*): Likewise.
8766 (powerpcle-*-eabisim*): Likewise.
8767 (powerpcle-*-eabi*): Likewise.
8768 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
8769 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
8770 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8771 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8772 (rx-*-elf): Add t-fdpbit to tmake_file.
8773 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
8774 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
8775 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
8776 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
8777 sh*-*-netbsd*.
8778 (sh-*-rtems*): Add t-fdpbit to tmake_file.
8779 (sh-wrs-vxworks): Likewise.
8780 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
8781 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
8782 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
8783 (sparc64-*-rtems*): ... new case.
8784 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
8785 (spu-*-elf*): Likewise.
8786 Add spu/t-elf to tmake_file.
8787 (v850*-*-*): Add t-fdpbit to tmake_file.
8788 (xstormy16-*-elf): Likewise.
8789 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
8790 (mep*-*-*): Likewise.
8791
201cdb74
RO
87922011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8793
8794 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
8795 variables.
8796 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
8797 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
8798 (install-unwind_h): New target.
8799 (all): Depend on it.
8800 * config.host (unwind_header): New variable.
8801 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
8802 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
8803 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
8804 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
8805 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
8806 Set unwind_header.
8807 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
8808 Set unwind_header.
8809 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
8810 arm*-*-eabi*.
8811 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
8812 Set unwind_header.
8813 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
8814 (ia64*-*-freebsd*): Likewise.
8815 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
8816 tmake_file.
8817 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
8818 $with_system_libunwind.
8819 (ia64*-*-hpux*): Set tmake_file.
8820 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
8821 (picochip-*-*): Set tmake_file.
8822 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
8823 md_unwind_header.
8824 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
8825 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
8826 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
8827 (xtensa*-*-elf*): Set tmake_file.
8828 (xtensa*-*-linux*): Likewise.
8829 * configure.ac: Include ../config/unwind_ipinfo.m4.
8830 Call GCC_CHECK_UNWIND_GETIPINFO.
8831 Link unwind.h to $unwind_header.
8832 * configure: Regenerate.
8833 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
8834 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
8835 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
8836 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
8837 * config/unwind-dw2-fde-darwin.c: New file.
8838 * config/arm/libunwind.S, config/arm/pr-support.c,
8839 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
8840 config/arm/unwind-arm.h,: New files.
8841 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
8842 config/ia64/t-eh-ia64, config/ia64/t-glibc,
8843 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
8844 config/ia64/t-vms, config/ia64/unwind-ia64.c,
8845 config/ia64/unwind-ia64.h: New files.
8846 * config/picochip/t-picochip: New file.
8847 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
8848 files.
8849 * config/rs6000/t-darwin (LIB2ADDEH): Set.
8850 * config/s390/t-tpf (LIB2ADDEH): Remove.
8851 * config/t-darwin (LIB2ADDEH): Set.
8852 * config/t-eh-dw2-dip: New file.
8853 * config/t-libunwind, config/t-libunwind-elf: New files.
8854 * config/t-sol2 (LIB2ADDEH): Remove.
8855 * config/xtensa/t-xtensa: New file.
8856
40f2f11f
L
88572011-08-02 H.J. Lu <hongjiu.lu@intel.com>
8858
8859 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
8860 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
8861 long long to check rt_sigreturn syscall.
8862
bd15e32c
AM
88632011-08-02 Alan Modra <amodra@gmail.com>
8864
8865 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8866 Restore for indirect call bcrtl from correct stack slot, and only
8867 if cfa+40 isn't valid.
8868
655b30bf
JB
88692011-08-01 Julian Brown <julian@codesourcery.com>
8870
8871 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
8872 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
8873 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
8874
247eb06f
JB
88752011-08-01 Julian Brown <julian@codesourcery.com>
8876
8877 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
8878 (libgcc-std.ver.in): Use above.
8879 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
8880 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
8881 throughout file.
8882 * config/t-fixedpoint-gnu-prefix: New file.
8883 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
8884 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
8885 instead of __PFX__.
8886
02a8fe00
L
88872011-07-28 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
8890 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
8891 for x86-64. Properly check __x86_64__ and __LP64__.
8892
5fce9126
L
88932010-07-28 H.J. Lu <hongjiu.lu@intel.com>
8894
8895 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
8896 version.
8897 (_FP_WS_TYPE): Likewise.
8898 (_FP_I_TYPE): Likewise.
8899
2374a88a
AM
89002011-07-28 Alan Modra <amodra@gmail.com>
8901
8902 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
8903 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
8904 in a plt call stub. Do restore r2 if stopped on bctrl.
8905
e44dbbe1
RO
89062011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8907
8908 * config.host (i[3456x]86-*-netware*): Remove.
8909 * config/i386/netware-crt0.c, config/i386/t-nwld,
8910 config/i386/t-slibgcc-nwld: Remove.
8911
bcead286
BS
89122011-07-15 Bernd Schmidt <bernds@codesourcery.com>
8913
8914 * config.host: Handle tic6x-*-*.
8915 * config/c6x/c6x-abi.h: New file.
8916
b3fe1584
RO
89172011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8918
8919 * config/i386/crtprec.c: New file.
8920 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
8921 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
8922 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
8923 (x86_64-*-darwin*): Likewise.
8924 (i[34567]86-*-solaris2*: Likewise.
8925
35d8090d
RO
89262011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8927
8928 * config/alpha/crtfastmath.c: New file.
8929 * config/i386/crtfastmath.c: New file.
8930 * config/ia64/crtfastmath.c: New file.
8931 * config/mips/crtfastmath.c: New file.
8932 * config/sparc/crtfastmath.c: New file.
8933
8934 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
8935 crtfastmath.c.
8936 Add -frandom-seed=gcc-crtfastmath.
8937 * config/alpha/t-crtfm: Remove.
8938 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
8939 * config/ia64/t-ia64 (crtfastmath.o): Remove.
8940
8941 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
8942 (alpha*-dec-osf5.1*): Likewise.
8943 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
8944 Add crtfastmath.o to extra_parts.
8945 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
8946 Add crtfastmath.o to extra_parts.
8947 (x86_64-*-darwin*): Likewise.
8948 (x86_64-*-mingw*): Likewise.
8949 (ia64*-*-elf*): Add t-crtfm to tmake_file.
8950 (ia64*-*-freebsd*): Likewise.
8951 (ia64*-*-linux*): Likewise.
8952 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
8953 Add crtfastmath.o to extra_parts.
8954
e141542e
RO
89552011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8956
8957 * config/darwin-crt3.o: New file.
8958 * config/rs6000/darwin-crt2.c: New file.
8959 * config/t-darwin: New file.
8960 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
8961 (crt2.o): New rule.
8962 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
8963 (powerpc-*-darwin*): Add crt2.o to extra_parts.
8964 (powerpc64-*-darwin*): Likewise.
8965
2d1efe2d
RO
89662011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8967
8968 * config/i386/netware-crt0.c: New file.
8969 * config/i386/t-nwld: Rename to ...
8970 * config/i386/t-slibgcc-nwld: ... this.
8971 * config/i386/t-nwld: New file.
8972 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
8973 tmake_file.
8974 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
8975 extra_parts.
8976
4a8bb046
RO
89772011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8978
8979 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
8980 i386/t-crtstuff.
8981 * configure: Regenerate.
8982
2d8d5935
RO
89832011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8984
8985 * dfp-bit.c, dfp-bit.h: New files.
8986 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
8987 variables.
8988 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
8989 ($(d64pbit-o)): Likewise.
8990 ($(d128pbit-o)): Likewise.
8991 * config/t-dfprules: New file.
8992 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
8993 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
8994 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
8995 (x86_64-*-linux*): Likewise.
8996 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
8997 (i[34567]86-*-cygwin*): Likewise.
8998 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
8999 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9000
2c50b2c3
RO
90012011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9002
9003 * Makfile.in (LIBGCOV): New variable.
9004 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
9005 * libgcov.c: New file.
9006
a039d7c2
RO
90072011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9008
9009 * fixed-bit.c, fixed-bit.h: New files.
9010 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
9011 refer to fixed-bit.c.
9012
1e4b2746
JM
90132011-07-07 Joseph Myers <joseph@codesourcery.com>
9014
9015 * config.host (*local*): Remove.
9016
fbdd5d87
RO
90172011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9018
9019 PR target/39150
9020 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
9021 like i?86-*-solaris2.1[0-9]*.
9022 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
9023 * configure.ac (i?86-*-solaris2*): Likewise.
9024 * configure: Regenerate.
9025
9e7714f4
TS
90262011-07-06 Thomas Schwinge <thomas@schwinge.name>
9027
9028 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9029 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
9030 md_unwind_header by splitting out of...
9031 (i[34567]86-*-linux*): ... this.
9032 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
9033 Remove md_unwind_header by splitting out of...
9034 (x86_64-*-linux*): ... this.
9035
6dab9931
GJL
90362011-07-04 Georg-Johann Lay <avr@gjlay.de>
9037
9038 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
9039
4be46d19
NC
90402011-06-28 Nick Clifton <nickc@redhat.com>
9041
9042 * config.host: Recognize all V850 variants.
9043
1da9434b
UB
90442011-06-22 Uros Bizjak <ubizjak@gmail.com>
9045
9046 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
9047
e4d48a4d
RO
90482011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9049
9050 * shared-object.mk (c_flags-$o): Save c_flags.
9051 ($(base)$(objext)): Use it.
9052 ($(base)_s$(objext)): Likewise.
9053
3801c801
BS
90542011-06-21 Bernd Schmidt <bernds@codesourcery.com>
9055
9056 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
9057 * libgcc-std.ver.in (GCC_4.7.0): New section.
9058
0ad8bb3b 90592011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 9060
0ad8bb3b
GJL
9061 PR target/49313
9062 PR target/29524
9063 * config/avr/t-avr: Fix line endings.
9064 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
9065 _parityXX2.
9066
ea963999
OH
90672011-06-14 Olivier Hainque <hainque@adacore.com>
9068 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9069
9070 * config/mips/irix6-unwind.h: New file.
9071 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
9072
b11b0904
EB
90732011-06-10 Eric Botcazou <ebotcazou@adacore.com>
9074
9075 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
9076 (sparc64_fallback_frame_state): Use it.
9077 (sparc64_frob_update_context): Further adjust context.
9078 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
9079 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
9080 * config/sparc/sol2-cn.S: Likewise.
9081
10e48e39
RO
90822011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9083
9084 * enable-execute-stack-empty.c: New file.
9085 * enable-execute-stack-mprotect.c: New file.
9086 * config/i386/enable-execute-stack-mingw32.c: New file.
9087 * config.host (enable_execute_stack): New variable.
9088 Select appropriate variants.
9089 * configure.ac: Link enable-execute-stack.c to
9090 $enable_execute_stack.
9091 * configure: Regenerate.
9092 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
9093 (lib2funcs): Remove _enable_execute_stack.
9094
10c4cabc
DM
90952011-06-09 David S. Miller <davem@davemloft.net>
9096 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9097
9098 * config.host (sparc-*-linux*): Correct md_unwind_header
9099 filename.
9100 (s390x-ibm-tpf*): Fix typo.
9101
aa4203e7
RO
91022011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9103
9104 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
9105 Add crtfastmath.o to extra_parts.
9106 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
9107 mips/t-crtfm.
9108 * config/mips/t-crtfm: Remove.
9109
0defd786
JDA
91102011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9111
9112 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
9113
82f247af
KK
91142011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
9115
9116 * config.host (sh*-*-linux*): Fix typo.
9117
58cd1d70
RO
91182011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9119
9120 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
9121 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
9122 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
9123 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
9124 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
9125 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
9126 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
9127 Wrap in !__MINGW64__.
9128 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
9129 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
9130 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
9131 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
9132 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
9133 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
9134 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
9135 Wrap in !__LP64__.
9136 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
9137 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
9138 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
9139 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
9140 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
9141 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
9142 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
9143 * config/no-unwind.h: New file.
9144 * config.host (md_unwind_header): Document.
9145 Define.
9146 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
9147 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
9148 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
9149 hppa[12]*-*-hpux11*): Set md_unwind_header.
9150 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
9151 Set md_unwind_header.
9152 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
9153 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
9154 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
9155 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
9156 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
9157 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
9158 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
9159 md_unwind_header.
9160 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
9161 * configure: Regenerate.
9162
737346fa
RO
91632011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9164
9165 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
9166 Set tmake_file, extra_parts.
9167 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
9168 Remove O32 support.
9169 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
9170 Remove O32 support.
9171 * config/mips/t-irix6: New file.
9172 * config/mips/t-slibgcc-irix: New file.
9173
c192cee6
RO
91742011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9175
9176 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
9177 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
9178
ee33b5f0
RO
91792011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9180
9181 * configure.ac (target_thread_file): Determine thread model.
9182 * configure: Regenerate.
9183 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
9184 * config/alpha/t-alpha: New file.
9185 * config/alpha/t-crtfm: Use $<.
9186 * config/alpha/t-ieee: New file.
9187 * config/alpha/t-osf-pthread: New file.
9188 * config/alpha/t-slibgcc-osf: New file.
9189 * config/alpha/libgcc-osf5.ver: New file.
9190
0699e415
RO
91912011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9192
9193 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
9194 tmake_file.
9195 Add crtfastmath.o to extra_parts.
9196
a3fab9c2
RO
91972011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9198
9199 * config/gmon-sol2.c: Reindent.
9200 Cleanup comments.
9201 Remove, correct casts.
9202 Use STDERR_FILENO, NULL.
9203 (BASEADDRESS): Remove.
9204 (minbrk): Remove.
9205 (errno, sbrk): Remove declarations.
9206 (monstartup) [hp300]: Remove.
9207 (mcount): Remove.
9208
ca24c5ad
RO
92092011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9210
9211 * Makefile.in (cpu_type): Define.
9212 * config.host (i[34567]86-*-rtems*): Handle it.
9213 (i[34567]86-*-solaris2*): Move body ...
9214 (*-*-solaris2*): ... here.
9215 New case, generalize.
9216 (sparc-*-elf*): Handle it.
9217 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
9218 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
9219 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
9220 Fold into ...
9221 (sparc*-*-solaris2*): ... this.
9222 New case.
9223 (sparc64-*-elf*): Handle it.
9224 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
9225 Merge ../gcc/config/i386/gmon-sol2.c.
9226 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
9227 Use C comments.
9228 Merge ../gcc/config/i386/sol2-gc1.asm.
9229 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
9230 Use C comments.
9231 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
9232 Use C comments.
9233 * config/i386/t-crtfm (crtfastmath.o): Use $<.
9234 * config/i386/t-crtstuff: New file.
9235 * config/i386/t-softfp: New file.
9236 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
9237 $(T)crti.o, $(T)crtn.o): Remove.
9238 (gcrt1.o): New rule.
9239 (TARGET_LIBGCC2_CFLAGS): Remove.
9240 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
9241 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
9242 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
9243 * config/sparc/t-sol2: New file.
9244 * config/sparc/t-crtfm: Move to ...
9245 * config/t-crtfm: ... this.
9246 Use $(cpu_type), $<.
9247 * config/t-crtin: New file.
9248 * config/sparc/t-softfp: New file.
9249 * config/sparc/t-softmul: New file.
9250 * config/t-rtems: New file.
9251 * config/t-slibgcc: New file.
9252 * config/t-slibgcc-elf-ver: New file.
9253 * config/t-slibgcc-gld: New file.
9254 * config/t-slibgcc-sld: New file.
9255 * config/t-sol2: New file.
9256 * configure.ac: Include ../config/lib-ld.m4.
9257 Call AC_LIB_PROG_LD_GNU.
9258 Substitute cpu_type.
9259 * configure: Regenerate.
9260
ad5f3d7b
BS
92612011-05-27 Bernd Schmidt <bernds@codesourcery.com>
9262
9263 PR bootstrap/49173
9264 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
9265 libgcc-std.ver in the build directory.
9266 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
9267 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
9268
cdbf4541
BS
92692011-05-25 Bernd Schmidt <bernds@codesourcery.com>
9270
9271 * libgcc-std.ver.in: New file.
9272 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
9273 variables.
9274 (libgcc-std.ver): New rule.
9275 * config/t-gnu-prefix: New file.
9276
c8028650
RO
92772011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9278
9279 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
9280
4a68b4ca
JM
92812011-05-10 Joseph Myers <joseph@codesourcery.com>
9282
9283 * config/i386/darwin-lib.h: New file.
9284
80cf2e08
JM
92852011-05-10 Joseph Myers <joseph@codesourcery.com>
9286
9287 * config/arm/symbian-lib.h: New.
9288
a3330c9d
CD
92892011-05-04 Chris Demetriou <cgd@google.com>
9290
9291 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
9292 (__x86.get_pc_thunk.bx): ...this.
9293 (__morestack): Adjust for rename, remove undef of __i686.
9294
6ace0756
CD
92952011-05-03 Chris Demetriou <cgd@google.com>
9296
9297 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
9298
ebb9f8b0
JM
92992011-03-22 Joseph Myers <joseph@codesourcery.com>
9300
9301 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
9302 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
9303 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
9304 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
9305 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
9306 Remove cases.
9307
9cfa1499
AT
93082011-03-14 Andreas Tobler <andreast@fgznet.ch>
9309
9310 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
9311 Adjust copyright year.
9312
457186f6
ILT
93132011-03-07 Ian Lance Taylor <iant@google.com>
9314
9315 * generic-morestack.c (__splitstack_find): Adjust returned stack
9316 pointer to include all registers pushed by __morestack.
9317
58c741a6
DK
93182011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
9319
9320 PR target/40125
9321 * configure.ac: Call ACX_NONCANONICAL_TARGET.
9322 (toolexecdir): Calculate and AC_SUBST.
9323 (toolexeclibdir): Likewise.
9324 * Makefile.in (target_noncanonical): Import.
9325 (toolexecdir): Likewise.
9326 (toolexeclibdir): Likewise.
9327 * configure: Regenerate.
9328
26716c44
NF
93292010-12-13 Nathan Froyd <froydnj@codesourcery.com>
9330
9331 PR target/46040
9332 * config/arm/bpabi.h: Rename to...
9333 * config/arm/bpabi-lib.h: ...this.
9334
b595b1a1
RO
93352010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9336
9337 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
9338 appropriate.
9339 * configure: Regenerate.
9340
a3abe41c
NF
93412010-11-24 Nathan Froyd <froydnj@codesourcery.com>
9342
9343 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
9344 __FLOAT_WORD_ORDER__.
9345 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
9346 Delete.
9347
455c8f48
RW
93482010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9349
9350 PR other/46202
9351 * Makefile.in (install-strip): New phony target.
9352
f3824a8b
ILT
93532010-11-07 Ian Lance Taylor <iant@google.com>
9354
9355 PR target/46089
9356 * config/i386/morestack.S (__morestack_large_model): New
9357 function.
9358
18ed6ee4
NF
93592010-10-23 Nathan Froyd <froydnj@codesourcery.com>
9360
9361 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
9362 Delete.
9363 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
9364
8ac7fdcb
NF
93652010-10-14 Nathan Froyd <froydnj@codesourcery.com>
9366
9367 * config/arm/bpabi.h: New file.
9368 * config/frv/frv-abi.h: New file.
9369
cdb388c2
ILT
93702010-10-01 Ian Lance Taylor <iant@google.com>
9371
9372 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
9373 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
9374
ef7c141c
L
93752010-10-01 H.J. Lu <hongjiu.lu@intel.com>
9376
9377 PR target/45858
9378 * config.host: Add the missing `$'.
9379
80920132
ME
93802010-09-30 Michael Eager <eager@eagercon.com>
9381
9382 * config.host: Add microblaze*-*-*.
9383 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
9384 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
9385 udivsi3.asm,umodsi3.asm}: New.
9386
6dace308
ILT
93872010-09-28 Ian Lance Taylor <iant@google.com>
9388
9389 * configure.ac: Adjust CFI test to test assembler directly rather
9390 than checking gcc preprocessor macro.
9391 * configure: Rebuild.
9392
b6110d6d
ILT
93932010-09-27 Ian Lance Taylor <iant@google.com>
9394
9395 * configure.ac: Test whether assembler supports CFI directives.
9396 * config.host: Only add t-stack and i386/t-stack-i386 to
9397 tmake_file if libgcc_cv_cfi is "yes".
9398 * configure: Rebuild.
9399
7458026b
ILT
94002010-09-27 Ian Lance Taylor <iant@google.com>
9401
9402 * generic-morestack.h: New file.
9403 * generic-morestack.c: New file.
9404 * generic-morestack-thread.c: New file.
9405 * config/i386/morestack.S: New file.
9406 * config/t-stack: New file.
9407 * config/i386/t-stack-i386: New file.
9408 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
9409 i386/t-stack-i386 to tmake_file.
9410
5b50fc0c
IS
94112010-09-21 Iain Sandoe <iains@gcc.gnu.org>
9412
9413 * Makefile.in (libgcc-extra-parts): Check for static archives and
9414 invoke ranlib after installing them.
9415 (gcc-extra-parts): Likewise.
9416 (install-leaf): Likewise.
9417
b93cf342
L
94182010-09-14 H.J. Lu <hongjiu.lu@intel.com>
9419
9420 * configure: Regenerated.
9421
996b42ef
KT
94222010-09-10 Kai Tietz <kai.tietz@onevision.com>
9423
b93cf342 9424 * configure: Regenerated.
996b42ef 9425
be1c764e
GP
94262010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
9427 Andrew Pinski <pinskia@gmail.com>
9428
1da9434b 9429 PR target/40959
be1c764e
GP
9430 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
9431
cc0ae0ca
L
94322010-09-06 H.J. Lu <hongjiu.lu@intel.com>
9433
9434 PR target/45524
9435 * configure: Regenerated.
9436
84f47d20
AS
94372010-09-06 Andreas Schwab <schwab@redhat.com>
9438
9439 * configure: Regenerate.
9440
4159fb8d
UB
94412010-09-03 Uros Bizjak <ubizjak@gmail.com>
9442
9443 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
9444 64bit targets.
9445 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
9446 for 64bit targets.
9447
0df8fcc8
UB
94482010-09-03 Uros Bizjak <ubizjak@gmail.com>
9449 Iain Sandoe <iains@gcc.gnu.org>
9450
9451 PR target/45476
9452 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
9453 LIB2FUNCS_EXCLUDE functions.
9454
3c39bca6
AK
94552010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9456
9457 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
9458 Include dfp.m4.
9459 * configure: Regenerate.
9460
d78552bd
UB
94612010-09-01 Uros Bizjak <ubizjak@gmail.com>
9462
9463 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
9464 i386/t-freebsd to tmake_file.
9465 * config/i386/t-freebsd: New file.
9466 * config/i386/libgcc-bsd.ver: New file.
9467
c5b79d4e
NF
94682010-07-23 Nathan Froyd <froydnj@codesourcery.com>
9469
9470 * config.host (powerpc*-eabispe*): Set tmake_file.
9471 (powerpc*-eabi*): Likewise.
9472 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
9473 crtbeginS, crtendS, crtbeginT.
9474
48b09a92
KH
94752010-06-12 Kazu Hirata <kazu@codesourcery.com>
9476
9477 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
9478 to tmake_file. Add crtfastmath.o to extra_parts.
9479 * config/mips/t-crtfm: New.
9480
7d296953 94812010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
9482
9483 * config.host (sparc64-*-rtems*): New target.
9484
ed104137
RO
94852010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9486
9487 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9488 assembler syntax.
9489
3f56ef8b
TS
94902010-04-15 Thomas Schwinge <tschwinge@gnu.org>
9491
9492 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
9493
8c200350
RO
94942010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9495
9496 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
9497 alpha-dec-osf5.0* support.
9498
7d296953 94992010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
9500
9501 * config.host: Add lm32-*-rtems*.
9502
f128db92 95032010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 9504 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
9505
9506 PR target/39048
9507 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
9508 like other remaining 32-bit x86 OSes.
9509 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
9510 assembler syntax.
9511 * config/i386/libgcc-sol2.ver: New file.
9512 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
9513
7d296953 95142010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
9515
9516 PR c/43553
9517 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
9518 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
9519 is used and substitute set_use_emutls.
9520 * configure: Regenerated.
9521
15baf7f8
TG
95222010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
9523
9524 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
9525
7f5441df
RO
95262010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9527
9528 PR target/38085
9529 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
9530 MULTILIB_CFLAGS.
9531 ($(T)gcrt1.o): Likewise.
9532 ($(T)crt1.o): Likewise.
9533 ($(T)crti.o): Likewise.
9534 ($(T)crtn.o): Likewise.
9535
ef74edbd
RW
95362010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9537
9538 PR other/42980
9539 * Makefile.in (install): Use $(MAKE) string in rule, for
9540 parallel make.
9541
e7c914db
HPN
95422010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
9543
9544 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
9545 * config/mmix/t-mmix: New file.
9546 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
9547
1bcb71c4
JH
95482010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
9549
9550 PR java/41991
9551 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
9552 SHLIB_MAPFILES.
9553
e6e50811
AG
95542010-01-04 Anthony Green <green@moxielogic.com>
9555
9556 * config/moxie/crti.asm, config/moxie/crtn.asm,
9557 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
9558 config/moxie/t-moxie: New files.
9559 * config.host: Add t-moxie-softfp reference.
9560
7d296953 95612009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
9562
9563 PR other/39888
9564 * config/t-slibgcc-darwin: Fix embedded rpaths for
9565 --enable-version-specific-runtime-libs, build extension stub
9566 libs exposing features available from current libgcc_s.
9567
7d296953 95682009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 9569
d78552bd
UB
9570 * config.host: Add lm32 targets.
9571 * config/lm32: New directory.
9572 * config/lm32/libgcc_lm32.h: New file.
9573 * config/lm32/_mulsi3.c: New file.
9574 * config/lm32/_udivmodsi4.c: New file.
9575 * config/lm32/_divsi3.c: New file.
9576 * config/lm32/_modsi3.c: New file.
9577 * config/lm32/_udivsi3.c: New file.
9578 * config/lm32/_umodsi3.c: New file.
9579 * config/lm32/_lshrsi3.S: New file.
9580 * config/lm32/_ashrsi3.S: New file.
9581 * config/lm32/_ashlsi3.S: New file.
9582 * config/lm32/crti.S: New file.
9583 * config/lm32/crtn.S: New file.
9584 * config/lm32/t-lm32: New file.
9585 * config/lm32/t-elf: New file.
9586 * config/lm32/t-uclinux: New file.
aa4945c1 9587
65a324b4
NC
95882009-10-26 Nick Clifton <nickc@redhat.com>
9589
9590 * config.host: Add support for RX target.
9591 * config/rx: New directory.
9592 * config/rx/rx-abi-functions.c: New file. Supplementary
9593 functions for libgcc to support the RX ABI.
9594 * config/rx/rx-abi.h: New file. Supplementary header file for
9595 libgcc RX ABI functions.
9596 * config/rx/t-rx: New file: Makefile fragment for building
9597 libgcc for the RX.
9598
dfb3b0e3
UB
95992009-10-09 Uros Bizjak <ubizjak@gmail.com>
9600
9601 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
9602 constraint of y0 to "g".
9603
81dd9fd7
AK
96042009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9605
9606 * config.host: Include the s390 makefile fragments.
9607 * config/s390/32/_fixdfdi.c: New file.
9608 * config/s390/32/_fixsfdi.c: New file.
9609 * config/s390/32/_fixtfdi.c: New file.
9610 * config/s390/32/_fixunsdfdi.c: New file.
9611 * config/s390/32/_fixunssfdi.c: New file.
9612 * config/s390/32/_fixunstfdi.c: New file.
9613 * config/s390/32/t-floattodi: New file.
9614 * config/s390/libgcc-glibc.ver: New file.
9615 * config/s390/t-crtstuff: New file.
9616 * config/s390/t-linux: New file.
9617 * config/s390/t-tpf: New file.
9618
df58e648
RW
96192009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9620
9621 * configure.ac (AC_PREREQ): Bump to 2.64.
9622
79052be3
KK
96232009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
9624
9625 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
9626
5213506e
RW
96272009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9628
9629 * configure: Regenerate.
9630
a9a25daa
DR
96312009-08-09 Douglas B Rupp <rupp@gnat.com>
9632
9633 * config.host (ia64-hp-*vms*): New target.
9634 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
9635 with ia64-hp-*vms*.
9636
6efbd53f
RW
96372009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9638
9639 * configure.ac: Add snippet for maintainer-mode.
9640 * configure: Regenerate.
9641 * Makefile.in (AUTOCONF, configure_deps): New variables.
9642 ($(srcdir)/configure)): New rule, active only with maintainer
9643 mode turned on.
9644
7acf4da6
DD
96452009-06-23 DJ Delorie <dj@redhat.com>
9646
9647 Add MeP port.
9648 * config.host: Add mep support.
9649
54f549af
KT
96502009-06-22 Kai Tietz <kai.tietz@onevision.com>
9651
34481f28 9652 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9653 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
9654
9655 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
9656 for mingw targets.
54f549af
KT
9657 * config/i386/64/_multc3.c: Likewise.
9658 * config/i386/64/_powitf2.c: Likewise.
9659 * config/i386/64/eqtf2.c: Likewise.
9660 * config/i386/64/getf2.c: Likewise.
9661 * config/i386/64/letf2.c: Likewise.
9662 * config/i386/64/letf2.c: Likewise.
34481f28
UB
9663 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
9664 unsigned long long for x64 mingw targets.
9665 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
9666 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 9667
fea96e25
MR
96682009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
9669
9670 * config.host (vax-*-linux*): New.
9671
cceb575c
AG
96722009-05-31 Anthony Green <green@moxielogic.com>
9673
9674 * config.host: Add moxie support.
9675 * config/moxie/t-moxie: New file.
9676
7d296953 96772009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
9678
9679 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 9680 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 9681
532bfb0a
AJ
96822009-04-17 Aurelien Jarno <aurelien@aurel32.net>
9683
9684 * config.host: Add i386/${host_address}/t-fprules-softfp to
9685 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
9686
748086b7
JJ
96872009-04-09 Nick Clifton <nickc@redhat.com>
9688
9689 * config/ia64/tf-signs.c: Change copyright header to refer to
9690 version 3 of the GNU General Public License with version 3.1
9691 of the GCC Runtime Library Exception and to point readers at
9692 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
9693 web page.
9694 * config/i386/32/tf-signs.c: Likewise.
9695 * config/libbid/_addsub_dd.c: Likewise.
9696 * config/libbid/_addsub_sd.c: Likewise.
9697 * config/libbid/_addsub_td.c: Likewise.
9698 * config/libbid/_dd_to_df.c: Likewise.
9699 * config/libbid/_dd_to_di.c: Likewise.
9700 * config/libbid/_dd_to_sd.c: Likewise.
9701 * config/libbid/_dd_to_sf.c: Likewise.
9702 * config/libbid/_dd_to_si.c: Likewise.
9703 * config/libbid/_dd_to_td.c: Likewise.
9704 * config/libbid/_dd_to_tf.c: Likewise.
9705 * config/libbid/_dd_to_udi.c: Likewise.
9706 * config/libbid/_dd_to_usi.c: Likewise.
9707 * config/libbid/_dd_to_xf.c: Likewise.
9708 * config/libbid/_df_to_dd.c: Likewise.
9709 * config/libbid/_df_to_sd.c: Likewise.
9710 * config/libbid/_df_to_td.c: Likewise.
9711 * config/libbid/_di_to_dd.c: Likewise.
9712 * config/libbid/_di_to_sd.c: Likewise.
9713 * config/libbid/_di_to_td.c: Likewise.
9714 * config/libbid/_div_dd.c: Likewise.
9715 * config/libbid/_div_sd.c: Likewise.
9716 * config/libbid/_div_td.c: Likewise.
9717 * config/libbid/_eq_dd.c: Likewise.
9718 * config/libbid/_eq_sd.c: Likewise.
9719 * config/libbid/_eq_td.c: Likewise.
9720 * config/libbid/_ge_dd.c: Likewise.
9721 * config/libbid/_ge_sd.c: Likewise.
9722 * config/libbid/_ge_td.c: Likewise.
9723 * config/libbid/_gt_dd.c: Likewise.
9724 * config/libbid/_gt_sd.c: Likewise.
9725 * config/libbid/_gt_td.c: Likewise.
9726 * config/libbid/_isinfd128.c: Likewise.
9727 * config/libbid/_isinfd32.c: Likewise.
9728 * config/libbid/_isinfd64.c: Likewise.
9729 * config/libbid/_le_dd.c: Likewise.
9730 * config/libbid/_le_sd.c: Likewise.
9731 * config/libbid/_le_td.c: Likewise.
9732 * config/libbid/_lt_dd.c: Likewise.
9733 * config/libbid/_lt_sd.c: Likewise.
9734 * config/libbid/_lt_td.c: Likewise.
9735 * config/libbid/_mul_dd.c: Likewise.
9736 * config/libbid/_mul_sd.c: Likewise.
9737 * config/libbid/_mul_td.c: Likewise.
9738 * config/libbid/_ne_dd.c: Likewise.
9739 * config/libbid/_ne_sd.c: Likewise.
9740 * config/libbid/_ne_td.c: Likewise.
9741 * config/libbid/_sd_to_dd.c: Likewise.
9742 * config/libbid/_sd_to_df.c: Likewise.
9743 * config/libbid/_sd_to_di.c: Likewise.
9744 * config/libbid/_sd_to_sf.c: Likewise.
9745 * config/libbid/_sd_to_si.c: Likewise.
9746 * config/libbid/_sd_to_td.c: Likewise.
9747 * config/libbid/_sd_to_tf.c: Likewise.
9748 * config/libbid/_sd_to_udi.c: Likewise.
9749 * config/libbid/_sd_to_usi.c: Likewise.
9750 * config/libbid/_sd_to_xf.c: Likewise.
9751 * config/libbid/_sf_to_dd.c: Likewise.
9752 * config/libbid/_sf_to_sd.c: Likewise.
9753 * config/libbid/_sf_to_td.c: Likewise.
9754 * config/libbid/_si_to_dd.c: Likewise.
9755 * config/libbid/_si_to_sd.c: Likewise.
9756 * config/libbid/_si_to_td.c: Likewise.
9757 * config/libbid/_td_to_dd.c: Likewise.
9758 * config/libbid/_td_to_df.c: Likewise.
9759 * config/libbid/_td_to_di.c: Likewise.
9760 * config/libbid/_td_to_sd.c: Likewise.
9761 * config/libbid/_td_to_sf.c: Likewise.
9762 * config/libbid/_td_to_si.c: Likewise.
9763 * config/libbid/_td_to_tf.c: Likewise.
9764 * config/libbid/_td_to_udi.c: Likewise.
9765 * config/libbid/_td_to_usi.c: Likewise.
9766 * config/libbid/_td_to_xf.c: Likewise.
9767 * config/libbid/_tf_to_dd.c: Likewise.
9768 * config/libbid/_tf_to_sd.c: Likewise.
9769 * config/libbid/_tf_to_td.c: Likewise.
9770 * config/libbid/_udi_to_dd.c: Likewise.
9771 * config/libbid/_udi_to_sd.c: Likewise.
9772 * config/libbid/_udi_to_td.c: Likewise.
9773 * config/libbid/_unord_dd.c: Likewise.
9774 * config/libbid/_unord_sd.c: Likewise.
9775 * config/libbid/_unord_td.c: Likewise.
9776 * config/libbid/_usi_to_dd.c: Likewise.
9777 * config/libbid/_usi_to_sd.c: Likewise.
9778 * config/libbid/_usi_to_td.c: Likewise.
9779 * config/libbid/_xf_to_dd.c: Likewise.
9780 * config/libbid/_xf_to_sd.c: Likewise.
9781 * config/libbid/_xf_to_td.c: Likewise.
9782 * config/libbid/bid128.c: Likewise.
9783 * config/libbid/bid128_2_str.h: Likewise.
9784 * config/libbid/bid128_2_str_macros.h: Likewise.
9785 * config/libbid/bid128_2_str_tables.c: Likewise.
9786 * config/libbid/bid128_add.c: Likewise.
9787 * config/libbid/bid128_compare.c: Likewise.
9788 * config/libbid/bid128_div.c: Likewise.
9789 * config/libbid/bid128_fma.c: Likewise.
9790 * config/libbid/bid128_logb.c: Likewise.
9791 * config/libbid/bid128_minmax.c: Likewise.
9792 * config/libbid/bid128_mul.c: Likewise.
9793 * config/libbid/bid128_next.c: Likewise.
9794 * config/libbid/bid128_noncomp.c: Likewise.
9795 * config/libbid/bid128_quantize.c: Likewise.
9796 * config/libbid/bid128_rem.c: Likewise.
9797 * config/libbid/bid128_round_integral.c: Likewise.
9798 * config/libbid/bid128_scalb.c: Likewise.
9799 * config/libbid/bid128_sqrt.c: Likewise.
9800 * config/libbid/bid128_string.c: Likewise.
9801 * config/libbid/bid128_to_int16.c: Likewise.
9802 * config/libbid/bid128_to_int32.c: Likewise.
9803 * config/libbid/bid128_to_int64.c: Likewise.
9804 * config/libbid/bid128_to_int8.c: Likewise.
9805 * config/libbid/bid128_to_uint16.c: Likewise.
9806 * config/libbid/bid128_to_uint32.c: Likewise.
9807 * config/libbid/bid128_to_uint64.c: Likewise.
9808 * config/libbid/bid128_to_uint8.c: Likewise.
9809 * config/libbid/bid32_to_bid128.c: Likewise.
9810 * config/libbid/bid32_to_bid64.c: Likewise.
9811 * config/libbid/bid64_add.c: Likewise.
9812 * config/libbid/bid64_compare.c: Likewise.
9813 * config/libbid/bid64_div.c: Likewise.
9814 * config/libbid/bid64_fma.c: Likewise.
9815 * config/libbid/bid64_logb.c: Likewise.
9816 * config/libbid/bid64_minmax.c: Likewise.
9817 * config/libbid/bid64_mul.c: Likewise.
9818 * config/libbid/bid64_next.c: Likewise.
9819 * config/libbid/bid64_noncomp.c: Likewise.
9820 * config/libbid/bid64_quantize.c: Likewise.
9821 * config/libbid/bid64_rem.c: Likewise.
9822 * config/libbid/bid64_round_integral.c: Likewise.
9823 * config/libbid/bid64_scalb.c: Likewise.
9824 * config/libbid/bid64_sqrt.c: Likewise.
9825 * config/libbid/bid64_string.c: Likewise.
9826 * config/libbid/bid64_to_bid128.c: Likewise.
9827 * config/libbid/bid64_to_int16.c: Likewise.
9828 * config/libbid/bid64_to_int32.c: Likewise.
9829 * config/libbid/bid64_to_int64.c: Likewise.
9830 * config/libbid/bid64_to_int8.c: Likewise.
9831 * config/libbid/bid64_to_uint16.c: Likewise.
9832 * config/libbid/bid64_to_uint32.c: Likewise.
9833 * config/libbid/bid64_to_uint64.c: Likewise.
9834 * config/libbid/bid64_to_uint8.c: Likewise.
9835 * config/libbid/bid_b2d.h: Likewise.
9836 * config/libbid/bid_binarydecimal.c: Likewise.
9837 * config/libbid/bid_conf.h: Likewise.
9838 * config/libbid/bid_convert_data.c: Likewise.
9839 * config/libbid/bid_decimal_data.c: Likewise.
9840 * config/libbid/bid_decimal_globals.c: Likewise.
9841 * config/libbid/bid_div_macros.h: Likewise.
9842 * config/libbid/bid_dpd.c: Likewise.
9843 * config/libbid/bid_flag_operations.c: Likewise.
9844 * config/libbid/bid_from_int.c: Likewise.
9845 * config/libbid/bid_functions.h: Likewise.
9846 * config/libbid/bid_gcc_intrinsics.h: Likewise.
9847 * config/libbid/bid_inline_add.h: Likewise.
9848 * config/libbid/bid_internal.h: Likewise.
9849 * config/libbid/bid_round.c: Likewise.
9850 * config/libbid/bid_sqrt_macros.h: Likewise.
9851
98522009-04-09 Jakub Jelinek <jakub@redhat.com>
9853
9854 * Makefile.in: Change copyright header to refer to version
9855 3 of the GNU General Public License and to point readers at the
9856 COPYING3 file and the FSF's license web page.
9857 * config.host: Likewise.
9858
633dd061
AM
98592009-04-07 Alan Modra <amodra@bigpond.net.au>
9860
9861 * config.host: Reorder and merge to match config.gcc change.
9862
457d1d00
AM
98632009-04-03 Alan Modra <amodra@bigpond.net.au>
9864
9865 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
9866
52c0e446
JM
98672009-03-28 Joseph Myers <joseph@codesourcery.com>
9868
9869 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
9870 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
9871 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
9872 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
9873
ba181049
UB
98742009-02-12 Uros Bizjak <ubizjak@gmail.com>
9875
9876 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
9877 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9878
c252db20
L
98792009-02-12 H.J. Lu <hongjiu.lu@intel.com>
9880
ba181049
UB
9881 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
9882 ia64/t-softfp-compat to tmake_file.
c252db20
L
9883
9884 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
9885
9886 * config/ia64/__divxf3.asm: New.
9887 * config/ia64/_fixtfdi.asm: Likewise.
9888 * config/ia64/_fixunstfdi.asm: Likewise.
9889 * config/ia64/_floatditf.asm: Likewise.
9890 * config/ia64/t-fprules-softfp: Likewise.
9891 * config/ia64/t-softfp-compat: Likewise.
9892 * config/ia64/tf-signs.c: Likewise.
9893
c60535f9
BE
98942009-01-18 Ben Elliston <bje@au.ibm.com>
9895
9896 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
9897
ce16861e
BE
98982009-01-16 Ben Elliston <bje@au.ibm.com>
9899
9900 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
9901 to tmake_file.
9902
bcf4713b
BE
99032009-01-13 Ben Elliston <bje@au.ibm.com>
9904
9905 * config/t-softfp: New file.
9906 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
9907 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
9908
7d296953 99092009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
9910
9911 * config.host: Add m32r*-*-rtems*.
9912
7d296953 99132008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
9914
9915 * config.host: Add m32c*-*-rtems*.
9916
19523300
RO
99172008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9918
9919 PR bootstrap/33100
9920 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
9921 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
9922 * configure: Regenerate.
9923 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
9924 tmake_file here from gcc/config.gcc.
9925 Move extra_parts here from gcc/config.gcc.
9926 * config/i386/t-sol2: Move here from gcc/config/i386.
9927 Use gcc_srcdir instead of srcdir.
9928
0a4a51c7
AN
99292008-11-18 Adam Nemet <anemet@caviumnetworks.com>
9930
9931 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
9932 case.
9933
2a761e46
TS
99342008-11-09 Thomas Schwinge <tschwinge@gnu.org>
9935
9936 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
9937
c0451df7
TS
99382008-10-08 Thomas Schwinge <tschwinge@gnu.org>
9939
9940 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
9941
358da97e
HS
99422008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
9943
9944 Add picoChip port.
9945 * config.host: Add picochip-*-*.
9946
c660f132
BW
99472008-08-06 Bob Wilson <bob.wilson@acm.org>
9948
9949 * config.host: Match more processor names for Xtensa.
9950
d1349557
L
99512008-07-08 H.J. Lu <hongjiu.lu@intel.com>
9952
9953 * config/i386/64/t-softfp-compat: Update comments.
9954
dd7b73c0
L
99552008-07-07 H.J. Lu <hongjiu.lu@intel.com>
9956
9957 * config/i386/64/_divtc3-compat.c: Moved to ...
9958 * config/i386/64/_divtc3.c: Here.
9959
9960 * config/i386/64/_multc3-compat.c: Moved to ...
9961 * config/i386/64/_multc3.c: Here.
9962
9963 * config/i386/64/_powitf2-compat.c: Moved to ...
9964 * config/i386/64/_powitf2.c: Here.
9965
9966 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
9967 .c suffix instead of -compat.c.
9968
6e1fab3d
UB
99692008-07-05 Uros Bizjak <ubizjak@gmail.com>
9970
9971 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
9972 (_FP_MUL_MEAT_D): Ditto.
9973 (_FP_DIV_MEAT_S): Ditto.
9974 (_FP_DIV_MEAT_D): Ditto.
9975
f92518d7
RS
99762008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
9977
9978 * Makefile.in: Add support for __sync_* libgcc functions.
9979
d0aede14
L
99802008-07-03 H.J. Lu <hongjiu.lu@intel.com>
9981
9982 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
9983
c174f11c
L
99842008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9985
9986 PR boostrap/36702
9987 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
9988 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
9989
9990 * config/i386/64/t-fprules-softfp: Moved to ...
9991 * config/i386/64/t-softfp-compat: This. New.
9992
5f464fa2
UB
99932008-07-02 Uros Bizjak <ubizjak@gmail.com>
9994
9995 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
9996 Initialize f with 0.0.
9997
ff473280
L
99982008-07-02 H.J. Lu <hongjiu.lu@intel.com>
9999
10000 PR target/36669
10001 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
10002
10003 * config/i386/64/_divtc3-compat.c: New.
10004 * config/i386/64/_multc3-compat.c: Likewise.
10005 * config/i386/64/_powitf2-compat.c: Likewise.
10006 * config/i386/64/eqtf2.c: Likewise.
10007 * config/i386/64/getf2.c: Likewise.
10008 * config/i386/64/letf2.c: Likewise.
10009 * config/i386/64/t-fprules-softfp: Likewise.
10010
100112008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10012
10013 * config.host: Add i386/${host_address}/t-fprules-softfp to
10014 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 10015 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
10016
10017 * configure.ac: Set host_address to 64 or 32 for x86.
10018 * configure: Regenerated.
10019
10020 * Makefile.in (config.status): Also depend on
10021 $(srcdir)/config.host.
10022
10023 * config/i386/32/t-fprules-softfp: New.
10024 * config/i386/32/tf-signs.c: Likewise.
10025
10026 * config/i386/64/sfp-machine.h: New. Moved from gcc.
10027
100282008-07-02 H.J. Lu <hongjiu.lu@intel.com>
10029 Uros Bizjak <ubizjak@gmail.com>
10030
10031 * config/i386/32/sfp-machine.h: New.
10032
30551d99
NF
100332008-06-26 Nathan Froyd <froydnj@codesourcery.com>
10034
10035 * config/rs6000/t-ppccomm: Remove rules that conflict with
10036 auto-generated rules.
10037
18c04407
RW
100382008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10039
10040 * configure.ac: sinclude override.m4.
10041 * configure: Regenerate.
10042
10fbe77a
BRF
100432008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
10044
10045 * configure: Regenerate.
10046
bc6d4c3f
JM
100472008-06-10 Joseph Myers <joseph@codesourcery.com>
10048
10049 * Makefile.in (DECNUMINC): Remove
10050 -I$(MULTIBUILDTOP)../../libdecnumber.
10051 * gstdint.h: New.
10052
cd985f66
JM
100532008-06-07 Joseph Myers <joseph@codesourcery.com>
10054
10055 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
10056 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
10057 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
10058 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
10059 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
10060 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
10061 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
10062 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
10063 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
10064 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
10065 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
10066 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
10067 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
10068 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
10069
93fea8d3
AL
100702008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
10071
10072 * config.host (sh2[lbe]*-*-linux*): Allow target.
10073
18724e30
NF
100742008-04-30 Nathan Froyd <froydnj@codesourcery.com>
10075
10076 * config/rs6000/t-ppccomm: Add build rules for new files.
10077 (LIB2ADD_ST): New variable.
10078
47583040
AH
100792008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
10080
10081 PR target/34210
10082 PR target/35508
10083 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
10084 * config/t-avr: New file. Build 16bit libgcc functions.
10085
cf8e67fe
JJ
100862008-03-02 Jakub Jelinek <jakub@redhat.com>
10087
10088 PR target/35401
10089 * config/t-slibgcc-darwin: Make install-leaf dependent on
10090 install-darwin-libgcc-stubs instead of install.
10091
8d8da227
JM
100922008-01-25 Joseph Myers <joseph@codesourcery.com>
10093
10094 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
10095 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
10096 sh-*-rtemscoff*): Remove cases.
10097
edbf8b16
RS
100982007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
10099
10100 * Makefile.in (all): Use install-leaf rather than install.
10101 (install): Split most of the rule into...
10102 (install-leaf): ...this new one.
10103
89deeaff
EK
101042007-12-19 Etsushi Kato <ek.kato@gmail.com>
10105 Paolo Bonzini <bonzini@gnu.org>
10106
10107 PR target/30572
5f464fa2
UB
10108 * Makefile.in: Use @shlib_slibdir@ substitution to get
10109 correct install name on darwin.
89deeaff 10110 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 10111
4081d704
HPN
101122007-12-15 Hans-Peter Nilsson <hp@axis.com>
10113
10114 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
10115 cris-*-elf and cris-*-none.
10116 (crisv32-*-linux*): Similar, as cris-*-linux*.
10117
f43e89a3
RIL
101182007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
10119
10120 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
10121
b4e9c2c6
L
101222007-10-27 H.J. Lu <hongjiu.lu@intel.com>
10123
10124 PR regression/33926
10125 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
10126 * configure: Regenerated.
10127
b2a00c89
L
101282007-09-27 H.J. Lu <hongjiu.lu@intel.com>
10129
10130 * Makefile.in (dfp-filenames): Replace decimal_globals,
10131 decimal_data, binarydecimal and convert_data with
10132 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
10133 and bid_convert_data, respectively.
10134
8d2a9e0e
CF
101352007-09-17 Chao-ying Fu <fu@mips.com>
10136 Nigel Stephens <nigel@mips.com>
10137
10138 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
10139 * Makefile.in (fixed_point): Define.
10140 Check if fixed_point is yes to build support functions.
10141 * configure.ac: Check for fixed_point support.
10142 * configure: Regenerated.
10143 * gen-fixed.sh: New file to generate lists of fixed-point labels,
10144 funcs, modes, from, to.
10145
2b53935d
JJ
101462007-09-11 Janis Johnson <janis187@us.ibm.com
10147
10148 * Makefile.in (dfp-filenames): Add bid128_noncomp.
10149
2533577f
JJ
101502007-09-10 Janis Johnson <janis187@us.ibm.com>
10151
10152 * Makefile.in (dfp-filenames): Remove decUtility, add
10153 decDouble, decPacked, decQuad, decSingle.
10154
3ae3dbd6
HK
101552007-08-27 Hans Kester <hans.kester@ellips.nl>
10156
10157 * config.host : Add x86_64-elf target.
10158
22867d02
L
101592007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10160
10161 * configure.ac (set_have_cc_tls): Add a missing =.
10162 * configure: Regenerated.
10163
6f461e76
L
101642007-07-06 H.J. Lu <hongjiu.lu@intel.com>
10165
10166 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
10167 and x86_64-*-linux*.
10168
10169 * config/t-tls: New file.
10170
dfb3b0e3 10171 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
10172
10173 * configure.ac: Include ../config/enable.m4 and
10174 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
10175 supports TLS and substitute set_have_cc_tls.
10176 * configure: Regenerated.
10177
200359e8
L
101782007-07-04 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 * Makefile.in: Use libbid for DFP when BID is enabled.
10181
76f5e200
DS
101822007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
10183
10184 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 10185 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
10186 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
10187
9bd196f0 101882007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 10189 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
10190
10191 PR target/29498
10192 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
10193 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
10194 * config/i386/t-crtfm: Compile crtfastmath.o with
10195 -minline-all-stringops.
10196
1910440e
RS
101972007-05-10 Richard Sandiford <richard@codesourcery.com>
10198
10199 * config.host (sparc-wrs-vxworks): New target.
10200
7d33c31d
KH
102012007-04-14 Kazu Hirata <kazu@codesourcery.com>
10202
10203 * config.host: Recognize fido.
10204
96fccd0d
JJ
102052007-04-04 Janis Johnson <janis187@us.ibm.com>
10206
10207 * configure: Check host, not target, for decimal float support.
10208
577565f9
UB
102092007-04-03 Uros Bizjak <ubizjak@gmail.com>
10210
10211 * config/i386/t-crtpc: New file.
10212 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 10213 (x86_64-*-linux*): Ditto.
577565f9 10214
ccf8e764
RH
102152007-02-30 Kai Tietz <kai.tietz@onevision.com>
10216
10217 * config.host (x86_64-*-mingw*): New target.
10218
79b87c74
MM
102192007-03-23 Michael Meissner <michael.meissner@amd.com>
10220 H.J. Lu <hongjiu.lu@intel.com>
10221
10222 * Makefile.in (enable_decimal_float): New.
10223 (DECNUMINC): Add
10224 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
10225 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
10226 (decbits-filenames): This.
10227 (decbits-objects): New.
10228 (libgcc-objects): Add $(decbits-objects).
10229
10230 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
10231 Substitute enable_decimal_float.
10232 * configure: Regenerated.
10233
8fce4e31
HPN
102342007-03-19 Hans-Peter Nilsson <hp@axis.com>
10235
10236 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
10237
e8bb4597
BM
102382007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
10239
10240 * Makefile.in (install-info): New dummy target.
10241
344189f9
BS
102422007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
10243
10244 * config.host (bfin*-linux-uclibc*): Set extra_parts.
10245
ac84c172
BM
102462007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
10247
10248 * Makefile.in: Add install-html and install-pdf dummy
10249 targets.
10250
cd5c2357
RS
102512007-02-05 Roger Sayle <roger@eyesopen.com>
10252 Daniel Jacobowitz <dan@codesourcery.com>
10253
10254 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
10255 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
10256 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
10257
d9a66f98
JJ
102582007-01-29 Janis Johnson <janis187@us.ibm.com>
10259
10260 * Makefile.in (dec-filenames): Add decExcept.
10261
9891ec5f
DJ
102622007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
10263
10264 PR bootstrap/30469
10265 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
10266 -fprofile-use.
10267
d6efbf5a
DJ
102682007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
10269
10270 * configure.ac: Add --enable-version-specific-runtime-libs.
10271 Correct $slibdir default.
10272 * configure: Regenerated.
10273
17caeff2
JM
102742007-01-23 Joseph Myers <joseph@codesourcery.com>
10275
10276 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
10277
5ea41e3a
AP
102782007-01-21 Andrew Pinski <pinskia@gmail.com>
10279
10280 PR target/30519
10281 * config.host (alpha*-*-linux*): Set extra_parts.
10282
26900826
KK
102832007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
10284
10285 * config/sh/t-linux: New.
10286 * config.host (sh*-*-linux*): Set tmake_file.
10287
97af925b
DJ
102882007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
10289
10290 * Makefile.in (install): Handle multilibs.
10291
b0088af7
BM
102922007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10293
10294 * Makefile.in: Added .PHONY entry for documentation targets.
10295
e0a9456a
BM
102962007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
10297
10298 * Makefile.in: Add empty info, html, dvi, pdf targets.
10299
7fd453b4
MS
103002007-01-04 Mike Stump <mrs@apple.com>
10301
10302 * Makefile.in (MAKEINFO): Remove.
10303 (PERL): Likewise.
10304
14e8fc8b
PB
103052007-01-04 Paolo Bonzini <bonzini@gnu.org>
10306
10307 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
10308 * configure: Regenerate.
10309 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 10310 (gcc_objdir): Use it.
14e8fc8b 10311
1555beba
DJ
103122007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10313
10314 * config.host (ia64*-*-linux*): Set tmake_file.
10315
79e6eaeb
DJ
103162007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
10317
10318 * Makefile.in (version): Define.
10319
fa958513
DJ
103202007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
10321 Paolo Bonzini <bonzini@gnu.org>
10322
10323 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
10324 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
10325 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
10326 config/sparc/t-crtfm, config/t-slibgcc-darwin,
10327 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
10328 shared-object.mk, siditi-object.mk, static-object.mk: New files.
10329 * configure: Generated.
818ab71a 10330\f
a5544970 10331Copyright (C) 2007-2019 Free Software Foundation, Inc.
818ab71a
JJ
10332
10333Copying and distribution of this file, with or without modification,
10334are permitted in any medium without royalty provided the copyright
10335notice and this notice are preserved.