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