]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Plugin support on Windows/MinGW
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
1ebafce0
IT
12017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2
3 PR bootstrap/83015
4 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
5 parameter.
6 * config/xtensa/unwind-dw2-xtensa.c: Likewise
7 * config/ia64/unwind-ia64.c: Add frames parameter.
8 * unwind-sjlj.c: Likewise.
9
6a10fff4
IT
102017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11
12 * config/i386/linux-unwind.h: Include
13 config/i386/shadow-stack-unwind.h.
14 * config/i386/shadow-stack-unwind.h: New file.
15 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
16 pass it to _Unwind_Frames_Extra.
17 * unwind-generic.h (_Unwind_Frames_Extra): New.
18 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
19 parameter. Add local variable frames to count number of frames.
20 (_Unwind_ForcedUnwind_Phase2): Likewise.
21 (_Unwind_RaiseException): Add local variable frames to count
22 number of frames, pass it to _Unwind_RaiseException_Phase2 and
23 uw_install_context.
24 (_Unwind_ForcedUnwind): Likewise.
25 (_Unwind_Resume): Likewise.
26 (_Unwind_Resume_or_Rethrow): Likewise.
27
1ecae1fc
IT
282017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
29
30 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
31 (CET_FLAGS): New.
32 * config/i386/morestack.S: Include <cet.h>.
33 (__morestack_large_model): Add _CET_ENDBR at function entrance.
34 * config/i386/resms64.h: Include <cet.h>.
35 * config/i386/resms64f.h: Likewise.
36 * config/i386/resms64fx.h: Likewise.
37 * config/i386/resms64x.h: Likewise.
38 * config/i386/savms64.h: Likewise.
39 * config/i386/savms64f.h: Likewise.
40 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
41 (CRTSTUFF_T_CFLAGS): Likewise.
42 * configure.ac: Include ../config/cet.m4.
43 Set and substitute CET_FLAGS.
44 * configure: Regenerated.
45
f021f1d3
RO
462017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
47
48 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
49 renaming.
50 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
51 * configure.ac (libgcc_cv_solaris_crts): Likewise.
52 * configure: Regenerate.
53
65f480c7
TV
542017-11-07 Tom de Vries <tom@codesourcery.com>
55
56 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
57 after "do {} while (0)".
58
2a321acb
TV
592017-11-07 Tom de Vries <tom@codesourcery.com>
60
61 PR other/82784
62 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
63 semicolon after "do {} while (0)".
64 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
65 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
66 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
67 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
68
59fcf6c3
AT
692017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
70
71 PR libgcc/82635
72 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
73 sysctl to determine whether we're in a trampoline.
74 Keep the pattern matching method for systems without
75 KERN_PROC_SIGTRAMP sysctl.
76
b0c7ddf8
CM
772017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
78 Vineet Gupta <vgupta@synopsys.com>
79
80 * config.host (arc*-*-linux*): Set md_unwind_header variable.
81 * config/arc/linux-unwind-reg.def: New file.
82 * config/arc/linux-unwind-reg.h: Likewise.
83
5feee954
SP
842017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
85
86 * config/rl78/subdi3.S: New assembly file.
87 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
88
a0bf6cf7
SP
892017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
90
91 * config/rl78/adddi3.S: New assembly file.
92 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
93
e7176f75
JJ
942017-10-13 Jakub Jelinek <jakub@redhat.com>
95
96 PR target/82274
97 * libgcc2.c (__mulvDI3): If both operands have
98 the same highpart of -1 and the topmost bit of lowpart is 0,
99 multiplication overflows even if both lowparts are 0.
100
db6601d2
JB
1012017-09-28 James Bowman <james.bowman@ftdichip.com>
102
103 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
104
938b6f1e
JM
1052017-09-26 Joseph Myers <joseph@codesourcery.com>
106
107 * config/microblaze/crti.S, config/microblaze/crtn.S,
108 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
109 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
110 config/microblaze/mulsi3.S,
111 config/microblaze/stack_overflow_exit.S,
112 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
113 config/pa/milli64.S: Add .note.GNU-stack section.
114
89762a83
DS
1152017-09-23 Daniel Santos <daniel.santos@pobox.com>
116
117 * configure.ac: Add Check for HAVE_AS_AVX.
118 * config.in: Regenerate.
119 * configure: Likewise.
120 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
121 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
122 Correct out-of-date comments.
123
cace2309
SP
1242017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
125
126 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
127 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
128
3cb626e4
DS
1292017-09-17 Daniel Santos <daniel.santos@pobox.com>
130
cace2309 131 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
132 (ASMNAME): Modify to use PASTE2.
133 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
134 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 135 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 136 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
137 * config/i386/resms64f.S: Likewise.
138 * config/i386/resms64fx.S: Likewise.
139 * config/i386/resms64x.S: Likewise.
140 * config/i386/savms64.S: Likewise.
141 * config/i386/savms64f.S: Likewise.
142 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 143 includes it's corresponding header file.
cace2309
SP
144 * config/i386/avx_resms64f.S: Likewise.
145 * config/i386/avx_resms64fx.S: Likewise.
146 * config/i386/avx_resms64x.S: Likewise.
147 * config/i386/avx_savms64.S: Likewise.
148 * config/i386/avx_savms64f.S: Likewise.
149 * config/i386/sse_resms64.S: Likewise.
150 * config/i386/sse_resms64f.S: Likewise.
151 * config/i386/sse_resms64fx.S: Likewise.
152 * config/i386/sse_resms64x.S: Likewise.
153 * config/i386/sse_savms64.S: Likewise.
154 * config/i386/sse_savms64f.S: Likewise.
155 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 156
2f19c491
OH
1572017-09-01 Olivier Hainque <hainque@adacore.com>
158
159 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
160
611e7036
OH
1612017-08-31 Olivier Hainque <hainque@adacore.com>
162
163 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
164 match as powerpc-wrs-vxworks*.
165
c8f34527
JY
1662017-08-07 Jonathan Yong <10walls@gmail.com>
167
168 * config.host (*-cygwin): Include file from mingw
169 config/i386/enable-execute-stack-mingw32.c
170
0b458d2b
JL
1712017-08-01 Jerome Lambourg <lambourg@adacore.com>
172 Doug Rupp <rupp@adacore.com>
173 Olivier Hainque <hainque@adacore.com>
174
175 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
176 as well as arm-wrs-vxworks.
177 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
178 LIB2ADDEH.
179 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
180 __exidx_start and __exidx_end for downloadable modules.
181
4df612fa
OH
1822017-08-01 Olivier Hainque <hainque@adacore.com>
183
184 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
185 * config/t-vxworks7: Likewise.
186
5560e8c0
OH
1872017-08-01 Olivier Hainque <hainque@adacore.com>
188
189 * config/t-vxworks: Instead of redefining LIB2ADD,
190 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
191
16bab95a
SH
1922017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
193
194 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
195
9cbc07cc
DS
1962017-07-24 Daniel Santos <daniel.santos@pobox.com>
197
198 PR testsuite/80759
199 * config.host: include i386/t-msabi for darwin and solaris.
200 * config/i386/i386-asm.h
201 (ELFFN): Rename to FN_TYPE.
202 (FN_SIZE): New macro.
203 (FN_HIDDEN): Likewise.
204 (ASMNAME): Likewise.
205 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
206 .globl.
207 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
208 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
209 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
210 .macro.
211 * config/i386/resms64f.S: Likewise.
212 * config/i386/resms64fx.S: Likewise.
213 * config/i386/resms64x.S: Likewise.
214 * config/i386/savms64.S: Likewise.
215 * config/i386/savms64f.S: Likewise.
216
de742204
JM
2172017-07-19 John Marino <gnugcc@marino.st>
218
219 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
220
3787ee47
MM
2212017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
222
223 PR target/81193
224 * configure.ac (PowerPC float128 hardware support): Test whether
225 we can use __builtin_cpu_supports before enabling the ifunc
226 handler.
227 * configure: Regenerate.
228
b1938888
VG
2292017-07-10 Vineet Gupta <vgupta@synopsys.com>
230
231 * config.host: Remove uclibc from arc target spec.
232
bec75e53
KW
2332017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
234
235 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
236
d4391a62
PB
2372017-07-07 Peter Bergner <bergner@vnet.ibm.com>
238
239 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
240 (have_ieee_hw_p): Delete function.
241 (SW_OR_HW) Use __builtin_cpu_supports().
242
9296dd9b
TP
2432017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
244
245 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
246
b85a969e
OH
2472017-07-03 Olivier Hainque <hainque@adacore.com>
248
d4391a62 249 * config/t-vxworks7: New file, really.
b85a969e 250
883312dc
JM
2512017-06-28 Joseph Myers <joseph@codesourcery.com>
252
253 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
254 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
255 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
256 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
257 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
258 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
259 config/pa/linux-unwind.h (pa32_fallback_frame_state),
260 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
261 config/sh/linux-unwind.h (sh_fallback_frame_state),
262 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
263 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
264 ucontext_t instead of struct ucontext.
265
50567938
JL
2662017-06-27 Jerome Lambourg <lambourg@adacore.com>
267
268 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
269 (x86_64-wrs-vxworks7): Likewise.
270
e4b0df93
OH
2712017-06-27 Olivier Hainque <hainque@adacore.com>
272
273 * config/t-vxworks7: New file.
274 * config.host (*-*-vxworks7): Use it.
275
60edf8bb
MT
2762017-06-22 Matt Turner <mattst88@gmail.com>
277
278 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
279 skylake case.
280
a51a76e5
RB
2812017-06-21 Richard Biener <rguenther@suse.de>
282
283 PR gcov-profile/81080
284 * configure.ac: Add AC_SYS_LARGEFILE.
285 * libgcov.h: Include auto-target.h before tsystem.h to pick
286 up _FILE_OFFSET_BITS which might differ for multilibs.
287 * config.in: Regenerate.
288 * configure: Likewise.
289
f0cd49c5
RE
2902017-06-16 Richard Earnshaw <rearnsha@arm.com>
291
292 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
293
4f751c54
ML
2942017-06-09 Martin Liska <mliska@suse.cz>
295
296 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
297 Reset __gcov_indirect_call_callee to NULL.
298
1ac644c8
OH
2992017-06-08 Olivier Hainque <hainque@adacore.com>
300
301 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
302 the set of -I options, support for direct inclusions of net/uio.h
303 by VxWorks header files via ioLib.h.
304
d8b9cd27
TR
3052017-06-07 Tony Reix <tony.reix@atos.net>
306 Matthieu Sarter <matthieu.sarter.external@atos.net>
307 David Edelsohn <dje.gcc@gmail.com>
308
309 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
310 unconditionally.
311 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
312 AIX 7.2 support.
313
38a75ccc
OH
3142017-06-02 Olivier Hainque <hainque@adacore.com>
315
316 * config/vxlib.c (__gthread_once): Add missing value to
317 return statement.
318
5b2edf53
OH
3192017-05-30 Olivier Hainque <hainque@adacore.com>
320
321 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
322 dollar sign before $(MULTIDIR).
323
7d66e265
RH
3242017-05-26 Richard Henderson <rth@redhat.com>
325
326 PR libgcc/80037
327 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
328
78eca309
AT
3292017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
330
331 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
332 _Unwind_SetIP available as functions for arm*-*-freebsd*.
333 * config/arm/unwind-arm.c: Implement the above.
334
c39d309a
AZ
3352017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
336
337 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
338 section for a non-executable stack.
339
eac8c9f2
KW
3402017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
341
342 PR target/80600
343 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
344
d6d4d770
DS
3452017-05-14 Daniel Santos <daniel.santos@pobox.com>
346
347 * config.host: Add i386/t-msabi to i386/t-linux file list.
348 * config/i386/i386-asm.h: New file.
349 * config/i386/resms64.S: New file.
350 * config/i386/resms64f.S: New file.
351 * config/i386/resms64fx.S: New file.
352 * config/i386/resms64x.S: New file.
353 * config/i386/savms64.S: New file.
354 * config/i386/savms64f.S: New file.
355 * config/i386/t-msabi: New file.
356
8ef2b9a7
AT
3572017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
358
359 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
360 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
361
7ab8766a
JC
3622017-05-05 Joshua Conner <joshconner@google.com>
363
364 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
365 pc-relative indirect handling for fuchsia.
366 * config/t-slibgcc-fuchsia: New file.
367 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 368 x86_64-*-fuchsia*): Add definitions.
7ab8766a 369
46928a8f
ML
3702017-04-19 Martin Liska <mliska@suse.cz>
371
372 PR gcov-profile/80435
373 * Makefile.in: Install gcov.h.
374 * gcov.h: New file.
375 * libgcov.h: Use the header and make __gcov_flush publicly
376 visible.
377
63971184
ML
3782017-04-18 Martin Liska <mliska@suse.cz>
379
380 PR gcov-profile/78783
381 * libgcov-driver.c (gcov_get_filename): New function.
382
29d8aae6
JL
3832017-04-07 Jeff Law <law@redhat.com>
384
385 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
386 target makefile fragment.
387 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
388
2bdf7fc6
AM
3892017-04-07 Alan Modra <amodra@gmail.com>
390
391 PR target/45053
392 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
393
5764ee3c
JW
3942017-04-03 Jonathan Wakely <jwakely@redhat.com>
395
396 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
397
c4192ad7
CZ
3982017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
399
400 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
401
4ccfdb28
JM
4022017-03-10 John Marino <gnugcc@marino.st>
403
404 * config/aarch64/freebsd-unwind.h: New file.
405 * config.host: Add aarch64-*-freebsd unwinder.
406
4144e4e3
SB
4072017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
408
409 * config/rs6000/crtrestvr.s: Use .machine altivec.
410 * config/rs6000/crtsavevr.s: Ditto.
411
7502c597
SB
4122017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
413
414 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
415 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
416 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
417 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
418 * configure: Regenerate.
419 * config.in: Regenerate.
420
db9f7f65
JY
4212017-03-02 Jonathan Yong <10walls@gmail.com>
422
423 * config/i386/gthr-win32.h: Define NOGDI before
424 windows.h include to prevent w32api CC_NONE macro
425 clash with libgfortran.
426
126437c5
JY
4272017-03-02 Jonathan Yong <10walls@gmail.com>
428
429 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
430
31927af6
AP
4312017-02-16 Andrew Pinski <apinski@cavium.com>
432
433 * config/aarch64/value-unwind.h: New file.
434 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
435 to tm_file.
436
0bd99911
PD
4372017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
438
439 * config.host: Add RISC-V tuples.
440 * config/riscv/atomic.c: New file.
441 * config/riscv/crti.S: Likewise.
442 * config/riscv/crtn.S: Likewise.
443 * config/riscv/div.S: Likewise.
444 * config/riscv/linux-unwind.h: Likewise.
445 * config/riscv/muldi3.S: Likewise.
446 * config/riscv/multi3.S: Likewise.
447 * config/riscv/save-restore.S: Likewise.
448 * config/riscv/sfp-machine.h: Likewise.
449 * config/riscv/t-elf: Likewise.
450 * config/riscv/t-elf32: Likewise.
451 * config/riscv/t-elf64: Likewise.
452 * config/riscv/t-softfp32: Likewise.
453 * config/riscv/t-softfp64: Likewise.
454
a8c9ef2a
JJ
4552017-01-24 Jakub Jelinek <jakub@redhat.com>
456
457 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
458 /* FALLTHRU */ comments.
459
c6c82710
GP
4602017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
461
462 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
463
a876231c
JW
4642017-01-20 Jiong Wang <jiong.wang@arm.com>
465
466 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
467 * unwind-dw2.c (execute_cfa_program): Only multiplexing
468 DW_CFA_GNU_window_save for AArch64 and LP64.
469
aa348be2
JW
4702017-01-20 Jiong Wang <jiong.wang@arm.com>
471
472 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
473
5636faf2
JW
4742017-01-19 Jiong Wang <jiong.wang@arm.com>
475
476 * config/aarch64/aarch64-unwind.h: New file.
477 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
478 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
479 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
480 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
481 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
482 (aarch64_post_extract_frame_addr): New function.
483 (aarch64_post_frob_eh_handler_addr): New function.
484 (aarch64_frob_update_context): New function.
485 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
486 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
487 aarch64*-*-freebsd*):
488 Initialize md_unwind_header to include aarch64-unwind.h.
489 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
490 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
491 __aarch64__.
492 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
493 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
494 (uw_frob_return_addr): New function.
495 (uw_install_context): Use uw_frob_return_addr.
496
3c36aa6b
JJ
4972017-01-17 Jakub Jelinek <jakub@redhat.com>
498
499 PR other/79046
500 * configure.ac: Add GCC_BASE_VER.
501 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
502 version from BASE-VER file.
503 * configure: Regenerated.
504
829afb8f
JS
5052017-01-13 Joe Seymour <joe.s@somniumtech.com>
506
507 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
508 libmul_f5.a): Filter archived prerequisites.
509
79fc8ffe
AS
5102017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
511
512 * config/i386/cpuinfo.h (processor_features): Add
513 FEATURE_AVX512VPOPCNTDQ.
514 * config/i386/cpuinfo.c (get_available_features): Habdle new
515 feature.
516
fec5f4e0
JM
5172017-01-04 Joseph Myers <joseph@codesourcery.com>
518
519 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
520 payload if [__mips_nan2008].
521
8f56cb51
AM
5222017-01-04 Alan Modra <amodra@gmail.com>
523
524 * Makefile.in (configure_deps): Update.
525 * configure: Regenerate.
526
cbe34bb5
JJ
5272017-01-01 Jakub Jelinek <jakub@redhat.com>
528
529 Update copyright years.
530
ab955692
KW
5312016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
532
533 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
534 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
535 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
536
de34320f
MK
5372016-12-17 Matthias Klose <doko@ubuntu.com>
538
539 * config/arc/gmon: Remove empty directory.
540
e04ea1da
CZ
5412016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
542
543 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
544 crtgend.
545 (arc*-*-elf*): Likewise.
546 * config/arc/t-arc: Remove old gmon lib targets.
547 * config/arc/crtg.S: Remove.
548 * config/arc/crtgend.S: Likewise.
549 * config/arc/gmon/atomic.h: Likewise.
550 * config/arc/gmon/auxreg.h: Likewise.
551 * config/arc/gmon/dcache_linesz.S: Likewise.
552 * config/arc/gmon/gmon.c: Likewise.
553 * config/arc/gmon/machine-gmon.h: Likewise.
554 * config/arc/gmon/mcount.c: Likewise.
555 * config/arc/gmon/prof-freq-stub.S: Likewise.
556 * config/arc/gmon/prof-freq.c: Likewise.
557 * config/arc/gmon/profil.S: Likewise.
558 * config/arc/gmon/sys/gmon.h: Likewise.
559 * config/arc/gmon/sys/gmon_out.h: Likewise.
560 * config/arc/t-arc-newlib: Likewise.
561 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
562
8ae1c2c1
GS
5632016-12-12 George Spelvin <linux@sciencehorizons.net>
564
565 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
566
a5b947fa
GS
5672016-12-12 George Spelvin <linux@sciencehorizons.net>
568
569 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
570 R16 instead of push + pop.
571 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
572
d6574dd1
KW
5732016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
574
575 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
576 tmake_file.
577
62440b4f
CM
5782016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
579
580 * config.host (arc*-*-linux-uclibc*): Use default extra
581 objects. Include linux-android header.
582 * config/arc/crti.S (_init): Declare symbol as function.
583 (_fini): Likewise.
584
31cfd832
TK
5852016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
586
587 PR fortran/78379
588 * config/i386/cpuinfo.c: Move denums for processor vendors,
589 processor type, processor subtypes and declaration of
590 struct __processor_model into
591 * config/i386/cpuinfo.h: New header file.
592
c92e08e3
AV
5932016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
594 Thomas Preud'homme <thomas.preudhomme@arm.com>
595
596 * config/arm/cmse_nonsecure_call.S: New.
597 * config/arm/t-arm: Compile cmse_nonsecure_call.S
598
de7b5723
AV
5992016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
600 Thomas Preud'homme <thomas.preudhomme@arm.com>
601
602 * config/arm/t-arm (HAVE_CMSE): New.
603 * config/arm/cmse.c: New.
604
7a0d2bce
TP
6052016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
606
b3a5bff4
TP
607 PR gcc/74748
608 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
609 use generic linker version information on Blackfin.
610
7a0d2bce
TP
611 PR gcc/74748
612 * libgcc/mkmap-symver.awk: add support for skip_underscore
613
b410cf1d
IS
6142016-11-27 Iain Sandoe <iain@codesourcery.com>
615 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
616
617 PR target/67710
618 * config/t-darwin: Default builds to 10.5 codegen.
619
2e5f8203
JG
6202016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
621
622 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
623 (_FP_NANSIGN_H): Likewise.
624 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
625 (softfp_truncations): Add tfhf.
626 (softfp_extras): Add required conversion functions.
627
bea64ca3
JG
6282016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
629 Matthew Wahab <matthew.wahab@arm.com>
630
631 * config/arm/fp16.c (binary64): New.
632 (__gnu_d2h_internal): New.
633 (__gnu_d2h_ieee): New.
634 (__gnu_d2h_alternative): New.
635
8630cadb
JG
6362016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
637 Matthew Wahab <matthew.wahab@arm.com>
638
639 * config/arm/fp16.c (struct format): New.
640 (binary32): New.
641 (__gnu_float2h_internal): New. Body moved from
642 __gnu_f2h_internal and generalize.
643 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
644 Call it with binary32.
645
5823ef23
JG
6462016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
647
648 * soft-fp/extendhftf2.c: Update from glibc.
649 * soft-fp/fixhfti.c: Likewise.
650 * soft-fp/fixunshfti.c: Likewise.
651 * soft-fp/floattihf.c: Likewise.
652 * soft-fp/floatuntihf.c: Likewise.
653 * soft-fp/half.h: Likewise.
654 * soft-fp/trunctfhf2.c: Likewise.
655
62a7df9f
MG
6562016-11-20 Marc Glisse <marc.glisse@inria.fr>
657
658 PR libgcc/77813
659 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
660 __TMC_END__ behind a passthrough asm.
661
7a384912
WL
6622016-11-18 Walter Lee <walt@tilera.com>
663
62a7df9f 664 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 665
9775c1a5
L
6662016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
667
668 * config/i386/cpuinfo.c (processor_features): Add
669 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
670
48c842ab
CZ
6712016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
672
673 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
674 (__ARC_NORM__): Use instead ARC_OPTFPE.
675 * config/arc/fp-hack.h: Likewise.
676 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
677 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
678
5012919d
AM
6792016-11-16 Alexander Monakov <amonakov@ispras.ru>
680
681 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
682 * config/nvptx/mgomp.c: New file.
683 * config/nvptx/t-nvptx: Add mgomp.c
684
00178b98
WB
6852016-11-16 Waldemar Brodkorb <wbx@openadk.org>
686
687 PR libgcc/68468
688 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
689
d64af69f
CZ
6902016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
691
692 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
693 of checking for cpus.
694 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
695 (__modsi3, __clzsi2): Likewise.
696
9d8f95de
SN
6972016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
698
699 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
700 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
701 * config/i386/t-cpuinfo-static: New.
702
7d29f8e3
ML
7032016-11-03 Martin Liska <mliska@suse.cz>
704
705 * libgcov-profiler.c (__gcov_time_profiler): Remove.
706 (__gcov_time_profiler_atomic): Likewise.
707
5de3e2d8
BE
7082016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
709
710 PR libgcc/78067
711 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
712 count_leading_zeros.
713
18362447
UB
7142016-11-02 Uros Bizjak <ubizjak@gmail.com>
715
716 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
717 * libgcc2.c (__divmoddi4): New function.
718 * libgcc2.h (__divmoddi4): Declare.
719 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
720 and __PFX_divmodti4.
721
33107571
FW
7222016-10-24 Florian Weimer <fweimer@redhat.com>
723
724 PR libgcc/78064
725 * unwind-c.c: Include auto-target.h.
726
4c6d7494
JDA
7272016-10-19 John David Anglin <danglin@gcc.gnu.org>
728
18362447 729 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
730 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
731 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
732 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
733 hppa*64*-*-hpux11*.
734
2a26adf1
MF
7352016-10-18 Max Filippov <jcmvbkbc@gmail.com>
736
737 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
738 definition.
739 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
740 definition.
741 * config/xtensa/t-windowed (LIB2ADDEH): Use
742 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
743 or xtensa/t-linux.
744
66192aa1
DKC
7452016-10-18 Ding-Kai Chen <dkchen@cadence.com>
746
747 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
748 __ieee754_sqrt): New functions.
749 (__divdf3): Add implementation with new FPU instructions under
750 #if XCHAL_HAVE_DFP_DIV.
751 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
752 __ieee754_sqrtf): New functions.
753 (__divsf3): Add implementation with new FPU instructions under
754 #if XCHAL_HAVE_FP_DIV.
755 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
756 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
757
4d0cdd0c
TP
7582016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
759
760 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
761 equivalent.
762 * config/tilepro/atomic.c: Likewise and stop casting model to
763 enum memmodel.
764
73f01cca
JM
7652016-10-10 Joseph Myers <joseph@codesourcery.com>
766
767 PR target/77586
768 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
769 soft-fp.
770
b20e7532
AT
7712016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
772
773 * config.host: Add support for aarch64-*-freebsd*.
774
a786cec4
AS
7752016-10-05 Andreas Schwab <schwab@suse.de>
776
777 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
778 (.section .init_array): Don't call __do_jv_register_classes.
779 (.section .init): Likewise.
780
5a79befb
JJ
7812016-10-04 Jakub Jelinek <jakub@redhat.com>
782
783 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
784 (__JCR_LIST__): Remove.
785 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
786 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
787 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
788 * config/ia64/crtend.S (__JCR_END__): Remove.
789 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
790 conditionals.
791 (__JCR_LIST__, __JCR_END__): Remove.
792 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
793 (__do_global_ctors_1): Likewise.
794
e0ab3753
UB
7952015-09-28 Uros Bizjak <ubizjak@gmail.com>
796
797 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
798 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
799
8c9434c2
ML
8002016-09-27 Martin Liska <mliska@suse.cz>
801
802 PR gcov-profile/7970
803 PR gcov-profile/16855
804 PR gcov-profile/44779
805 * libgcov-driver.c (__gcov_init): Do not register a atexit
806 handler.
807 (__gcov_exit): Rename from gcov_exit.
808 * libgcov.h (__gcov_exit): Declare.
809
56b653f1
ML
8102016-09-27 Martin Liska <mliska@suse.cz>
811
812 PR bootstrap/77749
813 * Makefile.in: Remove _gcov_merge_delta.
814 * libgcov-merge.c (void __gcov_merge_delta): Remove.
815 * libgcov-util.c (__gcov_delta_counter_op): Remove.
816 * libgcov.h: Remove declaration of __gcov_merge_delta.
817
7e02fd1b
EB
8182016-09-21 Eric Botcazou <ebotcazou@adacore.com>
819
820 * configure.ac: Do not create links, only substitute the filenames.
821 * configure: Regenerate.
822 * Makefile.in: Assign the substitution results to variables.
823 (LIBGCC_LINKS): Define.
824 (enable-execute-stack.c): New rule.
825 (unwind.h): Likewise.
826 (md-unwind-support.h): Likewise.
827 (sfp-machine.h): Likewise.
828 (gthr-default.h): Likewise.
829 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
830 unwind.h as prerequisite of install-unwind_h-forbuild.
831
29991048
JJ
8322016-09-16 Jakub Jelinek <jakub@redhat.com>
833
834 PR libgcc/71744
835 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
836 is not the primary registry and atomics are available.
837 (any_objects_registered): New variable.
838 (__register_frame_info_bases, __register_frame_info_table_bases):
839 Atomically store 1 to any_objects_registered after registering first
840 unwind info.
841 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
842
0abcd6cc
JG
8432016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
844
845 PR target/63250
846 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
847 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
848 (HFtype): Likewise.
849 (HCtype): Likewise.
850 (__divhc3): Likewise.
851 (__mulhc3): Likewise.
852 * libgcc2.c: Support _mulhc3 and _divhc3.
853
d758aeb5
JM
8542016-09-07 Joseph Myers <joseph@codesourcery.com>
855
856 PR libgcc/77519
857 * libgcc2.c (NOTRUNC): Invert settings.
858
7fe76f6a
ML
8592016-09-06 Martin Liska <mliska@suse.cz>
860
861 PR gcov-profile/77378
862 PR gcov-profile/77466
863 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
864 conditionaly enable/disable *_atomic functions.
865
21184026
JM
8662016-08-26 Joseph Myers <joseph@codesourcery.com>
867
868 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
869 where not already enabled.
870
726f49c3
SN
8712016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
872
873 * config/mips/linux-unwind.h: Use sys/syscall.h.
874
feeb6268
JM
8752016-08-16 Joseph Myers <joseph@codesourcery.com>
876
877 PR libgcc/77265
878 * soft-fp/adddf3.c: Update from glibc.
879 * soft-fp/addsf3.c: Likewise.
880 * soft-fp/addtf3.c: Likewise.
881 * soft-fp/divdf3.c: Likewise.
882 * soft-fp/divsf3.c: Likewise.
883 * soft-fp/divtf3.c: Likewise.
884 * soft-fp/double.h: Likewise.
885 * soft-fp/eqdf2.c: Likewise.
886 * soft-fp/eqsf2.c: Likewise.
887 * soft-fp/eqtf2.c: Likewise.
888 * soft-fp/extenddftf2.c: Likewise.
889 * soft-fp/extended.h: Likewise.
890 * soft-fp/extendsfdf2.c: Likewise.
891 * soft-fp/extendsftf2.c: Likewise.
892 * soft-fp/extendxftf2.c: Likewise.
893 * soft-fp/fixdfdi.c: Likewise.
894 * soft-fp/fixdfsi.c: Likewise.
895 * soft-fp/fixdfti.c: Likewise.
896 * soft-fp/fixsfdi.c: Likewise.
897 * soft-fp/fixsfsi.c: Likewise.
898 * soft-fp/fixsfti.c: Likewise.
899 * soft-fp/fixtfdi.c: Likewise.
900 * soft-fp/fixtfsi.c: Likewise.
901 * soft-fp/fixtfti.c: Likewise.
902 * soft-fp/fixunsdfdi.c: Likewise.
903 * soft-fp/fixunsdfsi.c: Likewise.
904 * soft-fp/fixunsdfti.c: Likewise.
905 * soft-fp/fixunssfdi.c: Likewise.
906 * soft-fp/fixunssfsi.c: Likewise.
907 * soft-fp/fixunssfti.c: Likewise.
908 * soft-fp/fixunstfdi.c: Likewise.
909 * soft-fp/fixunstfsi.c: Likewise.
910 * soft-fp/fixunstfti.c: Likewise.
911 * soft-fp/floatdidf.c: Likewise.
912 * soft-fp/floatdisf.c: Likewise.
913 * soft-fp/floatditf.c: Likewise.
914 * soft-fp/floatsidf.c: Likewise.
915 * soft-fp/floatsisf.c: Likewise.
916 * soft-fp/floatsitf.c: Likewise.
917 * soft-fp/floattidf.c: Likewise.
918 * soft-fp/floattisf.c: Likewise.
919 * soft-fp/floattitf.c: Likewise.
920 * soft-fp/floatundidf.c: Likewise.
921 * soft-fp/floatundisf.c: Likewise.
922 * soft-fp/floatunditf.c: Likewise.
923 * soft-fp/floatunsidf.c: Likewise.
924 * soft-fp/floatunsisf.c: Likewise.
925 * soft-fp/floatunsitf.c: Likewise.
926 * soft-fp/floatuntidf.c: Likewise.
927 * soft-fp/floatuntisf.c: Likewise.
928 * soft-fp/floatuntitf.c: Likewise.
929 * soft-fp/gedf2.c: Likewise.
930 * soft-fp/gesf2.c: Likewise.
931 * soft-fp/getf2.c: Likewise.
932 * soft-fp/ledf2.c: Likewise.
933 * soft-fp/lesf2.c: Likewise.
934 * soft-fp/letf2.c: Likewise.
935 * soft-fp/muldf3.c: Likewise.
936 * soft-fp/mulsf3.c: Likewise.
937 * soft-fp/multf3.c: Likewise.
938 * soft-fp/negdf2.c: Likewise.
939 * soft-fp/negsf2.c: Likewise.
940 * soft-fp/negtf2.c: Likewise.
941 * soft-fp/op-1.h: Likewise.
942 * soft-fp/op-2.h: Likewise.
943 * soft-fp/op-4.h: Likewise.
944 * soft-fp/op-8.h: Likewise.
945 * soft-fp/op-common.h: Likewise.
946 * soft-fp/quad.h: Likewise.
947 * soft-fp/single.h: Likewise.
948 * soft-fp/soft-fp.h: Likewise.
949 * soft-fp/subdf3.c: Likewise.
950 * soft-fp/subsf3.c: Likewise.
951 * soft-fp/subtf3.c: Likewise.
952 * soft-fp/truncdfsf2.c: Likewise.
953 * soft-fp/trunctfdf2.c: Likewise.
954 * soft-fp/trunctfsf2.c: Likewise.
955 * soft-fp/trunctfxf2.c: Likewise.
956 * soft-fp/unorddf2.c: Likewise.
957 * soft-fp/unordsf2.c: Likewise.
958 * soft-fp/unordtf2.c: Likewise.
959
2e6fc1ac
GG
9602016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
961
962 PR gcov-profile/67097
963 * libgcov-util.c (gcov_profile_merge): Skip missing files.
964
a266236e
ML
9652016-08-10 Martin Liska <mliska@suse.cz>
966
967 PR gcov-profile/58306
968 * Makefile.in: New functions (modules) are added.
969 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
970 function.
971 (__gcov_pow2_profiler_atomic): New function.
972 (__gcov_one_value_profiler_body): New argument is instroduced.
973 (__gcov_one_value_profiler): Call with the new argument.
974 (__gcov_one_value_profiler_atomic): Likewise.
975 (__gcov_indirect_call_profiler_v2): Likewise.
976 (__gcov_time_profiler_atomic): New function.
977 (__gcov_average_profiler_atomic): Likewise.
978 (__gcov_ior_profiler_atomic): Likewise.
979 * libgcov.h: Declare the aforementioned functions.
980
e0c8eebf
ML
9812016-08-09 Martin Liska <mliska@suse.cz>
982
983 * libgcov-util.c: Fix typo and GNU coding style.
984
6dce6418
ML
9852016-08-09 Martin Liska <mliska@suse.cz>
986
987 * Makefile.in: Remove __gcov_indirect_call_profiler.
988 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
989 function.
990 * libgcov.h: And the declaration of the function.
991
dcb1e137
ML
9922016-08-09 Martin Liska <mliska@suse.cz>
993
994 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
995 power of two.
996
d6e69705
BS
9972016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
998
999 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
1000 * config/rs6000/_mulkc3.c: Likewise.
1001
96aa1f95
GJL
10022016-07-29 Georg-Johann Lay <avr@gjlay.de>
1003
1004 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
1005 zero_reg as previous call to __umulhisi3 already cleared it.
1006
a1b01d34
AJ
10072016-07-21 Aurelien Jarno <aurelien@aurel32.net>
1008
1009 PR target/59833
1010 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
1011
985a47b2
NC
10122016-07-19 Nick Clifton <nickc@redhat.com>
1013
1014 * config.host (m32r): Add m32r/t-m32r to tmake_file.
1015 Add crtinit.o and crtfini.o to extra_parts.
1016
f906f5ed
BS
10172016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1018
1019 * config/rs6000/_divkc3.c: New.
1020 * config/rs6000/_mulkc3.c: New.
1021 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
1022 and _divkc3.
1023 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
1024 fp128_ppc_funcs.
1025
82742404
HW
10262016-07-11 Hale Wang <hale.wang@arm.com>
1027 Andre Vieira <andre.simoesdiasvieira@arm.com>
1028
1029 * config/arm/lib1funcs.S: Add new wrapper.
1030
05a437c1
TP
10312016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1032
1033 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
1034
3d16d9ec
TP
10352016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1036
1037 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
1038 and ARMv5t* rather than for a fixed list of architectures.
1039
6f493951
TP
10402016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
1041
1042 * config/arm/bpabi-v6m.S: Clarify what architectures is the
1043 implementation suitable for.
1044 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
1045 for all Thumb-1 only targets.
1046 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
1047 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
1048 __ARM_ARCH_6M__.
1049 (EQUIV): Likewise.
1050 (ARM_FUNC_ALIAS): Likewise.
1051 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
1052 version.
1053 (modsi3): Likewise.
1054 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
1055 (clzdi2): Likewise.
1056 (ctzsi2): Likewise.
1057 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
1058 __ARM_ARCH_6M__ in guard for checking whether it is defined.
1059 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
1060 __ARM_ARCH_6M__ and add comment to indicate the connection between
1061 this condition and the one in gcc/config/arm/elf.h.
1062 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
1063 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
1064 * config/arm/t-softfp: Likewise.
1065
1770511a
TS
10662016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1067
1068 * libgcc2.c (SYMBOL__MAIN): Remove checks for
1069 CTOR_LISTS_DEFINED_EXTERNALLY.
1070
ba6be749
WL
10712016-06-28 Walter Lee <walt@tilera.com>
1072
1073 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
1074 asm/unistd.h.
1075 (SPR_CMPEXCH_VALUE): Define for tilegx.
1076 (__NR_FAST_cmpxchg): Define for tilepro.
1077 (__NR_FAST_atomic_update): Define for tilepro.
1078 (__NR_FAST_cmpxchg64): Define for tilepro.
1079
a34c0db5
JS
10802016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
1081
18362447 1082 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 1083
0609abda
TS
10842016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1085
1086 * config.host: Remove support for mep-*.
1087 * config/mep/lib1funcs.S: Remove.
1088 * config/mep/lib2funcs.c: Remove.
1089 * config/mep/t-mep: Remove.
1090 * config/mep/tramp.c: Remove.
1091
3e326935
TS
10922016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1093
1094 * config.host: Remove support for avr-rtems.
1095 * config/avr/t-rtems: Remove.
1096
914b155c
TS
10972016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1098
1099 * config.host: Remove m32r-rtems support.
1100
5ebf89bd
TS
11012016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1102
1103 * config.host: Remove h8300-rtems support.
1104
8466af06
TS
11052016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1106
1107 * config.host: Remove support for knetbsd.
1108
d980e738
TS
11092016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1110
1111 * config.host: Remove support for openbsd 2 and 3.
1112
ee2499b4
TS
11132016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1114
1115 * config.host: Remove interix support.
1116 * config/i386/t-interix: Remove.
1117
9f92937b
JDA
11182016-06-18 John David Anglin <danglin@gcc.gnu.org>
1119
1120 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
1121 least-significant bit in function pointer for fixup.
1122
0a0ec53d
AC
11232016-06-05 Aaron Conole <aconole@redhat.com>
1124 Nathan Sidwell <nathan@acm.org>
1125
1126 PR libgcc/71400
1127 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1128 (get_gcov_error_file): Check __gcov_error_file before trying to
1129 initialize it.
1130 (gcov_error): Always use get_gcov_error_file.
1131
8aa5bdd6
AC
11322016-06-02 Aaron Conole <aconole@redhat.com>
1133
1134 * libgcov-driver-system.c (__gcov_error_file): New.
1135 (get_gcov_error_file): New.
1136 (gcov_error): Use and set __gcov_error_file.
1137 (gcov_error_exit): New.
1138 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1139
40774faf
NS
11402016-05-26 Nathan Sidwell <nathan@acm.org>
1141
1142 * config/nvptx/free.asm: Delete.
1143 * config/nvptx/malloc.asm: Delete.
1144 * config/nvptx/realloc.c: Delete.
1145 * t-nvptx: Update.
1146
69a6d5ad
NS
11472016-05-25 Nathan Sidwell <nathan@acm.org>
1148
1149 * config/nvptx/crt0.s: Delete.
1150 * config/nvptx/crt0.c: New.
1151 * t-nvptx: Update.
1152
6befaff6
SL
11532016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1154
385c7747 1155 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
1156 dw2/seh configuration.
1157 [x86_64-*-mingw*]: Likewise.
1158
ad251dfd
JS
11592016-05-10 Joel Sherrill <joel@rtems.org>
1160
1161 PR libgcc/70720
1162 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1163 targets so the same extra_parts are built. Also have tmake_file add
1164 on to its value rather than override.
1165
bc6d9014
OE
11662016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1167
1168 * config.host: Remove SH5 support.
1169 * configure: Likewise.
1170
9129c8cf
OE
11712016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1172
1173 * config/sh/crt1.S: Remove SH5 support.
1174 * config/sh/crti.S: Likewise.
1175 * config/sh/crtn.S: Likewise.
1176 * config/sh/lib1funcs-4-300.S: Likewise.
1177 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1178 * config/sh/lib1funcs.S: Likewise.
1179 * config/sh/linux-unwind.h: Likewise.
1180 * config/sh/t-sh64: Delete.
1181
39d50464
CZ
11822016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1183
1184 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1185
8b48923b
CZ
11862016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1187 Joern Rennecke <joern.rennecke@embecosm.com>
1188
1189 * config/arc/crttls.S: New file.
1190 * config/arc/t-arc: New rule.
1191 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1192
2de1cf8c
NC
11932016-04-25 Nick Clifton <nickc@redhat.com>
1194
1195 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1196 (__mspabi_cmpd): Likewise.
1197 * config/msp430/floathidf.c (__floathidf): Likewise.
1198 * config/msp430/floathisf.c (__floathisf): Likewise
1199 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1200 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1201 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1202 second parameter.
1203 (__ashrsi3): Likewise.
1204
b8ce3fe2
WB
12052016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1206
1207 * config/m68k/linux-atomic.c: Do not include unistd.h
1208
4986f823
MG
12092016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1210
1211 * config/arm/ieee754-df.S: Fix typos in comments.
1212
35fbda43
MM
12132016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1214
1215 PR target/70381
1216 * configure.ac (powerpc*-*-linux*): Rework tests to build
1217 __float128 emulation routines to not depend on using #pragma GCC
1218 target to enable -mfloat128.
1219 * configure: Regnerate.
1220
72d1a48d
EB
12212016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1222
1223 PR target/67172
1224 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1225 __MINGW32__ is defined.
1226
dc2e8995
JB
12272016-03-28 James Bowman <james.bowman@ftdichip.com>
1228
385c7747 1229 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 1230
104cdaf1
MM
12312016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1232
1233 PR libgcc/70363
1234 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1235 built with an assembler that does not support ISA 3.0
1236 instructions, rename __extendkftf2_sw to __extendkftf2.
1237
a5046f48
RO
12382016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1239
1240 PR target/38239
1241 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1242 call-clobbered registers.
1243 (internal_mcount): Remove __i386__ handling.
1244
df674f74
JS
12452016-02-26 Joel Sherrill <joel@rtems.org>
1246
1247 * config.host: Add x86_64-*-rtems*.
1248
7cb065d6
JS
12492016-02-26 Joel Sherrill <joel@rtems.org>
1250
1251 * libgcc/config.host: Add aarch64-*-rtems*.
1252
47dfdc53
PM
12532016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1254 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1255
1256 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1257 union of u64 and double.
1258 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1259 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1260 value.
1261 (FP_ROUNDMODE): Update the usage of _fpscr.
1262
e6861a99
IV
12632016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1264
1265 PR driver/68463
1266 * Makefile.in (crtoffloadtable$(objext)): New rule.
1267 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1268 enable_offload_targets is not empty.
1269 * configure: Regenerate.
1270 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1271 crtoffloadtable.
1272
9bfcbdee
MF
12732016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1274
1275 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1276 .literal_position before the function.
1277 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1278 Likewise.
1279
4cb4721f
MK
12802016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1281
1282 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1283 * config/s390/morestack.S: New file.
1284 * config/s390/t-stack-s390: New file.
1285 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1286
b29d9a29
WL
12872016-02-12 Walter Lee <walt@tilera.com>
1288
1289 * config.host (tilegx*-*-linux*): remove ti from
1290 softfp_int_modes for 32-bit configs.
1291
03a0ae7d
ILT
12922016-02-10 Ian Lance Taylor <iant@google.com>
1293
1294 PR go/68562
1295 * config/i386/morestack.S (__stack_split_initialize): Align
1296 stack.
1297
68750bce
AT
12982016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1299
1300 PR bootstrap/69611
1301 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1302 __FLOAT128__ to compile only for __float128 capable targets.
1303
7d296953
JJ
13042016-01-25 Jakub Jelinek <jakub@redhat.com>
1305
1306 PR target/69444
1307 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1308 instead of ___NO_FPRS__.
1309
a71c0334 13102016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1311 Steven Munroe <munroesj@linux.vnet.ibm.com>
1312 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
1313
1314 * config/rs6000/float128-sed: New files to convert TF names to KF
1315 names for PowerPC IEEE 128-bit floating point support.
1316 * config/rs6000/float128-sed-hw: Likewise.
1317
1318 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1319 floating point hardware support.
1320
1321 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1322 128-bit floating point software emulation or use ISA 3.0 hardware
1323 support if it is available.
1324
1325 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1326 floating point.
1327
1328 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1329 floating point to IBM extended double.
1330
1331 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1332 double to IEEE 128-bit floating point.
1333
1334 * config/rs6000/t-float128: New Makefile fragments to enable
1335 building __float128 emulation support.
1336 * config/rs6000/t-float128-hw: Likewise.
1337
1338 * config/rs6000/sfp-exceptions.c: New file to provide exception
1339 support for IEEE 128-bit floating point.
1340
1341 * config/rs6000/floattikf.c: New files for converting between IEEE
1342 128-bit floating point and signed/unsigned 128-bit integers.
1343 * config/rs6000/fixunskfti.c: Likewise.
1344 * config/rs6000/fixkfti.c: Likewise.
1345 * config/rs6000/floatuntikf.c: Likewise.
1346
1347 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1348 when building on 64-bit systems, or when VSX is enabled.
1349 (_FP_W_TYPE): Likewise.
1350 (_FP_WS_TYPE): Likewise.
1351 (_FP_I_TYPE): Likewise.
1352 (TItype): Define on 64-bit systems.
1353 (UTItype): Likewise.
1354 (TI_BITS): Likewise.
1355 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1356 (_FP_MUL_MEAT_Q): Likewise.
1357 (_FP_DIV_MEAT_D): Likewise.
1358 (_FP_DIV_MEAT_Q): Likewise.
1359 (_FP_NANFRAC_D): Likewise.
1360 (_FP_NANFRAC_Q): Likewise.
1361 (ISA_BIT): Add exception support if we are being compiled on a
1362 machine with hardware floating point support to build the IEEE
1363 128-bit emulation functions.
1364 (FP_EX_INVALID): Likewise.
1365 (FP_EX_OVERFLOW): Likewise.
1366 (FP_EX_UNDERFLOW): Likewise.
1367 (FP_EX_DIVZERO): Likewise.
1368 (FP_EX_INEXACT): Likewise.
1369 (FP_EX_ALL): Likewise.
1370 (__sfp_handle_exceptions): Likewise.
1371 (FP_HANDLE_EXCEPTIONS): Likewise.
1372 (FP_RND_NEAREST): Likewise.
1373 (FP_RND_ZERO): Likewise.
1374 (FP_RND_PINF): Likewise.
1375 (FP_RND_MINF): Likewise.
1376 (FP_RND_MASK): Likewise.
1377 (_FP_DECL_EX): Likewise.
1378 (FP_INIT_ROUNDMODE): Likewise.
1379 (FP_ROUNDMODE): Likewise.
1380
1381 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1382 VSX code, enable IEEE 128-bit floating point. If the compiler can
1383 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1384 floating point hardware instructions and it supports declaring
1385 functions with the ifunc attribute, enable ifunc functions to
1386 switch between software and hardware support.
1387 * configure.ac (powerpc*-*-linux*): Likewise.
1388 * configure: Regenerate.
1389
bdc27e50
NC
13902016-01-15 Nick Clifton <nickc@redhat.com>
1391
1392 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1393 dependency as the source file to be compiled.
1394 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1395 (lib2hw_mul_f5.o): Likewise.
1396
006df05d
MM
13972016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1398
1399 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1400 * libgcc/config/rs6000/fixkfti.c: Likewise.
1401 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1402 * libgcc/config/rs6000/float128-hw.c: Likewise.
1403 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1404 * libgcc/config/rs6000/float128-sed: Likewise.
1405 * libgcc/config/rs6000/floattikf.c: Likewise.
1406 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1407 * libgcc/config/rs6000/quad-float128.h: Likewise.
1408 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1409 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1410 * libgcc/config/rs6000/t-float128: Likewise.
1411 * libgcc/config/rs6000/t-float128-hw: Likewise.
1412 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1413 * libgcc/config.host: Likewise.
1414 * libgcc/configure: Likewise.
1415 * libgcc/configure.ac: Likewise.
1416
29176d57 14172016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
1418 Steven Munroe <munroesj@linux.vnet.ibm.com>
1419 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
1420
1421 * config/rs6000/sfp-exceptions.c: New file to provide exception
1422 support for IEEE 128-bit floating point.
1423
1424 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1425 floating point hardware support.
1426
1427 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1428 point conversions.
1429 * config/rs6000/fixunskfti.c: Likewise.
1430 * config/rs6000/fixkfti.c: Likewise.
1431 * config/rs6000/floatuntikf.c: Likewise.
1432 * config/rs6000/extendkftf2-sw.c: Likewise.
1433 * config/rs6000/trunctfkf2-sw.c: Likewise.
1434
1435 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1436 128-bit floating point software emulation or use ISA 3.0 hardware
1437 support if it is available.
1438
1439 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1440 floating point.
1441
1442 * config/rs6000/t-float128: New Makefile fragments to enable
1443 building __float128 emulation support.
1444 * config/rs6000/t-float128-hw: Likewise.
1445
1446 * config/rs6000/float128-sed: New file to convert TF names to KF
1447 names for PowerPC IEEE 128-bit floating point support.
1448
1449 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1450 when building on 64-bit systems, or when VSX is enabled.
1451 (_FP_W_TYPE): Likewise.
1452 (_FP_WS_TYPE): Likewise.
1453 (_FP_I_TYPE): Likewise.
1454 (TItype): Define on 64-bit systems.
1455 (UTItype): Likewise.
1456 (TI_BITS): Likewise.
1457 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1458 (_FP_MUL_MEAT_Q): Likewise.
1459 (_FP_DIV_MEAT_D): Likewise.
1460 (_FP_DIV_MEAT_Q): Likewise.
1461 (_FP_NANFRAC_D): Likewise.
1462 (_FP_NANFRAC_Q): Likewise.
1463 (ISA_BIT): Add exception support if we are being compiled on a
1464 machine with hardware floating point support to build the IEEE
1465 128-bit emulation functions.
1466 (FP_EX_INVALID): Likewise.
1467 (FP_EX_OVERFLOW): Likewise.
1468 (FP_EX_UNDERFLOW): Likewise.
1469 (FP_EX_DIVZERO): Likewise.
1470 (FP_EX_INEXACT): Likewise.
1471 (FP_EX_ALL): Likewise.
1472 (__sfp_handle_exceptions): Likewise.
1473 (FP_HANDLE_EXCEPTIONS): Likewise.
1474 (FP_RND_NEAREST): Likewise.
1475 (FP_RND_ZERO): Likewise.
1476 (FP_RND_PINF): Likewise.
1477 (FP_RND_MINF): Likewise.
1478 (FP_RND_MASK): Likewise.
1479 (_FP_DECL_EX): Likewise.
1480 (FP_INIT_ROUNDMODE): Likewise.
1481 (FP_ROUNDMODE): Likewise.
1482
1483 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1484 compiler can do __float128.
1485 * configure: Regenerate.
1486
1487 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1488 VSX code, enable IEEE 128-bit floating point.
1489
a2218983
OH
14902016-01-05 Olivier Hainque <hainque@adacore.com>
1491
1492 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 1493 specificities.
a2218983 1494
818ab71a
JJ
14952016-01-04 Jakub Jelinek <jakub@redhat.com>
1496
1497 Update copyright years.
1498
5a6c8ffa
AP
14992015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1500
1501 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 1502 soft-fp targets.
5a6c8ffa 1503
077067a5
BE
15042015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1505
1506 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1507 instead of abort to avoid dependency on stdlib.h.
1508
787c1027
JDA
15092015-12-09 John David Anglin <danglin@gcc.gnu.org>
1510
1511 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1512 to initialize call to __dl_fixup once.
1513
04a9ae28
NC
15142015-12-04 Nick Clifton <nickc@redhat.com>
1515
1516 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1517 Allow for the second argument being negative.
1518 * config.host (extra_parts): Define for MSP430. Create separate
1519 libraries for each of the hardware multiply formats.
1520 * config/msp430/lib2hw_mul.S: Build only the multiply routines
1521 that are needed.
1522 * config/msp430/lib2mul.c: Likewise.
1523 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1524 Add rules to build hardware multiply libraries.
1525 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1526 __mspabi_divul function.
1527 (__mspabi_divllu): New stub function.
1528
9a32d437
JDA
15292015-12-01 John David Anglin <danglin@gcc.gnu.org>
1530
1531 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1532 fixup values if saved GOT address doesn't match runtime address.
1533 (fixup_branch_offset): Reorder list.
1534
e5ef217c
RO
15352015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1536
1537 * Makefile.in (VTV_CFLAGS): New variable.
1538 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1539 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1540 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1541 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1542 to extra_parts if $enable_vtable_verify = yes.
1543
78cc43a2
SN
15442015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
1545
1546 PR target/68059
1547 * config/arm/linux-atomic-64bit.c (__write): Rename to...
1548 (write): ...this and fix the return type.
1549
9afebea2
DD
15502015-11-19 DJ Delorie <dj@redhat.com>
1551
1552 * config/msp430/lib2hw_mul.S: Fix alignment.
1553
33f47f42
NS
15542015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1555
1556 * config/nvptx/reduction.c: New.
1557 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1558
d9adb476
DE
15592015-11-15 David Edelsohn <dje.gcc@gmail.com>
1560
1561 * config/rs6000/on_exit.c: New file.
1562 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1563 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1564
c0ab1970
CZ
15652015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1566
1567 * config/arc/dp-hack.h: Add support for ARCHS.
1568 * config/arc/ieee-754/divdf3.S: Likewise.
1569 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1570 * config/arc/ieee-754/muldf3.S: Likewise.
1571 * config/arc/ieee-754/mulsf3.S: Likewise
1572 * config/arc/lib1funcs.S: Likewise
1573 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1574 for ARCv2 cores.
1575 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1576 for ARCv2 cores.
1577 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1578 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1579 cores.
1580
e6b6bf09
RO
15812015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1582
1583 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1584 value.
1585 * config/ia64/crtend.S: Likewise.
1586
a153644f
TS
15872015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1588
1589 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1590 __CHAR_BIT__ instead of BITS_PER_UNIT.
1591 * fixed-bit.h: Likewise.
1592 * fp-bit.h: Likewise.
1593 * libgcc2.c (__popcountSI2): Likewise.
1594 (__popcountDI2): Likewise.
1595 * libgcc2.h: Likewise.
1596 * libgcov.h: Likewise.
1597
3dee689d
DE
15982015-11-07 David Edelsohn <dje.gcc@gmail.com>
1599
1600 * config/rs6000/atexit.c: New file.
1601 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1602 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1603 * config/rs6000/cxa_finalize.c
1604 (catomic_compare_and_exchange_bool_acq): Negate return value.
1605
2ef543e4
VK
16062015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1607
1608 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1609 (processor_subtypes): Add znver1.
1610 (get_amd_cpu): Detect znver1.
1611
1300f017
CL
16122015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1613
1614 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1615 Include crtfastmath.o.
1616
3e5bb7ee
JR
16172015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1618
1619 PR libgcc/66883
1620 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 1621
793aa938
KP
16222015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1623
1624 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1625 * config/rl78/divmodsi.S: Update return register to r8.
1626 * config/rl78/divmodhi.S: Update return register to r8,r9.
1627 Branch to main_loop_done_himode to pop registers before return.
1628
7d296953 16292015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
1630
1631 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1632 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1633
6a192b5a
KY
16342015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1635
1636 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1637
4a0a9457
MF
16382015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1639
1640 * config.host (xtensa*-*-uclinux*): New configuration.
1641
ab91c076
KY
16422015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1643
385c7747 1644 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
1645 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1646
30954527
JM
16472015-09-28 Joseph Myers <joseph@codesourcery.com>
1648
1649 * soft-fp/adddf3.c: Update from glibc.
1650 * soft-fp/addsf3.c: Likewise.
1651 * soft-fp/addtf3.c: Likewise.
1652 * soft-fp/divdf3.c: Likewise.
1653 * soft-fp/divsf3.c: Likewise.
1654 * soft-fp/divtf3.c: Likewise.
1655 * soft-fp/double.h: Likewise.
1656 * soft-fp/eqdf2.c: Likewise.
1657 * soft-fp/eqsf2.c: Likewise.
1658 * soft-fp/eqtf2.c: Likewise.
1659 * soft-fp/extenddftf2.c: Likewise.
1660 * soft-fp/extended.h: Likewise.
1661 * soft-fp/extendsfdf2.c: Likewise.
1662 * soft-fp/extendsftf2.c: Likewise.
1663 * soft-fp/extendxftf2.c: Likewise.
1664 * soft-fp/fixdfdi.c: Likewise.
1665 * soft-fp/fixdfsi.c: Likewise.
1666 * soft-fp/fixdfti.c: Likewise.
1667 * soft-fp/fixsfdi.c: Likewise.
1668 * soft-fp/fixsfsi.c: Likewise.
1669 * soft-fp/fixsfti.c: Likewise.
1670 * soft-fp/fixtfdi.c: Likewise.
1671 * soft-fp/fixtfsi.c: Likewise.
1672 * soft-fp/fixtfti.c: Likewise.
1673 * soft-fp/fixunsdfdi.c: Likewise.
1674 * soft-fp/fixunsdfsi.c: Likewise.
1675 * soft-fp/fixunsdfti.c: Likewise.
1676 * soft-fp/fixunssfdi.c: Likewise.
1677 * soft-fp/fixunssfsi.c: Likewise.
1678 * soft-fp/fixunssfti.c: Likewise.
1679 * soft-fp/fixunstfdi.c: Likewise.
1680 * soft-fp/fixunstfsi.c: Likewise.
1681 * soft-fp/fixunstfti.c: Likewise.
1682 * soft-fp/floatdidf.c: Likewise.
1683 * soft-fp/floatdisf.c: Likewise.
1684 * soft-fp/floatditf.c: Likewise.
1685 * soft-fp/floatsidf.c: Likewise.
1686 * soft-fp/floatsisf.c: Likewise.
1687 * soft-fp/floatsitf.c: Likewise.
1688 * soft-fp/floattidf.c: Likewise.
1689 * soft-fp/floattisf.c: Likewise.
1690 * soft-fp/floattitf.c: Likewise.
1691 * soft-fp/floatundidf.c: Likewise.
1692 * soft-fp/floatundisf.c: Likewise.
1693 * soft-fp/floatunditf.c: Likewise.
1694 * soft-fp/floatunsidf.c: Likewise.
1695 * soft-fp/floatunsisf.c: Likewise.
1696 * soft-fp/floatunsitf.c: Likewise.
1697 * soft-fp/floatuntidf.c: Likewise.
1698 * soft-fp/floatuntisf.c: Likewise.
1699 * soft-fp/floatuntitf.c: Likewise.
1700 * soft-fp/gedf2.c: Likewise.
1701 * soft-fp/gesf2.c: Likewise.
1702 * soft-fp/getf2.c: Likewise.
1703 * soft-fp/ledf2.c: Likewise.
1704 * soft-fp/lesf2.c: Likewise.
1705 * soft-fp/letf2.c: Likewise.
1706 * soft-fp/muldf3.c: Likewise.
1707 * soft-fp/mulsf3.c: Likewise.
1708 * soft-fp/multf3.c: Likewise.
1709 * soft-fp/negdf2.c: Likewise.
1710 * soft-fp/negsf2.c: Likewise.
1711 * soft-fp/negtf2.c: Likewise.
1712 * soft-fp/op-1.h: Likewise.
1713 * soft-fp/op-2.h: Likewise.
1714 * soft-fp/op-4.h: Likewise.
1715 * soft-fp/op-8.h: Likewise.
1716 * soft-fp/op-common.h: Likewise.
1717 * soft-fp/quad.h: Likewise.
1718 * soft-fp/single.h: Likewise.
1719 * soft-fp/soft-fp.h: Likewise.
1720 * soft-fp/subdf3.c: Likewise.
1721 * soft-fp/subsf3.c: Likewise.
1722 * soft-fp/subtf3.c: Likewise.
1723 * soft-fp/truncdfsf2.c: Likewise.
1724 * soft-fp/trunctfdf2.c: Likewise.
1725 * soft-fp/trunctfsf2.c: Likewise.
1726 * soft-fp/trunctfxf2.c: Likewise.
1727 * soft-fp/unorddf2.c: Likewise.
1728 * soft-fp/unordsf2.c: Likewise.
1729 * soft-fp/unordtf2.c: Likewise.
1730
4dfe21ac
RE
17312015-09-24 Richard Earnshaw <rearnsha@arm.com>
1732
1733 PR libgcc/67624
1734 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1735
df2a1cc4
RO
17362015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1737
1738 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1739 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1740 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1741 messages.
1742 (internal_mcount): Likewise.
1743 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1744 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1745
2d110442
RO
17462015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1747
1748 * configure.ac (libgcc_cv_solaris_crts): New test.
1749 * configure: Regenerate.
1750 * config.in: Regenerate.
1751 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1752 * config/gmon-sol2.c: Rename to ...
1753 * config/sol2/gmon.c: ... this.
1754 Include auto-target.h.
1755 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1756 * config/t-sol2: Rename to ...
1757 * config/sol2/t-sol2: ... this.
1758 (gmon.o): Reflect renaming.
1759 (crtp.o, crtpg.o): New rules.
1760 * config.host (*-*-solaris2*): Reflect renaming.
1761 Use system CRTs if present.
1762 Remove default CRT case.
1763
d572e439
JDA
17642015-09-23 John David Anglin <danglin@gcc.gnu.org>
1765
1766 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1767 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1768 __kernel_cmpxchg2.
1769 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1770 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1771 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1772 (__sync_lock_test_and_set_##WIDTH): Likewise.
1773 (__sync_lock_release_##WIDTH): Likewise.
1774 (__sync_fetch_and_##OP##_4): Change result to match type of
1775 __kernel_cmpxchg.
1776 (__sync_##OP##_and_fetch_4): Likewise.
1777 (__sync_val_compare_and_swap_4): Likewise.
1778 (__sync_bool_compare_and_swap_4): likewise.
1779 (__sync_lock_test_and_set_4): Likewise.
1780 (__sync_lock_release_4): Likewise.
1781 (FETCH_AND_OP_2): Add long long variants.
1782 (OP_AND_FETCH_2): Likewise.
1783 (COMPARE_AND_SWAP_2 ): Likewise.
1784 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1785 (SYNC_LOCK_RELEASE_2): Likewise.
1786 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1787
7d296953 17882015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
1789
1790 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1791 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1792 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1793 (get_available_features): Habdle new features.
1794
131314e1
JB
17952015-09-21 James Bowman <james.bowman@ftdichip.com>
1796
1797 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1798 memory layout. Deal correctly with BSS region larger than 32K.
1799 Handle a watchdog reset like a power-on reset. Clean up unused
1800 code.
1801
04218b35
AD
18022015-09-18 Andrew Dixie <andrewd@gentrack.com>
1803 David Edelsohn <dje.gcc@gmail.com>
1804
1805 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1806 * config/rs6000/crtdbase.S: New file.
1807 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1808
c8338173
MF
18092015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1810
1811 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1812 Add support for call0 ABI.
1813
7a84bf71
JDA
18142015-09-13 John David Anglin <danglin@gcc.gnu.org>
1815
1816 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1817
4efab402
SH
18182015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1819
1820 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1821 (__GTHREAD_HAS_COND): Likewise.
1822 (__gthread_t): Likewise.
1823 (__gthread_cond_t): Likewise.
1824 (__gthread_time_t): Likewise.
1825 (__GTHREAD_MUTEX_INIT): Likewise.
1826 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1827 (__GTHREAD_COND_INIT): Likewise.
1828 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1829 (__GTHREAD_TIME_INIT): Likewise.
1830 (__gthread_create): Likewise.
1831 (__gthread_join): Likewise.
1832 (__gthread_detach): Likewise.
1833 (__gthread_equal): Likewise.
1834 (__gthread_self): Likewise.
1835 (__gthread_yield): Likewise.
1836 (__gthread_cond_broadcast): Likewise.
1837 (__gthread_cond_signal): Likewise.
1838 (__gthread_cond_wait): Likewise.
1839 (__gthread_cond_timedwait): Likewise.
1840 (__gthread_cond_wait_recursive): Likewise.
1841 (__gthread_cond_destroy): Likewise.
1842 (rtems_gxx_once): Delete.
1843 (rtems_gxx_key_create): Likewise.
1844 (rtems_gxx_key_delete): Likewise.
1845 (rtems_gxx_getspecific): Likewise.
1846 (rtems_gxx_setspecific): Likewise.
1847 (rtems_gxx_mutex_init): Likewise.
1848 (rtems_gxx_mutex_destroy): Likewise.
1849 (rtems_gxx_mutex_lock): Likewise.
1850 (rtems_gxx_mutex_trylock): Likewise.
1851 (rtems_gxx_mutex_unlock): Likewise.
1852 (rtems_gxx_recursive_mutex_init): Likewise.
1853 (rtems_gxx_recursive_mutex_lock): Likewise.
1854 (rtems_gxx_recursive_mutex_trylock): Likewise.
1855 (rtems_gxx_recursive_mutex_unlock): Likewise.
1856 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1857 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1858 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1859 (__gthread_once): Likewise.
1860 (__gthread_key_create): Likewise.
1861 (__gthread_key_delete): Likewise.
1862 (__gthread_getspecific): Likewise.
1863 (__gthread_setspecific): Likewise.
1864 (__gthread_key_t): Use <pthread.h> type.
1865 (__gthread_once_t): Likewise
1866 (__gthread_mutex_t): Use <sys/lock.h> type.
1867 (__gthread_recursive_mutex_t): Likewise
1868 (__gthread_mutex_lock): Use <sys/lock.h> function.
1869 (__gthread_mutex_trylock): Likewise.
1870 (__gthread_mutex_timedlock): Likewise.
1871 (__gthread_mutex_unlock): Likewise.
1872 (__gthread_mutex_destroy): Likewise.
1873 (__gthread_recursive_mutex_lock): Likewise.
1874 (__gthread_recursive_mutex_trylock): Likewise.
1875 (__gthread_recursive_mutex_timedlock): Likewise.
1876 (__gthread_recursive_mutex_unlock): Likewise.
1877 (__gthread_recursive_mutex_destroy): Likewise.
1878
991995c4
MF
18792015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1880
1881 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1882 context->sp instead of context->cfa.
1883
0e19db59
MF
18842015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1885
1886 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1887 with unwind-dw2-fde-dip.
1888
b6ac5f62
MF
18892015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1890
1891 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1892 CALL12 followed by series of ENTRY to spill windowed registers.
1893 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1894 instead of making linux spill syscall.
1895
3e0f3349
YR
18962015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1897
1898 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1899 (get_intel_cpu): Likewise.
1900
51c728b1
L
19012015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1902
1903 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1904 (get_intel_cpu): Add Knights Landing support.
1905
aff4eeac
UB
19062015-08-11 Uros Bizjak <ubizjak@gmail.com>
1907
1908 PR target/66954
1909 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1910 (get_available_features): Handle FEATURE_PCLMUL.
1911
736e56da
L
19122015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1913
1914 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1915 Broadwell.
1916
54d22142
UB
19172015-07-22 Uros Bizjak <ubizjak@gmail.com>
1918
1919 PR target/66954
1920 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1921 (get_available_features): Handle FEATURE_AES.
1922
20ca17e4
CLT
19232015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
1924
1925 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1926 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1927
ebe4a560
NS
19282015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1929
1930 * offloadstuff.c: Constify host data.
1931
180744c0
JB
19322015-07-17 Jan Beulich <jbeulich@suse.com>
1933
1934 * config/t-softfp: Split up "else ifneq".
1935
a03c6ae3
SL
19362015-07-14 Sandra Loosemore <sandra@codesourcery.com>
1937 Cesar Philippidis <cesar@codesourcery.com>
1938 Chung-Lin Tang <cltang@codesourcery.com>
1939
1940 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1941 for __nios2_arch__ level.
1942
73358db5
JM
19432015-07-13 John Marino <gnugcc@marino.st>
1944
1945 * config/i386/t-dragonfly: New.
1946
f9a12f7b
JDA
19472015-07-01 John David Anglin <danglin@gcc.gnu.org>
1948
1949 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1950 better match light-weight syscall argument order.
1951 (__kernel_cmpxchg2): Likewise.
1952 Adjust callers.
1953
cb78b51c
L
19542015-06-30 H.J. Lu <hongjiu.lu@intel.com>
1955
1956 * config.host: Support i[34567]86-*-elfiamcu target.
1957 * config/t-softfp-sfdftf: New file.
1958 * config/i386/32/t-iamcu: Likewise.
1959 * configure: Regenerated.
1960
4fa0f9ea
JL
19612015-06-23 James Lemke <jwlemke@codesourcery.com>
1962
1963 libgcc/config/arm/
1964 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1965
428b3812
L
19662015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1967
1968 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1969
7d296953 19702015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
1971
1972 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1973 md_unwind_header
1974 * config/i386/freebsd-unwind.h: New.
1975
9b789cc1
UB
19762015-05-22 Uros Bizjak <ubizjak@gmail.com>
1977
1978 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1979 i386/t-crtfm to tmake_file.
1980 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1981 (set_fast_math): Use set_fast_math_sse for SSE targets.
1982 * config/i386/t-crtfm: Remove.
1983
3dafb220
AM
19842015-05-21 Alan Modra <amodra@gmail.com>
1985
1986 PR libgcc/66225
1987 * config/rs6000/morestack.S: Remove ".abiversion 1".
1988
0f0fd745
AM
19892015-05-20 Alan Modra <amodra@gmail.com>
1990
1991 * config/rs6000/morestack.S: New.
1992 * config/rs6000/t-stack-rs6000: New.
1993 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1994 to tmake_file.
1995 * generic-morestack.c: Don't build for powerpc 32-bit.
1996
515ae71b
EB
19972015-05-19 Eric Botcazou <ebotcazou@adacore.com>
1998
1999 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
2000 Remove useless endif/ifneq ($(enable_shared),yes) pair.
2001
36805406
JL
20022015-05-16 James Bowman <james.bowman@ftdichip.com>
2003
2004 * config.host: FT32 target added.
2005 * config/ft32/*: New files for FT32 target.
2006
ff935d0c
MG
20072015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
2008
385c7747
UB
2009 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
2010 New macros.
2011 * config/arm/ieee754-df.S: Add CFI directives.
2012 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 2013
9b92a9f3
EB
20142015-05-13 Eric Botcazou <ebotcazou@adacore.com>
2015
2016 * configure.ac: Include config/sjlj.m4.
2017 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
2018 * config.in: Regenerate.
2019 * configure: Likewise.
2020 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
2021
98b5dc61
UB
20222015-05-12 Uros Bizjak <ubizjak@gmail.com>
2023
2024 * libgcov-util.c: Add space between string literal and macro name.
2025
5a0ff57c
SL
20262015-05-06 Sandra Loosemore <sandra@codesourcery.com>
2027 Chris Jones <chrisj@nvidia.com>
2028 Joshua Conner <jconner@nvidia.com>
2029
2030 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
2031 (arm*-*-uclinux*): Likewise.
2032 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
2033 * config/arm/crtfastmath.c: New file.
2034
d28ad5d4
BS
20352014-04-29 Bernd Schmidt <bernds@codesourcery.com>
2036
2037 * Makefile.in (real_host_noncanonical): New variable.
2038 (libsubdir): Use it.
2039 * configure.ac (real_host_noncanonical): Compute. Remove special
2040 case for intelmicemul.
2041 * configure: Regenerate.
2042
cc86234f
UB
20432015-04-28 Uros Bizjak <ubizjak@gmail.com>
2044
2045 * config/frv/elf-lib.h: New file.
2046 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
2047 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
2048 to tm_file.
2049
20502015-04-28 Uros Bizjak <ubizjak@gmail.com>
2051
2052 * config/frv/frvbengin.c: Do not include defaults.h
2053 * config/frv/frvend.c: Ditto.
2054
2f6bd6eb
YS
20552015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
2056
2057 * config.host: Add h8300-*-linux
2058 * config/h8300/t-linux: New file.
2059 * config/h8300/lib1funs.s: Change symbol prefix.
2060 * config/h8300/sfp-machine.h: 64bit double support.
2061
15aa7b44
GR
20622015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
2063 Szabolcs Nagy <szabolcs.nagy@arm.com>
2064
2065 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
2066 Linux if target provides dl_iterate_phdr.
2067
abd0cdc9
L
20682015-04-17 H.J. Lu <hongjiu.lu@intel.com>
2069
2070 PR target/65612
2071 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
2072 * config/i386/cpuinfo.c (__cpu_model): Initialize.
2073 (__cpu_indicator_init@GCC_4.8.0): New.
2074 (__cpu_model@GCC_4.8.0): Likewise.
2075 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
2076 -DUSE_ELF_SYMVER.
2077
72ed1126
NC
20782015-04-16 Nick Clifton <nickc@redhat.com>
2079
2080 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
2081 and __modhi3 functions.
2082 * config/rl78/divmodso.S: Add G14 and G13 versions of the
2083 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
2084
d26b2237
CG
20852015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
2086
2087 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
2088 do-while loop as macro body to avoid warnings.
2089
cacf1f59
JJ
20902015-04-10 Jakub Jelinek <jakub@redhat.com>
2091 Iain Sandoe <iain@codesourcery.com>
2092
2093 PR target/65351
2094 * configure: Regenerate.
2095
e8a4ed3b
JJ
20962015-04-07 Jakub Jelinek <jakub@redhat.com>
2097 Iain Sandoe <iain@codesourcery.com>
2098
2099 PR target/65351
2100 * configure: Regenerate.
2101
0341335e
CLT
21022015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
2103
2104 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
2105
590e2636 21062015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 2107
590e2636
MF
2108 Implement call0 ABI for xtensa
2109 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
2110 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
2111 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
2112 use ret in call0 ABI.
2113 * config/xtensa/t-windowed: New file.
2114 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
2115 * libgcc/configure: Regenerated.
2116 * libgcc/configure.ac: Check if xtensa target is configured for
2117 windowed ABI and thus needs to use custom unwind code.
2118
7727f8f2
JW
21192015-02-12 Jonathan Wakely <jwakely@redhat.com>
2120
2121 PR libgcc/64885
2122 * gthr-single.h: Use __unused__ attribute instead of unused.
2123 * config/gthr-vxworks.h: Likewise.
2124 * config/i386/gthr-win32.h: Likewise.
2125
0e4a0def
KT
21262015-02-27 Kai Tietz <ktietz@redhat.com>
2127
2128 PR target/65038
2129 * config.in: Regenerated.
2130 * configure: Likewise.
2131 * configure.ac (AC_HEADER_STDC): Added explicit.
2132 (AC_CHECK_HEADERS): Check for default headers plus
2133 for ftw.h header.
2134 * libgcov-util.c (gcov_read_profile_dir): Disable use
2135 of ftw-function, if header is not found.
2136 (ftw_read_file): Likewise.
2137
b6530d0a
TS
21382015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2139
2140 PR target/65181
2141 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2142 -Dinhibit_libc.
2143
53cfb467
SL
21442015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2145
2146 * config/arm/bpabi.S (test_div_by_zero): Make label names
2147 consistent between thumb2 and arm mode cases. Separate the
2148 signed comparison on the high word of the numerator from the
2149 unsigned comparison on the low word.
2150 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2151 signed comparison.
2152
77d10a1b
JM
21532015-02-17 Joseph Myers <joseph@codesourcery.com>
2154
2155 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2156 and <string.h>.
2157 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2158
98174188
RE
21592015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2160
2161 PR gcov-profile/61889
471274de 2162 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 2163
771bef14
NC
21642015-02-02 Nick Clifton <nickc@redhat.com>
2165
2166 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2167 rounding up the fraction.
2168
40702893
JDA
21692015-01-31 John David Anglin <danglin@gcc.gnu.org>
2170
2171 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2172 oldval and newval to const void *. Fix typo.
2173 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2174 (FETCH_AND_OP_WORD): Likewise.
2175 (OP_AND_FETCH_WORD): Likewise.
2176 (COMPARE_AND_SWAP_2): Likewise.
2177 (__sync_val_compare_and_swap_4): Likewise.
2178 (__sync_lock_test_and_set_4): Likewise.
2179 (SYNC_LOCK_RELEASE_2): Likewise.
2180 Remove support for long long atomic operations.
2181
f7f049fa
CT
21822015-01-27 Caroline Tice <cmtice@google.com>
2183
2184 Committing VTV Cywin/Ming patch for Patrick Wollgast
2185 * Makefile.in: Move rules to build vtv_*.o out of the check
2186 for CUSTOM_CRTSTUFF.
2187 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2188 i[34567]86-*-mingw*)
2189 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2190 enable_vtable_verify.
2191
8410904a
NC
21922015-01-27 Nick Clifton <nickc@redhat.com>
2193
2194 * config/rl78/cmpsi2.S: Use function start and end macros.
2195 (__gcc_bcmp): New function.
2196 * config/rl78/lshrsi3.S: Use function start and end macros.
2197 * config/rl78/mulsi3.S: Add support for G10.
2198 (__mulqi3): New function for G10.
2199 * config/rl78/signbit.S: Use function start and end macros.
2200 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2201 fpmath-sf.S.
2202 (LIB2FUNCS_EXCLUDE): Define.
2203 (LIB2FUNCS_ST): Define.
2204 * config/rl78/trampoline.S: Use function start and end macros.
2205 * config/rl78/vregs.h (START_FUNC): New macro.
2206 (START_ANOTHER_FUNC): New macro.
2207 (END_FUNC): New macro.
2208 (END_ANOTHER_FUNC): New macro.
2209 * config/rl78/bit-count.S: New file. Contains assembler
2210 implementations of the bit counting functions: ___clzhi2,
2211 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2212 __paritysi2, __popcounthi2 and __popcountsi2.
2213 * config/rl78/fpbit-sf.S: New file. Contains assembler
2214 implementationas of the math functions: __negsf2, __cmpsf2,
2215 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2216 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2217 * config/rl78/fpmath-sf.S: New file. Contains assembler
2218 implementations of the math functions: __subsf3, __addsf3,
2219 __mulsf3 and __divsf3
2220
f962fbf1
RO
22212015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2222
2223 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2224 Add i386/elf-lib.h to tm_file.
2225 * config/i386/elf-lib.h: Fix comment.
2226 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2227 && __sun__ && __svr4__]: Remove workaround.
2228
939911c5
ASJ
22292015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2230
2231 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2232 FEATURE_BMI2.
2233 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2234
c8f2dff2
L
22352015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2236
2237 * config/i386/cpuinfo.c (processor_subtypes): Add
2238 INTEL_COREI7_BROADWELL.
2239 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2240 model numbers.
2241
7bbf9734
UB
22422015-01-23 Uros Bizjak <ubizjak@gmail.com>
2243
2244 * config/i386/elf-lib.h: New file.
2245 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2246 Wrap definition in #ifdef __i386__.
2247 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2248 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2249 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2250 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2251 to tm_file.
2252
324820f1
CG
22532015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2254
2255 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2256 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2257
a9ce4e4a
CLT
22582015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2259
2260 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2261 Update rt_sigframe format and address for current Nios II
2262 Linux conventions.
2263
82a19768
AT
22642015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2265
2266 * config.host (arm*-*-freebsd*): Add new configuration for
2267 arm*-*-freebsd*.
2268 * config/arm/freebsd-atomic.c: New file.
2269 * config/arm/t-freebsd: Likewise.
2270 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2271 'PC-relative indirect' OS's.
2272
0969ec7d
EB
22732015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2274
2275 * config.host: Add Visium support.
2276 * config/visium: New directory.
2277
5624e564
JJ
22782015-01-05 Jakub Jelinek <jakub@redhat.com>
2279
2280 Update copyright years.
2281
82f84ecb
MF
22822014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2283
2284 * config.host: Support mipsisa32r6 and mipsisa64r6.
2285 * config/mips/mips16.S: Do not build for R6.
2286
69044fa9
OE
22872014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2288
2289 * config/sh/crt.h: New.
2290 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2291 symbols.
2292 * config/sh/crt1.S: Likewise.
2293
2405e0ea
UB
22942014-12-15 Uros Bizjak <ubizjak@gmail.com>
2295
2296 PR libgcc/63832
2297 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2298 func_ptr *dtor_list temporary variable to avoid "array subscript
2299 is above array bounds" warnings.
2300
7d296953 23012014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
2302
2303 * Makefile.in (with_aix_soname): Define.
2304 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2305 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2306 * configure: Recreate.
2307
a66272f6
OH
23082014-12-05 Olivier Hainque <hainque@adacore.com>
2309
2310 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2311 now provided by defaults.h.
2312
6342b2c5
OE
23132014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2314
7d0ee249 2315 PR target/55351
6342b2c5
OE
2316 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2317 whether it's defined.
2318
c17eac85
IT
23192014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2320
2321 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2322 * config/i386/cpuinfo.c (get_available_features): Detect it.
2323
1025cb6c
TW
23242014-11-27 Tony Wang <tony.wang@arm.com>
2325
2326 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2327 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2328 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2329
d19f2e38
SB
23302014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2331
2332 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2333
17f6e9a3
JDA
23342014-11-24 John David Anglin <danglin@gcc.gnu.org>
2335
2336 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2337 instead.
2338
0cd7c672
GM
23392014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2340 John David Anglin <danglin@gcc.gnu.org>
2341
2342 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2343 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2344 (OP_AND_FETCH_2): Likewise.
2345 (COMPARE_AND_SWAP_2): Likewise.
2346 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2347 (SYNC_LOCK_RELEASE_2): Likewise.
2348 (SUBWORD_SYNC_OP): Remove.
2349 (SUBWORD_VAL_CAS): Likewise.
2350 (SUBWORD_BOOL_CAS): Likewise.
2351 (FETCH_AND_OP_WORD): Update.
2352 Consistently use signed types.
cc86234f 2353
85c64bbe
BS
23542014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2355 Thomas Schwinge <thomas@codesourcery.com>
2356 Ilya Verbin <ilya.verbin@intel.com>
2357 Andrey Turetskiy <andrey.turetskiy@intel.com>
2358
2359 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2360 (crtoffloadend$(objext)): Likewise.
2361 * configure: Regenerate.
2362 * configure.ac (accel_dir_suffix): Compute new variable.
2363 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2364 if enable_offload_targets is not empty.
2365 * offloadstuff.c: New file.
2366
52a1ff8b
NC
23672014-11-13 Nick Clifton <nickc@redhat.com>
2368
2369 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2370 Use START_FUNC and END_FUNC macros to enable linker garbage
2371 collection.
2372 * config/rl78/divmodqi.S: Likewise.
2373 * config/rl78/divmodsi.S: Likewise.
2374 * config/rl78/mulsi3.S: Likewise.
2375 * config/rl78/lib2div.c: Remove G10 functions.
2376 * config/rl78/lib2muls.c: Likewise.
2377 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2378 * config/rl78/vregs.h (START_FUNC): New macro.
2379 (END_FUNC): New macro.
2380
050af144
MF
23812014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2382
2383 * config/mips/mips16.S: Set .module when supported. Update O32
2384 FP64 calling convention and use for FPXX when possible. Add FPXX
2385 calling convention fallback case.
2386
738f2522
BS
23872014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2388
2389 * config.host: Handle nvptx-*-*.
2390 * shared-object.mk (as-flags-$o): Define.
2391 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2392 -xassembler-with-cpp.
2393 * static-object.mk: Identical changes.
2394 * config/nvptx/t-nvptx: New file.
2395 * config/nvptx/crt0.s: New file.
2396 * config/nvptx/free.asm: New file.
2397 * config/nvptx/malloc.asm: New file.
2398 * config/nvptx/realloc.c: New file.
2399
e610393c
JM
24002014-10-30 Joseph Myers <joseph@codesourcery.com>
2401
2402 * Makefile.in (libgcc.map.in): New target.
2403 (libgcc.map): Use libgcc.map.in.
2404 * config/t-softfp (softfp_compat): New variable to be set by
2405 users.
2406 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2407 variables.
2408 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2409 directory.
2410 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2411 that use compat symbols and disable all code unless [SHARED].
2412 * config/t-softfp-compat: New file.
2413 * find-symver.awk: New file.
2414 * configure.ac (--with-glibc-version): New configure option.
2415 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2416 * configure: Regenerate.
2417 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2418 soft-float and e500.
2419
bc1b3a88
JM
24202014-10-29 Joseph Myers <joseph@codesourcery.com>
2421
2422 * config/t-hardfp (hardfp_exclusions): Document new variable for
2423 user to define.
2424 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2425 * config/t-softfp (softfp_extras): Document new variable for user
2426 to define.
2427 (softfp_func_list): Add functions from $(softfp_extras).
2428 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2429 * config.host (powerpc*-*-linux*): For e500v1, use
2430 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2431 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2432 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2433
ef2810c1
JDA
24342014-10-26 John David Anglin <danglin@gcc.gnu.org>
2435
2436 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2437 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2438 memory read accesses are ok.
2439
d80c2bea
JM
24402014-10-25 Joseph Myers <joseph@codesourcery.com>
2441
2442 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2443 * configure: Regenerate.
2444 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2445 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
2446 of soft-fp for 32-bit classic hard float. Do not use
2447 t-softfp-excl for soft float.
2448
693b297b
JM
24492014-10-22 Joseph Myers <joseph@codesourcery.com>
2450
2451 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2452 configurations.
2453 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2454 Remove variables.
2455
18a3415e
GJL
24562014-10-22 Georg-Johann Lay <avr@gjlay.de>
2457
2458 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2459 introduced with 2014-10-21 trunk r216525.
2460
c1dd9790 24612014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
2462 Vidya Praveen <vidya.praveen@atmel.com>
2463 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2464 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2465 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
2466
2467 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2468 order.
2469
2470 Updated library functions for AVRTINY arch.
2471 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2472 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2473 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2474 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2475 wsubi/wadi macors.
2476 (__mulsi3_helper): Update stack, preserve callee saved regs and
2477 argument from stack. Restore callee save registers.
2478 (__mulpsi3): Likewise.
2479 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2480 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 2481 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
2482 AVRTINY.
2483 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2484 (__do_copy_data): Added new definition for AVRTINY.
2485 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2486 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2487 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2488 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2489 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2490 macors.
18a3415e 2491 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
2492 AVRTINY.
2493
18a3415e 2494 Fix broken long multiplication on tiny arch.
c1dd9790 2495
5f606431
JM
24962014-10-09 Joseph Myers <joseph@codesourcery.com>
2497
2498 * soft-fp/double.h: Update from glibc.
2499 * soft-fp/eqdf2.c: Likewise.
2500 * soft-fp/eqsf2.c: Likewise.
2501 * soft-fp/eqtf2.c: Likewise.
2502 * soft-fp/extenddftf2.c: Likewise.
2503 * soft-fp/extended.h: Likewise.
2504 * soft-fp/extendsfdf2.c: Likewise.
2505 * soft-fp/extendsftf2.c: Likewise.
2506 * soft-fp/extendxftf2.c: Likewise.
2507 * soft-fp/gedf2.c: Likewise.
2508 * soft-fp/gesf2.c: Likewise.
2509 * soft-fp/getf2.c: Likewise.
2510 * soft-fp/ledf2.c: Likewise.
2511 * soft-fp/lesf2.c: Likewise.
2512 * soft-fp/letf2.c: Likewise.
2513 * soft-fp/op-1.h: Likewise.
2514 * soft-fp/op-2.h: Likewise.
2515 * soft-fp/op-4.h: Likewise.
2516 * soft-fp/op-8.h: Likewise.
2517 * soft-fp/op-common.h: Likewise.
2518 * soft-fp/quad.h: Likewise.
2519 * soft-fp/single.h: Likewise.
2520 * soft-fp/soft-fp.h: Likewise.
2521 * soft-fp/unorddf2.c: Likewise.
2522 * soft-fp/unordsf2.c: Likewise.
2523 * soft-fp/unordtf2.c: Likewise.
2524 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2525 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2526 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2527 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2528 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2529 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2530 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2531 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2532 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2533 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2534
9b84e7a8
RX
25352014-10-08 Rong Xu <xur@google.com>
2536
2537 * libgcov-util.c (read_gcda_file): Fix format.
2538 (find_match_gcov_info): Ditto.
2539 (calculate_2_entries): New.
2540 (compute_one_gcov): Ditto.
2541 (gcov_info_count_all_cold): Ditto.
2542 (gcov_info_count_all_zero): Ditto.
2543 (extract_file_basename): Ditto.
2544 (get_file_basename): Ditto.
2545 (set_flag): Ditto.
2546 (matched_gcov_info): Ditto.
2547 (calculate_overlap): Ditto.
2548 (gcov_profile_overlap): Ditto.
2549 * libgcov-driver.c (compute_summary): Make
2550 it avavilable for external calls.
2551
fe1090c1
RX
25522014-10-06 Rong Xu <xur@google.com>
2553
2554 * Makefile.in: Ditto.
2555 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2556 (gcov_sort_icall_topn_counter): Ditto.
2557 (gcov_sort_topn_counter_arrays): Ditto.
2558 (dump_one_gcov): Sort indirect_call topn counters.
2559 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2560 function.
2561 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2562 utility function.
2563 (__gcov_indirect_call_topn_profiler): New profiler function.
2564 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2565 * libgcov.h: New decls.
2566
3daa7bbf
TS
25672014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2568
2569 * config.host: Remove support for score-*.
2570
9a79452d
JM
25712014-09-22 Joseph Myers <joseph@codesourcery.com>
2572
2573 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2574 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2575 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2576 __LIBGCC_XF_MANT_DIG__.
2577 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2578 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2579 __LIBGCC_TF_MANT_DIG__.
2580 * libgcc2.c (NOTRUNC): Define in terms of
2581 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2582 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2583
1a849e50
JM
25842014-09-22 Joseph Myers <joseph@codesourcery.com>
2585
2586 PR target/63312
2587 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2588 New macros.
2589
598a1586
HPN
25902014-09-22 Hans-Peter Nilsson <hp@axis.com>
2591
2592 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2593 override USE_PT_GNU_EH_FRAME.
2594 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2595 check USE_EH_FRAME_REGISTRY_ALWAYS against
2596 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2597 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2598 variable for substituted force_explicit_eh_registry.
2599 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2600 * configure.ac (explicit-exception-frame-registration):
2601 New AC_ARG_ENABLE.
2602 * configure: Regenerate.
2603
3a8fe7c6
OH
26042014-09-19 Olivier Hainque <hainque@adacore.com>
2605
2606 * config.host (powerpc-wrs-vxworksmils): New configuration,
2607 same as vxworksae.
2608
dd69f047
JM
26092014-09-18 Joseph Myers <joseph@codesourcery.com>
2610
2611 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2612
e770bfd9
JM
26132014-09-18 Joseph Myers <joseph@codesourcery.com>
2614
2615 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2616 bits not set bits as indicating trapping exceptions.
2617
cadb2b96
NS
26182014-09-17 Nathan sidwell <nathan@acm.org>
2619
2620 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2621 (LIBGCOV_DRIVER): ... here.
2622 * libgcov-driver.c (gcov_master): New.
2623 (gcov_exit): Remove from master chain.
2624 (__gcov_init): Add to master chain if version compatible. Don't
2625 clear the version.
2626 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2627 (gcov_reset_int): Clear master chain, if compatible.
2628 (gcov_dump_int): New internal interface. Dump master chain, if
2629 compatible.
2630 (gcov_dump): Alias for gcov_dump_int.
2631 * libgcov.h (struct gcov_root): Add next and prev fields.
2632 (struct gcov_master): New struct.
2633 (__gcov_master): New.
2634 (gcov_dump_int): Declare.
2635
580d22a3
OH
26362014-09-17 Olivier Hainque <hainque@adacore.com>
2637
2638 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2639 and crtbegin.o + crtend.o to extra_parts.
2640
8cc4b7a2
JM
26412014-09-12 Joseph Myers <joseph@codesourcery.com>
2642
2643 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2644 __LIBGCC_HAS_SF_MODE__.
2645 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2646 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2647 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2648 * config/libbid/bid_gcc_intrinsics.h
2649 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2650 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2651 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2652 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2653 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2654 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2655
ea3f2b24
GJL
26562014-09-11 Georg-Johann Lay <avr@gjlay.de>
2657
2658 PR target/63223
2659 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2660 and R24 as needed. Make work for all devices and .text locations.
2661 (__do_global_ctors, __do_global_dtors): Use word addresses.
2662 (__tablejump__, __tablejump_elpm__): Remove functions.
2663 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2664 Add _tablejump2.
2665 (XICALL, XIJMP): New macros.
2666
b677236a
MS
26672014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2668 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2669
2670 * config.host (aarch64*): Include crtfastmath.o and
2671 t-crtfm.
2672 * config/aarch64/crtfastmath.c: New file.
2673
157e859f
TS
26742014-09-08 Trevor Saunders <tsaunders@mozilla.com>
2675
2676 * config.host: Remove picochip support.
2677 * config/picochip/adddi3.S: Remove.
2678 * config/picochip/ashlsi3.S: Remove.
2679 * config/picochip/ashlsi3.c: Remove.
2680 * config/picochip/ashrsi3.S: Remove.
2681 * config/picochip/ashrsi3.c: Remove.
2682 * config/picochip/clzsi2.S: Remove.
2683 * config/picochip/cmpsi2.S: Remove.
2684 * config/picochip/divmod15.S: Remove.
2685 * config/picochip/divmodhi4.S: Remove.
2686 * config/picochip/divmodsi4.S: Remove.
2687 * config/picochip/lib1funcs.S: Remove.
2688 * config/picochip/longjmp.S: Remove.
2689 * config/picochip/lshrsi3.S: Remove.
2690 * config/picochip/lshrsi3.c: Remove.
2691 * config/picochip/parityhi2.S: Remove.
2692 * config/picochip/popcounthi2.S: Remove.
2693 * config/picochip/setjmp.S: Remove.
2694 * config/picochip/subdi3.S: Remove.
2695 * config/picochip/t-picochip: Remove.
2696 * config/picochip/ucmpsi2.S: Remove.
2697 * config/picochip/udivmodhi4.S: Remove.
2698 * config/picochip/udivmodsi4.S: Remove.
2699
66bb34c0
JM
27002014-09-08 Joseph Myers <joseph@codesourcery.com>
2701
2702 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2703 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2704 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2705 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2706 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2707 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2708 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2709 defined and LIBGCC2_HAS_DF_MODE is defined.
2710 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2711 defined and LIBGCC2_HAS_XF_MODE is defined.
2712 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2713 defined and LIBGCC2_HAS_TF_MODE is defined.
2714
9686a2e6
JM
27152014-09-08 Joseph Myers <joseph@codesourcery.com>
2716
2717 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2718 and ROUND_TOWARDS_ZERO conditionals.
2719
71c3e2ef
NS
27202014-09-07 Nathan sidwell <nathan@acm.org>
2721
2722 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2723 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2724
53d68b9f
JM
27252014-09-05 Joseph Myers <joseph@codesourcery.com>
2726
2727 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2728 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2729 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2730 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2731 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2732 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2733 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2734 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2735 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2736 (DWARF_FRAME_REGISTERS): Change all uses to
2737 __LIBGCC_DWARF_FRAME_REGISTERS__.
2738 (EH_RETURN_STACKADJ_RTX): Change all uses to
2739 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2740 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2741 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2742 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2743 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2744 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2745 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2746 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2747 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2748 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2749 __LIBGCC_STACK_POINTER_REGNUM__.
2750 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2751 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2752 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2753 to __LIBGCC_STACK_POINTER_REGNUM__.
2754 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2755 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2756 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2757 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2758 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2759 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2760 (STACK_POINTER_REGNUM): Change all uses to
2761 __LIBGCC_STACK_POINTER_REGNUM__.
2762 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2763 use to __LIBGCC_STACK_POINTER_REGNUM__.
2764 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2765 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2766 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2767 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2768 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2769 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2770 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2771 to __LIBGCC_STACK_POINTER_REGNUM__.
2772 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2773 Remove conditional definition.
2774 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2775 __LIBGCC_TEXT_SECTION_ASM_OP__.
2776 (EH_FRAME_SECTION_NAME): Change all uses to
2777 __LIBGCC_EH_FRAME_SECTION_NAME__.
2778 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2779 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2780 (CTORS_SECTION_ASM_OP): Change all uses to
2781 __LIBGCC_CTORS_SECTION_ASM_OP__.
2782 (DTORS_SECTION_ASM_OP): Change all uses to
2783 __LIBGCC_DTORS_SECTION_ASM_OP__.
2784 (JCR_SECTION_NAME): Change all uses to
2785 __LIBGCC_JCR_SECTION_NAME__.
2786 (INIT_SECTION_ASM_OP): Change all uses to
2787 __LIBGCC_INIT_SECTION_ASM_OP__.
2788 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2789 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2790 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2791 __LIBGCC_STACK_GROWS_DOWNWARD__.
2792 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2793 __LIBGCC_INIT_SECTION_ASM_OP__.
2794 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2795 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2796 (EH_FRAME_SECTION_NAME): Change all uses to
2797 __LIBGCC_EH_FRAME_SECTION_NAME__.
2798 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2799 definitions. Change all uses to
2800 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2801 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2802 __LIBGCC_STACK_GROWS_DOWNWARD__.
2803 (DWARF_FRAME_REGISTERS): Change all uses to
2804 __LIBGCC_DWARF_FRAME_REGISTERS__.
2805 (EH_RETURN_STACKADJ_RTX): Change all uses to
2806 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2807 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2808 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2809 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2810 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2811 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2812
b20ee094
NS
28132014-09-02 Nathan sidwell <nathan@acm.org>
2814
2815 * libgcov-interface.c (STRONG_ALIAS): New.
2816 (__gcov_flush): Call __gcov_reset_int.
2817 (__gcov_reset): Strong alias for ...
2818 (__gcov_reset_ing): ... this renamed hidden version.
2819 * libgcov.h (__gcov_reset_int): New declaration.
2820
1ac83976
YS
28212014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2822
25efdb9f
YS
2823 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2824 call from here...
2825 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2826 (__dso_handle): Define on Cygwin.
2827 * config/i386/t-cygming (crtbeginS.o): New rule.
2828 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2829
1ac83976
YS
2830 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2831 declaration syntax.
2832
c6f9ea3b
SE
28332014-08-13 Steve Ellcey <sellcey@mips.com>
2834
2835 * crtstuff.c: Undef caddr_t.
2836
5b1ea7c5
SE
28372014-08-12 Steve Ellcey <sellcey@mips.com>
2838
2839 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2840
4303c581
NS
28412014-08-07 Nathan Sidwell <nathan@acm.org>
2842
2843 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2844 (LIBGCOV_DRIVER): ... to here.
2845 * libgcov.h (gcov_do_dump): New #define.
2846 (struct gcov_root): New.
2847 (__gcov_root): New declaration.
2848 (__gcov_dump_one): Declare.
2849 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2850 run_accounted): Delete.
2851 (gcov_compute_histogram): Add LIST argument, adjust.
2852 (compute_summary): Adjust gcov_compute_histogram call.
2853 (gcov_do_dump): Not hidden, static in libgcov.
2854 (gcov_clear): Move to interface.c.
2855 (__gcov_dump_one): New, broken out of ...
2856 (gcov_exit): ... here. Make static.
2857 (__gcov_root): New.
2858 (__gcov_init): Adjust.
2859 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2860 declarations.
2861 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2862 (gcov_clear): Moved from driver.c. Add LIST argument.
2863 (__gcov_reset): Adjust for changed interfaces.
2864 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2865
23742a9e
RAR
28662014-08-04 Rohit <rohitarulraj@freescale.com>
2867
2868 PR target/60102
2869 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 2870 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 2871
b98a872b
NS
28722014-08-01 Nathan Sidwell <nathan@acm.org>
2873
2874 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2875 LIBGCOV_INTERFACE): Reformat.
2876 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2877 IN_GCOV_TOOL.
2878 * libgcov-interface.c: Reformat some comments.
2879 (__gcov_flush_mx): Add declaration. Tidy up definition.
2880
6adaaa1d
AM
28812014-07-31 Alan Modra <amodra@gmail.com>
2882 Peter Bergner <bergner@vnet.ibm.com>
2883
2884 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2885 (pack_ldouble): New function.
2886 (__gcc_qadd): Use it.
2887 (__gcc_qmul): Likewise.
2888 (__gcc_qdiv): Likewise.
2889 (__gcc_qneg): Likewise.
2890 (__gcc_stoq): Likewise.
2891 (__gcc_dtoq): Likewise.
2892
87cb0c0c
UW
28932014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2894
2895 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2896 (__tpf_eh_return): Add original return address as second parameter.
2897 Handle cases where unwinder routines were called directly, instead
2898 of from within the C++ library.
2899
19926161
NS
29002014-07-29 Nathan Sidwell <nathan@acm.org>
2901
2902 * libgcov.h: Move renaming of entry points to lib gcov specific
2903 portion.
2904 (gcov_do_dump): New rename.
2905 (gcov_rewrite): Remove inline, make HIDDEN.
2906 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2907 (gcov_exit_compute_summary): Rename to ...
2908 (compute_summary): ... here. Add LIST argument.
2909 (gcov_exit_merge_gcda): Rename to ...
2910 (merge_one_data): ... here.
2911 (gcov_exit_write_gcda): Rename to ...
2912 (write_one_data): ... here.
2913 (gcov_exit_merge_summary): Rename to ...
2914 (merge_summary): Add RUN_COUNTED argument.
2915 (gcov_exit_dump_gcov): Rename to ...
2916 (dump_one_gcov): Add RUN_COUNTED argument.
2917 (gcov_do_dump): New function, broken out of ...
2918 (gcov_exit): ... here. Call it.
2919
17522262
AG
29202014-07-27 Anthony Green <green@moxielogic.com>
2921
2922 * config.host: Add moxiebox configuration suppport.
2923
6dc33097
NS
29242014-07-27 Nathan Sidwell <nathan@acm.org>
2925
2926 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2927 (struct gcov_filename): ... here. Include buffer and max length
2928 fields.
2929 (gcov_max_filename): Remove.
2930 (gi_filename): Remove.
2931 (gcov_exit_compute_summary): Compute max filename here.
2932 (gcov_exit_merge_gcda): Add filename parm, adjust.
2933 (gcov_exit_merge_summary): Likewise.
2934 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2935 (gcov_exit): Likewise.
2936 (__gcov_init): Don't calculate max length here.
2937 * libgcov_util.c (max_filename_len): Remove.
2938 (read_gcda_file): Don't calculate max length here.
2939 (gcov_read_profile_dir): Don't propagate here.
2940 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2941 struct gcov_filename changes.
2942 (gcov_exit_open_gcda_file): Likewise.
2943
770f687d
NS
29442014-07-25 Nathan Sidwell <nathan@acm.org>
2945
2946 * libgcov-driver.c (set_gcov_dump_complete,
2947 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2948 functions polluting user's namespace.
2949 (gcov_exit): Set variable directly.
2950 (gcov_clear): Reset variable directly.
2951 * libgcov-interface.c (get_gcov_dymp_complete,
2952 reset_gov_dump_complete): Remove declarations.
2953 (__gcov_reset, __gcov_dump): Don't call them.
2954
fabf71ba
DD
29552014-07-24 DJ Delorie <dj@redhat.com>
2956
2957 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
2958 (__gcc_deregister_frame): Move logic to detect deregister function
2959 to ...
2960 (__gcc_register_frame): here, so it's consistent with the register
2961 logic.
fabf71ba 2962
d10ee722
NS
29632014-07-23 Nathan Sidwell <nathan@acm.org>
2964
2965 * libgcov-driver.c (set_gcov_list): Remove.
2966 (gcov_list): Make non-static in GCOV_TOOL.
2967 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2968
a4137090
JDA
29692014-07-17 John David Anglin <danglin@gcc.gnu.org>
2970
2971 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2972 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2973 Don't use SYNC_LOCK_RELEASE for int type.
2974
72602c6c
RB
29752014-07-14 Richard Biener <rguenther@suse.de>
2976
2977 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2978
d5313205
RX
29792014-07-11 Rong Xu <xur@google.com>
2980
2981 * libgcov-util.c (gcov_max_filename): Fix declartion.
2982
c77556a5
RX
29832014-07-10 Rong Xu <xur@google.com>
2984
2985 Add gcov-tool: an offline gcda profile processing tool
2986 Support.
2987 * libgcov-driver.c (gcov_max_filename): Make available
2988 to gcov-tool.
2989 * libgcov-merge.c (__gcov_merge_add): Replace
2990 gcov_read_counter() with a Macro.
2991 (__gcov_merge_ior): Ditto.
2992 (__gcov_merge_time_profile): Ditto.
2993 (__gcov_merge_single): Ditto.
2994 (__gcov_merge_delta): Ditto.
2995 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2996 in the utility functions.
2997 (set_fn_ctrs): Utility function for reading gcda files to in-memory
2998 gcov_list object link lists.
2999 (tag_function): Ditto.
3000 (tag_blocks): Ditto.
3001 (tag_arcs): Ditto.
3002 (tag_lines): Ditto.
3003 (tag_counters): Ditto.
3004 (tag_summary): Ditto.
3005 (read_gcda_finalize): Ditto.
3006 (read_gcda_file): Ditto.
3007 (ftw_read_file): Ditto.
3008 (read_profile_dir_init): Ditto.
3009 (gcov_read_profile_dir): Ditto.
3010 (gcov_read_counter_mem): Ditto.
3011 (gcov_get_merge_weight): Ditto.
3012 (merge_wrapper): A wrapper function that calls merging handler.
3013 (gcov_merge): Merge two gcov_info objects with weights.
3014 (find_match_gcov_info): Find the matched gcov_info in the list.
3015 (gcov_profile_merge): Merge two gcov_info object lists.
3016 (__gcov_add_counter_op): Process edge profile counter values.
3017 (__gcov_ior_counter_op): Process IOR profile counter values.
3018 (__gcov_delta_counter_op): Process delta profile counter values.
3019 (__gcov_single_counter_op): Process single profile counter values.
3020 (fp_scale): Callback function for float-point scaling.
cc86234f 3021 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
3022 (gcov_profile_scale): Scaling profile counters.
3023 (gcov_profile_normalize): Normalize profile counters.
3024 * libgcov.h: Add headers and functions for gcov-tool use.
3025 (gcov_get_counter): New.
3026 (gcov_get_counter_target): Ditto.
3027 (struct gcov_info): Make the functions field mutable in gcov-tool
3028 compilation.
3029
5c7dac8a
KT
30302014-06-23 Kai Tietz <ktietz@redhat.com>
3031
3032 PR libgcc/61585
3033 * unwind-seh.c (_Unwind_GetGR): Check for proper
3034 index range.
3035 (_Unwind_SetGR): Likewise.
3036
161c9312
NC
30372014-05-22 Nick Clifton <nickc@redhat.com>
3038
3039 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
3040 -mhwmult=none.
3041
e3f0315f
TJ
30422014-05-22 Teresa Johnson <tejohnson@google.com>
3043
3044 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
3045 include.
3046
dbed5a9b
JM
30472014-05-20 John Marino <gnugcc@marino.st>
3048
3049 * config.host (*-*-dragonfly*): New target.
3050 * crtstuff.c: Make dl_iterate_support generic on *bsd.
3051 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
3052 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
3053 * config/i386/dragonfly-unwind.h: New.
3054
1ec380e5
MR
30552014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3056
3057 PR libgcc/60166
3058 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
3059 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
3060
54fde020
BE
30612014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
3062
3063 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
3064 implementation.
3065
999db125
GJL
30662014-05-12 Georg-Johann Lay <avr@gjlay.de>
3067
3068 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
3069
cceaf54a
RO
30702014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3071
3072 PR libgcc/61097
3073 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
3074 if --enable-shared.
3075
e3fe9b5b
BE
30762014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
3077
3078 Work around for current cygwin32 build problems.
3079 * config/i386/cygming-crtbegin.c (__register_frame_info,
3080 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
3081 functions only for 64-bit systems.
3082
54cf37e9
RO
30832014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3084
3085 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
3086 (sigill_caught, sigill_hdlr): Remove.
3087
d9f069ab
RO
30882014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3089
3090 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
3091 check.
3092 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3093 Solaris 9 single-threaded support.
3094 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3095 Solaris 9 single-threaded support. Add call_user_handler code
3096 sequences.
3097 (sparc_is_sighandler): Likewise.
3098
59976ef8
AK
30992014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3100
3101 * config.host: Append t-floattodi to tmake_file depending on
3102 host_address.
3103
d02bbcf3
JS
31042014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
3105
31466bc0 3106 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 3107
c2e7e597
UB
31082014-03-10 Uros Bizjak <ubizjak@gmail.com>
3109
3110 PR libgcc/60472
3111 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 3112 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
3113 Use __builtin_expect when checking *jcr_list for NULL.
3114
227a7dc8
RO
31152014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3116
3117 PR libgcc/59339
3118 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
3119 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
3120 vtv_*.o to extra_parts if enable_vtable_verify.
3121
df2b279c
NC
31222014-03-06 Nick Clifton <nickc@redhat.com>
3123
3124 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3125 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3126
dc11d79b
JY
31272014-02-28 Joey Ye <joey.ye@arm.com>
3128
3129 PR libgcc/60166
3130 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3131 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3132 Set to zero.
3133
341c653c
WL
31342014-02-24 Walter Lee <walt@tilera.com>
3135
3136 * config.host: Support "tilegx*" and "tilepro*" triplets.
3137 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3138 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3139
95ce7613
CLT
31402014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3141 Chung-Lin Tang <cltang@codesourcery.com>
3142
3143 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3144 * config/nios2/crti.S: Remove .file directive.
3145 * config/nios2/crtn.S: Likewise.
3146
0bb4fc05
KT
31472014-02-18 Kai Tietz <ktietz@redhat.com>
3148 Jonathan Schleifer <js@webkeks.org>
3149
3150 PR objc/56870
3151 * unwind-seh.c (_GCC_specific_handler): Pass proper
3152 value to unwind-handler.
3153
9acf28f1
JM
31542014-02-12 Joseph Myers <joseph@codesourcery.com>
3155
3156 * soft-fp/adddf3.c: Update from glibc.
3157 * soft-fp/addsf3.c: Likewise.
3158 * soft-fp/addtf3.c: Likewise.
3159 * soft-fp/divdf3.c: Likewise.
3160 * soft-fp/divsf3.c: Likewise.
3161 * soft-fp/divtf3.c: Likewise.
3162 * soft-fp/double.h: Likewise.
3163 * soft-fp/eqdf2.c: Likewise.
3164 * soft-fp/eqsf2.c: Likewise.
3165 * soft-fp/eqtf2.c: Likewise.
3166 * soft-fp/extenddftf2.c: Likewise.
3167 * soft-fp/extended.h: Likewise.
3168 * soft-fp/extendsfdf2.c: Likewise.
3169 * soft-fp/extendsftf2.c: Likewise.
3170 * soft-fp/extendxftf2.c: Likewise.
3171 * soft-fp/fixdfdi.c: Likewise.
3172 * soft-fp/fixdfsi.c: Likewise.
3173 * soft-fp/fixdfti.c: Likewise.
3174 * soft-fp/fixsfdi.c: Likewise.
3175 * soft-fp/fixsfsi.c: Likewise.
3176 * soft-fp/fixsfti.c: Likewise.
3177 * soft-fp/fixtfdi.c: Likewise.
3178 * soft-fp/fixtfsi.c: Likewise.
3179 * soft-fp/fixtfti.c: Likewise.
3180 * soft-fp/fixunsdfdi.c: Likewise.
3181 * soft-fp/fixunsdfsi.c: Likewise.
3182 * soft-fp/fixunsdfti.c: Likewise.
3183 * soft-fp/fixunssfdi.c: Likewise.
3184 * soft-fp/fixunssfsi.c: Likewise.
3185 * soft-fp/fixunssfti.c: Likewise.
3186 * soft-fp/fixunstfdi.c: Likewise.
3187 * soft-fp/fixunstfsi.c: Likewise.
3188 * soft-fp/fixunstfti.c: Likewise.
3189 * soft-fp/floatdidf.c: Likewise.
3190 * soft-fp/floatdisf.c: Likewise.
3191 * soft-fp/floatditf.c: Likewise.
3192 * soft-fp/floatsidf.c: Likewise.
3193 * soft-fp/floatsisf.c: Likewise.
3194 * soft-fp/floatsitf.c: Likewise.
3195 * soft-fp/floattidf.c: Likewise.
3196 * soft-fp/floattisf.c: Likewise.
3197 * soft-fp/floattitf.c: Likewise.
3198 * soft-fp/floatundidf.c: Likewise.
3199 * soft-fp/floatundisf.c: Likewise.
3200 * soft-fp/floatunditf.c: Likewise.
3201 * soft-fp/floatunsidf.c: Likewise.
3202 * soft-fp/floatunsisf.c: Likewise.
3203 * soft-fp/floatunsitf.c: Likewise.
3204 * soft-fp/floatuntidf.c: Likewise.
3205 * soft-fp/floatuntisf.c: Likewise.
3206 * soft-fp/floatuntitf.c: Likewise.
3207 * soft-fp/gedf2.c: Likewise.
3208 * soft-fp/gesf2.c: Likewise.
3209 * soft-fp/getf2.c: Likewise.
3210 * soft-fp/ledf2.c: Likewise.
3211 * soft-fp/lesf2.c: Likewise.
3212 * soft-fp/letf2.c: Likewise.
3213 * soft-fp/muldf3.c: Likewise.
3214 * soft-fp/mulsf3.c: Likewise.
3215 * soft-fp/multf3.c: Likewise.
3216 * soft-fp/negdf2.c: Likewise.
3217 * soft-fp/negsf2.c: Likewise.
3218 * soft-fp/negtf2.c: Likewise.
3219 * soft-fp/op-1.h: Likewise.
3220 * soft-fp/op-2.h: Likewise.
3221 * soft-fp/op-4.h: Likewise.
3222 * soft-fp/op-8.h: Likewise.
3223 * soft-fp/op-common.h: Likewise.
3224 * soft-fp/quad.h: Likewise.
3225 * soft-fp/single.h: Likewise.
3226 * soft-fp/soft-fp.h: Likewise.
3227 * soft-fp/subdf3.c: Likewise.
3228 * soft-fp/subsf3.c: Likewise.
3229 * soft-fp/subtf3.c: Likewise.
3230 * soft-fp/truncdfsf2.c: Likewise.
3231 * soft-fp/trunctfdf2.c: Likewise.
3232 * soft-fp/trunctfsf2.c: Likewise.
3233 * soft-fp/trunctfxf2.c: Likewise.
3234 * soft-fp/unorddf2.c: Likewise.
3235 * soft-fp/unordsf2.c: Likewise.
3236 * soft-fp/unordtf2.c: Likewise.
3237 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3238 macro.
3239 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3240 Likewise.
3241 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3242 Likewise.
3243 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3244 Likewise.
3245 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3246 Likewise.
3247 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3248 Likewise.
3249 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3250 Likewise.
3251 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3252 Likewise.
3253 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3254 Likewise.
3255 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3256 Likewise.
3257 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3258 Likewise.
3259 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3260 Likewise.
3261 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3262 Likewise.
3263 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3264 Likewise.
3265 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3266 Likewise.
3267 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3268 Likewise.
3269
ce245ec6
AK
32702014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3271
3272 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3273 cannot be represented.
3274 * config/s390/32/_fixsfdi.c: Likewise.
3275 * config/s390/32/_fixtfdi.c: Likewise.
3276 * config/s390/32/_fixunsdfdi.c: Likewise.
3277 * config/s390/32/_fixunssfdi.c: Likewise.
3278 * config/s390/32/_fixunstfdi.c: Likewise.
3279
1c51d688
RS
32802014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3281
3282 * configure.ac (libgcc_cv_mips_hard_float): New.
3283 * configure: Regenerate.
3284 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3285 t-softfp-sfdf for hard-float targets.
3286 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3287 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3288 (softfp_truncations, softfp_exclude_libgcc2): New.
3289 * config/t-hardfp: New file.
3290 * config/t-hardfp-sfdf: Likewise.
3291 * config/hardfp.c: Likewise.
3292
bbf391db
AK
32932014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3294
3295 * config.host: Include t-floattodi also for s390x.
3296 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3297 * config/s390/32/_fixsfdi.c: Likewise.
3298 * config/s390/32/_fixtfdi.c: Likewise.
3299 * config/s390/32/_fixunsdfdi.c: Likewise.
3300 * config/s390/32/_fixunssfdi.c: Likewise.
3301 * config/s390/32/_fixunstfdi.c: Likewise.
3302
91da0481
RO
33032014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3304
3305 PR target/59788
3306 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3307 (install-libgcc-unwind-map-forbuild): New target.
3308 (all): Depend on install-libgcc-unwind-map-forbuild.
3309 (install-libgcc-unwind-map): New target.
3310 (install): Depend on install-libgcc-unwind-map.
3311
02b67731
SL
33122014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3313
3314 * config/nios2/crti.S (_init): Initialize GOT pointer from
3315 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3316
1ea0a651
RS
33172014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3318
3319 * configure.ac: Check __mips64 when setting host_address.
3320 * configure: Regenerate.
3321 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3322 mips/t-mips64 and t-softfp.
3323 (mips*-*-linux*): Don't add mips/t-tpbit.
3324 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3325 (DPBIT, DPBIT_CFLAGS): Delete.
3326 * config/mips/sfp-machine.h: New file.
3327 * config/mips/t-mips64: Likewise.
3328 * config/mips/t-softfp-tf: Likewise.
3329 * config/mips/t-tpbit: Delete.
3330
f32b0061
MS
33312014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3332
3333 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3334 as long long.
3335
a5420aa4
WL
33362014-01-25 Walter Lee <walt@tilera.com>
3337
3338 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3339 config.h or system.h.
3340 (bool) Define.
3341
24534912
WL
33422014-01-25 Walter Lee <walt@tilera.com>
3343
3344 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3345 (post_atomic_barrier): Ditto.
3346 (__fetch_and_do): New macro.
3347 (__atomic_fetch_and_do): Use __fetch_and_do.
3348 (__sync_fetch_and_do): New macro.
3349 (__sync_fetch_and_add_4): New function.
3350 (__sync_fetch_and_sub_4): New function.
3351 (__sync_fetch_and_or_4): New function.
3352 (__sync_fetch_and_and_4): New function.
3353 (__sync_fetch_and_xor_4): New function.
3354 (__sync_fetch_and_nand_4): New function.
3355 (__sync_fetch_and_add_8): New function.
3356 (__sync_fetch_and_sub_8): New function.
3357 (__sync_fetch_and_or_8): New function.
3358 (__sync_fetch_and_and_8): New function.
3359 (__sync_fetch_and_xor_8): New function.
3360 (__sync_fetch_and_nand_8): New function.
3361 (__do_and_fetch): New macro.
3362 (__atomic_do_and_fetch): Use __do_and_fetch.
3363 (__sync_do_and_fetch): New macro.
3364 (__sync_add_and_fetch_4): New function.
3365 (__sync_sub_and_fetch_4): New function.
3366 (__sync_or_and_fetch_4): New function.
3367 (__sync_and_and_fetch_4): New function.
3368 (__sync_xor_and_fetch_4): New function.
3369 (__sync_nand_and_fetch_4): New function.
3370 (__sync_add_and_fetch_8): New function.
3371 (__sync_sub_and_fetch_8): New function.
3372 (__sync_or_and_fetch_8): New function.
3373 (__sync_and_and_fetch_8): New function.
3374 (__sync_xor_and_fetch_8): New function.
3375 (__sync_nand_and_fetch_8): New function.
3376 (__sync_exchange_methods): New macro.
3377 (__sync_val_compare_and_swap_4): New function.
3378 (__sync_bool_compare_and_swap_4): New function.
3379 (__sync_lock_test_and_test_4): New function.
3380 (__sync_val_compare_and_swap_8): New function.
3381 (__sync_bool_compare_and_swap_8): New function.
3382 (__sync_lock_test_and_test_8): New function.
3383 (__subword_cmpxchg_body): New macro.
3384 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3385 (__atomic_compare_exchange_2): Ditto.
3386 (__sync_subword_cmpxchg): New macro.
3387 (__sync_val_compare_and_swap_1): New function.
3388 (__sync_bool_compare_and_swap_1): New function.
3389 (__sync_val_compare_and_swap_2): New function.
3390 (__sync_bool_compare_and_swap_2): New function.
3391 (__atomic_subword): Rename to ...
3392 (__subword): ... New name.
3393 (__atomic_subword_fetch): Use __subword.
3394 (__sync_subword_fetch): New macro.
3395 (__sync_fetch_and_add_1): New function.
3396 (__sync_fetch_and_sub_1): New function.
3397 (__sync_fetch_and_or_1): New function.
3398 (__sync_fetch_and_and_1): New function.
3399 (__sync_fetch_and_xor_1): New function.
3400 (__sync_fetch_and_nand_1): New function.
3401 (__sync_fetch_and_add_2): New function.
3402 (__sync_fetch_and_sub_2): New function.
3403 (__sync_fetch_and_or_2): New function.
3404 (__sync_fetch_and_and_2): New function.
3405 (__sync_fetch_and_xor_2): New function.
3406 (__sync_fetch_and_nand_2): New function.
3407 (__sync_add_and_fetch_1): New function.
3408 (__sync_sub_and_fetch_1): New function.
3409 (__sync_or_and_fetch_1): New function.
3410 (__sync_and_and_fetch_1): New function.
3411 (__sync_xor_and_fetch_1): New function.
3412 (__sync_nand_and_fetch_1): New function.
3413 (__sync_add_and_fetch_2): New function.
3414 (__sync_sub_and_fetch_2): New function.
3415 (__sync_or_and_fetch_2): New function.
3416 (__sync_and_and_fetch_2): New function.
3417 (__sync_xor_and_fetch_2): New function.
3418 (__sync_nand_and_fetch_2): New function.
3419 (__atomic_subword_lock): Use __subword.
3420 (__sync_subword_lock): New macro.
3421 (__sync_lock_test_and_set_1): New function.
3422 (__sync_lock_test_and_set_2): New function.
3423
4d6d3bc5
WL
34242014-01-25 Walter Lee <walt@tilera.com>
3425
3426 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3427 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3428 (__atomic_subword): Ditto.
3429
cbd9890e
WL
34302014-01-25 Walter Lee <walt@tilera.com>
3431
3432 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3433 a prefix op argument.
3434 (__atomic_nand_fetch_4): Add prefix op.
3435 (__atomic_nand_fetch_8): Ditto.
3436
7d296953 34372014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
3438
3439 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3440
46dd1242
L
34412014-01-09 Rong Xu <xur@google.com>
3442
3443 * libgcov-driver.c (this_prg): make it local to save
3444 bss space.
3445 (gcov_exit_compute_summary): Ditto.
3446 (gcov_exit_merge_gcda): Ditto.
3447 (gcov_exit_merge_summary): Ditto.
3448 (gcov_exit_dump_gcov): Ditto.
3449
cc86234f 34502014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
3451
3452 * libgcov-driver.c: Use libgcov.h.
3453 (buffer_fn_data): Use xmalloc instead of malloc.
3454 (gcov_exit_merge_gcda): Ditto.
3455 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3456 * libgcov.h: New common header files for libgcov-*.h.
3457 * libgcov-interface.c: Use libgcov.h
3458 * libgcov-merge.c: Ditto.
3459 * libgcov-profiler.c: Ditto.
3460 * Makefile.in: Add dependence to libgcov.h
3461
a02e7bdd
JM
34622014-01-02 Joseph Myers <joseph@codesourcery.com>
3463
3464 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3465 case of small numerator and finite nonzero result.
3466
ac1dca3c
RS
34672014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3468
3469 Update copyright years
3470
f9030485
RS
34712014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3472
3473 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3474 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3475 config/arc/dp-hack.h, config/arc/fp-hack.h,
3476 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3477 config/arc/ieee-754/arc600-dsp/divdf3.S,
3478 config/arc/ieee-754/arc600-dsp/divsf3.S,
3479 config/arc/ieee-754/arc600-dsp/muldf3.S,
3480 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3481 config/arc/ieee-754/arc600-mul64/divdf3.S,
3482 config/arc/ieee-754/arc600-mul64/divsf3.S,
3483 config/arc/ieee-754/arc600-mul64/muldf3.S,
3484 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3485 config/arc/ieee-754/arc600/divsf3.S,
3486 config/arc/ieee-754/arc600/mulsf3.S,
3487 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3488 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3489 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3490 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3491 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3492 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3493 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3494 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3495 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3496 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3497 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3498 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3499 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3500 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3501 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3502 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3503 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3504 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3505 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3506 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3507 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3508 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3509 vtv_start_preinit.c: Use the standard form for the copyright notice.
3510
e430824f
CLT
35112013-12-31 Sandra Loosemore <sandra@codesourcery.com>
3512 Chung-Lin Tang <cltang@codesourcery.com>
3513 Based on patches from Altera Corporation
3514
3515 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3516 * config/nios2/lib2-nios2.h: New file.
3517 * config/nios2/lib2-divmod-hi.c: New file.
3518 * config/nios2/linux-unwind.h: New file.
3519 * config/nios2/lib2-divmod.c: New file.
3520 * config/nios2/linux-atomic.c: New file.
3521 * config/nios2/t-nios2: New file.
3522 * config/nios2/crti.asm: New file.
3523 * config/nios2/t-linux: New file.
3524 * config/nios2/lib2-divtable.c: New file.
3525 * config/nios2/lib2-mul.c: New file.
3526 * config/nios2/tramp.c: New file.
3527 * config/nios2/crtn.asm: New file.
3528
1879e97f
UB
35292013-12-26 Uros Bizjak <ubizjak@gmail.com>
3530
3531 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3532 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3533 from cpuid.h to check vendor signatures.
3534
f4a4bdbb
GG
35352013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3536
c2e7e597 3537 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
3538 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3539 (get_amd_cpu): Likewise.
3540
8d2ae544
L
35412013-12-25 H.J. Lu <hongjiu.lu@intel.com>
3542
3543 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3544 Haswell.
3545
74924838
ASJ
35462013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3547 H.J. Lu <hongjiu.lu@intel.com>
3548
0bb52f25
L
3549 PR target/59422
3550 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
3551 and AMD_JAGUAR.
3552 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3553 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3554 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
3555 FEATURE_XOP and FEATURE_FMA.
3556 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3557 AMDFAM15H_BDVER3.
3558 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 3559 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
3560 FEATURE_FMA4 and FEATURE_XOP.
3561
d3c11974
L
35622013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3563
3564 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3565 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3566 (get_intel_cpu): Updated.
3567
064c4ff2
ZC
35682013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3569
3570 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3571
8b02e720
UB
35722013-12-09 Uros Bizjak <ubizjak@gmail.com>
3573
3574 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 3575 instructions when __SSE_MATH__ is defined.
8b02e720 3576
3fa2ccb4
RC
35772013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3578
3579 * config.host (microblaze-*-rtems*): New.
3580
ecd78fc9
KV
35812013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3582
3583 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3584 architectures that do not have hardware divide instruction.
3585 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3586
b21fbbd2
RS
35872013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3588
3589 * longlong.h: Delete (moved to include/).
3590
b03fb8c9
AZ
35912013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
3593 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3594 of normal number and qNaN to not raise an inexact exception.
3595
3c716922
UB
35962013-11-28 Uros Bizjak <ubizjak@gmail.com>
3597
3598 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3599
36002013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
3601
3602 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3603 for correct opcodes on BE.
3604
a3458d22
UB
36052013-11-27 Uros Bizjak <ubizjak@gmail.com>
3606
3607 * soft-fp/op-4.h: Update from glibc.
3608
30b8f78b
KV
36092013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3610
3611 * libgcc2.c (__udivmoddi4): Define new implementation when
3612 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3613 divide instructions.
3614
82552a29
OE
36152013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3616
3617 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3618
80e87457
RO
36192013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3620
3621 * config/t-softfp (soft-fp-objects-base): New variable.
3622 (soft-fp-objects): Use it.
3623
44178879
DE
36242013-11-23 David Edelson <dje.gcc@gmail.com>
3625 Andrew Dixie <andrewd@gentrack.com>
3626
3627 PR target/33704
3628 * config/rs6000/aixinitfini.c: New file.
3629 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3630 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3631 symbols.
3632
e5287671
YR
36332013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3634
a3458d22 3635 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 3636
867c8b03
JH
36372013-11-18 Jan Hubicka <jh@suse.cz>
3638
7f369373
JH
3639 * libgcov-driver.c (run_accounted): Make global level static.
3640 (gcov_exit_merge_summary): Silence warning; do not clear
3641 run_accounted here.
3642 (gcov_exit): Clear it here.
3643
1d0b3334
JH
3644 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3645 run_accounted.
3646
867c8b03
JH
3647 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3648 (all_prg, crc32): Remove static vars.
3649 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3650 all_prg.
3651 (gcov_exit_merge_gcda): Add crc32 parameter.
3652 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3653 do not account run if it was already accounted.
3654 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3655 (gcov_exit): Initialize all_prg; update.
3656
66204992
AS
36572013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3658
3659 * configure: Regenerate.
3660
b54214fe
UW
36612013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3662 Alan Modra <amodra@gmail.com>
3663
3664 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3665 (frob_update_context): Use it.
3666
36672013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3668 Alan Modra <amodra@gmail.com>
3669
3670 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3671 (trampoline_initial): Provide ELFv2 variant.
3672 (__trampoline_setup): Likewise.
3673
3674 * config/rs6000/linux-unwind.h (frob_update_context): Do not
3675 check for AIX indirect function call sequence if _CALL_ELF == 2.
3676
36772013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3678 Alan Modra <amodra@gmail.com>
3679
3680 * config/rs6000/linux-unwind.h (get_regs): Do not support
3681 old kernel versions if _CALL_ELF == 2.
3682 (frob_update_context): Do not support PLT stub variants only
3683 generated by old linkers if _CALL_ELF == 2.
3684
13e0981a
UW
36852013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3686 Alan Modra <amodra@gmail.com>
3687
3688 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3689 location of CR save area for 64-bit little-endian systems.
3690
1a80085d
EB
36912013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3692
3693 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3694 in tmake_file.
3695 * config/arm/t-vxworks: Delete.
3696
cabeea52
KT
36972013-11-10 Kai Tietz <ktietz@redhat.com>
3698
3699 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3700 Increment load-count on use of LIBGCC_SONAME DLL.
3701 (hmod_libgcc): New static variable to hold handle of
3702 LIBGCC_SONAME DLL.
3703 (__gcc_deregister_frame): Decrement load-count of
3704 LIBGCC_SONAME DLL.
3705
ac088ba1
BRF
37062013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3707
3708 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3709 availability.
3710 * configure: Regenerate
3711
d59a8fcc
UB
37122013-11-07 Uros Bizjak <ubizjak@gmail.com>
3713
3714 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3715 FP_EX_DENORM. Store result to volatile location after SSE division
3716 to close interrupt window. Remove unneeded fwait after x87
3717 division since interrupt window will be closed by emitted fstp.
9de84e84 3718 Rewrite FP_EX_INEXACT handling.
d59a8fcc 3719
9954c743
JM
37202013-11-06 Joseph Myers <joseph@codesourcery.com>
3721
3722 * soft-fp/README: Update.
3723 * soft-fp/adddf3.c: Update from glibc.
3724 * soft-fp/addsf3.c: Likewise.
3725 * soft-fp/addtf3.c: Likewise.
3726 * soft-fp/divdf3.c: Likewise.
3727 * soft-fp/divsf3.c: Likewise.
3728 * soft-fp/divtf3.c: Likewise.
3729 * soft-fp/double.h: Likewise.
3730 * soft-fp/eqdf2.c: Likewise.
3731 * soft-fp/eqsf2.c: Likewise.
3732 * soft-fp/eqtf2.c: Likewise.
3733 * soft-fp/extenddftf2.c: Likewise.
3734 * soft-fp/extended.h: Likewise.
3735 * soft-fp/extendsfdf2.c: Likewise.
3736 * soft-fp/extendsftf2.c: Likewise.
3737 * soft-fp/extendxftf2.c: Likewise.
3738 * soft-fp/fixdfdi.c: Likewise.
3739 * soft-fp/fixdfsi.c: Likewise.
3740 * soft-fp/fixdfti.c: Likewise.
3741 * soft-fp/fixsfdi.c: Likewise.
3742 * soft-fp/fixsfsi.c: Likewise.
3743 * soft-fp/fixsfti.c: Likewise.
3744 * soft-fp/fixtfdi.c: Likewise.
3745 * soft-fp/fixtfsi.c: Likewise.
3746 * soft-fp/fixtfti.c: Likewise.
3747 * soft-fp/fixunsdfdi.c: Likewise.
3748 * soft-fp/fixunsdfsi.c: Likewise.
3749 * soft-fp/fixunsdfti.c: Likewise.
3750 * soft-fp/fixunssfdi.c: Likewise.
3751 * soft-fp/fixunssfsi.c: Likewise.
3752 * soft-fp/fixunssfti.c: Likewise.
3753 * soft-fp/fixunstfdi.c: Likewise.
3754 * soft-fp/fixunstfsi.c: Likewise.
3755 * soft-fp/fixunstfti.c: Likewise.
3756 * soft-fp/floatdidf.c: Likewise.
3757 * soft-fp/floatdisf.c: Likewise.
3758 * soft-fp/floatditf.c: Likewise.
3759 * soft-fp/floatsidf.c: Likewise.
3760 * soft-fp/floatsisf.c: Likewise.
3761 * soft-fp/floatsitf.c: Likewise.
3762 * soft-fp/floattidf.c: Likewise.
3763 * soft-fp/floattisf.c: Likewise.
3764 * soft-fp/floattitf.c: Likewise.
3765 * soft-fp/floatundidf.c: Likewise.
3766 * soft-fp/floatundisf.c: Likewise.
3767 * soft-fp/floatunditf.c: Likewise.
3768 * soft-fp/floatunsidf.c: Likewise.
3769 * soft-fp/floatunsisf.c: Likewise.
3770 * soft-fp/floatunsitf.c: Likewise.
3771 * soft-fp/floatuntidf.c: Likewise.
3772 * soft-fp/floatuntisf.c: Likewise.
3773 * soft-fp/floatuntitf.c: Likewise.
3774 * soft-fp/gedf2.c: Likewise.
3775 * soft-fp/gesf2.c: Likewise.
3776 * soft-fp/getf2.c: Likewise.
3777 * soft-fp/ledf2.c: Likewise.
3778 * soft-fp/lesf2.c: Likewise.
3779 * soft-fp/letf2.c: Likewise.
3780 * soft-fp/muldf3.c: Likewise.
3781 * soft-fp/mulsf3.c: Likewise.
3782 * soft-fp/multf3.c: Likewise.
3783 * soft-fp/negdf2.c: Likewise.
3784 * soft-fp/negsf2.c: Likewise.
3785 * soft-fp/negtf2.c: Likewise.
3786 * soft-fp/op-1.h: Likewise.
3787 * soft-fp/op-2.h: Likewise.
3788 * soft-fp/op-4.h: Likewise.
3789 * soft-fp/op-8.h: Likewise.
3790 * soft-fp/op-common.h: Likewise.
3791 * soft-fp/quad.h: Likewise.
3792 * soft-fp/single.h: Likewise.
3793 * soft-fp/soft-fp.h: Likewise.
3794 * soft-fp/subdf3.c: Likewise.
3795 * soft-fp/subsf3.c: Likewise.
3796 * soft-fp/subtf3.c: Likewise.
3797 * soft-fp/truncdfsf2.c: Likewise.
3798 * soft-fp/trunctfdf2.c: Likewise.
3799 * soft-fp/trunctfsf2.c: Likewise.
3800 * soft-fp/trunctfxf2.c: Likewise.
3801 * soft-fp/unorddf2.c: Likewise.
3802 * soft-fp/unordsf2.c: Likewise.
3803 * soft-fp/unordtf2.c: Likewise.
3804
02ac9503
UB
38052013-11-05 Uros Bizjak <ubizjak@gmail.com>
3806
3807 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3808 (_FP_MUL_MEAT_D): Ditto.
3809 (_FP_DIV_MEAT_S): Ditto.
3810 (_FP_DIV_MEAT_D): Ditto.
3811 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3812 t-softfp-sfdf and t-softfp to tmake_file.
3813
61221141
UB
38142013-11-03 Uros Bizjak <ubizjak@gmail.com>
3815
3816 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3817 * config/i386/crtprec.c: Ditto.
3818
9304f876
CJW
38192013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3820 Shiva Chen <shiva0217@gmail.com>
3821
3822 * config.host (nds32*-elf*): Add nds32 target.
3823 * config/nds32 : New directory and files.
3824
0e499e75
HPN
38252013-10-16 Hans-Peter Nilsson <hp@axis.com>
3826
3827 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3828 * config.host (cpu_type) <Setting default>: Add entry for
3829 crisv32-*-*.
3830 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3831 <crisv32-*-linux*>: Adjust.
3832 * longlong.h: Wrap the whole CRIS section in a single
3833 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3834 and sub_ddmmss.
3835 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3836 defined.
3837 [__CRIS__] (__umulsidi3): Define.
3838 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3839 * config/cris/sfp-machine.h: New file.
3840 * config/cris/umulsidi3.S: New file.
3841 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3842 * config/cris/arit.c (SIGNMULT): New macro.
3843 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3844 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3845 saving 3 out of originally 33 cycles from the fastest
3846 path, 3 out of 54 from the medium path and one from the longest
3847 path. Improve comments.
3848
16022041
RS
38492013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3850
3851 * sync.c: Remove static aliases and define each function directly
3852 under its real name.
3853
69778659
JDA
38542013-10-02 John David Anglin <danglin@gcc.gnu.org>
3855
3856 * config.host (hppa*64*-*-linux*): Define extra_parts.
3857 (hppa*-*-linux*): Likewise.
3858
2deaf8b0
JR
38592013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3860
3861 * config/arc/crtgend.S: Add 2013 to Copyright years.
3862 * config/arc/gmon/atomic.h: Likewise.
3863 * config/arc/gmon/auxreg.h: Likewise.
3864 * config/arc/gmon/sys/gmon_out.h: Likewise.
3865 * config/arc/gmon/sys/gmon.h: Likewise.
3866 * config/arc/gmon/prof-freq.c: Likewise.
3867 * config/arc/gmon/mcount.c: Likewise.
3868 * config/arc/gmon/prof-freq-stub.S: Likewise.
3869 * config/arc/gmon/gmon.c: Likewise.
3870 * config/arc/gmon/machine-gmon.h: Likewise.
3871 * config/arc/gmon/profil.S: Likewise.
3872 * config/arc/gmon/dcache_linesz.S: Likewise.
3873 * config/arc/crtg.S: Likewise.
3874 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3875 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3876 * config/arc/ieee-754/adddf3.S: Likewise.
3877 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3878 * config/arc/ieee-754/fixsfsi.S: Likewise.
3879 * config/arc/ieee-754/gtsf2.S: Likewise.
3880 * config/arc/ieee-754/floatsisf.S: Likewise.
3881 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3882 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3883 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3884 * config/arc/ieee-754/fixdfsi.S: Likewise.
3885 * config/arc/ieee-754/addsf3.S: Likewise.
3886 * config/arc/ieee-754/gesf2.S: Likewise.
3887 * config/arc/ieee-754/floatsidf.S: Likewise.
3888 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3889 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3890 * config/arc/ieee-754/gtdf2.S: Likewise.
3891 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3892 * config/arc/ieee-754/uneqdf2.S: Likewise.
3893 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3894 * config/arc/ieee-754/uneqsf2.S: Likewise.
3895 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3896 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3897 * config/arc/ieee-754/eqdf2.S: Likewise.
3898 * config/arc/ieee-754/ordsf2.S: Likewise.
3899 * config/arc/ieee-754/divsf3.S: Likewise.
3900 * config/arc/ieee-754/divdf3.S: Likewise.
3901 * config/arc/ieee-754/floatunsidf.S: Likewise.
3902 * config/arc/ieee-754/orddf2.S: Likewise.
3903 * config/arc/ieee-754/eqsf2.S: Likewise.
3904 * config/arc/ieee-754/gedf2.S: Likewise.
3905 * config/arc/crtn.S: Likewise.
3906 * config/arc/crti.S: Likewise.
3907 * config/arc/t-arc700-uClibc: Likewise.
3908 * config/arc/asm.h: Likewise.
3909 * config/arc/libgcc-excl.ver: Likewise.
3910 * config/arc/t-arc-newlib: Likewise.
3911 * config/arc/divtab-arc700.c: Likewise.
3912 * config/arc/initfini.c: Likewise.
3913 * config/arc/fp-hack.h: Likewise.
3914
c8e318b0
JR
39152013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3916 Diego Novillo <dnovillo@google.com>
3917
3918 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
3919 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3920 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3921 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 3922
d38a64b4
JR
39232013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3924 Brendan Kehoe <brendan@zen.org>
3925 Simon Cook <simon.cook@embecosm.com>
3926
3927 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3928 * config/arc: New directory.
3929 * longlong.h [__arc__] (umul_ppmm): Remove.
3930 [__arc__] (__umulsidi3): Define.
3931 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3932 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3933
dff717d2
JC
39342013-09-17 Jacek Caban <jacek@codeweavers.com>
3935
3936 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3937 CreateSemaphoreA.
3938 * config/i386/gthr-win32.h: Likewise.
3939
5c0029de
DD
39402013-09-16 DJ Delorie <dj@redhat.com>
3941
844ad6c6 3942 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
3943 * config/rl78/lib2mul.c: Enable for RL78/G10.
3944 * config/rl78/lib2div.c: Likewise.
3945 * config/rl78/lshrsi3.S: Use vregs.h.
3946 * config/rl78/cmpsi2.S: Likewise.
3947 * config/rl78/trampoline.S: Likewise.
3948 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
3949
ceb2fc49
DD
39502013-09-14 DJ Delorie <dj@redhat.com>
3951 Nick Clifton <nickc@redhat.com>
3952
3953 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3954 * config/rl78/vregs.h: New.
3955 * config/rl78/signbit.S: New file. Implements signbit function.
3956 * config/rl78/divmodsi.S: New.
3957 * config/rl78/divmodhi.S: New.
3958 * config/rl78/divmodqi.S: New.
3959 * config/rl78/t-rl78: Build them here...
3960 * config/rl78/lib2div.c: ...but not here.
3961
f6a83b4a
DD
39622013-09-12 DJ Delorie <dj@redhat.com>
3963
3964 * config.host (msp*-*-elf): New.
3965 * config/msp430/: New port.
3966
9107b096
IS
39672013-08-18 Iain Sandoe <iain@codesourcery.com>
3968
3969 PR gcov-profile/58127
3970 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3971 __thread var for emulated TLS.
3972 (__gcov_indirect_call_counters): Likewise.
3973
0f9bde1f 39742013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 3975 Catherine Moore <clm@codesourcery.com>
7d296953 3976 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
3977
3978 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3979 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3980 (CALL_STUB_NO_RET): Likewise.
3981 (CALL_STUB_RET): Likewise.
3982 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3983 __mips16_ret call/return stub symbols.
3984 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3985 to tmake_file.
3986
2dc14aac
MR
39872013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3988
3989 * config.host <mips*-*-linux*>: Remove a stray comment.
3990
748d71f3
JH
39912013-08-10 Jan Hubicka <jh@suse.cz>
3992
3993 Work around binutils PR14342
3994 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3995 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3996 (L_gcov_indirect_call_profiler_v2): New.
3997
2fa3d31b
JH
39982013-08-06 Jan Hubicka <jh@suse.cz>
3999
4000 * libgcov.c (__gcov_indirect_call_callee,
4001 __gcov_indirect_call_counters): New global vars.
4002 (__gcov_indirect_call_profiler): replace by ...
4003 (__gcov_indirect_call_profiler_v2) ... this one.
4004
2077db1b
CT
40052013-08-06 Caroline Tice <cmtice@google.com>
4006
d0595b65 4007 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 4008 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
4009 * configure.ac: Add code to check/set enable_vtable_verify.
4010 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 4011 true.
d0595b65
CT
4012 * vtv_start_preinit.c: New file.
4013 * vtv_end_preinit.c: New file.
4014 * vtv_start.c: New file.
4015 * vtv_end.c: New file.
4016 * configure: Regenerated.
2077db1b 4017
46549c20
MK
40182013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
4019
4020 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
4021 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
4022 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
4023 GPL-3.0-with-GCC-exception.
4024
72be589b
MR
40252013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
4026
4027 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
4028 ISA and up.
4029
902a3faf
AK
40302013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4031
4032 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
4033 mapping for FPRs when creating the fallback framestate.
4034
02371798
GJL
40352013-07-19 Georg-Johann Lay <avr@gjlay.de>
4036
4037 PR target/57516
4038 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
4039 (__round_s2_const, __round_u2_const)
4040 (__round_s4_const, __round_u4_const, __round_x8):
4041 Saturate result if addition result cannot be represented.
4042
ab0e8379
MK
40432013-07-15 Matthias Klose <doko@ubuntu.com>
4044
4045 * libgcc2.c: Don't include <limits.h>.
4046
7da38058
JJ
40472013-07-09 Janis Johnson <janisjo@codesourcery.com>
4048
4049 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
4050
1f6eac90
JJ
40512013-07-06 Jakub Jelinek <jakub@redhat.com>
4052
4053 PR target/29776
4054 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
4055
4ea3d774
JJ
40562013-06-28 Jakub Jelinek <jakub@redhat.com>
4057
4058 PR middle-end/36041
4059 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
4060 Define.
4061 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
4062 instead of table lookups.
4063 (__popcountDI2): Likewise.
4064
9d2cdf25
CJW
40652013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
4066
4067 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
4068 correctly.
4069
fa1e55b0
JM
40702013-06-21 Joseph Myers <joseph@codesourcery.com>
4071
4072 PR other/53317
4073 * soft-fp/adddf3.c: Update from glibc.
4074 * soft-fp/addsf3.c: Likewise.
4075 * soft-fp/addtf3.c: Likewise.
4076 * soft-fp/divdf3.c: Likewise.
4077 * soft-fp/divsf3.c: Likewise.
4078 * soft-fp/divtf3.c: Likewise.
4079 * soft-fp/double.h: Likewise.
4080 * soft-fp/eqdf2.c: Likewise.
4081 * soft-fp/eqsf2.c: Likewise.
4082 * soft-fp/eqtf2.c: Likewise.
4083 * soft-fp/extenddftf2.c: Likewise.
4084 * soft-fp/extended.h: Likewise.
4085 * soft-fp/extendsfdf2.c: Likewise.
4086 * soft-fp/extendsftf2.c: Likewise.
4087 * soft-fp/fixdfdi.c: Likewise.
4088 * soft-fp/fixdfsi.c: Likewise.
4089 * soft-fp/fixsfdi.c: Likewise.
4090 * soft-fp/fixsfsi.c: Likewise.
4091 * soft-fp/fixtfdi.c: Likewise.
4092 * soft-fp/fixtfsi.c: Likewise.
4093 * soft-fp/fixunsdfdi.c: Likewise.
4094 * soft-fp/fixunsdfsi.c: Likewise.
4095 * soft-fp/fixunssfdi.c: Likewise.
4096 * soft-fp/fixunssfsi.c: Likewise.
4097 * soft-fp/fixunstfdi.c: Likewise.
4098 * soft-fp/fixunstfsi.c: Likewise.
4099 * soft-fp/floatdidf.c: Likewise.
4100 * soft-fp/floatdisf.c: Likewise.
4101 * soft-fp/floatditf.c: Likewise.
4102 * soft-fp/floatsidf.c: Likewise.
4103 * soft-fp/floatsisf.c: Likewise.
4104 * soft-fp/floatsitf.c: Likewise.
4105 * soft-fp/floatundidf.c: Likewise.
4106 * soft-fp/floatundisf.c: Likewise.
4107 * soft-fp/floatunditf.c: Likewise.
4108 * soft-fp/floatunsidf.c: Likewise.
4109 * soft-fp/floatunsisf.c: Likewise.
4110 * soft-fp/floatunsitf.c: Likewise.
4111 * soft-fp/gedf2.c: Likewise.
4112 * soft-fp/gesf2.c: Likewise.
4113 * soft-fp/getf2.c: Likewise.
4114 * soft-fp/ledf2.c: Likewise.
4115 * soft-fp/lesf2.c: Likewise.
4116 * soft-fp/letf2.c: Likewise.
4117 * soft-fp/muldf3.c: Likewise.
4118 * soft-fp/mulsf3.c: Likewise.
4119 * soft-fp/multf3.c: Likewise.
4120 * soft-fp/negdf2.c: Likewise.
4121 * soft-fp/negsf2.c: Likewise.
4122 * soft-fp/negtf2.c: Likewise.
4123 * soft-fp/op-1.h: Likewise.
4124 * soft-fp/op-2.h: Likewise.
4125 * soft-fp/op-4.h: Likewise.
4126 * soft-fp/op-8.h: Likewise.
4127 * soft-fp/op-common.h: Likewise.
4128 * soft-fp/quad.h: Likewise.
4129 * soft-fp/single.h: Likewise.
4130 * soft-fp/soft-fp.h: Likewise.
4131 * soft-fp/subdf3.c: Likewise.
4132 * soft-fp/subsf3.c: Likewise.
4133 * soft-fp/subtf3.c: Likewise.
4134 * soft-fp/truncdfsf2.c: Likewise.
4135 * soft-fp/trunctfdf2.c: Likewise.
4136 * soft-fp/trunctfsf2.c: Likewise.
4137 * soft-fp/unorddf2.c: Likewise.
4138 * soft-fp/unordsf2.c: Likewise.
4139 * soft-fp/unordtf2.c: Likewise.
4140 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4141 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4142 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4143 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4144 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4145 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4146 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4147 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4148 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4149 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4150 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4151 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4152
0de86a92
JU
41532013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4154
4155 * config/mips/lib2funcs.c: New file.
4156 * config/mips/t-mips (LIB2ADD_ST): Add it.
4157
0d008882
OE
41582013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4159
4160 PR target/6526
4161 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4162 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4163
776434d1
WL
41642013-06-08 Walter Lee <walt@tilera.com>
4165
4166 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4167 Replace int64_t with long long. Add __extension__ where
4168 appropriate.
4169 * config/tilepro/atomic.c: Include config.h.
4170
6ab3ebb4
DR
41712013-06-06 Douglas B Rupp <rupp@adacore.com>
4172
4173 * config.host (arm-wrs-vxworks): Configure with other soft float.
4174
107eea2c
JU
41752013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4176
4177 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4178 (mips64r5900el-*-elf*): New configurations.
4179
5cc19c62
AM
41802013-06-04 Alan Modra <amodra@gmail.com>
4181
4182 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4183
0f1d3965
YR
41842013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4185
4186 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4187
0ba045df
EB
41882013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4189
4190 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4191 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4192 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4193
49dcafd4
EB
41942013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4195
4196 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4197 (powerpc-wrs-vxworks): Likewise.
4198
4fcb5d87
EB
41992013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4200
4201 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4202 signal frames as well.
4203 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4204 STACK_BIAS to the CFA offset.
4205
0ec33224
RH
42062013-05-17 Richard Henderson <rth@redhat.com>
4207
4208 PR target/49146
4209 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4210 (execute_cfa_program): Use it when storing to fs->regs.
4211
492a8029
KT
42122013-05-08 Kai Tietz <ktietz@redhat.com>
4213
4214 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4215 (__deregister_frame_info): Likewise.
4216
701e2f0a
TS
42172013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4218
e5123d08
TS
4219 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4220 NaN's payload.
4221
701e2f0a
TS
4222 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4223
b9a7eb5d
AM
42242013-04-25 Alan Modra <amodra@gmail.com>
4225
4226 * config.host: Match little-endian powerpc-linux.
4227
dfe192f5
YZ
42282013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4229
4230 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4231 as 'unsigned long long' instead of 'unsigned long'.
4232 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4233 'signed long'.
4234
b6b9af2f
JB
42352013-04-10 Julian Brown <julian@codesourcery.com>
4236
4237 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4238 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4239 unsigned char/unsigned short.
4240 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4241
ecabdd00
JDA
42422013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4243
4244 PR other/55274
4245 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4246
34652576
MI
42472013-04-04 Meador Inge <meadori@codesourcery.com>
4248
4249 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4250 computing the location of the link register.
4251 (aeabi_uldivmod): Ditto.
4252
e9fd8c19
KT
42532013-03-27 Kai Tietz <ktietz@redhat.com>
4254
4255 * config.host: Add support for cygwin x64 target.
4256 * configure: Regenerated.
4257
a6406324
WL
42582013-03-26 Walter Lee <walt@tilera.com>
4259
4260 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4261 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4262
55446c7e
KT
42632013-03-25 Kai Tietz <ktietz@redhat.com>
4264
4265 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4266
d2ae19d9
RM
42672013-03-20 Robert Mason <rbmj@verizon.net>
4268
4269 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4270 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4271 (__gthread_leave_tsd_dtor_context): Add prototypes.
4272 (tls_delete_hook): Update.
4273
22c4c869
CM
42742013-03-20 Catherine Moore <clm@codesourcery.com>
4275 Joseph Myers <joseph@codesourcery.com>
4276 Chao-ying Fu <fu@mips.com>
4277
4278 * config/mips/mips16.S: Don't build for microMIPS.
4279 * config/mips/linux-unwind.h: Handle microMIPS frame.
4280 * config/mips/crtn.S (fini, init): New labels.
4281
fbd28bc3
JJ
42822013-03-14 Jakub Jelinek <jakub@redhat.com>
4283
4284 PR tree-optimization/53265
4285 * unwind-dw2.c (execute_cfa_program): Avoid
4286 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4287 on targets with DWARF_FRAME_REGISTERS < 32.
4288
decc676e
OE
42892013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4290
4291 PR target/49880
4292 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4293 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4294
84ea618a
ST
42952013-03-07 Sriraman Tallam <tmsriram@google.com>
4296
4297 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4298 sandybridge processors.
4299
8f6d1c86
OE
43002013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4301
4302 PR target/56529
4303 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4304 inclusion list.
4305
ecdbd01a 43062013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
4307
4308 * config/microblaze/crti.S: Setup stack protection at entry
4309
0b4ce21b
GJL
43102013-03-04 Georg-Johann Lay <avr@gjlay.de>
4311
4312 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4313 (__rotldi3): Shift bytewise if applicable.
4314
b7c3f1ca
JG
43152013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4316
4317 * config/aarch64/sync-cache.c
4318 (__aarch64_sync_cache_range): Silence warnings.
4319
6d65e8f1
CM
43202013-02-25 Catherine Moore <clm@codesourcery.com>
4321
4322 Revert:
4323 2013-02-24 Catherine Moore <clm@codesourcery.com>
4324 Joseph Myers <joseph@codesourcery.com>
4325 Chao-ying Fu <fu@mips.com>
4326
4327 * config/mips/mips16.S: Don't build for microMIPS.
4328 * config/mips/linux-unwind.h: Handle microMIPS frame.
4329 * config/mips/crtn.S (fini, init): New labels.
4330
6941b508
CM
43312013-02-24 Catherine Moore <clm@codesourcery.com>
4332 Joseph Myers <joseph@codesourcery.com>
4333 Chao-ying Fu <fu@mips.com>
4334
4335 * config/mips/mips16.S: Don't build for microMIPS.
4336 * config/mips/linux-unwind.h: Handle microMIPS frame.
4337 * config/mips/crtn.S (fini, init): New labels.
4338
7c422dbb 43392012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 4340 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
4341 as dividend.
4342
110207ad
AM
43432013-02-16 Alan Modra <amodra@gmail.com>
4344
4345 PR target/55431
4346 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4347 (ppc_fallback_frame_state): Always set up save locations for fp
4348 and altivec. Don't bother with non-callee-saved regs, r0-r13
4349 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4350
e68a4ef6
GJL
43512013-02-12 Georg-Johann Lay <avr@gjlay.de>
4352
4353 PR target/54222
4354 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4355 _ssmulHA, _ssmulSA.
4356 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4357 _ssmulha3, _usmulusa3, _ssmulsa3.
4358 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4359 (__muldi3): XCALL __muldi3_6 instead of rcall.
4360 (__umulsidi3, __mulsidi3): New functions.
4361 (do_prologue_saves, do_epilogue_restores): New .macros.
4362 (__divdi3_moddi3): Use them.
4363 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4364 (__usmulusa3, __ssmulsa3): New functions.
4365
6c59ffd1
IS
43662013-02-11 Iain Sandoe <iain@codesourcery.com>
4367 Jack Howarth <howarth@bromo.med.uc.edu>
4368 Patrick Marlier <patrick.marlier@gmail.com>
4369
4370 PR libitm/55693
4371 * config/darwin-crt-tm.c: Remove dummy functions hack.
4372
85d768f3
GJL
43732013-02-08 Georg-Johann Lay <avr@gjlay.de>
4374
4375 PR target/54222
4376 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4377 * config/avr/lib2-object.mk: New iterator to build objects from it.
4378 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4379 lib2funcs.c.
4380 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4381 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4382 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4383 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4384 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4385 * config/avr/lib1funcs-fixed.S: Implement them.
4386
5d5bf775
RS
43872013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4388
4389 Update copyright years.
4390
99113dff
DE
43912013-02-01 David Edelsohn <dje.gcc@gmail.com>
4392
4393 PR target/54601
4394 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4395 Add crtcxa to extra_parts.
4396 * config/rs6000/exit.h: New file.
4397 * config/rs6000/cxa_atexit.c: New file.
4398 * config/rs6000/cxa_finalize.c: New file.
4399 * config/rs6000/crtcxa.c: New file.
4400 * config/rs6000/t-aix-cxa: New file.
4401 * config/rs6000/libgcc-aix-cxa.ver: New file.
4402
dbdbd982
NC
44032013-01-31 Nick Clifton <nickc@redhat.com>
4404
4405 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4406 variant.
4407
5893f158
GJL
44082013-01-29 Georg-Johann Lay <avr@gjlay.de>
4409
4410 PR target/54222
4411 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4412 _mulQQ, _mulHQ, _mulHA, _mulSA,
4413 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4414 _divQQ, _divHQ, _divHA, _divSA,
4415 _divUQQ, _divUHQ, _divUHA, _divUSA.
4416
ecdbd01a 44172013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 4418
dbdbd982 4419 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
4420 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4421 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4422 to exclude functions from being built with libgcc.c and use
4423 the microblaze assembly.
4424
ecdbd01a 44252013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
4426
4427 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4428 extra_parts.
4429
922c57d1
YZ
44302013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
4431
4432 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4433 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4434 __UINTPTR_TYPE__; also cast 'base' to the same type before the
4435 alignment operation.
4436
e0f8b6a0
SN
44372013-01-15 Sofiane Naci <sofiane.naci@arm.com>
4438
4439 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4440 loop start address for cache clearing.
4441
00892272
GJL
44422013-01-14 Georg-Johann Lay <avr@gjlay.de>
4443
4444 * config/avr/lib1funcs.S: Remove trailing blanks.
4445 * config/avr/lib1funcs-fixed.S: Ditto.
4446
e59ec5fd
GJL
44472013-01-14 Georg-Johann Lay <avr@gjlay.de>
4448
4449 * config/avr/avr-lib.h: Add GPL copyright notice.
4450
3ffc1958
GJL
44512013-01-14 Georg-Johann Lay <avr@gjlay.de>
4452
4453 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4454 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4455 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4456 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4457
25c210f9
MK
44582013-01-07 Mark Kettenis <kettenis@openbsd.org>
4459
4460 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4461 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 4462
db59befb
NC
44632013-01-04 Nick Clifton <nickc@redhat.com>
4464
4465 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4466 the CALLT instruction is supported.
4467
5aa12dbf
JW
44682012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4469
4470 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4471 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4472
65f14117
JT
44732012-12-13 John Tytgat <John@bass-software.com>
4474
4475 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4476 is 25.
4477
ee3ae4f7
JJ
44782012-12-12 Jakub Jelinek <jakub@redhat.com>
4479
4480 PR libgcc/55451
4481 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4482 undefined signed overflows.
4483
2fcfba3d
UB
44842012-12-09 Uros Bizjak <ubizjak@gmail.com>
4485
4486 PR target/55344
4487 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4488
4f2b3dc2
UB
44892012-12-06 Uros Bizjak <ubizjak@gmail.com>
4490
4491 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4492 (FP_TRAPPING_EXCEPTIONS): Define.
4493 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4494 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4495
066161a2
RH
44962012-12-04 Richard Henderson <rth@redhat.com>
4497
4498 PR bootstrap/55571
4499 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4500
7d296953 45012012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 4502
4f2b3dc2 4503 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
4504 (FP_EX_SHIFT): Define.
4505 (FP_TRAPPING_EXCEPTIONS): Define.
4506
7d296953 45072012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
4508
4509 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4510 (FP_ROUNDMODE): Use FP_RND_MASK.
4511 * config/aarch64/sfp-exceptions.c: New.
4512 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4513 Use __sfp_handle_exceptions.
4514
5005fe22
RE
45152012-12-04 Richard Earnshaw <rearnsha@arm.com>
4516
4517 * config.host: (arm*-*-freebsd*): Remove.
4518 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4519 (arm*-*-elf*): Remove.
4520 (arm*-*-wince-pe*): Remove.
4521 * arm/unwind-arm.c (struct fpa_reg): Delete.
4522 (struct fpa_regs): Delete.
4523 (phase1_vrs): Remove fpa element.
4524 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4525 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4526 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4527 * ieee754-sf.S (floatundisf): Remove FPA support.
4528 (floatdisf): Likewise.
4529 * ieee75f-df.S (floatundidf): Likewise.
4530 (floatdidf): Likewise.
4531
e5a81c8e
KT
45322012-11-29 Kai Tietz <ktietz@redhat.com>
4533
4534 PR target/55445
4535 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4536 * unwind-generic.h: Likewise.
4537 * unwind-seh.c: Likewise.
4538
f4919e4a
RH
45392012-11-28 Richard Henderson <rth@redhat.com>
4540
4541 PR libgcc/48076
4542 * emutls.c (__emutls_get_address): Avoid race condition between
4543 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 4544
e13d9d5a
GJL
45452012-11-22 Georg-Johann Lay <avr@gjlay.de>
4546
4547 Adjust decimal point of signed accum mode to GCC default.
4548
4549 PR target/54222
4550 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4551 _divqq_helper.
4552 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4553 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4554 (__mulha3, __mulsa3)
4555 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
4556 decimal point of signed accum types.
4557
e13d9d5a
GJL
4558 (__mulusa3_round): New function.
4559 (__mulusa3): Use it.
4560 (__divqq_helper): New function.
4561 (__udivuqq3): Use it.
4562
1b845c6e
JJ
45632012-11-20 Jakub Jelinek <jakub@redhat.com>
4564
4565 PR bootstrap/55370
4566 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4567
822a258a
TJ
45682012-11-18 Teresa Johnson <tejohnson@google.com>
4569
4570 PR bootstrap/55051
4571 * libgcov.c (gcov_exit): Remove merged program summary
4572 comparison unless !GCOV_LOCKED.
4573
7d296953 45742012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
4575
4576 * soft-fp: Updated from glibc upstream.
4577
e808687a
ILT
45782012-11-06 Ian Lance Taylor <iant@google.com>
4579
4580 * generic-morestack.c (__generic_morestack): Align the returned
4581 stack pointer to a 32 byte boundary.
4582 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4583 increment the return address until we have decided that we don't
4584 have a varargs function.
4585 (__morestack) [32-bit]: Align stack correctly when calling C
4586 functions.
4587 (__morestack) [64-bit]: Likewise.
4588
460277e0
TS
45892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4590
4591 * configure: Regenerate.
4592
73edb277
UB
45932012-11-02 Uros Bizjak <ubizjak@gmail.com>
4594
4595 PR target/55175
4596 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4597 * config/i386/sfp-machine.h: Guard exception handling
4598 code with _SOFT_FLOAT.
4599 * config/i386/32/sfp-machine.h: Guard rounding handling
4600 code with _SOFT_FLOAT.
4601 * config/i386/64/sfp-machine.h: Ditto.
4602
c1d4fa04
JS
46032012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4604
4605 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4606 as extra_parts.
4607
eff6ca85
UB
46082012-10-26 Uros Bizjak <ubizjak@gmail.com>
4609
4610 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4611 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4612 when appropriate. Correct structure element types.
4613 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4614 -minline-all-stringops from compile flags.
4615
7d296953 46162012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
4617
4618 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4619
7d296953 46202012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 4621
eff6ca85 4622 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 4623
6f288860
SH
46242012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4625
4626 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4627 tmake_file.
4628
1e3d5096
IB
46292012-10-23 Ian Bolton <ian.bolton@arm.com>
4630 Jim MacArthur <jim.macarthur@arm.com>
4631 Marcus Shawcroft <marcus.shawcroft@arm.com>
4632 Nigel Stephens <nigel.stephens@arm.com>
4633 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4634 Richard Earnshaw <rearnsha@arm.com>
4635 Sofiane Naci <sofiane.naci@arm.com>
4636 Stephen Thomas <stephen.thomas@arm.com>
4637 Tejas Belagod <tejas.belagod@arm.com>
4638 Yufeng Zhang <yufeng.zhang@arm.com>
4639
4640 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4641 * config/aarch64/crti.S: New file.
4642 * config/aarch64/crtn.S: New file.
4643 * config/aarch64/linux-unwind.h: New file.
4644 * config/aarch64/sfp-machine.h: New file.
4645 * config/aarch64/sync-cache.c: New file.
4646 * config/aarch64/t-aarch64: New file.
4647 * config/aarch64/t-softfp: New file.
4648
8a740f07
HPN
46492012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
4650
4651 * config/mmix/crti.S: Mark program and data addresses using PRELD.
4652 Remove typo'd and unnecessary alignment-LOC for .data. Remove
4653 no-longer-needed LDBU insns.
4654
7d296953 46552012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
4656
4657 * config.host
4658 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4659 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4660
595fefee
MGD
46612012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4662
4663 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4664
9945a876
MK
46652012-10-15 Matthias Klose <doko@ubuntu.com>
4666
4667 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4668
1183dc2c
PC
46692012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
4670
4671 * configure: Regenerate.
4672 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4673
945a9c1f
UB
46742012-10-10 Uros Bizjak <ubizjak@gmail.com>
4675
4676 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4677 instructions for 64bit targets only.
4678
fb8bf47a
UB
46792012-10-10 Uros Bizjak <ubizjak@gmail.com>
4680
4681 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4682 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4683 * config/i386/32/sfp-machine.h: ... here.
4684 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4685 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4686 New defines.
4687
acb72498
MK
46882012-10-07 Matthias Klose <doko@ubuntu.com>
4689
4690 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4691 as unused.
4692 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4693
8eaee0f0
MK
46942012-10-06 Mark Kettenis <kettenis@openbsd.org>
4695
4696 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4697 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4698 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4699 (ElfW): Likewise.
4700
5e3e4fe8
JW
47012012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4702
4703 PR other/53889
4704 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4705 Fix parameter names.
4706
86086376
OE
47072012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4708
4709 PR target/33135
4710 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4711 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4712 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4713
9597375a
OE
47142012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4715
4716 PR target/50457
4717 * config/sh/linux-atomic.S: Delete.
4718 * config/sh/linux-atomic.c: New.
4719 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4720 linux-atomic.c. Add cflags to disable warnings.
4721
1504e3e1
JW
47222012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4723
4724 PR other/53889
4725 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4726 function.
4727 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4728 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4729 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4730 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
4731 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4732 Likewise.
1504e3e1
JW
4733 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4734 Likewise.
4735 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4736 Likewise.
4737 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4738 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4739
17f293b0
MK
47402012-09-19 Mark Kettenis <kettenis@openbsd.org>
4741
9597375a
OE
4742 * config.host (hppa-*-openbsd*): New target.
4743 * config/pa/t-openbsd: New file.
17f293b0 4744
51526856
GJL
47452012-09-15 Georg-Johann Lay <avr@gjlay.de>
4746
4747 PR target/54222
4748 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4749 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4750 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4751 (__divsa3): Use __negsi2 to negate r_quoL.
4752 * config/avr/lib1funcs.S (FALIAS): New macro.
4753 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4754 (__negsi2): ...this new function.
4755 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4756 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4757 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4758 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4759 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4760 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4761
aadb5b43
OE
47622012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4763
4764 PR target/54089
4765 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4766 (lshrsi3): Reimplement as lshrsi3_r0.
4767
d5d66749
AS
47682012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4769
4770 PR target/46191
4771 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4772 of libgcc.a.
4773
c6c36e73
TJ
47742012-09-07 Teresa Johnson <tejohnson@google.com>
4775
9597375a 4776 PR gcov-profile/54487
c6c36e73 4777 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 4778 differences.
c6c36e73 4779
b588ae30
GJL
47802012-09-05 Georg-Johann Lay <avr@gjlay.de>
4781
4782 PR target/54461
4783 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4784 not configured --with-avrlibc=no.
4785 * config/avr/t-avrlibc: New file.
4786 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4787 (DPBIT_FUNCS): Ditto.
4788 (TPBIT_FUNCS): Ditto.
4789
abd16fb1
TJ
47902012-09-04 Teresa Johnson <tejohnson@google.com>
4791
4792 * libgcov.c (struct gcov_summary_buffer): New structure.
4793 (gcov_histogram_insert): New function.
4794 (gcov_compute_histogram): Ditto.
4795 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4796 histograms during summary merging.
4797
613061fd
MK
47982012-09-01 Mark Kettenis <kettenis@openbsd.org>
4799
4800 * config.host (x86_64-*-openbsd*): New target.
73edb277 4801
867a8345
CLT
48022012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4803
4804 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4805 attribute.
4806
4aeaaca3
GJL
48072012-08-24 Georg-Johann Lay <avr@gjlay.de>
4808
4809 PR target/54222
4810 * config/avr/t-avr (conv_X): Rename to func_X.
4811
e55e4056
GJL
48122012-08-24 Georg-Johann Lay <avr@gjlay.de>
4813
4814 PR target/54222
4815 * config/avr/lib1funcs-fixed.S: New file.
4816 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4817 after they are used.
4818 (neg2, neg4): New macros.
4819 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4820 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4821 (__umulhisi3): Speed up MUL variant if there is enough flash.
4822 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4823 avr-modes.def.
4824 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4825 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4826 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4827 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4828 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4829 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4830 (LIB2FUNCS_EXCLUDE): Add supported functions.
4831
a147b6d2
GJL
48322012-08-22 Georg-Johann Lay <avr@gjlay.de>
4833
4834 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4835 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4836 libgcc-s-objects.
4837 * fixed-obj.mk: Only expand dependency if $o is not in
4838 LIB2FUNCS_EXCLUDE.
4839
c637141a
L
48402012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4841
4842 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4843
130e00bd
JM
48442012-08-22 Joseph Myers <joseph@codesourcery.com>
4845
4846 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4847 depend on --enable-shared.
4848 ($(lib1asmfuncs-o)): Use %.vis files independent of
4849 --enable-shared.
4850 * static-object.mk ($(base)$(objext), $(base).vis)
4851 ($(base)_s$(objext)): Use same rules for visibility handling as in
4852 shared-object.mk.
4853
4b1b3788
ILT
48542012-08-21 Ian Lance Taylor <iant@google.com>
4855
4856 * config/i386/morestack.S (__morestack_non_split): Increase amount
4857 of space allocated for non-split code stack.
4858
d2468141
JM
48592012-08-19 Joseph Myers <joseph@codesourcery.com>
4860
4861 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4862 even if inhibit_libc.
4863
a508e1a8
JB
48642012-08-17 Julian Brown <julian@codesourcery.com>
4865
4866 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4867 -fexceptions -fnon-call-exceptions if not defined.
4868 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4869 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4870
5615a07d
AS
48712012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4872
4873 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4874 type.
4875
138f5acd
DE
48762012-08-16 David Edelsohn <dje.gcc@gmail.com>
4877
4878 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4879 rs6000/t-slibgcc-aix.
4880
18efc0dd
SB
48812012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4882
4883 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4884
6b39bc38
SB
48852012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4886
4887 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4888
cd25dea0
L
48892012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4890
4891 PR driver/54171
4892 * Makefile.in (version): Replace top_srcdir with srcdir.
4893
a3dda30b
JY
48942012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4895
4896 * Makefile.in (version): set to BASE-VER file from gcc directory.
4897
d04aacfc
NC
48982012-08-01 Nick Clifton <nickc@redhat.com>
4899
4900 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4901 Implements __clrsb for an HImode argument.
4902
0d13c974
NC
49032012-07-31 Nick Clifton <nickc@redhat.com>
4904
4905 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4906 Implements __clrsb for an HImode argument.
4907 * config/stormy16/clrsbhi2.c: New file:
4908 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4909
efbb59b2
SB
49102012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4911
4912 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4913
bf1431e3
TG
49142012-07-19 Tristan Gingold <gingold@adacore.com>
4915 Richard Henderson <rth@redhat.com>
4916
4917 * unwind-seh.c: New file.
4918 * unwind-generic.h: Include windows.h for SEH.
4919 (_Unwind_Exception): Use 6 private fields for SEH.
4920 (_GCC_specific_handler): Declare.
4921 * unwind-c.c (__gcc_personality_seh0): New function.
4922 Adjust for SEH.
4923 * config/i386/libgcc-cygming.ver: New file.
4924 * config/i386/t-seh-eh: New file.
4925 * config.host (x86_64-*-mingw*): Default to seh.
4926
659140c8
SB
49272012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4928
4929 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4930
a20d08fd
UB
49312012-06-17 Uros Bizjak <ubizjak@gmail.com>
4932
4933 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4934 __builtin_expect when checking for exceptions.
4935 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4936
79261115
UB
49372012-06-13 Uros Bizjak <ubizjak@gmail.com>
4938
4a172156
UB
4939 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4940 function declaration.
4941 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4942 (FP_RND_MASK): New.
4943 * config/ia64/sfp-exceptions.c: New.
4944 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 4945
bb5c97d4
UB
49462012-06-13 Uros Bizjak <ubizjak@gmail.com>
4947
4948 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4949 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4950 * config/i386/64/sfp-machine: ... (delete here) ...
4951 * config/i386/sfp-machine.h: ... to here.
4952 (FP_EX_MASK): Remove.
4953 (FP_RND_MASK): New.
4954 (FP_INIT_ROUNDMODE): Declare asm as volatile.
4955
91fe5efb
ST
49562012-06-11 Sriraman Tallam <tmsriram@google.com>
4957
4958 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4959 * config/i386/libgcc-sol2.ver: Ditto.
4960 * config/i386/libgcc-glibc.ver: Ditto.
4961
67a218c5
RM
49622012-06-11 Roland McGrath <mcgrathr@google.com>
4963
4964 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4965 If __GLIBC__ is defined, refer to __pthread_key_create instead of
4966 pthread_cancel.
4967
492fbea1
UB
49682012-06-09 Uros Bizjak <ubizjak@gmail.com>
4969
4970 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4971 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4972 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4973 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4974 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4975 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4976 * config/i386/64/sfp-machine: ... (delete here) ...
4977 * config/i386/sfp-machine.h: ... to here.
4978 (FP_EX_MASK): New.
4979 (__sfp_handle_exceptions): New function declaration.
4980 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4981 * config/i386/sfp-exceptions.c: New.
4982 * config/i386/t-softfp: New.
4983 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4984 i386/t-softfp to tmake_file.
4985
7b4cf266
DM
49862012-06-03 David S. Miller <davem@davemloft.net>
4987
4988 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4989 change.
4990
0de0d5c6
DM
49912012-05-31 David S. Miller <davem@davemloft.net>
4992
4993 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4994 multiply and divide instructions on 32-bit when V9.
4995 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4996
d8c9d391
JM
49972012-05-29 Joseph Myers <joseph@codesourcery.com>
4998
4999 * config/arm/ieee754-df.S: Fix typos.
5000 * config/arm/ieee754-sf.S: Fix typos.
5001 * config/c6x/libunwind.S: Fix typos.
5002 * config/epiphany/udivsi3-float.c: Fix typos.
5003 * config/microblaze/muldi3_hard.S: Fix typos.
5004 * config/picochip/adddi3.S: Fix typos.
5005 * config/picochip/ashlsi3.S: Fix typos.
5006 * config/picochip/ashrsi3.S: Fix typos.
5007 * config/picochip/clzsi2.S: Fix typos.
5008 * config/picochip/cmpsi2.S: Fix typos.
5009 * config/picochip/divmod15.S: Fix typos.
5010 * config/picochip/divmodhi4.S: Fix typos.
5011 * config/picochip/divmodsi4.S: Fix typos.
5012 * config/picochip/longjmp.S: Fix typos.
5013 * config/picochip/lshrsi3.S: Fix typos.
5014 * config/picochip/parityhi2.S: Fix typos.
5015 * config/picochip/popcounthi2.S: Fix typos.
5016 * config/picochip/setjmp.S: Fix typos.
5017 * config/picochip/subdi3.S: Fix typos.
5018 * config/picochip/ucmpsi2.S: Fix typos.
5019 * config/picochip/udivmodhi4.S: Fix typos.
5020 * config/picochip/udivmodsi4.S: Fix typos.
5021 * config/spu/divv2df3.c: Fix typos.
5022 * config/spu/mfc_multi_tag_release.c: Fix typos.
5023 * config/spu/mfc_tag_release.c: Fix typos.
5024 * configure.ac: Fix typos.
5025 * configure: Regenerate.
5026
31a18a7e
ILT
50272012-05-25 Ian Lance Taylor <iant@google.com>
5028
5029 * config/i386/morestack.S (__morestack_non_split): Check whether
5030 caller is varargs and needs %bp to hold the stack frame on return.
5031
c5768510
OH
50322012-05-25 Olivier Hainque <hainque@adacore.com>
5033
5034 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
5035 sequence in the non pic case on VxWorks.
5036
7c7c339b
OH
50372012-05-24 Olivier Hainque <hainque@adacore.com>
5038
73fb7630 5039 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
5040 "install-leaf" to "install".
5041
fdc1b7d3
OH
50422012-05-24 Olivier Hainque <hainque@adacore.com>
5043
5044 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
5045 Use a separate command for stamp removals.
5046
07ba94b9
AP
50472012-05-21 Andrew Pinski <apinski@cavium.com>
5048
5049 PR bootstrap/53183
5050 * configure.ac: Define the default includes to being none.
5051 * configure: Regenerate.
5052
4677d2eb
OH
50532012-05-16 Olivier Hainque <hainque@adacore.com>
5054
5055 * Makefile.in (install-unwind_h): Rename into ...
5056 (install-unwind_h-forbuild): New target.
5057 (all): Use it instead of the former install-unwind_h.
5058 (install-unwind_h): Reinstate, copy to user install destination
5059 for include files, not to the internal gcc object directory one.
5060 (install-leaf): Depend on it.
5061
7d67c380
OH
50622012-05-15 Olivier Hainque <hainque@adacore.com>
5063
5064 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
5065 register numbers. LR_REGNO replaces R_LR.
5066 (ucontext_for): New, helper for ...
5067 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
5068 and 5.3 of ...
5069 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
5070
aca06c90
RO
50712012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5072
5073 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
5074 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
5075 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
5076 i386/t-cpuinfo ...
5077 (i[34567]86-*-*, x86_64-*-*): ... here.
5078
5079 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
5080 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
5081
5082 * config/i386/i386-cpuinfo.c: Rename to ...
5083 * config/i386/cpuinfo.c: ... this.
5084 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
5085
5086 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
5087 (libgcc_cv_init_priority): New test.
5088 * configure: Regenerate.
5089 * config.in: New file.
5090 * Makefile.in (clean): Rename config.h to auto-target.h.
5091 (config.h): Likewise.
5092 (stamp-h): Likewise.
5093
5094 * config/i386/cpuinfo.c (auto-target.h): Include.
5095 (CONSTRUCTOR_PRIORITY): Define.
5096 (__cpu_indicator_init): Use it.
5097
0d03ac1b
L
50982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5099
5100 * longlong.h: Use a URL instead of an FSF postal address.
5101 Replace spaces with tab.
5102
4a172156 51032012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
5104
5105 * libgcov.c (gcov_clear, __gcov_reset): New functions.
5106 (__gcov_dump): Ditto.
5107 (gcov_dump_complete): New global variable.
5108 (gcov_exit): Export hidden to enable use in L_gcov_dump.
5109 (__gcov_flush): Outline functionality now in gcov_clear.
5110 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
5111
e4bb767e
AJ
51122012-04-28 Aurelien Jarno <aurelien@aurel32.net>
5113
31a18a7e
ILT
5114 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
5115 (mips*-*-linux*): Include mips/t-tpbit when long double is
5116 16 bytes long.
e4bb767e 5117
5ddecff9
ST
51182012-04-25 Sriraman Tallam <tmsriram@google.com>
5119
5120 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
5121 (get_available_features): New argument. Check for AVX2.
5122 (__cpu_indicator_init): Modify call to get_available_features.
5123
b427dd7a
AM
51242012-04-25 Alan Modra <amodra@gmail.com>
5125
5126 * config/rs6000/crtsavevr.S: New file.
5127 * config/rs6000/crtrestvr.S: New file.
5128 * config/rs6000/t-savresfgpr: Build the above.
5129 * config/rs6000/t-netbsd: Likewise.
5130
ad491329
ST
51312012-04-24 Sriraman Tallam <tmsriram@google.com>
5132
5133 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5134
792317cc
ST
51352012-04-24 Sriraman Tallam <tmsriram@google.com>
5136
5137 * libgcc/config/i386/i386-cpuinfo.c: New file.
5138 * libgcc/config/i386/t-cpuinfo: New file.
5139 * libgcc/config.host: Include t-cpuinfo.
5140 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5141
e1be98a4
CF
51422012-04-24 Chao-ying Fu <fu@mips.com>
5143
5144 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5145
1bde7dab
TS
51462012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5147
5148 struct siginfo vs. siginfo_t
5149
5150 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5151 siginfo_t instead of struct siginfo.
5152 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5153 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5154 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5155 (ia64_handle_unwabi): Likewise.
5156 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5157 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5158 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5159 (sh_fallback_frame_state): Likewise.
5160 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5161 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5162
24590f66
L
51632012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5164
5165 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5166 system call number.
5167
9a9dcce8
EB
51682012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5169
5170 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5171 if it hasn't been previously saved.
5172
6401aaf5
L
51732012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5174
5175 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5176 only for glibc.
5177
7fd6378e
GJL
51782012-03-28 Georg-Johann Lay <avr@gjlay.de>
5179
5180 PR target/52737
5181 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5182 instead of __AVR_HAVE_8BIT_SP__.
5183
9e916de7
TG
51842012-03-26 Tristan Gingold <gingold@adacore.com>
5185
5186 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5187 (unw_table_entry): Use unw_word instead of unsigned long.
5188 (_Unwind_FindTableEntry): Likewise.
5189 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5190 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5191 (_Unwind_FindTableEntry): Likewise.
5192 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5193 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5194 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5195 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5196 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5197 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5198 (uw_init_context_1, uw_install_context): Likewise.
5199 (unw_word): Move to unwind-ia64.h
5200
4b12e93d
TG
52012012-03-26 Tristan Gingold <gingold@adacore.com>
5202
5203 * config/vms/vms-ucrt0.c: Update copyright years.
5204 Add a sanity check.
5205 (___gcc_main_flags): Declare.
5206 (__main): Check flags to remap argv and exit code.
5207 * config.host (*-*-*vms*): Adjust extra_parts.
5208 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5209 (crt0.o): Add.
5210
06ea7371
RE
52112012-03-22 Richard Earnshaw <rearnsha@arm.com>
5212
5213 * arm/lib1funcs.asm (ctzsi2): New function.
5214 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5215 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5216 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5217 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5218 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5219 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5220
d82ad50d
AT
52212012-03-21 Andreas Tobler <andreast@fgznet.ch>
5222
5223 * config.host: Add bits to support powerpc64-*-freebsd*.
5224 * config/rs6000/freebsd-unwind.h: New file.
5225 * config/rs6000/t-freebsd64: New file.
5226
b260a8c0
RG
52272012-03-20 Richard Guenther <rguenther@suse.de>
5228
5229 PR gcov-profile/52627
5230 * libgcov.c (init_mx): Fix mutex name.
5231
86286a8a
TG
52322012-03-16 Tristan Gingold <gingold@adacore.com>
5233
5234 * config/ia64/vms-unwind.h: Remove ulong (and replace
5235 it by unw_reg where used). Define unw_reg with __int64.
5236
7888f266
RO
52372012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5238
5239 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5240 Solaris 8 handling.
5241 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5242 Solaris 8 handling.
5243 (sparc_is_sighandler): Likewise.
5244
f155bc64
L
52452012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5246
5247 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5248 <= saved reg size.
5249
d47657bd
RO
52502012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5251
5252 * config/arm/crtn.S: Fix typo.
5253
5bef73a1
RG
52542012-03-13 Richard Guenther <rguenther@suse.de>
5255
5256 * libgcov.c: Remove stdio.h include and NULL un-define.
5257
9c4271f3
RG
52582012-03-13 Richard Guenther <rguenther@suse.de>
5259
5260 PR target/52569
5261 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5262
c6d10e7c
RG
52632012-03-13 Richard Guenther <rguenther@suse.de>
5264
5265 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5266
074a385f
RG
52672012-03-13 Richard Guenther <rguenther@suse.de>
5268
5269 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5270 and __gthread_mutex_init_function definitions.
5271
c4bc5c25
RO
52722012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5273
5274 * config.host (mips*-*-openbsd*): Remove.
5275
5c30094f
RO
52762012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5277
5278 * config.host: Remove alpha*-dec-osf5.1* handling.
5279 * config/alpha/gthr-posix.c: Remove.
5280 * config/alpha/libgcc-osf5.ver: Remove.
5281 * config/alpha/osf5-unwind.h: Remove.
5282 * config/alpha/t-osf-pthread: Remove.
5283 * config/alpha/t-slibgcc-osf: Remove.
5284 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5285 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5286 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5287 * mkmap-flat.awk: Remove osf_export handling.
5288
33e3e24d
RG
52892012-03-12 Richard Guenther <rguenther@suse.de>
5290
5291 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5292 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5293 (__gthread_mutex_init_function): New function.
5294 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5295
5296 PR gcov/49484
5297 * libgcov.c: Include gthr.h.
5298 (__gcov_flush_mx): New global variable.
5299 (init_mx, init_mx_once): New functions.
5300 (__gcov_flush): Protect self with a mutex.
5301 (__gcov_fork): Re-initialize mutex after forking.
5302 * unwind-dw2-fde.c: Change condition under which to use
5303 __GTHREAD_MUTEX_INIT_FUNCTION.
5304
d8aba32a
TG
53052012-03-12 Tristan Gingold <gingold@adacore.com>
5306
5307 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5308 * config/ia64/t-vms: Likewise.
5309
75ffafdc
MH
53102012-03-11 Michael Hope <michael.hope@linaro.org>
5311
4a172156
UB
5312 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5313 for Thumb-2.
75ffafdc 5314
ef6c2c53
WL
53152012-03-07 Walter Lee <walt@tilera.com>
5316
5317 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5318 "arch_atomic_".
5319 (atomic_xor): Rename and move definition to
5320 config/tilepro/atomic.h.
5321 (atomic_nand): Ditto.
5322 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5323 "arch_atomic_".
5324 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5325 (arch_atomic_nand): Ditto.
5326
4e30d980
GJL
53272012-03-07 Georg-Johann Lay <avr@gjlay.de>
5328
5329 PR target/52507
5330 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5331
61108225
GJL
53322012-03-07 Georg-Johann Lay <avr@gjlay.de>
5333
5334 PR target/52505
5335 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5336 from RAM.
5337
b30e10ab
GJL
53382012-03-07 Georg-Johann Lay <avr@gjlay.de>
5339
5340 PR target/52461
5341 PR target/52508
5342 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5343 if RAMPZ affects reading from RAM.
5344 (__tablejump_elpm__): Ditto.
5345 (.xload): Ditto.
5346 (__movmemx_hi): Ditto.
5347 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5348 (__do_global_dtors): Ditto.
5349 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5350 (__movmemx_hi): Ditto.
5351
8993fde4
RH
53522012-03-05 Richard Henderson <rth@redhat.com>
5353
5354 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5355 [ARM] (count_trailing_zeros): Use the builtin.
5356
b7633ee3
KT
53572012-03-01 Kai Tietz <ktietz@redhat.com>
5358
5359 * soft-fp: Imported from glibc upstream.
5360
fbd3340c
KT
53612012-02-28 Kai Tietz <ktietz@redhat.com>
5362
5363 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5364 for mingw-targets as attribute gcc_struct.
5365
e9e053eb
ILT
53662012-02-28 Ian Lance Taylor <iant@google.com>
5367
5368 * generic-morestack.c (__splitstack_releasecontext): Correct call
5369 to __morestack_release_segments.
5370
d80c632e
ST
53712012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5372
5373 PR target/52390
5374 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5375 for __linux__ when removing signals from __morestack_fullmask.
5376
0253a8b1
GJL
53772012-02-23 Georg-Johann Lay <avr@gjlay.de>
5378
5379 PR target/52261
5380 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5381
e10e461e
UW
53822012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5383
5384 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5385 instead of HAVE_INITFINI_ARRAY.
5386 * config/ia64/crtend.S: Likewise.
5387
0c0c6398
KT
53882012-02-20 Kai Tietz <ktietz@redhat.com>
5389
d7470374
KT
5390 PR libstdc++/52300
5391 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5392
0c0c6398
KT
5393 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5394 to w32-unwind.h header.
5395
78c27266
RS
53962012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5397
5398 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5399 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5400 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5401 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5402
5adeb246
RS
54032012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5404
5405 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5406
672ed313
IS
54072012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5408
5409 PR libitm/52220
5410 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 5411
e948a1fb
IS
54122012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5413 Patrick Marlier <patrick.marlier@gmail.com>
5414
5415 PR libitm/52220
5416 * config/darwin-crt-tm.c: Generate dummy functions.
5417
6017aed3
IS
54182012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5419 Patrick Marlier <patrick.marlier@gmail.com>
5420
5421 PR libitm/52042
5422 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5423 (__doTMRegistrations): Call it.
e9e053eb 5424 (__doTMdeRegistrations): Likewise.
6017aed3 5425
2da8c1ad 54262012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
5427 Anatoly Sokolov <aesok@post.ru>
5428 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
5429
5430 PR target/52261
5431 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5432 (__epilogue_restores__): Ditto.
5433
0f952eb4
EB
54342012-02-15 Eric Botcazou <ebotcazou@adacore.com>
5435
5436 PR target/51921
5437 PR target/52205
5438 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5439 Solaris 11 and slightly reformat.
5440 (sparc_is_sighandler): Likewise.
5441
dd552284
WL
54422012-02-14 Walter Lee <walt@tilera.com>
5443
5444 * config.host: Handle tilegx and tilepro.
5445 * config/tilegx/sfp-machine.h: New file.
5446 * config/tilegx/sfp-machine32.h: New file.
5447 * config/tilegx/sfp-machine64.h: New file.
5448 * config/tilegx/t-crtstuff: New file.
5449 * config/tilegx/t-softfp: New file.
5450 * config/tilegx/t-tilegx: New file.
5451 * config/tilepro/atomic.c: New file.
5452 * config/tilepro/atomic.h: New file.
5453 * config/tilepro/linux-unwind.h: New file.
5454 * config/tilepro/sfp-machine.h: New file.
5455 * config/tilepro/softdivide.c: New file.
5456 * config/tilepro/softmpy.S: New file.
5457 * config/tilepro/t-crtstuff: New file.
5458 * config/tilepro/t-tilepro: New file.
5459
b59cbd50
JW
54602012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
5461
5462 PR libstdc++/51296
5463 PR libstdc++/51906
5464 * gthr-posix.h: Allow static initializer macros to be disabled.
5465 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5466
6caf807f
CLT
54672012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5468
5469 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5470 Add t-slibgcc-libgcc to tmake_file.
5471 * config/mips/libgcc-mips16.ver: Revert previous patch.
5472 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5473
7d296953
JJ
54742012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5475 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
5476
5477 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5478 * config/cr16/crti.S: New file.
5479 * config/cr16/crtlibid.S: New file.
5480 * config/cr16/crtn.S: New file.
5481 * config/cr16/lib1funcs.S: New file.
5482 * config/cr16/t-cr16: New file.
5483 * config/cr16/t-crtlibid: New file.
5484 * config/cr16/unwind-dw2.h: New file.
5485 * config/cr16/unwind-cr16.c: New file.
5486 * config/cr16/divmodhi3.c: New file.
5487
8ef03aa7
AM
54882012-01-25 Alan Modra <amodra@gmail.com>
5489
5490 * config/rs6000/t-linux64: Delete. Move..
5491 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5492 * config/rs6000/t-linux: ..and libgcc flags to here.
5493
daecebc8
DR
54942012-01-22 Douglas B Rupp <rupp@gnat.com>
5495
5496 * config.host (i[34567]86-*-interix3*):
8ef03aa7 5497 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
5498 * configure: Regenerate.
5499
ddaf8125
RS
55002012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
5501 Richard Sandiford <rdsandiford@googlemail.com>
5502
5503 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5504 * config/mips/mips16.S (__mips16_rdhwr): New function.
5505 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5506
2cd8b32c
NS
55072012-01-11 Nathan Sidwell <nathan@acm.org>
5508
5509 * libgcov.c (__gcov_init): Ignore objects with no functions.
5510
cba300dd
GJL
55112012-01-10 Georg-Johann Lay <avr@gjlay.de>
5512
5513 PR target/49868
5514 Extend __pgmx semantics to linearize memory.
5515 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5516 * config/avr/lib1funcs.S (__xload_1): New function.
5517 (__movmemx_qi, __movmemx_hi): New functions.
5518 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5519 semantics.
9ffaf4bc 5520
3d137660
EB
55212012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5522
5523 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5524 purported sigacthandler address isn't null before dereferencing it.
5525 (sparc_is_sighandler): Likewise.
5526
bf4db96c
EB
55272012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5528
5529 PR ada/41929
5530 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5531 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
5532 (sparc_is_sighandler): Likewise.
5533 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5534
1ab3568b
TG
55352012-01-06 Tristan Gingold <gingold@adacore.com>
5536
5537 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5538 compatibility thunks...
5539 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5540 (crtbeginS.o, crtendS.o): ... and these to ...
5541 * config/ia64/t-ia64-elf: ... this new file.
5542 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5543 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5544
925b0ed8
AK
55452012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5546
5547 * configure: Regenerate.
5548 * config/s390/t-crtstuff: Remove -fPIC.
5549
a99ad737
JW
55502012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5551
5552 PR bootstrap/51006
5553 * enable-execute-stack-mprotect.c (getpagesize): Do not define
5554 for NetBSD.
5555
884f56d1
GJL
55562012-01-02 Georg-Johann Lay <avr@gjlay.de>
5557
5558 PR target/51345
5559 * config/avr/lib1funcs.S: Remove FIXME comments.
5560 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5561
8c57e547
GJL
55622012-01-02 Georg-Johann Lay <avr@gjlay.de>
5563
5564 Implement light-weight DImode support.
5565 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5566 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5567 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5568 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5569
04dbc287
NS
55702011-12-30 Nathan Sidwell <nathan@acm.org>
5571
5572 * libgcov.c (gcov_crc32): Remove global var.
5573 (free_fn_data): New function.
5574 (buffer_fn_data): Pass in filename, more robust error recovery.
5575 (crc32_unsigned): New function.
5576 (gcov_exit): More robust detection of new program. More robust
5577 error recovery.
5578 (__gcov_init): Do not update program's crc here.
5579
8e1d97d4
TG
55802011-12-21 Tristan Gingold <gingold@adacore.com>
5581
5582 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5583
9ffaf4bc
ILT
55842011-12-21 Ian Lance Taylor <iant@google.com>
5585
5586 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5587
a0c8d0c1
ILT
55882011-12-20 Ian Lance Taylor <iant@google.com>
5589
5590 * config/i386/morestack.S (__morestack_non_split): If there is
5591 enough stack space already, don't split. Ask for more stack space
5592 than we required.
5593
69048898
SDJ
55942011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5595
5596 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5597 `sys/sdt.h'.
5598 (_Unwind_DebugHook): New function.
5599 (uw_restore_core_regs): New define.
5600 (unwind_phase2): Use uw_restore_core_regs instead of
5601 restore_core_regs.
5602 (unwind_phase2_forced): Likewise.
5603 (__gnu_Unwind_Resume): Likewise.
5604
1bb4b6a3
UB
56052011-12-20 Uros Bizjak <ubizjak@gmail.com>
5606
5607 * config/alpha/linux-unwind.h: Update copyright years.
5608 (MD_FROB_UPDATE_CONTEXT): New define.
5609 (alpha_frob_update_context): New function.
5610
eb028768
RS
56112011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5612
5613 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5614 tmake_file rather replacing it.
5615
6a2045bf
IS
56162011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5617
5618 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 5619 function is not used for PPC64.
6a2045bf
IS
5620 (save_world): Amend comments. Update the VRsave mask to reflect the
5621 saved regs.
5622 (rest_world): Update comments, do not clobber r10, do not use r8.
5623 (eh_rest_world_r10): Amend comments, do not use r8.
5624 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5625 no longer used, move restore of CR and target address to the end of
5626 the routine.
5627
a13780a6
L
56282011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5629
5630 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5631 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5632
d7288dfb
GJL
56332011-12-14 Georg-Johann Lay <avr@gjlay.de>
5634
5635 PR target/49313
5636 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5637 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5638
8d2c862d
EB
56392011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5640
5641 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5642
3447cae6
GJL
56432011-12-09 Georg-Johann Lay <avr@gjlay.de>
5644
5645 PR target/49313
5646 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5647 * config/avr/lib1funcs.S (__muldi3): New function.
5648
806fc6aa
AP
56492011-12-06 Andrew Pinski <apinski@cavium.com>
5650
5651 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5652 size of func_ptr.
5653 (__frame_dummy_init_array_entry): Likewise.
5654
28c5e6b5
GJL
56552011-12-06 Georg-Johann Lay <avr@gjlay.de>
5656
5657 Forward-port from gcc-4_6-branch r181936 2011-12-02.
5658
5659 PR target/51345
5660 PR target/51002
5661 * config/avr/lib1funcs.S (__prologue_saves__,
5662 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5663 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
5664
8f90394a
IS
56652011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5666
5667 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5668
06dd33ac
JDA
56692011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5670
5671 PR other/51272
5672 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5673 (_ITM_deregisterTMCloneTable): Likewise.
5674 (__register_frame_info): Fix unused warning.
5675 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5676 pthread_default_stacksize_np): Likewise.
5677 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 5678
85b8555e
DD
56792011-11-29 DJ Delorie <dj@redhat.com>
5680
5681 * config.host (rl78-*-elf): New case.
5682 * config/rl78: New directory for the Renesas RL78.
5683
4d5ae4ea
BS
56842011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5685
5686 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5687 formatting.
5688
f9c55897
RO
56892011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5690
5691 PR other/51022
5692 * config/rs6000/t-savresfgpr: New file.
5693 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5694 $(srcdir)/config/rs6000/eabi.S.
5695 * config/rs6000/t-ppccomm-ldbl: Remove.
5696 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5697 tmake_file.
5698 (powerpc-*-eabispe*): Likewise.
5699 (powerpc-*-eabi*): Likewise.
5700 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5701 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5702 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5703 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5704 tmake_file.
5705 (powerpc-*-eabisim*): Likewise.
5706 (powerpc-*-elf*): Likewise.
5707 (powerpc-*-eabialtivec*): Likewise.
5708 (powerpc-xilinx-eabi*): Likewise.
5709 (powerpc-*-rtems*): Likewise.
5710 (powerpcle-*-elf*): Likewise.
5711 (powerpcle-*-eabisim*): Likewise.
5712 (powerpcle-*-eabi*): Likewise.
5713
a01207c4
ILT
57142011-11-27 Ian Lance Taylor <iant@google.com>
5715
5716 * generic-morestack.c (__splitstack_find): Check for NULL old
5717 stack value.
5718 (__splitstack_resetcontext): New function.
5719 (__splitstack_releasecontext): New function.
5720 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5721
2b0b8ab2
IS
57222011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5723
5724 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5725
c1d8101c
IS
57262011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5727
5728 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5729
8b281334
RH
57302011-11-26 Richard Henderson <rth@redhat.com>
5731
5732 * config/m68k/linux-atomic.c: New file.
5733 * config/m68k/t-linux: New file.
5734 * config.host (m68k-uclinux, m68k-linux): Use it.
5735
7546aa9d
RH
57362011-11-26 Richard Henderson <rth@redhat.com>
5737
5738 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5739 (__TMC_END__): Only declare if hidden is available; in the definition,
5740 if hidden is unavailable add a null record.
5741 (deregister_tm_clones, register_tm_clones): New.
5742 (__do_global_dtors_aux, frame_dummy): Use them.
5743 (__do_global_dtors, __do_global_ctors_1): Likewise.
5744
e2362f5d
IS
57452011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5746
5747 * config/darwin-crt-tm.c: New file.
5748 * config.host (darwin): Build crttms.o crttme.o to provide
5749 startup and shutdown for tm clones.
5750 * config/t-darwin (crttms.o): New build rule.
5751 (crttme.o): Likewise.
5752
6685dd96
HPN
57532011-11-21 Hans-Peter Nilsson <hp@axis.com>
5754
5755 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5756 et al.
5757
b0dc7e4c
RH
57582011-11-21 Richard Henderson <rth@redhat.com>
5759
5760 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5761 (__TMC_LIST__, __TMC_END__): New.
5762 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5763 (__do_global_dtors): Likewise.
5764 (frame_dummy): Call _ITM_registerTMCloneTable.
5765 (__do_global_ctors_1): Likewise.
5766
d4b4b542
RO
57672011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5768
5769 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5770 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5771 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5772 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5773 * config/i386/t-darwin64: Remove.
5774 * config/sh/t-netbsd (LIB2ADD): Remove.
5775
989bdb74
GJL
57762011-11-21 Georg-Johann Lay <avr@gjlay.de>
5777
5778 PR target/49313
5779 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5780 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5781 * config/avr/lib1funcs.S (wmov): New assembler macro.
5782 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5783 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5784 (__udivmod64): New function.
5785 (__negdi2): New function.
5786
515a0cfc
GP
57872011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5788
5789 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5790 *-*-freebsd*aout*): Remove.
5791
0115d17f
HPN
57922011-11-20 Hans-Peter Nilsson <hp@axis.com>
5793
5794 * static-object.mk (c_flags-$o): Save c_flags.
5795 ($(base)$(objext)): Use it.
5796
93aeb62b
SE
57972011-11-18 Steve Ellcey <sje@cup.hp.com>
5798
5799 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5800
7bc6df2c
GJL
58012011-11-18 Georg-Johann Lay <avr@gjlay.de>
5802
5803 PR target/49868
5804 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5805 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5806 New functions.
5807
425d737b
MGD
58082011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5809
5810 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5811 functions.
1bb4b6a3 5812 (aeabi_uidivmod): Likewise.
425d737b
MGD
5813 (umodsi3): Likewise.
5814 (divsi3): Likewise.
5815 (aeabi_idivmod): Likewise.
5816 (modsi3): Likewise.
5817
f2a176dc
TG
58182011-11-16 Tristan Gingold <gingold@adacore.com>
5819
5820 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5821
7c209481
GJL
58222011-11-15 Georg-Johann Lay <avr@gjlay.de>
5823
5824 PR target/49868
5825 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5826 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5827
9dfd5832
JDA
58282011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5829
5830 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5831 tmake_file list.
5832 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5833 * config/pa/t-stublib64: Delete.
5834
f77dca5d
RH
58352011-11-12 Richard Henderson <rth@redhat.com>
5836
5837 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5838 cast the pointer argument to _Unwind_SetGRPtr.
5839
902828f0
RO
58402011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5841
5842 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5843
e14304ef
ILT
58442011-11-09 Ian Lance Taylor <iant@google.com>
5845
5846 * generic-morestack.c: Include <string.h>.
5847 (uintptr_type): Define.
5848 (struct initial_sp): Add dont_block_signals field. Reduce size of
5849 extra array by 1.
5850 (allocate_segment): Set prev field to NULL. Don't set
5851 __morestack_current_segment or __morestack_segments.
5852 (__generic_morestack): Update current->prev and *pp after calling
5853 allocate_segment.
5854 (__morestack_block_signals): Don't do anything if
5855 dont_block_signals is set.
5856 (__morestack_unblock_signals): Likewise.
5857 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5858 uintptr_type.
5859 (__splitstack_block_signals): New function.
5860 (enum __splitstack_content_offsets): Define.
5861 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5862 (__splitstack_makecontext): New function.
5863 (__splitstack_block_signals_context): New function.
5864 (__splitstack_find_context): New function.
5865 * config/i386/morestack.S (__morestack_get_guard): New function.
5866 (__morestack_set_guard, __morestack_make_guard): New functions.
5867 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5868
e3d871e4
RO
58692011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5870
5871 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5872 (i[34567]86-*-mingw*): ... here.
5873 (x86_64-*-mingw*): ... here.
5874
e55cef40
RO
58752011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5876
5877 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5878
5366b186
NS
58792011-11-07 Nathan Sidwell <nathan@acm.org>
5880
5881 * libgcov.c (struct gcov_fn_buffer): New struct.
5882 (buffer_fn_data): New helper.
5883 (gcov_exit): Rework for new gcov data structures.
5884
74155a6f
GJL
58852011-11-07 Georg-Johann Lay <avr@gjlay.de>
5886
5887 PR target/49313
5888 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5889
200feb07
RO
58902011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5891
5892 * config.host (tmake_file): Correct comment.
5893 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5894 t-libgcc-pic.
5895 (bfin*-uclinux*): Likewise.
5896 (bfin*-linux-uclibc*): Likewise.
5897 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5898
5899 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5900 assigning.
5901 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5902 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5903 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5904 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5905 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5906 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5907 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5908 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5909 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5910 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5911 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5912 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5913 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5914
5915 * config/bfin/t-elf: Remove.
5916 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5917
c9cd1a07
RO
59182011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5919
5920 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5921 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5922 (lm32-*-elf*, lm32-*-rtems*): Split into ...
5923 (lm32-*-elf*): ... this.
5924 (lm32-*-rtems*): ... and this.
5925 Add to tmake_file.
5926 (m32r-*-rtems*): Add to tmake_file.
5927 (moxie-*-rtems*): Likewise.
5928 (sparc-*-rtems*): Likewise.
5929 Remove t-rtems from tmake_file.
5930 (sparc64-*-rtems*): Likewise.
5931 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5932 instead.
5933
9fbcc75d
RO
59342011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5935
5936 PR bootstrap/50982
5937 * config/gthr-posix.h: Move ...
5938 * gthr-posix.h: ... here.
5939 * config/gthr-lynx.h: Reflect this.
5940 * config/gthr-vxworks.h: Likewise.
5941 * config/rs6000/gthr-aix.h: Likewise.
5942 * configure.ac (target_thread_file): Likewise.
5943 * configure: Regenerate.
5944
76644b68
SH
59452011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5946
5947 * config.host (arm*-*-rtemseabi*): New target.
5948
5e490f2a
JDA
59492011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5950
5951 PR other/50991
5952 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5953 extra-parts.
5954
feeeff5c
JR
59552011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5956
5957 * config.host (epiphany-*-elf*): New configuration.
5958 * config/epiphany: New Directory.
5959
d618bb2c
RC
59602011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
5961
5962 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5963 * config/avr/t-rtems: New.
5964 Filter out _exit from LIB1ASMFUNCS.
5965
1bb6f778
DM
59662011-11-04 David S. Miller <davem@davemloft.net>
5967
5968 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5969 * configure: Rebuild.
5970
9a7f7422
AK
59712011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5972
5973 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5974 variable.
5975
e4fe948a
GJL
59762011-11-04 Georg-Johann Lay <avr@gjlay.de>
5977
5978 PR target/50931
5979 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5980 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5981
7084e037
JS
59822011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5983
5984 PR target/50989
5985 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5986
1a032034
RO
59872011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5988
5989 * config/c6x/t-elf (LIB2ADDEH): Set.
5990 * config/c6x/t-c6x-elf: Remove.
5991
d385f772
RO
59922011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5993
5994 * config/i386/sol2-ci.S: Rename to ...
5995 * config/i386/crti.S: ... this.
5996 * config/i386/sol2-cn.S: Rename to ...
5997 * config/i386/crtn.S: ... this.
5998 * config/sparc/sol2-ci.S: Rename to ...
5999 * config/sparc/crti.S: ... this.
6000 * config/sparc/sol2-cn.S: Rename to ...
6001 * config/sparc/crtn.S: ... this.
6002 * config/t-sol2 (CUSTOM_CRTIN): Remove.
6003 (crti.o, crtn.o): Remove.
6004
1ba878a9
TG
60052011-11-04 Tristan Gingold <gingold@adacore.com>
6006
6007 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
6008
02750c15
KK
60092011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
6010
6011 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
6012
bf86b067
HPN
60132011-11-03 Hans-Peter Nilsson <hp@axis.com>
6014
6015 * config.host (crisv32-*-none, cris-*-none): Remove.
6016 (crisv32-*-elf): Append to tmake_file, don't just set it.
6017 (cris-*-elf): Add missing t-fdpbit to tmake_file.
6018
d0bc53bd
RO
60192011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6020
6021 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
6022 (ecrtn$(objext)): Likewise.
6023 (ncrti$(objext)): Likewise.
6024 (ncrtn$(objext)): Likewise.
6025
036da830
AS
60262011-11-03 Andreas Schwab <schwab@redhat.com>
6027
6028 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
6029
d2a7d041
DM
60302011-11-02 David S. Miller <davem@davemloft.net>
6031
6032 * configure.ac: Set host_address on sparc too.
6033 * configure: Regenerate.
6034 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
6035 based upon host_address.
6036 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
6037
af8ed618
JM
60382011-11-02 Jason Merrill <jason@redhat.com>
6039
6040 * config/rs6000/t-ppccomm: Add missing \.
6041
5d1c8e77
RO
60422011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6043
6044 * gthr-single.h, gthr.h: New files.
6045 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
6046 config/gthr-vxworks.h, config/i386/gthr-win32.h,
6047 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
6048 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
6049 * config/i386/gthr-win32.c: Include "gthr-win32.h".
6050 * configure.ac (thread_header): New variable.
6051 Set it depending on target_thread_file.
6052 (gthr-default.h): Link from $thread_header.
6053 * configure: Regenerate.
6054 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
6055
852b75ed
RO
60562011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6057
6058 * configure.ac (tm_file_): New variable.
6059 Determine from tm_file.
6060 (tm_file, tm_defines): Substitute.
6061 * configure: Regenerate.
6062 * mkheader.sh: New file.
6063 * Makefile.in (clean): Remove libgcc_tm.h.
6064 ($(objects)): Depend on libgcc_tm.h.
6065 (libgcc_tm_defines, libgcc_tm_file): New variables.
6066 (libgcc_tm.h, libgcc_tm.stamp): New targets.
6067 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
6068 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
6069 ($(extra-parts)): Depend on libgcc_tm.h.
6070 * config.host (tm_defines, tm_file): New variable.
6071 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
6072 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
6073 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
6074 (avr-*-rtems*): Likewise.
6075 (avr-*-*): Likewise.
6076 (frv-*-elf): Likewise.
6077 (frv-*-*linux*): Likewise.
6078 (h8300-*-rtems*): Likewise.
6079 (h8300-*-elf*): Likewise.
6080 (i[34567]86-*-darwin*): Likewise.
6081 (x86_64-*-darwin*): Likewise.
6082 (rx-*-elf): Likewise.
6083 (tic6x-*-uclinux): Likewise.
6084 (tic6x-*-elf): Likewise.
6085 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
6086 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
6087 * config/i386/cygming-crtbegin.c: Likewise.
6088 * config/i386/cygming-crtend.c: Likewise.
6089 * config/ia64/fde-vms.c: Likewise.
6090 * config/ia64/unwind-ia64.c: Likewise.
6091 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6092 * config/rs6000/darwin-fallback.c: Likewise.
6093 * config/stormy16/lib2funcs.c: Likewise.
6094 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
6095 * crtstuff.c: Likewise.
6096 * dfp-bit.h: Likewise.
6097 * emutls.c: Likewise.
6098 * fixed-bit.c: Likewise.
6099 * fp-bit.c: Likewise.
6100 * generic-morestack-thread.c: Likewise.
6101 * generic-morestack.c: Likewise.
6102 * libgcc2.c: Likewise.
6103 * libgcov.c: Likewise.
6104 * unwind-dw2-fde-dip.c: Likewise.
6105 * unwind-dw2-fde.c: Likewise.
6106 * unwind-dw2.c: Likewise.
6107 * unwind-sjlj.c: Likewise.
6108
f9989b51
RO
61092011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6110
6111 * configure.ac: Include ../config/picflag.m4.
6112 (GCC_PICFLAG): Call it.
6113 Substitute.
6114 * configure: Regenerate.
6115 * Makefile.in (gcc_srcdir): Remove.
6116 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
6117 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
6118 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
6119 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
6120 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
6121 Use $<.
6122 Remove comment.
6123 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6124 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6125 to refer to libgcc2.c.
6126 Use $<.
6127 * config/darwin-64.c: New file.
6128 * config/darwin-crt3.c: Remove comment.
6129 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6130 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6131 config/udivmodsi4.c: New files.
6132 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6133 config/memset.c: New files.
6134 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6135 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6136 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6137 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6138 * config/t-openbsd-thread: New file.
6139 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6140 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6141 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6142 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6143 qrnnd.S.
6144 Adapt filename.
6145 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6146 to refer to gthr-posix.c.
6147 * config/alpha/t-vms (LIB2ADD): Set.
6148 * config/alpha/vms-gcc_shell_handler.c: New file.
6149 * config/arm/bpabi.c, config/arm/fp16.c,
6150 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6151 config/arm/unaligned-funcs.c: New files.
6152 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6153 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6154 * config/arm/t-linux: Likewise.
6155 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6156 * config/arm/t-netbsd: New file.
6157 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6158 * config/arm/t-symbian (LIB2ADD_ST): Set.
6159 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6160 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6161 * config/bfin/t-elf: New file.
6162 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6163 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6164 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6165 config/c6x/ltf.c: New files.
6166 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6167 (HOST_LIBGCC2_CFLAGS): Set.
6168 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6169 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6170 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6171 New files.
6172 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6173 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6174 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6175 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6176 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6177 files.
6178 * config/frv/t-frv (LIB2ADD): Set.
6179 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6180 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6181 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6182 config/h8300/popcounthi2.c: New files.
6183 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6184 * config/i386/gthr-win32.c: New file.
6185 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6186 * config/i386/t-cygwin: Likewise.
6187 * config/i386/t-darwin, config/i386/t-darwin64,
6188 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6189 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6190 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6191 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6192 * config/ia64/quadlib.c: New file.
6193 * config/ia64/t-hpux (LIB2ADD): Set.
6194 * config/ia64/t-ia64: Add comment.
6195 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6196 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6197 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6198 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6199 * config/m32c/t-m32c (LIB2ADD): Set.
6200 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6201 * config/m32r/t-m32r: Likewise.
6202 * config/m68k/fpgnulib.c: New file.
6203 * config/m68k/t-floatlib (LIB2ADD): Set.
6204 (xfgnulib.c): New target.
6205 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6206 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6207 * config/mep/t-mep (LIB2ADD): Set.
6208 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6209 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6210 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6211 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6212 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6213 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6214 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6215 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6216 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6217 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6218 New files.
6219 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6220 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6221 * config/pa/fptr.c, config/pa/lib2funcs.S,
6222 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6223 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6224 (LIB2ADD, LIB2ADD_ST): Set.
6225 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6226 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6227 Set.
6228 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6229 * config/pdp11/t-pdp11: New file.
6230 * config/picochip/libgccExtras/adddi3.S,
6231 config/picochip/libgccExtras/ashlsi3.S,
6232 config/picochip/libgccExtras/ashrsi3.S,
6233 config/picochip/libgccExtras/clzsi2.S,
6234 config/picochip/libgccExtras/cmpsi2.S,
6235 config/picochip/libgccExtras/divmod15.S,
6236 config/picochip/libgccExtras/divmodhi4.S,
6237 config/picochip/libgccExtras/divmodsi4.S,
6238 config/picochip/libgccExtras/lshrsi3.S,
6239 config/picochip/libgccExtras/parityhi2.S,
6240 config/picochip/libgccExtras/popcounthi2.S,
6241 config/picochip/libgccExtras/subdi3.S,
6242 config/picochip/libgccExtras/ucmpsi2.S,
6243 config/picochip/libgccExtras/udivmodhi4.S,
6244 config/picochip/libgccExtras/udivmodsi4.S: New files.
6245 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6246 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6247 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6248 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6249 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6250 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6251 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6252 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6253 files.
6254 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6255 (HOST_LIBGCC2_CFLAGS): Set.
6256 * config/rs6000/t-darwin64: New file.
6257 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6258 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6259 * config/rs6000/t-ppccomm (LIB2ADD): Add
6260 $(srcdir)/config/rs6000/tramp.S.
6261 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6262 Add $(srcdir)/config/rs6000/eabi.S.
6263 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6264 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6265 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6266 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6267 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6268 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6269 * config/rs6000/tramp.S: New file.
6270 * config/s390/t-tpf: Remove.
6271 * config/sh/linux-atomic.S: New file.
6272 * config/sh/t-linux (LIB2ADD): Set.
6273 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6274 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6275 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6276 to unwind-dw2.c.
6277 (HOST_LIBGCC2_CFLAGS): Set.
6278 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6279 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6280 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6281 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6282 config/spu/mfc_multi_tag_release.c,
6283 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6284 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6285 config/spu/multi3.c: New files.
6286 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6287 (HOST_LIBGCC2_CFLAGS): Set.
6288 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6289 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6290 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6291 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6292 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6293 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6294 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6295 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6296 config/stormy16/umodsi3.c: New files.
6297 * config/xtensa/lib2funcs.S: New file.
6298 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6299 * config/xtensa/t-xtensa (LIB2ADD): Set.
6300 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6301 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6302 Add t-freebsd-thread to tmake_file for posix threads.
6303 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6304 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6305 (*-*-lynxos*): Likewise.
6306 (*-*-netbsd*): Likewise.
6307 (*-*-openbsd*): Likewise.
6308 Add t-openbsd-thread to tmake_file for posix threads.
6309 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6310 (*-*-vxworks*): Set tmake_file.
6311 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6312 (alpha*-*-freebsd*): Likewise.
6313 (alpha*-*-netbsd*): Likewise.
6314 (alpha*-*-openbsd*): Likewise.
6315 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6316 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6317 (alpha*-dec-*vms*): Likewise.
6318 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6319 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6320 (bfin*-uclinux*): Likewise.
6321 (bfin*-linux-uclibc*): Likewise.
6322 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6323 (crisv32-*-none): Likewise.
6324 (cris-*-elf): Likewise.
6325 (cris-*-none): Likewise.
6326 (cris-*-linux*, crisv32-*-linux*): Likewise.
6327 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6328 tmake_file.
6329 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6330 tmake_file.
6331 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6332 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6333 (x86_64-*-elf*): Likewise.
6334 (i[34567]86-*-nto-qnx*): Likewise.
6335 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6336 win32 threads.
6337 (x86_64-*-mingw*): Likewise.
6338 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6339 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6340 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6341 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6342 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6343 tmake_file.
6344 (mipsisa64sr71k-*-elf*): Likewise.
6345 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6346 (mips-*-elf*, mipsel-*-elf*): Likewise.
6347 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6348 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6349 (mips*-*-rtems*): Likewise.
6350 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6351 to tmake_file.
6352 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6353 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6354 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6355 (spu-*-elf*): Likewise.
6356 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6357
45b86625
RO
63582011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6359
6360 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6361 $(srcdir) to refer to $(LIB1ASMSRC).
6362 Use $<.
6363 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6364 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6365 config/arm/lib1funcs.S: New files.
6366 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6367 * config/arm/t-arm: New file.
6368 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6369 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6370 config/arm/t-strongarm-elf: New files.
6371 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6372 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6373 * config/avr/lib1funcs.S: New file.
6374 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6375 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6376 * config/c6x/lib1funcs.S: New file.
6377 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6378 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6379 * config/frv/lib1funcs.S: New file.
6380 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6381 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6382 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6383 * config/ia64/__divxf3.asm: Rename to ...
6384 * config/ia64/__divxf3.S: ... this.
6385 Adapt lib1funcs.asm filename.
6386 * config/ia64/_fixtfdi.asm: Rename to ...
6387 * config/ia64/_fixtfdi.S: ... this.
6388 Adapt lib1funcs.asm filename.
6389 * config/ia64/_fixunstfdi.asm: Rename to ...
6390 * config/ia64/_fixunstfdi.S: ... this.
6391 Adapt lib1funcs.asm filename.
6392 * config/ia64/_floatditf.asm: Rename to ...
6393 * config/ia64/_floatditf.S: ... this.
6394 Adapt lib1funcs.asm filename.
6395 * config/ia64/lib1funcs.S: New file.
6396 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6397 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6398 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6399 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6400 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6401 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6402 * config/mep/lib1funcs.S: New file.
6403 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6404 * config/mips/mips16.S: New file.
6405 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6406 * config/pa/milli64.S: New file.
6407 * config/pa/t-linux, config/pa/t-linux64: New files.
6408 * config/picochip/lib1funcs.S: New file.
6409 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6410 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6411 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6412 * config/sh/t-netbsd: New file.
6413 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6414 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6415 * config/sh/t-sh64: New file.
6416 * config/sparc/lb1spc.S: New file.
6417 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6418 filename.
6419 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6420 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6421 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6422 config/xtensa/lib1funcs.S: New files.
6423 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6424 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6425 tmake_file.
6426 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6427 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6428 (arm*-*-linux*): Likewise.
6429 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6430 arm*-*-linux-*eabi, add arm/t-linux otherwise.
6431 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6432 (arm*-*-ecos-elf): Likewise.
6433 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6434 (arm*-*-rtems*): Likewise.
6435 (arm*-*-elf): Likewise.
6436 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6437 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6438 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6439 (bfin*-uclinux*): Likewise.
6440 (bfin*-linux-uclibc*): Likewise.
6441 (bfin*-rtems*): Likewise.
6442 (bfin*-*): Likewise.
6443 (fido-*-elf): Merge into m68k-*-elf*.
6444 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6445 (frv-*-*linux*): Add frv/t-frv to tmake_file.
6446 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6447 (h8300-*-elf*): Likewise.
6448 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6449 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6450 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6451 (i[34567]86-*-mingw*): Likewise.
6452 (x86_64-*-mingw*): Likewise.
6453 (i[34567]86-*-interix3*): Likewise.
6454 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6455 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6456 (m68k-*-elf*): Also handle fido-*-elf.
6457 Add m68k/t-floatlib to tmake_file.
6458 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6459 (m68k-*-linux*): Likewise.
6460 (m68k-*-rtems*): Likewise.
6461 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6462 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6463 sh64*-*-*.
6464 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6465 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6466 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6467 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6468 sh/t-netbsd to tmake_file.
6469 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6470 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6471 (sh-wrs-vxworks): Likewise.
6472 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6473 *-leon[3-9]*.
6474 (v850*-*-*): Add v850/t-v850 to tmake_file.
6475 (vax-*-linux*): Add vax/t-linux to tmake_file.
6476 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6477
5f73c6cc
RO
64782011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6479
6480 * crtstuff.c: New file.
6481 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6482 (CRTSTUFF_T_CFLAGS): Define.
6483 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6484 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6485 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6486 crtstuff.c.
6487 Use $<.
6488 (crtbeginT.o): Use $(objext).
6489 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6490 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6491 (gcc-extra-parts): Remove.
6492 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6493 Set extra_parts.
6494 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6495 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6496 Add t-crtstuff-pic to tmake_file.
6497 (*-*-lynxos*): New case.
6498 Set tmake_file, extra_parts.
6499 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6500 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6501 *-*-netbsdelf[2-9]*.
6502 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6503 (*-*-rtems*): Set extra_parts.
6504 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6505 (*-*-uclinux*): New case.
6506 Set extra_parts.
6507 (*-*-vms*): New case.
6508 Set tmake_file, extra_parts.
6509 (*-*-elf): Set extra_parts.
6510 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6511 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6512 vms/t-vms64.
6513 Set extra_parts.
6514 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6515 Set extra_parts.
6516 (arm*-*-freebsd*): Add t-crtin to tmake_file.
6517 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6518 (arm-wrs-vxworks): Append to tmake_file.
6519 Set extra_parts.
6520 (arm*-*-uclinux*): Set extra_parts.
6521 (arm*-*-ecos-elf): Likewise.
6522 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6523 arm*-*-eabi*.
6524 (arm*-*-rtems*): Set extra_parts.
6525 (arm*-*-elf): Likewise.
6526 (avr-*-rtems*): Clear extra_parts.
6527 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6528 Set extra_parts.
6529 (bfin*-uclinux*): Likewise.
6530 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6531 (bfin*-rtems*): Append to tmake_file.
6532 Set extra_parts.
6533 (bfin*-*): Likewise.
6534 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6535 (crisv32-*-elf): ... this.
6536 (crisv32-*-none): ... this.
6537 (cris-*-elf, cris-*-none): New cases.
6538 Add cris/t-elfmulti to tmake_file.
6539 (fr30-*-elf): Append to tmake_file.
6540 Set extra_parts.
6541 (frv-*-elf): Append to tmake_file, add frv/t-frv.
6542 Set extra_parts.
6543 (h8300-*-rtems*): Append to tmake_file.
6544 Set extra_parts.
6545 (h8300-*-elf*): Likewise.
6546 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6547 Set extra_parts.
6548 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6549 Set extra_parts.
6550 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6551 (x86_64-*-elf*): Likewise.
6552 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6553 (x86_64-*-freebsd*): Likewise.
6554 (x86_64-*-netbsd*): Likewise.
6555 (i[34567]86-*-linux*): Likewise.
6556 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6557 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6558 (x86_64-*-linux*): Likewise.
6559 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6560 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6561 tmake_file.
6562 Set extra_parts.
6563 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6564 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6565 Append to extra_parts, remove crtbegin.o, crtend.o.
6566 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6567 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6568 crtend.o, crtbeginS.o, crtendS.o.
6569 (ia64*-*-linux*): Comment extra_parts.
6570 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6571 Set extra_parts.
6572 (iq2000*-*-elf*): Clear extra_parts.
6573 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6574 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6575 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6576 (m32r-*-rtems*): ... this.
6577 Add m32r/t-m32r to tmake_file.
6578 (m68k-*-elf*): Add t-crtin to tmake_file.
6579 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6580 (mcore-*-elf): Likewise.
6581 (microblaze*-*-*): Set extra_parts.
6582 (mips*-sde-elf*): New case.
6583 Set tmake_file, extra_parts.
6584 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6585 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6586 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6587 tmake_file.
6588 Set extra_parts.
6589 (mipsisa64sr71k-*-elf*): Likewise.
6590 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6591 (mips-*-elf*, mipsel-*-elf*): Likewise.
6592 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6593 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6594 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6595 (mips*-*-rtems*): Likewise.
6596 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6597 (moxie-*-*): Split into ...
6598 (moxie-*-elf, moxie-*-uclinux*): ... this.
6599 Add to extra_parts, remove crtbegin.o, crtend.o.
6600 (moxie-*-rtems*): New case.
6601 Set tmake_file.
6602 Clear extra_parts.
6603 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6604 Set extra_parts.
6605 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6606 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6607 tmake_file.
6608 Set extra_parts.
6609 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6610 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6611 Set extra_parts.
6612 (powerpc-*-eabisim*): Likewise.
6613 (powerpc-*-elf*): Likewise.
6614 (powerpc-*-eabialtivec*): Likewise.
6615 (powerpc-xilinx-eabi*): Likewise.
6616 (powerpc-*-eabi*): Likewise.
6617 (powerpc-*-rtems*): Likewise.
6618 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6619 tmake_file.
6620 Set extra_parts.
6621 (powerpc-*-lynxos*): Add to tmake_file.
6622 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6623 rs6000/t-crtstuff, t-crtstuff-pic.
6624 Set extra_parts.
6625 (powerpcle-*-eabisim*): Likewise.
6626 (powerpcle-*-eabi*): Likewise.
6627 (rx-*-elf): Remove extra_parts.
6628 (s390x-ibm-tpf*): Set extra_parts.
6629 (score-*-elf): Set extra_parts.
6630 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6631 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6632 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6633 (sh64l*-*-netbsd*): Split into ...
6634 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6635 Add t-crtstuff-pic to tmake_file.
6636 Set extra_parts.
6637 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6638 Set extra_parts.
6639 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6640 (sparc-*-elf*): Remove t-crtin from tmake_file.
6641 Add to extra_parts, remove crtbegin.o, crtend.o.
6642 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6643 (sparc64-*-linux*): Likewise.
6644 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6645 Add to extra_parts, remove crtbegin.o, crtend.o.
6646 (sparc64-*-elf*): Remove t-crtin from tmake_file.
6647 Add to extra_parts, remove crtbegin.o, crtend.o.
6648 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6649 Add to extra_parts, remove crtbegin.o, crtend.o.
6650 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6651 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6652 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6653 Set extra_parts.
6654 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6655 Set extra_parts.
6656 (tic6x-*-*): Change to ...
6657 (tic6x-*-elf): ... this.
6658 Set extra_parts.
6659 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6660 Set extra_parts.
6661 (am33_2.0-*-linux*): Add comment.
6662 (mep*-*-*): Add mep/t-mep to tmake_file.
6663 Set extra_parts.
6664 * config/alpha/t-vms: New file.
6665 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6666 * config/arm/crti.S, config/arm/crtn.S: New files.
6667 * config/bfin/crti.S, config/bfin/crtn.S: New files.
6668 * config/bfin/crtlibid.S: New file.
6669 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6670 * config/c6x/crti.S, config/c6x/crtn.S: New files.
6671 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6672 (crti.o, crtin.o): New rules.
6673 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6674 * config/c6x/t-uclinux: New file.
6675 * config/cris/t-elfmulti: New file.
6676 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6677 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6678 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6679 * config/frv/t-frv: New file.
6680 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6681 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6682 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6683 New files.
6684 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6685 refer to cygming-crtbegin.c, cygming-crtend.c.
6686 Use $<.
6687 * config/i386/t-nto: New file.
6688 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6689 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6690 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6691 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6692 Use .S extension.
6693 Use $<.
6694 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6695 (crtinitS.o): New rule.
6696 * config/ia64/vms-crtinit.S: New file.
6697 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6698 * config/m32r/initfini.c: New file.
6699 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6700 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6701 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6702 * config/mep/t-mep: New file.
6703 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6704 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6705 * config/mips/crti.S, config/mips/crtn.S: New files.
6706 * config/mips/t-crtstuff: New file.
6707 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6708 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6709 (CUSTOM_CRTIN): Set.
6710 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6711 dependencies.
6712 Use $(srcdir) to refer to crti.S, crtn.S.
6713 Use .S extension, $<.
6714 * config/moxie/crti.asm: Rename to ...
6715 * config/moxie/crti.S: ... this.
6716 * config/moxie/crtn.asm: Rename to ...
6717 * config/moxie/crtn.S: ... this.
6718 * config/moxie/t-moxie: Remove.
6719 * config/pa/stublib.c: New file.
6720 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6721 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6722 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6723 * config/rs6000/t-crtstuff: New file.
6724 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6725 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6726 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6727 Make output file explicit.
6728 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6729 Make output file explicit.
6730 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6731 Make output file explicit.
6732 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6733 Make output file explicit.
6734 * config/score/crti.S, config/score/crtn.S: New files.
6735 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6736 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6737 files.
6738 * config/sh/t-sh, config/sh/t-superh: New files.
6739 * config/sparc/t-linux64: New file.
6740 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6741 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6742 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6743 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6744 * config/t-crtin: Remove.
6745 * config/t-crtstuff-pic: New file.
6746 * config/t-sol2 (CUSTOM_CRTIN): Set.
6747 (crti.o, crtn.o): New rules.
6748 * config/vms/t-vms: New file.
6749 * config/vms/vms-ucrt0.c: New file.
6750 * config/xtensa/t-elf: New file.
6751
b040f2be
RO
67522011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6753
6754 * Makefile.in (SHLIB_NM_FLAGS): Set.
6755 * mkmap-flat.awk, mkmap-symver.awk: New files.
6756 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6757 exceptions.
6758 * configure: Regenerate.
6759 * config/libgcc-glibc.ver: New file.
6760 * config/libgcc-libsystem.ver: New file.
6761 * config/t-libunwind (SHLIB_LC): Set.
6762 * config/t-linux: New file.
6763 * config/t-slibgcc (INSTALL_SHLIB): New.
6764 (SHLIB_INSTALL): Use it.
6765 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6766 to mkmap-symver.awk.
6767 (SHLIB_MAPFILES): Don't append, adapt pathname.
6768 (SHLIB_VERPFX): Set.
6769 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6770 to mkmap-symver.awk.
6771 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6772 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6773 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6774 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6775 to mkmap-flat.awk.
6776 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6777 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6778 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6779 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6780 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6781 * config/i386/libgcc-darwin.10.4.ver,
6782 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6783 New files.
6784 * config/i386/t-darwin: Remove.
6785 * config/i386/t-darwin64: Likewise.
6786 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6787 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6788 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6789 * config/i386/t-linux: New file.
6790 * config/i386/t-mingw32: New file.
6791 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6792 * config/ia64/t-glibc: Rename to ...
6793 * config/ia64/t-linux: ... this.
6794 (SHLIB_MAPFILES): Set.
6795 * config/ia64/t-glibc-libunwind: Rename to ...
6796 * config/ia64/t-linux-libunwind: ... this.
6797 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6798 * config/ia64/t-slibgcc-hpux: New file.
6799 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6800 * config/m68k/t-slibgcc-elf-ver: New file.
6801 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6802 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6803 to mkmap-flat.awk.
6804 * config/pa/t-slibgcc-hpux: New file.
6805 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6806 files.
6807 * config/rs6000/libgcc-darwin.10.4.ver,
6808 config/rs6000/libgcc-darwin.10.5.ver: New files.
6809 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6810 config/rs6000/libgcc-glibc.ver.
6811 * config/rs6000/libgcc-ppc64.ver: Rename to
6812 config/rs6000/libgcc-ibm-ldouble.ver.
6813 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6814 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6815 * config/rs6000/t-ldbl128: Rename to ...
6816 * config/rs6000/t-linux: ... this.
6817 (SHLIB_MAPFILES): Adapt filename.
6818 * config/rs6000/t-slibgcc-aix: New file.
6819 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6820 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6821 libgcc-excl.ver, libgcc-glibc.ver.
6822 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6823 * config/sparc/libgcc-glibc.ver: New file.
6824 * config/sparc/t-linux: New file.
6825 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6826 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6827 t-slibgcc-elf-ver to tmake_file.
6828 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6829 *-*-freebsd[34].
6830 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6831 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6832 t-slibgcc-elf-ver, t-linux to tmake_file.
6833 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6834 tmake_file.
6835 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6836 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6837 (alpha*-dec-*vms*): Likewise.
6838 (arm*-*-freebsd*): Append to tmake_file.
6839 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6840 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6841 arm*-*-linux-*eabi.
6842 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6843 tmake_file for arm*-*-symbianelf*.
6844 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6845 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6846 cris/t-linux.
6847 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6848 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6849 pa/t-slibgcc-dwarf-ver to tmake_file.
6850 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6851 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6852 (hppa*64*-*-hpux11*): Likewise.
6853 (hppa[12]*-*-hpux11*): Likewise.
6854 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6855 i386/t-crtpc, i386/t-crtfm.
6856 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6857 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6858 to tmake_file.
6859 Add i386/t-cygwin to tmake_file.
6860 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6861 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6862 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6863 to tmake_file.
6864 Add i386/t-mingw32 to tmake_file.
6865 (x86_64-*-mingw*): Likewise.
6866 (ia64*-*-freebsd*): Append to tmake_file.
6867 (ia64*-*-linux*): Append to tmake_file.
6868 Replace ia64/t-glibc by ia64/t-linux.
6869 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6870 system libunwind.
6871 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6872 t-slibgcc-hpux to tmake_file.
6873 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6874 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6875 (m32rle-*-linux*): Likewise.
6876 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6877 sjlj exceptions.
6878 (microblaze*-linux*): New case.
6879 Append to tmake_file, add t-slibgcc-nolc-override.
6880 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6881 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6882 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6883 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6884 rs6000/t-slibgcc-aix to tmake_file.
6885 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6886 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6887 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6888 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6889 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6890 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6891 sh*-*-linux*.
6892 (sparc-*-linux*): Append to tmake_file for *-leon*.
6893 Add sparc/t-linux to tmake_file for non-Leon targets.
6894 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6895 (tic6x-*-uclinux): New case.
6896 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6897 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6898 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6899 (am33_2.0-*-linux*): Append to tmake_file.
6900 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6901 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6902 x86_64-*-kfreebsd*-gnu.
6903 Add i386/t-linux to tmake_file.
6904
18b4bd7b
ILT
69052011-10-28 Ian Lance Taylor <iant@google.com>
6906
6907 * config/i386/morestack.S: Correct CFI information to do proper
6908 returns throughout function. In 32-bit mode, save %ebx so that it
6909 is restored on unwind.
6910
5b2d9d90
BS
69112011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6912
6913 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6914 case where B3 isn't the return register.
6915
0d53e346
BS
6916 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6917 logic for doubleword pops.
6918
cbffbd59
AT
69192011-10-25 Andreas Tobler <andreast@fgznet.ch>
6920
6921 * config/rs6000/t-freebsd: Add wildcard.
6922
56dc349e
PB
69232011-10-21 Paul Brook <paul@codesourcery.com>
6924
6925 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6926
1e06b07d
UB
69272011-10-16 Uros Bizjak <ubizjak@gmail.com>
6928 Eric Botcazou <ebotcazou@adacore.com>
6929
6930 PR target/50737
6931 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6932 fs->signal_frame to 1.
6933
b5204884
ILT
69342011-10-07 Ian Lance Taylor <iant@google.com>
6935
6936 * generic-morestack-thread.c: #include <errno.h>.
6937
91a639a1
ILT
69382011-10-07 Ian Lance Taylor <iant@google.com>
6939
6940 PR target/46093
6941 * generic-morestack.c (__generic_morestack): Make sure the segment
6942 is large enough for both the stack frame and the copied
6943 parameters.
6944
cc49116d
RO
69452011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6946
6947 PR bootstrap/49804
6948 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6949 extra_parts.
6950
2996d8c3
NC
69512011-09-28 Nick Clifton <nickc@redhat.com>
6952
6953 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6954 64-bit doubles are not enabled.
6955 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6956 and floatunsisf functions.
6957
1e874273 69582011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 6959
1e874273
PB
6960 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
6961 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6962 * unwind-arm-common.inc: New file.
6963 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6964 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6965 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6966 * config/c6x/libunwind.S: New file.
6967 * config/c6x/pr-support.c: New file.
6968 * config/c6x/unwind-c6x.c: New file.
6969 * config/c6x/unwind-c6x.h: New file.
6970 * config/c6x/t-c6x-elf: New file.
6971
f70c879a
UB
69722011-08-23 Uros Bizjak <ubizjak@gmail.com>
6973
6974 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6975 (ASM_DIVZERO): Ditto.
6976 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6977
c55b374b
RS
69782011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6979
6980 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6981
1e138510
RS
69822011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
6983
6984 PR target/50090
6985 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6986 instead of an assembly one.
6987
1563503d
PB
69882011-08-12 Paolo Bonzini <bonzini@gnu.org>
6989
6990 PR bootstrap/50047
6991 * Makefile.in (install-unwind_h): Create
6992 $(gcc_objdir)/include/unwind.h atomically.
6993
3627ac1a
RO
69942011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6995
6996 * Makefile.in (install-unwind_h): Remove destination file first.
6997
c6412d86
RO
69982011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6999
7000 * sync.c: New file.
7001 * config/mips/t-mips16: New file.
7002 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
7003 (mips*-*-linux*): Likewise.
7004 (mips*-sde-elf*): Likewise.
7005 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
7006 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
7007 Add mips/t-mips16 to tmake_file.
7008 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
7009 (mips-*-elf*): Likewise.
7010 (mips64-*-elf*): Likewise.
7011 (mips64orion-*-elf*): Likewise.
7012 (mips*-*-rtems*): Likewise.
7013 (mipstx39-*-elf*): Likewise.
7014 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
7015 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
7016 LIBGCC_SYNC_CFLAGS.
7017 Use $(srcdir) to refer to sync.c.
7018 Use $<.
7019 ($(libgcc-sync-funcs-o)): Likewise.
7020 ($(libgcc-sync-size-funcs-s-o)): Likewise.
7021 ($(libgcc-sync-funcs-s-o)): Likewise.
7022
3cb6e5bd
AS
70232011-08-09 Andreas Schwab <schwab@linux-m68k.org>
7024
7025 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
7026 t-libunwind.
7027
cca2207a
L
70282011-08-08 H.J. Lu <hongjiu.lu@intel.com>
7029
7030 PR other/48007
7031 * config/i386/value-unwind.h: New.
7032
ed39fbad
RS
70332011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
7034
7035 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
7036 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
7037 Add to tmake_file rather than overriding it.
7038
aca0b0b3
RO
70392011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7040
7041 * config/t-softfp: Remove.
7042 * soft-fp: Moved from ../gcc/config.
7043 * soft-fp/README: Remove t-softfp reference.
7044 * soft-fp/t-softfp: Move to config/t-softfp.
7045 (softfp_machine_header): Remove.
7046 (softfp_file_list): Remove config subdir.
7047 (soft-fp-objects): New variable.
7048 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
7049 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
7050 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
7051 * config/t-softfp-excl: New file.
7052 * config/t-softfp-sfdf: New file.
7053 * config/t-softfp-tf: New file.
7054 * config/no-sfp-machine.h: New file.
7055 * config/arm/sfp-machine.h: New file.
7056 * config/arm/t-softfp: New file.
7057 * config/c6x/sfp-machine.h: New file.
7058 * config/i386/32/t-fprules-softfp: Rename to ...
7059 * config/i386/32/t-softfp: ... this.
7060 (tifunctions, LIB2ADD): Remove.
7061 (softfp_int_modes): Override.
7062 * config/i386/64/t-softfp-compat (tf-functions): Remove config
7063 subdir.
7064 * config/i386/64/eqtf2.c: Likewise.
7065 * config/i386/64/getf2.c: Likewise.
7066 * config/i386/64/letf2.c: Likewise.
7067 * config/ia64/sft-machine.h: New file.
7068 * config/ia64/t-fprules-softfp: Rename to ...
7069 * config/ia64/t-softfp: ... this.
7070 * config/lm32/sfp-machine.h: New file.
7071 * config/moxie/t-moxie-softfp: Remove.
7072 * config/rs6000/ibm-ldouble-format: New file.
7073 * config/rs6000/ibm-ldouble.c: New file.
7074 * config/rs6000/libgcc-ppc-glibc.ver: New file
7075 * config/rs6000/libgcc-ppc64.ver: New file
7076 * config/rs6000/sfp-machine.h: New file.
7077 * config/rs6000/t-freebsd: New file.
7078 * config/rs6000/t-ibm-ldouble: New file.
7079 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
7080 libgcc-ppc-glibc.ver.
7081 * config/rs6000/t-linux64: New file.
7082 * config/rs6000/t-ppccomm (LIB2ADD): Add
7083 $(srcdir)/config/rs6000/ibm-ldouble.c.
7084 * config/rs6000/t-ppccomm-ldbl: New file.
7085 * config/score/sfp-machine.h: New file.
7086 * config.host (sfp_machine_header): Explain.
7087 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
7088 t-softfp to tmake_file.
7089 (arm*-*-uclinux*): Likewise.
7090 (arm*-*-ecos-elf): Likewise.
7091 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
7092 (arm*-*-rtems*): Likewise.
7093 (arm*-*-elf): Likewise.
7094 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
7095 in tmake_file.
7096 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
7097 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
7098 (lm32-*-uclinux*): Likewise.
7099 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
7100 t-softfp-excl, t-softfp.
7101 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
7102 (powerpc64-*-darwin*): Likewise.
7103 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
7104 to tmake_file.
7105 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
7106 tmake_file.
7107 (powerpc-*-eabisim*): Likewise.
7108 (powerpc-*-elf*): Likewise.
7109 (powerpc-*-eabialtivec*): Likewise.
7110 (powerpc-xilinx-eabi*): Likewise.
7111 (powerpc-*-rtems*): Likewise.
7112 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
7113 t-softfp-excl, t-softfp to tmake_file.
7114 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
7115 rs6000/t-ppccomm-ldbl to tmake_file.
7116 (powerpcle-*-elf*): Likewise.
7117 (powerpcle-*-eabisim*): Likewise.
7118 (powerpcle-*-eabi*): Likewise.
7119 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7120 rs6000/t-ibm-ldouble to tmake_file.
7121 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7122 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7123 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7124 (tic6x-*-*): Likewise.
7125 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7126 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7127 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7128 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7129 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7130 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7131 t-softfp to tmake_file.
7132 * configure.ac (sfp_machine_header): Provide default if unset.
7133 Substitute.
7134 Link sfp-machine.h to config/$sfp_machine_header.
7135 * configure: Regenerate.
7136
569dc494
RO
71372011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7138
7139 * Makefile.in (double_type_size, long_double_type_size): Set.
7140 Remove $(fpbit-in-libgcc) support.
7141 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7142 (fpbit-src): New variable.
7143 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7144 Compile with -DFLOAT $(FPBIT_CFLAGS).
7145 Use $<.
7146 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7147 Compile with $(FPBIT_CFLAGS).
7148 Use $<.
7149 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7150 Compile with -DFLOAT $(TPBIT_CFLAGS).
7151 Use $<.
7152 * configure.ac (double_type_size, long_double_type_size):
7153 Determine and substitute.
7154 * configure: Regenerate.
7155 * fp-bit.c, fp-bit.h: New files.
7156 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7157 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7158 * config/mips/t-mips: New file.
7159 * config/mips/t-sdemtk: New file.
7160 * config/rs6000/ppc64-fp.c: New file.
7161 * config/rs6000/t-darwin (LIB2ADD): Add
7162 $(srcdir)/config/rs6000/ppc64-fp.c.
7163 * config/rs6000/t-ppc64-fp: New file.
7164 * config/rx/rx-lib.h: New file.
7165 * config/rx/t-rx (FPBIT): Set to true.
7166 ($(gcc_objdir)/fp-bit.c): Remove.
7167 (DPBIT): Set to true only with -m64bit-doubles.
7168 ($(gcc_objdir)/dp-bit.c): Remove.
7169 * config/sparc/t-softfp: Remove.
7170 * config/spu/t-elf: New file.
7171 * config/t-fdpbit, config/t-fpbit: New files.
7172 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7173 (mips*-*-*): Likewise.
7174 (arm-wrs-vxworks): Likewise.
7175 (arm*-*-freebsd*): Likewise.
7176 (avr-*-rtems*): Add t-fpbit to tmake_file.
7177 (avr-*-*): Likewise.
7178 (bfin*-elf*): Add t-fdpbit to tmake_file.
7179 (bfin*-uclinux*): Likewise.
7180 (bfin*-linux-uclibc*): Likewise.
7181 (bfin*-rtems*): New case.
7182 Add t-fdpbit to tmake_file.
7183 (bfin*-*): Add t-fdpbit to tmake_file.
7184 (crisv32-*-elf): Likewise.
7185 (cris-*-linux*): Likewise.
7186 (fr30-*-elf): Likewise.
7187 (frv-*-elf, frv-*-*linux*): Likewise.
7188 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7189 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7190 (m32r-*-elf*): Likewise.
7191 (m32rle-*-elf*): Likewise.
7192 (m32r-*-linux*): Likewise.
7193 (m32rle-*-linux*): Likewise.
7194 (mcore-*-elf): Add t-fdpbit to tmake_file.
7195 (microblaze*-*-*): Likewise.
7196 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7197 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7198 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7199 Fix typo.
7200 Add mips/t-tpbit to tmake-file.
7201 (mips*-*-linux*): Fix typo.
7202 (mips*-sde-elf*): New case
7203 Add mips/t-sdemtk unless using newlib.
7204 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7205 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7206 (mn10300-*-*): Likewise.
7207 (pdp11-*-*): Likewise.
7208 (picochip-*-*): Add t-fpbit to tmake_file.
7209 (powerpc-*-eabisimaltivec*): Likewise.
7210 (powerpc-*-eabisim*): Likewise.
7211 (powerpc-*-elf*): Likewise.
7212 (powerpc-*-eabialtivec*): Likewise.
7213 (powerpc-xilinx-eabi*): New case.
7214 Add t-fdpbit to tmake_file.
7215 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7216 (powerpc-*-rtems*): Likewise.
7217 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7218 tmake_file.
7219 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7220 tmake_file.
7221 (powerpc-*-lynxos*): Likewise.
7222 (powerpcle-*-elf*): Likewise.
7223 (powerpcle-*-eabisim*): Likewise.
7224 (powerpcle-*-eabi*): Likewise.
7225 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7226 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7227 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7228 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7229 (rx-*-elf): Add t-fdpbit to tmake_file.
7230 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7231 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7232 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7233 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7234 sh*-*-netbsd*.
7235 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7236 (sh-wrs-vxworks): Likewise.
7237 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7238 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7239 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7240 (sparc64-*-rtems*): ... new case.
7241 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7242 (spu-*-elf*): Likewise.
7243 Add spu/t-elf to tmake_file.
7244 (v850*-*-*): Add t-fdpbit to tmake_file.
7245 (xstormy16-*-elf): Likewise.
7246 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7247 (mep*-*-*): Likewise.
7248
201cdb74
RO
72492011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7250
7251 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7252 variables.
7253 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7254 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7255 (install-unwind_h): New target.
7256 (all): Depend on it.
7257 * config.host (unwind_header): New variable.
7258 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7259 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7260 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7261 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7262 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7263 Set unwind_header.
7264 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7265 Set unwind_header.
7266 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7267 arm*-*-eabi*.
7268 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7269 Set unwind_header.
7270 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7271 (ia64*-*-freebsd*): Likewise.
7272 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7273 tmake_file.
7274 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7275 $with_system_libunwind.
7276 (ia64*-*-hpux*): Set tmake_file.
7277 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7278 (picochip-*-*): Set tmake_file.
7279 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7280 md_unwind_header.
7281 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7282 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7283 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7284 (xtensa*-*-elf*): Set tmake_file.
7285 (xtensa*-*-linux*): Likewise.
7286 * configure.ac: Include ../config/unwind_ipinfo.m4.
7287 Call GCC_CHECK_UNWIND_GETIPINFO.
7288 Link unwind.h to $unwind_header.
7289 * configure: Regenerate.
7290 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7291 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7292 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7293 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7294 * config/unwind-dw2-fde-darwin.c: New file.
7295 * config/arm/libunwind.S, config/arm/pr-support.c,
7296 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7297 config/arm/unwind-arm.h,: New files.
7298 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7299 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7300 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7301 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7302 config/ia64/unwind-ia64.h: New files.
7303 * config/picochip/t-picochip: New file.
7304 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7305 files.
7306 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7307 * config/s390/t-tpf (LIB2ADDEH): Remove.
7308 * config/t-darwin (LIB2ADDEH): Set.
7309 * config/t-eh-dw2-dip: New file.
7310 * config/t-libunwind, config/t-libunwind-elf: New files.
7311 * config/t-sol2 (LIB2ADDEH): Remove.
7312 * config/xtensa/t-xtensa: New file.
7313
40f2f11f
L
73142011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7315
7316 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7317 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7318 long long to check rt_sigreturn syscall.
7319
bd15e32c
AM
73202011-08-02 Alan Modra <amodra@gmail.com>
7321
7322 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7323 Restore for indirect call bcrtl from correct stack slot, and only
7324 if cfa+40 isn't valid.
7325
655b30bf
JB
73262011-08-01 Julian Brown <julian@codesourcery.com>
7327
7328 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7329 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7330 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7331
247eb06f
JB
73322011-08-01 Julian Brown <julian@codesourcery.com>
7333
7334 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7335 (libgcc-std.ver.in): Use above.
7336 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7337 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7338 throughout file.
7339 * config/t-fixedpoint-gnu-prefix: New file.
7340 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7341 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7342 instead of __PFX__.
7343
02a8fe00
L
73442011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7345
7346 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7347 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7348 for x86-64. Properly check __x86_64__ and __LP64__.
7349
5fce9126
L
73502010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7351
7352 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7353 version.
7354 (_FP_WS_TYPE): Likewise.
7355 (_FP_I_TYPE): Likewise.
7356
2374a88a
AM
73572011-07-28 Alan Modra <amodra@gmail.com>
7358
7359 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7360 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7361 in a plt call stub. Do restore r2 if stopped on bctrl.
7362
e44dbbe1
RO
73632011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7364
7365 * config.host (i[3456x]86-*-netware*): Remove.
7366 * config/i386/netware-crt0.c, config/i386/t-nwld,
7367 config/i386/t-slibgcc-nwld: Remove.
7368
bcead286
BS
73692011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7370
7371 * config.host: Handle tic6x-*-*.
7372 * config/c6x/c6x-abi.h: New file.
7373
b3fe1584
RO
73742011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7375
7376 * config/i386/crtprec.c: New file.
7377 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7378 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7379 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7380 (x86_64-*-darwin*): Likewise.
7381 (i[34567]86-*-solaris2*: Likewise.
7382
35d8090d
RO
73832011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7384
7385 * config/alpha/crtfastmath.c: New file.
7386 * config/i386/crtfastmath.c: New file.
7387 * config/ia64/crtfastmath.c: New file.
7388 * config/mips/crtfastmath.c: New file.
7389 * config/sparc/crtfastmath.c: New file.
7390
7391 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7392 crtfastmath.c.
7393 Add -frandom-seed=gcc-crtfastmath.
7394 * config/alpha/t-crtfm: Remove.
7395 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7396 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7397
7398 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7399 (alpha*-dec-osf5.1*): Likewise.
7400 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7401 Add crtfastmath.o to extra_parts.
7402 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7403 Add crtfastmath.o to extra_parts.
7404 (x86_64-*-darwin*): Likewise.
7405 (x86_64-*-mingw*): Likewise.
7406 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7407 (ia64*-*-freebsd*): Likewise.
7408 (ia64*-*-linux*): Likewise.
7409 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7410 Add crtfastmath.o to extra_parts.
7411
e141542e
RO
74122011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7413
7414 * config/darwin-crt3.o: New file.
7415 * config/rs6000/darwin-crt2.c: New file.
7416 * config/t-darwin: New file.
7417 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7418 (crt2.o): New rule.
7419 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7420 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7421 (powerpc64-*-darwin*): Likewise.
7422
2d1efe2d
RO
74232011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7424
7425 * config/i386/netware-crt0.c: New file.
7426 * config/i386/t-nwld: Rename to ...
7427 * config/i386/t-slibgcc-nwld: ... this.
7428 * config/i386/t-nwld: New file.
7429 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7430 tmake_file.
7431 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7432 extra_parts.
7433
4a8bb046
RO
74342011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7435
7436 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7437 i386/t-crtstuff.
7438 * configure: Regenerate.
7439
2d8d5935
RO
74402011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7441
7442 * dfp-bit.c, dfp-bit.h: New files.
7443 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7444 variables.
7445 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7446 ($(d64pbit-o)): Likewise.
7447 ($(d128pbit-o)): Likewise.
7448 * config/t-dfprules: New file.
7449 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7450 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7451 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7452 (x86_64-*-linux*): Likewise.
7453 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7454 (i[34567]86-*-cygwin*): Likewise.
7455 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
7456 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7457
2c50b2c3
RO
74582011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7459
7460 * Makfile.in (LIBGCOV): New variable.
7461 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7462 * libgcov.c: New file.
7463
a039d7c2
RO
74642011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7465
7466 * fixed-bit.c, fixed-bit.h: New files.
7467 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7468 refer to fixed-bit.c.
7469
1e4b2746
JM
74702011-07-07 Joseph Myers <joseph@codesourcery.com>
7471
7472 * config.host (*local*): Remove.
7473
fbdd5d87
RO
74742011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7475
7476 PR target/39150
7477 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7478 like i?86-*-solaris2.1[0-9]*.
7479 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7480 * configure.ac (i?86-*-solaris2*): Likewise.
7481 * configure: Regenerate.
7482
9e7714f4
TS
74832011-07-06 Thomas Schwinge <thomas@schwinge.name>
7484
7485 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7486 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7487 md_unwind_header by splitting out of...
7488 (i[34567]86-*-linux*): ... this.
7489 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7490 Remove md_unwind_header by splitting out of...
7491 (x86_64-*-linux*): ... this.
7492
6dab9931
GJL
74932011-07-04 Georg-Johann Lay <avr@gjlay.de>
7494
7495 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7496
4be46d19
NC
74972011-06-28 Nick Clifton <nickc@redhat.com>
7498
7499 * config.host: Recognize all V850 variants.
7500
1da9434b
UB
75012011-06-22 Uros Bizjak <ubizjak@gmail.com>
7502
7503 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7504
e4d48a4d
RO
75052011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7506
7507 * shared-object.mk (c_flags-$o): Save c_flags.
7508 ($(base)$(objext)): Use it.
7509 ($(base)_s$(objext)): Likewise.
7510
3801c801
BS
75112011-06-21 Bernd Schmidt <bernds@codesourcery.com>
7512
7513 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7514 * libgcc-std.ver.in (GCC_4.7.0): New section.
7515
0ad8bb3b 75162011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 7517
0ad8bb3b
GJL
7518 PR target/49313
7519 PR target/29524
7520 * config/avr/t-avr: Fix line endings.
7521 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
7522 _parityXX2.
7523
ea963999
OH
75242011-06-14 Olivier Hainque <hainque@adacore.com>
7525 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7526
7527 * config/mips/irix6-unwind.h: New file.
7528 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7529
b11b0904
EB
75302011-06-10 Eric Botcazou <ebotcazou@adacore.com>
7531
7532 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7533 (sparc64_fallback_frame_state): Use it.
7534 (sparc64_frob_update_context): Further adjust context.
7535 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7536 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7537 * config/sparc/sol2-cn.S: Likewise.
7538
10e48e39
RO
75392011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7540
7541 * enable-execute-stack-empty.c: New file.
7542 * enable-execute-stack-mprotect.c: New file.
7543 * config/i386/enable-execute-stack-mingw32.c: New file.
7544 * config.host (enable_execute_stack): New variable.
7545 Select appropriate variants.
7546 * configure.ac: Link enable-execute-stack.c to
7547 $enable_execute_stack.
7548 * configure: Regenerate.
7549 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7550 (lib2funcs): Remove _enable_execute_stack.
7551
10c4cabc
DM
75522011-06-09 David S. Miller <davem@davemloft.net>
7553 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7554
7555 * config.host (sparc-*-linux*): Correct md_unwind_header
7556 filename.
7557 (s390x-ibm-tpf*): Fix typo.
7558
aa4203e7
RO
75592011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7560
7561 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7562 Add crtfastmath.o to extra_parts.
7563 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7564 mips/t-crtfm.
7565 * config/mips/t-crtfm: Remove.
7566
0defd786
JDA
75672011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7568
7569 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7570
82f247af
KK
75712011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7572
7573 * config.host (sh*-*-linux*): Fix typo.
7574
58cd1d70
RO
75752011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7576
7577 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7578 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7579 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7580 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7581 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7582 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7583 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7584 Wrap in !__MINGW64__.
7585 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7586 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7587 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7588 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7589 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7590 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7591 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7592 Wrap in !__LP64__.
7593 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7594 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7595 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7596 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7597 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7598 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7599 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7600 * config/no-unwind.h: New file.
7601 * config.host (md_unwind_header): Document.
7602 Define.
7603 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7604 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7605 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7606 hppa[12]*-*-hpux11*): Set md_unwind_header.
7607 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7608 Set md_unwind_header.
7609 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7610 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7611 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7612 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7613 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7614 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7615 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7616 md_unwind_header.
7617 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7618 * configure: Regenerate.
7619
737346fa
RO
76202011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7621
7622 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7623 Set tmake_file, extra_parts.
7624 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7625 Remove O32 support.
7626 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7627 Remove O32 support.
7628 * config/mips/t-irix6: New file.
7629 * config/mips/t-slibgcc-irix: New file.
7630
c192cee6
RO
76312011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7632
7633 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7634 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7635
ee33b5f0
RO
76362011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7637
7638 * configure.ac (target_thread_file): Determine thread model.
7639 * configure: Regenerate.
7640 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7641 * config/alpha/t-alpha: New file.
7642 * config/alpha/t-crtfm: Use $<.
7643 * config/alpha/t-ieee: New file.
7644 * config/alpha/t-osf-pthread: New file.
7645 * config/alpha/t-slibgcc-osf: New file.
7646 * config/alpha/libgcc-osf5.ver: New file.
7647
0699e415
RO
76482011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7649
7650 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7651 tmake_file.
7652 Add crtfastmath.o to extra_parts.
7653
a3fab9c2
RO
76542011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7655
7656 * config/gmon-sol2.c: Reindent.
7657 Cleanup comments.
7658 Remove, correct casts.
7659 Use STDERR_FILENO, NULL.
7660 (BASEADDRESS): Remove.
7661 (minbrk): Remove.
7662 (errno, sbrk): Remove declarations.
7663 (monstartup) [hp300]: Remove.
7664 (mcount): Remove.
7665
ca24c5ad
RO
76662011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7667
7668 * Makefile.in (cpu_type): Define.
7669 * config.host (i[34567]86-*-rtems*): Handle it.
7670 (i[34567]86-*-solaris2*): Move body ...
7671 (*-*-solaris2*): ... here.
7672 New case, generalize.
7673 (sparc-*-elf*): Handle it.
7674 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7675 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7676 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7677 Fold into ...
7678 (sparc*-*-solaris2*): ... this.
7679 New case.
7680 (sparc64-*-elf*): Handle it.
7681 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7682 Merge ../gcc/config/i386/gmon-sol2.c.
7683 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7684 Use C comments.
7685 Merge ../gcc/config/i386/sol2-gc1.asm.
7686 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7687 Use C comments.
7688 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7689 Use C comments.
7690 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7691 * config/i386/t-crtstuff: New file.
7692 * config/i386/t-softfp: New file.
7693 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7694 $(T)crti.o, $(T)crtn.o): Remove.
7695 (gcrt1.o): New rule.
7696 (TARGET_LIBGCC2_CFLAGS): Remove.
7697 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7698 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7699 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7700 * config/sparc/t-sol2: New file.
7701 * config/sparc/t-crtfm: Move to ...
7702 * config/t-crtfm: ... this.
7703 Use $(cpu_type), $<.
7704 * config/t-crtin: New file.
7705 * config/sparc/t-softfp: New file.
7706 * config/sparc/t-softmul: New file.
7707 * config/t-rtems: New file.
7708 * config/t-slibgcc: New file.
7709 * config/t-slibgcc-elf-ver: New file.
7710 * config/t-slibgcc-gld: New file.
7711 * config/t-slibgcc-sld: New file.
7712 * config/t-sol2: New file.
7713 * configure.ac: Include ../config/lib-ld.m4.
7714 Call AC_LIB_PROG_LD_GNU.
7715 Substitute cpu_type.
7716 * configure: Regenerate.
7717
ad5f3d7b
BS
77182011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7719
7720 PR bootstrap/49173
7721 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7722 libgcc-std.ver in the build directory.
7723 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7724 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7725
cdbf4541
BS
77262011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7727
7728 * libgcc-std.ver.in: New file.
7729 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7730 variables.
7731 (libgcc-std.ver): New rule.
7732 * config/t-gnu-prefix: New file.
7733
c8028650
RO
77342011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7735
7736 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7737
4a68b4ca
JM
77382011-05-10 Joseph Myers <joseph@codesourcery.com>
7739
7740 * config/i386/darwin-lib.h: New file.
7741
80cf2e08
JM
77422011-05-10 Joseph Myers <joseph@codesourcery.com>
7743
7744 * config/arm/symbian-lib.h: New.
7745
a3330c9d
CD
77462011-05-04 Chris Demetriou <cgd@google.com>
7747
7748 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7749 (__x86.get_pc_thunk.bx): ...this.
7750 (__morestack): Adjust for rename, remove undef of __i686.
7751
6ace0756
CD
77522011-05-03 Chris Demetriou <cgd@google.com>
7753
7754 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7755
ebb9f8b0
JM
77562011-03-22 Joseph Myers <joseph@codesourcery.com>
7757
7758 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7759 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7760 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7761 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7762 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7763 Remove cases.
7764
9cfa1499
AT
77652011-03-14 Andreas Tobler <andreast@fgznet.ch>
7766
7767 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7768 Adjust copyright year.
7769
457186f6
ILT
77702011-03-07 Ian Lance Taylor <iant@google.com>
7771
7772 * generic-morestack.c (__splitstack_find): Adjust returned stack
7773 pointer to include all registers pushed by __morestack.
7774
58c741a6
DK
77752011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7776
7777 PR target/40125
7778 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7779 (toolexecdir): Calculate and AC_SUBST.
7780 (toolexeclibdir): Likewise.
7781 * Makefile.in (target_noncanonical): Import.
7782 (toolexecdir): Likewise.
7783 (toolexeclibdir): Likewise.
7784 * configure: Regenerate.
7785
26716c44
NF
77862010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7787
7788 PR target/46040
7789 * config/arm/bpabi.h: Rename to...
7790 * config/arm/bpabi-lib.h: ...this.
7791
b595b1a1
RO
77922010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7793
7794 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7795 appropriate.
7796 * configure: Regenerate.
7797
a3abe41c
NF
77982010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7799
7800 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7801 __FLOAT_WORD_ORDER__.
7802 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7803 Delete.
7804
455c8f48
RW
78052010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7806
7807 PR other/46202
7808 * Makefile.in (install-strip): New phony target.
7809
f3824a8b
ILT
78102010-11-07 Ian Lance Taylor <iant@google.com>
7811
7812 PR target/46089
7813 * config/i386/morestack.S (__morestack_large_model): New
7814 function.
7815
18ed6ee4
NF
78162010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7817
7818 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7819 Delete.
7820 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7821
8ac7fdcb
NF
78222010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7823
7824 * config/arm/bpabi.h: New file.
7825 * config/frv/frv-abi.h: New file.
7826
cdb388c2
ILT
78272010-10-01 Ian Lance Taylor <iant@google.com>
7828
7829 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7830 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7831
ef7c141c
L
78322010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7833
7834 PR target/45858
7835 * config.host: Add the missing `$'.
7836
80920132
ME
78372010-09-30 Michael Eager <eager@eagercon.com>
7838
7839 * config.host: Add microblaze*-*-*.
7840 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7841 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7842 udivsi3.asm,umodsi3.asm}: New.
7843
6dace308
ILT
78442010-09-28 Ian Lance Taylor <iant@google.com>
7845
7846 * configure.ac: Adjust CFI test to test assembler directly rather
7847 than checking gcc preprocessor macro.
7848 * configure: Rebuild.
7849
b6110d6d
ILT
78502010-09-27 Ian Lance Taylor <iant@google.com>
7851
7852 * configure.ac: Test whether assembler supports CFI directives.
7853 * config.host: Only add t-stack and i386/t-stack-i386 to
7854 tmake_file if libgcc_cv_cfi is "yes".
7855 * configure: Rebuild.
7856
7458026b
ILT
78572010-09-27 Ian Lance Taylor <iant@google.com>
7858
7859 * generic-morestack.h: New file.
7860 * generic-morestack.c: New file.
7861 * generic-morestack-thread.c: New file.
7862 * config/i386/morestack.S: New file.
7863 * config/t-stack: New file.
7864 * config/i386/t-stack-i386: New file.
7865 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7866 i386/t-stack-i386 to tmake_file.
7867
5b50fc0c
IS
78682010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7869
7870 * Makefile.in (libgcc-extra-parts): Check for static archives and
7871 invoke ranlib after installing them.
7872 (gcc-extra-parts): Likewise.
7873 (install-leaf): Likewise.
7874
b93cf342
L
78752010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7876
7877 * configure: Regenerated.
7878
996b42ef
KT
78792010-09-10 Kai Tietz <kai.tietz@onevision.com>
7880
b93cf342 7881 * configure: Regenerated.
996b42ef 7882
be1c764e
GP
78832010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7884 Andrew Pinski <pinskia@gmail.com>
7885
1da9434b 7886 PR target/40959
be1c764e
GP
7887 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7888
cc0ae0ca
L
78892010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7890
7891 PR target/45524
7892 * configure: Regenerated.
7893
84f47d20
AS
78942010-09-06 Andreas Schwab <schwab@redhat.com>
7895
7896 * configure: Regenerate.
7897
4159fb8d
UB
78982010-09-03 Uros Bizjak <ubizjak@gmail.com>
7899
7900 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7901 64bit targets.
7902 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7903 for 64bit targets.
7904
0df8fcc8
UB
79052010-09-03 Uros Bizjak <ubizjak@gmail.com>
7906 Iain Sandoe <iains@gcc.gnu.org>
7907
7908 PR target/45476
7909 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7910 LIB2FUNCS_EXCLUDE functions.
7911
3c39bca6
AK
79122010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7913
7914 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7915 Include dfp.m4.
7916 * configure: Regenerate.
7917
d78552bd
UB
79182010-09-01 Uros Bizjak <ubizjak@gmail.com>
7919
7920 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7921 i386/t-freebsd to tmake_file.
7922 * config/i386/t-freebsd: New file.
7923 * config/i386/libgcc-bsd.ver: New file.
7924
c5b79d4e
NF
79252010-07-23 Nathan Froyd <froydnj@codesourcery.com>
7926
7927 * config.host (powerpc*-eabispe*): Set tmake_file.
7928 (powerpc*-eabi*): Likewise.
7929 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7930 crtbeginS, crtendS, crtbeginT.
7931
48b09a92
KH
79322010-06-12 Kazu Hirata <kazu@codesourcery.com>
7933
7934 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7935 to tmake_file. Add crtfastmath.o to extra_parts.
7936 * config/mips/t-crtfm: New.
7937
7d296953 79382010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
7939
7940 * config.host (sparc64-*-rtems*): New target.
7941
ed104137
RO
79422010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7943
7944 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7945 assembler syntax.
7946
3f56ef8b
TS
79472010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7948
7949 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7950
8c200350
RO
79512010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7952
7953 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7954 alpha-dec-osf5.0* support.
7955
7d296953 79562010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
7957
7958 * config.host: Add lm32-*-rtems*.
7959
f128db92 79602010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 7961 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
7962
7963 PR target/39048
7964 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7965 like other remaining 32-bit x86 OSes.
7966 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7967 assembler syntax.
7968 * config/i386/libgcc-sol2.ver: New file.
7969 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7970
7d296953 79712010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
7972
7973 PR c/43553
7974 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7975 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7976 is used and substitute set_use_emutls.
7977 * configure: Regenerated.
7978
15baf7f8
TG
79792010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7980
7981 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7982
7f5441df
RO
79832010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7984
7985 PR target/38085
7986 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7987 MULTILIB_CFLAGS.
7988 ($(T)gcrt1.o): Likewise.
7989 ($(T)crt1.o): Likewise.
7990 ($(T)crti.o): Likewise.
7991 ($(T)crtn.o): Likewise.
7992
ef74edbd
RW
79932010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7994
7995 PR other/42980
7996 * Makefile.in (install): Use $(MAKE) string in rule, for
7997 parallel make.
7998
e7c914db
HPN
79992010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
8000
8001 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
8002 * config/mmix/t-mmix: New file.
8003 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
8004
1bcb71c4
JH
80052010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
8006
8007 PR java/41991
8008 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
8009 SHLIB_MAPFILES.
8010
e6e50811
AG
80112010-01-04 Anthony Green <green@moxielogic.com>
8012
8013 * config/moxie/crti.asm, config/moxie/crtn.asm,
8014 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
8015 config/moxie/t-moxie: New files.
8016 * config.host: Add t-moxie-softfp reference.
8017
7d296953 80182009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
8019
8020 PR other/39888
8021 * config/t-slibgcc-darwin: Fix embedded rpaths for
8022 --enable-version-specific-runtime-libs, build extension stub
8023 libs exposing features available from current libgcc_s.
8024
7d296953 80252009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 8026
d78552bd
UB
8027 * config.host: Add lm32 targets.
8028 * config/lm32: New directory.
8029 * config/lm32/libgcc_lm32.h: New file.
8030 * config/lm32/_mulsi3.c: New file.
8031 * config/lm32/_udivmodsi4.c: New file.
8032 * config/lm32/_divsi3.c: New file.
8033 * config/lm32/_modsi3.c: New file.
8034 * config/lm32/_udivsi3.c: New file.
8035 * config/lm32/_umodsi3.c: New file.
8036 * config/lm32/_lshrsi3.S: New file.
8037 * config/lm32/_ashrsi3.S: New file.
8038 * config/lm32/_ashlsi3.S: New file.
8039 * config/lm32/crti.S: New file.
8040 * config/lm32/crtn.S: New file.
8041 * config/lm32/t-lm32: New file.
8042 * config/lm32/t-elf: New file.
8043 * config/lm32/t-uclinux: New file.
aa4945c1 8044
65a324b4
NC
80452009-10-26 Nick Clifton <nickc@redhat.com>
8046
8047 * config.host: Add support for RX target.
8048 * config/rx: New directory.
8049 * config/rx/rx-abi-functions.c: New file. Supplementary
8050 functions for libgcc to support the RX ABI.
8051 * config/rx/rx-abi.h: New file. Supplementary header file for
8052 libgcc RX ABI functions.
8053 * config/rx/t-rx: New file: Makefile fragment for building
8054 libgcc for the RX.
8055
dfb3b0e3
UB
80562009-10-09 Uros Bizjak <ubizjak@gmail.com>
8057
8058 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
8059 constraint of y0 to "g".
8060
81dd9fd7
AK
80612009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8062
8063 * config.host: Include the s390 makefile fragments.
8064 * config/s390/32/_fixdfdi.c: New file.
8065 * config/s390/32/_fixsfdi.c: New file.
8066 * config/s390/32/_fixtfdi.c: New file.
8067 * config/s390/32/_fixunsdfdi.c: New file.
8068 * config/s390/32/_fixunssfdi.c: New file.
8069 * config/s390/32/_fixunstfdi.c: New file.
8070 * config/s390/32/t-floattodi: New file.
8071 * config/s390/libgcc-glibc.ver: New file.
8072 * config/s390/t-crtstuff: New file.
8073 * config/s390/t-linux: New file.
8074 * config/s390/t-tpf: New file.
8075
df58e648
RW
80762009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8077
8078 * configure.ac (AC_PREREQ): Bump to 2.64.
8079
79052be3
KK
80802009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
8081
8082 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
8083
5213506e
RW
80842009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8085
8086 * configure: Regenerate.
8087
a9a25daa
DR
80882009-08-09 Douglas B Rupp <rupp@gnat.com>
8089
8090 * config.host (ia64-hp-*vms*): New target.
8091 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
8092 with ia64-hp-*vms*.
8093
6efbd53f
RW
80942009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8095
8096 * configure.ac: Add snippet for maintainer-mode.
8097 * configure: Regenerate.
8098 * Makefile.in (AUTOCONF, configure_deps): New variables.
8099 ($(srcdir)/configure)): New rule, active only with maintainer
8100 mode turned on.
8101
7acf4da6
DD
81022009-06-23 DJ Delorie <dj@redhat.com>
8103
8104 Add MeP port.
8105 * config.host: Add mep support.
8106
54f549af
KT
81072009-06-22 Kai Tietz <kai.tietz@onevision.com>
8108
34481f28 8109 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8110 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
8111
8112 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
8113 for mingw targets.
54f549af
KT
8114 * config/i386/64/_multc3.c: Likewise.
8115 * config/i386/64/_powitf2.c: Likewise.
8116 * config/i386/64/eqtf2.c: Likewise.
8117 * config/i386/64/getf2.c: Likewise.
8118 * config/i386/64/letf2.c: Likewise.
8119 * config/i386/64/letf2.c: Likewise.
34481f28
UB
8120 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
8121 unsigned long long for x64 mingw targets.
8122 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8123 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 8124
fea96e25
MR
81252009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8126
8127 * config.host (vax-*-linux*): New.
8128
cceb575c
AG
81292009-05-31 Anthony Green <green@moxielogic.com>
8130
8131 * config.host: Add moxie support.
8132 * config/moxie/t-moxie: New file.
8133
7d296953 81342009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
8135
8136 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 8137 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 8138
532bfb0a
AJ
81392009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8140
8141 * config.host: Add i386/${host_address}/t-fprules-softfp to
8142 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8143
748086b7
JJ
81442009-04-09 Nick Clifton <nickc@redhat.com>
8145
8146 * config/ia64/tf-signs.c: Change copyright header to refer to
8147 version 3 of the GNU General Public License with version 3.1
8148 of the GCC Runtime Library Exception and to point readers at
8149 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8150 web page.
8151 * config/i386/32/tf-signs.c: Likewise.
8152 * config/libbid/_addsub_dd.c: Likewise.
8153 * config/libbid/_addsub_sd.c: Likewise.
8154 * config/libbid/_addsub_td.c: Likewise.
8155 * config/libbid/_dd_to_df.c: Likewise.
8156 * config/libbid/_dd_to_di.c: Likewise.
8157 * config/libbid/_dd_to_sd.c: Likewise.
8158 * config/libbid/_dd_to_sf.c: Likewise.
8159 * config/libbid/_dd_to_si.c: Likewise.
8160 * config/libbid/_dd_to_td.c: Likewise.
8161 * config/libbid/_dd_to_tf.c: Likewise.
8162 * config/libbid/_dd_to_udi.c: Likewise.
8163 * config/libbid/_dd_to_usi.c: Likewise.
8164 * config/libbid/_dd_to_xf.c: Likewise.
8165 * config/libbid/_df_to_dd.c: Likewise.
8166 * config/libbid/_df_to_sd.c: Likewise.
8167 * config/libbid/_df_to_td.c: Likewise.
8168 * config/libbid/_di_to_dd.c: Likewise.
8169 * config/libbid/_di_to_sd.c: Likewise.
8170 * config/libbid/_di_to_td.c: Likewise.
8171 * config/libbid/_div_dd.c: Likewise.
8172 * config/libbid/_div_sd.c: Likewise.
8173 * config/libbid/_div_td.c: Likewise.
8174 * config/libbid/_eq_dd.c: Likewise.
8175 * config/libbid/_eq_sd.c: Likewise.
8176 * config/libbid/_eq_td.c: Likewise.
8177 * config/libbid/_ge_dd.c: Likewise.
8178 * config/libbid/_ge_sd.c: Likewise.
8179 * config/libbid/_ge_td.c: Likewise.
8180 * config/libbid/_gt_dd.c: Likewise.
8181 * config/libbid/_gt_sd.c: Likewise.
8182 * config/libbid/_gt_td.c: Likewise.
8183 * config/libbid/_isinfd128.c: Likewise.
8184 * config/libbid/_isinfd32.c: Likewise.
8185 * config/libbid/_isinfd64.c: Likewise.
8186 * config/libbid/_le_dd.c: Likewise.
8187 * config/libbid/_le_sd.c: Likewise.
8188 * config/libbid/_le_td.c: Likewise.
8189 * config/libbid/_lt_dd.c: Likewise.
8190 * config/libbid/_lt_sd.c: Likewise.
8191 * config/libbid/_lt_td.c: Likewise.
8192 * config/libbid/_mul_dd.c: Likewise.
8193 * config/libbid/_mul_sd.c: Likewise.
8194 * config/libbid/_mul_td.c: Likewise.
8195 * config/libbid/_ne_dd.c: Likewise.
8196 * config/libbid/_ne_sd.c: Likewise.
8197 * config/libbid/_ne_td.c: Likewise.
8198 * config/libbid/_sd_to_dd.c: Likewise.
8199 * config/libbid/_sd_to_df.c: Likewise.
8200 * config/libbid/_sd_to_di.c: Likewise.
8201 * config/libbid/_sd_to_sf.c: Likewise.
8202 * config/libbid/_sd_to_si.c: Likewise.
8203 * config/libbid/_sd_to_td.c: Likewise.
8204 * config/libbid/_sd_to_tf.c: Likewise.
8205 * config/libbid/_sd_to_udi.c: Likewise.
8206 * config/libbid/_sd_to_usi.c: Likewise.
8207 * config/libbid/_sd_to_xf.c: Likewise.
8208 * config/libbid/_sf_to_dd.c: Likewise.
8209 * config/libbid/_sf_to_sd.c: Likewise.
8210 * config/libbid/_sf_to_td.c: Likewise.
8211 * config/libbid/_si_to_dd.c: Likewise.
8212 * config/libbid/_si_to_sd.c: Likewise.
8213 * config/libbid/_si_to_td.c: Likewise.
8214 * config/libbid/_td_to_dd.c: Likewise.
8215 * config/libbid/_td_to_df.c: Likewise.
8216 * config/libbid/_td_to_di.c: Likewise.
8217 * config/libbid/_td_to_sd.c: Likewise.
8218 * config/libbid/_td_to_sf.c: Likewise.
8219 * config/libbid/_td_to_si.c: Likewise.
8220 * config/libbid/_td_to_tf.c: Likewise.
8221 * config/libbid/_td_to_udi.c: Likewise.
8222 * config/libbid/_td_to_usi.c: Likewise.
8223 * config/libbid/_td_to_xf.c: Likewise.
8224 * config/libbid/_tf_to_dd.c: Likewise.
8225 * config/libbid/_tf_to_sd.c: Likewise.
8226 * config/libbid/_tf_to_td.c: Likewise.
8227 * config/libbid/_udi_to_dd.c: Likewise.
8228 * config/libbid/_udi_to_sd.c: Likewise.
8229 * config/libbid/_udi_to_td.c: Likewise.
8230 * config/libbid/_unord_dd.c: Likewise.
8231 * config/libbid/_unord_sd.c: Likewise.
8232 * config/libbid/_unord_td.c: Likewise.
8233 * config/libbid/_usi_to_dd.c: Likewise.
8234 * config/libbid/_usi_to_sd.c: Likewise.
8235 * config/libbid/_usi_to_td.c: Likewise.
8236 * config/libbid/_xf_to_dd.c: Likewise.
8237 * config/libbid/_xf_to_sd.c: Likewise.
8238 * config/libbid/_xf_to_td.c: Likewise.
8239 * config/libbid/bid128.c: Likewise.
8240 * config/libbid/bid128_2_str.h: Likewise.
8241 * config/libbid/bid128_2_str_macros.h: Likewise.
8242 * config/libbid/bid128_2_str_tables.c: Likewise.
8243 * config/libbid/bid128_add.c: Likewise.
8244 * config/libbid/bid128_compare.c: Likewise.
8245 * config/libbid/bid128_div.c: Likewise.
8246 * config/libbid/bid128_fma.c: Likewise.
8247 * config/libbid/bid128_logb.c: Likewise.
8248 * config/libbid/bid128_minmax.c: Likewise.
8249 * config/libbid/bid128_mul.c: Likewise.
8250 * config/libbid/bid128_next.c: Likewise.
8251 * config/libbid/bid128_noncomp.c: Likewise.
8252 * config/libbid/bid128_quantize.c: Likewise.
8253 * config/libbid/bid128_rem.c: Likewise.
8254 * config/libbid/bid128_round_integral.c: Likewise.
8255 * config/libbid/bid128_scalb.c: Likewise.
8256 * config/libbid/bid128_sqrt.c: Likewise.
8257 * config/libbid/bid128_string.c: Likewise.
8258 * config/libbid/bid128_to_int16.c: Likewise.
8259 * config/libbid/bid128_to_int32.c: Likewise.
8260 * config/libbid/bid128_to_int64.c: Likewise.
8261 * config/libbid/bid128_to_int8.c: Likewise.
8262 * config/libbid/bid128_to_uint16.c: Likewise.
8263 * config/libbid/bid128_to_uint32.c: Likewise.
8264 * config/libbid/bid128_to_uint64.c: Likewise.
8265 * config/libbid/bid128_to_uint8.c: Likewise.
8266 * config/libbid/bid32_to_bid128.c: Likewise.
8267 * config/libbid/bid32_to_bid64.c: Likewise.
8268 * config/libbid/bid64_add.c: Likewise.
8269 * config/libbid/bid64_compare.c: Likewise.
8270 * config/libbid/bid64_div.c: Likewise.
8271 * config/libbid/bid64_fma.c: Likewise.
8272 * config/libbid/bid64_logb.c: Likewise.
8273 * config/libbid/bid64_minmax.c: Likewise.
8274 * config/libbid/bid64_mul.c: Likewise.
8275 * config/libbid/bid64_next.c: Likewise.
8276 * config/libbid/bid64_noncomp.c: Likewise.
8277 * config/libbid/bid64_quantize.c: Likewise.
8278 * config/libbid/bid64_rem.c: Likewise.
8279 * config/libbid/bid64_round_integral.c: Likewise.
8280 * config/libbid/bid64_scalb.c: Likewise.
8281 * config/libbid/bid64_sqrt.c: Likewise.
8282 * config/libbid/bid64_string.c: Likewise.
8283 * config/libbid/bid64_to_bid128.c: Likewise.
8284 * config/libbid/bid64_to_int16.c: Likewise.
8285 * config/libbid/bid64_to_int32.c: Likewise.
8286 * config/libbid/bid64_to_int64.c: Likewise.
8287 * config/libbid/bid64_to_int8.c: Likewise.
8288 * config/libbid/bid64_to_uint16.c: Likewise.
8289 * config/libbid/bid64_to_uint32.c: Likewise.
8290 * config/libbid/bid64_to_uint64.c: Likewise.
8291 * config/libbid/bid64_to_uint8.c: Likewise.
8292 * config/libbid/bid_b2d.h: Likewise.
8293 * config/libbid/bid_binarydecimal.c: Likewise.
8294 * config/libbid/bid_conf.h: Likewise.
8295 * config/libbid/bid_convert_data.c: Likewise.
8296 * config/libbid/bid_decimal_data.c: Likewise.
8297 * config/libbid/bid_decimal_globals.c: Likewise.
8298 * config/libbid/bid_div_macros.h: Likewise.
8299 * config/libbid/bid_dpd.c: Likewise.
8300 * config/libbid/bid_flag_operations.c: Likewise.
8301 * config/libbid/bid_from_int.c: Likewise.
8302 * config/libbid/bid_functions.h: Likewise.
8303 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8304 * config/libbid/bid_inline_add.h: Likewise.
8305 * config/libbid/bid_internal.h: Likewise.
8306 * config/libbid/bid_round.c: Likewise.
8307 * config/libbid/bid_sqrt_macros.h: Likewise.
8308
83092009-04-09 Jakub Jelinek <jakub@redhat.com>
8310
8311 * Makefile.in: Change copyright header to refer to version
8312 3 of the GNU General Public License and to point readers at the
8313 COPYING3 file and the FSF's license web page.
8314 * config.host: Likewise.
8315
633dd061
AM
83162009-04-07 Alan Modra <amodra@bigpond.net.au>
8317
8318 * config.host: Reorder and merge to match config.gcc change.
8319
457d1d00
AM
83202009-04-03 Alan Modra <amodra@bigpond.net.au>
8321
8322 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8323
52c0e446
JM
83242009-03-28 Joseph Myers <joseph@codesourcery.com>
8325
8326 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8327 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8328 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8329 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8330
ba181049
UB
83312009-02-12 Uros Bizjak <ubizjak@gmail.com>
8332
8333 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8334 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8335
c252db20
L
83362009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8337
ba181049
UB
8338 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8339 ia64/t-softfp-compat to tmake_file.
c252db20
L
8340
8341 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8342
8343 * config/ia64/__divxf3.asm: New.
8344 * config/ia64/_fixtfdi.asm: Likewise.
8345 * config/ia64/_fixunstfdi.asm: Likewise.
8346 * config/ia64/_floatditf.asm: Likewise.
8347 * config/ia64/t-fprules-softfp: Likewise.
8348 * config/ia64/t-softfp-compat: Likewise.
8349 * config/ia64/tf-signs.c: Likewise.
8350
c60535f9
BE
83512009-01-18 Ben Elliston <bje@au.ibm.com>
8352
8353 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8354
ce16861e
BE
83552009-01-16 Ben Elliston <bje@au.ibm.com>
8356
8357 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8358 to tmake_file.
8359
bcf4713b
BE
83602009-01-13 Ben Elliston <bje@au.ibm.com>
8361
8362 * config/t-softfp: New file.
8363 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8364 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8365
7d296953 83662009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
8367
8368 * config.host: Add m32r*-*-rtems*.
8369
7d296953 83702008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
8371
8372 * config.host: Add m32c*-*-rtems*.
8373
19523300
RO
83742008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8375
8376 PR bootstrap/33100
8377 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8378 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8379 * configure: Regenerate.
8380 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8381 tmake_file here from gcc/config.gcc.
8382 Move extra_parts here from gcc/config.gcc.
8383 * config/i386/t-sol2: Move here from gcc/config/i386.
8384 Use gcc_srcdir instead of srcdir.
8385
0a4a51c7
AN
83862008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8387
8388 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8389 case.
8390
2a761e46
TS
83912008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8392
8393 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8394
c0451df7
TS
83952008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8396
8397 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8398
358da97e
HS
83992008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8400
8401 Add picoChip port.
8402 * config.host: Add picochip-*-*.
8403
c660f132
BW
84042008-08-06 Bob Wilson <bob.wilson@acm.org>
8405
8406 * config.host: Match more processor names for Xtensa.
8407
d1349557
L
84082008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8409
8410 * config/i386/64/t-softfp-compat: Update comments.
8411
dd7b73c0
L
84122008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8413
8414 * config/i386/64/_divtc3-compat.c: Moved to ...
8415 * config/i386/64/_divtc3.c: Here.
8416
8417 * config/i386/64/_multc3-compat.c: Moved to ...
8418 * config/i386/64/_multc3.c: Here.
8419
8420 * config/i386/64/_powitf2-compat.c: Moved to ...
8421 * config/i386/64/_powitf2.c: Here.
8422
8423 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8424 .c suffix instead of -compat.c.
8425
6e1fab3d
UB
84262008-07-05 Uros Bizjak <ubizjak@gmail.com>
8427
8428 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8429 (_FP_MUL_MEAT_D): Ditto.
8430 (_FP_DIV_MEAT_S): Ditto.
8431 (_FP_DIV_MEAT_D): Ditto.
8432
f92518d7
RS
84332008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8434
8435 * Makefile.in: Add support for __sync_* libgcc functions.
8436
d0aede14
L
84372008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8438
8439 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8440
c174f11c
L
84412008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8442
8443 PR boostrap/36702
8444 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8445 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
8446
8447 * config/i386/64/t-fprules-softfp: Moved to ...
8448 * config/i386/64/t-softfp-compat: This. New.
8449
5f464fa2
UB
84502008-07-02 Uros Bizjak <ubizjak@gmail.com>
8451
8452 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8453 Initialize f with 0.0.
8454
ff473280
L
84552008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8456
8457 PR target/36669
8458 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8459
8460 * config/i386/64/_divtc3-compat.c: New.
8461 * config/i386/64/_multc3-compat.c: Likewise.
8462 * config/i386/64/_powitf2-compat.c: Likewise.
8463 * config/i386/64/eqtf2.c: Likewise.
8464 * config/i386/64/getf2.c: Likewise.
8465 * config/i386/64/letf2.c: Likewise.
8466 * config/i386/64/t-fprules-softfp: Likewise.
8467
84682008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * config.host: Add i386/${host_address}/t-fprules-softfp to
8471 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 8472 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
8473
8474 * configure.ac: Set host_address to 64 or 32 for x86.
8475 * configure: Regenerated.
8476
8477 * Makefile.in (config.status): Also depend on
8478 $(srcdir)/config.host.
8479
8480 * config/i386/32/t-fprules-softfp: New.
8481 * config/i386/32/tf-signs.c: Likewise.
8482
8483 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8484
84852008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8486 Uros Bizjak <ubizjak@gmail.com>
8487
8488 * config/i386/32/sfp-machine.h: New.
8489
30551d99
NF
84902008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8491
8492 * config/rs6000/t-ppccomm: Remove rules that conflict with
8493 auto-generated rules.
8494
18c04407
RW
84952008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8496
8497 * configure.ac: sinclude override.m4.
8498 * configure: Regenerate.
8499
10fbe77a
BRF
85002008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8501
8502 * configure: Regenerate.
8503
bc6d4c3f
JM
85042008-06-10 Joseph Myers <joseph@codesourcery.com>
8505
8506 * Makefile.in (DECNUMINC): Remove
8507 -I$(MULTIBUILDTOP)../../libdecnumber.
8508 * gstdint.h: New.
8509
cd985f66
JM
85102008-06-07 Joseph Myers <joseph@codesourcery.com>
8511
8512 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8513 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8514 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8515 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8516 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8517 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8518 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8519 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8520 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8521 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8522 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8523 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8524 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8525 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8526
93fea8d3
AL
85272008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8528
8529 * config.host (sh2[lbe]*-*-linux*): Allow target.
8530
18724e30
NF
85312008-04-30 Nathan Froyd <froydnj@codesourcery.com>
8532
8533 * config/rs6000/t-ppccomm: Add build rules for new files.
8534 (LIB2ADD_ST): New variable.
8535
47583040
AH
85362008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
8537
8538 PR target/34210
8539 PR target/35508
8540 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8541 * config/t-avr: New file. Build 16bit libgcc functions.
8542
cf8e67fe
JJ
85432008-03-02 Jakub Jelinek <jakub@redhat.com>
8544
8545 PR target/35401
8546 * config/t-slibgcc-darwin: Make install-leaf dependent on
8547 install-darwin-libgcc-stubs instead of install.
8548
8d8da227
JM
85492008-01-25 Joseph Myers <joseph@codesourcery.com>
8550
8551 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8552 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8553 sh-*-rtemscoff*): Remove cases.
8554
edbf8b16
RS
85552007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
8556
8557 * Makefile.in (all): Use install-leaf rather than install.
8558 (install): Split most of the rule into...
8559 (install-leaf): ...this new one.
8560
89deeaff
EK
85612007-12-19 Etsushi Kato <ek.kato@gmail.com>
8562 Paolo Bonzini <bonzini@gnu.org>
8563
8564 PR target/30572
5f464fa2
UB
8565 * Makefile.in: Use @shlib_slibdir@ substitution to get
8566 correct install name on darwin.
89deeaff 8567 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 8568
4081d704
HPN
85692007-12-15 Hans-Peter Nilsson <hp@axis.com>
8570
8571 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8572 cris-*-elf and cris-*-none.
8573 (crisv32-*-linux*): Similar, as cris-*-linux*.
8574
f43e89a3
RIL
85752007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8576
8577 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8578
b4e9c2c6
L
85792007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 PR regression/33926
8582 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8583 * configure: Regenerated.
8584
b2a00c89
L
85852007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8586
8587 * Makefile.in (dfp-filenames): Replace decimal_globals,
8588 decimal_data, binarydecimal and convert_data with
8589 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8590 and bid_convert_data, respectively.
8591
8d2a9e0e
CF
85922007-09-17 Chao-ying Fu <fu@mips.com>
8593 Nigel Stephens <nigel@mips.com>
8594
8595 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8596 * Makefile.in (fixed_point): Define.
8597 Check if fixed_point is yes to build support functions.
8598 * configure.ac: Check for fixed_point support.
8599 * configure: Regenerated.
8600 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8601 funcs, modes, from, to.
8602
2b53935d
JJ
86032007-09-11 Janis Johnson <janis187@us.ibm.com
8604
8605 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8606
2533577f
JJ
86072007-09-10 Janis Johnson <janis187@us.ibm.com>
8608
8609 * Makefile.in (dfp-filenames): Remove decUtility, add
8610 decDouble, decPacked, decQuad, decSingle.
8611
3ae3dbd6
HK
86122007-08-27 Hans Kester <hans.kester@ellips.nl>
8613
8614 * config.host : Add x86_64-elf target.
8615
22867d02
L
86162007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8617
8618 * configure.ac (set_have_cc_tls): Add a missing =.
8619 * configure: Regenerated.
8620
6f461e76
L
86212007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8622
8623 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8624 and x86_64-*-linux*.
8625
8626 * config/t-tls: New file.
8627
dfb3b0e3 8628 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
8629
8630 * configure.ac: Include ../config/enable.m4 and
8631 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8632 supports TLS and substitute set_have_cc_tls.
8633 * configure: Regenerated.
8634
200359e8
L
86352007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8636
8637 * Makefile.in: Use libbid for DFP when BID is enabled.
8638
76f5e200
DS
86392007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8640
8641 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 8642 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
8643 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8644
9bd196f0 86452007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 8646 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
8647
8648 PR target/29498
8649 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8650 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
8651 * config/i386/t-crtfm: Compile crtfastmath.o with
8652 -minline-all-stringops.
8653
1910440e
RS
86542007-05-10 Richard Sandiford <richard@codesourcery.com>
8655
8656 * config.host (sparc-wrs-vxworks): New target.
8657
7d33c31d
KH
86582007-04-14 Kazu Hirata <kazu@codesourcery.com>
8659
8660 * config.host: Recognize fido.
8661
96fccd0d
JJ
86622007-04-04 Janis Johnson <janis187@us.ibm.com>
8663
8664 * configure: Check host, not target, for decimal float support.
8665
577565f9
UB
86662007-04-03 Uros Bizjak <ubizjak@gmail.com>
8667
8668 * config/i386/t-crtpc: New file.
8669 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 8670 (x86_64-*-linux*): Ditto.
577565f9 8671
ccf8e764
RH
86722007-02-30 Kai Tietz <kai.tietz@onevision.com>
8673
8674 * config.host (x86_64-*-mingw*): New target.
8675
79b87c74
MM
86762007-03-23 Michael Meissner <michael.meissner@amd.com>
8677 H.J. Lu <hongjiu.lu@intel.com>
8678
8679 * Makefile.in (enable_decimal_float): New.
8680 (DECNUMINC): Add
8681 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8682 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8683 (decbits-filenames): This.
8684 (decbits-objects): New.
8685 (libgcc-objects): Add $(decbits-objects).
8686
8687 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8688 Substitute enable_decimal_float.
8689 * configure: Regenerated.
8690
8fce4e31
HPN
86912007-03-19 Hans-Peter Nilsson <hp@axis.com>
8692
8693 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8694
e8bb4597
BM
86952007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8696
8697 * Makefile.in (install-info): New dummy target.
8698
344189f9
BS
86992007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8700
8701 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8702
ac84c172
BM
87032007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8704
8705 * Makefile.in: Add install-html and install-pdf dummy
8706 targets.
8707
cd5c2357
RS
87082007-02-05 Roger Sayle <roger@eyesopen.com>
8709 Daniel Jacobowitz <dan@codesourcery.com>
8710
8711 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8712 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8713 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8714
d9a66f98
JJ
87152007-01-29 Janis Johnson <janis187@us.ibm.com>
8716
8717 * Makefile.in (dec-filenames): Add decExcept.
8718
9891ec5f
DJ
87192007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8720
8721 PR bootstrap/30469
8722 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8723 -fprofile-use.
8724
d6efbf5a
DJ
87252007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8726
8727 * configure.ac: Add --enable-version-specific-runtime-libs.
8728 Correct $slibdir default.
8729 * configure: Regenerated.
8730
17caeff2
JM
87312007-01-23 Joseph Myers <joseph@codesourcery.com>
8732
8733 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8734
5ea41e3a
AP
87352007-01-21 Andrew Pinski <pinskia@gmail.com>
8736
8737 PR target/30519
8738 * config.host (alpha*-*-linux*): Set extra_parts.
8739
26900826
KK
87402007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8741
8742 * config/sh/t-linux: New.
8743 * config.host (sh*-*-linux*): Set tmake_file.
8744
97af925b
DJ
87452007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8746
8747 * Makefile.in (install): Handle multilibs.
8748
b0088af7
BM
87492007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8750
8751 * Makefile.in: Added .PHONY entry for documentation targets.
8752
e0a9456a
BM
87532007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8754
8755 * Makefile.in: Add empty info, html, dvi, pdf targets.
8756
7fd453b4
MS
87572007-01-04 Mike Stump <mrs@apple.com>
8758
8759 * Makefile.in (MAKEINFO): Remove.
8760 (PERL): Likewise.
8761
14e8fc8b
PB
87622007-01-04 Paolo Bonzini <bonzini@gnu.org>
8763
8764 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8765 * configure: Regenerate.
8766 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 8767 (gcc_objdir): Use it.
14e8fc8b 8768
1555beba
DJ
87692007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8770
8771 * config.host (ia64*-*-linux*): Set tmake_file.
8772
79e6eaeb
DJ
87732007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8774
8775 * Makefile.in (version): Define.
8776
fa958513
DJ
87772007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8778 Paolo Bonzini <bonzini@gnu.org>
8779
8780 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8781 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8782 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8783 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8784 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8785 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8786 * configure: Generated.
818ab71a 8787\f
cbe34bb5 8788Copyright (C) 2007-2017 Free Software Foundation, Inc.
818ab71a
JJ
8789
8790Copying and distribution of this file, with or without modification,
8791are permitted in any medium without royalty provided the copyright
8792notice and this notice are preserved.