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