]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Set proper internal functions fnspec (PR sanitizer/84307).
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
f8de876d
IT
12018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2
3 PR target/84239
4 * config/i386/shadow-stack-unwind.hi (_Unwind_Frames_Extra):
5 Use new _get_ssp and _inc_ssp intrinsics.
6
02da1e9c
JK
72018-02-02 Julia Koval <julia.koval@intel.com>
8
9 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
10
048c6a9a
CZ
112018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
12
13 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
14 option.
15 (__divsi3): Use RF16 safe registers.
16 (__modsi3): Likewise.
17
0889f168
MF
182018-01-23 Max Filippov <jcmvbkbc@gmail.com>
19
20 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
21 (__divsf3): Make NaN return value quiet.
22 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
23 (__divdf3): Make NaN return value quiet.
24
bc8b0d04
SP
252018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
26
27 * config/rl78/anddi3.S: New assembly file.
28 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
29
99cc06ea
SP
302018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
31
32 * config/rl78/umindi3.S: New assembly file.
33 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
34
6e9007a0
SP
352018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
36
37 * config/rl78/smindi3.S: New assembly file.
38 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
39
d975e494
SP
402018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
41
42 * config/rl78/smaxdi3.S: New assembly file.
43 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
44
6a18c146 452018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
5dd16013
SP
46
47 * config/rl78/umaxdi3.S: New assembly file.
48 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
49
07baf4a5
JDA
502018-01-21 John David Anglin <danglin@gcc.gnu.org>
51
52 PR lto/83452
53 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
54 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
55
dbc3af4f
RS
562018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
57
58 * config/aarch64/value-unwind.h (aarch64_vg): New function.
59 (DWARF_LAZY_REGISTER_VALUE): Define.
60 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
61 to provide a fallback register value.
62
68df9882
MM
632018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
64
65 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
66 __ibm128, instead of trying to use long double.
67 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
68 accomidate -mabi=ieeelongdouble multilibs.
69 (CVT_IBM128_TO_FLOAT128): Likewise.
70 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
71 the appropriate IBM extended double type.
72 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
73 (__gcc_qsub): Likewise.
74 (__gcc_qmul): Likewise.
75 (__gcc_qdiv): Likewise.
76 (pack_ldouble): Likewise.
77 (__gcc_qneg): Likewise.
78 (__gcc_qeq): Likewise.
79 (__gcc_qne): Likewise.
80 (__gcc_qge): Likewise.
81 (__gcc_qle): Likewise.
82 (__gcc_stoq): Likewise.
83 (__gcc_dtoq): Likewise.
84 (__gcc_itoq): Likewise.
85 (__gcc_utoq): Likewise.
86 (__gcc_qunord): Likewise.
87 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
88 quad-float128.h for the definitions.
89 (COPYSIGN): Use the f128 version instead of the q version.
90 (INFINITY): Likewise.
91 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
92 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
93 quad-float128.h for the definitions.
94 (COPYSIGN): Use the f128 version instead of the q version.
95 (INFINITY): Likewise.
96 (FABS): Likewise.
97 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
98 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
99 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
100
64b371b1
SH
1012018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
102
103 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
104 configuration.
105
85ec4feb
JJ
1062018-01-03 Jakub Jelinek <jakub@redhat.com>
107
108 Update copyright years.
109
1102017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
111
112 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
113 * config/riscv/multi3.c: New file.
114 * config/riscv/multi3.S: Remove.
115
3a4c600f
JW
1162017-12-08 Jim Wilson <jimw@sifive.com>
117
118 * config/riscv/div.S: Use FUNC_* macros.
119 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
120 * config/riscv/save-restore.S: Likewise.
121 * config/riscv/riscv-asm.h: New.
122
75ad35b5
MM
1232017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
124
6ae3512c
MM
125 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
126 * config/rs6000/_divkc3.c (__divkc3): Likewise.
127
75ad35b5
MM
128 PR libgcc/83112
129 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
130 correct type for all ifunc resolvers to silence -Wattribute-alias
131 warnings. Eliminate the forward declaration of the resolver
132 functions which is no longer needed.
133 (__subkf3_resolve): Likewise.
134 (__mulkf3_resolve): Likewise.
135 (__divkf3_resolve): Likewise.
136 (__negkf2_resolve): Likewise.
137 (__eqkf2_resolve): Likewise.
138 (__nekf2_resolve): Likewise.
139 (__gekf2_resolve): Likewise.
140 (__gtkf2_resolve): Likewise.
141 (__lekf2_resolve): Likewise.
142 (__ltkf2_resolve): Likewise.
143 (__unordkf2_resolve): Likewise.
144 (__extendsfkf2_resolve): Likewise.
145 (__extenddfkf2_resolve): Likewise.
146 (__trunckfsf2_resolve): Likewise.
147 (__trunckfdf2_resolve): Likewise.
148 (__fixkfsi_resolve): Likewise.
149 (__fixkfdi_resolve): Likewise.
150 (__fixunskfsi_resolve): Likewise.
151 (__fixunskfdi_resolve): Likewise.
152 (__floatsikf_resolve): Likewise.
153 (__floatdikf_resolve): Likewise.
154 (__floatunsikf_resolve): Likewise.
155 (__floatundikf_resolve): Likewise.
156 (__extendkftf2_resolve): Likewise.
157 (__trunctfkf2_resolve): Likewise.
158
159 PR libgcc/83103
160 * config/rs6000/quad-float128.h (TF): Don't define if long double
161 is IEEE 128-bit floating point.
162 (TCtype): Define as either TCmode or KCmode, depending on whether
163 long double is IEEE 128-bit floating point.
164 (__mulkc3_sw): Add declarations for software/hardware versions of
165 complex multiply/divide.
166 (__divkc3_sw): Likewise.
167 (__mulkc3_hw): Likewise.
168 (__divkc3_hw): Likewise.
169 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
170 handlers to switch between using software emulation and hardware
171 float128 instructions, build the complex multiply/divide functions
172 for both software and hardware support.
173 * config/rs6000/_divkc3.c (_divkc3): Likewise.
174 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
175 (__divkc3_resolve): Likewise.
176 (__mulkc3): Likewise.
177 (__divkc3): Likewise.
178 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
179 (fp128_hw_src): Likewise.
180 (fp128_hw_static_obj): Likewise.
181 (fp128_hw_shared_obj): Likewise.
182 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
183 _mulkc3.c and _divkc3.c, changing the function name.
184 (_divkc3-hw.c): Likewise.
185 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
186 and _divkc3-hw.c.
187
c234d831
UB
1882017-11-26 Julia Koval <julia.koval@intel.com>
189
190 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
191 * config/i386/cpuinfo.h (processor_subtypes): Add
192 INTEL_COREI7_CANNONLAKE.
193
1ebafce0
IT
1942017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
195
196 PR bootstrap/83015
197 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
198 parameter.
199 * config/xtensa/unwind-dw2-xtensa.c: Likewise
200 * config/ia64/unwind-ia64.c: Add frames parameter.
201 * unwind-sjlj.c: Likewise.
202
6a10fff4
IT
2032017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
204
205 * config/i386/linux-unwind.h: Include
206 config/i386/shadow-stack-unwind.h.
207 * config/i386/shadow-stack-unwind.h: New file.
208 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
209 pass it to _Unwind_Frames_Extra.
210 * unwind-generic.h (_Unwind_Frames_Extra): New.
211 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
212 parameter. Add local variable frames to count number of frames.
213 (_Unwind_ForcedUnwind_Phase2): Likewise.
214 (_Unwind_RaiseException): Add local variable frames to count
215 number of frames, pass it to _Unwind_RaiseException_Phase2 and
216 uw_install_context.
217 (_Unwind_ForcedUnwind): Likewise.
218 (_Unwind_Resume): Likewise.
219 (_Unwind_Resume_or_Rethrow): Likewise.
220
1ecae1fc
IT
2212017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
222
223 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
224 (CET_FLAGS): New.
225 * config/i386/morestack.S: Include <cet.h>.
226 (__morestack_large_model): Add _CET_ENDBR at function entrance.
227 * config/i386/resms64.h: Include <cet.h>.
228 * config/i386/resms64f.h: Likewise.
229 * config/i386/resms64fx.h: Likewise.
230 * config/i386/resms64x.h: Likewise.
231 * config/i386/savms64.h: Likewise.
232 * config/i386/savms64f.h: Likewise.
233 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
234 (CRTSTUFF_T_CFLAGS): Likewise.
235 * configure.ac: Include ../config/cet.m4.
236 Set and substitute CET_FLAGS.
237 * configure: Regenerated.
238
f021f1d3
RO
2392017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
240
241 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
242 renaming.
243 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
244 * configure.ac (libgcc_cv_solaris_crts): Likewise.
245 * configure: Regenerate.
246
65f480c7
TV
2472017-11-07 Tom de Vries <tom@codesourcery.com>
248
249 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
250 after "do {} while (0)".
251
2a321acb
TV
2522017-11-07 Tom de Vries <tom@codesourcery.com>
253
254 PR other/82784
255 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
256 semicolon after "do {} while (0)".
257 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
258 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
259 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
260 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
261
59fcf6c3
AT
2622017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
263
264 PR libgcc/82635
265 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
266 sysctl to determine whether we're in a trampoline.
267 Keep the pattern matching method for systems without
268 KERN_PROC_SIGTRAMP sysctl.
269
b0c7ddf8
CM
2702017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
271 Vineet Gupta <vgupta@synopsys.com>
272
273 * config.host (arc*-*-linux*): Set md_unwind_header variable.
274 * config/arc/linux-unwind-reg.def: New file.
275 * config/arc/linux-unwind-reg.h: Likewise.
276
5feee954
SP
2772017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
278
279 * config/rl78/subdi3.S: New assembly file.
280 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
281
a0bf6cf7
SP
2822017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
283
284 * config/rl78/adddi3.S: New assembly file.
285 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
286
e7176f75
JJ
2872017-10-13 Jakub Jelinek <jakub@redhat.com>
288
289 PR target/82274
290 * libgcc2.c (__mulvDI3): If both operands have
291 the same highpart of -1 and the topmost bit of lowpart is 0,
292 multiplication overflows even if both lowparts are 0.
293
db6601d2
JB
2942017-09-28 James Bowman <james.bowman@ftdichip.com>
295
296 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
297
938b6f1e
JM
2982017-09-26 Joseph Myers <joseph@codesourcery.com>
299
300 * config/microblaze/crti.S, config/microblaze/crtn.S,
301 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
302 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
303 config/microblaze/mulsi3.S,
304 config/microblaze/stack_overflow_exit.S,
305 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
306 config/pa/milli64.S: Add .note.GNU-stack section.
307
89762a83
DS
3082017-09-23 Daniel Santos <daniel.santos@pobox.com>
309
310 * configure.ac: Add Check for HAVE_AS_AVX.
311 * config.in: Regenerate.
312 * configure: Likewise.
313 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
314 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
315 Correct out-of-date comments.
316
cace2309
SP
3172017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
318
319 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
320 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
321
3cb626e4
DS
3222017-09-17 Daniel Santos <daniel.santos@pobox.com>
323
cace2309 324 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
325 (ASMNAME): Modify to use PASTE2.
326 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
327 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 328 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 329 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
330 * config/i386/resms64f.S: Likewise.
331 * config/i386/resms64fx.S: Likewise.
332 * config/i386/resms64x.S: Likewise.
333 * config/i386/savms64.S: Likewise.
334 * config/i386/savms64f.S: Likewise.
335 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 336 includes it's corresponding header file.
cace2309
SP
337 * config/i386/avx_resms64f.S: Likewise.
338 * config/i386/avx_resms64fx.S: Likewise.
339 * config/i386/avx_resms64x.S: Likewise.
340 * config/i386/avx_savms64.S: Likewise.
341 * config/i386/avx_savms64f.S: Likewise.
342 * config/i386/sse_resms64.S: Likewise.
343 * config/i386/sse_resms64f.S: Likewise.
344 * config/i386/sse_resms64fx.S: Likewise.
345 * config/i386/sse_resms64x.S: Likewise.
346 * config/i386/sse_savms64.S: Likewise.
347 * config/i386/sse_savms64f.S: Likewise.
348 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 349
2f19c491
OH
3502017-09-01 Olivier Hainque <hainque@adacore.com>
351
352 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
353
611e7036
OH
3542017-08-31 Olivier Hainque <hainque@adacore.com>
355
356 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
357 match as powerpc-wrs-vxworks*.
358
c8f34527
JY
3592017-08-07 Jonathan Yong <10walls@gmail.com>
360
361 * config.host (*-cygwin): Include file from mingw
362 config/i386/enable-execute-stack-mingw32.c
363
0b458d2b
JL
3642017-08-01 Jerome Lambourg <lambourg@adacore.com>
365 Doug Rupp <rupp@adacore.com>
366 Olivier Hainque <hainque@adacore.com>
367
368 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
369 as well as arm-wrs-vxworks.
370 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
371 LIB2ADDEH.
372 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
373 __exidx_start and __exidx_end for downloadable modules.
374
4df612fa
OH
3752017-08-01 Olivier Hainque <hainque@adacore.com>
376
377 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
378 * config/t-vxworks7: Likewise.
379
5560e8c0
OH
3802017-08-01 Olivier Hainque <hainque@adacore.com>
381
382 * config/t-vxworks: Instead of redefining LIB2ADD,
383 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
384
16bab95a
SH
3852017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
386
387 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
388
9cbc07cc
DS
3892017-07-24 Daniel Santos <daniel.santos@pobox.com>
390
391 PR testsuite/80759
392 * config.host: include i386/t-msabi for darwin and solaris.
393 * config/i386/i386-asm.h
394 (ELFFN): Rename to FN_TYPE.
395 (FN_SIZE): New macro.
396 (FN_HIDDEN): Likewise.
397 (ASMNAME): Likewise.
398 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
399 .globl.
400 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
401 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
402 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
403 .macro.
404 * config/i386/resms64f.S: Likewise.
405 * config/i386/resms64fx.S: Likewise.
406 * config/i386/resms64x.S: Likewise.
407 * config/i386/savms64.S: Likewise.
408 * config/i386/savms64f.S: Likewise.
409
de742204
JM
4102017-07-19 John Marino <gnugcc@marino.st>
411
412 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
413
3787ee47
MM
4142017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
415
416 PR target/81193
417 * configure.ac (PowerPC float128 hardware support): Test whether
418 we can use __builtin_cpu_supports before enabling the ifunc
419 handler.
420 * configure: Regenerate.
421
b1938888
VG
4222017-07-10 Vineet Gupta <vgupta@synopsys.com>
423
424 * config.host: Remove uclibc from arc target spec.
425
bec75e53
KW
4262017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
427
428 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
429
d4391a62
PB
4302017-07-07 Peter Bergner <bergner@vnet.ibm.com>
431
432 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
433 (have_ieee_hw_p): Delete function.
434 (SW_OR_HW) Use __builtin_cpu_supports().
435
9296dd9b
TP
4362017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
437
438 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
439
b85a969e
OH
4402017-07-03 Olivier Hainque <hainque@adacore.com>
441
d4391a62 442 * config/t-vxworks7: New file, really.
b85a969e 443
883312dc
JM
4442017-06-28 Joseph Myers <joseph@codesourcery.com>
445
446 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
447 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
448 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
449 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
450 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
451 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
452 config/pa/linux-unwind.h (pa32_fallback_frame_state),
453 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
454 config/sh/linux-unwind.h (sh_fallback_frame_state),
455 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
456 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
457 ucontext_t instead of struct ucontext.
458
50567938
JL
4592017-06-27 Jerome Lambourg <lambourg@adacore.com>
460
461 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
462 (x86_64-wrs-vxworks7): Likewise.
463
e4b0df93
OH
4642017-06-27 Olivier Hainque <hainque@adacore.com>
465
466 * config/t-vxworks7: New file.
467 * config.host (*-*-vxworks7): Use it.
468
60edf8bb
MT
4692017-06-22 Matt Turner <mattst88@gmail.com>
470
471 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
472 skylake case.
473
a51a76e5
RB
4742017-06-21 Richard Biener <rguenther@suse.de>
475
476 PR gcov-profile/81080
477 * configure.ac: Add AC_SYS_LARGEFILE.
478 * libgcov.h: Include auto-target.h before tsystem.h to pick
479 up _FILE_OFFSET_BITS which might differ for multilibs.
480 * config.in: Regenerate.
481 * configure: Likewise.
482
f0cd49c5
RE
4832017-06-16 Richard Earnshaw <rearnsha@arm.com>
484
485 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
486
4f751c54
ML
4872017-06-09 Martin Liska <mliska@suse.cz>
488
489 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
490 Reset __gcov_indirect_call_callee to NULL.
491
1ac644c8
OH
4922017-06-08 Olivier Hainque <hainque@adacore.com>
493
494 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
495 the set of -I options, support for direct inclusions of net/uio.h
496 by VxWorks header files via ioLib.h.
497
d8b9cd27
TR
4982017-06-07 Tony Reix <tony.reix@atos.net>
499 Matthieu Sarter <matthieu.sarter.external@atos.net>
500 David Edelsohn <dje.gcc@gmail.com>
501
502 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
503 unconditionally.
504 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
505 AIX 7.2 support.
506
38a75ccc
OH
5072017-06-02 Olivier Hainque <hainque@adacore.com>
508
509 * config/vxlib.c (__gthread_once): Add missing value to
510 return statement.
511
5b2edf53
OH
5122017-05-30 Olivier Hainque <hainque@adacore.com>
513
514 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
515 dollar sign before $(MULTIDIR).
516
7d66e265
RH
5172017-05-26 Richard Henderson <rth@redhat.com>
518
519 PR libgcc/80037
520 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
521
78eca309
AT
5222017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
523
524 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
525 _Unwind_SetIP available as functions for arm*-*-freebsd*.
526 * config/arm/unwind-arm.c: Implement the above.
527
c39d309a
AZ
5282017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
529
530 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
531 section for a non-executable stack.
532
eac8c9f2
KW
5332017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
534
535 PR target/80600
536 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
537
d6d4d770
DS
5382017-05-14 Daniel Santos <daniel.santos@pobox.com>
539
540 * config.host: Add i386/t-msabi to i386/t-linux file list.
541 * config/i386/i386-asm.h: New file.
542 * config/i386/resms64.S: New file.
543 * config/i386/resms64f.S: New file.
544 * config/i386/resms64fx.S: New file.
545 * config/i386/resms64x.S: New file.
546 * config/i386/savms64.S: New file.
547 * config/i386/savms64f.S: New file.
548 * config/i386/t-msabi: New file.
549
8ef2b9a7
AT
5502017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
551
552 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
553 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
554
7ab8766a
JC
5552017-05-05 Joshua Conner <joshconner@google.com>
556
557 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
558 pc-relative indirect handling for fuchsia.
559 * config/t-slibgcc-fuchsia: New file.
560 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 561 x86_64-*-fuchsia*): Add definitions.
7ab8766a 562
46928a8f
ML
5632017-04-19 Martin Liska <mliska@suse.cz>
564
565 PR gcov-profile/80435
566 * Makefile.in: Install gcov.h.
567 * gcov.h: New file.
568 * libgcov.h: Use the header and make __gcov_flush publicly
569 visible.
570
63971184
ML
5712017-04-18 Martin Liska <mliska@suse.cz>
572
573 PR gcov-profile/78783
574 * libgcov-driver.c (gcov_get_filename): New function.
575
29d8aae6
JL
5762017-04-07 Jeff Law <law@redhat.com>
577
578 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
579 target makefile fragment.
580 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
581
2bdf7fc6
AM
5822017-04-07 Alan Modra <amodra@gmail.com>
583
584 PR target/45053
585 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
586
5764ee3c
JW
5872017-04-03 Jonathan Wakely <jwakely@redhat.com>
588
589 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
590
c4192ad7
CZ
5912017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
592
593 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
594
4ccfdb28
JM
5952017-03-10 John Marino <gnugcc@marino.st>
596
597 * config/aarch64/freebsd-unwind.h: New file.
598 * config.host: Add aarch64-*-freebsd unwinder.
599
4144e4e3
SB
6002017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
601
602 * config/rs6000/crtrestvr.s: Use .machine altivec.
603 * config/rs6000/crtsavevr.s: Ditto.
604
7502c597
SB
6052017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
606
607 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
608 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
609 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
610 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
611 * configure: Regenerate.
612 * config.in: Regenerate.
613
db9f7f65
JY
6142017-03-02 Jonathan Yong <10walls@gmail.com>
615
616 * config/i386/gthr-win32.h: Define NOGDI before
617 windows.h include to prevent w32api CC_NONE macro
618 clash with libgfortran.
619
126437c5
JY
6202017-03-02 Jonathan Yong <10walls@gmail.com>
621
622 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
623
31927af6
AP
6242017-02-16 Andrew Pinski <apinski@cavium.com>
625
626 * config/aarch64/value-unwind.h: New file.
627 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
628 to tm_file.
629
0bd99911
PD
6302017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
631
632 * config.host: Add RISC-V tuples.
633 * config/riscv/atomic.c: New file.
634 * config/riscv/crti.S: Likewise.
635 * config/riscv/crtn.S: Likewise.
636 * config/riscv/div.S: Likewise.
637 * config/riscv/linux-unwind.h: Likewise.
638 * config/riscv/muldi3.S: Likewise.
639 * config/riscv/multi3.S: Likewise.
640 * config/riscv/save-restore.S: Likewise.
641 * config/riscv/sfp-machine.h: Likewise.
642 * config/riscv/t-elf: Likewise.
643 * config/riscv/t-elf32: Likewise.
644 * config/riscv/t-elf64: Likewise.
645 * config/riscv/t-softfp32: Likewise.
646 * config/riscv/t-softfp64: Likewise.
647
a8c9ef2a
JJ
6482017-01-24 Jakub Jelinek <jakub@redhat.com>
649
650 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
651 /* FALLTHRU */ comments.
652
c6c82710
GP
6532017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
654
655 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
656
a876231c
JW
6572017-01-20 Jiong Wang <jiong.wang@arm.com>
658
659 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
660 * unwind-dw2.c (execute_cfa_program): Only multiplexing
661 DW_CFA_GNU_window_save for AArch64 and LP64.
662
aa348be2
JW
6632017-01-20 Jiong Wang <jiong.wang@arm.com>
664
665 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
666
5636faf2
JW
6672017-01-19 Jiong Wang <jiong.wang@arm.com>
668
669 * config/aarch64/aarch64-unwind.h: New file.
670 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
671 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
672 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
673 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
674 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
675 (aarch64_post_extract_frame_addr): New function.
676 (aarch64_post_frob_eh_handler_addr): New function.
677 (aarch64_frob_update_context): New function.
678 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
679 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
680 aarch64*-*-freebsd*):
681 Initialize md_unwind_header to include aarch64-unwind.h.
682 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
683 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
684 __aarch64__.
685 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
686 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
687 (uw_frob_return_addr): New function.
688 (uw_install_context): Use uw_frob_return_addr.
689
3c36aa6b
JJ
6902017-01-17 Jakub Jelinek <jakub@redhat.com>
691
692 PR other/79046
693 * configure.ac: Add GCC_BASE_VER.
694 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
695 version from BASE-VER file.
696 * configure: Regenerated.
697
829afb8f
JS
6982017-01-13 Joe Seymour <joe.s@somniumtech.com>
699
700 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
701 libmul_f5.a): Filter archived prerequisites.
702
79fc8ffe
AS
7032017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
704
705 * config/i386/cpuinfo.h (processor_features): Add
706 FEATURE_AVX512VPOPCNTDQ.
707 * config/i386/cpuinfo.c (get_available_features): Habdle new
708 feature.
709
fec5f4e0
JM
7102017-01-04 Joseph Myers <joseph@codesourcery.com>
711
712 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
713 payload if [__mips_nan2008].
714
8f56cb51
AM
7152017-01-04 Alan Modra <amodra@gmail.com>
716
717 * Makefile.in (configure_deps): Update.
718 * configure: Regenerate.
719
cbe34bb5
JJ
7202017-01-01 Jakub Jelinek <jakub@redhat.com>
721
722 Update copyright years.
723
ab955692
KW
7242016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
725
726 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
727 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
728 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
729
de34320f
MK
7302016-12-17 Matthias Klose <doko@ubuntu.com>
731
732 * config/arc/gmon: Remove empty directory.
733
e04ea1da
CZ
7342016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
735
736 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
737 crtgend.
738 (arc*-*-elf*): Likewise.
739 * config/arc/t-arc: Remove old gmon lib targets.
740 * config/arc/crtg.S: Remove.
741 * config/arc/crtgend.S: Likewise.
742 * config/arc/gmon/atomic.h: Likewise.
743 * config/arc/gmon/auxreg.h: Likewise.
744 * config/arc/gmon/dcache_linesz.S: Likewise.
745 * config/arc/gmon/gmon.c: Likewise.
746 * config/arc/gmon/machine-gmon.h: Likewise.
747 * config/arc/gmon/mcount.c: Likewise.
748 * config/arc/gmon/prof-freq-stub.S: Likewise.
749 * config/arc/gmon/prof-freq.c: Likewise.
750 * config/arc/gmon/profil.S: Likewise.
751 * config/arc/gmon/sys/gmon.h: Likewise.
752 * config/arc/gmon/sys/gmon_out.h: Likewise.
753 * config/arc/t-arc-newlib: Likewise.
754 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
755
8ae1c2c1
GS
7562016-12-12 George Spelvin <linux@sciencehorizons.net>
757
758 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
759
a5b947fa
GS
7602016-12-12 George Spelvin <linux@sciencehorizons.net>
761
762 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
763 R16 instead of push + pop.
764 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
765
d6574dd1
KW
7662016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
767
768 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
769 tmake_file.
770
62440b4f
CM
7712016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
772
773 * config.host (arc*-*-linux-uclibc*): Use default extra
774 objects. Include linux-android header.
775 * config/arc/crti.S (_init): Declare symbol as function.
776 (_fini): Likewise.
777
31cfd832
TK
7782016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
779
780 PR fortran/78379
781 * config/i386/cpuinfo.c: Move denums for processor vendors,
782 processor type, processor subtypes and declaration of
783 struct __processor_model into
784 * config/i386/cpuinfo.h: New header file.
785
c92e08e3
AV
7862016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
787 Thomas Preud'homme <thomas.preudhomme@arm.com>
788
789 * config/arm/cmse_nonsecure_call.S: New.
790 * config/arm/t-arm: Compile cmse_nonsecure_call.S
791
de7b5723
AV
7922016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
793 Thomas Preud'homme <thomas.preudhomme@arm.com>
794
795 * config/arm/t-arm (HAVE_CMSE): New.
796 * config/arm/cmse.c: New.
797
7a0d2bce
TP
7982016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
799
b3a5bff4
TP
800 PR gcc/74748
801 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
802 use generic linker version information on Blackfin.
803
7a0d2bce
TP
804 PR gcc/74748
805 * libgcc/mkmap-symver.awk: add support for skip_underscore
806
b410cf1d
IS
8072016-11-27 Iain Sandoe <iain@codesourcery.com>
808 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
809
810 PR target/67710
811 * config/t-darwin: Default builds to 10.5 codegen.
812
2e5f8203
JG
8132016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
814
815 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
816 (_FP_NANSIGN_H): Likewise.
817 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
818 (softfp_truncations): Add tfhf.
819 (softfp_extras): Add required conversion functions.
820
bea64ca3
JG
8212016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
822 Matthew Wahab <matthew.wahab@arm.com>
823
824 * config/arm/fp16.c (binary64): New.
825 (__gnu_d2h_internal): New.
826 (__gnu_d2h_ieee): New.
827 (__gnu_d2h_alternative): New.
828
8630cadb
JG
8292016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
830 Matthew Wahab <matthew.wahab@arm.com>
831
832 * config/arm/fp16.c (struct format): New.
833 (binary32): New.
834 (__gnu_float2h_internal): New. Body moved from
835 __gnu_f2h_internal and generalize.
836 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
837 Call it with binary32.
838
5823ef23
JG
8392016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
840
841 * soft-fp/extendhftf2.c: Update from glibc.
842 * soft-fp/fixhfti.c: Likewise.
843 * soft-fp/fixunshfti.c: Likewise.
844 * soft-fp/floattihf.c: Likewise.
845 * soft-fp/floatuntihf.c: Likewise.
846 * soft-fp/half.h: Likewise.
847 * soft-fp/trunctfhf2.c: Likewise.
848
62a7df9f
MG
8492016-11-20 Marc Glisse <marc.glisse@inria.fr>
850
851 PR libgcc/77813
852 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
853 __TMC_END__ behind a passthrough asm.
854
7a384912
WL
8552016-11-18 Walter Lee <walt@tilera.com>
856
62a7df9f 857 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 858
9775c1a5
L
8592016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
860
861 * config/i386/cpuinfo.c (processor_features): Add
862 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
863
48c842ab
CZ
8642016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
865
866 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
867 (__ARC_NORM__): Use instead ARC_OPTFPE.
868 * config/arc/fp-hack.h: Likewise.
869 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
870 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
871
5012919d
AM
8722016-11-16 Alexander Monakov <amonakov@ispras.ru>
873
874 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
875 * config/nvptx/mgomp.c: New file.
876 * config/nvptx/t-nvptx: Add mgomp.c
877
00178b98
WB
8782016-11-16 Waldemar Brodkorb <wbx@openadk.org>
879
880 PR libgcc/68468
881 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
882
d64af69f
CZ
8832016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
884
885 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
886 of checking for cpus.
887 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
888 (__modsi3, __clzsi2): Likewise.
889
9d8f95de
SN
8902016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
891
892 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
893 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
894 * config/i386/t-cpuinfo-static: New.
895
7d29f8e3
ML
8962016-11-03 Martin Liska <mliska@suse.cz>
897
898 * libgcov-profiler.c (__gcov_time_profiler): Remove.
899 (__gcov_time_profiler_atomic): Likewise.
900
5de3e2d8
BE
9012016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
902
903 PR libgcc/78067
904 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
905 count_leading_zeros.
906
18362447
UB
9072016-11-02 Uros Bizjak <ubizjak@gmail.com>
908
909 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
910 * libgcc2.c (__divmoddi4): New function.
911 * libgcc2.h (__divmoddi4): Declare.
912 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
913 and __PFX_divmodti4.
914
33107571
FW
9152016-10-24 Florian Weimer <fweimer@redhat.com>
916
917 PR libgcc/78064
918 * unwind-c.c: Include auto-target.h.
919
4c6d7494
JDA
9202016-10-19 John David Anglin <danglin@gcc.gnu.org>
921
18362447 922 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
923 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
924 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
925 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
926 hppa*64*-*-hpux11*.
927
2a26adf1
MF
9282016-10-18 Max Filippov <jcmvbkbc@gmail.com>
929
930 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
931 definition.
932 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
933 definition.
934 * config/xtensa/t-windowed (LIB2ADDEH): Use
935 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
936 or xtensa/t-linux.
937
66192aa1
DKC
9382016-10-18 Ding-Kai Chen <dkchen@cadence.com>
939
940 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
941 __ieee754_sqrt): New functions.
942 (__divdf3): Add implementation with new FPU instructions under
943 #if XCHAL_HAVE_DFP_DIV.
944 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
945 __ieee754_sqrtf): New functions.
946 (__divsf3): Add implementation with new FPU instructions under
947 #if XCHAL_HAVE_FP_DIV.
948 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
949 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
950
4d0cdd0c
TP
9512016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
952
953 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
954 equivalent.
955 * config/tilepro/atomic.c: Likewise and stop casting model to
956 enum memmodel.
957
73f01cca
JM
9582016-10-10 Joseph Myers <joseph@codesourcery.com>
959
960 PR target/77586
961 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
962 soft-fp.
963
b20e7532
AT
9642016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
965
966 * config.host: Add support for aarch64-*-freebsd*.
967
a786cec4
AS
9682016-10-05 Andreas Schwab <schwab@suse.de>
969
970 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
971 (.section .init_array): Don't call __do_jv_register_classes.
972 (.section .init): Likewise.
973
5a79befb
JJ
9742016-10-04 Jakub Jelinek <jakub@redhat.com>
975
976 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
977 (__JCR_LIST__): Remove.
978 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
979 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
980 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
981 * config/ia64/crtend.S (__JCR_END__): Remove.
982 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
983 conditionals.
984 (__JCR_LIST__, __JCR_END__): Remove.
985 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
986 (__do_global_ctors_1): Likewise.
987
e0ab3753
UB
9882015-09-28 Uros Bizjak <ubizjak@gmail.com>
989
990 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
991 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
992
8c9434c2
ML
9932016-09-27 Martin Liska <mliska@suse.cz>
994
995 PR gcov-profile/7970
996 PR gcov-profile/16855
997 PR gcov-profile/44779
998 * libgcov-driver.c (__gcov_init): Do not register a atexit
999 handler.
1000 (__gcov_exit): Rename from gcov_exit.
1001 * libgcov.h (__gcov_exit): Declare.
1002
56b653f1
ML
10032016-09-27 Martin Liska <mliska@suse.cz>
1004
1005 PR bootstrap/77749
1006 * Makefile.in: Remove _gcov_merge_delta.
1007 * libgcov-merge.c (void __gcov_merge_delta): Remove.
1008 * libgcov-util.c (__gcov_delta_counter_op): Remove.
1009 * libgcov.h: Remove declaration of __gcov_merge_delta.
1010
7e02fd1b
EB
10112016-09-21 Eric Botcazou <ebotcazou@adacore.com>
1012
1013 * configure.ac: Do not create links, only substitute the filenames.
1014 * configure: Regenerate.
1015 * Makefile.in: Assign the substitution results to variables.
1016 (LIBGCC_LINKS): Define.
1017 (enable-execute-stack.c): New rule.
1018 (unwind.h): Likewise.
1019 (md-unwind-support.h): Likewise.
1020 (sfp-machine.h): Likewise.
1021 (gthr-default.h): Likewise.
1022 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
1023 unwind.h as prerequisite of install-unwind_h-forbuild.
1024
29991048
JJ
10252016-09-16 Jakub Jelinek <jakub@redhat.com>
1026
1027 PR libgcc/71744
1028 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
1029 is not the primary registry and atomics are available.
1030 (any_objects_registered): New variable.
1031 (__register_frame_info_bases, __register_frame_info_table_bases):
1032 Atomically store 1 to any_objects_registered after registering first
1033 unwind info.
1034 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
1035
0abcd6cc
JG
10362016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
1037
1038 PR target/63250
1039 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
1040 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
1041 (HFtype): Likewise.
1042 (HCtype): Likewise.
1043 (__divhc3): Likewise.
1044 (__mulhc3): Likewise.
1045 * libgcc2.c: Support _mulhc3 and _divhc3.
1046
d758aeb5
JM
10472016-09-07 Joseph Myers <joseph@codesourcery.com>
1048
1049 PR libgcc/77519
1050 * libgcc2.c (NOTRUNC): Invert settings.
1051
7fe76f6a
ML
10522016-09-06 Martin Liska <mliska@suse.cz>
1053
1054 PR gcov-profile/77378
1055 PR gcov-profile/77466
1056 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
1057 conditionaly enable/disable *_atomic functions.
1058
21184026
JM
10592016-08-26 Joseph Myers <joseph@codesourcery.com>
1060
1061 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
1062 where not already enabled.
1063
726f49c3
SN
10642016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1065
1066 * config/mips/linux-unwind.h: Use sys/syscall.h.
1067
feeb6268
JM
10682016-08-16 Joseph Myers <joseph@codesourcery.com>
1069
1070 PR libgcc/77265
1071 * soft-fp/adddf3.c: Update from glibc.
1072 * soft-fp/addsf3.c: Likewise.
1073 * soft-fp/addtf3.c: Likewise.
1074 * soft-fp/divdf3.c: Likewise.
1075 * soft-fp/divsf3.c: Likewise.
1076 * soft-fp/divtf3.c: Likewise.
1077 * soft-fp/double.h: Likewise.
1078 * soft-fp/eqdf2.c: Likewise.
1079 * soft-fp/eqsf2.c: Likewise.
1080 * soft-fp/eqtf2.c: Likewise.
1081 * soft-fp/extenddftf2.c: Likewise.
1082 * soft-fp/extended.h: Likewise.
1083 * soft-fp/extendsfdf2.c: Likewise.
1084 * soft-fp/extendsftf2.c: Likewise.
1085 * soft-fp/extendxftf2.c: Likewise.
1086 * soft-fp/fixdfdi.c: Likewise.
1087 * soft-fp/fixdfsi.c: Likewise.
1088 * soft-fp/fixdfti.c: Likewise.
1089 * soft-fp/fixsfdi.c: Likewise.
1090 * soft-fp/fixsfsi.c: Likewise.
1091 * soft-fp/fixsfti.c: Likewise.
1092 * soft-fp/fixtfdi.c: Likewise.
1093 * soft-fp/fixtfsi.c: Likewise.
1094 * soft-fp/fixtfti.c: Likewise.
1095 * soft-fp/fixunsdfdi.c: Likewise.
1096 * soft-fp/fixunsdfsi.c: Likewise.
1097 * soft-fp/fixunsdfti.c: Likewise.
1098 * soft-fp/fixunssfdi.c: Likewise.
1099 * soft-fp/fixunssfsi.c: Likewise.
1100 * soft-fp/fixunssfti.c: Likewise.
1101 * soft-fp/fixunstfdi.c: Likewise.
1102 * soft-fp/fixunstfsi.c: Likewise.
1103 * soft-fp/fixunstfti.c: Likewise.
1104 * soft-fp/floatdidf.c: Likewise.
1105 * soft-fp/floatdisf.c: Likewise.
1106 * soft-fp/floatditf.c: Likewise.
1107 * soft-fp/floatsidf.c: Likewise.
1108 * soft-fp/floatsisf.c: Likewise.
1109 * soft-fp/floatsitf.c: Likewise.
1110 * soft-fp/floattidf.c: Likewise.
1111 * soft-fp/floattisf.c: Likewise.
1112 * soft-fp/floattitf.c: Likewise.
1113 * soft-fp/floatundidf.c: Likewise.
1114 * soft-fp/floatundisf.c: Likewise.
1115 * soft-fp/floatunditf.c: Likewise.
1116 * soft-fp/floatunsidf.c: Likewise.
1117 * soft-fp/floatunsisf.c: Likewise.
1118 * soft-fp/floatunsitf.c: Likewise.
1119 * soft-fp/floatuntidf.c: Likewise.
1120 * soft-fp/floatuntisf.c: Likewise.
1121 * soft-fp/floatuntitf.c: Likewise.
1122 * soft-fp/gedf2.c: Likewise.
1123 * soft-fp/gesf2.c: Likewise.
1124 * soft-fp/getf2.c: Likewise.
1125 * soft-fp/ledf2.c: Likewise.
1126 * soft-fp/lesf2.c: Likewise.
1127 * soft-fp/letf2.c: Likewise.
1128 * soft-fp/muldf3.c: Likewise.
1129 * soft-fp/mulsf3.c: Likewise.
1130 * soft-fp/multf3.c: Likewise.
1131 * soft-fp/negdf2.c: Likewise.
1132 * soft-fp/negsf2.c: Likewise.
1133 * soft-fp/negtf2.c: Likewise.
1134 * soft-fp/op-1.h: Likewise.
1135 * soft-fp/op-2.h: Likewise.
1136 * soft-fp/op-4.h: Likewise.
1137 * soft-fp/op-8.h: Likewise.
1138 * soft-fp/op-common.h: Likewise.
1139 * soft-fp/quad.h: Likewise.
1140 * soft-fp/single.h: Likewise.
1141 * soft-fp/soft-fp.h: Likewise.
1142 * soft-fp/subdf3.c: Likewise.
1143 * soft-fp/subsf3.c: Likewise.
1144 * soft-fp/subtf3.c: Likewise.
1145 * soft-fp/truncdfsf2.c: Likewise.
1146 * soft-fp/trunctfdf2.c: Likewise.
1147 * soft-fp/trunctfsf2.c: Likewise.
1148 * soft-fp/trunctfxf2.c: Likewise.
1149 * soft-fp/unorddf2.c: Likewise.
1150 * soft-fp/unordsf2.c: Likewise.
1151 * soft-fp/unordtf2.c: Likewise.
1152
2e6fc1ac
GG
11532016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
1154
1155 PR gcov-profile/67097
1156 * libgcov-util.c (gcov_profile_merge): Skip missing files.
1157
a266236e
ML
11582016-08-10 Martin Liska <mliska@suse.cz>
1159
1160 PR gcov-profile/58306
1161 * Makefile.in: New functions (modules) are added.
1162 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
1163 function.
1164 (__gcov_pow2_profiler_atomic): New function.
1165 (__gcov_one_value_profiler_body): New argument is instroduced.
1166 (__gcov_one_value_profiler): Call with the new argument.
1167 (__gcov_one_value_profiler_atomic): Likewise.
1168 (__gcov_indirect_call_profiler_v2): Likewise.
1169 (__gcov_time_profiler_atomic): New function.
1170 (__gcov_average_profiler_atomic): Likewise.
1171 (__gcov_ior_profiler_atomic): Likewise.
1172 * libgcov.h: Declare the aforementioned functions.
1173
e0c8eebf
ML
11742016-08-09 Martin Liska <mliska@suse.cz>
1175
1176 * libgcov-util.c: Fix typo and GNU coding style.
1177
6dce6418
ML
11782016-08-09 Martin Liska <mliska@suse.cz>
1179
1180 * Makefile.in: Remove __gcov_indirect_call_profiler.
1181 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
1182 function.
1183 * libgcov.h: And the declaration of the function.
1184
dcb1e137
ML
11852016-08-09 Martin Liska <mliska@suse.cz>
1186
1187 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
1188 power of two.
1189
d6e69705
BS
11902016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1191
1192 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1193 * config/rs6000/_mulkc3.c: Likewise.
1194
96aa1f95
GJL
11952016-07-29 Georg-Johann Lay <avr@gjlay.de>
1196
1197 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1198 zero_reg as previous call to __umulhisi3 already cleared it.
1199
a1b01d34
AJ
12002016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1201
1202 PR target/59833
1203 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1204
985a47b2
NC
12052016-07-19 Nick Clifton <nickc@redhat.com>
1206
1207 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1208 Add crtinit.o and crtfini.o to extra_parts.
1209
f906f5ed
BS
12102016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1211
1212 * config/rs6000/_divkc3.c: New.
1213 * config/rs6000/_mulkc3.c: New.
1214 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1215 and _divkc3.
1216 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1217 fp128_ppc_funcs.
1218
82742404
HW
12192016-07-11 Hale Wang <hale.wang@arm.com>
1220 Andre Vieira <andre.simoesdiasvieira@arm.com>
1221
1222 * config/arm/lib1funcs.S: Add new wrapper.
1223
05a437c1
TP
12242016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1225
1226 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1227
3d16d9ec
TP
12282016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1229
1230 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1231 and ARMv5t* rather than for a fixed list of architectures.
1232
6f493951
TP
12332016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1234
1235 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1236 implementation suitable for.
1237 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1238 for all Thumb-1 only targets.
1239 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1240 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1241 __ARM_ARCH_6M__.
1242 (EQUIV): Likewise.
1243 (ARM_FUNC_ALIAS): Likewise.
1244 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1245 version.
1246 (modsi3): Likewise.
1247 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1248 (clzdi2): Likewise.
1249 (ctzsi2): Likewise.
1250 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1251 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1252 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1253 __ARM_ARCH_6M__ and add comment to indicate the connection between
1254 this condition and the one in gcc/config/arm/elf.h.
1255 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1256 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1257 * config/arm/t-softfp: Likewise.
1258
1770511a
TS
12592016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1260
1261 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1262 CTOR_LISTS_DEFINED_EXTERNALLY.
1263
ba6be749
WL
12642016-06-28 Walter Lee <walt@tilera.com>
1265
1266 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1267 asm/unistd.h.
1268 (SPR_CMPEXCH_VALUE): Define for tilegx.
1269 (__NR_FAST_cmpxchg): Define for tilepro.
1270 (__NR_FAST_atomic_update): Define for tilepro.
1271 (__NR_FAST_cmpxchg64): Define for tilepro.
1272
a34c0db5
JS
12732016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1274
18362447 1275 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1276
0609abda
TS
12772016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1278
1279 * config.host: Remove support for mep-*.
1280 * config/mep/lib1funcs.S: Remove.
1281 * config/mep/lib2funcs.c: Remove.
1282 * config/mep/t-mep: Remove.
1283 * config/mep/tramp.c: Remove.
1284
3e326935
TS
12852016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1286
1287 * config.host: Remove support for avr-rtems.
1288 * config/avr/t-rtems: Remove.
1289
914b155c
TS
12902016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1291
1292 * config.host: Remove m32r-rtems support.
1293
5ebf89bd
TS
12942016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1295
1296 * config.host: Remove h8300-rtems support.
1297
8466af06
TS
12982016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1299
1300 * config.host: Remove support for knetbsd.
1301
d980e738
TS
13022016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1303
1304 * config.host: Remove support for openbsd 2 and 3.
1305
ee2499b4
TS
13062016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1307
1308 * config.host: Remove interix support.
1309 * config/i386/t-interix: Remove.
1310
9f92937b
JDA
13112016-06-18 John David Anglin <danglin@gcc.gnu.org>
1312
1313 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1314 least-significant bit in function pointer for fixup.
1315
0a0ec53d
AC
13162016-06-05 Aaron Conole <aconole@redhat.com>
1317 Nathan Sidwell <nathan@acm.org>
1318
1319 PR libgcc/71400
1320 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1321 (get_gcov_error_file): Check __gcov_error_file before trying to
1322 initialize it.
1323 (gcov_error): Always use get_gcov_error_file.
1324
8aa5bdd6
AC
13252016-06-02 Aaron Conole <aconole@redhat.com>
1326
1327 * libgcov-driver-system.c (__gcov_error_file): New.
1328 (get_gcov_error_file): New.
1329 (gcov_error): Use and set __gcov_error_file.
1330 (gcov_error_exit): New.
1331 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1332
40774faf
NS
13332016-05-26 Nathan Sidwell <nathan@acm.org>
1334
1335 * config/nvptx/free.asm: Delete.
1336 * config/nvptx/malloc.asm: Delete.
1337 * config/nvptx/realloc.c: Delete.
1338 * t-nvptx: Update.
1339
69a6d5ad
NS
13402016-05-25 Nathan Sidwell <nathan@acm.org>
1341
1342 * config/nvptx/crt0.s: Delete.
1343 * config/nvptx/crt0.c: New.
1344 * t-nvptx: Update.
1345
6befaff6
SL
13462016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1347
385c7747 1348 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
1349 dw2/seh configuration.
1350 [x86_64-*-mingw*]: Likewise.
1351
ad251dfd
JS
13522016-05-10 Joel Sherrill <joel@rtems.org>
1353
1354 PR libgcc/70720
1355 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1356 targets so the same extra_parts are built. Also have tmake_file add
1357 on to its value rather than override.
1358
bc6d9014
OE
13592016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1360
1361 * config.host: Remove SH5 support.
1362 * configure: Likewise.
1363
9129c8cf
OE
13642016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1365
1366 * config/sh/crt1.S: Remove SH5 support.
1367 * config/sh/crti.S: Likewise.
1368 * config/sh/crtn.S: Likewise.
1369 * config/sh/lib1funcs-4-300.S: Likewise.
1370 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1371 * config/sh/lib1funcs.S: Likewise.
1372 * config/sh/linux-unwind.h: Likewise.
1373 * config/sh/t-sh64: Delete.
1374
39d50464
CZ
13752016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1376
1377 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1378
8b48923b
CZ
13792016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1380 Joern Rennecke <joern.rennecke@embecosm.com>
1381
1382 * config/arc/crttls.S: New file.
1383 * config/arc/t-arc: New rule.
1384 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1385
2de1cf8c
NC
13862016-04-25 Nick Clifton <nickc@redhat.com>
1387
1388 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1389 (__mspabi_cmpd): Likewise.
1390 * config/msp430/floathidf.c (__floathidf): Likewise.
1391 * config/msp430/floathisf.c (__floathisf): Likewise
1392 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1393 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1394 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1395 second parameter.
1396 (__ashrsi3): Likewise.
1397
b8ce3fe2
WB
13982016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1399
1400 * config/m68k/linux-atomic.c: Do not include unistd.h
1401
4986f823
MG
14022016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1403
1404 * config/arm/ieee754-df.S: Fix typos in comments.
1405
35fbda43
MM
14062016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1407
1408 PR target/70381
1409 * configure.ac (powerpc*-*-linux*): Rework tests to build
1410 __float128 emulation routines to not depend on using #pragma GCC
1411 target to enable -mfloat128.
1412 * configure: Regnerate.
1413
72d1a48d
EB
14142016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1415
1416 PR target/67172
1417 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1418 __MINGW32__ is defined.
1419
dc2e8995
JB
14202016-03-28 James Bowman <james.bowman@ftdichip.com>
1421
385c7747 1422 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 1423
104cdaf1
MM
14242016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1425
1426 PR libgcc/70363
1427 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1428 built with an assembler that does not support ISA 3.0
1429 instructions, rename __extendkftf2_sw to __extendkftf2.
1430
a5046f48
RO
14312016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1432
1433 PR target/38239
1434 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1435 call-clobbered registers.
1436 (internal_mcount): Remove __i386__ handling.
1437
df674f74
JS
14382016-02-26 Joel Sherrill <joel@rtems.org>
1439
1440 * config.host: Add x86_64-*-rtems*.
1441
7cb065d6
JS
14422016-02-26 Joel Sherrill <joel@rtems.org>
1443
1444 * libgcc/config.host: Add aarch64-*-rtems*.
1445
47dfdc53
PM
14462016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1447 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1448
1449 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1450 union of u64 and double.
1451 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1452 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1453 value.
1454 (FP_ROUNDMODE): Update the usage of _fpscr.
1455
e6861a99
IV
14562016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1457
1458 PR driver/68463
1459 * Makefile.in (crtoffloadtable$(objext)): New rule.
1460 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1461 enable_offload_targets is not empty.
1462 * configure: Regenerate.
1463 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1464 crtoffloadtable.
1465
9bfcbdee
MF
14662016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1467
1468 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1469 .literal_position before the function.
1470 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1471 Likewise.
1472
4cb4721f
MK
14732016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1474
1475 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1476 * config/s390/morestack.S: New file.
1477 * config/s390/t-stack-s390: New file.
1478 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1479
b29d9a29
WL
14802016-02-12 Walter Lee <walt@tilera.com>
1481
1482 * config.host (tilegx*-*-linux*): remove ti from
1483 softfp_int_modes for 32-bit configs.
1484
03a0ae7d
ILT
14852016-02-10 Ian Lance Taylor <iant@google.com>
1486
1487 PR go/68562
1488 * config/i386/morestack.S (__stack_split_initialize): Align
1489 stack.
1490
68750bce
AT
14912016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1492
1493 PR bootstrap/69611
1494 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1495 __FLOAT128__ to compile only for __float128 capable targets.
1496
7d296953
JJ
14972016-01-25 Jakub Jelinek <jakub@redhat.com>
1498
1499 PR target/69444
1500 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1501 instead of ___NO_FPRS__.
1502
a71c0334 15032016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1504 Steven Munroe <munroesj@linux.vnet.ibm.com>
1505 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
1506
1507 * config/rs6000/float128-sed: New files to convert TF names to KF
1508 names for PowerPC IEEE 128-bit floating point support.
1509 * config/rs6000/float128-sed-hw: Likewise.
1510
1511 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1512 floating point hardware support.
1513
1514 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1515 128-bit floating point software emulation or use ISA 3.0 hardware
1516 support if it is available.
1517
1518 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1519 floating point.
1520
1521 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1522 floating point to IBM extended double.
1523
1524 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1525 double to IEEE 128-bit floating point.
1526
1527 * config/rs6000/t-float128: New Makefile fragments to enable
1528 building __float128 emulation support.
1529 * config/rs6000/t-float128-hw: Likewise.
1530
1531 * config/rs6000/sfp-exceptions.c: New file to provide exception
1532 support for IEEE 128-bit floating point.
1533
1534 * config/rs6000/floattikf.c: New files for converting between IEEE
1535 128-bit floating point and signed/unsigned 128-bit integers.
1536 * config/rs6000/fixunskfti.c: Likewise.
1537 * config/rs6000/fixkfti.c: Likewise.
1538 * config/rs6000/floatuntikf.c: Likewise.
1539
1540 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1541 when building on 64-bit systems, or when VSX is enabled.
1542 (_FP_W_TYPE): Likewise.
1543 (_FP_WS_TYPE): Likewise.
1544 (_FP_I_TYPE): Likewise.
1545 (TItype): Define on 64-bit systems.
1546 (UTItype): Likewise.
1547 (TI_BITS): Likewise.
1548 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1549 (_FP_MUL_MEAT_Q): Likewise.
1550 (_FP_DIV_MEAT_D): Likewise.
1551 (_FP_DIV_MEAT_Q): Likewise.
1552 (_FP_NANFRAC_D): Likewise.
1553 (_FP_NANFRAC_Q): Likewise.
1554 (ISA_BIT): Add exception support if we are being compiled on a
1555 machine with hardware floating point support to build the IEEE
1556 128-bit emulation functions.
1557 (FP_EX_INVALID): Likewise.
1558 (FP_EX_OVERFLOW): Likewise.
1559 (FP_EX_UNDERFLOW): Likewise.
1560 (FP_EX_DIVZERO): Likewise.
1561 (FP_EX_INEXACT): Likewise.
1562 (FP_EX_ALL): Likewise.
1563 (__sfp_handle_exceptions): Likewise.
1564 (FP_HANDLE_EXCEPTIONS): Likewise.
1565 (FP_RND_NEAREST): Likewise.
1566 (FP_RND_ZERO): Likewise.
1567 (FP_RND_PINF): Likewise.
1568 (FP_RND_MINF): Likewise.
1569 (FP_RND_MASK): Likewise.
1570 (_FP_DECL_EX): Likewise.
1571 (FP_INIT_ROUNDMODE): Likewise.
1572 (FP_ROUNDMODE): Likewise.
1573
1574 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1575 VSX code, enable IEEE 128-bit floating point. If the compiler can
1576 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1577 floating point hardware instructions and it supports declaring
1578 functions with the ifunc attribute, enable ifunc functions to
1579 switch between software and hardware support.
1580 * configure.ac (powerpc*-*-linux*): Likewise.
1581 * configure: Regenerate.
1582
bdc27e50
NC
15832016-01-15 Nick Clifton <nickc@redhat.com>
1584
1585 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1586 dependency as the source file to be compiled.
1587 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1588 (lib2hw_mul_f5.o): Likewise.
1589
006df05d
MM
15902016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1591
1592 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1593 * libgcc/config/rs6000/fixkfti.c: Likewise.
1594 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1595 * libgcc/config/rs6000/float128-hw.c: Likewise.
1596 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1597 * libgcc/config/rs6000/float128-sed: Likewise.
1598 * libgcc/config/rs6000/floattikf.c: Likewise.
1599 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1600 * libgcc/config/rs6000/quad-float128.h: Likewise.
1601 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1602 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1603 * libgcc/config/rs6000/t-float128: Likewise.
1604 * libgcc/config/rs6000/t-float128-hw: Likewise.
1605 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1606 * libgcc/config.host: Likewise.
1607 * libgcc/configure: Likewise.
1608 * libgcc/configure.ac: Likewise.
1609
29176d57 16102016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1611 Steven Munroe <munroesj@linux.vnet.ibm.com>
1612 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
1613
1614 * config/rs6000/sfp-exceptions.c: New file to provide exception
1615 support for IEEE 128-bit floating point.
1616
1617 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1618 floating point hardware support.
1619
1620 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1621 point conversions.
1622 * config/rs6000/fixunskfti.c: Likewise.
1623 * config/rs6000/fixkfti.c: Likewise.
1624 * config/rs6000/floatuntikf.c: Likewise.
1625 * config/rs6000/extendkftf2-sw.c: Likewise.
1626 * config/rs6000/trunctfkf2-sw.c: Likewise.
1627
1628 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1629 128-bit floating point software emulation or use ISA 3.0 hardware
1630 support if it is available.
1631
1632 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1633 floating point.
1634
1635 * config/rs6000/t-float128: New Makefile fragments to enable
1636 building __float128 emulation support.
1637 * config/rs6000/t-float128-hw: Likewise.
1638
1639 * config/rs6000/float128-sed: New file to convert TF names to KF
1640 names for PowerPC IEEE 128-bit floating point support.
1641
1642 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1643 when building on 64-bit systems, or when VSX is enabled.
1644 (_FP_W_TYPE): Likewise.
1645 (_FP_WS_TYPE): Likewise.
1646 (_FP_I_TYPE): Likewise.
1647 (TItype): Define on 64-bit systems.
1648 (UTItype): Likewise.
1649 (TI_BITS): Likewise.
1650 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1651 (_FP_MUL_MEAT_Q): Likewise.
1652 (_FP_DIV_MEAT_D): Likewise.
1653 (_FP_DIV_MEAT_Q): Likewise.
1654 (_FP_NANFRAC_D): Likewise.
1655 (_FP_NANFRAC_Q): Likewise.
1656 (ISA_BIT): Add exception support if we are being compiled on a
1657 machine with hardware floating point support to build the IEEE
1658 128-bit emulation functions.
1659 (FP_EX_INVALID): Likewise.
1660 (FP_EX_OVERFLOW): Likewise.
1661 (FP_EX_UNDERFLOW): Likewise.
1662 (FP_EX_DIVZERO): Likewise.
1663 (FP_EX_INEXACT): Likewise.
1664 (FP_EX_ALL): Likewise.
1665 (__sfp_handle_exceptions): Likewise.
1666 (FP_HANDLE_EXCEPTIONS): Likewise.
1667 (FP_RND_NEAREST): Likewise.
1668 (FP_RND_ZERO): Likewise.
1669 (FP_RND_PINF): Likewise.
1670 (FP_RND_MINF): Likewise.
1671 (FP_RND_MASK): Likewise.
1672 (_FP_DECL_EX): Likewise.
1673 (FP_INIT_ROUNDMODE): Likewise.
1674 (FP_ROUNDMODE): Likewise.
1675
1676 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1677 compiler can do __float128.
1678 * configure: Regenerate.
1679
1680 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1681 VSX code, enable IEEE 128-bit floating point.
1682
a2218983
OH
16832016-01-05 Olivier Hainque <hainque@adacore.com>
1684
1685 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 1686 specificities.
a2218983 1687
818ab71a
JJ
16882016-01-04 Jakub Jelinek <jakub@redhat.com>
1689
1690 Update copyright years.
1691
5a6c8ffa
AP
16922015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1693
1694 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 1695 soft-fp targets.
5a6c8ffa 1696
077067a5
BE
16972015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1698
1699 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1700 instead of abort to avoid dependency on stdlib.h.
1701
787c1027
JDA
17022015-12-09 John David Anglin <danglin@gcc.gnu.org>
1703
1704 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1705 to initialize call to __dl_fixup once.
1706
04a9ae28
NC
17072015-12-04 Nick Clifton <nickc@redhat.com>
1708
1709 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1710 Allow for the second argument being negative.
1711 * config.host (extra_parts): Define for MSP430. Create separate
1712 libraries for each of the hardware multiply formats.
1713 * config/msp430/lib2hw_mul.S: Build only the multiply routines
1714 that are needed.
1715 * config/msp430/lib2mul.c: Likewise.
1716 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1717 Add rules to build hardware multiply libraries.
1718 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1719 __mspabi_divul function.
1720 (__mspabi_divllu): New stub function.
1721
9a32d437
JDA
17222015-12-01 John David Anglin <danglin@gcc.gnu.org>
1723
1724 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1725 fixup values if saved GOT address doesn't match runtime address.
1726 (fixup_branch_offset): Reorder list.
1727
e5ef217c
RO
17282015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1729
1730 * Makefile.in (VTV_CFLAGS): New variable.
1731 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1732 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1733 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1734 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1735 to extra_parts if $enable_vtable_verify = yes.
1736
78cc43a2
SN
17372015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
1738
1739 PR target/68059
1740 * config/arm/linux-atomic-64bit.c (__write): Rename to...
1741 (write): ...this and fix the return type.
1742
9afebea2
DD
17432015-11-19 DJ Delorie <dj@redhat.com>
1744
1745 * config/msp430/lib2hw_mul.S: Fix alignment.
1746
33f47f42
NS
17472015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1748
1749 * config/nvptx/reduction.c: New.
1750 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1751
d9adb476
DE
17522015-11-15 David Edelsohn <dje.gcc@gmail.com>
1753
1754 * config/rs6000/on_exit.c: New file.
1755 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1756 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1757
c0ab1970
CZ
17582015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1759
1760 * config/arc/dp-hack.h: Add support for ARCHS.
1761 * config/arc/ieee-754/divdf3.S: Likewise.
1762 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1763 * config/arc/ieee-754/muldf3.S: Likewise.
1764 * config/arc/ieee-754/mulsf3.S: Likewise
1765 * config/arc/lib1funcs.S: Likewise
1766 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1767 for ARCv2 cores.
1768 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1769 for ARCv2 cores.
1770 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1771 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1772 cores.
1773
e6b6bf09
RO
17742015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1775
1776 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1777 value.
1778 * config/ia64/crtend.S: Likewise.
1779
a153644f
TS
17802015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1781
1782 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1783 __CHAR_BIT__ instead of BITS_PER_UNIT.
1784 * fixed-bit.h: Likewise.
1785 * fp-bit.h: Likewise.
1786 * libgcc2.c (__popcountSI2): Likewise.
1787 (__popcountDI2): Likewise.
1788 * libgcc2.h: Likewise.
1789 * libgcov.h: Likewise.
1790
3dee689d
DE
17912015-11-07 David Edelsohn <dje.gcc@gmail.com>
1792
1793 * config/rs6000/atexit.c: New file.
1794 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1795 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1796 * config/rs6000/cxa_finalize.c
1797 (catomic_compare_and_exchange_bool_acq): Negate return value.
1798
2ef543e4
VK
17992015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1800
1801 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1802 (processor_subtypes): Add znver1.
1803 (get_amd_cpu): Detect znver1.
1804
1300f017
CL
18052015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1806
1807 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1808 Include crtfastmath.o.
1809
3e5bb7ee
JR
18102015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1811
1812 PR libgcc/66883
1813 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 1814
793aa938
KP
18152015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1816
1817 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1818 * config/rl78/divmodsi.S: Update return register to r8.
1819 * config/rl78/divmodhi.S: Update return register to r8,r9.
1820 Branch to main_loop_done_himode to pop registers before return.
1821
7d296953 18222015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
1823
1824 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1825 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1826
6a192b5a
KY
18272015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1828
1829 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1830
4a0a9457
MF
18312015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1832
1833 * config.host (xtensa*-*-uclinux*): New configuration.
1834
ab91c076
KY
18352015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1836
385c7747 1837 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
1838 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1839
30954527
JM
18402015-09-28 Joseph Myers <joseph@codesourcery.com>
1841
1842 * soft-fp/adddf3.c: Update from glibc.
1843 * soft-fp/addsf3.c: Likewise.
1844 * soft-fp/addtf3.c: Likewise.
1845 * soft-fp/divdf3.c: Likewise.
1846 * soft-fp/divsf3.c: Likewise.
1847 * soft-fp/divtf3.c: Likewise.
1848 * soft-fp/double.h: Likewise.
1849 * soft-fp/eqdf2.c: Likewise.
1850 * soft-fp/eqsf2.c: Likewise.
1851 * soft-fp/eqtf2.c: Likewise.
1852 * soft-fp/extenddftf2.c: Likewise.
1853 * soft-fp/extended.h: Likewise.
1854 * soft-fp/extendsfdf2.c: Likewise.
1855 * soft-fp/extendsftf2.c: Likewise.
1856 * soft-fp/extendxftf2.c: Likewise.
1857 * soft-fp/fixdfdi.c: Likewise.
1858 * soft-fp/fixdfsi.c: Likewise.
1859 * soft-fp/fixdfti.c: Likewise.
1860 * soft-fp/fixsfdi.c: Likewise.
1861 * soft-fp/fixsfsi.c: Likewise.
1862 * soft-fp/fixsfti.c: Likewise.
1863 * soft-fp/fixtfdi.c: Likewise.
1864 * soft-fp/fixtfsi.c: Likewise.
1865 * soft-fp/fixtfti.c: Likewise.
1866 * soft-fp/fixunsdfdi.c: Likewise.
1867 * soft-fp/fixunsdfsi.c: Likewise.
1868 * soft-fp/fixunsdfti.c: Likewise.
1869 * soft-fp/fixunssfdi.c: Likewise.
1870 * soft-fp/fixunssfsi.c: Likewise.
1871 * soft-fp/fixunssfti.c: Likewise.
1872 * soft-fp/fixunstfdi.c: Likewise.
1873 * soft-fp/fixunstfsi.c: Likewise.
1874 * soft-fp/fixunstfti.c: Likewise.
1875 * soft-fp/floatdidf.c: Likewise.
1876 * soft-fp/floatdisf.c: Likewise.
1877 * soft-fp/floatditf.c: Likewise.
1878 * soft-fp/floatsidf.c: Likewise.
1879 * soft-fp/floatsisf.c: Likewise.
1880 * soft-fp/floatsitf.c: Likewise.
1881 * soft-fp/floattidf.c: Likewise.
1882 * soft-fp/floattisf.c: Likewise.
1883 * soft-fp/floattitf.c: Likewise.
1884 * soft-fp/floatundidf.c: Likewise.
1885 * soft-fp/floatundisf.c: Likewise.
1886 * soft-fp/floatunditf.c: Likewise.
1887 * soft-fp/floatunsidf.c: Likewise.
1888 * soft-fp/floatunsisf.c: Likewise.
1889 * soft-fp/floatunsitf.c: Likewise.
1890 * soft-fp/floatuntidf.c: Likewise.
1891 * soft-fp/floatuntisf.c: Likewise.
1892 * soft-fp/floatuntitf.c: Likewise.
1893 * soft-fp/gedf2.c: Likewise.
1894 * soft-fp/gesf2.c: Likewise.
1895 * soft-fp/getf2.c: Likewise.
1896 * soft-fp/ledf2.c: Likewise.
1897 * soft-fp/lesf2.c: Likewise.
1898 * soft-fp/letf2.c: Likewise.
1899 * soft-fp/muldf3.c: Likewise.
1900 * soft-fp/mulsf3.c: Likewise.
1901 * soft-fp/multf3.c: Likewise.
1902 * soft-fp/negdf2.c: Likewise.
1903 * soft-fp/negsf2.c: Likewise.
1904 * soft-fp/negtf2.c: Likewise.
1905 * soft-fp/op-1.h: Likewise.
1906 * soft-fp/op-2.h: Likewise.
1907 * soft-fp/op-4.h: Likewise.
1908 * soft-fp/op-8.h: Likewise.
1909 * soft-fp/op-common.h: Likewise.
1910 * soft-fp/quad.h: Likewise.
1911 * soft-fp/single.h: Likewise.
1912 * soft-fp/soft-fp.h: Likewise.
1913 * soft-fp/subdf3.c: Likewise.
1914 * soft-fp/subsf3.c: Likewise.
1915 * soft-fp/subtf3.c: Likewise.
1916 * soft-fp/truncdfsf2.c: Likewise.
1917 * soft-fp/trunctfdf2.c: Likewise.
1918 * soft-fp/trunctfsf2.c: Likewise.
1919 * soft-fp/trunctfxf2.c: Likewise.
1920 * soft-fp/unorddf2.c: Likewise.
1921 * soft-fp/unordsf2.c: Likewise.
1922 * soft-fp/unordtf2.c: Likewise.
1923
4dfe21ac
RE
19242015-09-24 Richard Earnshaw <rearnsha@arm.com>
1925
1926 PR libgcc/67624
1927 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1928
df2a1cc4
RO
19292015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1930
1931 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1932 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1933 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1934 messages.
1935 (internal_mcount): Likewise.
1936 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1937 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1938
2d110442
RO
19392015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1940
1941 * configure.ac (libgcc_cv_solaris_crts): New test.
1942 * configure: Regenerate.
1943 * config.in: Regenerate.
1944 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1945 * config/gmon-sol2.c: Rename to ...
1946 * config/sol2/gmon.c: ... this.
1947 Include auto-target.h.
1948 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1949 * config/t-sol2: Rename to ...
1950 * config/sol2/t-sol2: ... this.
1951 (gmon.o): Reflect renaming.
1952 (crtp.o, crtpg.o): New rules.
1953 * config.host (*-*-solaris2*): Reflect renaming.
1954 Use system CRTs if present.
1955 Remove default CRT case.
1956
d572e439
JDA
19572015-09-23 John David Anglin <danglin@gcc.gnu.org>
1958
1959 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1960 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1961 __kernel_cmpxchg2.
1962 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1963 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1964 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1965 (__sync_lock_test_and_set_##WIDTH): Likewise.
1966 (__sync_lock_release_##WIDTH): Likewise.
1967 (__sync_fetch_and_##OP##_4): Change result to match type of
1968 __kernel_cmpxchg.
1969 (__sync_##OP##_and_fetch_4): Likewise.
1970 (__sync_val_compare_and_swap_4): Likewise.
1971 (__sync_bool_compare_and_swap_4): likewise.
1972 (__sync_lock_test_and_set_4): Likewise.
1973 (__sync_lock_release_4): Likewise.
1974 (FETCH_AND_OP_2): Add long long variants.
1975 (OP_AND_FETCH_2): Likewise.
1976 (COMPARE_AND_SWAP_2 ): Likewise.
1977 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1978 (SYNC_LOCK_RELEASE_2): Likewise.
1979 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1980
7d296953 19812015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
1982
1983 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1984 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1985 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1986 (get_available_features): Habdle new features.
1987
131314e1
JB
19882015-09-21 James Bowman <james.bowman@ftdichip.com>
1989
1990 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1991 memory layout. Deal correctly with BSS region larger than 32K.
1992 Handle a watchdog reset like a power-on reset. Clean up unused
1993 code.
1994
04218b35
AD
19952015-09-18 Andrew Dixie <andrewd@gentrack.com>
1996 David Edelsohn <dje.gcc@gmail.com>
1997
1998 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1999 * config/rs6000/crtdbase.S: New file.
2000 * config/rs6000/t-aix-cxa: Build crtdbase.o.
2001
c8338173
MF
20022015-09-15 Max Filippov <jcmvbkbc@gmail.com>
2003
2004 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
2005 Add support for call0 ABI.
2006
7a84bf71
JDA
20072015-09-13 John David Anglin <danglin@gcc.gnu.org>
2008
2009 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
2010
4efab402
SH
20112015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2012
2013 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
2014 (__GTHREAD_HAS_COND): Likewise.
2015 (__gthread_t): Likewise.
2016 (__gthread_cond_t): Likewise.
2017 (__gthread_time_t): Likewise.
2018 (__GTHREAD_MUTEX_INIT): Likewise.
2019 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
2020 (__GTHREAD_COND_INIT): Likewise.
2021 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
2022 (__GTHREAD_TIME_INIT): Likewise.
2023 (__gthread_create): Likewise.
2024 (__gthread_join): Likewise.
2025 (__gthread_detach): Likewise.
2026 (__gthread_equal): Likewise.
2027 (__gthread_self): Likewise.
2028 (__gthread_yield): Likewise.
2029 (__gthread_cond_broadcast): Likewise.
2030 (__gthread_cond_signal): Likewise.
2031 (__gthread_cond_wait): Likewise.
2032 (__gthread_cond_timedwait): Likewise.
2033 (__gthread_cond_wait_recursive): Likewise.
2034 (__gthread_cond_destroy): Likewise.
2035 (rtems_gxx_once): Delete.
2036 (rtems_gxx_key_create): Likewise.
2037 (rtems_gxx_key_delete): Likewise.
2038 (rtems_gxx_getspecific): Likewise.
2039 (rtems_gxx_setspecific): Likewise.
2040 (rtems_gxx_mutex_init): Likewise.
2041 (rtems_gxx_mutex_destroy): Likewise.
2042 (rtems_gxx_mutex_lock): Likewise.
2043 (rtems_gxx_mutex_trylock): Likewise.
2044 (rtems_gxx_mutex_unlock): Likewise.
2045 (rtems_gxx_recursive_mutex_init): Likewise.
2046 (rtems_gxx_recursive_mutex_lock): Likewise.
2047 (rtems_gxx_recursive_mutex_trylock): Likewise.
2048 (rtems_gxx_recursive_mutex_unlock): Likewise.
2049 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
2050 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
2051 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
2052 (__gthread_once): Likewise.
2053 (__gthread_key_create): Likewise.
2054 (__gthread_key_delete): Likewise.
2055 (__gthread_getspecific): Likewise.
2056 (__gthread_setspecific): Likewise.
2057 (__gthread_key_t): Use <pthread.h> type.
2058 (__gthread_once_t): Likewise
2059 (__gthread_mutex_t): Use <sys/lock.h> type.
2060 (__gthread_recursive_mutex_t): Likewise
2061 (__gthread_mutex_lock): Use <sys/lock.h> function.
2062 (__gthread_mutex_trylock): Likewise.
2063 (__gthread_mutex_timedlock): Likewise.
2064 (__gthread_mutex_unlock): Likewise.
2065 (__gthread_mutex_destroy): Likewise.
2066 (__gthread_recursive_mutex_lock): Likewise.
2067 (__gthread_recursive_mutex_trylock): Likewise.
2068 (__gthread_recursive_mutex_timedlock): Likewise.
2069 (__gthread_recursive_mutex_unlock): Likewise.
2070 (__gthread_recursive_mutex_destroy): Likewise.
2071
991995c4
MF
20722015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2073
2074 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
2075 context->sp instead of context->cfa.
2076
0e19db59
MF
20772015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2078
2079 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
2080 with unwind-dw2-fde-dip.
2081
b6ac5f62
MF
20822015-08-18 Max Filippov <jcmvbkbc@gmail.com>
2083
2084 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
2085 CALL12 followed by series of ENTRY to spill windowed registers.
2086 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
2087 instead of making linux spill syscall.
2088
3e0f3349
YR
20892015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
2090
2091 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
2092 (get_intel_cpu): Likewise.
2093
51c728b1
L
20942015-08-12 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
2097 (get_intel_cpu): Add Knights Landing support.
2098
aff4eeac
UB
20992015-08-11 Uros Bizjak <ubizjak@gmail.com>
2100
2101 PR target/66954
2102 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
2103 (get_available_features): Handle FEATURE_PCLMUL.
2104
736e56da
L
21052015-08-10 H.J. Lu <hongjiu.lu@intel.com>
2106
2107 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
2108 Broadwell.
2109
54d22142
UB
21102015-07-22 Uros Bizjak <ubizjak@gmail.com>
2111
2112 PR target/66954
2113 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
2114 (get_available_features): Handle FEATURE_AES.
2115
20ca17e4
CLT
21162015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
2117
2118 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
2119 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
2120
ebe4a560
NS
21212015-07-17 Nathan Sidwell <nathan@codesourcery.com>
2122
2123 * offloadstuff.c: Constify host data.
2124
180744c0
JB
21252015-07-17 Jan Beulich <jbeulich@suse.com>
2126
2127 * config/t-softfp: Split up "else ifneq".
2128
a03c6ae3
SL
21292015-07-14 Sandra Loosemore <sandra@codesourcery.com>
2130 Cesar Philippidis <cesar@codesourcery.com>
2131 Chung-Lin Tang <cltang@codesourcery.com>
2132
2133 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
2134 for __nios2_arch__ level.
2135
73358db5
JM
21362015-07-13 John Marino <gnugcc@marino.st>
2137
2138 * config/i386/t-dragonfly: New.
2139
f9a12f7b
JDA
21402015-07-01 John David Anglin <danglin@gcc.gnu.org>
2141
2142 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
2143 better match light-weight syscall argument order.
2144 (__kernel_cmpxchg2): Likewise.
2145 Adjust callers.
2146
cb78b51c
L
21472015-06-30 H.J. Lu <hongjiu.lu@intel.com>
2148
2149 * config.host: Support i[34567]86-*-elfiamcu target.
2150 * config/t-softfp-sfdftf: New file.
2151 * config/i386/32/t-iamcu: Likewise.
2152 * configure: Regenerated.
2153
4fa0f9ea
JL
21542015-06-23 James Lemke <jwlemke@codesourcery.com>
2155
2156 libgcc/config/arm/
2157 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
2158
428b3812
L
21592015-05-27 H.J. Lu <hongjiu.lu@intel.com>
2160
2161 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
2162
7d296953 21632015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
2164
2165 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
2166 md_unwind_header
2167 * config/i386/freebsd-unwind.h: New.
2168
9b789cc1
UB
21692015-05-22 Uros Bizjak <ubizjak@gmail.com>
2170
2171 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
2172 i386/t-crtfm to tmake_file.
2173 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
2174 (set_fast_math): Use set_fast_math_sse for SSE targets.
2175 * config/i386/t-crtfm: Remove.
2176
3dafb220
AM
21772015-05-21 Alan Modra <amodra@gmail.com>
2178
2179 PR libgcc/66225
2180 * config/rs6000/morestack.S: Remove ".abiversion 1".
2181
0f0fd745
AM
21822015-05-20 Alan Modra <amodra@gmail.com>
2183
2184 * config/rs6000/morestack.S: New.
2185 * config/rs6000/t-stack-rs6000: New.
2186 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
2187 to tmake_file.
2188 * generic-morestack.c: Don't build for powerpc 32-bit.
2189
515ae71b
EB
21902015-05-19 Eric Botcazou <ebotcazou@adacore.com>
2191
2192 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2193 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2194
36805406
JL
21952015-05-16 James Bowman <james.bowman@ftdichip.com>
2196
2197 * config.host: FT32 target added.
2198 * config/ft32/*: New files for FT32 target.
2199
ff935d0c
MG
22002015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2201
385c7747
UB
2202 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2203 New macros.
2204 * config/arm/ieee754-df.S: Add CFI directives.
2205 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2206
9b92a9f3
EB
22072015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2208
2209 * configure.ac: Include config/sjlj.m4.
2210 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2211 * config.in: Regenerate.
2212 * configure: Likewise.
2213 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2214
98b5dc61
UB
22152015-05-12 Uros Bizjak <ubizjak@gmail.com>
2216
2217 * libgcov-util.c: Add space between string literal and macro name.
2218
5a0ff57c
SL
22192015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2220 Chris Jones <chrisj@nvidia.com>
2221 Joshua Conner <jconner@nvidia.com>
2222
2223 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2224 (arm*-*-uclinux*): Likewise.
2225 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2226 * config/arm/crtfastmath.c: New file.
2227
d28ad5d4
BS
22282014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2229
2230 * Makefile.in (real_host_noncanonical): New variable.
2231 (libsubdir): Use it.
2232 * configure.ac (real_host_noncanonical): Compute. Remove special
2233 case for intelmicemul.
2234 * configure: Regenerate.
2235
cc86234f
UB
22362015-04-28 Uros Bizjak <ubizjak@gmail.com>
2237
2238 * config/frv/elf-lib.h: New file.
2239 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2240 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2241 to tm_file.
2242
22432015-04-28 Uros Bizjak <ubizjak@gmail.com>
2244
2245 * config/frv/frvbengin.c: Do not include defaults.h
2246 * config/frv/frvend.c: Ditto.
2247
2f6bd6eb
YS
22482015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2249
2250 * config.host: Add h8300-*-linux
2251 * config/h8300/t-linux: New file.
2252 * config/h8300/lib1funs.s: Change symbol prefix.
2253 * config/h8300/sfp-machine.h: 64bit double support.
2254
15aa7b44
GR
22552015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2256 Szabolcs Nagy <szabolcs.nagy@arm.com>
2257
2258 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2259 Linux if target provides dl_iterate_phdr.
2260
abd0cdc9
L
22612015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2262
2263 PR target/65612
2264 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2265 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2266 (__cpu_indicator_init@GCC_4.8.0): New.
2267 (__cpu_model@GCC_4.8.0): Likewise.
2268 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2269 -DUSE_ELF_SYMVER.
2270
72ed1126
NC
22712015-04-16 Nick Clifton <nickc@redhat.com>
2272
2273 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2274 and __modhi3 functions.
2275 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2276 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2277
d26b2237
CG
22782015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2279
2280 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2281 do-while loop as macro body to avoid warnings.
2282
cacf1f59
JJ
22832015-04-10 Jakub Jelinek <jakub@redhat.com>
2284 Iain Sandoe <iain@codesourcery.com>
2285
2286 PR target/65351
2287 * configure: Regenerate.
2288
e8a4ed3b
JJ
22892015-04-07 Jakub Jelinek <jakub@redhat.com>
2290 Iain Sandoe <iain@codesourcery.com>
2291
2292 PR target/65351
2293 * configure: Regenerate.
2294
0341335e
CLT
22952015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2296
2297 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2298
590e2636 22992015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2300
590e2636
MF
2301 Implement call0 ABI for xtensa
2302 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2303 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2304 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2305 use ret in call0 ABI.
2306 * config/xtensa/t-windowed: New file.
2307 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2308 * libgcc/configure: Regenerated.
2309 * libgcc/configure.ac: Check if xtensa target is configured for
2310 windowed ABI and thus needs to use custom unwind code.
2311
7727f8f2
JW
23122015-02-12 Jonathan Wakely <jwakely@redhat.com>
2313
2314 PR libgcc/64885
2315 * gthr-single.h: Use __unused__ attribute instead of unused.
2316 * config/gthr-vxworks.h: Likewise.
2317 * config/i386/gthr-win32.h: Likewise.
2318
0e4a0def
KT
23192015-02-27 Kai Tietz <ktietz@redhat.com>
2320
2321 PR target/65038
2322 * config.in: Regenerated.
2323 * configure: Likewise.
2324 * configure.ac (AC_HEADER_STDC): Added explicit.
2325 (AC_CHECK_HEADERS): Check for default headers plus
2326 for ftw.h header.
2327 * libgcov-util.c (gcov_read_profile_dir): Disable use
2328 of ftw-function, if header is not found.
2329 (ftw_read_file): Likewise.
2330
b6530d0a
TS
23312015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2332
2333 PR target/65181
2334 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2335 -Dinhibit_libc.
2336
53cfb467
SL
23372015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2338
2339 * config/arm/bpabi.S (test_div_by_zero): Make label names
2340 consistent between thumb2 and arm mode cases. Separate the
2341 signed comparison on the high word of the numerator from the
2342 unsigned comparison on the low word.
2343 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2344 signed comparison.
2345
77d10a1b
JM
23462015-02-17 Joseph Myers <joseph@codesourcery.com>
2347
2348 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2349 and <string.h>.
2350 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2351
98174188
RE
23522015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2353
2354 PR gcov-profile/61889
471274de 2355 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 2356
771bef14
NC
23572015-02-02 Nick Clifton <nickc@redhat.com>
2358
2359 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2360 rounding up the fraction.
2361
40702893
JDA
23622015-01-31 John David Anglin <danglin@gcc.gnu.org>
2363
2364 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2365 oldval and newval to const void *. Fix typo.
2366 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2367 (FETCH_AND_OP_WORD): Likewise.
2368 (OP_AND_FETCH_WORD): Likewise.
2369 (COMPARE_AND_SWAP_2): Likewise.
2370 (__sync_val_compare_and_swap_4): Likewise.
2371 (__sync_lock_test_and_set_4): Likewise.
2372 (SYNC_LOCK_RELEASE_2): Likewise.
2373 Remove support for long long atomic operations.
2374
f7f049fa
CT
23752015-01-27 Caroline Tice <cmtice@google.com>
2376
2377 Committing VTV Cywin/Ming patch for Patrick Wollgast
2378 * Makefile.in: Move rules to build vtv_*.o out of the check
2379 for CUSTOM_CRTSTUFF.
2380 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2381 i[34567]86-*-mingw*)
2382 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2383 enable_vtable_verify.
2384
8410904a
NC
23852015-01-27 Nick Clifton <nickc@redhat.com>
2386
2387 * config/rl78/cmpsi2.S: Use function start and end macros.
2388 (__gcc_bcmp): New function.
2389 * config/rl78/lshrsi3.S: Use function start and end macros.
2390 * config/rl78/mulsi3.S: Add support for G10.
2391 (__mulqi3): New function for G10.
2392 * config/rl78/signbit.S: Use function start and end macros.
2393 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2394 fpmath-sf.S.
2395 (LIB2FUNCS_EXCLUDE): Define.
2396 (LIB2FUNCS_ST): Define.
2397 * config/rl78/trampoline.S: Use function start and end macros.
2398 * config/rl78/vregs.h (START_FUNC): New macro.
2399 (START_ANOTHER_FUNC): New macro.
2400 (END_FUNC): New macro.
2401 (END_ANOTHER_FUNC): New macro.
2402 * config/rl78/bit-count.S: New file. Contains assembler
2403 implementations of the bit counting functions: ___clzhi2,
2404 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2405 __paritysi2, __popcounthi2 and __popcountsi2.
2406 * config/rl78/fpbit-sf.S: New file. Contains assembler
2407 implementationas of the math functions: __negsf2, __cmpsf2,
2408 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2409 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2410 * config/rl78/fpmath-sf.S: New file. Contains assembler
2411 implementations of the math functions: __subsf3, __addsf3,
2412 __mulsf3 and __divsf3
2413
f962fbf1
RO
24142015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2415
2416 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2417 Add i386/elf-lib.h to tm_file.
2418 * config/i386/elf-lib.h: Fix comment.
2419 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2420 && __sun__ && __svr4__]: Remove workaround.
2421
939911c5
ASJ
24222015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2423
2424 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2425 FEATURE_BMI2.
2426 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2427
c8f2dff2
L
24282015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2429
2430 * config/i386/cpuinfo.c (processor_subtypes): Add
2431 INTEL_COREI7_BROADWELL.
2432 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2433 model numbers.
2434
7bbf9734
UB
24352015-01-23 Uros Bizjak <ubizjak@gmail.com>
2436
2437 * config/i386/elf-lib.h: New file.
2438 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2439 Wrap definition in #ifdef __i386__.
2440 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2441 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2442 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2443 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2444 to tm_file.
2445
324820f1
CG
24462015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2447
2448 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2449 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2450
a9ce4e4a
CLT
24512015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2452
2453 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2454 Update rt_sigframe format and address for current Nios II
2455 Linux conventions.
2456
82a19768
AT
24572015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2458
2459 * config.host (arm*-*-freebsd*): Add new configuration for
2460 arm*-*-freebsd*.
2461 * config/arm/freebsd-atomic.c: New file.
2462 * config/arm/t-freebsd: Likewise.
2463 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2464 'PC-relative indirect' OS's.
2465
0969ec7d
EB
24662015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2467
2468 * config.host: Add Visium support.
2469 * config/visium: New directory.
2470
5624e564
JJ
24712015-01-05 Jakub Jelinek <jakub@redhat.com>
2472
2473 Update copyright years.
2474
82f84ecb
MF
24752014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2476
2477 * config.host: Support mipsisa32r6 and mipsisa64r6.
2478 * config/mips/mips16.S: Do not build for R6.
2479
69044fa9
OE
24802014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2481
2482 * config/sh/crt.h: New.
2483 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2484 symbols.
2485 * config/sh/crt1.S: Likewise.
2486
2405e0ea
UB
24872014-12-15 Uros Bizjak <ubizjak@gmail.com>
2488
2489 PR libgcc/63832
2490 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2491 func_ptr *dtor_list temporary variable to avoid "array subscript
2492 is above array bounds" warnings.
2493
7d296953 24942014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
2495
2496 * Makefile.in (with_aix_soname): Define.
2497 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2498 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2499 * configure: Recreate.
2500
a66272f6
OH
25012014-12-05 Olivier Hainque <hainque@adacore.com>
2502
2503 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2504 now provided by defaults.h.
2505
6342b2c5
OE
25062014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2507
7d0ee249 2508 PR target/55351
6342b2c5
OE
2509 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2510 whether it's defined.
2511
c17eac85
IT
25122014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2513
2514 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2515 * config/i386/cpuinfo.c (get_available_features): Detect it.
2516
1025cb6c
TW
25172014-11-27 Tony Wang <tony.wang@arm.com>
2518
2519 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2520 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2521 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2522
d19f2e38
SB
25232014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2524
2525 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2526
17f6e9a3
JDA
25272014-11-24 John David Anglin <danglin@gcc.gnu.org>
2528
2529 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2530 instead.
2531
0cd7c672
GM
25322014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2533 John David Anglin <danglin@gcc.gnu.org>
2534
2535 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2536 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2537 (OP_AND_FETCH_2): Likewise.
2538 (COMPARE_AND_SWAP_2): Likewise.
2539 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2540 (SYNC_LOCK_RELEASE_2): Likewise.
2541 (SUBWORD_SYNC_OP): Remove.
2542 (SUBWORD_VAL_CAS): Likewise.
2543 (SUBWORD_BOOL_CAS): Likewise.
2544 (FETCH_AND_OP_WORD): Update.
2545 Consistently use signed types.
cc86234f 2546
85c64bbe
BS
25472014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2548 Thomas Schwinge <thomas@codesourcery.com>
2549 Ilya Verbin <ilya.verbin@intel.com>
2550 Andrey Turetskiy <andrey.turetskiy@intel.com>
2551
2552 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2553 (crtoffloadend$(objext)): Likewise.
2554 * configure: Regenerate.
2555 * configure.ac (accel_dir_suffix): Compute new variable.
2556 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2557 if enable_offload_targets is not empty.
2558 * offloadstuff.c: New file.
2559
52a1ff8b
NC
25602014-11-13 Nick Clifton <nickc@redhat.com>
2561
2562 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2563 Use START_FUNC and END_FUNC macros to enable linker garbage
2564 collection.
2565 * config/rl78/divmodqi.S: Likewise.
2566 * config/rl78/divmodsi.S: Likewise.
2567 * config/rl78/mulsi3.S: Likewise.
2568 * config/rl78/lib2div.c: Remove G10 functions.
2569 * config/rl78/lib2muls.c: Likewise.
2570 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2571 * config/rl78/vregs.h (START_FUNC): New macro.
2572 (END_FUNC): New macro.
2573
050af144
MF
25742014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2575
2576 * config/mips/mips16.S: Set .module when supported. Update O32
2577 FP64 calling convention and use for FPXX when possible. Add FPXX
2578 calling convention fallback case.
2579
738f2522
BS
25802014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2581
2582 * config.host: Handle nvptx-*-*.
2583 * shared-object.mk (as-flags-$o): Define.
2584 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2585 -xassembler-with-cpp.
2586 * static-object.mk: Identical changes.
2587 * config/nvptx/t-nvptx: New file.
2588 * config/nvptx/crt0.s: New file.
2589 * config/nvptx/free.asm: New file.
2590 * config/nvptx/malloc.asm: New file.
2591 * config/nvptx/realloc.c: New file.
2592
e610393c
JM
25932014-10-30 Joseph Myers <joseph@codesourcery.com>
2594
2595 * Makefile.in (libgcc.map.in): New target.
2596 (libgcc.map): Use libgcc.map.in.
2597 * config/t-softfp (softfp_compat): New variable to be set by
2598 users.
2599 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2600 variables.
2601 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2602 directory.
2603 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2604 that use compat symbols and disable all code unless [SHARED].
2605 * config/t-softfp-compat: New file.
2606 * find-symver.awk: New file.
2607 * configure.ac (--with-glibc-version): New configure option.
2608 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2609 * configure: Regenerate.
2610 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2611 soft-float and e500.
2612
bc1b3a88
JM
26132014-10-29 Joseph Myers <joseph@codesourcery.com>
2614
2615 * config/t-hardfp (hardfp_exclusions): Document new variable for
2616 user to define.
2617 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2618 * config/t-softfp (softfp_extras): Document new variable for user
2619 to define.
2620 (softfp_func_list): Add functions from $(softfp_extras).
2621 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2622 * config.host (powerpc*-*-linux*): For e500v1, use
2623 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2624 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2625 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2626
ef2810c1
JDA
26272014-10-26 John David Anglin <danglin@gcc.gnu.org>
2628
2629 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2630 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2631 memory read accesses are ok.
2632
d80c2bea
JM
26332014-10-25 Joseph Myers <joseph@codesourcery.com>
2634
2635 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2636 * configure: Regenerate.
2637 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2638 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
2639 of soft-fp for 32-bit classic hard float. Do not use
2640 t-softfp-excl for soft float.
2641
693b297b
JM
26422014-10-22 Joseph Myers <joseph@codesourcery.com>
2643
2644 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2645 configurations.
2646 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2647 Remove variables.
2648
18a3415e
GJL
26492014-10-22 Georg-Johann Lay <avr@gjlay.de>
2650
2651 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2652 introduced with 2014-10-21 trunk r216525.
2653
c1dd9790 26542014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
2655 Vidya Praveen <vidya.praveen@atmel.com>
2656 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2657 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2658 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
2659
2660 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2661 order.
2662
2663 Updated library functions for AVRTINY arch.
2664 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2665 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2666 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2667 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2668 wsubi/wadi macors.
2669 (__mulsi3_helper): Update stack, preserve callee saved regs and
2670 argument from stack. Restore callee save registers.
2671 (__mulpsi3): Likewise.
2672 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2673 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 2674 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
2675 AVRTINY.
2676 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2677 (__do_copy_data): Added new definition for AVRTINY.
2678 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2679 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2680 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2681 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2682 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2683 macors.
18a3415e 2684 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
2685 AVRTINY.
2686
18a3415e 2687 Fix broken long multiplication on tiny arch.
c1dd9790 2688
5f606431
JM
26892014-10-09 Joseph Myers <joseph@codesourcery.com>
2690
2691 * soft-fp/double.h: Update from glibc.
2692 * soft-fp/eqdf2.c: Likewise.
2693 * soft-fp/eqsf2.c: Likewise.
2694 * soft-fp/eqtf2.c: Likewise.
2695 * soft-fp/extenddftf2.c: Likewise.
2696 * soft-fp/extended.h: Likewise.
2697 * soft-fp/extendsfdf2.c: Likewise.
2698 * soft-fp/extendsftf2.c: Likewise.
2699 * soft-fp/extendxftf2.c: Likewise.
2700 * soft-fp/gedf2.c: Likewise.
2701 * soft-fp/gesf2.c: Likewise.
2702 * soft-fp/getf2.c: Likewise.
2703 * soft-fp/ledf2.c: Likewise.
2704 * soft-fp/lesf2.c: Likewise.
2705 * soft-fp/letf2.c: Likewise.
2706 * soft-fp/op-1.h: Likewise.
2707 * soft-fp/op-2.h: Likewise.
2708 * soft-fp/op-4.h: Likewise.
2709 * soft-fp/op-8.h: Likewise.
2710 * soft-fp/op-common.h: Likewise.
2711 * soft-fp/quad.h: Likewise.
2712 * soft-fp/single.h: Likewise.
2713 * soft-fp/soft-fp.h: Likewise.
2714 * soft-fp/unorddf2.c: Likewise.
2715 * soft-fp/unordsf2.c: Likewise.
2716 * soft-fp/unordtf2.c: Likewise.
2717 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2718 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2719 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2720 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2721 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2722 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2723 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2724 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2725 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2726 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2727
9b84e7a8
RX
27282014-10-08 Rong Xu <xur@google.com>
2729
2730 * libgcov-util.c (read_gcda_file): Fix format.
2731 (find_match_gcov_info): Ditto.
2732 (calculate_2_entries): New.
2733 (compute_one_gcov): Ditto.
2734 (gcov_info_count_all_cold): Ditto.
2735 (gcov_info_count_all_zero): Ditto.
2736 (extract_file_basename): Ditto.
2737 (get_file_basename): Ditto.
2738 (set_flag): Ditto.
2739 (matched_gcov_info): Ditto.
2740 (calculate_overlap): Ditto.
2741 (gcov_profile_overlap): Ditto.
2742 * libgcov-driver.c (compute_summary): Make
2743 it avavilable for external calls.
2744
fe1090c1
RX
27452014-10-06 Rong Xu <xur@google.com>
2746
2747 * Makefile.in: Ditto.
2748 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2749 (gcov_sort_icall_topn_counter): Ditto.
2750 (gcov_sort_topn_counter_arrays): Ditto.
2751 (dump_one_gcov): Sort indirect_call topn counters.
2752 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2753 function.
2754 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2755 utility function.
2756 (__gcov_indirect_call_topn_profiler): New profiler function.
2757 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2758 * libgcov.h: New decls.
2759
3daa7bbf
TS
27602014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2761
2762 * config.host: Remove support for score-*.
2763
9a79452d
JM
27642014-09-22 Joseph Myers <joseph@codesourcery.com>
2765
2766 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2767 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2768 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2769 __LIBGCC_XF_MANT_DIG__.
2770 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2771 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2772 __LIBGCC_TF_MANT_DIG__.
2773 * libgcc2.c (NOTRUNC): Define in terms of
2774 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2775 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2776
1a849e50
JM
27772014-09-22 Joseph Myers <joseph@codesourcery.com>
2778
2779 PR target/63312
2780 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2781 New macros.
2782
598a1586
HPN
27832014-09-22 Hans-Peter Nilsson <hp@axis.com>
2784
2785 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2786 override USE_PT_GNU_EH_FRAME.
2787 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2788 check USE_EH_FRAME_REGISTRY_ALWAYS against
2789 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2790 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2791 variable for substituted force_explicit_eh_registry.
2792 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2793 * configure.ac (explicit-exception-frame-registration):
2794 New AC_ARG_ENABLE.
2795 * configure: Regenerate.
2796
3a8fe7c6
OH
27972014-09-19 Olivier Hainque <hainque@adacore.com>
2798
2799 * config.host (powerpc-wrs-vxworksmils): New configuration,
2800 same as vxworksae.
2801
dd69f047
JM
28022014-09-18 Joseph Myers <joseph@codesourcery.com>
2803
2804 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2805
e770bfd9
JM
28062014-09-18 Joseph Myers <joseph@codesourcery.com>
2807
2808 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2809 bits not set bits as indicating trapping exceptions.
2810
cadb2b96
NS
28112014-09-17 Nathan sidwell <nathan@acm.org>
2812
2813 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2814 (LIBGCOV_DRIVER): ... here.
2815 * libgcov-driver.c (gcov_master): New.
2816 (gcov_exit): Remove from master chain.
2817 (__gcov_init): Add to master chain if version compatible. Don't
2818 clear the version.
2819 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2820 (gcov_reset_int): Clear master chain, if compatible.
2821 (gcov_dump_int): New internal interface. Dump master chain, if
2822 compatible.
2823 (gcov_dump): Alias for gcov_dump_int.
2824 * libgcov.h (struct gcov_root): Add next and prev fields.
2825 (struct gcov_master): New struct.
2826 (__gcov_master): New.
2827 (gcov_dump_int): Declare.
2828
580d22a3
OH
28292014-09-17 Olivier Hainque <hainque@adacore.com>
2830
2831 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2832 and crtbegin.o + crtend.o to extra_parts.
2833
8cc4b7a2
JM
28342014-09-12 Joseph Myers <joseph@codesourcery.com>
2835
2836 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2837 __LIBGCC_HAS_SF_MODE__.
2838 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2839 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2840 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2841 * config/libbid/bid_gcc_intrinsics.h
2842 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2843 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2844 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2845 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2846 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2847 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2848
ea3f2b24
GJL
28492014-09-11 Georg-Johann Lay <avr@gjlay.de>
2850
2851 PR target/63223
2852 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2853 and R24 as needed. Make work for all devices and .text locations.
2854 (__do_global_ctors, __do_global_dtors): Use word addresses.
2855 (__tablejump__, __tablejump_elpm__): Remove functions.
2856 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2857 Add _tablejump2.
2858 (XICALL, XIJMP): New macros.
2859
b677236a
MS
28602014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2861 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2862
2863 * config.host (aarch64*): Include crtfastmath.o and
2864 t-crtfm.
2865 * config/aarch64/crtfastmath.c: New file.
2866
157e859f
TS
28672014-09-08 Trevor Saunders <tsaunders@mozilla.com>
2868
2869 * config.host: Remove picochip support.
2870 * config/picochip/adddi3.S: Remove.
2871 * config/picochip/ashlsi3.S: Remove.
2872 * config/picochip/ashlsi3.c: Remove.
2873 * config/picochip/ashrsi3.S: Remove.
2874 * config/picochip/ashrsi3.c: Remove.
2875 * config/picochip/clzsi2.S: Remove.
2876 * config/picochip/cmpsi2.S: Remove.
2877 * config/picochip/divmod15.S: Remove.
2878 * config/picochip/divmodhi4.S: Remove.
2879 * config/picochip/divmodsi4.S: Remove.
2880 * config/picochip/lib1funcs.S: Remove.
2881 * config/picochip/longjmp.S: Remove.
2882 * config/picochip/lshrsi3.S: Remove.
2883 * config/picochip/lshrsi3.c: Remove.
2884 * config/picochip/parityhi2.S: Remove.
2885 * config/picochip/popcounthi2.S: Remove.
2886 * config/picochip/setjmp.S: Remove.
2887 * config/picochip/subdi3.S: Remove.
2888 * config/picochip/t-picochip: Remove.
2889 * config/picochip/ucmpsi2.S: Remove.
2890 * config/picochip/udivmodhi4.S: Remove.
2891 * config/picochip/udivmodsi4.S: Remove.
2892
66bb34c0
JM
28932014-09-08 Joseph Myers <joseph@codesourcery.com>
2894
2895 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2896 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2897 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2898 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2899 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2900 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2901 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2902 defined and LIBGCC2_HAS_DF_MODE is defined.
2903 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2904 defined and LIBGCC2_HAS_XF_MODE is defined.
2905 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2906 defined and LIBGCC2_HAS_TF_MODE is defined.
2907
9686a2e6
JM
29082014-09-08 Joseph Myers <joseph@codesourcery.com>
2909
2910 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2911 and ROUND_TOWARDS_ZERO conditionals.
2912
71c3e2ef
NS
29132014-09-07 Nathan sidwell <nathan@acm.org>
2914
2915 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2916 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2917
53d68b9f
JM
29182014-09-05 Joseph Myers <joseph@codesourcery.com>
2919
2920 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2921 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2922 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2923 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2924 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2925 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2926 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2927 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2928 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2929 (DWARF_FRAME_REGISTERS): Change all uses to
2930 __LIBGCC_DWARF_FRAME_REGISTERS__.
2931 (EH_RETURN_STACKADJ_RTX): Change all uses to
2932 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2933 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2934 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2935 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2936 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2937 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2938 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2939 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2940 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2941 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2942 __LIBGCC_STACK_POINTER_REGNUM__.
2943 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2944 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2945 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2946 to __LIBGCC_STACK_POINTER_REGNUM__.
2947 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2948 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2949 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2950 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2951 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2952 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2953 (STACK_POINTER_REGNUM): Change all uses to
2954 __LIBGCC_STACK_POINTER_REGNUM__.
2955 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2956 use to __LIBGCC_STACK_POINTER_REGNUM__.
2957 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2958 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2959 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2960 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2961 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2962 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2963 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2964 to __LIBGCC_STACK_POINTER_REGNUM__.
2965 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2966 Remove conditional definition.
2967 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2968 __LIBGCC_TEXT_SECTION_ASM_OP__.
2969 (EH_FRAME_SECTION_NAME): Change all uses to
2970 __LIBGCC_EH_FRAME_SECTION_NAME__.
2971 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2972 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2973 (CTORS_SECTION_ASM_OP): Change all uses to
2974 __LIBGCC_CTORS_SECTION_ASM_OP__.
2975 (DTORS_SECTION_ASM_OP): Change all uses to
2976 __LIBGCC_DTORS_SECTION_ASM_OP__.
2977 (JCR_SECTION_NAME): Change all uses to
2978 __LIBGCC_JCR_SECTION_NAME__.
2979 (INIT_SECTION_ASM_OP): Change all uses to
2980 __LIBGCC_INIT_SECTION_ASM_OP__.
2981 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2982 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2983 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2984 __LIBGCC_STACK_GROWS_DOWNWARD__.
2985 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2986 __LIBGCC_INIT_SECTION_ASM_OP__.
2987 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2988 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2989 (EH_FRAME_SECTION_NAME): Change all uses to
2990 __LIBGCC_EH_FRAME_SECTION_NAME__.
2991 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2992 definitions. Change all uses to
2993 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2994 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2995 __LIBGCC_STACK_GROWS_DOWNWARD__.
2996 (DWARF_FRAME_REGISTERS): Change all uses to
2997 __LIBGCC_DWARF_FRAME_REGISTERS__.
2998 (EH_RETURN_STACKADJ_RTX): Change all uses to
2999 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
3000 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
3001 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
3002 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
3003 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
3004 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
3005
b20ee094
NS
30062014-09-02 Nathan sidwell <nathan@acm.org>
3007
3008 * libgcov-interface.c (STRONG_ALIAS): New.
3009 (__gcov_flush): Call __gcov_reset_int.
3010 (__gcov_reset): Strong alias for ...
3011 (__gcov_reset_ing): ... this renamed hidden version.
3012 * libgcov.h (__gcov_reset_int): New declaration.
3013
1ac83976
YS
30142014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
3015
25efdb9f
YS
3016 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
3017 call from here...
3018 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
3019 (__dso_handle): Define on Cygwin.
3020 * config/i386/t-cygming (crtbeginS.o): New rule.
3021 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
3022
1ac83976
YS
3023 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
3024 declaration syntax.
3025
c6f9ea3b
SE
30262014-08-13 Steve Ellcey <sellcey@mips.com>
3027
3028 * crtstuff.c: Undef caddr_t.
3029
5b1ea7c5
SE
30302014-08-12 Steve Ellcey <sellcey@mips.com>
3031
3032 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
3033
4303c581
NS
30342014-08-07 Nathan Sidwell <nathan@acm.org>
3035
3036 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
3037 (LIBGCOV_DRIVER): ... to here.
3038 * libgcov.h (gcov_do_dump): New #define.
3039 (struct gcov_root): New.
3040 (__gcov_root): New declaration.
3041 (__gcov_dump_one): Declare.
3042 * libgcov-driver.c (gcov_list, gcov_dump_complete,
3043 run_accounted): Delete.
3044 (gcov_compute_histogram): Add LIST argument, adjust.
3045 (compute_summary): Adjust gcov_compute_histogram call.
3046 (gcov_do_dump): Not hidden, static in libgcov.
3047 (gcov_clear): Move to interface.c.
3048 (__gcov_dump_one): New, broken out of ...
3049 (gcov_exit): ... here. Make static.
3050 (__gcov_root): New.
3051 (__gcov_init): Adjust.
3052 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
3053 declarations.
3054 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
3055 (gcov_clear): Moved from driver.c. Add LIST argument.
3056 (__gcov_reset): Adjust for changed interfaces.
3057 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
3058
23742a9e
RAR
30592014-08-04 Rohit <rohitarulraj@freescale.com>
3060
3061 PR target/60102
3062 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 3063 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 3064
b98a872b
NS
30652014-08-01 Nathan Sidwell <nathan@acm.org>
3066
3067 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
3068 LIBGCOV_INTERFACE): Reformat.
3069 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
3070 IN_GCOV_TOOL.
3071 * libgcov-interface.c: Reformat some comments.
3072 (__gcov_flush_mx): Add declaration. Tidy up definition.
3073
6adaaa1d
AM
30742014-07-31 Alan Modra <amodra@gmail.com>
3075 Peter Bergner <bergner@vnet.ibm.com>
3076
3077 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
3078 (pack_ldouble): New function.
3079 (__gcc_qadd): Use it.
3080 (__gcc_qmul): Likewise.
3081 (__gcc_qdiv): Likewise.
3082 (__gcc_qneg): Likewise.
3083 (__gcc_stoq): Likewise.
3084 (__gcc_dtoq): Likewise.
3085
87cb0c0c
UW
30862014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
3087
3088 * config/s390/tpf-unwind.h: Include <stdbool.h>.
3089 (__tpf_eh_return): Add original return address as second parameter.
3090 Handle cases where unwinder routines were called directly, instead
3091 of from within the C++ library.
3092
19926161
NS
30932014-07-29 Nathan Sidwell <nathan@acm.org>
3094
3095 * libgcov.h: Move renaming of entry points to lib gcov specific
3096 portion.
3097 (gcov_do_dump): New rename.
3098 (gcov_rewrite): Remove inline, make HIDDEN.
3099 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
3100 (gcov_exit_compute_summary): Rename to ...
3101 (compute_summary): ... here. Add LIST argument.
3102 (gcov_exit_merge_gcda): Rename to ...
3103 (merge_one_data): ... here.
3104 (gcov_exit_write_gcda): Rename to ...
3105 (write_one_data): ... here.
3106 (gcov_exit_merge_summary): Rename to ...
3107 (merge_summary): Add RUN_COUNTED argument.
3108 (gcov_exit_dump_gcov): Rename to ...
3109 (dump_one_gcov): Add RUN_COUNTED argument.
3110 (gcov_do_dump): New function, broken out of ...
3111 (gcov_exit): ... here. Call it.
3112
17522262
AG
31132014-07-27 Anthony Green <green@moxielogic.com>
3114
3115 * config.host: Add moxiebox configuration suppport.
3116
6dc33097
NS
31172014-07-27 Nathan Sidwell <nathan@acm.org>
3118
3119 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
3120 (struct gcov_filename): ... here. Include buffer and max length
3121 fields.
3122 (gcov_max_filename): Remove.
3123 (gi_filename): Remove.
3124 (gcov_exit_compute_summary): Compute max filename here.
3125 (gcov_exit_merge_gcda): Add filename parm, adjust.
3126 (gcov_exit_merge_summary): Likewise.
3127 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
3128 (gcov_exit): Likewise.
3129 (__gcov_init): Don't calculate max length here.
3130 * libgcov_util.c (max_filename_len): Remove.
3131 (read_gcda_file): Don't calculate max length here.
3132 (gcov_read_profile_dir): Don't propagate here.
3133 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
3134 struct gcov_filename changes.
3135 (gcov_exit_open_gcda_file): Likewise.
3136
770f687d
NS
31372014-07-25 Nathan Sidwell <nathan@acm.org>
3138
3139 * libgcov-driver.c (set_gcov_dump_complete,
3140 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
3141 functions polluting user's namespace.
3142 (gcov_exit): Set variable directly.
3143 (gcov_clear): Reset variable directly.
3144 * libgcov-interface.c (get_gcov_dymp_complete,
3145 reset_gov_dump_complete): Remove declarations.
3146 (__gcov_reset, __gcov_dump): Don't call them.
3147
fabf71ba
DD
31482014-07-24 DJ Delorie <dj@redhat.com>
3149
3150 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
3151 (__gcc_deregister_frame): Move logic to detect deregister function
3152 to ...
3153 (__gcc_register_frame): here, so it's consistent with the register
3154 logic.
fabf71ba 3155
d10ee722
NS
31562014-07-23 Nathan Sidwell <nathan@acm.org>
3157
3158 * libgcov-driver.c (set_gcov_list): Remove.
3159 (gcov_list): Make non-static in GCOV_TOOL.
3160 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
3161
a4137090
JDA
31622014-07-17 John David Anglin <danglin@gcc.gnu.org>
3163
3164 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
3165 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
3166 Don't use SYNC_LOCK_RELEASE for int type.
3167
72602c6c
RB
31682014-07-14 Richard Biener <rguenther@suse.de>
3169
3170 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
3171
d5313205
RX
31722014-07-11 Rong Xu <xur@google.com>
3173
3174 * libgcov-util.c (gcov_max_filename): Fix declartion.
3175
c77556a5
RX
31762014-07-10 Rong Xu <xur@google.com>
3177
3178 Add gcov-tool: an offline gcda profile processing tool
3179 Support.
3180 * libgcov-driver.c (gcov_max_filename): Make available
3181 to gcov-tool.
3182 * libgcov-merge.c (__gcov_merge_add): Replace
3183 gcov_read_counter() with a Macro.
3184 (__gcov_merge_ior): Ditto.
3185 (__gcov_merge_time_profile): Ditto.
3186 (__gcov_merge_single): Ditto.
3187 (__gcov_merge_delta): Ditto.
3188 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
3189 in the utility functions.
3190 (set_fn_ctrs): Utility function for reading gcda files to in-memory
3191 gcov_list object link lists.
3192 (tag_function): Ditto.
3193 (tag_blocks): Ditto.
3194 (tag_arcs): Ditto.
3195 (tag_lines): Ditto.
3196 (tag_counters): Ditto.
3197 (tag_summary): Ditto.
3198 (read_gcda_finalize): Ditto.
3199 (read_gcda_file): Ditto.
3200 (ftw_read_file): Ditto.
3201 (read_profile_dir_init): Ditto.
3202 (gcov_read_profile_dir): Ditto.
3203 (gcov_read_counter_mem): Ditto.
3204 (gcov_get_merge_weight): Ditto.
3205 (merge_wrapper): A wrapper function that calls merging handler.
3206 (gcov_merge): Merge two gcov_info objects with weights.
3207 (find_match_gcov_info): Find the matched gcov_info in the list.
3208 (gcov_profile_merge): Merge two gcov_info object lists.
3209 (__gcov_add_counter_op): Process edge profile counter values.
3210 (__gcov_ior_counter_op): Process IOR profile counter values.
3211 (__gcov_delta_counter_op): Process delta profile counter values.
3212 (__gcov_single_counter_op): Process single profile counter values.
3213 (fp_scale): Callback function for float-point scaling.
cc86234f 3214 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3215 (gcov_profile_scale): Scaling profile counters.
3216 (gcov_profile_normalize): Normalize profile counters.
3217 * libgcov.h: Add headers and functions for gcov-tool use.
3218 (gcov_get_counter): New.
3219 (gcov_get_counter_target): Ditto.
3220 (struct gcov_info): Make the functions field mutable in gcov-tool
3221 compilation.
3222
5c7dac8a
KT
32232014-06-23 Kai Tietz <ktietz@redhat.com>
3224
3225 PR libgcc/61585
3226 * unwind-seh.c (_Unwind_GetGR): Check for proper
3227 index range.
3228 (_Unwind_SetGR): Likewise.
3229
161c9312
NC
32302014-05-22 Nick Clifton <nickc@redhat.com>
3231
3232 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3233 -mhwmult=none.
3234
e3f0315f
TJ
32352014-05-22 Teresa Johnson <tejohnson@google.com>
3236
3237 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3238 include.
3239
dbed5a9b
JM
32402014-05-20 John Marino <gnugcc@marino.st>
3241
3242 * config.host (*-*-dragonfly*): New target.
3243 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3244 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3245 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3246 * config/i386/dragonfly-unwind.h: New.
3247
1ec380e5
MR
32482014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3249
3250 PR libgcc/60166
3251 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3252 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3253
54fde020
BE
32542014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3255
3256 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3257 implementation.
3258
999db125
GJL
32592014-05-12 Georg-Johann Lay <avr@gjlay.de>
3260
3261 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3262
cceaf54a
RO
32632014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3264
3265 PR libgcc/61097
3266 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3267 if --enable-shared.
3268
e3fe9b5b
BE
32692014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3270
3271 Work around for current cygwin32 build problems.
3272 * config/i386/cygming-crtbegin.c (__register_frame_info,
3273 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3274 functions only for 64-bit systems.
3275
54cf37e9
RO
32762014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3277
3278 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3279 (sigill_caught, sigill_hdlr): Remove.
3280
d9f069ab
RO
32812014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3282
3283 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3284 check.
3285 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3286 Solaris 9 single-threaded support.
3287 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3288 Solaris 9 single-threaded support. Add call_user_handler code
3289 sequences.
3290 (sparc_is_sighandler): Likewise.
3291
59976ef8
AK
32922014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3293
3294 * config.host: Append t-floattodi to tmake_file depending on
3295 host_address.
3296
d02bbcf3
JS
32972014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3298
31466bc0 3299 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3300
c2e7e597
UB
33012014-03-10 Uros Bizjak <ubizjak@gmail.com>
3302
3303 PR libgcc/60472
3304 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 3305 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
3306 Use __builtin_expect when checking *jcr_list for NULL.
3307
227a7dc8
RO
33082014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3309
3310 PR libgcc/59339
3311 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3312 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3313 vtv_*.o to extra_parts if enable_vtable_verify.
3314
df2b279c
NC
33152014-03-06 Nick Clifton <nickc@redhat.com>
3316
3317 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3318 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3319
dc11d79b
JY
33202014-02-28 Joey Ye <joey.ye@arm.com>
3321
3322 PR libgcc/60166
3323 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3324 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3325 Set to zero.
3326
341c653c
WL
33272014-02-24 Walter Lee <walt@tilera.com>
3328
3329 * config.host: Support "tilegx*" and "tilepro*" triplets.
3330 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3331 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3332
95ce7613
CLT
33332014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3334 Chung-Lin Tang <cltang@codesourcery.com>
3335
3336 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3337 * config/nios2/crti.S: Remove .file directive.
3338 * config/nios2/crtn.S: Likewise.
3339
0bb4fc05
KT
33402014-02-18 Kai Tietz <ktietz@redhat.com>
3341 Jonathan Schleifer <js@webkeks.org>
3342
3343 PR objc/56870
3344 * unwind-seh.c (_GCC_specific_handler): Pass proper
3345 value to unwind-handler.
3346
9acf28f1
JM
33472014-02-12 Joseph Myers <joseph@codesourcery.com>
3348
3349 * soft-fp/adddf3.c: Update from glibc.
3350 * soft-fp/addsf3.c: Likewise.
3351 * soft-fp/addtf3.c: Likewise.
3352 * soft-fp/divdf3.c: Likewise.
3353 * soft-fp/divsf3.c: Likewise.
3354 * soft-fp/divtf3.c: Likewise.
3355 * soft-fp/double.h: Likewise.
3356 * soft-fp/eqdf2.c: Likewise.
3357 * soft-fp/eqsf2.c: Likewise.
3358 * soft-fp/eqtf2.c: Likewise.
3359 * soft-fp/extenddftf2.c: Likewise.
3360 * soft-fp/extended.h: Likewise.
3361 * soft-fp/extendsfdf2.c: Likewise.
3362 * soft-fp/extendsftf2.c: Likewise.
3363 * soft-fp/extendxftf2.c: Likewise.
3364 * soft-fp/fixdfdi.c: Likewise.
3365 * soft-fp/fixdfsi.c: Likewise.
3366 * soft-fp/fixdfti.c: Likewise.
3367 * soft-fp/fixsfdi.c: Likewise.
3368 * soft-fp/fixsfsi.c: Likewise.
3369 * soft-fp/fixsfti.c: Likewise.
3370 * soft-fp/fixtfdi.c: Likewise.
3371 * soft-fp/fixtfsi.c: Likewise.
3372 * soft-fp/fixtfti.c: Likewise.
3373 * soft-fp/fixunsdfdi.c: Likewise.
3374 * soft-fp/fixunsdfsi.c: Likewise.
3375 * soft-fp/fixunsdfti.c: Likewise.
3376 * soft-fp/fixunssfdi.c: Likewise.
3377 * soft-fp/fixunssfsi.c: Likewise.
3378 * soft-fp/fixunssfti.c: Likewise.
3379 * soft-fp/fixunstfdi.c: Likewise.
3380 * soft-fp/fixunstfsi.c: Likewise.
3381 * soft-fp/fixunstfti.c: Likewise.
3382 * soft-fp/floatdidf.c: Likewise.
3383 * soft-fp/floatdisf.c: Likewise.
3384 * soft-fp/floatditf.c: Likewise.
3385 * soft-fp/floatsidf.c: Likewise.
3386 * soft-fp/floatsisf.c: Likewise.
3387 * soft-fp/floatsitf.c: Likewise.
3388 * soft-fp/floattidf.c: Likewise.
3389 * soft-fp/floattisf.c: Likewise.
3390 * soft-fp/floattitf.c: Likewise.
3391 * soft-fp/floatundidf.c: Likewise.
3392 * soft-fp/floatundisf.c: Likewise.
3393 * soft-fp/floatunditf.c: Likewise.
3394 * soft-fp/floatunsidf.c: Likewise.
3395 * soft-fp/floatunsisf.c: Likewise.
3396 * soft-fp/floatunsitf.c: Likewise.
3397 * soft-fp/floatuntidf.c: Likewise.
3398 * soft-fp/floatuntisf.c: Likewise.
3399 * soft-fp/floatuntitf.c: Likewise.
3400 * soft-fp/gedf2.c: Likewise.
3401 * soft-fp/gesf2.c: Likewise.
3402 * soft-fp/getf2.c: Likewise.
3403 * soft-fp/ledf2.c: Likewise.
3404 * soft-fp/lesf2.c: Likewise.
3405 * soft-fp/letf2.c: Likewise.
3406 * soft-fp/muldf3.c: Likewise.
3407 * soft-fp/mulsf3.c: Likewise.
3408 * soft-fp/multf3.c: Likewise.
3409 * soft-fp/negdf2.c: Likewise.
3410 * soft-fp/negsf2.c: Likewise.
3411 * soft-fp/negtf2.c: Likewise.
3412 * soft-fp/op-1.h: Likewise.
3413 * soft-fp/op-2.h: Likewise.
3414 * soft-fp/op-4.h: Likewise.
3415 * soft-fp/op-8.h: Likewise.
3416 * soft-fp/op-common.h: Likewise.
3417 * soft-fp/quad.h: Likewise.
3418 * soft-fp/single.h: Likewise.
3419 * soft-fp/soft-fp.h: Likewise.
3420 * soft-fp/subdf3.c: Likewise.
3421 * soft-fp/subsf3.c: Likewise.
3422 * soft-fp/subtf3.c: Likewise.
3423 * soft-fp/truncdfsf2.c: Likewise.
3424 * soft-fp/trunctfdf2.c: Likewise.
3425 * soft-fp/trunctfsf2.c: Likewise.
3426 * soft-fp/trunctfxf2.c: Likewise.
3427 * soft-fp/unorddf2.c: Likewise.
3428 * soft-fp/unordsf2.c: Likewise.
3429 * soft-fp/unordtf2.c: Likewise.
3430 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3431 macro.
3432 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3433 Likewise.
3434 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3435 Likewise.
3436 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3437 Likewise.
3438 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3439 Likewise.
3440 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3441 Likewise.
3442 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3443 Likewise.
3444 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3445 Likewise.
3446 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3447 Likewise.
3448 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3449 Likewise.
3450 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3451 Likewise.
3452 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3453 Likewise.
3454 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3455 Likewise.
3456 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3457 Likewise.
3458 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3459 Likewise.
3460 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3461 Likewise.
3462
ce245ec6
AK
34632014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3464
3465 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3466 cannot be represented.
3467 * config/s390/32/_fixsfdi.c: Likewise.
3468 * config/s390/32/_fixtfdi.c: Likewise.
3469 * config/s390/32/_fixunsdfdi.c: Likewise.
3470 * config/s390/32/_fixunssfdi.c: Likewise.
3471 * config/s390/32/_fixunstfdi.c: Likewise.
3472
1c51d688
RS
34732014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3474
3475 * configure.ac (libgcc_cv_mips_hard_float): New.
3476 * configure: Regenerate.
3477 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3478 t-softfp-sfdf for hard-float targets.
3479 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3480 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3481 (softfp_truncations, softfp_exclude_libgcc2): New.
3482 * config/t-hardfp: New file.
3483 * config/t-hardfp-sfdf: Likewise.
3484 * config/hardfp.c: Likewise.
3485
bbf391db
AK
34862014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3487
3488 * config.host: Include t-floattodi also for s390x.
3489 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3490 * config/s390/32/_fixsfdi.c: Likewise.
3491 * config/s390/32/_fixtfdi.c: Likewise.
3492 * config/s390/32/_fixunsdfdi.c: Likewise.
3493 * config/s390/32/_fixunssfdi.c: Likewise.
3494 * config/s390/32/_fixunstfdi.c: Likewise.
3495
91da0481
RO
34962014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3497
3498 PR target/59788
3499 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3500 (install-libgcc-unwind-map-forbuild): New target.
3501 (all): Depend on install-libgcc-unwind-map-forbuild.
3502 (install-libgcc-unwind-map): New target.
3503 (install): Depend on install-libgcc-unwind-map.
3504
02b67731
SL
35052014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3506
3507 * config/nios2/crti.S (_init): Initialize GOT pointer from
3508 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3509
1ea0a651
RS
35102014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3511
3512 * configure.ac: Check __mips64 when setting host_address.
3513 * configure: Regenerate.
3514 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3515 mips/t-mips64 and t-softfp.
3516 (mips*-*-linux*): Don't add mips/t-tpbit.
3517 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3518 (DPBIT, DPBIT_CFLAGS): Delete.
3519 * config/mips/sfp-machine.h: New file.
3520 * config/mips/t-mips64: Likewise.
3521 * config/mips/t-softfp-tf: Likewise.
3522 * config/mips/t-tpbit: Delete.
3523
f32b0061
MS
35242014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3525
3526 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3527 as long long.
3528
a5420aa4
WL
35292014-01-25 Walter Lee <walt@tilera.com>
3530
3531 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3532 config.h or system.h.
3533 (bool) Define.
3534
24534912
WL
35352014-01-25 Walter Lee <walt@tilera.com>
3536
3537 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3538 (post_atomic_barrier): Ditto.
3539 (__fetch_and_do): New macro.
3540 (__atomic_fetch_and_do): Use __fetch_and_do.
3541 (__sync_fetch_and_do): New macro.
3542 (__sync_fetch_and_add_4): New function.
3543 (__sync_fetch_and_sub_4): New function.
3544 (__sync_fetch_and_or_4): New function.
3545 (__sync_fetch_and_and_4): New function.
3546 (__sync_fetch_and_xor_4): New function.
3547 (__sync_fetch_and_nand_4): New function.
3548 (__sync_fetch_and_add_8): New function.
3549 (__sync_fetch_and_sub_8): New function.
3550 (__sync_fetch_and_or_8): New function.
3551 (__sync_fetch_and_and_8): New function.
3552 (__sync_fetch_and_xor_8): New function.
3553 (__sync_fetch_and_nand_8): New function.
3554 (__do_and_fetch): New macro.
3555 (__atomic_do_and_fetch): Use __do_and_fetch.
3556 (__sync_do_and_fetch): New macro.
3557 (__sync_add_and_fetch_4): New function.
3558 (__sync_sub_and_fetch_4): New function.
3559 (__sync_or_and_fetch_4): New function.
3560 (__sync_and_and_fetch_4): New function.
3561 (__sync_xor_and_fetch_4): New function.
3562 (__sync_nand_and_fetch_4): New function.
3563 (__sync_add_and_fetch_8): New function.
3564 (__sync_sub_and_fetch_8): New function.
3565 (__sync_or_and_fetch_8): New function.
3566 (__sync_and_and_fetch_8): New function.
3567 (__sync_xor_and_fetch_8): New function.
3568 (__sync_nand_and_fetch_8): New function.
3569 (__sync_exchange_methods): New macro.
3570 (__sync_val_compare_and_swap_4): New function.
3571 (__sync_bool_compare_and_swap_4): New function.
3572 (__sync_lock_test_and_test_4): New function.
3573 (__sync_val_compare_and_swap_8): New function.
3574 (__sync_bool_compare_and_swap_8): New function.
3575 (__sync_lock_test_and_test_8): New function.
3576 (__subword_cmpxchg_body): New macro.
3577 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3578 (__atomic_compare_exchange_2): Ditto.
3579 (__sync_subword_cmpxchg): New macro.
3580 (__sync_val_compare_and_swap_1): New function.
3581 (__sync_bool_compare_and_swap_1): New function.
3582 (__sync_val_compare_and_swap_2): New function.
3583 (__sync_bool_compare_and_swap_2): New function.
3584 (__atomic_subword): Rename to ...
3585 (__subword): ... New name.
3586 (__atomic_subword_fetch): Use __subword.
3587 (__sync_subword_fetch): New macro.
3588 (__sync_fetch_and_add_1): New function.
3589 (__sync_fetch_and_sub_1): New function.
3590 (__sync_fetch_and_or_1): New function.
3591 (__sync_fetch_and_and_1): New function.
3592 (__sync_fetch_and_xor_1): New function.
3593 (__sync_fetch_and_nand_1): New function.
3594 (__sync_fetch_and_add_2): New function.
3595 (__sync_fetch_and_sub_2): New function.
3596 (__sync_fetch_and_or_2): New function.
3597 (__sync_fetch_and_and_2): New function.
3598 (__sync_fetch_and_xor_2): New function.
3599 (__sync_fetch_and_nand_2): New function.
3600 (__sync_add_and_fetch_1): New function.
3601 (__sync_sub_and_fetch_1): New function.
3602 (__sync_or_and_fetch_1): New function.
3603 (__sync_and_and_fetch_1): New function.
3604 (__sync_xor_and_fetch_1): New function.
3605 (__sync_nand_and_fetch_1): New function.
3606 (__sync_add_and_fetch_2): New function.
3607 (__sync_sub_and_fetch_2): New function.
3608 (__sync_or_and_fetch_2): New function.
3609 (__sync_and_and_fetch_2): New function.
3610 (__sync_xor_and_fetch_2): New function.
3611 (__sync_nand_and_fetch_2): New function.
3612 (__atomic_subword_lock): Use __subword.
3613 (__sync_subword_lock): New macro.
3614 (__sync_lock_test_and_set_1): New function.
3615 (__sync_lock_test_and_set_2): New function.
3616
4d6d3bc5
WL
36172014-01-25 Walter Lee <walt@tilera.com>
3618
3619 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3620 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3621 (__atomic_subword): Ditto.
3622
cbd9890e
WL
36232014-01-25 Walter Lee <walt@tilera.com>
3624
3625 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3626 a prefix op argument.
3627 (__atomic_nand_fetch_4): Add prefix op.
3628 (__atomic_nand_fetch_8): Ditto.
3629
7d296953 36302014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
3631
3632 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3633
46dd1242
L
36342014-01-09 Rong Xu <xur@google.com>
3635
3636 * libgcov-driver.c (this_prg): make it local to save
3637 bss space.
3638 (gcov_exit_compute_summary): Ditto.
3639 (gcov_exit_merge_gcda): Ditto.
3640 (gcov_exit_merge_summary): Ditto.
3641 (gcov_exit_dump_gcov): Ditto.
3642
cc86234f 36432014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
3644
3645 * libgcov-driver.c: Use libgcov.h.
3646 (buffer_fn_data): Use xmalloc instead of malloc.
3647 (gcov_exit_merge_gcda): Ditto.
3648 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3649 * libgcov.h: New common header files for libgcov-*.h.
3650 * libgcov-interface.c: Use libgcov.h
3651 * libgcov-merge.c: Ditto.
3652 * libgcov-profiler.c: Ditto.
3653 * Makefile.in: Add dependence to libgcov.h
3654
a02e7bdd
JM
36552014-01-02 Joseph Myers <joseph@codesourcery.com>
3656
3657 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3658 case of small numerator and finite nonzero result.
3659
ac1dca3c
RS
36602014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3661
3662 Update copyright years
3663
f9030485
RS
36642014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3665
3666 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3667 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3668 config/arc/dp-hack.h, config/arc/fp-hack.h,
3669 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3670 config/arc/ieee-754/arc600-dsp/divdf3.S,
3671 config/arc/ieee-754/arc600-dsp/divsf3.S,
3672 config/arc/ieee-754/arc600-dsp/muldf3.S,
3673 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3674 config/arc/ieee-754/arc600-mul64/divdf3.S,
3675 config/arc/ieee-754/arc600-mul64/divsf3.S,
3676 config/arc/ieee-754/arc600-mul64/muldf3.S,
3677 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3678 config/arc/ieee-754/arc600/divsf3.S,
3679 config/arc/ieee-754/arc600/mulsf3.S,
3680 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3681 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3682 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3683 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3684 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3685 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3686 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3687 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3688 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3689 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3690 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3691 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3692 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3693 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3694 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3695 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3696 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3697 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3698 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3699 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3700 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3701 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3702 vtv_start_preinit.c: Use the standard form for the copyright notice.
3703
e430824f
CLT
37042013-12-31 Sandra Loosemore <sandra@codesourcery.com>
3705 Chung-Lin Tang <cltang@codesourcery.com>
3706 Based on patches from Altera Corporation
3707
3708 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3709 * config/nios2/lib2-nios2.h: New file.
3710 * config/nios2/lib2-divmod-hi.c: New file.
3711 * config/nios2/linux-unwind.h: New file.
3712 * config/nios2/lib2-divmod.c: New file.
3713 * config/nios2/linux-atomic.c: New file.
3714 * config/nios2/t-nios2: New file.
3715 * config/nios2/crti.asm: New file.
3716 * config/nios2/t-linux: New file.
3717 * config/nios2/lib2-divtable.c: New file.
3718 * config/nios2/lib2-mul.c: New file.
3719 * config/nios2/tramp.c: New file.
3720 * config/nios2/crtn.asm: New file.
3721
1879e97f
UB
37222013-12-26 Uros Bizjak <ubizjak@gmail.com>
3723
3724 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3725 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3726 from cpuid.h to check vendor signatures.
3727
f4a4bdbb
GG
37282013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3729
c2e7e597 3730 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
3731 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3732 (get_amd_cpu): Likewise.
3733
8d2ae544
L
37342013-12-25 H.J. Lu <hongjiu.lu@intel.com>
3735
3736 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3737 Haswell.
3738
74924838
ASJ
37392013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3740 H.J. Lu <hongjiu.lu@intel.com>
3741
0bb52f25
L
3742 PR target/59422
3743 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
3744 and AMD_JAGUAR.
3745 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3746 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3747 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
3748 FEATURE_XOP and FEATURE_FMA.
3749 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3750 AMDFAM15H_BDVER3.
3751 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 3752 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
3753 FEATURE_FMA4 and FEATURE_XOP.
3754
d3c11974
L
37552013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3756
3757 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3758 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3759 (get_intel_cpu): Updated.
3760
064c4ff2
ZC
37612013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3762
3763 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3764
8b02e720
UB
37652013-12-09 Uros Bizjak <ubizjak@gmail.com>
3766
3767 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 3768 instructions when __SSE_MATH__ is defined.
8b02e720 3769
3fa2ccb4
RC
37702013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3771
3772 * config.host (microblaze-*-rtems*): New.
3773
ecd78fc9
KV
37742013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3775
3776 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3777 architectures that do not have hardware divide instruction.
3778 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3779
b21fbbd2
RS
37802013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3781
3782 * longlong.h: Delete (moved to include/).
3783
b03fb8c9
AZ
37842013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3785
3786 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3787 of normal number and qNaN to not raise an inexact exception.
3788
3c716922
UB
37892013-11-28 Uros Bizjak <ubizjak@gmail.com>
3790
3791 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3792
37932013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
3794
3795 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3796 for correct opcodes on BE.
3797
a3458d22
UB
37982013-11-27 Uros Bizjak <ubizjak@gmail.com>
3799
3800 * soft-fp/op-4.h: Update from glibc.
3801
30b8f78b
KV
38022013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3803
3804 * libgcc2.c (__udivmoddi4): Define new implementation when
3805 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3806 divide instructions.
3807
82552a29
OE
38082013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3809
3810 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3811
80e87457
RO
38122013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3813
3814 * config/t-softfp (soft-fp-objects-base): New variable.
3815 (soft-fp-objects): Use it.
3816
44178879
DE
38172013-11-23 David Edelson <dje.gcc@gmail.com>
3818 Andrew Dixie <andrewd@gentrack.com>
3819
3820 PR target/33704
3821 * config/rs6000/aixinitfini.c: New file.
3822 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3823 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3824 symbols.
3825
e5287671
YR
38262013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3827
a3458d22 3828 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 3829
867c8b03
JH
38302013-11-18 Jan Hubicka <jh@suse.cz>
3831
7f369373
JH
3832 * libgcov-driver.c (run_accounted): Make global level static.
3833 (gcov_exit_merge_summary): Silence warning; do not clear
3834 run_accounted here.
3835 (gcov_exit): Clear it here.
3836
1d0b3334
JH
3837 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3838 run_accounted.
3839
867c8b03
JH
3840 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3841 (all_prg, crc32): Remove static vars.
3842 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3843 all_prg.
3844 (gcov_exit_merge_gcda): Add crc32 parameter.
3845 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3846 do not account run if it was already accounted.
3847 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3848 (gcov_exit): Initialize all_prg; update.
3849
66204992
AS
38502013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3851
3852 * configure: Regenerate.
3853
b54214fe
UW
38542013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3855 Alan Modra <amodra@gmail.com>
3856
3857 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3858 (frob_update_context): Use it.
3859
38602013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3861 Alan Modra <amodra@gmail.com>
3862
3863 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3864 (trampoline_initial): Provide ELFv2 variant.
3865 (__trampoline_setup): Likewise.
3866
3867 * config/rs6000/linux-unwind.h (frob_update_context): Do not
3868 check for AIX indirect function call sequence if _CALL_ELF == 2.
3869
38702013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3871 Alan Modra <amodra@gmail.com>
3872
3873 * config/rs6000/linux-unwind.h (get_regs): Do not support
3874 old kernel versions if _CALL_ELF == 2.
3875 (frob_update_context): Do not support PLT stub variants only
3876 generated by old linkers if _CALL_ELF == 2.
3877
13e0981a
UW
38782013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3879 Alan Modra <amodra@gmail.com>
3880
3881 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3882 location of CR save area for 64-bit little-endian systems.
3883
1a80085d
EB
38842013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3885
3886 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3887 in tmake_file.
3888 * config/arm/t-vxworks: Delete.
3889
cabeea52
KT
38902013-11-10 Kai Tietz <ktietz@redhat.com>
3891
3892 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3893 Increment load-count on use of LIBGCC_SONAME DLL.
3894 (hmod_libgcc): New static variable to hold handle of
3895 LIBGCC_SONAME DLL.
3896 (__gcc_deregister_frame): Decrement load-count of
3897 LIBGCC_SONAME DLL.
3898
ac088ba1
BRF
38992013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3900
3901 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3902 availability.
3903 * configure: Regenerate
3904
d59a8fcc
UB
39052013-11-07 Uros Bizjak <ubizjak@gmail.com>
3906
3907 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3908 FP_EX_DENORM. Store result to volatile location after SSE division
3909 to close interrupt window. Remove unneeded fwait after x87
3910 division since interrupt window will be closed by emitted fstp.
9de84e84 3911 Rewrite FP_EX_INEXACT handling.
d59a8fcc 3912
9954c743
JM
39132013-11-06 Joseph Myers <joseph@codesourcery.com>
3914
3915 * soft-fp/README: Update.
3916 * soft-fp/adddf3.c: Update from glibc.
3917 * soft-fp/addsf3.c: Likewise.
3918 * soft-fp/addtf3.c: Likewise.
3919 * soft-fp/divdf3.c: Likewise.
3920 * soft-fp/divsf3.c: Likewise.
3921 * soft-fp/divtf3.c: Likewise.
3922 * soft-fp/double.h: Likewise.
3923 * soft-fp/eqdf2.c: Likewise.
3924 * soft-fp/eqsf2.c: Likewise.
3925 * soft-fp/eqtf2.c: Likewise.
3926 * soft-fp/extenddftf2.c: Likewise.
3927 * soft-fp/extended.h: Likewise.
3928 * soft-fp/extendsfdf2.c: Likewise.
3929 * soft-fp/extendsftf2.c: Likewise.
3930 * soft-fp/extendxftf2.c: Likewise.
3931 * soft-fp/fixdfdi.c: Likewise.
3932 * soft-fp/fixdfsi.c: Likewise.
3933 * soft-fp/fixdfti.c: Likewise.
3934 * soft-fp/fixsfdi.c: Likewise.
3935 * soft-fp/fixsfsi.c: Likewise.
3936 * soft-fp/fixsfti.c: Likewise.
3937 * soft-fp/fixtfdi.c: Likewise.
3938 * soft-fp/fixtfsi.c: Likewise.
3939 * soft-fp/fixtfti.c: Likewise.
3940 * soft-fp/fixunsdfdi.c: Likewise.
3941 * soft-fp/fixunsdfsi.c: Likewise.
3942 * soft-fp/fixunsdfti.c: Likewise.
3943 * soft-fp/fixunssfdi.c: Likewise.
3944 * soft-fp/fixunssfsi.c: Likewise.
3945 * soft-fp/fixunssfti.c: Likewise.
3946 * soft-fp/fixunstfdi.c: Likewise.
3947 * soft-fp/fixunstfsi.c: Likewise.
3948 * soft-fp/fixunstfti.c: Likewise.
3949 * soft-fp/floatdidf.c: Likewise.
3950 * soft-fp/floatdisf.c: Likewise.
3951 * soft-fp/floatditf.c: Likewise.
3952 * soft-fp/floatsidf.c: Likewise.
3953 * soft-fp/floatsisf.c: Likewise.
3954 * soft-fp/floatsitf.c: Likewise.
3955 * soft-fp/floattidf.c: Likewise.
3956 * soft-fp/floattisf.c: Likewise.
3957 * soft-fp/floattitf.c: Likewise.
3958 * soft-fp/floatundidf.c: Likewise.
3959 * soft-fp/floatundisf.c: Likewise.
3960 * soft-fp/floatunditf.c: Likewise.
3961 * soft-fp/floatunsidf.c: Likewise.
3962 * soft-fp/floatunsisf.c: Likewise.
3963 * soft-fp/floatunsitf.c: Likewise.
3964 * soft-fp/floatuntidf.c: Likewise.
3965 * soft-fp/floatuntisf.c: Likewise.
3966 * soft-fp/floatuntitf.c: Likewise.
3967 * soft-fp/gedf2.c: Likewise.
3968 * soft-fp/gesf2.c: Likewise.
3969 * soft-fp/getf2.c: Likewise.
3970 * soft-fp/ledf2.c: Likewise.
3971 * soft-fp/lesf2.c: Likewise.
3972 * soft-fp/letf2.c: Likewise.
3973 * soft-fp/muldf3.c: Likewise.
3974 * soft-fp/mulsf3.c: Likewise.
3975 * soft-fp/multf3.c: Likewise.
3976 * soft-fp/negdf2.c: Likewise.
3977 * soft-fp/negsf2.c: Likewise.
3978 * soft-fp/negtf2.c: Likewise.
3979 * soft-fp/op-1.h: Likewise.
3980 * soft-fp/op-2.h: Likewise.
3981 * soft-fp/op-4.h: Likewise.
3982 * soft-fp/op-8.h: Likewise.
3983 * soft-fp/op-common.h: Likewise.
3984 * soft-fp/quad.h: Likewise.
3985 * soft-fp/single.h: Likewise.
3986 * soft-fp/soft-fp.h: Likewise.
3987 * soft-fp/subdf3.c: Likewise.
3988 * soft-fp/subsf3.c: Likewise.
3989 * soft-fp/subtf3.c: Likewise.
3990 * soft-fp/truncdfsf2.c: Likewise.
3991 * soft-fp/trunctfdf2.c: Likewise.
3992 * soft-fp/trunctfsf2.c: Likewise.
3993 * soft-fp/trunctfxf2.c: Likewise.
3994 * soft-fp/unorddf2.c: Likewise.
3995 * soft-fp/unordsf2.c: Likewise.
3996 * soft-fp/unordtf2.c: Likewise.
3997
02ac9503
UB
39982013-11-05 Uros Bizjak <ubizjak@gmail.com>
3999
4000 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
4001 (_FP_MUL_MEAT_D): Ditto.
4002 (_FP_DIV_MEAT_S): Ditto.
4003 (_FP_DIV_MEAT_D): Ditto.
4004 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
4005 t-softfp-sfdf and t-softfp to tmake_file.
4006
61221141
UB
40072013-11-03 Uros Bizjak <ubizjak@gmail.com>
4008
4009 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
4010 * config/i386/crtprec.c: Ditto.
4011
9304f876
CJW
40122013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
4013 Shiva Chen <shiva0217@gmail.com>
4014
4015 * config.host (nds32*-elf*): Add nds32 target.
4016 * config/nds32 : New directory and files.
4017
0e499e75
HPN
40182013-10-16 Hans-Peter Nilsson <hp@axis.com>
4019
4020 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
4021 * config.host (cpu_type) <Setting default>: Add entry for
4022 crisv32-*-*.
4023 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
4024 <crisv32-*-linux*>: Adjust.
4025 * longlong.h: Wrap the whole CRIS section in a single
4026 defined(__CRIS__) conditional. Add comment about add_ssaaaa
4027 and sub_ddmmss.
4028 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
4029 defined.
4030 [__CRIS__] (__umulsidi3): Define.
4031 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
4032 * config/cris/sfp-machine.h: New file.
4033 * config/cris/umulsidi3.S: New file.
4034 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
4035 * config/cris/arit.c (SIGNMULT): New macro.
4036 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
4037 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
4038 saving 3 out of originally 33 cycles from the fastest
4039 path, 3 out of 54 from the medium path and one from the longest
4040 path. Improve comments.
4041
16022041
RS
40422013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
4043
4044 * sync.c: Remove static aliases and define each function directly
4045 under its real name.
4046
69778659
JDA
40472013-10-02 John David Anglin <danglin@gcc.gnu.org>
4048
4049 * config.host (hppa*64*-*-linux*): Define extra_parts.
4050 (hppa*-*-linux*): Likewise.
4051
2deaf8b0
JR
40522013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
4053
4054 * config/arc/crtgend.S: Add 2013 to Copyright years.
4055 * config/arc/gmon/atomic.h: Likewise.
4056 * config/arc/gmon/auxreg.h: Likewise.
4057 * config/arc/gmon/sys/gmon_out.h: Likewise.
4058 * config/arc/gmon/sys/gmon.h: Likewise.
4059 * config/arc/gmon/prof-freq.c: Likewise.
4060 * config/arc/gmon/mcount.c: Likewise.
4061 * config/arc/gmon/prof-freq-stub.S: Likewise.
4062 * config/arc/gmon/gmon.c: Likewise.
4063 * config/arc/gmon/machine-gmon.h: Likewise.
4064 * config/arc/gmon/profil.S: Likewise.
4065 * config/arc/gmon/dcache_linesz.S: Likewise.
4066 * config/arc/crtg.S: Likewise.
4067 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
4068 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
4069 * config/arc/ieee-754/adddf3.S: Likewise.
4070 * config/arc/ieee-754/truncdfsf2.S: Likewise.
4071 * config/arc/ieee-754/fixsfsi.S: Likewise.
4072 * config/arc/ieee-754/gtsf2.S: Likewise.
4073 * config/arc/ieee-754/floatsisf.S: Likewise.
4074 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
4075 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
4076 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
4077 * config/arc/ieee-754/fixdfsi.S: Likewise.
4078 * config/arc/ieee-754/addsf3.S: Likewise.
4079 * config/arc/ieee-754/gesf2.S: Likewise.
4080 * config/arc/ieee-754/floatsidf.S: Likewise.
4081 * config/arc/ieee-754/extendsfdf2.S: Likewise.
4082 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
4083 * config/arc/ieee-754/gtdf2.S: Likewise.
4084 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
4085 * config/arc/ieee-754/uneqdf2.S: Likewise.
4086 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4087 * config/arc/ieee-754/uneqsf2.S: Likewise.
4088 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
4089 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
4090 * config/arc/ieee-754/eqdf2.S: Likewise.
4091 * config/arc/ieee-754/ordsf2.S: Likewise.
4092 * config/arc/ieee-754/divsf3.S: Likewise.
4093 * config/arc/ieee-754/divdf3.S: Likewise.
4094 * config/arc/ieee-754/floatunsidf.S: Likewise.
4095 * config/arc/ieee-754/orddf2.S: Likewise.
4096 * config/arc/ieee-754/eqsf2.S: Likewise.
4097 * config/arc/ieee-754/gedf2.S: Likewise.
4098 * config/arc/crtn.S: Likewise.
4099 * config/arc/crti.S: Likewise.
4100 * config/arc/t-arc700-uClibc: Likewise.
4101 * config/arc/asm.h: Likewise.
4102 * config/arc/libgcc-excl.ver: Likewise.
4103 * config/arc/t-arc-newlib: Likewise.
4104 * config/arc/divtab-arc700.c: Likewise.
4105 * config/arc/initfini.c: Likewise.
4106 * config/arc/fp-hack.h: Likewise.
4107
c8e318b0
JR
41082013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4109 Diego Novillo <dnovillo@google.com>
4110
4111 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
4112 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
4113 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
4114 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 4115
d38a64b4
JR
41162013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
4117 Brendan Kehoe <brendan@zen.org>
4118 Simon Cook <simon.cook@embecosm.com>
4119
4120 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
4121 * config/arc: New directory.
4122 * longlong.h [__arc__] (umul_ppmm): Remove.
4123 [__arc__] (__umulsidi3): Define.
4124 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
4125 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
4126
dff717d2
JC
41272013-09-17 Jacek Caban <jacek@codeweavers.com>
4128
4129 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
4130 CreateSemaphoreA.
4131 * config/i386/gthr-win32.h: Likewise.
4132
5c0029de
DD
41332013-09-16 DJ Delorie <dj@redhat.com>
4134
844ad6c6 4135 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
4136 * config/rl78/lib2mul.c: Enable for RL78/G10.
4137 * config/rl78/lib2div.c: Likewise.
4138 * config/rl78/lshrsi3.S: Use vregs.h.
4139 * config/rl78/cmpsi2.S: Likewise.
4140 * config/rl78/trampoline.S: Likewise.
4141 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
4142
ceb2fc49
DD
41432013-09-14 DJ Delorie <dj@redhat.com>
4144 Nick Clifton <nickc@redhat.com>
4145
4146 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
4147 * config/rl78/vregs.h: New.
4148 * config/rl78/signbit.S: New file. Implements signbit function.
4149 * config/rl78/divmodsi.S: New.
4150 * config/rl78/divmodhi.S: New.
4151 * config/rl78/divmodqi.S: New.
4152 * config/rl78/t-rl78: Build them here...
4153 * config/rl78/lib2div.c: ...but not here.
4154
f6a83b4a
DD
41552013-09-12 DJ Delorie <dj@redhat.com>
4156
4157 * config.host (msp*-*-elf): New.
4158 * config/msp430/: New port.
4159
9107b096
IS
41602013-08-18 Iain Sandoe <iain@codesourcery.com>
4161
4162 PR gcov-profile/58127
4163 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
4164 __thread var for emulated TLS.
4165 (__gcov_indirect_call_counters): Likewise.
4166
0f9bde1f 41672013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 4168 Catherine Moore <clm@codesourcery.com>
7d296953 4169 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
4170
4171 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
4172 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
4173 (CALL_STUB_NO_RET): Likewise.
4174 (CALL_STUB_RET): Likewise.
4175 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
4176 __mips16_ret call/return stub symbols.
4177 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
4178 to tmake_file.
4179
2dc14aac
MR
41802013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
4181
4182 * config.host <mips*-*-linux*>: Remove a stray comment.
4183
748d71f3
JH
41842013-08-10 Jan Hubicka <jh@suse.cz>
4185
4186 Work around binutils PR14342
4187 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
4188 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
4189 (L_gcov_indirect_call_profiler_v2): New.
4190
2fa3d31b
JH
41912013-08-06 Jan Hubicka <jh@suse.cz>
4192
4193 * libgcov.c (__gcov_indirect_call_callee,
4194 __gcov_indirect_call_counters): New global vars.
4195 (__gcov_indirect_call_profiler): replace by ...
4196 (__gcov_indirect_call_profiler_v2) ... this one.
4197
2077db1b
CT
41982013-08-06 Caroline Tice <cmtice@google.com>
4199
d0595b65 4200 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4201 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4202 * configure.ac: Add code to check/set enable_vtable_verify.
4203 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4204 true.
d0595b65
CT
4205 * vtv_start_preinit.c: New file.
4206 * vtv_end_preinit.c: New file.
4207 * vtv_start.c: New file.
4208 * vtv_end.c: New file.
4209 * configure: Regenerated.
2077db1b 4210
46549c20
MK
42112013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4212
4213 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4214 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4215 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4216 GPL-3.0-with-GCC-exception.
4217
72be589b
MR
42182013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4219
4220 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4221 ISA and up.
4222
902a3faf
AK
42232013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4224
4225 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4226 mapping for FPRs when creating the fallback framestate.
4227
02371798
GJL
42282013-07-19 Georg-Johann Lay <avr@gjlay.de>
4229
4230 PR target/57516
4231 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4232 (__round_s2_const, __round_u2_const)
4233 (__round_s4_const, __round_u4_const, __round_x8):
4234 Saturate result if addition result cannot be represented.
4235
ab0e8379
MK
42362013-07-15 Matthias Klose <doko@ubuntu.com>
4237
4238 * libgcc2.c: Don't include <limits.h>.
4239
7da38058
JJ
42402013-07-09 Janis Johnson <janisjo@codesourcery.com>
4241
4242 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4243
1f6eac90
JJ
42442013-07-06 Jakub Jelinek <jakub@redhat.com>
4245
4246 PR target/29776
4247 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4248
4ea3d774
JJ
42492013-06-28 Jakub Jelinek <jakub@redhat.com>
4250
4251 PR middle-end/36041
4252 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4253 Define.
4254 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4255 instead of table lookups.
4256 (__popcountDI2): Likewise.
4257
9d2cdf25
CJW
42582013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4259
4260 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4261 correctly.
4262
fa1e55b0
JM
42632013-06-21 Joseph Myers <joseph@codesourcery.com>
4264
4265 PR other/53317
4266 * soft-fp/adddf3.c: Update from glibc.
4267 * soft-fp/addsf3.c: Likewise.
4268 * soft-fp/addtf3.c: Likewise.
4269 * soft-fp/divdf3.c: Likewise.
4270 * soft-fp/divsf3.c: Likewise.
4271 * soft-fp/divtf3.c: Likewise.
4272 * soft-fp/double.h: Likewise.
4273 * soft-fp/eqdf2.c: Likewise.
4274 * soft-fp/eqsf2.c: Likewise.
4275 * soft-fp/eqtf2.c: Likewise.
4276 * soft-fp/extenddftf2.c: Likewise.
4277 * soft-fp/extended.h: Likewise.
4278 * soft-fp/extendsfdf2.c: Likewise.
4279 * soft-fp/extendsftf2.c: Likewise.
4280 * soft-fp/fixdfdi.c: Likewise.
4281 * soft-fp/fixdfsi.c: Likewise.
4282 * soft-fp/fixsfdi.c: Likewise.
4283 * soft-fp/fixsfsi.c: Likewise.
4284 * soft-fp/fixtfdi.c: Likewise.
4285 * soft-fp/fixtfsi.c: Likewise.
4286 * soft-fp/fixunsdfdi.c: Likewise.
4287 * soft-fp/fixunsdfsi.c: Likewise.
4288 * soft-fp/fixunssfdi.c: Likewise.
4289 * soft-fp/fixunssfsi.c: Likewise.
4290 * soft-fp/fixunstfdi.c: Likewise.
4291 * soft-fp/fixunstfsi.c: Likewise.
4292 * soft-fp/floatdidf.c: Likewise.
4293 * soft-fp/floatdisf.c: Likewise.
4294 * soft-fp/floatditf.c: Likewise.
4295 * soft-fp/floatsidf.c: Likewise.
4296 * soft-fp/floatsisf.c: Likewise.
4297 * soft-fp/floatsitf.c: Likewise.
4298 * soft-fp/floatundidf.c: Likewise.
4299 * soft-fp/floatundisf.c: Likewise.
4300 * soft-fp/floatunditf.c: Likewise.
4301 * soft-fp/floatunsidf.c: Likewise.
4302 * soft-fp/floatunsisf.c: Likewise.
4303 * soft-fp/floatunsitf.c: Likewise.
4304 * soft-fp/gedf2.c: Likewise.
4305 * soft-fp/gesf2.c: Likewise.
4306 * soft-fp/getf2.c: Likewise.
4307 * soft-fp/ledf2.c: Likewise.
4308 * soft-fp/lesf2.c: Likewise.
4309 * soft-fp/letf2.c: Likewise.
4310 * soft-fp/muldf3.c: Likewise.
4311 * soft-fp/mulsf3.c: Likewise.
4312 * soft-fp/multf3.c: Likewise.
4313 * soft-fp/negdf2.c: Likewise.
4314 * soft-fp/negsf2.c: Likewise.
4315 * soft-fp/negtf2.c: Likewise.
4316 * soft-fp/op-1.h: Likewise.
4317 * soft-fp/op-2.h: Likewise.
4318 * soft-fp/op-4.h: Likewise.
4319 * soft-fp/op-8.h: Likewise.
4320 * soft-fp/op-common.h: Likewise.
4321 * soft-fp/quad.h: Likewise.
4322 * soft-fp/single.h: Likewise.
4323 * soft-fp/soft-fp.h: Likewise.
4324 * soft-fp/subdf3.c: Likewise.
4325 * soft-fp/subsf3.c: Likewise.
4326 * soft-fp/subtf3.c: Likewise.
4327 * soft-fp/truncdfsf2.c: Likewise.
4328 * soft-fp/trunctfdf2.c: Likewise.
4329 * soft-fp/trunctfsf2.c: Likewise.
4330 * soft-fp/unorddf2.c: Likewise.
4331 * soft-fp/unordsf2.c: Likewise.
4332 * soft-fp/unordtf2.c: Likewise.
4333 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4334 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4335 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4336 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4337 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4338 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4339 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4340 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4341 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4342 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4343 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4344 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4345
0de86a92
JU
43462013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4347
4348 * config/mips/lib2funcs.c: New file.
4349 * config/mips/t-mips (LIB2ADD_ST): Add it.
4350
0d008882
OE
43512013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4352
4353 PR target/6526
4354 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4355 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4356
776434d1
WL
43572013-06-08 Walter Lee <walt@tilera.com>
4358
4359 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4360 Replace int64_t with long long. Add __extension__ where
4361 appropriate.
4362 * config/tilepro/atomic.c: Include config.h.
4363
6ab3ebb4
DR
43642013-06-06 Douglas B Rupp <rupp@adacore.com>
4365
4366 * config.host (arm-wrs-vxworks): Configure with other soft float.
4367
107eea2c
JU
43682013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4369
4370 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4371 (mips64r5900el-*-elf*): New configurations.
4372
5cc19c62
AM
43732013-06-04 Alan Modra <amodra@gmail.com>
4374
4375 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4376
0f1d3965
YR
43772013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4378
4379 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4380
0ba045df
EB
43812013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4382
4383 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4384 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4385 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4386
49dcafd4
EB
43872013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4388
4389 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4390 (powerpc-wrs-vxworks): Likewise.
4391
4fcb5d87
EB
43922013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4393
4394 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4395 signal frames as well.
4396 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4397 STACK_BIAS to the CFA offset.
4398
0ec33224
RH
43992013-05-17 Richard Henderson <rth@redhat.com>
4400
4401 PR target/49146
4402 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4403 (execute_cfa_program): Use it when storing to fs->regs.
4404
492a8029
KT
44052013-05-08 Kai Tietz <ktietz@redhat.com>
4406
4407 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4408 (__deregister_frame_info): Likewise.
4409
701e2f0a
TS
44102013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4411
e5123d08
TS
4412 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4413 NaN's payload.
4414
701e2f0a
TS
4415 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4416
b9a7eb5d
AM
44172013-04-25 Alan Modra <amodra@gmail.com>
4418
4419 * config.host: Match little-endian powerpc-linux.
4420
dfe192f5
YZ
44212013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4422
4423 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4424 as 'unsigned long long' instead of 'unsigned long'.
4425 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4426 'signed long'.
4427
b6b9af2f
JB
44282013-04-10 Julian Brown <julian@codesourcery.com>
4429
4430 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4431 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4432 unsigned char/unsigned short.
4433 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4434
ecabdd00
JDA
44352013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4436
4437 PR other/55274
4438 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4439
34652576
MI
44402013-04-04 Meador Inge <meadori@codesourcery.com>
4441
4442 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4443 computing the location of the link register.
4444 (aeabi_uldivmod): Ditto.
4445
e9fd8c19
KT
44462013-03-27 Kai Tietz <ktietz@redhat.com>
4447
4448 * config.host: Add support for cygwin x64 target.
4449 * configure: Regenerated.
4450
a6406324
WL
44512013-03-26 Walter Lee <walt@tilera.com>
4452
4453 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4454 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4455
55446c7e
KT
44562013-03-25 Kai Tietz <ktietz@redhat.com>
4457
4458 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4459
d2ae19d9
RM
44602013-03-20 Robert Mason <rbmj@verizon.net>
4461
4462 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4463 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4464 (__gthread_leave_tsd_dtor_context): Add prototypes.
4465 (tls_delete_hook): Update.
4466
22c4c869
CM
44672013-03-20 Catherine Moore <clm@codesourcery.com>
4468 Joseph Myers <joseph@codesourcery.com>
4469 Chao-ying Fu <fu@mips.com>
4470
4471 * config/mips/mips16.S: Don't build for microMIPS.
4472 * config/mips/linux-unwind.h: Handle microMIPS frame.
4473 * config/mips/crtn.S (fini, init): New labels.
4474
fbd28bc3
JJ
44752013-03-14 Jakub Jelinek <jakub@redhat.com>
4476
4477 PR tree-optimization/53265
4478 * unwind-dw2.c (execute_cfa_program): Avoid
4479 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4480 on targets with DWARF_FRAME_REGISTERS < 32.
4481
decc676e
OE
44822013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4483
4484 PR target/49880
4485 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4486 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4487
84ea618a
ST
44882013-03-07 Sriraman Tallam <tmsriram@google.com>
4489
4490 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4491 sandybridge processors.
4492
8f6d1c86
OE
44932013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4494
4495 PR target/56529
4496 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4497 inclusion list.
4498
ecdbd01a 44992013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
4500
4501 * config/microblaze/crti.S: Setup stack protection at entry
4502
0b4ce21b
GJL
45032013-03-04 Georg-Johann Lay <avr@gjlay.de>
4504
4505 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4506 (__rotldi3): Shift bytewise if applicable.
4507
b7c3f1ca
JG
45082013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4509
4510 * config/aarch64/sync-cache.c
4511 (__aarch64_sync_cache_range): Silence warnings.
4512
6d65e8f1
CM
45132013-02-25 Catherine Moore <clm@codesourcery.com>
4514
4515 Revert:
4516 2013-02-24 Catherine Moore <clm@codesourcery.com>
4517 Joseph Myers <joseph@codesourcery.com>
4518 Chao-ying Fu <fu@mips.com>
4519
4520 * config/mips/mips16.S: Don't build for microMIPS.
4521 * config/mips/linux-unwind.h: Handle microMIPS frame.
4522 * config/mips/crtn.S (fini, init): New labels.
4523
6941b508
CM
45242013-02-24 Catherine Moore <clm@codesourcery.com>
4525 Joseph Myers <joseph@codesourcery.com>
4526 Chao-ying Fu <fu@mips.com>
4527
4528 * config/mips/mips16.S: Don't build for microMIPS.
4529 * config/mips/linux-unwind.h: Handle microMIPS frame.
4530 * config/mips/crtn.S (fini, init): New labels.
4531
7c422dbb 45322012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 4533 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
4534 as dividend.
4535
110207ad
AM
45362013-02-16 Alan Modra <amodra@gmail.com>
4537
4538 PR target/55431
4539 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4540 (ppc_fallback_frame_state): Always set up save locations for fp
4541 and altivec. Don't bother with non-callee-saved regs, r0-r13
4542 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4543
e68a4ef6
GJL
45442013-02-12 Georg-Johann Lay <avr@gjlay.de>
4545
4546 PR target/54222
4547 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4548 _ssmulHA, _ssmulSA.
4549 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4550 _ssmulha3, _usmulusa3, _ssmulsa3.
4551 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4552 (__muldi3): XCALL __muldi3_6 instead of rcall.
4553 (__umulsidi3, __mulsidi3): New functions.
4554 (do_prologue_saves, do_epilogue_restores): New .macros.
4555 (__divdi3_moddi3): Use them.
4556 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4557 (__usmulusa3, __ssmulsa3): New functions.
4558
6c59ffd1
IS
45592013-02-11 Iain Sandoe <iain@codesourcery.com>
4560 Jack Howarth <howarth@bromo.med.uc.edu>
4561 Patrick Marlier <patrick.marlier@gmail.com>
4562
4563 PR libitm/55693
4564 * config/darwin-crt-tm.c: Remove dummy functions hack.
4565
85d768f3
GJL
45662013-02-08 Georg-Johann Lay <avr@gjlay.de>
4567
4568 PR target/54222
4569 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4570 * config/avr/lib2-object.mk: New iterator to build objects from it.
4571 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4572 lib2funcs.c.
4573 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4574 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4575 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4576 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4577 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4578 * config/avr/lib1funcs-fixed.S: Implement them.
4579
5d5bf775
RS
45802013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4581
4582 Update copyright years.
4583
99113dff
DE
45842013-02-01 David Edelsohn <dje.gcc@gmail.com>
4585
4586 PR target/54601
4587 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4588 Add crtcxa to extra_parts.
4589 * config/rs6000/exit.h: New file.
4590 * config/rs6000/cxa_atexit.c: New file.
4591 * config/rs6000/cxa_finalize.c: New file.
4592 * config/rs6000/crtcxa.c: New file.
4593 * config/rs6000/t-aix-cxa: New file.
4594 * config/rs6000/libgcc-aix-cxa.ver: New file.
4595
dbdbd982
NC
45962013-01-31 Nick Clifton <nickc@redhat.com>
4597
4598 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4599 variant.
4600
5893f158
GJL
46012013-01-29 Georg-Johann Lay <avr@gjlay.de>
4602
4603 PR target/54222
4604 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4605 _mulQQ, _mulHQ, _mulHA, _mulSA,
4606 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4607 _divQQ, _divHQ, _divHA, _divSA,
4608 _divUQQ, _divUHQ, _divUHA, _divUSA.
4609
ecdbd01a 46102013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 4611
dbdbd982 4612 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
4613 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4614 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4615 to exclude functions from being built with libgcc.c and use
4616 the microblaze assembly.
4617
ecdbd01a 46182013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
4619
4620 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4621 extra_parts.
4622
922c57d1
YZ
46232013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
4624
4625 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4626 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4627 __UINTPTR_TYPE__; also cast 'base' to the same type before the
4628 alignment operation.
4629
e0f8b6a0
SN
46302013-01-15 Sofiane Naci <sofiane.naci@arm.com>
4631
4632 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4633 loop start address for cache clearing.
4634
00892272
GJL
46352013-01-14 Georg-Johann Lay <avr@gjlay.de>
4636
4637 * config/avr/lib1funcs.S: Remove trailing blanks.
4638 * config/avr/lib1funcs-fixed.S: Ditto.
4639
e59ec5fd
GJL
46402013-01-14 Georg-Johann Lay <avr@gjlay.de>
4641
4642 * config/avr/avr-lib.h: Add GPL copyright notice.
4643
3ffc1958
GJL
46442013-01-14 Georg-Johann Lay <avr@gjlay.de>
4645
4646 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4647 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4648 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4649 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4650
25c210f9
MK
46512013-01-07 Mark Kettenis <kettenis@openbsd.org>
4652
4653 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4654 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 4655
db59befb
NC
46562013-01-04 Nick Clifton <nickc@redhat.com>
4657
4658 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4659 the CALLT instruction is supported.
4660
5aa12dbf
JW
46612012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4662
4663 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4664 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4665
65f14117
JT
46662012-12-13 John Tytgat <John@bass-software.com>
4667
4668 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4669 is 25.
4670
ee3ae4f7
JJ
46712012-12-12 Jakub Jelinek <jakub@redhat.com>
4672
4673 PR libgcc/55451
4674 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4675 undefined signed overflows.
4676
2fcfba3d
UB
46772012-12-09 Uros Bizjak <ubizjak@gmail.com>
4678
4679 PR target/55344
4680 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4681
4f2b3dc2
UB
46822012-12-06 Uros Bizjak <ubizjak@gmail.com>
4683
4684 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4685 (FP_TRAPPING_EXCEPTIONS): Define.
4686 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4687 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4688
066161a2
RH
46892012-12-04 Richard Henderson <rth@redhat.com>
4690
4691 PR bootstrap/55571
4692 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4693
7d296953 46942012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 4695
4f2b3dc2 4696 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
4697 (FP_EX_SHIFT): Define.
4698 (FP_TRAPPING_EXCEPTIONS): Define.
4699
7d296953 47002012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
4701
4702 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4703 (FP_ROUNDMODE): Use FP_RND_MASK.
4704 * config/aarch64/sfp-exceptions.c: New.
4705 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4706 Use __sfp_handle_exceptions.
4707
5005fe22
RE
47082012-12-04 Richard Earnshaw <rearnsha@arm.com>
4709
4710 * config.host: (arm*-*-freebsd*): Remove.
4711 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4712 (arm*-*-elf*): Remove.
4713 (arm*-*-wince-pe*): Remove.
4714 * arm/unwind-arm.c (struct fpa_reg): Delete.
4715 (struct fpa_regs): Delete.
4716 (phase1_vrs): Remove fpa element.
4717 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4718 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4719 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4720 * ieee754-sf.S (floatundisf): Remove FPA support.
4721 (floatdisf): Likewise.
4722 * ieee75f-df.S (floatundidf): Likewise.
4723 (floatdidf): Likewise.
4724
e5a81c8e
KT
47252012-11-29 Kai Tietz <ktietz@redhat.com>
4726
4727 PR target/55445
4728 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4729 * unwind-generic.h: Likewise.
4730 * unwind-seh.c: Likewise.
4731
f4919e4a
RH
47322012-11-28 Richard Henderson <rth@redhat.com>
4733
4734 PR libgcc/48076
4735 * emutls.c (__emutls_get_address): Avoid race condition between
4736 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 4737
e13d9d5a
GJL
47382012-11-22 Georg-Johann Lay <avr@gjlay.de>
4739
4740 Adjust decimal point of signed accum mode to GCC default.
4741
4742 PR target/54222
4743 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4744 _divqq_helper.
4745 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4746 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4747 (__mulha3, __mulsa3)
4748 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
4749 decimal point of signed accum types.
4750
e13d9d5a
GJL
4751 (__mulusa3_round): New function.
4752 (__mulusa3): Use it.
4753 (__divqq_helper): New function.
4754 (__udivuqq3): Use it.
4755
1b845c6e
JJ
47562012-11-20 Jakub Jelinek <jakub@redhat.com>
4757
4758 PR bootstrap/55370
4759 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4760
822a258a
TJ
47612012-11-18 Teresa Johnson <tejohnson@google.com>
4762
4763 PR bootstrap/55051
4764 * libgcov.c (gcov_exit): Remove merged program summary
4765 comparison unless !GCOV_LOCKED.
4766
7d296953 47672012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
4768
4769 * soft-fp: Updated from glibc upstream.
4770
e808687a
ILT
47712012-11-06 Ian Lance Taylor <iant@google.com>
4772
4773 * generic-morestack.c (__generic_morestack): Align the returned
4774 stack pointer to a 32 byte boundary.
4775 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4776 increment the return address until we have decided that we don't
4777 have a varargs function.
4778 (__morestack) [32-bit]: Align stack correctly when calling C
4779 functions.
4780 (__morestack) [64-bit]: Likewise.
4781
460277e0
TS
47822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4783
4784 * configure: Regenerate.
4785
73edb277
UB
47862012-11-02 Uros Bizjak <ubizjak@gmail.com>
4787
4788 PR target/55175
4789 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4790 * config/i386/sfp-machine.h: Guard exception handling
4791 code with _SOFT_FLOAT.
4792 * config/i386/32/sfp-machine.h: Guard rounding handling
4793 code with _SOFT_FLOAT.
4794 * config/i386/64/sfp-machine.h: Ditto.
4795
c1d4fa04
JS
47962012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4797
4798 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4799 as extra_parts.
4800
eff6ca85
UB
48012012-10-26 Uros Bizjak <ubizjak@gmail.com>
4802
4803 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4804 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4805 when appropriate. Correct structure element types.
4806 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4807 -minline-all-stringops from compile flags.
4808
7d296953 48092012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
4810
4811 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4812
7d296953 48132012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 4814
eff6ca85 4815 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 4816
6f288860
SH
48172012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4818
4819 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4820 tmake_file.
4821
1e3d5096
IB
48222012-10-23 Ian Bolton <ian.bolton@arm.com>
4823 Jim MacArthur <jim.macarthur@arm.com>
4824 Marcus Shawcroft <marcus.shawcroft@arm.com>
4825 Nigel Stephens <nigel.stephens@arm.com>
4826 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4827 Richard Earnshaw <rearnsha@arm.com>
4828 Sofiane Naci <sofiane.naci@arm.com>
4829 Stephen Thomas <stephen.thomas@arm.com>
4830 Tejas Belagod <tejas.belagod@arm.com>
4831 Yufeng Zhang <yufeng.zhang@arm.com>
4832
4833 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4834 * config/aarch64/crti.S: New file.
4835 * config/aarch64/crtn.S: New file.
4836 * config/aarch64/linux-unwind.h: New file.
4837 * config/aarch64/sfp-machine.h: New file.
4838 * config/aarch64/sync-cache.c: New file.
4839 * config/aarch64/t-aarch64: New file.
4840 * config/aarch64/t-softfp: New file.
4841
8a740f07
HPN
48422012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
4843
4844 * config/mmix/crti.S: Mark program and data addresses using PRELD.
4845 Remove typo'd and unnecessary alignment-LOC for .data. Remove
4846 no-longer-needed LDBU insns.
4847
7d296953 48482012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
4849
4850 * config.host
4851 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4852 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4853
595fefee
MGD
48542012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4855
4856 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4857
9945a876
MK
48582012-10-15 Matthias Klose <doko@ubuntu.com>
4859
4860 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4861
1183dc2c
PC
48622012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
4863
4864 * configure: Regenerate.
4865 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4866
945a9c1f
UB
48672012-10-10 Uros Bizjak <ubizjak@gmail.com>
4868
4869 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4870 instructions for 64bit targets only.
4871
fb8bf47a
UB
48722012-10-10 Uros Bizjak <ubizjak@gmail.com>
4873
4874 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4875 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4876 * config/i386/32/sfp-machine.h: ... here.
4877 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4878 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4879 New defines.
4880
acb72498
MK
48812012-10-07 Matthias Klose <doko@ubuntu.com>
4882
4883 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4884 as unused.
4885 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4886
8eaee0f0
MK
48872012-10-06 Mark Kettenis <kettenis@openbsd.org>
4888
4889 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4890 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4891 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4892 (ElfW): Likewise.
4893
5e3e4fe8
JW
48942012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4895
4896 PR other/53889
4897 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4898 Fix parameter names.
4899
86086376
OE
49002012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4901
4902 PR target/33135
4903 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4904 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4905 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4906
9597375a
OE
49072012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4908
4909 PR target/50457
4910 * config/sh/linux-atomic.S: Delete.
4911 * config/sh/linux-atomic.c: New.
4912 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4913 linux-atomic.c. Add cflags to disable warnings.
4914
1504e3e1
JW
49152012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4916
4917 PR other/53889
4918 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4919 function.
4920 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4921 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4922 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4923 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
4924 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4925 Likewise.
1504e3e1
JW
4926 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4927 Likewise.
4928 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4929 Likewise.
4930 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4931 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4932
17f293b0
MK
49332012-09-19 Mark Kettenis <kettenis@openbsd.org>
4934
9597375a
OE
4935 * config.host (hppa-*-openbsd*): New target.
4936 * config/pa/t-openbsd: New file.
17f293b0 4937
51526856
GJL
49382012-09-15 Georg-Johann Lay <avr@gjlay.de>
4939
4940 PR target/54222
4941 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4942 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4943 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4944 (__divsa3): Use __negsi2 to negate r_quoL.
4945 * config/avr/lib1funcs.S (FALIAS): New macro.
4946 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4947 (__negsi2): ...this new function.
4948 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4949 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4950 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4951 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4952 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4953 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4954
aadb5b43
OE
49552012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4956
4957 PR target/54089
4958 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4959 (lshrsi3): Reimplement as lshrsi3_r0.
4960
d5d66749
AS
49612012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4962
4963 PR target/46191
4964 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4965 of libgcc.a.
4966
c6c36e73
TJ
49672012-09-07 Teresa Johnson <tejohnson@google.com>
4968
9597375a 4969 PR gcov-profile/54487
c6c36e73 4970 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 4971 differences.
c6c36e73 4972
b588ae30
GJL
49732012-09-05 Georg-Johann Lay <avr@gjlay.de>
4974
4975 PR target/54461
4976 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4977 not configured --with-avrlibc=no.
4978 * config/avr/t-avrlibc: New file.
4979 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4980 (DPBIT_FUNCS): Ditto.
4981 (TPBIT_FUNCS): Ditto.
4982
abd16fb1
TJ
49832012-09-04 Teresa Johnson <tejohnson@google.com>
4984
4985 * libgcov.c (struct gcov_summary_buffer): New structure.
4986 (gcov_histogram_insert): New function.
4987 (gcov_compute_histogram): Ditto.
4988 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4989 histograms during summary merging.
4990
613061fd
MK
49912012-09-01 Mark Kettenis <kettenis@openbsd.org>
4992
4993 * config.host (x86_64-*-openbsd*): New target.
73edb277 4994
867a8345
CLT
49952012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4996
4997 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4998 attribute.
4999
4aeaaca3
GJL
50002012-08-24 Georg-Johann Lay <avr@gjlay.de>
5001
5002 PR target/54222
5003 * config/avr/t-avr (conv_X): Rename to func_X.
5004
e55e4056
GJL
50052012-08-24 Georg-Johann Lay <avr@gjlay.de>
5006
5007 PR target/54222
5008 * config/avr/lib1funcs-fixed.S: New file.
5009 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
5010 after they are used.
5011 (neg2, neg4): New macros.
5012 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
5013 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
5014 (__umulhisi3): Speed up MUL variant if there is enough flash.
5015 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
5016 avr-modes.def.
5017 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
5018 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
5019 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
5020 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
5021 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
5022 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
5023 (LIB2FUNCS_EXCLUDE): Add supported functions.
5024
a147b6d2
GJL
50252012-08-22 Georg-Johann Lay <avr@gjlay.de>
5026
5027 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
5028 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
5029 libgcc-s-objects.
5030 * fixed-obj.mk: Only expand dependency if $o is not in
5031 LIB2FUNCS_EXCLUDE.
5032
c637141a
L
50332012-08-22 H.J. Lu <hongjiu.lu@intel.com>
5034
5035 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
5036
130e00bd
JM
50372012-08-22 Joseph Myers <joseph@codesourcery.com>
5038
5039 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
5040 depend on --enable-shared.
5041 ($(lib1asmfuncs-o)): Use %.vis files independent of
5042 --enable-shared.
5043 * static-object.mk ($(base)$(objext), $(base).vis)
5044 ($(base)_s$(objext)): Use same rules for visibility handling as in
5045 shared-object.mk.
5046
4b1b3788
ILT
50472012-08-21 Ian Lance Taylor <iant@google.com>
5048
5049 * config/i386/morestack.S (__morestack_non_split): Increase amount
5050 of space allocated for non-split code stack.
5051
d2468141
JM
50522012-08-19 Joseph Myers <joseph@codesourcery.com>
5053
5054 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
5055 even if inhibit_libc.
5056
a508e1a8
JB
50572012-08-17 Julian Brown <julian@codesourcery.com>
5058
5059 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
5060 -fexceptions -fnon-call-exceptions if not defined.
5061 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
5062 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
5063
5615a07d
AS
50642012-08-17 Andreas Schwab <schwab@linux-m68k.org>
5065
5066 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
5067 type.
5068
138f5acd
DE
50692012-08-16 David Edelsohn <dje.gcc@gmail.com>
5070
5071 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
5072 rs6000/t-slibgcc-aix.
5073
18efc0dd
SB
50742012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5075
5076 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
5077
6b39bc38
SB
50782012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
5079
5080 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
5081
cd25dea0
L
50822012-08-03 H.J. Lu <hongjiu.lu@intel.com>
5083
5084 PR driver/54171
5085 * Makefile.in (version): Replace top_srcdir with srcdir.
5086
a3dda30b
JY
50872012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
5088
5089 * Makefile.in (version): set to BASE-VER file from gcc directory.
5090
d04aacfc
NC
50912012-08-01 Nick Clifton <nickc@redhat.com>
5092
5093 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
5094 Implements __clrsb for an HImode argument.
5095
0d13c974
NC
50962012-07-31 Nick Clifton <nickc@redhat.com>
5097
5098 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
5099 Implements __clrsb for an HImode argument.
5100 * config/stormy16/clrsbhi2.c: New file:
5101 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
5102
efbb59b2
SB
51032012-07-22 Steven Bosscher <steven@gcc.gnu.org>
5104
5105 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
5106
bf1431e3
TG
51072012-07-19 Tristan Gingold <gingold@adacore.com>
5108 Richard Henderson <rth@redhat.com>
5109
5110 * unwind-seh.c: New file.
5111 * unwind-generic.h: Include windows.h for SEH.
5112 (_Unwind_Exception): Use 6 private fields for SEH.
5113 (_GCC_specific_handler): Declare.
5114 * unwind-c.c (__gcc_personality_seh0): New function.
5115 Adjust for SEH.
5116 * config/i386/libgcc-cygming.ver: New file.
5117 * config/i386/t-seh-eh: New file.
5118 * config.host (x86_64-*-mingw*): Default to seh.
5119
659140c8
SB
51202012-07-14 Steven Bosscher <steven@gcc.gnu.org>
5121
5122 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
5123
a20d08fd
UB
51242012-06-17 Uros Bizjak <ubizjak@gmail.com>
5125
5126 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
5127 __builtin_expect when checking for exceptions.
5128 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
5129
79261115
UB
51302012-06-13 Uros Bizjak <ubizjak@gmail.com>
5131
4a172156
UB
5132 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
5133 function declaration.
5134 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5135 (FP_RND_MASK): New.
5136 * config/ia64/sfp-exceptions.c: New.
5137 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 5138
bb5c97d4
UB
51392012-06-13 Uros Bizjak <ubizjak@gmail.com>
5140
5141 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
5142 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
5143 * config/i386/64/sfp-machine: ... (delete here) ...
5144 * config/i386/sfp-machine.h: ... to here.
5145 (FP_EX_MASK): Remove.
5146 (FP_RND_MASK): New.
5147 (FP_INIT_ROUNDMODE): Declare asm as volatile.
5148
91fe5efb
ST
51492012-06-11 Sriraman Tallam <tmsriram@google.com>
5150
5151 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
5152 * config/i386/libgcc-sol2.ver: Ditto.
5153 * config/i386/libgcc-glibc.ver: Ditto.
5154
67a218c5
RM
51552012-06-11 Roland McGrath <mcgrathr@google.com>
5156
5157 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
5158 If __GLIBC__ is defined, refer to __pthread_key_create instead of
5159 pthread_cancel.
5160
492fbea1
UB
51612012-06-09 Uros Bizjak <ubizjak@gmail.com>
5162
5163 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
5164 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
5165 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
5166 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
5167 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
5168 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
5169 * config/i386/64/sfp-machine: ... (delete here) ...
5170 * config/i386/sfp-machine.h: ... to here.
5171 (FP_EX_MASK): New.
5172 (__sfp_handle_exceptions): New function declaration.
5173 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
5174 * config/i386/sfp-exceptions.c: New.
5175 * config/i386/t-softfp: New.
5176 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
5177 i386/t-softfp to tmake_file.
5178
7b4cf266
DM
51792012-06-03 David S. Miller <davem@davemloft.net>
5180
5181 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
5182 change.
5183
0de0d5c6
DM
51842012-05-31 David S. Miller <davem@davemloft.net>
5185
5186 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
5187 multiply and divide instructions on 32-bit when V9.
5188 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
5189
d8c9d391
JM
51902012-05-29 Joseph Myers <joseph@codesourcery.com>
5191
5192 * config/arm/ieee754-df.S: Fix typos.
5193 * config/arm/ieee754-sf.S: Fix typos.
5194 * config/c6x/libunwind.S: Fix typos.
5195 * config/epiphany/udivsi3-float.c: Fix typos.
5196 * config/microblaze/muldi3_hard.S: Fix typos.
5197 * config/picochip/adddi3.S: Fix typos.
5198 * config/picochip/ashlsi3.S: Fix typos.
5199 * config/picochip/ashrsi3.S: Fix typos.
5200 * config/picochip/clzsi2.S: Fix typos.
5201 * config/picochip/cmpsi2.S: Fix typos.
5202 * config/picochip/divmod15.S: Fix typos.
5203 * config/picochip/divmodhi4.S: Fix typos.
5204 * config/picochip/divmodsi4.S: Fix typos.
5205 * config/picochip/longjmp.S: Fix typos.
5206 * config/picochip/lshrsi3.S: Fix typos.
5207 * config/picochip/parityhi2.S: Fix typos.
5208 * config/picochip/popcounthi2.S: Fix typos.
5209 * config/picochip/setjmp.S: Fix typos.
5210 * config/picochip/subdi3.S: Fix typos.
5211 * config/picochip/ucmpsi2.S: Fix typos.
5212 * config/picochip/udivmodhi4.S: Fix typos.
5213 * config/picochip/udivmodsi4.S: Fix typos.
5214 * config/spu/divv2df3.c: Fix typos.
5215 * config/spu/mfc_multi_tag_release.c: Fix typos.
5216 * config/spu/mfc_tag_release.c: Fix typos.
5217 * configure.ac: Fix typos.
5218 * configure: Regenerate.
5219
31a18a7e
ILT
52202012-05-25 Ian Lance Taylor <iant@google.com>
5221
5222 * config/i386/morestack.S (__morestack_non_split): Check whether
5223 caller is varargs and needs %bp to hold the stack frame on return.
5224
c5768510
OH
52252012-05-25 Olivier Hainque <hainque@adacore.com>
5226
5227 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5228 sequence in the non pic case on VxWorks.
5229
7c7c339b
OH
52302012-05-24 Olivier Hainque <hainque@adacore.com>
5231
73fb7630 5232 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5233 "install-leaf" to "install".
5234
fdc1b7d3
OH
52352012-05-24 Olivier Hainque <hainque@adacore.com>
5236
5237 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5238 Use a separate command for stamp removals.
5239
07ba94b9
AP
52402012-05-21 Andrew Pinski <apinski@cavium.com>
5241
5242 PR bootstrap/53183
5243 * configure.ac: Define the default includes to being none.
5244 * configure: Regenerate.
5245
4677d2eb
OH
52462012-05-16 Olivier Hainque <hainque@adacore.com>
5247
5248 * Makefile.in (install-unwind_h): Rename into ...
5249 (install-unwind_h-forbuild): New target.
5250 (all): Use it instead of the former install-unwind_h.
5251 (install-unwind_h): Reinstate, copy to user install destination
5252 for include files, not to the internal gcc object directory one.
5253 (install-leaf): Depend on it.
5254
7d67c380
OH
52552012-05-15 Olivier Hainque <hainque@adacore.com>
5256
5257 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5258 register numbers. LR_REGNO replaces R_LR.
5259 (ucontext_for): New, helper for ...
5260 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5261 and 5.3 of ...
5262 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5263
aca06c90
RO
52642012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5265
5266 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5267 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5268 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5269 i386/t-cpuinfo ...
5270 (i[34567]86-*-*, x86_64-*-*): ... here.
5271
5272 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5273 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5274
5275 * config/i386/i386-cpuinfo.c: Rename to ...
5276 * config/i386/cpuinfo.c: ... this.
5277 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5278
5279 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5280 (libgcc_cv_init_priority): New test.
5281 * configure: Regenerate.
5282 * config.in: New file.
5283 * Makefile.in (clean): Rename config.h to auto-target.h.
5284 (config.h): Likewise.
5285 (stamp-h): Likewise.
5286
5287 * config/i386/cpuinfo.c (auto-target.h): Include.
5288 (CONSTRUCTOR_PRIORITY): Define.
5289 (__cpu_indicator_init): Use it.
5290
0d03ac1b
L
52912012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5292
5293 * longlong.h: Use a URL instead of an FSF postal address.
5294 Replace spaces with tab.
5295
4a172156 52962012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5297
5298 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5299 (__gcov_dump): Ditto.
5300 (gcov_dump_complete): New global variable.
5301 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5302 (__gcov_flush): Outline functionality now in gcov_clear.
5303 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5304
e4bb767e
AJ
53052012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5306
31a18a7e
ILT
5307 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5308 (mips*-*-linux*): Include mips/t-tpbit when long double is
5309 16 bytes long.
e4bb767e 5310
5ddecff9
ST
53112012-04-25 Sriraman Tallam <tmsriram@google.com>
5312
5313 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5314 (get_available_features): New argument. Check for AVX2.
5315 (__cpu_indicator_init): Modify call to get_available_features.
5316
b427dd7a
AM
53172012-04-25 Alan Modra <amodra@gmail.com>
5318
5319 * config/rs6000/crtsavevr.S: New file.
5320 * config/rs6000/crtrestvr.S: New file.
5321 * config/rs6000/t-savresfgpr: Build the above.
5322 * config/rs6000/t-netbsd: Likewise.
5323
ad491329
ST
53242012-04-24 Sriraman Tallam <tmsriram@google.com>
5325
5326 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5327
792317cc
ST
53282012-04-24 Sriraman Tallam <tmsriram@google.com>
5329
5330 * libgcc/config/i386/i386-cpuinfo.c: New file.
5331 * libgcc/config/i386/t-cpuinfo: New file.
5332 * libgcc/config.host: Include t-cpuinfo.
5333 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5334
e1be98a4
CF
53352012-04-24 Chao-ying Fu <fu@mips.com>
5336
5337 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5338
1bde7dab
TS
53392012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5340
5341 struct siginfo vs. siginfo_t
5342
5343 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5344 siginfo_t instead of struct siginfo.
5345 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5346 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5347 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5348 (ia64_handle_unwabi): Likewise.
5349 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5350 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5351 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5352 (sh_fallback_frame_state): Likewise.
5353 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5354 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5355
24590f66
L
53562012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5357
5358 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5359 system call number.
5360
9a9dcce8
EB
53612012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5362
5363 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5364 if it hasn't been previously saved.
5365
6401aaf5
L
53662012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5367
5368 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5369 only for glibc.
5370
7fd6378e
GJL
53712012-03-28 Georg-Johann Lay <avr@gjlay.de>
5372
5373 PR target/52737
5374 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5375 instead of __AVR_HAVE_8BIT_SP__.
5376
9e916de7
TG
53772012-03-26 Tristan Gingold <gingold@adacore.com>
5378
5379 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5380 (unw_table_entry): Use unw_word instead of unsigned long.
5381 (_Unwind_FindTableEntry): Likewise.
5382 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5383 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5384 (_Unwind_FindTableEntry): Likewise.
5385 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5386 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5387 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5388 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5389 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5390 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5391 (uw_init_context_1, uw_install_context): Likewise.
5392 (unw_word): Move to unwind-ia64.h
5393
4b12e93d
TG
53942012-03-26 Tristan Gingold <gingold@adacore.com>
5395
5396 * config/vms/vms-ucrt0.c: Update copyright years.
5397 Add a sanity check.
5398 (___gcc_main_flags): Declare.
5399 (__main): Check flags to remap argv and exit code.
5400 * config.host (*-*-*vms*): Adjust extra_parts.
5401 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5402 (crt0.o): Add.
5403
06ea7371
RE
54042012-03-22 Richard Earnshaw <rearnsha@arm.com>
5405
5406 * arm/lib1funcs.asm (ctzsi2): New function.
5407 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5408 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5409 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5410 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5411 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5412 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5413
d82ad50d
AT
54142012-03-21 Andreas Tobler <andreast@fgznet.ch>
5415
5416 * config.host: Add bits to support powerpc64-*-freebsd*.
5417 * config/rs6000/freebsd-unwind.h: New file.
5418 * config/rs6000/t-freebsd64: New file.
5419
b260a8c0
RG
54202012-03-20 Richard Guenther <rguenther@suse.de>
5421
5422 PR gcov-profile/52627
5423 * libgcov.c (init_mx): Fix mutex name.
5424
86286a8a
TG
54252012-03-16 Tristan Gingold <gingold@adacore.com>
5426
5427 * config/ia64/vms-unwind.h: Remove ulong (and replace
5428 it by unw_reg where used). Define unw_reg with __int64.
5429
7888f266
RO
54302012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5431
5432 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5433 Solaris 8 handling.
5434 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5435 Solaris 8 handling.
5436 (sparc_is_sighandler): Likewise.
5437
f155bc64
L
54382012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5439
5440 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5441 <= saved reg size.
5442
d47657bd
RO
54432012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5444
5445 * config/arm/crtn.S: Fix typo.
5446
5bef73a1
RG
54472012-03-13 Richard Guenther <rguenther@suse.de>
5448
5449 * libgcov.c: Remove stdio.h include and NULL un-define.
5450
9c4271f3
RG
54512012-03-13 Richard Guenther <rguenther@suse.de>
5452
5453 PR target/52569
5454 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5455
c6d10e7c
RG
54562012-03-13 Richard Guenther <rguenther@suse.de>
5457
5458 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5459
074a385f
RG
54602012-03-13 Richard Guenther <rguenther@suse.de>
5461
5462 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5463 and __gthread_mutex_init_function definitions.
5464
c4bc5c25
RO
54652012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5466
5467 * config.host (mips*-*-openbsd*): Remove.
5468
5c30094f
RO
54692012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5470
5471 * config.host: Remove alpha*-dec-osf5.1* handling.
5472 * config/alpha/gthr-posix.c: Remove.
5473 * config/alpha/libgcc-osf5.ver: Remove.
5474 * config/alpha/osf5-unwind.h: Remove.
5475 * config/alpha/t-osf-pthread: Remove.
5476 * config/alpha/t-slibgcc-osf: Remove.
5477 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5478 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5479 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5480 * mkmap-flat.awk: Remove osf_export handling.
5481
33e3e24d
RG
54822012-03-12 Richard Guenther <rguenther@suse.de>
5483
5484 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5485 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5486 (__gthread_mutex_init_function): New function.
5487 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5488
5489 PR gcov/49484
5490 * libgcov.c: Include gthr.h.
5491 (__gcov_flush_mx): New global variable.
5492 (init_mx, init_mx_once): New functions.
5493 (__gcov_flush): Protect self with a mutex.
5494 (__gcov_fork): Re-initialize mutex after forking.
5495 * unwind-dw2-fde.c: Change condition under which to use
5496 __GTHREAD_MUTEX_INIT_FUNCTION.
5497
d8aba32a
TG
54982012-03-12 Tristan Gingold <gingold@adacore.com>
5499
5500 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5501 * config/ia64/t-vms: Likewise.
5502
75ffafdc
MH
55032012-03-11 Michael Hope <michael.hope@linaro.org>
5504
4a172156
UB
5505 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5506 for Thumb-2.
75ffafdc 5507
ef6c2c53
WL
55082012-03-07 Walter Lee <walt@tilera.com>
5509
5510 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5511 "arch_atomic_".
5512 (atomic_xor): Rename and move definition to
5513 config/tilepro/atomic.h.
5514 (atomic_nand): Ditto.
5515 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5516 "arch_atomic_".
5517 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5518 (arch_atomic_nand): Ditto.
5519
4e30d980
GJL
55202012-03-07 Georg-Johann Lay <avr@gjlay.de>
5521
5522 PR target/52507
5523 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5524
61108225
GJL
55252012-03-07 Georg-Johann Lay <avr@gjlay.de>
5526
5527 PR target/52505
5528 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5529 from RAM.
5530
b30e10ab
GJL
55312012-03-07 Georg-Johann Lay <avr@gjlay.de>
5532
5533 PR target/52461
5534 PR target/52508
5535 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5536 if RAMPZ affects reading from RAM.
5537 (__tablejump_elpm__): Ditto.
5538 (.xload): Ditto.
5539 (__movmemx_hi): Ditto.
5540 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5541 (__do_global_dtors): Ditto.
5542 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5543 (__movmemx_hi): Ditto.
5544
8993fde4
RH
55452012-03-05 Richard Henderson <rth@redhat.com>
5546
5547 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5548 [ARM] (count_trailing_zeros): Use the builtin.
5549
b7633ee3
KT
55502012-03-01 Kai Tietz <ktietz@redhat.com>
5551
5552 * soft-fp: Imported from glibc upstream.
5553
fbd3340c
KT
55542012-02-28 Kai Tietz <ktietz@redhat.com>
5555
5556 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5557 for mingw-targets as attribute gcc_struct.
5558
e9e053eb
ILT
55592012-02-28 Ian Lance Taylor <iant@google.com>
5560
5561 * generic-morestack.c (__splitstack_releasecontext): Correct call
5562 to __morestack_release_segments.
5563
d80c632e
ST
55642012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5565
5566 PR target/52390
5567 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5568 for __linux__ when removing signals from __morestack_fullmask.
5569
0253a8b1
GJL
55702012-02-23 Georg-Johann Lay <avr@gjlay.de>
5571
5572 PR target/52261
5573 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5574
e10e461e
UW
55752012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5576
5577 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5578 instead of HAVE_INITFINI_ARRAY.
5579 * config/ia64/crtend.S: Likewise.
5580
0c0c6398
KT
55812012-02-20 Kai Tietz <ktietz@redhat.com>
5582
d7470374
KT
5583 PR libstdc++/52300
5584 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5585
0c0c6398
KT
5586 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5587 to w32-unwind.h header.
5588
78c27266
RS
55892012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5590
5591 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5592 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5593 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5594 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5595
5adeb246
RS
55962012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5597
5598 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5599
672ed313
IS
56002012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5601
5602 PR libitm/52220
5603 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 5604
e948a1fb
IS
56052012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5606 Patrick Marlier <patrick.marlier@gmail.com>
5607
5608 PR libitm/52220
5609 * config/darwin-crt-tm.c: Generate dummy functions.
5610
6017aed3
IS
56112012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5612 Patrick Marlier <patrick.marlier@gmail.com>
5613
5614 PR libitm/52042
5615 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5616 (__doTMRegistrations): Call it.
e9e053eb 5617 (__doTMdeRegistrations): Likewise.
6017aed3 5618
2da8c1ad 56192012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
5620 Anatoly Sokolov <aesok@post.ru>
5621 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
5622
5623 PR target/52261
5624 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5625 (__epilogue_restores__): Ditto.
5626
0f952eb4
EB
56272012-02-15 Eric Botcazou <ebotcazou@adacore.com>
5628
5629 PR target/51921
5630 PR target/52205
5631 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5632 Solaris 11 and slightly reformat.
5633 (sparc_is_sighandler): Likewise.
5634
dd552284
WL
56352012-02-14 Walter Lee <walt@tilera.com>
5636
5637 * config.host: Handle tilegx and tilepro.
5638 * config/tilegx/sfp-machine.h: New file.
5639 * config/tilegx/sfp-machine32.h: New file.
5640 * config/tilegx/sfp-machine64.h: New file.
5641 * config/tilegx/t-crtstuff: New file.
5642 * config/tilegx/t-softfp: New file.
5643 * config/tilegx/t-tilegx: New file.
5644 * config/tilepro/atomic.c: New file.
5645 * config/tilepro/atomic.h: New file.
5646 * config/tilepro/linux-unwind.h: New file.
5647 * config/tilepro/sfp-machine.h: New file.
5648 * config/tilepro/softdivide.c: New file.
5649 * config/tilepro/softmpy.S: New file.
5650 * config/tilepro/t-crtstuff: New file.
5651 * config/tilepro/t-tilepro: New file.
5652
b59cbd50
JW
56532012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
5654
5655 PR libstdc++/51296
5656 PR libstdc++/51906
5657 * gthr-posix.h: Allow static initializer macros to be disabled.
5658 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5659
6caf807f
CLT
56602012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5661
5662 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5663 Add t-slibgcc-libgcc to tmake_file.
5664 * config/mips/libgcc-mips16.ver: Revert previous patch.
5665 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5666
7d296953
JJ
56672012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5668 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
5669
5670 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5671 * config/cr16/crti.S: New file.
5672 * config/cr16/crtlibid.S: New file.
5673 * config/cr16/crtn.S: New file.
5674 * config/cr16/lib1funcs.S: New file.
5675 * config/cr16/t-cr16: New file.
5676 * config/cr16/t-crtlibid: New file.
5677 * config/cr16/unwind-dw2.h: New file.
5678 * config/cr16/unwind-cr16.c: New file.
5679 * config/cr16/divmodhi3.c: New file.
5680
8ef03aa7
AM
56812012-01-25 Alan Modra <amodra@gmail.com>
5682
5683 * config/rs6000/t-linux64: Delete. Move..
5684 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5685 * config/rs6000/t-linux: ..and libgcc flags to here.
5686
daecebc8
DR
56872012-01-22 Douglas B Rupp <rupp@gnat.com>
5688
5689 * config.host (i[34567]86-*-interix3*):
8ef03aa7 5690 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
5691 * configure: Regenerate.
5692
ddaf8125
RS
56932012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
5694 Richard Sandiford <rdsandiford@googlemail.com>
5695
5696 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5697 * config/mips/mips16.S (__mips16_rdhwr): New function.
5698 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5699
2cd8b32c
NS
57002012-01-11 Nathan Sidwell <nathan@acm.org>
5701
5702 * libgcov.c (__gcov_init): Ignore objects with no functions.
5703
cba300dd
GJL
57042012-01-10 Georg-Johann Lay <avr@gjlay.de>
5705
5706 PR target/49868
5707 Extend __pgmx semantics to linearize memory.
5708 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5709 * config/avr/lib1funcs.S (__xload_1): New function.
5710 (__movmemx_qi, __movmemx_hi): New functions.
5711 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5712 semantics.
9ffaf4bc 5713
3d137660
EB
57142012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5715
5716 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5717 purported sigacthandler address isn't null before dereferencing it.
5718 (sparc_is_sighandler): Likewise.
5719
bf4db96c
EB
57202012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5721
5722 PR ada/41929
5723 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5724 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
5725 (sparc_is_sighandler): Likewise.
5726 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5727
1ab3568b
TG
57282012-01-06 Tristan Gingold <gingold@adacore.com>
5729
5730 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5731 compatibility thunks...
5732 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5733 (crtbeginS.o, crtendS.o): ... and these to ...
5734 * config/ia64/t-ia64-elf: ... this new file.
5735 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5736 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5737
925b0ed8
AK
57382012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5739
5740 * configure: Regenerate.
5741 * config/s390/t-crtstuff: Remove -fPIC.
5742
a99ad737
JW
57432012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5744
5745 PR bootstrap/51006
5746 * enable-execute-stack-mprotect.c (getpagesize): Do not define
5747 for NetBSD.
5748
884f56d1
GJL
57492012-01-02 Georg-Johann Lay <avr@gjlay.de>
5750
5751 PR target/51345
5752 * config/avr/lib1funcs.S: Remove FIXME comments.
5753 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5754
8c57e547
GJL
57552012-01-02 Georg-Johann Lay <avr@gjlay.de>
5756
5757 Implement light-weight DImode support.
5758 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5759 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5760 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5761 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5762
04dbc287
NS
57632011-12-30 Nathan Sidwell <nathan@acm.org>
5764
5765 * libgcov.c (gcov_crc32): Remove global var.
5766 (free_fn_data): New function.
5767 (buffer_fn_data): Pass in filename, more robust error recovery.
5768 (crc32_unsigned): New function.
5769 (gcov_exit): More robust detection of new program. More robust
5770 error recovery.
5771 (__gcov_init): Do not update program's crc here.
5772
8e1d97d4
TG
57732011-12-21 Tristan Gingold <gingold@adacore.com>
5774
5775 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5776
9ffaf4bc
ILT
57772011-12-21 Ian Lance Taylor <iant@google.com>
5778
5779 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5780
a0c8d0c1
ILT
57812011-12-20 Ian Lance Taylor <iant@google.com>
5782
5783 * config/i386/morestack.S (__morestack_non_split): If there is
5784 enough stack space already, don't split. Ask for more stack space
5785 than we required.
5786
69048898
SDJ
57872011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5788
5789 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5790 `sys/sdt.h'.
5791 (_Unwind_DebugHook): New function.
5792 (uw_restore_core_regs): New define.
5793 (unwind_phase2): Use uw_restore_core_regs instead of
5794 restore_core_regs.
5795 (unwind_phase2_forced): Likewise.
5796 (__gnu_Unwind_Resume): Likewise.
5797
1bb4b6a3
UB
57982011-12-20 Uros Bizjak <ubizjak@gmail.com>
5799
5800 * config/alpha/linux-unwind.h: Update copyright years.
5801 (MD_FROB_UPDATE_CONTEXT): New define.
5802 (alpha_frob_update_context): New function.
5803
eb028768
RS
58042011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5805
5806 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5807 tmake_file rather replacing it.
5808
6a2045bf
IS
58092011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5810
5811 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 5812 function is not used for PPC64.
6a2045bf
IS
5813 (save_world): Amend comments. Update the VRsave mask to reflect the
5814 saved regs.
5815 (rest_world): Update comments, do not clobber r10, do not use r8.
5816 (eh_rest_world_r10): Amend comments, do not use r8.
5817 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5818 no longer used, move restore of CR and target address to the end of
5819 the routine.
5820
a13780a6
L
58212011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5822
5823 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5824 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5825
d7288dfb
GJL
58262011-12-14 Georg-Johann Lay <avr@gjlay.de>
5827
5828 PR target/49313
5829 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5830 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5831
8d2c862d
EB
58322011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5833
5834 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5835
3447cae6
GJL
58362011-12-09 Georg-Johann Lay <avr@gjlay.de>
5837
5838 PR target/49313
5839 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5840 * config/avr/lib1funcs.S (__muldi3): New function.
5841
806fc6aa
AP
58422011-12-06 Andrew Pinski <apinski@cavium.com>
5843
5844 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5845 size of func_ptr.
5846 (__frame_dummy_init_array_entry): Likewise.
5847
28c5e6b5
GJL
58482011-12-06 Georg-Johann Lay <avr@gjlay.de>
5849
5850 Forward-port from gcc-4_6-branch r181936 2011-12-02.
5851
5852 PR target/51345
5853 PR target/51002
5854 * config/avr/lib1funcs.S (__prologue_saves__,
5855 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5856 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
5857
8f90394a
IS
58582011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5859
5860 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5861
06dd33ac
JDA
58622011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5863
5864 PR other/51272
5865 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5866 (_ITM_deregisterTMCloneTable): Likewise.
5867 (__register_frame_info): Fix unused warning.
5868 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5869 pthread_default_stacksize_np): Likewise.
5870 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 5871
85b8555e
DD
58722011-11-29 DJ Delorie <dj@redhat.com>
5873
5874 * config.host (rl78-*-elf): New case.
5875 * config/rl78: New directory for the Renesas RL78.
5876
4d5ae4ea
BS
58772011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5878
5879 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5880 formatting.
5881
f9c55897
RO
58822011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5883
5884 PR other/51022
5885 * config/rs6000/t-savresfgpr: New file.
5886 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5887 $(srcdir)/config/rs6000/eabi.S.
5888 * config/rs6000/t-ppccomm-ldbl: Remove.
5889 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5890 tmake_file.
5891 (powerpc-*-eabispe*): Likewise.
5892 (powerpc-*-eabi*): Likewise.
5893 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5894 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5895 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5896 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5897 tmake_file.
5898 (powerpc-*-eabisim*): Likewise.
5899 (powerpc-*-elf*): Likewise.
5900 (powerpc-*-eabialtivec*): Likewise.
5901 (powerpc-xilinx-eabi*): Likewise.
5902 (powerpc-*-rtems*): Likewise.
5903 (powerpcle-*-elf*): Likewise.
5904 (powerpcle-*-eabisim*): Likewise.
5905 (powerpcle-*-eabi*): Likewise.
5906
a01207c4
ILT
59072011-11-27 Ian Lance Taylor <iant@google.com>
5908
5909 * generic-morestack.c (__splitstack_find): Check for NULL old
5910 stack value.
5911 (__splitstack_resetcontext): New function.
5912 (__splitstack_releasecontext): New function.
5913 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5914
2b0b8ab2
IS
59152011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5916
5917 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5918
c1d8101c
IS
59192011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5920
5921 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5922
8b281334
RH
59232011-11-26 Richard Henderson <rth@redhat.com>
5924
5925 * config/m68k/linux-atomic.c: New file.
5926 * config/m68k/t-linux: New file.
5927 * config.host (m68k-uclinux, m68k-linux): Use it.
5928
7546aa9d
RH
59292011-11-26 Richard Henderson <rth@redhat.com>
5930
5931 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5932 (__TMC_END__): Only declare if hidden is available; in the definition,
5933 if hidden is unavailable add a null record.
5934 (deregister_tm_clones, register_tm_clones): New.
5935 (__do_global_dtors_aux, frame_dummy): Use them.
5936 (__do_global_dtors, __do_global_ctors_1): Likewise.
5937
e2362f5d
IS
59382011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5939
5940 * config/darwin-crt-tm.c: New file.
5941 * config.host (darwin): Build crttms.o crttme.o to provide
5942 startup and shutdown for tm clones.
5943 * config/t-darwin (crttms.o): New build rule.
5944 (crttme.o): Likewise.
5945
6685dd96
HPN
59462011-11-21 Hans-Peter Nilsson <hp@axis.com>
5947
5948 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5949 et al.
5950
b0dc7e4c
RH
59512011-11-21 Richard Henderson <rth@redhat.com>
5952
5953 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5954 (__TMC_LIST__, __TMC_END__): New.
5955 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5956 (__do_global_dtors): Likewise.
5957 (frame_dummy): Call _ITM_registerTMCloneTable.
5958 (__do_global_ctors_1): Likewise.
5959
d4b4b542
RO
59602011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5961
5962 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5963 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5964 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5965 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5966 * config/i386/t-darwin64: Remove.
5967 * config/sh/t-netbsd (LIB2ADD): Remove.
5968
989bdb74
GJL
59692011-11-21 Georg-Johann Lay <avr@gjlay.de>
5970
5971 PR target/49313
5972 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5973 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5974 * config/avr/lib1funcs.S (wmov): New assembler macro.
5975 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5976 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5977 (__udivmod64): New function.
5978 (__negdi2): New function.
5979
515a0cfc
GP
59802011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5981
5982 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5983 *-*-freebsd*aout*): Remove.
5984
0115d17f
HPN
59852011-11-20 Hans-Peter Nilsson <hp@axis.com>
5986
5987 * static-object.mk (c_flags-$o): Save c_flags.
5988 ($(base)$(objext)): Use it.
5989
93aeb62b
SE
59902011-11-18 Steve Ellcey <sje@cup.hp.com>
5991
5992 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5993
7bc6df2c
GJL
59942011-11-18 Georg-Johann Lay <avr@gjlay.de>
5995
5996 PR target/49868
5997 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5998 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5999 New functions.
6000
425d737b
MGD
60012011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
6002
6003 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
6004 functions.
1bb4b6a3 6005 (aeabi_uidivmod): Likewise.
425d737b
MGD
6006 (umodsi3): Likewise.
6007 (divsi3): Likewise.
6008 (aeabi_idivmod): Likewise.
6009 (modsi3): Likewise.
6010
f2a176dc
TG
60112011-11-16 Tristan Gingold <gingold@adacore.com>
6012
6013 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
6014
7c209481
GJL
60152011-11-15 Georg-Johann Lay <avr@gjlay.de>
6016
6017 PR target/49868
6018 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
6019 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
6020
9dfd5832
JDA
60212011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6022
6023 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
6024 tmake_file list.
6025 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
6026 * config/pa/t-stublib64: Delete.
6027
f77dca5d
RH
60282011-11-12 Richard Henderson <rth@redhat.com>
6029
6030 * config/rs6000/linux-unwind.h (frob_update_context): Properly
6031 cast the pointer argument to _Unwind_SetGRPtr.
6032
902828f0
RO
60332011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6034
6035 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
6036
e14304ef
ILT
60372011-11-09 Ian Lance Taylor <iant@google.com>
6038
6039 * generic-morestack.c: Include <string.h>.
6040 (uintptr_type): Define.
6041 (struct initial_sp): Add dont_block_signals field. Reduce size of
6042 extra array by 1.
6043 (allocate_segment): Set prev field to NULL. Don't set
6044 __morestack_current_segment or __morestack_segments.
6045 (__generic_morestack): Update current->prev and *pp after calling
6046 allocate_segment.
6047 (__morestack_block_signals): Don't do anything if
6048 dont_block_signals is set.
6049 (__morestack_unblock_signals): Likewise.
6050 (__generic_findstack): Check for initial_sp == NULL. Add casts to
6051 uintptr_type.
6052 (__splitstack_block_signals): New function.
6053 (enum __splitstack_content_offsets): Define.
6054 (__splitstack_getcontext, __splitstack_setcontext): New functions.
6055 (__splitstack_makecontext): New function.
6056 (__splitstack_block_signals_context): New function.
6057 (__splitstack_find_context): New function.
6058 * config/i386/morestack.S (__morestack_get_guard): New function.
6059 (__morestack_set_guard, __morestack_make_guard): New functions.
6060 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
6061
e3d871e4
RO
60622011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6063
6064 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
6065 (i[34567]86-*-mingw*): ... here.
6066 (x86_64-*-mingw*): ... here.
6067
e55cef40
RO
60682011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6069
6070 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
6071
5366b186
NS
60722011-11-07 Nathan Sidwell <nathan@acm.org>
6073
6074 * libgcov.c (struct gcov_fn_buffer): New struct.
6075 (buffer_fn_data): New helper.
6076 (gcov_exit): Rework for new gcov data structures.
6077
74155a6f
GJL
60782011-11-07 Georg-Johann Lay <avr@gjlay.de>
6079
6080 PR target/49313
6081 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
6082
200feb07
RO
60832011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6084
6085 * config.host (tmake_file): Correct comment.
6086 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
6087 t-libgcc-pic.
6088 (bfin*-uclinux*): Likewise.
6089 (bfin*-linux-uclibc*): Likewise.
6090 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
6091
6092 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
6093 assigning.
6094 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6095 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
6096 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6097 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
6098 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6099 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
6100 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
6101 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
6102 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
6103 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
6104 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
6105 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
6106 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
6107
6108 * config/bfin/t-elf: Remove.
6109 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
6110
c9cd1a07
RO
61112011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6112
6113 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
6114 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
6115 (lm32-*-elf*, lm32-*-rtems*): Split into ...
6116 (lm32-*-elf*): ... this.
6117 (lm32-*-rtems*): ... and this.
6118 Add to tmake_file.
6119 (m32r-*-rtems*): Add to tmake_file.
6120 (moxie-*-rtems*): Likewise.
6121 (sparc-*-rtems*): Likewise.
6122 Remove t-rtems from tmake_file.
6123 (sparc64-*-rtems*): Likewise.
6124 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
6125 instead.
6126
9fbcc75d
RO
61272011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6128
6129 PR bootstrap/50982
6130 * config/gthr-posix.h: Move ...
6131 * gthr-posix.h: ... here.
6132 * config/gthr-lynx.h: Reflect this.
6133 * config/gthr-vxworks.h: Likewise.
6134 * config/rs6000/gthr-aix.h: Likewise.
6135 * configure.ac (target_thread_file): Likewise.
6136 * configure: Regenerate.
6137
76644b68
SH
61382011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
6139
6140 * config.host (arm*-*-rtemseabi*): New target.
6141
5e490f2a
JDA
61422011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6143
6144 PR other/50991
6145 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
6146 extra-parts.
6147
feeeff5c
JR
61482011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
6149
6150 * config.host (epiphany-*-elf*): New configuration.
6151 * config/epiphany: New Directory.
6152
d618bb2c
RC
61532011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
6154
6155 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
6156 * config/avr/t-rtems: New.
6157 Filter out _exit from LIB1ASMFUNCS.
6158
1bb6f778
DM
61592011-11-04 David S. Miller <davem@davemloft.net>
6160
6161 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
6162 * configure: Rebuild.
6163
9a7f7422
AK
61642011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6165
6166 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
6167 variable.
6168
e4fe948a
GJL
61692011-11-04 Georg-Johann Lay <avr@gjlay.de>
6170
6171 PR target/50931
6172 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
6173 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
6174
7084e037
JS
61752011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
6176
6177 PR target/50989
6178 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
6179
1a032034
RO
61802011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6181
6182 * config/c6x/t-elf (LIB2ADDEH): Set.
6183 * config/c6x/t-c6x-elf: Remove.
6184
d385f772
RO
61852011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6186
6187 * config/i386/sol2-ci.S: Rename to ...
6188 * config/i386/crti.S: ... this.
6189 * config/i386/sol2-cn.S: Rename to ...
6190 * config/i386/crtn.S: ... this.
6191 * config/sparc/sol2-ci.S: Rename to ...
6192 * config/sparc/crti.S: ... this.
6193 * config/sparc/sol2-cn.S: Rename to ...
6194 * config/sparc/crtn.S: ... this.
6195 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6196 (crti.o, crtn.o): Remove.
6197
1ba878a9
TG
61982011-11-04 Tristan Gingold <gingold@adacore.com>
6199
6200 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6201
02750c15
KK
62022011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6203
6204 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6205
bf86b067
HPN
62062011-11-03 Hans-Peter Nilsson <hp@axis.com>
6207
6208 * config.host (crisv32-*-none, cris-*-none): Remove.
6209 (crisv32-*-elf): Append to tmake_file, don't just set it.
6210 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6211
d0bc53bd
RO
62122011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6213
6214 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6215 (ecrtn$(objext)): Likewise.
6216 (ncrti$(objext)): Likewise.
6217 (ncrtn$(objext)): Likewise.
6218
036da830
AS
62192011-11-03 Andreas Schwab <schwab@redhat.com>
6220
6221 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6222
d2a7d041
DM
62232011-11-02 David S. Miller <davem@davemloft.net>
6224
6225 * configure.ac: Set host_address on sparc too.
6226 * configure: Regenerate.
6227 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6228 based upon host_address.
6229 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6230
af8ed618
JM
62312011-11-02 Jason Merrill <jason@redhat.com>
6232
6233 * config/rs6000/t-ppccomm: Add missing \.
6234
5d1c8e77
RO
62352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6236
6237 * gthr-single.h, gthr.h: New files.
6238 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6239 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6240 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6241 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6242 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6243 * configure.ac (thread_header): New variable.
6244 Set it depending on target_thread_file.
6245 (gthr-default.h): Link from $thread_header.
6246 * configure: Regenerate.
6247 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6248
852b75ed
RO
62492011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6250
6251 * configure.ac (tm_file_): New variable.
6252 Determine from tm_file.
6253 (tm_file, tm_defines): Substitute.
6254 * configure: Regenerate.
6255 * mkheader.sh: New file.
6256 * Makefile.in (clean): Remove libgcc_tm.h.
6257 ($(objects)): Depend on libgcc_tm.h.
6258 (libgcc_tm_defines, libgcc_tm_file): New variables.
6259 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6260 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6261 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6262 ($(extra-parts)): Depend on libgcc_tm.h.
6263 * config.host (tm_defines, tm_file): New variable.
6264 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6265 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6266 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6267 (avr-*-rtems*): Likewise.
6268 (avr-*-*): Likewise.
6269 (frv-*-elf): Likewise.
6270 (frv-*-*linux*): Likewise.
6271 (h8300-*-rtems*): Likewise.
6272 (h8300-*-elf*): Likewise.
6273 (i[34567]86-*-darwin*): Likewise.
6274 (x86_64-*-darwin*): Likewise.
6275 (rx-*-elf): Likewise.
6276 (tic6x-*-uclinux): Likewise.
6277 (tic6x-*-elf): Likewise.
6278 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6279 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6280 * config/i386/cygming-crtbegin.c: Likewise.
6281 * config/i386/cygming-crtend.c: Likewise.
6282 * config/ia64/fde-vms.c: Likewise.
6283 * config/ia64/unwind-ia64.c: Likewise.
6284 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6285 * config/rs6000/darwin-fallback.c: Likewise.
6286 * config/stormy16/lib2funcs.c: Likewise.
6287 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6288 * crtstuff.c: Likewise.
6289 * dfp-bit.h: Likewise.
6290 * emutls.c: Likewise.
6291 * fixed-bit.c: Likewise.
6292 * fp-bit.c: Likewise.
6293 * generic-morestack-thread.c: Likewise.
6294 * generic-morestack.c: Likewise.
6295 * libgcc2.c: Likewise.
6296 * libgcov.c: Likewise.
6297 * unwind-dw2-fde-dip.c: Likewise.
6298 * unwind-dw2-fde.c: Likewise.
6299 * unwind-dw2.c: Likewise.
6300 * unwind-sjlj.c: Likewise.
6301
f9989b51
RO
63022011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6303
6304 * configure.ac: Include ../config/picflag.m4.
6305 (GCC_PICFLAG): Call it.
6306 Substitute.
6307 * configure: Regenerate.
6308 * Makefile.in (gcc_srcdir): Remove.
6309 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6310 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6311 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6312 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6313 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6314 Use $<.
6315 Remove comment.
6316 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6317 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6318 to refer to libgcc2.c.
6319 Use $<.
6320 * config/darwin-64.c: New file.
6321 * config/darwin-crt3.c: Remove comment.
6322 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6323 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6324 config/udivmodsi4.c: New files.
6325 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6326 config/memset.c: New files.
6327 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6328 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6329 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6330 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6331 * config/t-openbsd-thread: New file.
6332 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6333 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6334 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6335 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6336 qrnnd.S.
6337 Adapt filename.
6338 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6339 to refer to gthr-posix.c.
6340 * config/alpha/t-vms (LIB2ADD): Set.
6341 * config/alpha/vms-gcc_shell_handler.c: New file.
6342 * config/arm/bpabi.c, config/arm/fp16.c,
6343 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6344 config/arm/unaligned-funcs.c: New files.
6345 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6346 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6347 * config/arm/t-linux: Likewise.
6348 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6349 * config/arm/t-netbsd: New file.
6350 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6351 * config/arm/t-symbian (LIB2ADD_ST): Set.
6352 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6353 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6354 * config/bfin/t-elf: New file.
6355 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6356 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6357 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6358 config/c6x/ltf.c: New files.
6359 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6360 (HOST_LIBGCC2_CFLAGS): Set.
6361 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6362 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6363 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6364 New files.
6365 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6366 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6367 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6368 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6369 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6370 files.
6371 * config/frv/t-frv (LIB2ADD): Set.
6372 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6373 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6374 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6375 config/h8300/popcounthi2.c: New files.
6376 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6377 * config/i386/gthr-win32.c: New file.
6378 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6379 * config/i386/t-cygwin: Likewise.
6380 * config/i386/t-darwin, config/i386/t-darwin64,
6381 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6382 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6383 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6384 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6385 * config/ia64/quadlib.c: New file.
6386 * config/ia64/t-hpux (LIB2ADD): Set.
6387 * config/ia64/t-ia64: Add comment.
6388 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6389 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6390 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6391 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6392 * config/m32c/t-m32c (LIB2ADD): Set.
6393 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6394 * config/m32r/t-m32r: Likewise.
6395 * config/m68k/fpgnulib.c: New file.
6396 * config/m68k/t-floatlib (LIB2ADD): Set.
6397 (xfgnulib.c): New target.
6398 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6399 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6400 * config/mep/t-mep (LIB2ADD): Set.
6401 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6402 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6403 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6404 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6405 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6406 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6407 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6408 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6409 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6410 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6411 New files.
6412 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6413 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6414 * config/pa/fptr.c, config/pa/lib2funcs.S,
6415 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6416 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6417 (LIB2ADD, LIB2ADD_ST): Set.
6418 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6419 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6420 Set.
6421 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6422 * config/pdp11/t-pdp11: New file.
6423 * config/picochip/libgccExtras/adddi3.S,
6424 config/picochip/libgccExtras/ashlsi3.S,
6425 config/picochip/libgccExtras/ashrsi3.S,
6426 config/picochip/libgccExtras/clzsi2.S,
6427 config/picochip/libgccExtras/cmpsi2.S,
6428 config/picochip/libgccExtras/divmod15.S,
6429 config/picochip/libgccExtras/divmodhi4.S,
6430 config/picochip/libgccExtras/divmodsi4.S,
6431 config/picochip/libgccExtras/lshrsi3.S,
6432 config/picochip/libgccExtras/parityhi2.S,
6433 config/picochip/libgccExtras/popcounthi2.S,
6434 config/picochip/libgccExtras/subdi3.S,
6435 config/picochip/libgccExtras/ucmpsi2.S,
6436 config/picochip/libgccExtras/udivmodhi4.S,
6437 config/picochip/libgccExtras/udivmodsi4.S: New files.
6438 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6439 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6440 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6441 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6442 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6443 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6444 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6445 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6446 files.
6447 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6448 (HOST_LIBGCC2_CFLAGS): Set.
6449 * config/rs6000/t-darwin64: New file.
6450 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6451 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6452 * config/rs6000/t-ppccomm (LIB2ADD): Add
6453 $(srcdir)/config/rs6000/tramp.S.
6454 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6455 Add $(srcdir)/config/rs6000/eabi.S.
6456 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6457 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6458 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6459 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6460 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6461 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6462 * config/rs6000/tramp.S: New file.
6463 * config/s390/t-tpf: Remove.
6464 * config/sh/linux-atomic.S: New file.
6465 * config/sh/t-linux (LIB2ADD): Set.
6466 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6467 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6468 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6469 to unwind-dw2.c.
6470 (HOST_LIBGCC2_CFLAGS): Set.
6471 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6472 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6473 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6474 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6475 config/spu/mfc_multi_tag_release.c,
6476 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6477 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6478 config/spu/multi3.c: New files.
6479 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6480 (HOST_LIBGCC2_CFLAGS): Set.
6481 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6482 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6483 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6484 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6485 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6486 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6487 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6488 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6489 config/stormy16/umodsi3.c: New files.
6490 * config/xtensa/lib2funcs.S: New file.
6491 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6492 * config/xtensa/t-xtensa (LIB2ADD): Set.
6493 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6494 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6495 Add t-freebsd-thread to tmake_file for posix threads.
6496 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6497 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6498 (*-*-lynxos*): Likewise.
6499 (*-*-netbsd*): Likewise.
6500 (*-*-openbsd*): Likewise.
6501 Add t-openbsd-thread to tmake_file for posix threads.
6502 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6503 (*-*-vxworks*): Set tmake_file.
6504 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6505 (alpha*-*-freebsd*): Likewise.
6506 (alpha*-*-netbsd*): Likewise.
6507 (alpha*-*-openbsd*): Likewise.
6508 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6509 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6510 (alpha*-dec-*vms*): Likewise.
6511 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6512 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6513 (bfin*-uclinux*): Likewise.
6514 (bfin*-linux-uclibc*): Likewise.
6515 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6516 (crisv32-*-none): Likewise.
6517 (cris-*-elf): Likewise.
6518 (cris-*-none): Likewise.
6519 (cris-*-linux*, crisv32-*-linux*): Likewise.
6520 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6521 tmake_file.
6522 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6523 tmake_file.
6524 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6525 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6526 (x86_64-*-elf*): Likewise.
6527 (i[34567]86-*-nto-qnx*): Likewise.
6528 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6529 win32 threads.
6530 (x86_64-*-mingw*): Likewise.
6531 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6532 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6533 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6534 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6535 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6536 tmake_file.
6537 (mipsisa64sr71k-*-elf*): Likewise.
6538 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6539 (mips-*-elf*, mipsel-*-elf*): Likewise.
6540 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6541 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6542 (mips*-*-rtems*): Likewise.
6543 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6544 to tmake_file.
6545 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6546 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6547 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6548 (spu-*-elf*): Likewise.
6549 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6550
45b86625
RO
65512011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6552
6553 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6554 $(srcdir) to refer to $(LIB1ASMSRC).
6555 Use $<.
6556 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6557 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6558 config/arm/lib1funcs.S: New files.
6559 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6560 * config/arm/t-arm: New file.
6561 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6562 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6563 config/arm/t-strongarm-elf: New files.
6564 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6565 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6566 * config/avr/lib1funcs.S: New file.
6567 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6568 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6569 * config/c6x/lib1funcs.S: New file.
6570 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6571 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6572 * config/frv/lib1funcs.S: New file.
6573 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6574 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6575 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6576 * config/ia64/__divxf3.asm: Rename to ...
6577 * config/ia64/__divxf3.S: ... this.
6578 Adapt lib1funcs.asm filename.
6579 * config/ia64/_fixtfdi.asm: Rename to ...
6580 * config/ia64/_fixtfdi.S: ... this.
6581 Adapt lib1funcs.asm filename.
6582 * config/ia64/_fixunstfdi.asm: Rename to ...
6583 * config/ia64/_fixunstfdi.S: ... this.
6584 Adapt lib1funcs.asm filename.
6585 * config/ia64/_floatditf.asm: Rename to ...
6586 * config/ia64/_floatditf.S: ... this.
6587 Adapt lib1funcs.asm filename.
6588 * config/ia64/lib1funcs.S: New file.
6589 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6590 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6591 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6592 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6593 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6594 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6595 * config/mep/lib1funcs.S: New file.
6596 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6597 * config/mips/mips16.S: New file.
6598 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6599 * config/pa/milli64.S: New file.
6600 * config/pa/t-linux, config/pa/t-linux64: New files.
6601 * config/picochip/lib1funcs.S: New file.
6602 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6603 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6604 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6605 * config/sh/t-netbsd: New file.
6606 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6607 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6608 * config/sh/t-sh64: New file.
6609 * config/sparc/lb1spc.S: New file.
6610 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6611 filename.
6612 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6613 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6614 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6615 config/xtensa/lib1funcs.S: New files.
6616 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6617 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6618 tmake_file.
6619 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6620 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6621 (arm*-*-linux*): Likewise.
6622 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6623 arm*-*-linux-*eabi, add arm/t-linux otherwise.
6624 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6625 (arm*-*-ecos-elf): Likewise.
6626 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6627 (arm*-*-rtems*): Likewise.
6628 (arm*-*-elf): Likewise.
6629 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6630 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6631 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6632 (bfin*-uclinux*): Likewise.
6633 (bfin*-linux-uclibc*): Likewise.
6634 (bfin*-rtems*): Likewise.
6635 (bfin*-*): Likewise.
6636 (fido-*-elf): Merge into m68k-*-elf*.
6637 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6638 (frv-*-*linux*): Add frv/t-frv to tmake_file.
6639 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6640 (h8300-*-elf*): Likewise.
6641 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6642 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6643 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6644 (i[34567]86-*-mingw*): Likewise.
6645 (x86_64-*-mingw*): Likewise.
6646 (i[34567]86-*-interix3*): Likewise.
6647 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6648 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6649 (m68k-*-elf*): Also handle fido-*-elf.
6650 Add m68k/t-floatlib to tmake_file.
6651 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6652 (m68k-*-linux*): Likewise.
6653 (m68k-*-rtems*): Likewise.
6654 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6655 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6656 sh64*-*-*.
6657 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6658 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6659 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6660 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6661 sh/t-netbsd to tmake_file.
6662 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6663 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6664 (sh-wrs-vxworks): Likewise.
6665 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6666 *-leon[3-9]*.
6667 (v850*-*-*): Add v850/t-v850 to tmake_file.
6668 (vax-*-linux*): Add vax/t-linux to tmake_file.
6669 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6670
5f73c6cc
RO
66712011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6672
6673 * crtstuff.c: New file.
6674 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6675 (CRTSTUFF_T_CFLAGS): Define.
6676 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6677 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6678 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6679 crtstuff.c.
6680 Use $<.
6681 (crtbeginT.o): Use $(objext).
6682 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6683 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6684 (gcc-extra-parts): Remove.
6685 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6686 Set extra_parts.
6687 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6688 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6689 Add t-crtstuff-pic to tmake_file.
6690 (*-*-lynxos*): New case.
6691 Set tmake_file, extra_parts.
6692 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6693 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6694 *-*-netbsdelf[2-9]*.
6695 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6696 (*-*-rtems*): Set extra_parts.
6697 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6698 (*-*-uclinux*): New case.
6699 Set extra_parts.
6700 (*-*-vms*): New case.
6701 Set tmake_file, extra_parts.
6702 (*-*-elf): Set extra_parts.
6703 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6704 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6705 vms/t-vms64.
6706 Set extra_parts.
6707 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6708 Set extra_parts.
6709 (arm*-*-freebsd*): Add t-crtin to tmake_file.
6710 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6711 (arm-wrs-vxworks): Append to tmake_file.
6712 Set extra_parts.
6713 (arm*-*-uclinux*): Set extra_parts.
6714 (arm*-*-ecos-elf): Likewise.
6715 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6716 arm*-*-eabi*.
6717 (arm*-*-rtems*): Set extra_parts.
6718 (arm*-*-elf): Likewise.
6719 (avr-*-rtems*): Clear extra_parts.
6720 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6721 Set extra_parts.
6722 (bfin*-uclinux*): Likewise.
6723 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6724 (bfin*-rtems*): Append to tmake_file.
6725 Set extra_parts.
6726 (bfin*-*): Likewise.
6727 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6728 (crisv32-*-elf): ... this.
6729 (crisv32-*-none): ... this.
6730 (cris-*-elf, cris-*-none): New cases.
6731 Add cris/t-elfmulti to tmake_file.
6732 (fr30-*-elf): Append to tmake_file.
6733 Set extra_parts.
6734 (frv-*-elf): Append to tmake_file, add frv/t-frv.
6735 Set extra_parts.
6736 (h8300-*-rtems*): Append to tmake_file.
6737 Set extra_parts.
6738 (h8300-*-elf*): Likewise.
6739 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6740 Set extra_parts.
6741 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6742 Set extra_parts.
6743 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6744 (x86_64-*-elf*): Likewise.
6745 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6746 (x86_64-*-freebsd*): Likewise.
6747 (x86_64-*-netbsd*): Likewise.
6748 (i[34567]86-*-linux*): Likewise.
6749 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6750 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6751 (x86_64-*-linux*): Likewise.
6752 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6753 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6754 tmake_file.
6755 Set extra_parts.
6756 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6757 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6758 Append to extra_parts, remove crtbegin.o, crtend.o.
6759 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6760 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6761 crtend.o, crtbeginS.o, crtendS.o.
6762 (ia64*-*-linux*): Comment extra_parts.
6763 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6764 Set extra_parts.
6765 (iq2000*-*-elf*): Clear extra_parts.
6766 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6767 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6768 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6769 (m32r-*-rtems*): ... this.
6770 Add m32r/t-m32r to tmake_file.
6771 (m68k-*-elf*): Add t-crtin to tmake_file.
6772 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6773 (mcore-*-elf): Likewise.
6774 (microblaze*-*-*): Set extra_parts.
6775 (mips*-sde-elf*): New case.
6776 Set tmake_file, extra_parts.
6777 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6778 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6779 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6780 tmake_file.
6781 Set extra_parts.
6782 (mipsisa64sr71k-*-elf*): Likewise.
6783 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6784 (mips-*-elf*, mipsel-*-elf*): Likewise.
6785 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6786 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6787 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6788 (mips*-*-rtems*): Likewise.
6789 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6790 (moxie-*-*): Split into ...
6791 (moxie-*-elf, moxie-*-uclinux*): ... this.
6792 Add to extra_parts, remove crtbegin.o, crtend.o.
6793 (moxie-*-rtems*): New case.
6794 Set tmake_file.
6795 Clear extra_parts.
6796 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6797 Set extra_parts.
6798 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6799 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6800 tmake_file.
6801 Set extra_parts.
6802 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6803 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6804 Set extra_parts.
6805 (powerpc-*-eabisim*): Likewise.
6806 (powerpc-*-elf*): Likewise.
6807 (powerpc-*-eabialtivec*): Likewise.
6808 (powerpc-xilinx-eabi*): Likewise.
6809 (powerpc-*-eabi*): Likewise.
6810 (powerpc-*-rtems*): Likewise.
6811 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6812 tmake_file.
6813 Set extra_parts.
6814 (powerpc-*-lynxos*): Add to tmake_file.
6815 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6816 rs6000/t-crtstuff, t-crtstuff-pic.
6817 Set extra_parts.
6818 (powerpcle-*-eabisim*): Likewise.
6819 (powerpcle-*-eabi*): Likewise.
6820 (rx-*-elf): Remove extra_parts.
6821 (s390x-ibm-tpf*): Set extra_parts.
6822 (score-*-elf): Set extra_parts.
6823 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6824 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6825 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6826 (sh64l*-*-netbsd*): Split into ...
6827 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6828 Add t-crtstuff-pic to tmake_file.
6829 Set extra_parts.
6830 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6831 Set extra_parts.
6832 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6833 (sparc-*-elf*): Remove t-crtin from tmake_file.
6834 Add to extra_parts, remove crtbegin.o, crtend.o.
6835 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6836 (sparc64-*-linux*): Likewise.
6837 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6838 Add to extra_parts, remove crtbegin.o, crtend.o.
6839 (sparc64-*-elf*): Remove t-crtin from tmake_file.
6840 Add to extra_parts, remove crtbegin.o, crtend.o.
6841 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6842 Add to extra_parts, remove crtbegin.o, crtend.o.
6843 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6844 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6845 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6846 Set extra_parts.
6847 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6848 Set extra_parts.
6849 (tic6x-*-*): Change to ...
6850 (tic6x-*-elf): ... this.
6851 Set extra_parts.
6852 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6853 Set extra_parts.
6854 (am33_2.0-*-linux*): Add comment.
6855 (mep*-*-*): Add mep/t-mep to tmake_file.
6856 Set extra_parts.
6857 * config/alpha/t-vms: New file.
6858 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6859 * config/arm/crti.S, config/arm/crtn.S: New files.
6860 * config/bfin/crti.S, config/bfin/crtn.S: New files.
6861 * config/bfin/crtlibid.S: New file.
6862 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6863 * config/c6x/crti.S, config/c6x/crtn.S: New files.
6864 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6865 (crti.o, crtin.o): New rules.
6866 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6867 * config/c6x/t-uclinux: New file.
6868 * config/cris/t-elfmulti: New file.
6869 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6870 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6871 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6872 * config/frv/t-frv: New file.
6873 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6874 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6875 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6876 New files.
6877 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6878 refer to cygming-crtbegin.c, cygming-crtend.c.
6879 Use $<.
6880 * config/i386/t-nto: New file.
6881 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6882 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6883 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6884 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6885 Use .S extension.
6886 Use $<.
6887 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6888 (crtinitS.o): New rule.
6889 * config/ia64/vms-crtinit.S: New file.
6890 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6891 * config/m32r/initfini.c: New file.
6892 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6893 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6894 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6895 * config/mep/t-mep: New file.
6896 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6897 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6898 * config/mips/crti.S, config/mips/crtn.S: New files.
6899 * config/mips/t-crtstuff: New file.
6900 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6901 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6902 (CUSTOM_CRTIN): Set.
6903 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6904 dependencies.
6905 Use $(srcdir) to refer to crti.S, crtn.S.
6906 Use .S extension, $<.
6907 * config/moxie/crti.asm: Rename to ...
6908 * config/moxie/crti.S: ... this.
6909 * config/moxie/crtn.asm: Rename to ...
6910 * config/moxie/crtn.S: ... this.
6911 * config/moxie/t-moxie: Remove.
6912 * config/pa/stublib.c: New file.
6913 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6914 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6915 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6916 * config/rs6000/t-crtstuff: New file.
6917 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6918 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6919 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6920 Make output file explicit.
6921 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6922 Make output file explicit.
6923 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6924 Make output file explicit.
6925 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6926 Make output file explicit.
6927 * config/score/crti.S, config/score/crtn.S: New files.
6928 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6929 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6930 files.
6931 * config/sh/t-sh, config/sh/t-superh: New files.
6932 * config/sparc/t-linux64: New file.
6933 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6934 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6935 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6936 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6937 * config/t-crtin: Remove.
6938 * config/t-crtstuff-pic: New file.
6939 * config/t-sol2 (CUSTOM_CRTIN): Set.
6940 (crti.o, crtn.o): New rules.
6941 * config/vms/t-vms: New file.
6942 * config/vms/vms-ucrt0.c: New file.
6943 * config/xtensa/t-elf: New file.
6944
b040f2be
RO
69452011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6946
6947 * Makefile.in (SHLIB_NM_FLAGS): Set.
6948 * mkmap-flat.awk, mkmap-symver.awk: New files.
6949 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6950 exceptions.
6951 * configure: Regenerate.
6952 * config/libgcc-glibc.ver: New file.
6953 * config/libgcc-libsystem.ver: New file.
6954 * config/t-libunwind (SHLIB_LC): Set.
6955 * config/t-linux: New file.
6956 * config/t-slibgcc (INSTALL_SHLIB): New.
6957 (SHLIB_INSTALL): Use it.
6958 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6959 to mkmap-symver.awk.
6960 (SHLIB_MAPFILES): Don't append, adapt pathname.
6961 (SHLIB_VERPFX): Set.
6962 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6963 to mkmap-symver.awk.
6964 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6965 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6966 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6967 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6968 to mkmap-flat.awk.
6969 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6970 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6971 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6972 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6973 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6974 * config/i386/libgcc-darwin.10.4.ver,
6975 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6976 New files.
6977 * config/i386/t-darwin: Remove.
6978 * config/i386/t-darwin64: Likewise.
6979 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6980 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6981 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6982 * config/i386/t-linux: New file.
6983 * config/i386/t-mingw32: New file.
6984 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6985 * config/ia64/t-glibc: Rename to ...
6986 * config/ia64/t-linux: ... this.
6987 (SHLIB_MAPFILES): Set.
6988 * config/ia64/t-glibc-libunwind: Rename to ...
6989 * config/ia64/t-linux-libunwind: ... this.
6990 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6991 * config/ia64/t-slibgcc-hpux: New file.
6992 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6993 * config/m68k/t-slibgcc-elf-ver: New file.
6994 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6995 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6996 to mkmap-flat.awk.
6997 * config/pa/t-slibgcc-hpux: New file.
6998 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6999 files.
7000 * config/rs6000/libgcc-darwin.10.4.ver,
7001 config/rs6000/libgcc-darwin.10.5.ver: New files.
7002 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
7003 config/rs6000/libgcc-glibc.ver.
7004 * config/rs6000/libgcc-ppc64.ver: Rename to
7005 config/rs6000/libgcc-ibm-ldouble.ver.
7006 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
7007 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
7008 * config/rs6000/t-ldbl128: Rename to ...
7009 * config/rs6000/t-linux: ... this.
7010 (SHLIB_MAPFILES): Adapt filename.
7011 * config/rs6000/t-slibgcc-aix: New file.
7012 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
7013 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
7014 libgcc-excl.ver, libgcc-glibc.ver.
7015 (SHLIB_LINK, SHLIB_INSTALL): Remove.
7016 * config/sparc/libgcc-glibc.ver: New file.
7017 * config/sparc/t-linux: New file.
7018 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
7019 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
7020 t-slibgcc-elf-ver to tmake_file.
7021 Add t-slibgcc-nolc-override to tmake_file for posix threads on
7022 *-*-freebsd[34].
7023 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7024 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
7025 t-slibgcc-elf-ver, t-linux to tmake_file.
7026 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
7027 tmake_file.
7028 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
7029 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
7030 (alpha*-dec-*vms*): Likewise.
7031 (arm*-*-freebsd*): Append to tmake_file.
7032 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
7033 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
7034 arm*-*-linux-*eabi.
7035 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
7036 tmake_file for arm*-*-symbianelf*.
7037 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
7038 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
7039 cris/t-linux.
7040 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
7041 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
7042 pa/t-slibgcc-dwarf-ver to tmake_file.
7043 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
7044 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
7045 (hppa*64*-*-hpux11*): Likewise.
7046 (hppa[12]*-*-hpux11*): Likewise.
7047 (x86_64-*-darwin*): Don't override tmake_file, but only keep
7048 i386/t-crtpc, i386/t-crtfm.
7049 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
7050 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7051 to tmake_file.
7052 Add i386/t-cygwin to tmake_file.
7053 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
7054 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
7055 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
7056 to tmake_file.
7057 Add i386/t-mingw32 to tmake_file.
7058 (x86_64-*-mingw*): Likewise.
7059 (ia64*-*-freebsd*): Append to tmake_file.
7060 (ia64*-*-linux*): Append to tmake_file.
7061 Replace ia64/t-glibc by ia64/t-linux.
7062 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
7063 system libunwind.
7064 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
7065 t-slibgcc-hpux to tmake_file.
7066 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
7067 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
7068 (m32rle-*-linux*): Likewise.
7069 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
7070 sjlj exceptions.
7071 (microblaze*-linux*): New case.
7072 Append to tmake_file, add t-slibgcc-nolc-override.
7073 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
7074 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7075 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
7076 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7077 rs6000/t-slibgcc-aix to tmake_file.
7078 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7079 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7080 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7081 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7082 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7083 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
7084 sh*-*-linux*.
7085 (sparc-*-linux*): Append to tmake_file for *-leon*.
7086 Add sparc/t-linux to tmake_file for non-Leon targets.
7087 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
7088 (tic6x-*-uclinux): New case.
7089 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
7090 (tic6x-*-*): Add c6x/t-elf to tmake_file.
7091 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
7092 (am33_2.0-*-linux*): Append to tmake_file.
7093 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
7094 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
7095 x86_64-*-kfreebsd*-gnu.
7096 Add i386/t-linux to tmake_file.
7097
18b4bd7b
ILT
70982011-10-28 Ian Lance Taylor <iant@google.com>
7099
7100 * config/i386/morestack.S: Correct CFI information to do proper
7101 returns throughout function. In 32-bit mode, save %ebx so that it
7102 is restored on unwind.
7103
5b2d9d90
BS
71042011-10-25 Bernd Schmidt <bernds@codesourcery.com>
7105
7106 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
7107 case where B3 isn't the return register.
7108
0d53e346
BS
7109 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
7110 logic for doubleword pops.
7111
cbffbd59
AT
71122011-10-25 Andreas Tobler <andreast@fgznet.ch>
7113
7114 * config/rs6000/t-freebsd: Add wildcard.
7115
56dc349e
PB
71162011-10-21 Paul Brook <paul@codesourcery.com>
7117
7118 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
7119
1e06b07d
UB
71202011-10-16 Uros Bizjak <ubizjak@gmail.com>
7121 Eric Botcazou <ebotcazou@adacore.com>
7122
7123 PR target/50737
7124 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
7125 fs->signal_frame to 1.
7126
b5204884
ILT
71272011-10-07 Ian Lance Taylor <iant@google.com>
7128
7129 * generic-morestack-thread.c: #include <errno.h>.
7130
91a639a1
ILT
71312011-10-07 Ian Lance Taylor <iant@google.com>
7132
7133 PR target/46093
7134 * generic-morestack.c (__generic_morestack): Make sure the segment
7135 is large enough for both the stack frame and the copied
7136 parameters.
7137
cc49116d
RO
71382011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7139
7140 PR bootstrap/49804
7141 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
7142 extra_parts.
7143
2996d8c3
NC
71442011-09-28 Nick Clifton <nickc@redhat.com>
7145
7146 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
7147 64-bit doubles are not enabled.
7148 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
7149 and floatunsisf functions.
7150
1e874273 71512011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 7152
1e874273
PB
7153 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
7154 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
7155 * unwind-arm-common.inc: New file.
7156 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
7157 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
7158 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
7159 * config/c6x/libunwind.S: New file.
7160 * config/c6x/pr-support.c: New file.
7161 * config/c6x/unwind-c6x.c: New file.
7162 * config/c6x/unwind-c6x.h: New file.
7163 * config/c6x/t-c6x-elf: New file.
7164
f70c879a
UB
71652011-08-23 Uros Bizjak <ubizjak@gmail.com>
7166
7167 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
7168 (ASM_DIVZERO): Ditto.
7169 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
7170
c55b374b
RS
71712011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
7172
7173 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
7174
1e138510
RS
71752011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
7176
7177 PR target/50090
7178 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
7179 instead of an assembly one.
7180
1563503d
PB
71812011-08-12 Paolo Bonzini <bonzini@gnu.org>
7182
7183 PR bootstrap/50047
7184 * Makefile.in (install-unwind_h): Create
7185 $(gcc_objdir)/include/unwind.h atomically.
7186
3627ac1a
RO
71872011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7188
7189 * Makefile.in (install-unwind_h): Remove destination file first.
7190
c6412d86
RO
71912011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7192
7193 * sync.c: New file.
7194 * config/mips/t-mips16: New file.
7195 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7196 (mips*-*-linux*): Likewise.
7197 (mips*-sde-elf*): Likewise.
7198 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7199 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7200 Add mips/t-mips16 to tmake_file.
7201 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7202 (mips-*-elf*): Likewise.
7203 (mips64-*-elf*): Likewise.
7204 (mips64orion-*-elf*): Likewise.
7205 (mips*-*-rtems*): Likewise.
7206 (mipstx39-*-elf*): Likewise.
7207 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7208 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7209 LIBGCC_SYNC_CFLAGS.
7210 Use $(srcdir) to refer to sync.c.
7211 Use $<.
7212 ($(libgcc-sync-funcs-o)): Likewise.
7213 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7214 ($(libgcc-sync-funcs-s-o)): Likewise.
7215
3cb6e5bd
AS
72162011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7217
7218 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7219 t-libunwind.
7220
cca2207a
L
72212011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7222
7223 PR other/48007
7224 * config/i386/value-unwind.h: New.
7225
ed39fbad
RS
72262011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7227
7228 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7229 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7230 Add to tmake_file rather than overriding it.
7231
aca0b0b3
RO
72322011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7233
7234 * config/t-softfp: Remove.
7235 * soft-fp: Moved from ../gcc/config.
7236 * soft-fp/README: Remove t-softfp reference.
7237 * soft-fp/t-softfp: Move to config/t-softfp.
7238 (softfp_machine_header): Remove.
7239 (softfp_file_list): Remove config subdir.
7240 (soft-fp-objects): New variable.
7241 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7242 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7243 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7244 * config/t-softfp-excl: New file.
7245 * config/t-softfp-sfdf: New file.
7246 * config/t-softfp-tf: New file.
7247 * config/no-sfp-machine.h: New file.
7248 * config/arm/sfp-machine.h: New file.
7249 * config/arm/t-softfp: New file.
7250 * config/c6x/sfp-machine.h: New file.
7251 * config/i386/32/t-fprules-softfp: Rename to ...
7252 * config/i386/32/t-softfp: ... this.
7253 (tifunctions, LIB2ADD): Remove.
7254 (softfp_int_modes): Override.
7255 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7256 subdir.
7257 * config/i386/64/eqtf2.c: Likewise.
7258 * config/i386/64/getf2.c: Likewise.
7259 * config/i386/64/letf2.c: Likewise.
7260 * config/ia64/sft-machine.h: New file.
7261 * config/ia64/t-fprules-softfp: Rename to ...
7262 * config/ia64/t-softfp: ... this.
7263 * config/lm32/sfp-machine.h: New file.
7264 * config/moxie/t-moxie-softfp: Remove.
7265 * config/rs6000/ibm-ldouble-format: New file.
7266 * config/rs6000/ibm-ldouble.c: New file.
7267 * config/rs6000/libgcc-ppc-glibc.ver: New file
7268 * config/rs6000/libgcc-ppc64.ver: New file
7269 * config/rs6000/sfp-machine.h: New file.
7270 * config/rs6000/t-freebsd: New file.
7271 * config/rs6000/t-ibm-ldouble: New file.
7272 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7273 libgcc-ppc-glibc.ver.
7274 * config/rs6000/t-linux64: New file.
7275 * config/rs6000/t-ppccomm (LIB2ADD): Add
7276 $(srcdir)/config/rs6000/ibm-ldouble.c.
7277 * config/rs6000/t-ppccomm-ldbl: New file.
7278 * config/score/sfp-machine.h: New file.
7279 * config.host (sfp_machine_header): Explain.
7280 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7281 t-softfp to tmake_file.
7282 (arm*-*-uclinux*): Likewise.
7283 (arm*-*-ecos-elf): Likewise.
7284 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7285 (arm*-*-rtems*): Likewise.
7286 (arm*-*-elf): Likewise.
7287 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7288 in tmake_file.
7289 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7290 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7291 (lm32-*-uclinux*): Likewise.
7292 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7293 t-softfp-excl, t-softfp.
7294 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7295 (powerpc64-*-darwin*): Likewise.
7296 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7297 to tmake_file.
7298 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7299 tmake_file.
7300 (powerpc-*-eabisim*): Likewise.
7301 (powerpc-*-elf*): Likewise.
7302 (powerpc-*-eabialtivec*): Likewise.
7303 (powerpc-xilinx-eabi*): Likewise.
7304 (powerpc-*-rtems*): Likewise.
7305 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7306 t-softfp-excl, t-softfp to tmake_file.
7307 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7308 rs6000/t-ppccomm-ldbl to tmake_file.
7309 (powerpcle-*-elf*): Likewise.
7310 (powerpcle-*-eabisim*): Likewise.
7311 (powerpcle-*-eabi*): Likewise.
7312 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7313 rs6000/t-ibm-ldouble to tmake_file.
7314 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7315 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7316 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7317 (tic6x-*-*): Likewise.
7318 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7319 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7320 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7321 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7322 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7323 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7324 t-softfp to tmake_file.
7325 * configure.ac (sfp_machine_header): Provide default if unset.
7326 Substitute.
7327 Link sfp-machine.h to config/$sfp_machine_header.
7328 * configure: Regenerate.
7329
569dc494
RO
73302011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7331
7332 * Makefile.in (double_type_size, long_double_type_size): Set.
7333 Remove $(fpbit-in-libgcc) support.
7334 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7335 (fpbit-src): New variable.
7336 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7337 Compile with -DFLOAT $(FPBIT_CFLAGS).
7338 Use $<.
7339 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7340 Compile with $(FPBIT_CFLAGS).
7341 Use $<.
7342 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7343 Compile with -DFLOAT $(TPBIT_CFLAGS).
7344 Use $<.
7345 * configure.ac (double_type_size, long_double_type_size):
7346 Determine and substitute.
7347 * configure: Regenerate.
7348 * fp-bit.c, fp-bit.h: New files.
7349 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7350 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7351 * config/mips/t-mips: New file.
7352 * config/mips/t-sdemtk: New file.
7353 * config/rs6000/ppc64-fp.c: New file.
7354 * config/rs6000/t-darwin (LIB2ADD): Add
7355 $(srcdir)/config/rs6000/ppc64-fp.c.
7356 * config/rs6000/t-ppc64-fp: New file.
7357 * config/rx/rx-lib.h: New file.
7358 * config/rx/t-rx (FPBIT): Set to true.
7359 ($(gcc_objdir)/fp-bit.c): Remove.
7360 (DPBIT): Set to true only with -m64bit-doubles.
7361 ($(gcc_objdir)/dp-bit.c): Remove.
7362 * config/sparc/t-softfp: Remove.
7363 * config/spu/t-elf: New file.
7364 * config/t-fdpbit, config/t-fpbit: New files.
7365 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7366 (mips*-*-*): Likewise.
7367 (arm-wrs-vxworks): Likewise.
7368 (arm*-*-freebsd*): Likewise.
7369 (avr-*-rtems*): Add t-fpbit to tmake_file.
7370 (avr-*-*): Likewise.
7371 (bfin*-elf*): Add t-fdpbit to tmake_file.
7372 (bfin*-uclinux*): Likewise.
7373 (bfin*-linux-uclibc*): Likewise.
7374 (bfin*-rtems*): New case.
7375 Add t-fdpbit to tmake_file.
7376 (bfin*-*): Add t-fdpbit to tmake_file.
7377 (crisv32-*-elf): Likewise.
7378 (cris-*-linux*): Likewise.
7379 (fr30-*-elf): Likewise.
7380 (frv-*-elf, frv-*-*linux*): Likewise.
7381 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7382 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7383 (m32r-*-elf*): Likewise.
7384 (m32rle-*-elf*): Likewise.
7385 (m32r-*-linux*): Likewise.
7386 (m32rle-*-linux*): Likewise.
7387 (mcore-*-elf): Add t-fdpbit to tmake_file.
7388 (microblaze*-*-*): Likewise.
7389 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7390 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7391 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7392 Fix typo.
7393 Add mips/t-tpbit to tmake-file.
7394 (mips*-*-linux*): Fix typo.
7395 (mips*-sde-elf*): New case
7396 Add mips/t-sdemtk unless using newlib.
7397 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7398 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7399 (mn10300-*-*): Likewise.
7400 (pdp11-*-*): Likewise.
7401 (picochip-*-*): Add t-fpbit to tmake_file.
7402 (powerpc-*-eabisimaltivec*): Likewise.
7403 (powerpc-*-eabisim*): Likewise.
7404 (powerpc-*-elf*): Likewise.
7405 (powerpc-*-eabialtivec*): Likewise.
7406 (powerpc-xilinx-eabi*): New case.
7407 Add t-fdpbit to tmake_file.
7408 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7409 (powerpc-*-rtems*): Likewise.
7410 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7411 tmake_file.
7412 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7413 tmake_file.
7414 (powerpc-*-lynxos*): Likewise.
7415 (powerpcle-*-elf*): Likewise.
7416 (powerpcle-*-eabisim*): Likewise.
7417 (powerpcle-*-eabi*): Likewise.
7418 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7419 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7420 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7421 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7422 (rx-*-elf): Add t-fdpbit to tmake_file.
7423 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7424 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7425 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7426 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7427 sh*-*-netbsd*.
7428 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7429 (sh-wrs-vxworks): Likewise.
7430 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7431 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7432 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7433 (sparc64-*-rtems*): ... new case.
7434 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7435 (spu-*-elf*): Likewise.
7436 Add spu/t-elf to tmake_file.
7437 (v850*-*-*): Add t-fdpbit to tmake_file.
7438 (xstormy16-*-elf): Likewise.
7439 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7440 (mep*-*-*): Likewise.
7441
201cdb74
RO
74422011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7443
7444 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7445 variables.
7446 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7447 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7448 (install-unwind_h): New target.
7449 (all): Depend on it.
7450 * config.host (unwind_header): New variable.
7451 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7452 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7453 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7454 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7455 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7456 Set unwind_header.
7457 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7458 Set unwind_header.
7459 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7460 arm*-*-eabi*.
7461 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7462 Set unwind_header.
7463 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7464 (ia64*-*-freebsd*): Likewise.
7465 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7466 tmake_file.
7467 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7468 $with_system_libunwind.
7469 (ia64*-*-hpux*): Set tmake_file.
7470 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7471 (picochip-*-*): Set tmake_file.
7472 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7473 md_unwind_header.
7474 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7475 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7476 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7477 (xtensa*-*-elf*): Set tmake_file.
7478 (xtensa*-*-linux*): Likewise.
7479 * configure.ac: Include ../config/unwind_ipinfo.m4.
7480 Call GCC_CHECK_UNWIND_GETIPINFO.
7481 Link unwind.h to $unwind_header.
7482 * configure: Regenerate.
7483 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7484 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7485 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7486 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7487 * config/unwind-dw2-fde-darwin.c: New file.
7488 * config/arm/libunwind.S, config/arm/pr-support.c,
7489 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7490 config/arm/unwind-arm.h,: New files.
7491 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7492 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7493 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7494 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7495 config/ia64/unwind-ia64.h: New files.
7496 * config/picochip/t-picochip: New file.
7497 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7498 files.
7499 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7500 * config/s390/t-tpf (LIB2ADDEH): Remove.
7501 * config/t-darwin (LIB2ADDEH): Set.
7502 * config/t-eh-dw2-dip: New file.
7503 * config/t-libunwind, config/t-libunwind-elf: New files.
7504 * config/t-sol2 (LIB2ADDEH): Remove.
7505 * config/xtensa/t-xtensa: New file.
7506
40f2f11f
L
75072011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7508
7509 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7510 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7511 long long to check rt_sigreturn syscall.
7512
bd15e32c
AM
75132011-08-02 Alan Modra <amodra@gmail.com>
7514
7515 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7516 Restore for indirect call bcrtl from correct stack slot, and only
7517 if cfa+40 isn't valid.
7518
655b30bf
JB
75192011-08-01 Julian Brown <julian@codesourcery.com>
7520
7521 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7522 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7523 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7524
247eb06f
JB
75252011-08-01 Julian Brown <julian@codesourcery.com>
7526
7527 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7528 (libgcc-std.ver.in): Use above.
7529 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7530 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7531 throughout file.
7532 * config/t-fixedpoint-gnu-prefix: New file.
7533 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7534 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7535 instead of __PFX__.
7536
02a8fe00
L
75372011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7538
7539 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7540 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7541 for x86-64. Properly check __x86_64__ and __LP64__.
7542
5fce9126
L
75432010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7544
7545 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7546 version.
7547 (_FP_WS_TYPE): Likewise.
7548 (_FP_I_TYPE): Likewise.
7549
2374a88a
AM
75502011-07-28 Alan Modra <amodra@gmail.com>
7551
7552 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7553 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7554 in a plt call stub. Do restore r2 if stopped on bctrl.
7555
e44dbbe1
RO
75562011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7557
7558 * config.host (i[3456x]86-*-netware*): Remove.
7559 * config/i386/netware-crt0.c, config/i386/t-nwld,
7560 config/i386/t-slibgcc-nwld: Remove.
7561
bcead286
BS
75622011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7563
7564 * config.host: Handle tic6x-*-*.
7565 * config/c6x/c6x-abi.h: New file.
7566
b3fe1584
RO
75672011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7568
7569 * config/i386/crtprec.c: New file.
7570 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7571 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7572 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7573 (x86_64-*-darwin*): Likewise.
7574 (i[34567]86-*-solaris2*: Likewise.
7575
35d8090d
RO
75762011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7577
7578 * config/alpha/crtfastmath.c: New file.
7579 * config/i386/crtfastmath.c: New file.
7580 * config/ia64/crtfastmath.c: New file.
7581 * config/mips/crtfastmath.c: New file.
7582 * config/sparc/crtfastmath.c: New file.
7583
7584 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7585 crtfastmath.c.
7586 Add -frandom-seed=gcc-crtfastmath.
7587 * config/alpha/t-crtfm: Remove.
7588 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7589 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7590
7591 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7592 (alpha*-dec-osf5.1*): Likewise.
7593 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7594 Add crtfastmath.o to extra_parts.
7595 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7596 Add crtfastmath.o to extra_parts.
7597 (x86_64-*-darwin*): Likewise.
7598 (x86_64-*-mingw*): Likewise.
7599 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7600 (ia64*-*-freebsd*): Likewise.
7601 (ia64*-*-linux*): Likewise.
7602 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7603 Add crtfastmath.o to extra_parts.
7604
e141542e
RO
76052011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7606
7607 * config/darwin-crt3.o: New file.
7608 * config/rs6000/darwin-crt2.c: New file.
7609 * config/t-darwin: New file.
7610 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7611 (crt2.o): New rule.
7612 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7613 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7614 (powerpc64-*-darwin*): Likewise.
7615
2d1efe2d
RO
76162011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7617
7618 * config/i386/netware-crt0.c: New file.
7619 * config/i386/t-nwld: Rename to ...
7620 * config/i386/t-slibgcc-nwld: ... this.
7621 * config/i386/t-nwld: New file.
7622 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7623 tmake_file.
7624 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7625 extra_parts.
7626
4a8bb046
RO
76272011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7628
7629 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7630 i386/t-crtstuff.
7631 * configure: Regenerate.
7632
2d8d5935
RO
76332011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7634
7635 * dfp-bit.c, dfp-bit.h: New files.
7636 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7637 variables.
7638 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7639 ($(d64pbit-o)): Likewise.
7640 ($(d128pbit-o)): Likewise.
7641 * config/t-dfprules: New file.
7642 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7643 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7644 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7645 (x86_64-*-linux*): Likewise.
7646 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7647 (i[34567]86-*-cygwin*): Likewise.
7648 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
7649 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7650
2c50b2c3
RO
76512011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7652
7653 * Makfile.in (LIBGCOV): New variable.
7654 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7655 * libgcov.c: New file.
7656
a039d7c2
RO
76572011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7658
7659 * fixed-bit.c, fixed-bit.h: New files.
7660 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7661 refer to fixed-bit.c.
7662
1e4b2746
JM
76632011-07-07 Joseph Myers <joseph@codesourcery.com>
7664
7665 * config.host (*local*): Remove.
7666
fbdd5d87
RO
76672011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7668
7669 PR target/39150
7670 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7671 like i?86-*-solaris2.1[0-9]*.
7672 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7673 * configure.ac (i?86-*-solaris2*): Likewise.
7674 * configure: Regenerate.
7675
9e7714f4
TS
76762011-07-06 Thomas Schwinge <thomas@schwinge.name>
7677
7678 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7679 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7680 md_unwind_header by splitting out of...
7681 (i[34567]86-*-linux*): ... this.
7682 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7683 Remove md_unwind_header by splitting out of...
7684 (x86_64-*-linux*): ... this.
7685
6dab9931
GJL
76862011-07-04 Georg-Johann Lay <avr@gjlay.de>
7687
7688 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7689
4be46d19
NC
76902011-06-28 Nick Clifton <nickc@redhat.com>
7691
7692 * config.host: Recognize all V850 variants.
7693
1da9434b
UB
76942011-06-22 Uros Bizjak <ubizjak@gmail.com>
7695
7696 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7697
e4d48a4d
RO
76982011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7699
7700 * shared-object.mk (c_flags-$o): Save c_flags.
7701 ($(base)$(objext)): Use it.
7702 ($(base)_s$(objext)): Likewise.
7703
3801c801
BS
77042011-06-21 Bernd Schmidt <bernds@codesourcery.com>
7705
7706 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7707 * libgcc-std.ver.in (GCC_4.7.0): New section.
7708
0ad8bb3b 77092011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 7710
0ad8bb3b
GJL
7711 PR target/49313
7712 PR target/29524
7713 * config/avr/t-avr: Fix line endings.
7714 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
7715 _parityXX2.
7716
ea963999
OH
77172011-06-14 Olivier Hainque <hainque@adacore.com>
7718 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7719
7720 * config/mips/irix6-unwind.h: New file.
7721 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7722
b11b0904
EB
77232011-06-10 Eric Botcazou <ebotcazou@adacore.com>
7724
7725 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7726 (sparc64_fallback_frame_state): Use it.
7727 (sparc64_frob_update_context): Further adjust context.
7728 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7729 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7730 * config/sparc/sol2-cn.S: Likewise.
7731
10e48e39
RO
77322011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7733
7734 * enable-execute-stack-empty.c: New file.
7735 * enable-execute-stack-mprotect.c: New file.
7736 * config/i386/enable-execute-stack-mingw32.c: New file.
7737 * config.host (enable_execute_stack): New variable.
7738 Select appropriate variants.
7739 * configure.ac: Link enable-execute-stack.c to
7740 $enable_execute_stack.
7741 * configure: Regenerate.
7742 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7743 (lib2funcs): Remove _enable_execute_stack.
7744
10c4cabc
DM
77452011-06-09 David S. Miller <davem@davemloft.net>
7746 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7747
7748 * config.host (sparc-*-linux*): Correct md_unwind_header
7749 filename.
7750 (s390x-ibm-tpf*): Fix typo.
7751
aa4203e7
RO
77522011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7753
7754 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7755 Add crtfastmath.o to extra_parts.
7756 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7757 mips/t-crtfm.
7758 * config/mips/t-crtfm: Remove.
7759
0defd786
JDA
77602011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7761
7762 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7763
82f247af
KK
77642011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7765
7766 * config.host (sh*-*-linux*): Fix typo.
7767
58cd1d70
RO
77682011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7769
7770 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7771 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7772 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7773 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7774 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7775 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7776 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7777 Wrap in !__MINGW64__.
7778 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7779 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7780 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7781 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7782 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7783 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7784 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7785 Wrap in !__LP64__.
7786 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7787 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7788 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7789 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7790 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7791 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7792 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7793 * config/no-unwind.h: New file.
7794 * config.host (md_unwind_header): Document.
7795 Define.
7796 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7797 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7798 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7799 hppa[12]*-*-hpux11*): Set md_unwind_header.
7800 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7801 Set md_unwind_header.
7802 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7803 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7804 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7805 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7806 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7807 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7808 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7809 md_unwind_header.
7810 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7811 * configure: Regenerate.
7812
737346fa
RO
78132011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7814
7815 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7816 Set tmake_file, extra_parts.
7817 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7818 Remove O32 support.
7819 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7820 Remove O32 support.
7821 * config/mips/t-irix6: New file.
7822 * config/mips/t-slibgcc-irix: New file.
7823
c192cee6
RO
78242011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7825
7826 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7827 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7828
ee33b5f0
RO
78292011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7830
7831 * configure.ac (target_thread_file): Determine thread model.
7832 * configure: Regenerate.
7833 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7834 * config/alpha/t-alpha: New file.
7835 * config/alpha/t-crtfm: Use $<.
7836 * config/alpha/t-ieee: New file.
7837 * config/alpha/t-osf-pthread: New file.
7838 * config/alpha/t-slibgcc-osf: New file.
7839 * config/alpha/libgcc-osf5.ver: New file.
7840
0699e415
RO
78412011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7842
7843 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7844 tmake_file.
7845 Add crtfastmath.o to extra_parts.
7846
a3fab9c2
RO
78472011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7848
7849 * config/gmon-sol2.c: Reindent.
7850 Cleanup comments.
7851 Remove, correct casts.
7852 Use STDERR_FILENO, NULL.
7853 (BASEADDRESS): Remove.
7854 (minbrk): Remove.
7855 (errno, sbrk): Remove declarations.
7856 (monstartup) [hp300]: Remove.
7857 (mcount): Remove.
7858
ca24c5ad
RO
78592011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7860
7861 * Makefile.in (cpu_type): Define.
7862 * config.host (i[34567]86-*-rtems*): Handle it.
7863 (i[34567]86-*-solaris2*): Move body ...
7864 (*-*-solaris2*): ... here.
7865 New case, generalize.
7866 (sparc-*-elf*): Handle it.
7867 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7868 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7869 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7870 Fold into ...
7871 (sparc*-*-solaris2*): ... this.
7872 New case.
7873 (sparc64-*-elf*): Handle it.
7874 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7875 Merge ../gcc/config/i386/gmon-sol2.c.
7876 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7877 Use C comments.
7878 Merge ../gcc/config/i386/sol2-gc1.asm.
7879 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7880 Use C comments.
7881 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7882 Use C comments.
7883 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7884 * config/i386/t-crtstuff: New file.
7885 * config/i386/t-softfp: New file.
7886 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7887 $(T)crti.o, $(T)crtn.o): Remove.
7888 (gcrt1.o): New rule.
7889 (TARGET_LIBGCC2_CFLAGS): Remove.
7890 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7891 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7892 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7893 * config/sparc/t-sol2: New file.
7894 * config/sparc/t-crtfm: Move to ...
7895 * config/t-crtfm: ... this.
7896 Use $(cpu_type), $<.
7897 * config/t-crtin: New file.
7898 * config/sparc/t-softfp: New file.
7899 * config/sparc/t-softmul: New file.
7900 * config/t-rtems: New file.
7901 * config/t-slibgcc: New file.
7902 * config/t-slibgcc-elf-ver: New file.
7903 * config/t-slibgcc-gld: New file.
7904 * config/t-slibgcc-sld: New file.
7905 * config/t-sol2: New file.
7906 * configure.ac: Include ../config/lib-ld.m4.
7907 Call AC_LIB_PROG_LD_GNU.
7908 Substitute cpu_type.
7909 * configure: Regenerate.
7910
ad5f3d7b
BS
79112011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7912
7913 PR bootstrap/49173
7914 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7915 libgcc-std.ver in the build directory.
7916 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7917 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7918
cdbf4541
BS
79192011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7920
7921 * libgcc-std.ver.in: New file.
7922 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7923 variables.
7924 (libgcc-std.ver): New rule.
7925 * config/t-gnu-prefix: New file.
7926
c8028650
RO
79272011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7928
7929 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7930
4a68b4ca
JM
79312011-05-10 Joseph Myers <joseph@codesourcery.com>
7932
7933 * config/i386/darwin-lib.h: New file.
7934
80cf2e08
JM
79352011-05-10 Joseph Myers <joseph@codesourcery.com>
7936
7937 * config/arm/symbian-lib.h: New.
7938
a3330c9d
CD
79392011-05-04 Chris Demetriou <cgd@google.com>
7940
7941 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7942 (__x86.get_pc_thunk.bx): ...this.
7943 (__morestack): Adjust for rename, remove undef of __i686.
7944
6ace0756
CD
79452011-05-03 Chris Demetriou <cgd@google.com>
7946
7947 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7948
ebb9f8b0
JM
79492011-03-22 Joseph Myers <joseph@codesourcery.com>
7950
7951 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7952 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7953 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7954 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7955 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7956 Remove cases.
7957
9cfa1499
AT
79582011-03-14 Andreas Tobler <andreast@fgznet.ch>
7959
7960 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7961 Adjust copyright year.
7962
457186f6
ILT
79632011-03-07 Ian Lance Taylor <iant@google.com>
7964
7965 * generic-morestack.c (__splitstack_find): Adjust returned stack
7966 pointer to include all registers pushed by __morestack.
7967
58c741a6
DK
79682011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7969
7970 PR target/40125
7971 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7972 (toolexecdir): Calculate and AC_SUBST.
7973 (toolexeclibdir): Likewise.
7974 * Makefile.in (target_noncanonical): Import.
7975 (toolexecdir): Likewise.
7976 (toolexeclibdir): Likewise.
7977 * configure: Regenerate.
7978
26716c44
NF
79792010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7980
7981 PR target/46040
7982 * config/arm/bpabi.h: Rename to...
7983 * config/arm/bpabi-lib.h: ...this.
7984
b595b1a1
RO
79852010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7986
7987 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7988 appropriate.
7989 * configure: Regenerate.
7990
a3abe41c
NF
79912010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7992
7993 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7994 __FLOAT_WORD_ORDER__.
7995 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7996 Delete.
7997
455c8f48
RW
79982010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7999
8000 PR other/46202
8001 * Makefile.in (install-strip): New phony target.
8002
f3824a8b
ILT
80032010-11-07 Ian Lance Taylor <iant@google.com>
8004
8005 PR target/46089
8006 * config/i386/morestack.S (__morestack_large_model): New
8007 function.
8008
18ed6ee4
NF
80092010-10-23 Nathan Froyd <froydnj@codesourcery.com>
8010
8011 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
8012 Delete.
8013 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
8014
8ac7fdcb
NF
80152010-10-14 Nathan Froyd <froydnj@codesourcery.com>
8016
8017 * config/arm/bpabi.h: New file.
8018 * config/frv/frv-abi.h: New file.
8019
cdb388c2
ILT
80202010-10-01 Ian Lance Taylor <iant@google.com>
8021
8022 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
8023 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
8024
ef7c141c
L
80252010-10-01 H.J. Lu <hongjiu.lu@intel.com>
8026
8027 PR target/45858
8028 * config.host: Add the missing `$'.
8029
80920132
ME
80302010-09-30 Michael Eager <eager@eagercon.com>
8031
8032 * config.host: Add microblaze*-*-*.
8033 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
8034 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
8035 udivsi3.asm,umodsi3.asm}: New.
8036
6dace308
ILT
80372010-09-28 Ian Lance Taylor <iant@google.com>
8038
8039 * configure.ac: Adjust CFI test to test assembler directly rather
8040 than checking gcc preprocessor macro.
8041 * configure: Rebuild.
8042
b6110d6d
ILT
80432010-09-27 Ian Lance Taylor <iant@google.com>
8044
8045 * configure.ac: Test whether assembler supports CFI directives.
8046 * config.host: Only add t-stack and i386/t-stack-i386 to
8047 tmake_file if libgcc_cv_cfi is "yes".
8048 * configure: Rebuild.
8049
7458026b
ILT
80502010-09-27 Ian Lance Taylor <iant@google.com>
8051
8052 * generic-morestack.h: New file.
8053 * generic-morestack.c: New file.
8054 * generic-morestack-thread.c: New file.
8055 * config/i386/morestack.S: New file.
8056 * config/t-stack: New file.
8057 * config/i386/t-stack-i386: New file.
8058 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
8059 i386/t-stack-i386 to tmake_file.
8060
5b50fc0c
IS
80612010-09-21 Iain Sandoe <iains@gcc.gnu.org>
8062
8063 * Makefile.in (libgcc-extra-parts): Check for static archives and
8064 invoke ranlib after installing them.
8065 (gcc-extra-parts): Likewise.
8066 (install-leaf): Likewise.
8067
b93cf342
L
80682010-09-14 H.J. Lu <hongjiu.lu@intel.com>
8069
8070 * configure: Regenerated.
8071
996b42ef
KT
80722010-09-10 Kai Tietz <kai.tietz@onevision.com>
8073
b93cf342 8074 * configure: Regenerated.
996b42ef 8075
be1c764e
GP
80762010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
8077 Andrew Pinski <pinskia@gmail.com>
8078
1da9434b 8079 PR target/40959
be1c764e
GP
8080 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
8081
cc0ae0ca
L
80822010-09-06 H.J. Lu <hongjiu.lu@intel.com>
8083
8084 PR target/45524
8085 * configure: Regenerated.
8086
84f47d20
AS
80872010-09-06 Andreas Schwab <schwab@redhat.com>
8088
8089 * configure: Regenerate.
8090
4159fb8d
UB
80912010-09-03 Uros Bizjak <ubizjak@gmail.com>
8092
8093 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
8094 64bit targets.
8095 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
8096 for 64bit targets.
8097
0df8fcc8
UB
80982010-09-03 Uros Bizjak <ubizjak@gmail.com>
8099 Iain Sandoe <iains@gcc.gnu.org>
8100
8101 PR target/45476
8102 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
8103 LIB2FUNCS_EXCLUDE functions.
8104
3c39bca6
AK
81052010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8106
8107 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
8108 Include dfp.m4.
8109 * configure: Regenerate.
8110
d78552bd
UB
81112010-09-01 Uros Bizjak <ubizjak@gmail.com>
8112
8113 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
8114 i386/t-freebsd to tmake_file.
8115 * config/i386/t-freebsd: New file.
8116 * config/i386/libgcc-bsd.ver: New file.
8117
c5b79d4e
NF
81182010-07-23 Nathan Froyd <froydnj@codesourcery.com>
8119
8120 * config.host (powerpc*-eabispe*): Set tmake_file.
8121 (powerpc*-eabi*): Likewise.
8122 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
8123 crtbeginS, crtendS, crtbeginT.
8124
48b09a92
KH
81252010-06-12 Kazu Hirata <kazu@codesourcery.com>
8126
8127 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
8128 to tmake_file. Add crtfastmath.o to extra_parts.
8129 * config/mips/t-crtfm: New.
8130
7d296953 81312010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
8132
8133 * config.host (sparc64-*-rtems*): New target.
8134
ed104137
RO
81352010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8136
8137 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8138 assembler syntax.
8139
3f56ef8b
TS
81402010-04-15 Thomas Schwinge <tschwinge@gnu.org>
8141
8142 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
8143
8c200350
RO
81442010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8145
8146 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
8147 alpha-dec-osf5.0* support.
8148
7d296953 81492010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
8150
8151 * config.host: Add lm32-*-rtems*.
8152
f128db92 81532010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 8154 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
8155
8156 PR target/39048
8157 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
8158 like other remaining 32-bit x86 OSes.
8159 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
8160 assembler syntax.
8161 * config/i386/libgcc-sol2.ver: New file.
8162 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
8163
7d296953 81642010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
8165
8166 PR c/43553
8167 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
8168 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
8169 is used and substitute set_use_emutls.
8170 * configure: Regenerated.
8171
15baf7f8
TG
81722010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
8173
8174 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
8175
7f5441df
RO
81762010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8177
8178 PR target/38085
8179 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
8180 MULTILIB_CFLAGS.
8181 ($(T)gcrt1.o): Likewise.
8182 ($(T)crt1.o): Likewise.
8183 ($(T)crti.o): Likewise.
8184 ($(T)crtn.o): Likewise.
8185
ef74edbd
RW
81862010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8187
8188 PR other/42980
8189 * Makefile.in (install): Use $(MAKE) string in rule, for
8190 parallel make.
8191
e7c914db
HPN
81922010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8193
8194 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8195 * config/mmix/t-mmix: New file.
8196 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8197
1bcb71c4
JH
81982010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8199
8200 PR java/41991
8201 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8202 SHLIB_MAPFILES.
8203
e6e50811
AG
82042010-01-04 Anthony Green <green@moxielogic.com>
8205
8206 * config/moxie/crti.asm, config/moxie/crtn.asm,
8207 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8208 config/moxie/t-moxie: New files.
8209 * config.host: Add t-moxie-softfp reference.
8210
7d296953 82112009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8212
8213 PR other/39888
8214 * config/t-slibgcc-darwin: Fix embedded rpaths for
8215 --enable-version-specific-runtime-libs, build extension stub
8216 libs exposing features available from current libgcc_s.
8217
7d296953 82182009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8219
d78552bd
UB
8220 * config.host: Add lm32 targets.
8221 * config/lm32: New directory.
8222 * config/lm32/libgcc_lm32.h: New file.
8223 * config/lm32/_mulsi3.c: New file.
8224 * config/lm32/_udivmodsi4.c: New file.
8225 * config/lm32/_divsi3.c: New file.
8226 * config/lm32/_modsi3.c: New file.
8227 * config/lm32/_udivsi3.c: New file.
8228 * config/lm32/_umodsi3.c: New file.
8229 * config/lm32/_lshrsi3.S: New file.
8230 * config/lm32/_ashrsi3.S: New file.
8231 * config/lm32/_ashlsi3.S: New file.
8232 * config/lm32/crti.S: New file.
8233 * config/lm32/crtn.S: New file.
8234 * config/lm32/t-lm32: New file.
8235 * config/lm32/t-elf: New file.
8236 * config/lm32/t-uclinux: New file.
aa4945c1 8237
65a324b4
NC
82382009-10-26 Nick Clifton <nickc@redhat.com>
8239
8240 * config.host: Add support for RX target.
8241 * config/rx: New directory.
8242 * config/rx/rx-abi-functions.c: New file. Supplementary
8243 functions for libgcc to support the RX ABI.
8244 * config/rx/rx-abi.h: New file. Supplementary header file for
8245 libgcc RX ABI functions.
8246 * config/rx/t-rx: New file: Makefile fragment for building
8247 libgcc for the RX.
8248
dfb3b0e3
UB
82492009-10-09 Uros Bizjak <ubizjak@gmail.com>
8250
8251 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8252 constraint of y0 to "g".
8253
81dd9fd7
AK
82542009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8255
8256 * config.host: Include the s390 makefile fragments.
8257 * config/s390/32/_fixdfdi.c: New file.
8258 * config/s390/32/_fixsfdi.c: New file.
8259 * config/s390/32/_fixtfdi.c: New file.
8260 * config/s390/32/_fixunsdfdi.c: New file.
8261 * config/s390/32/_fixunssfdi.c: New file.
8262 * config/s390/32/_fixunstfdi.c: New file.
8263 * config/s390/32/t-floattodi: New file.
8264 * config/s390/libgcc-glibc.ver: New file.
8265 * config/s390/t-crtstuff: New file.
8266 * config/s390/t-linux: New file.
8267 * config/s390/t-tpf: New file.
8268
df58e648
RW
82692009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8270
8271 * configure.ac (AC_PREREQ): Bump to 2.64.
8272
79052be3
KK
82732009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8274
8275 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8276
5213506e
RW
82772009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8278
8279 * configure: Regenerate.
8280
a9a25daa
DR
82812009-08-09 Douglas B Rupp <rupp@gnat.com>
8282
8283 * config.host (ia64-hp-*vms*): New target.
8284 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8285 with ia64-hp-*vms*.
8286
6efbd53f
RW
82872009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8288
8289 * configure.ac: Add snippet for maintainer-mode.
8290 * configure: Regenerate.
8291 * Makefile.in (AUTOCONF, configure_deps): New variables.
8292 ($(srcdir)/configure)): New rule, active only with maintainer
8293 mode turned on.
8294
7acf4da6
DD
82952009-06-23 DJ Delorie <dj@redhat.com>
8296
8297 Add MeP port.
8298 * config.host: Add mep support.
8299
54f549af
KT
83002009-06-22 Kai Tietz <kai.tietz@onevision.com>
8301
34481f28 8302 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8303 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
8304
8305 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8306 for mingw targets.
54f549af
KT
8307 * config/i386/64/_multc3.c: Likewise.
8308 * config/i386/64/_powitf2.c: Likewise.
8309 * config/i386/64/eqtf2.c: Likewise.
8310 * config/i386/64/getf2.c: Likewise.
8311 * config/i386/64/letf2.c: Likewise.
8312 * config/i386/64/letf2.c: Likewise.
34481f28
UB
8313 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8314 unsigned long long for x64 mingw targets.
8315 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8316 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 8317
fea96e25
MR
83182009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8319
8320 * config.host (vax-*-linux*): New.
8321
cceb575c
AG
83222009-05-31 Anthony Green <green@moxielogic.com>
8323
8324 * config.host: Add moxie support.
8325 * config/moxie/t-moxie: New file.
8326
7d296953 83272009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
8328
8329 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8330 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 8331
532bfb0a
AJ
83322009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8333
8334 * config.host: Add i386/${host_address}/t-fprules-softfp to
8335 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8336
748086b7
JJ
83372009-04-09 Nick Clifton <nickc@redhat.com>
8338
8339 * config/ia64/tf-signs.c: Change copyright header to refer to
8340 version 3 of the GNU General Public License with version 3.1
8341 of the GCC Runtime Library Exception and to point readers at
8342 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8343 web page.
8344 * config/i386/32/tf-signs.c: Likewise.
8345 * config/libbid/_addsub_dd.c: Likewise.
8346 * config/libbid/_addsub_sd.c: Likewise.
8347 * config/libbid/_addsub_td.c: Likewise.
8348 * config/libbid/_dd_to_df.c: Likewise.
8349 * config/libbid/_dd_to_di.c: Likewise.
8350 * config/libbid/_dd_to_sd.c: Likewise.
8351 * config/libbid/_dd_to_sf.c: Likewise.
8352 * config/libbid/_dd_to_si.c: Likewise.
8353 * config/libbid/_dd_to_td.c: Likewise.
8354 * config/libbid/_dd_to_tf.c: Likewise.
8355 * config/libbid/_dd_to_udi.c: Likewise.
8356 * config/libbid/_dd_to_usi.c: Likewise.
8357 * config/libbid/_dd_to_xf.c: Likewise.
8358 * config/libbid/_df_to_dd.c: Likewise.
8359 * config/libbid/_df_to_sd.c: Likewise.
8360 * config/libbid/_df_to_td.c: Likewise.
8361 * config/libbid/_di_to_dd.c: Likewise.
8362 * config/libbid/_di_to_sd.c: Likewise.
8363 * config/libbid/_di_to_td.c: Likewise.
8364 * config/libbid/_div_dd.c: Likewise.
8365 * config/libbid/_div_sd.c: Likewise.
8366 * config/libbid/_div_td.c: Likewise.
8367 * config/libbid/_eq_dd.c: Likewise.
8368 * config/libbid/_eq_sd.c: Likewise.
8369 * config/libbid/_eq_td.c: Likewise.
8370 * config/libbid/_ge_dd.c: Likewise.
8371 * config/libbid/_ge_sd.c: Likewise.
8372 * config/libbid/_ge_td.c: Likewise.
8373 * config/libbid/_gt_dd.c: Likewise.
8374 * config/libbid/_gt_sd.c: Likewise.
8375 * config/libbid/_gt_td.c: Likewise.
8376 * config/libbid/_isinfd128.c: Likewise.
8377 * config/libbid/_isinfd32.c: Likewise.
8378 * config/libbid/_isinfd64.c: Likewise.
8379 * config/libbid/_le_dd.c: Likewise.
8380 * config/libbid/_le_sd.c: Likewise.
8381 * config/libbid/_le_td.c: Likewise.
8382 * config/libbid/_lt_dd.c: Likewise.
8383 * config/libbid/_lt_sd.c: Likewise.
8384 * config/libbid/_lt_td.c: Likewise.
8385 * config/libbid/_mul_dd.c: Likewise.
8386 * config/libbid/_mul_sd.c: Likewise.
8387 * config/libbid/_mul_td.c: Likewise.
8388 * config/libbid/_ne_dd.c: Likewise.
8389 * config/libbid/_ne_sd.c: Likewise.
8390 * config/libbid/_ne_td.c: Likewise.
8391 * config/libbid/_sd_to_dd.c: Likewise.
8392 * config/libbid/_sd_to_df.c: Likewise.
8393 * config/libbid/_sd_to_di.c: Likewise.
8394 * config/libbid/_sd_to_sf.c: Likewise.
8395 * config/libbid/_sd_to_si.c: Likewise.
8396 * config/libbid/_sd_to_td.c: Likewise.
8397 * config/libbid/_sd_to_tf.c: Likewise.
8398 * config/libbid/_sd_to_udi.c: Likewise.
8399 * config/libbid/_sd_to_usi.c: Likewise.
8400 * config/libbid/_sd_to_xf.c: Likewise.
8401 * config/libbid/_sf_to_dd.c: Likewise.
8402 * config/libbid/_sf_to_sd.c: Likewise.
8403 * config/libbid/_sf_to_td.c: Likewise.
8404 * config/libbid/_si_to_dd.c: Likewise.
8405 * config/libbid/_si_to_sd.c: Likewise.
8406 * config/libbid/_si_to_td.c: Likewise.
8407 * config/libbid/_td_to_dd.c: Likewise.
8408 * config/libbid/_td_to_df.c: Likewise.
8409 * config/libbid/_td_to_di.c: Likewise.
8410 * config/libbid/_td_to_sd.c: Likewise.
8411 * config/libbid/_td_to_sf.c: Likewise.
8412 * config/libbid/_td_to_si.c: Likewise.
8413 * config/libbid/_td_to_tf.c: Likewise.
8414 * config/libbid/_td_to_udi.c: Likewise.
8415 * config/libbid/_td_to_usi.c: Likewise.
8416 * config/libbid/_td_to_xf.c: Likewise.
8417 * config/libbid/_tf_to_dd.c: Likewise.
8418 * config/libbid/_tf_to_sd.c: Likewise.
8419 * config/libbid/_tf_to_td.c: Likewise.
8420 * config/libbid/_udi_to_dd.c: Likewise.
8421 * config/libbid/_udi_to_sd.c: Likewise.
8422 * config/libbid/_udi_to_td.c: Likewise.
8423 * config/libbid/_unord_dd.c: Likewise.
8424 * config/libbid/_unord_sd.c: Likewise.
8425 * config/libbid/_unord_td.c: Likewise.
8426 * config/libbid/_usi_to_dd.c: Likewise.
8427 * config/libbid/_usi_to_sd.c: Likewise.
8428 * config/libbid/_usi_to_td.c: Likewise.
8429 * config/libbid/_xf_to_dd.c: Likewise.
8430 * config/libbid/_xf_to_sd.c: Likewise.
8431 * config/libbid/_xf_to_td.c: Likewise.
8432 * config/libbid/bid128.c: Likewise.
8433 * config/libbid/bid128_2_str.h: Likewise.
8434 * config/libbid/bid128_2_str_macros.h: Likewise.
8435 * config/libbid/bid128_2_str_tables.c: Likewise.
8436 * config/libbid/bid128_add.c: Likewise.
8437 * config/libbid/bid128_compare.c: Likewise.
8438 * config/libbid/bid128_div.c: Likewise.
8439 * config/libbid/bid128_fma.c: Likewise.
8440 * config/libbid/bid128_logb.c: Likewise.
8441 * config/libbid/bid128_minmax.c: Likewise.
8442 * config/libbid/bid128_mul.c: Likewise.
8443 * config/libbid/bid128_next.c: Likewise.
8444 * config/libbid/bid128_noncomp.c: Likewise.
8445 * config/libbid/bid128_quantize.c: Likewise.
8446 * config/libbid/bid128_rem.c: Likewise.
8447 * config/libbid/bid128_round_integral.c: Likewise.
8448 * config/libbid/bid128_scalb.c: Likewise.
8449 * config/libbid/bid128_sqrt.c: Likewise.
8450 * config/libbid/bid128_string.c: Likewise.
8451 * config/libbid/bid128_to_int16.c: Likewise.
8452 * config/libbid/bid128_to_int32.c: Likewise.
8453 * config/libbid/bid128_to_int64.c: Likewise.
8454 * config/libbid/bid128_to_int8.c: Likewise.
8455 * config/libbid/bid128_to_uint16.c: Likewise.
8456 * config/libbid/bid128_to_uint32.c: Likewise.
8457 * config/libbid/bid128_to_uint64.c: Likewise.
8458 * config/libbid/bid128_to_uint8.c: Likewise.
8459 * config/libbid/bid32_to_bid128.c: Likewise.
8460 * config/libbid/bid32_to_bid64.c: Likewise.
8461 * config/libbid/bid64_add.c: Likewise.
8462 * config/libbid/bid64_compare.c: Likewise.
8463 * config/libbid/bid64_div.c: Likewise.
8464 * config/libbid/bid64_fma.c: Likewise.
8465 * config/libbid/bid64_logb.c: Likewise.
8466 * config/libbid/bid64_minmax.c: Likewise.
8467 * config/libbid/bid64_mul.c: Likewise.
8468 * config/libbid/bid64_next.c: Likewise.
8469 * config/libbid/bid64_noncomp.c: Likewise.
8470 * config/libbid/bid64_quantize.c: Likewise.
8471 * config/libbid/bid64_rem.c: Likewise.
8472 * config/libbid/bid64_round_integral.c: Likewise.
8473 * config/libbid/bid64_scalb.c: Likewise.
8474 * config/libbid/bid64_sqrt.c: Likewise.
8475 * config/libbid/bid64_string.c: Likewise.
8476 * config/libbid/bid64_to_bid128.c: Likewise.
8477 * config/libbid/bid64_to_int16.c: Likewise.
8478 * config/libbid/bid64_to_int32.c: Likewise.
8479 * config/libbid/bid64_to_int64.c: Likewise.
8480 * config/libbid/bid64_to_int8.c: Likewise.
8481 * config/libbid/bid64_to_uint16.c: Likewise.
8482 * config/libbid/bid64_to_uint32.c: Likewise.
8483 * config/libbid/bid64_to_uint64.c: Likewise.
8484 * config/libbid/bid64_to_uint8.c: Likewise.
8485 * config/libbid/bid_b2d.h: Likewise.
8486 * config/libbid/bid_binarydecimal.c: Likewise.
8487 * config/libbid/bid_conf.h: Likewise.
8488 * config/libbid/bid_convert_data.c: Likewise.
8489 * config/libbid/bid_decimal_data.c: Likewise.
8490 * config/libbid/bid_decimal_globals.c: Likewise.
8491 * config/libbid/bid_div_macros.h: Likewise.
8492 * config/libbid/bid_dpd.c: Likewise.
8493 * config/libbid/bid_flag_operations.c: Likewise.
8494 * config/libbid/bid_from_int.c: Likewise.
8495 * config/libbid/bid_functions.h: Likewise.
8496 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8497 * config/libbid/bid_inline_add.h: Likewise.
8498 * config/libbid/bid_internal.h: Likewise.
8499 * config/libbid/bid_round.c: Likewise.
8500 * config/libbid/bid_sqrt_macros.h: Likewise.
8501
85022009-04-09 Jakub Jelinek <jakub@redhat.com>
8503
8504 * Makefile.in: Change copyright header to refer to version
8505 3 of the GNU General Public License and to point readers at the
8506 COPYING3 file and the FSF's license web page.
8507 * config.host: Likewise.
8508
633dd061
AM
85092009-04-07 Alan Modra <amodra@bigpond.net.au>
8510
8511 * config.host: Reorder and merge to match config.gcc change.
8512
457d1d00
AM
85132009-04-03 Alan Modra <amodra@bigpond.net.au>
8514
8515 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8516
52c0e446
JM
85172009-03-28 Joseph Myers <joseph@codesourcery.com>
8518
8519 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8520 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8521 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8522 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8523
ba181049
UB
85242009-02-12 Uros Bizjak <ubizjak@gmail.com>
8525
8526 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8527 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8528
c252db20
L
85292009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8530
ba181049
UB
8531 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8532 ia64/t-softfp-compat to tmake_file.
c252db20
L
8533
8534 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8535
8536 * config/ia64/__divxf3.asm: New.
8537 * config/ia64/_fixtfdi.asm: Likewise.
8538 * config/ia64/_fixunstfdi.asm: Likewise.
8539 * config/ia64/_floatditf.asm: Likewise.
8540 * config/ia64/t-fprules-softfp: Likewise.
8541 * config/ia64/t-softfp-compat: Likewise.
8542 * config/ia64/tf-signs.c: Likewise.
8543
c60535f9
BE
85442009-01-18 Ben Elliston <bje@au.ibm.com>
8545
8546 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8547
ce16861e
BE
85482009-01-16 Ben Elliston <bje@au.ibm.com>
8549
8550 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8551 to tmake_file.
8552
bcf4713b
BE
85532009-01-13 Ben Elliston <bje@au.ibm.com>
8554
8555 * config/t-softfp: New file.
8556 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8557 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8558
7d296953 85592009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
8560
8561 * config.host: Add m32r*-*-rtems*.
8562
7d296953 85632008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
8564
8565 * config.host: Add m32c*-*-rtems*.
8566
19523300
RO
85672008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8568
8569 PR bootstrap/33100
8570 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8571 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8572 * configure: Regenerate.
8573 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8574 tmake_file here from gcc/config.gcc.
8575 Move extra_parts here from gcc/config.gcc.
8576 * config/i386/t-sol2: Move here from gcc/config/i386.
8577 Use gcc_srcdir instead of srcdir.
8578
0a4a51c7
AN
85792008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8580
8581 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8582 case.
8583
2a761e46
TS
85842008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8585
8586 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8587
c0451df7
TS
85882008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8589
8590 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8591
358da97e
HS
85922008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8593
8594 Add picoChip port.
8595 * config.host: Add picochip-*-*.
8596
c660f132
BW
85972008-08-06 Bob Wilson <bob.wilson@acm.org>
8598
8599 * config.host: Match more processor names for Xtensa.
8600
d1349557
L
86012008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8602
8603 * config/i386/64/t-softfp-compat: Update comments.
8604
dd7b73c0
L
86052008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8606
8607 * config/i386/64/_divtc3-compat.c: Moved to ...
8608 * config/i386/64/_divtc3.c: Here.
8609
8610 * config/i386/64/_multc3-compat.c: Moved to ...
8611 * config/i386/64/_multc3.c: Here.
8612
8613 * config/i386/64/_powitf2-compat.c: Moved to ...
8614 * config/i386/64/_powitf2.c: Here.
8615
8616 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8617 .c suffix instead of -compat.c.
8618
6e1fab3d
UB
86192008-07-05 Uros Bizjak <ubizjak@gmail.com>
8620
8621 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8622 (_FP_MUL_MEAT_D): Ditto.
8623 (_FP_DIV_MEAT_S): Ditto.
8624 (_FP_DIV_MEAT_D): Ditto.
8625
f92518d7
RS
86262008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8627
8628 * Makefile.in: Add support for __sync_* libgcc functions.
8629
d0aede14
L
86302008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8631
8632 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8633
c174f11c
L
86342008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8635
8636 PR boostrap/36702
8637 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8638 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
8639
8640 * config/i386/64/t-fprules-softfp: Moved to ...
8641 * config/i386/64/t-softfp-compat: This. New.
8642
5f464fa2
UB
86432008-07-02 Uros Bizjak <ubizjak@gmail.com>
8644
8645 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8646 Initialize f with 0.0.
8647
ff473280
L
86482008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8649
8650 PR target/36669
8651 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8652
8653 * config/i386/64/_divtc3-compat.c: New.
8654 * config/i386/64/_multc3-compat.c: Likewise.
8655 * config/i386/64/_powitf2-compat.c: Likewise.
8656 * config/i386/64/eqtf2.c: Likewise.
8657 * config/i386/64/getf2.c: Likewise.
8658 * config/i386/64/letf2.c: Likewise.
8659 * config/i386/64/t-fprules-softfp: Likewise.
8660
86612008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8662
8663 * config.host: Add i386/${host_address}/t-fprules-softfp to
8664 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 8665 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
8666
8667 * configure.ac: Set host_address to 64 or 32 for x86.
8668 * configure: Regenerated.
8669
8670 * Makefile.in (config.status): Also depend on
8671 $(srcdir)/config.host.
8672
8673 * config/i386/32/t-fprules-softfp: New.
8674 * config/i386/32/tf-signs.c: Likewise.
8675
8676 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8677
86782008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8679 Uros Bizjak <ubizjak@gmail.com>
8680
8681 * config/i386/32/sfp-machine.h: New.
8682
30551d99
NF
86832008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8684
8685 * config/rs6000/t-ppccomm: Remove rules that conflict with
8686 auto-generated rules.
8687
18c04407
RW
86882008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8689
8690 * configure.ac: sinclude override.m4.
8691 * configure: Regenerate.
8692
10fbe77a
BRF
86932008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8694
8695 * configure: Regenerate.
8696
bc6d4c3f
JM
86972008-06-10 Joseph Myers <joseph@codesourcery.com>
8698
8699 * Makefile.in (DECNUMINC): Remove
8700 -I$(MULTIBUILDTOP)../../libdecnumber.
8701 * gstdint.h: New.
8702
cd985f66
JM
87032008-06-07 Joseph Myers <joseph@codesourcery.com>
8704
8705 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8706 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8707 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8708 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8709 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8710 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8711 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8712 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8713 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8714 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8715 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8716 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8717 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8718 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8719
93fea8d3
AL
87202008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8721
8722 * config.host (sh2[lbe]*-*-linux*): Allow target.
8723
18724e30
NF
87242008-04-30 Nathan Froyd <froydnj@codesourcery.com>
8725
8726 * config/rs6000/t-ppccomm: Add build rules for new files.
8727 (LIB2ADD_ST): New variable.
8728
47583040
AH
87292008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
8730
8731 PR target/34210
8732 PR target/35508
8733 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8734 * config/t-avr: New file. Build 16bit libgcc functions.
8735
cf8e67fe
JJ
87362008-03-02 Jakub Jelinek <jakub@redhat.com>
8737
8738 PR target/35401
8739 * config/t-slibgcc-darwin: Make install-leaf dependent on
8740 install-darwin-libgcc-stubs instead of install.
8741
8d8da227
JM
87422008-01-25 Joseph Myers <joseph@codesourcery.com>
8743
8744 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8745 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8746 sh-*-rtemscoff*): Remove cases.
8747
edbf8b16
RS
87482007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
8749
8750 * Makefile.in (all): Use install-leaf rather than install.
8751 (install): Split most of the rule into...
8752 (install-leaf): ...this new one.
8753
89deeaff
EK
87542007-12-19 Etsushi Kato <ek.kato@gmail.com>
8755 Paolo Bonzini <bonzini@gnu.org>
8756
8757 PR target/30572
5f464fa2
UB
8758 * Makefile.in: Use @shlib_slibdir@ substitution to get
8759 correct install name on darwin.
89deeaff 8760 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 8761
4081d704
HPN
87622007-12-15 Hans-Peter Nilsson <hp@axis.com>
8763
8764 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8765 cris-*-elf and cris-*-none.
8766 (crisv32-*-linux*): Similar, as cris-*-linux*.
8767
f43e89a3
RIL
87682007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8769
8770 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8771
b4e9c2c6
L
87722007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8773
8774 PR regression/33926
8775 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8776 * configure: Regenerated.
8777
b2a00c89
L
87782007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8779
8780 * Makefile.in (dfp-filenames): Replace decimal_globals,
8781 decimal_data, binarydecimal and convert_data with
8782 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8783 and bid_convert_data, respectively.
8784
8d2a9e0e
CF
87852007-09-17 Chao-ying Fu <fu@mips.com>
8786 Nigel Stephens <nigel@mips.com>
8787
8788 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8789 * Makefile.in (fixed_point): Define.
8790 Check if fixed_point is yes to build support functions.
8791 * configure.ac: Check for fixed_point support.
8792 * configure: Regenerated.
8793 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8794 funcs, modes, from, to.
8795
2b53935d
JJ
87962007-09-11 Janis Johnson <janis187@us.ibm.com
8797
8798 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8799
2533577f
JJ
88002007-09-10 Janis Johnson <janis187@us.ibm.com>
8801
8802 * Makefile.in (dfp-filenames): Remove decUtility, add
8803 decDouble, decPacked, decQuad, decSingle.
8804
3ae3dbd6
HK
88052007-08-27 Hans Kester <hans.kester@ellips.nl>
8806
8807 * config.host : Add x86_64-elf target.
8808
22867d02
L
88092007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8810
8811 * configure.ac (set_have_cc_tls): Add a missing =.
8812 * configure: Regenerated.
8813
6f461e76
L
88142007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8815
8816 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8817 and x86_64-*-linux*.
8818
8819 * config/t-tls: New file.
8820
dfb3b0e3 8821 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
8822
8823 * configure.ac: Include ../config/enable.m4 and
8824 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8825 supports TLS and substitute set_have_cc_tls.
8826 * configure: Regenerated.
8827
200359e8
L
88282007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8829
8830 * Makefile.in: Use libbid for DFP when BID is enabled.
8831
76f5e200
DS
88322007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8833
8834 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 8835 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
8836 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8837
9bd196f0 88382007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 8839 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
8840
8841 PR target/29498
8842 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8843 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
8844 * config/i386/t-crtfm: Compile crtfastmath.o with
8845 -minline-all-stringops.
8846
1910440e
RS
88472007-05-10 Richard Sandiford <richard@codesourcery.com>
8848
8849 * config.host (sparc-wrs-vxworks): New target.
8850
7d33c31d
KH
88512007-04-14 Kazu Hirata <kazu@codesourcery.com>
8852
8853 * config.host: Recognize fido.
8854
96fccd0d
JJ
88552007-04-04 Janis Johnson <janis187@us.ibm.com>
8856
8857 * configure: Check host, not target, for decimal float support.
8858
577565f9
UB
88592007-04-03 Uros Bizjak <ubizjak@gmail.com>
8860
8861 * config/i386/t-crtpc: New file.
8862 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 8863 (x86_64-*-linux*): Ditto.
577565f9 8864
ccf8e764
RH
88652007-02-30 Kai Tietz <kai.tietz@onevision.com>
8866
8867 * config.host (x86_64-*-mingw*): New target.
8868
79b87c74
MM
88692007-03-23 Michael Meissner <michael.meissner@amd.com>
8870 H.J. Lu <hongjiu.lu@intel.com>
8871
8872 * Makefile.in (enable_decimal_float): New.
8873 (DECNUMINC): Add
8874 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8875 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8876 (decbits-filenames): This.
8877 (decbits-objects): New.
8878 (libgcc-objects): Add $(decbits-objects).
8879
8880 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8881 Substitute enable_decimal_float.
8882 * configure: Regenerated.
8883
8fce4e31
HPN
88842007-03-19 Hans-Peter Nilsson <hp@axis.com>
8885
8886 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8887
e8bb4597
BM
88882007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8889
8890 * Makefile.in (install-info): New dummy target.
8891
344189f9
BS
88922007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8893
8894 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8895
ac84c172
BM
88962007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8897
8898 * Makefile.in: Add install-html and install-pdf dummy
8899 targets.
8900
cd5c2357
RS
89012007-02-05 Roger Sayle <roger@eyesopen.com>
8902 Daniel Jacobowitz <dan@codesourcery.com>
8903
8904 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8905 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8906 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8907
d9a66f98
JJ
89082007-01-29 Janis Johnson <janis187@us.ibm.com>
8909
8910 * Makefile.in (dec-filenames): Add decExcept.
8911
9891ec5f
DJ
89122007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8913
8914 PR bootstrap/30469
8915 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8916 -fprofile-use.
8917
d6efbf5a
DJ
89182007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8919
8920 * configure.ac: Add --enable-version-specific-runtime-libs.
8921 Correct $slibdir default.
8922 * configure: Regenerated.
8923
17caeff2
JM
89242007-01-23 Joseph Myers <joseph@codesourcery.com>
8925
8926 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8927
5ea41e3a
AP
89282007-01-21 Andrew Pinski <pinskia@gmail.com>
8929
8930 PR target/30519
8931 * config.host (alpha*-*-linux*): Set extra_parts.
8932
26900826
KK
89332007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8934
8935 * config/sh/t-linux: New.
8936 * config.host (sh*-*-linux*): Set tmake_file.
8937
97af925b
DJ
89382007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8939
8940 * Makefile.in (install): Handle multilibs.
8941
b0088af7
BM
89422007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8943
8944 * Makefile.in: Added .PHONY entry for documentation targets.
8945
e0a9456a
BM
89462007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8947
8948 * Makefile.in: Add empty info, html, dvi, pdf targets.
8949
7fd453b4
MS
89502007-01-04 Mike Stump <mrs@apple.com>
8951
8952 * Makefile.in (MAKEINFO): Remove.
8953 (PERL): Likewise.
8954
14e8fc8b
PB
89552007-01-04 Paolo Bonzini <bonzini@gnu.org>
8956
8957 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8958 * configure: Regenerate.
8959 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 8960 (gcc_objdir): Use it.
14e8fc8b 8961
1555beba
DJ
89622007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8963
8964 * config.host (ia64*-*-linux*): Set tmake_file.
8965
79e6eaeb
DJ
89662007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8967
8968 * Makefile.in (version): Define.
8969
fa958513
DJ
89702007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8971 Paolo Bonzini <bonzini@gnu.org>
8972
8973 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8974 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8975 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8976 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8977 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8978 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8979 * configure: Generated.
818ab71a 8980\f
85ec4feb 8981Copyright (C) 2007-2018 Free Software Foundation, Inc.
818ab71a
JJ
8982
8983Copying and distribution of this file, with or without modification,
8984are permitted in any medium without royalty provided the copyright
8985notice and this notice are preserved.