]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
df4660d3 12017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2
3 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
5
39143cf7 62017-09-17 Daniel Santos <daniel.santos@pobox.com>
7
df4660d3 8 * config/i386/i386-asm.h (PASTE2): New macro.
39143cf7 9 (ASMNAME): Modify to use PASTE2.
10 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
11 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
df4660d3 12 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
39143cf7 13 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
df4660d3 14 * config/i386/resms64f.S: Likewise.
15 * config/i386/resms64fx.S: Likewise.
16 * config/i386/resms64x.S: Likewise.
17 * config/i386/savms64.S: Likewise.
18 * config/i386/savms64f.S: Likewise.
19 * config/i386/avx_resms64.S: New file that only defines a macro and
39143cf7 20 includes it's corresponding header file.
df4660d3 21 * config/i386/avx_resms64f.S: Likewise.
22 * config/i386/avx_resms64fx.S: Likewise.
23 * config/i386/avx_resms64x.S: Likewise.
24 * config/i386/avx_savms64.S: Likewise.
25 * config/i386/avx_savms64f.S: Likewise.
26 * config/i386/sse_resms64.S: Likewise.
27 * config/i386/sse_resms64f.S: Likewise.
28 * config/i386/sse_resms64fx.S: Likewise.
29 * config/i386/sse_resms64x.S: Likewise.
30 * config/i386/sse_savms64.S: Likewise.
31 * config/i386/sse_savms64f.S: Likewise.
32 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
39143cf7 33
0c11960e 342017-09-01 Olivier Hainque <hainque@adacore.com>
35
36 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
37
061339f2 382017-08-31 Olivier Hainque <hainque@adacore.com>
39
40 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
41 match as powerpc-wrs-vxworks*.
42
6a000628 432017-08-07 Jonathan Yong <10walls@gmail.com>
44
45 * config.host (*-cygwin): Include file from mingw
46 config/i386/enable-execute-stack-mingw32.c
47
17a98fea 482017-08-01 Jerome Lambourg <lambourg@adacore.com>
49 Doug Rupp <rupp@adacore.com>
50 Olivier Hainque <hainque@adacore.com>
51
52 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
53 as well as arm-wrs-vxworks.
54 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
55 LIB2ADDEH.
56 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
57 __exidx_start and __exidx_end for downloadable modules.
58
fffdea9e 592017-08-01 Olivier Hainque <hainque@adacore.com>
60
61 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
62 * config/t-vxworks7: Likewise.
63
b9454236 642017-08-01 Olivier Hainque <hainque@adacore.com>
65
66 * config/t-vxworks: Instead of redefining LIB2ADD,
67 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
68
f16062f7 692017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
70
71 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
72
65e1ae67 732017-07-24 Daniel Santos <daniel.santos@pobox.com>
74
75 PR testsuite/80759
76 * config.host: include i386/t-msabi for darwin and solaris.
77 * config/i386/i386-asm.h
78 (ELFFN): Rename to FN_TYPE.
79 (FN_SIZE): New macro.
80 (FN_HIDDEN): Likewise.
81 (ASMNAME): Likewise.
82 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
83 .globl.
84 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
85 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
86 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
87 .macro.
88 * config/i386/resms64f.S: Likewise.
89 * config/i386/resms64fx.S: Likewise.
90 * config/i386/resms64x.S: Likewise.
91 * config/i386/savms64.S: Likewise.
92 * config/i386/savms64f.S: Likewise.
93
25e4634a 942017-07-19 John Marino <gnugcc@marino.st>
95
96 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
97
9f6dc184 982017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
99
100 PR target/81193
101 * configure.ac (PowerPC float128 hardware support): Test whether
102 we can use __builtin_cpu_supports before enabling the ifunc
103 handler.
104 * configure: Regenerate.
105
927c0132 1062017-07-10 Vineet Gupta <vgupta@synopsys.com>
107
108 * config.host: Remove uclibc from arc target spec.
109
63d551af 1102017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
111
112 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
113
378ca53a 1142017-07-07 Peter Bergner <bergner@vnet.ibm.com>
115
116 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
117 (have_ieee_hw_p): Delete function.
118 (SW_OR_HW) Use __builtin_cpu_supports().
119
9b32089e 1202017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
121
122 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
123
e6c95d8f 1242017-07-03 Olivier Hainque <hainque@adacore.com>
125
378ca53a 126 * config/t-vxworks7: New file, really.
e6c95d8f 127
5266910f 1282017-06-28 Joseph Myers <joseph@codesourcery.com>
129
130 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
131 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
132 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
133 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
134 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
135 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
136 config/pa/linux-unwind.h (pa32_fallback_frame_state),
137 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
138 config/sh/linux-unwind.h (sh_fallback_frame_state),
139 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
140 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
141 ucontext_t instead of struct ucontext.
142
0e50554f 1432017-06-27 Jerome Lambourg <lambourg@adacore.com>
144
145 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
146 (x86_64-wrs-vxworks7): Likewise.
147
899cdd88 1482017-06-27 Olivier Hainque <hainque@adacore.com>
149
150 * config/t-vxworks7: New file.
151 * config.host (*-*-vxworks7): Use it.
152
a4721bd0 1532017-06-22 Matt Turner <mattst88@gmail.com>
154
155 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
156 skylake case.
157
27182bcd 1582017-06-21 Richard Biener <rguenther@suse.de>
159
160 PR gcov-profile/81080
161 * configure.ac: Add AC_SYS_LARGEFILE.
162 * libgcov.h: Include auto-target.h before tsystem.h to pick
163 up _FILE_OFFSET_BITS which might differ for multilibs.
164 * config.in: Regenerate.
165 * configure: Likewise.
166
73c72cdf 1672017-06-16 Richard Earnshaw <rearnsha@arm.com>
168
169 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
170
696ee0c7 1712017-06-09 Martin Liska <mliska@suse.cz>
172
173 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
174 Reset __gcov_indirect_call_callee to NULL.
175
e7fcec67 1762017-06-08 Olivier Hainque <hainque@adacore.com>
177
178 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
179 the set of -I options, support for direct inclusions of net/uio.h
180 by VxWorks header files via ioLib.h.
181
69bf76d9 1822017-06-07 Tony Reix <tony.reix@atos.net>
183 Matthieu Sarter <matthieu.sarter.external@atos.net>
184 David Edelsohn <dje.gcc@gmail.com>
185
186 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
187 unconditionally.
188 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
189 AIX 7.2 support.
190
b0e6722b 1912017-06-02 Olivier Hainque <hainque@adacore.com>
192
193 * config/vxlib.c (__gthread_once): Add missing value to
194 return statement.
195
78d07aaf 1962017-05-30 Olivier Hainque <hainque@adacore.com>
197
198 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
199 dollar sign before $(MULTIDIR).
200
1e9944f4 2012017-05-26 Richard Henderson <rth@redhat.com>
202
203 PR libgcc/80037
204 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
205
874dff1a 2062017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
207
208 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
209 _Unwind_SetIP available as functions for arm*-*-freebsd*.
210 * config/arm/unwind-arm.c: Implement the above.
211
c57508a3 2122017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
213
214 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
215 section for a non-executable stack.
216
7303090d 2172017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
218
219 PR target/80600
220 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
221
e67d3d38 2222017-05-14 Daniel Santos <daniel.santos@pobox.com>
223
224 * config.host: Add i386/t-msabi to i386/t-linux file list.
225 * config/i386/i386-asm.h: New file.
226 * config/i386/resms64.S: New file.
227 * config/i386/resms64f.S: New file.
228 * config/i386/resms64fx.S: New file.
229 * config/i386/resms64x.S: New file.
230 * config/i386/savms64.S: New file.
231 * config/i386/savms64f.S: New file.
232 * config/i386/t-msabi: New file.
233
8b9c62ca 2342017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
235
236 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
237 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
238
9b859c0a 2392017-05-05 Joshua Conner <joshconner@google.com>
240
241 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
242 pc-relative indirect handling for fuchsia.
243 * config/t-slibgcc-fuchsia: New file.
244 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
e67d3d38 245 x86_64-*-fuchsia*): Add definitions.
9b859c0a 246
44d47185 2472017-04-19 Martin Liska <mliska@suse.cz>
248
249 PR gcov-profile/80435
250 * Makefile.in: Install gcov.h.
251 * gcov.h: New file.
252 * libgcov.h: Use the header and make __gcov_flush publicly
253 visible.
254
6db59335 2552017-04-18 Martin Liska <mliska@suse.cz>
256
257 PR gcov-profile/78783
258 * libgcov-driver.c (gcov_get_filename): New function.
259
726cec5c 2602017-04-07 Jeff Law <law@redhat.com>
261
262 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
263 target makefile fragment.
264 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
265
47ad90e7 2662017-04-07 Alan Modra <amodra@gmail.com>
267
268 PR target/45053
269 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
270
2fbe7a32 2712017-04-03 Jonathan Wakely <jwakely@redhat.com>
272
273 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
274
e69e67d4 2752017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
276
277 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
278
319901d0 2792017-03-10 John Marino <gnugcc@marino.st>
280
281 * config/aarch64/freebsd-unwind.h: New file.
282 * config.host: Add aarch64-*-freebsd unwinder.
283
b97c2c61 2842017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
285
286 * config/rs6000/crtrestvr.s: Use .machine altivec.
287 * config/rs6000/crtsavevr.s: Ditto.
288
8828c0f0 2892017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
290
291 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
292 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
293 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
294 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
295 * configure: Regenerate.
296 * config.in: Regenerate.
297
b7714375 2982017-03-02 Jonathan Yong <10walls@gmail.com>
299
300 * config/i386/gthr-win32.h: Define NOGDI before
301 windows.h include to prevent w32api CC_NONE macro
302 clash with libgfortran.
303
3a39f4cf 3042017-03-02 Jonathan Yong <10walls@gmail.com>
305
306 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
307
9c0ca8b6 3082017-02-16 Andrew Pinski <apinski@cavium.com>
309
310 * config/aarch64/value-unwind.h: New file.
311 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
312 to tm_file.
313
36387fad 3142017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
315
316 * config.host: Add RISC-V tuples.
317 * config/riscv/atomic.c: New file.
318 * config/riscv/crti.S: Likewise.
319 * config/riscv/crtn.S: Likewise.
320 * config/riscv/div.S: Likewise.
321 * config/riscv/linux-unwind.h: Likewise.
322 * config/riscv/muldi3.S: Likewise.
323 * config/riscv/multi3.S: Likewise.
324 * config/riscv/save-restore.S: Likewise.
325 * config/riscv/sfp-machine.h: Likewise.
326 * config/riscv/t-elf: Likewise.
327 * config/riscv/t-elf32: Likewise.
328 * config/riscv/t-elf64: Likewise.
329 * config/riscv/t-softfp32: Likewise.
330 * config/riscv/t-softfp64: Likewise.
331
e8c55c95 3322017-01-24 Jakub Jelinek <jakub@redhat.com>
333
334 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
335 /* FALLTHRU */ comments.
336
a0e066ed 3372017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
338
339 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
340
58c979ed 3412017-01-20 Jiong Wang <jiong.wang@arm.com>
342
343 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
344 * unwind-dw2.c (execute_cfa_program): Only multiplexing
345 DW_CFA_GNU_window_save for AArch64 and LP64.
346
8657c382 3472017-01-20 Jiong Wang <jiong.wang@arm.com>
348
349 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
350
d10c58fd 3512017-01-19 Jiong Wang <jiong.wang@arm.com>
352
353 * config/aarch64/aarch64-unwind.h: New file.
354 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
355 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
356 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
357 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
358 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
359 (aarch64_post_extract_frame_addr): New function.
360 (aarch64_post_frob_eh_handler_addr): New function.
361 (aarch64_frob_update_context): New function.
362 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
363 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
364 aarch64*-*-freebsd*):
365 Initialize md_unwind_header to include aarch64-unwind.h.
366 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
367 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
368 __aarch64__.
369 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
370 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
371 (uw_frob_return_addr): New function.
372 (uw_install_context): Use uw_frob_return_addr.
373
0812bb06 3742017-01-17 Jakub Jelinek <jakub@redhat.com>
375
376 PR other/79046
377 * configure.ac: Add GCC_BASE_VER.
378 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
379 version from BASE-VER file.
380 * configure: Regenerated.
381
fd961cec 3822017-01-13 Joe Seymour <joe.s@somniumtech.com>
383
384 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
385 libmul_f5.a): Filter archived prerequisites.
386
e0aa57d6 3872017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
388
389 * config/i386/cpuinfo.h (processor_features): Add
390 FEATURE_AVX512VPOPCNTDQ.
391 * config/i386/cpuinfo.c (get_available_features): Habdle new
392 feature.
393
4ed499e5 3942017-01-04 Joseph Myers <joseph@codesourcery.com>
395
396 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
397 payload if [__mips_nan2008].
398
cb7a0f1d 3992017-01-04 Alan Modra <amodra@gmail.com>
400
401 * Makefile.in (configure_deps): Update.
402 * configure: Regenerate.
403
aad93da1 4042017-01-01 Jakub Jelinek <jakub@redhat.com>
405
406 Update copyright years.
407
9834d450 4082016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
409
410 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
411 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
412 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
413
1eff8c97 4142016-12-17 Matthias Klose <doko@ubuntu.com>
415
416 * config/arc/gmon: Remove empty directory.
417
8df543e1 4182016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
419
420 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
421 crtgend.
422 (arc*-*-elf*): Likewise.
423 * config/arc/t-arc: Remove old gmon lib targets.
424 * config/arc/crtg.S: Remove.
425 * config/arc/crtgend.S: Likewise.
426 * config/arc/gmon/atomic.h: Likewise.
427 * config/arc/gmon/auxreg.h: Likewise.
428 * config/arc/gmon/dcache_linesz.S: Likewise.
429 * config/arc/gmon/gmon.c: Likewise.
430 * config/arc/gmon/machine-gmon.h: Likewise.
431 * config/arc/gmon/mcount.c: Likewise.
432 * config/arc/gmon/prof-freq-stub.S: Likewise.
433 * config/arc/gmon/prof-freq.c: Likewise.
434 * config/arc/gmon/profil.S: Likewise.
435 * config/arc/gmon/sys/gmon.h: Likewise.
436 * config/arc/gmon/sys/gmon_out.h: Likewise.
437 * config/arc/t-arc-newlib: Likewise.
438 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
439
489174fc 4402016-12-12 George Spelvin <linux@sciencehorizons.net>
441
442 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
443
4d1d4dad 4442016-12-12 George Spelvin <linux@sciencehorizons.net>
445
446 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
447 R16 instead of push + pop.
448 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
449
a1928e5c 4502016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
451
452 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
453 tmake_file.
454
74d8fa14 4552016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
456
457 * config.host (arc*-*-linux-uclibc*): Use default extra
458 objects. Include linux-android header.
459 * config/arc/crti.S (_init): Declare symbol as function.
460 (_fini): Likewise.
461
25df644f 4622016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
463
464 PR fortran/78379
465 * config/i386/cpuinfo.c: Move denums for processor vendors,
466 processor type, processor subtypes and declaration of
467 struct __processor_model into
468 * config/i386/cpuinfo.h: New header file.
469
2d3a01a7 4702016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
471 Thomas Preud'homme <thomas.preudhomme@arm.com>
472
473 * config/arm/cmse_nonsecure_call.S: New.
474 * config/arm/t-arm: Compile cmse_nonsecure_call.S
475
0120ae30 4762016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
477 Thomas Preud'homme <thomas.preudhomme@arm.com>
478
479 * config/arm/t-arm (HAVE_CMSE): New.
480 * config/arm/cmse.c: New.
481
6c8f362e 4822016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
483
966d046c 484 PR gcc/74748
485 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
486 use generic linker version information on Blackfin.
487
6c8f362e 488 PR gcc/74748
489 * libgcc/mkmap-symver.awk: add support for skip_underscore
490
aaa50706 4912016-11-27 Iain Sandoe <iain@codesourcery.com>
492 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
493
494 PR target/67710
495 * config/t-darwin: Default builds to 10.5 codegen.
496
a5987adb 4972016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
498
499 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
500 (_FP_NANSIGN_H): Likewise.
501 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
502 (softfp_truncations): Add tfhf.
503 (softfp_extras): Add required conversion functions.
504
9f58227e 5052016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
506 Matthew Wahab <matthew.wahab@arm.com>
507
508 * config/arm/fp16.c (binary64): New.
509 (__gnu_d2h_internal): New.
510 (__gnu_d2h_ieee): New.
511 (__gnu_d2h_alternative): New.
512
684b17ed 5132016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
514 Matthew Wahab <matthew.wahab@arm.com>
515
516 * config/arm/fp16.c (struct format): New.
517 (binary32): New.
518 (__gnu_float2h_internal): New. Body moved from
519 __gnu_f2h_internal and generalize.
520 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
521 Call it with binary32.
522
d1b857ae 5232016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
524
525 * soft-fp/extendhftf2.c: Update from glibc.
526 * soft-fp/fixhfti.c: Likewise.
527 * soft-fp/fixunshfti.c: Likewise.
528 * soft-fp/floattihf.c: Likewise.
529 * soft-fp/floatuntihf.c: Likewise.
530 * soft-fp/half.h: Likewise.
531 * soft-fp/trunctfhf2.c: Likewise.
532
7dbfd9e6 5332016-11-20 Marc Glisse <marc.glisse@inria.fr>
534
535 PR libgcc/77813
536 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
537 __TMC_END__ behind a passthrough asm.
538
6bf644d1 5392016-11-18 Walter Lee <walt@tilera.com>
540
7dbfd9e6 541 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
6bf644d1 542
a28d23f0 5432016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
544
545 * config/i386/cpuinfo.c (processor_features): Add
546 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
547
732a947a 5482016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
549
550 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
551 (__ARC_NORM__): Use instead ARC_OPTFPE.
552 * config/arc/fp-hack.h: Likewise.
553 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
554 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
555
7fce8768 5562016-11-16 Alexander Monakov <amonakov@ispras.ru>
557
558 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
559 * config/nvptx/mgomp.c: New file.
560 * config/nvptx/t-nvptx: Add mgomp.c
561
397d0e43 5622016-11-16 Waldemar Brodkorb <wbx@openadk.org>
563
564 PR libgcc/68468
565 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
566
44618e46 5672016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
568
569 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
570 of checking for cpus.
571 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
572 (__modsi3, __clzsi2): Likewise.
573
6e6c7fc1 5742016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
575
576 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
577 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
578 * config/i386/t-cpuinfo-static: New.
579
36ffeeaf 5802016-11-03 Martin Liska <mliska@suse.cz>
581
582 * libgcov-profiler.c (__gcov_time_profiler): Remove.
583 (__gcov_time_profiler_atomic): Likewise.
584
9769a02b 5852016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
586
587 PR libgcc/78067
588 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
589 count_leading_zeros.
590
2743281b 5912016-11-02 Uros Bizjak <ubizjak@gmail.com>
592
593 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
594 * libgcc2.c (__divmoddi4): New function.
595 * libgcc2.h (__divmoddi4): Declare.
596 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
597 and __PFX_divmodti4.
598
7829b1ae 5992016-10-24 Florian Weimer <fweimer@redhat.com>
600
601 PR libgcc/78064
602 * unwind-c.c: Include auto-target.h.
603
677e8b73 6042016-10-19 John David Anglin <danglin@gcc.gnu.org>
605
2743281b 606 * config/pa/pa64-hpux-lib.h: New file.
677e8b73 607 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
608 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
609 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
610 hppa*64*-*-hpux11*.
611
5dc8060e 6122016-10-18 Max Filippov <jcmvbkbc@gmail.com>
613
614 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
615 definition.
616 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
617 definition.
618 * config/xtensa/t-windowed (LIB2ADDEH): Use
619 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
620 or xtensa/t-linux.
621
2b7e7fc4 6222016-10-18 Ding-Kai Chen <dkchen@cadence.com>
623
624 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
625 __ieee754_sqrt): New functions.
626 (__divdf3): Add implementation with new FPU instructions under
627 #if XCHAL_HAVE_DFP_DIV.
628 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
629 __ieee754_sqrtf): New functions.
630 (__divsf3): Add implementation with new FPU instructions under
631 #if XCHAL_HAVE_FP_DIV.
632 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
633 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
634
ad7b10a2 6352016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
636
637 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
638 equivalent.
639 * config/tilepro/atomic.c: Likewise and stop casting model to
640 enum memmodel.
641
dff001ee 6422016-10-10 Joseph Myers <joseph@codesourcery.com>
643
644 PR target/77586
645 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
646 soft-fp.
647
88afddbc 6482016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
649
650 * config.host: Add support for aarch64-*-freebsd*.
651
7667e10d 6522016-10-05 Andreas Schwab <schwab@suse.de>
653
654 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
655 (.section .init_array): Don't call __do_jv_register_classes.
656 (.section .init): Likewise.
657
bc6b11a7 6582016-10-04 Jakub Jelinek <jakub@redhat.com>
659
660 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
661 (__JCR_LIST__): Remove.
662 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
663 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
664 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
665 * config/ia64/crtend.S (__JCR_END__): Remove.
666 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
667 conditionals.
668 (__JCR_LIST__, __JCR_END__): Remove.
669 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
670 (__do_global_ctors_1): Likewise.
671
4785ab74 6722015-09-28 Uros Bizjak <ubizjak@gmail.com>
673
674 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
675 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
676
db46bcd3 6772016-09-27 Martin Liska <mliska@suse.cz>
678
679 PR gcov-profile/7970
680 PR gcov-profile/16855
681 PR gcov-profile/44779
682 * libgcov-driver.c (__gcov_init): Do not register a atexit
683 handler.
684 (__gcov_exit): Rename from gcov_exit.
685 * libgcov.h (__gcov_exit): Declare.
686
1e849229 6872016-09-27 Martin Liska <mliska@suse.cz>
688
689 PR bootstrap/77749
690 * Makefile.in: Remove _gcov_merge_delta.
691 * libgcov-merge.c (void __gcov_merge_delta): Remove.
692 * libgcov-util.c (__gcov_delta_counter_op): Remove.
693 * libgcov.h: Remove declaration of __gcov_merge_delta.
694
c678023a 6952016-09-21 Eric Botcazou <ebotcazou@adacore.com>
696
697 * configure.ac: Do not create links, only substitute the filenames.
698 * configure: Regenerate.
699 * Makefile.in: Assign the substitution results to variables.
700 (LIBGCC_LINKS): Define.
701 (enable-execute-stack.c): New rule.
702 (unwind.h): Likewise.
703 (md-unwind-support.h): Likewise.
704 (sfp-machine.h): Likewise.
705 (gthr-default.h): Likewise.
706 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
707 unwind.h as prerequisite of install-unwind_h-forbuild.
708
69ea9908 7092016-09-16 Jakub Jelinek <jakub@redhat.com>
710
711 PR libgcc/71744
712 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
713 is not the primary registry and atomics are available.
714 (any_objects_registered): New variable.
715 (__register_frame_info_bases, __register_frame_info_table_bases):
716 Atomically store 1 to any_objects_registered after registering first
717 unwind info.
718 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
719
d1c9b60c 7202016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
721
722 PR target/63250
723 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
724 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
725 (HFtype): Likewise.
726 (HCtype): Likewise.
727 (__divhc3): Likewise.
728 (__mulhc3): Likewise.
729 * libgcc2.c: Support _mulhc3 and _divhc3.
730
86d9b5ed 7312016-09-07 Joseph Myers <joseph@codesourcery.com>
732
733 PR libgcc/77519
734 * libgcc2.c (NOTRUNC): Invert settings.
735
4c790ba8 7362016-09-06 Martin Liska <mliska@suse.cz>
737
738 PR gcov-profile/77378
739 PR gcov-profile/77466
740 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
741 conditionaly enable/disable *_atomic functions.
742
ac34f4bd 7432016-08-26 Joseph Myers <joseph@codesourcery.com>
744
745 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
746 where not already enabled.
747
9cd45037 7482016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
749
750 * config/mips/linux-unwind.h: Use sys/syscall.h.
751
de41fc22 7522016-08-16 Joseph Myers <joseph@codesourcery.com>
753
754 PR libgcc/77265
755 * soft-fp/adddf3.c: Update from glibc.
756 * soft-fp/addsf3.c: Likewise.
757 * soft-fp/addtf3.c: Likewise.
758 * soft-fp/divdf3.c: Likewise.
759 * soft-fp/divsf3.c: Likewise.
760 * soft-fp/divtf3.c: Likewise.
761 * soft-fp/double.h: Likewise.
762 * soft-fp/eqdf2.c: Likewise.
763 * soft-fp/eqsf2.c: Likewise.
764 * soft-fp/eqtf2.c: Likewise.
765 * soft-fp/extenddftf2.c: Likewise.
766 * soft-fp/extended.h: Likewise.
767 * soft-fp/extendsfdf2.c: Likewise.
768 * soft-fp/extendsftf2.c: Likewise.
769 * soft-fp/extendxftf2.c: Likewise.
770 * soft-fp/fixdfdi.c: Likewise.
771 * soft-fp/fixdfsi.c: Likewise.
772 * soft-fp/fixdfti.c: Likewise.
773 * soft-fp/fixsfdi.c: Likewise.
774 * soft-fp/fixsfsi.c: Likewise.
775 * soft-fp/fixsfti.c: Likewise.
776 * soft-fp/fixtfdi.c: Likewise.
777 * soft-fp/fixtfsi.c: Likewise.
778 * soft-fp/fixtfti.c: Likewise.
779 * soft-fp/fixunsdfdi.c: Likewise.
780 * soft-fp/fixunsdfsi.c: Likewise.
781 * soft-fp/fixunsdfti.c: Likewise.
782 * soft-fp/fixunssfdi.c: Likewise.
783 * soft-fp/fixunssfsi.c: Likewise.
784 * soft-fp/fixunssfti.c: Likewise.
785 * soft-fp/fixunstfdi.c: Likewise.
786 * soft-fp/fixunstfsi.c: Likewise.
787 * soft-fp/fixunstfti.c: Likewise.
788 * soft-fp/floatdidf.c: Likewise.
789 * soft-fp/floatdisf.c: Likewise.
790 * soft-fp/floatditf.c: Likewise.
791 * soft-fp/floatsidf.c: Likewise.
792 * soft-fp/floatsisf.c: Likewise.
793 * soft-fp/floatsitf.c: Likewise.
794 * soft-fp/floattidf.c: Likewise.
795 * soft-fp/floattisf.c: Likewise.
796 * soft-fp/floattitf.c: Likewise.
797 * soft-fp/floatundidf.c: Likewise.
798 * soft-fp/floatundisf.c: Likewise.
799 * soft-fp/floatunditf.c: Likewise.
800 * soft-fp/floatunsidf.c: Likewise.
801 * soft-fp/floatunsisf.c: Likewise.
802 * soft-fp/floatunsitf.c: Likewise.
803 * soft-fp/floatuntidf.c: Likewise.
804 * soft-fp/floatuntisf.c: Likewise.
805 * soft-fp/floatuntitf.c: Likewise.
806 * soft-fp/gedf2.c: Likewise.
807 * soft-fp/gesf2.c: Likewise.
808 * soft-fp/getf2.c: Likewise.
809 * soft-fp/ledf2.c: Likewise.
810 * soft-fp/lesf2.c: Likewise.
811 * soft-fp/letf2.c: Likewise.
812 * soft-fp/muldf3.c: Likewise.
813 * soft-fp/mulsf3.c: Likewise.
814 * soft-fp/multf3.c: Likewise.
815 * soft-fp/negdf2.c: Likewise.
816 * soft-fp/negsf2.c: Likewise.
817 * soft-fp/negtf2.c: Likewise.
818 * soft-fp/op-1.h: Likewise.
819 * soft-fp/op-2.h: Likewise.
820 * soft-fp/op-4.h: Likewise.
821 * soft-fp/op-8.h: Likewise.
822 * soft-fp/op-common.h: Likewise.
823 * soft-fp/quad.h: Likewise.
824 * soft-fp/single.h: Likewise.
825 * soft-fp/soft-fp.h: Likewise.
826 * soft-fp/subdf3.c: Likewise.
827 * soft-fp/subsf3.c: Likewise.
828 * soft-fp/subtf3.c: Likewise.
829 * soft-fp/truncdfsf2.c: Likewise.
830 * soft-fp/trunctfdf2.c: Likewise.
831 * soft-fp/trunctfsf2.c: Likewise.
832 * soft-fp/trunctfxf2.c: Likewise.
833 * soft-fp/unorddf2.c: Likewise.
834 * soft-fp/unordsf2.c: Likewise.
835 * soft-fp/unordtf2.c: Likewise.
836
196b8968 8372016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
838
839 PR gcov-profile/67097
840 * libgcov-util.c (gcov_profile_merge): Skip missing files.
841
2d2b4107 8422016-08-10 Martin Liska <mliska@suse.cz>
843
844 PR gcov-profile/58306
845 * Makefile.in: New functions (modules) are added.
846 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
847 function.
848 (__gcov_pow2_profiler_atomic): New function.
849 (__gcov_one_value_profiler_body): New argument is instroduced.
850 (__gcov_one_value_profiler): Call with the new argument.
851 (__gcov_one_value_profiler_atomic): Likewise.
852 (__gcov_indirect_call_profiler_v2): Likewise.
853 (__gcov_time_profiler_atomic): New function.
854 (__gcov_average_profiler_atomic): Likewise.
855 (__gcov_ior_profiler_atomic): Likewise.
856 * libgcov.h: Declare the aforementioned functions.
857
ba662a81 8582016-08-09 Martin Liska <mliska@suse.cz>
859
860 * libgcov-util.c: Fix typo and GNU coding style.
861
2d917abb 8622016-08-09 Martin Liska <mliska@suse.cz>
863
864 * Makefile.in: Remove __gcov_indirect_call_profiler.
865 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
866 function.
867 * libgcov.h: And the declaration of the function.
868
defa7026 8692016-08-09 Martin Liska <mliska@suse.cz>
870
871 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
872 power of two.
873
cc308618 8742016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
875
876 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
877 * config/rs6000/_mulkc3.c: Likewise.
878
33d428f0 8792016-07-29 Georg-Johann Lay <avr@gjlay.de>
880
881 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
882 zero_reg as previous call to __umulhisi3 already cleared it.
883
04aca775 8842016-07-21 Aurelien Jarno <aurelien@aurel32.net>
885
886 PR target/59833
887 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
888
78c81e30 8892016-07-19 Nick Clifton <nickc@redhat.com>
890
891 * config.host (m32r): Add m32r/t-m32r to tmake_file.
892 Add crtinit.o and crtfini.o to extra_parts.
893
244f142f 8942016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
895
896 * config/rs6000/_divkc3.c: New.
897 * config/rs6000/_mulkc3.c: New.
898 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
899 and _divkc3.
900 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
901 fp128_ppc_funcs.
902
4623d929 9032016-07-11 Hale Wang <hale.wang@arm.com>
904 Andre Vieira <andre.simoesdiasvieira@arm.com>
905
906 * config/arm/lib1funcs.S: Add new wrapper.
907
2d079cbf 9082016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
909
910 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
911
baea7c0c 9122016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
913
914 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
915 and ARMv5t* rather than for a fixed list of architectures.
916
9e6f4af4 9172016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
918
919 * config/arm/bpabi-v6m.S: Clarify what architectures is the
920 implementation suitable for.
921 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
922 for all Thumb-1 only targets.
923 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
924 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
925 __ARM_ARCH_6M__.
926 (EQUIV): Likewise.
927 (ARM_FUNC_ALIAS): Likewise.
928 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
929 version.
930 (modsi3): Likewise.
931 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
932 (clzdi2): Likewise.
933 (ctzsi2): Likewise.
934 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
935 __ARM_ARCH_6M__ in guard for checking whether it is defined.
936 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
937 __ARM_ARCH_6M__ and add comment to indicate the connection between
938 this condition and the one in gcc/config/arm/elf.h.
939 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
940 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
941 * config/arm/t-softfp: Likewise.
942
286a203d 9432016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
944
945 * libgcc2.c (SYMBOL__MAIN): Remove checks for
946 CTOR_LISTS_DEFINED_EXTERNALLY.
947
dabe3026 9482016-06-28 Walter Lee <walt@tilera.com>
949
950 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
951 asm/unistd.h.
952 (SPR_CMPEXCH_VALUE): Define for tilegx.
953 (__NR_FAST_cmpxchg): Define for tilepro.
954 (__NR_FAST_atomic_update): Define for tilepro.
955 (__NR_FAST_cmpxchg64): Define for tilepro.
956
21ecea39 9572016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
958
2743281b 959 * config.host: Add suport for arm*-*-phoenix* targets.
21ecea39 960
03fee1f8 9612016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
962
963 * config.host: Remove support for mep-*.
964 * config/mep/lib1funcs.S: Remove.
965 * config/mep/lib2funcs.c: Remove.
966 * config/mep/t-mep: Remove.
967 * config/mep/tramp.c: Remove.
968
0f7d9ee5 9692016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
970
971 * config.host: Remove support for avr-rtems.
972 * config/avr/t-rtems: Remove.
973
13c64cbf 9742016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
975
976 * config.host: Remove m32r-rtems support.
977
dac5da06 9782016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
979
980 * config.host: Remove h8300-rtems support.
981
79573034 9822016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
983
984 * config.host: Remove support for knetbsd.
985
b79c0f5e 9862016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
987
988 * config.host: Remove support for openbsd 2 and 3.
989
6905db52 9902016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
991
992 * config.host: Remove interix support.
993 * config/i386/t-interix: Remove.
994
433e4812 9952016-06-18 John David Anglin <danglin@gcc.gnu.org>
996
997 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
998 least-significant bit in function pointer for fixup.
999
5d4123dc 10002016-06-05 Aaron Conole <aconole@redhat.com>
1001 Nathan Sidwell <nathan@acm.org>
1002
1003 PR libgcc/71400
1004 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
1005 (get_gcov_error_file): Check __gcov_error_file before trying to
1006 initialize it.
1007 (gcov_error): Always use get_gcov_error_file.
1008
3237fc56 10092016-06-02 Aaron Conole <aconole@redhat.com>
1010
1011 * libgcov-driver-system.c (__gcov_error_file): New.
1012 (get_gcov_error_file): New.
1013 (gcov_error): Use and set __gcov_error_file.
1014 (gcov_error_exit): New.
1015 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
1016
16dbe651 10172016-05-26 Nathan Sidwell <nathan@acm.org>
1018
1019 * config/nvptx/free.asm: Delete.
1020 * config/nvptx/malloc.asm: Delete.
1021 * config/nvptx/realloc.c: Delete.
1022 * t-nvptx: Update.
1023
f6871bbd 10242016-05-25 Nathan Sidwell <nathan@acm.org>
1025
1026 * config/nvptx/crt0.s: Delete.
1027 * config/nvptx/crt0.c: New.
1028 * t-nvptx: Update.
1029
51d42eb1 10302016-05-19 Sandra Loosemore <sandra@codesourcery.com>
1031
61958e92 1032 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
51d42eb1 1033 dw2/seh configuration.
1034 [x86_64-*-mingw*]: Likewise.
1035
ffdf58db 10362016-05-10 Joel Sherrill <joel@rtems.org>
1037
1038 PR libgcc/70720
1039 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
1040 targets so the same extra_parts are built. Also have tmake_file add
1041 on to its value rather than override.
1042
9a9b5abf 10432016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
1044
1045 * config.host: Remove SH5 support.
1046 * configure: Likewise.
1047
f6fac0a1 10482016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
1049
1050 * config/sh/crt1.S: Remove SH5 support.
1051 * config/sh/crti.S: Likewise.
1052 * config/sh/crtn.S: Likewise.
1053 * config/sh/lib1funcs-4-300.S: Likewise.
1054 * config/sh/lib1funcs-Os-4-200.S: Likewise.
1055 * config/sh/lib1funcs.S: Likewise.
1056 * config/sh/linux-unwind.h: Likewise.
1057 * config/sh/t-sh64: Delete.
1058
7238c72c 10592016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
1060
1061 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
1062
5caa55b9 10632016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
1064 Joern Rennecke <joern.rennecke@embecosm.com>
1065
1066 * config/arc/crttls.S: New file.
1067 * config/arc/t-arc: New rule.
1068 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
1069
10dd6506 10702016-04-25 Nick Clifton <nickc@redhat.com>
1071
1072 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
1073 (__mspabi_cmpd): Likewise.
1074 * config/msp430/floathidf.c (__floathidf): Likewise.
1075 * config/msp430/floathisf.c (__floathisf): Likewise
1076 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
1077 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
1078 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
1079 second parameter.
1080 (__ashrsi3): Likewise.
1081
1701058d 10822016-04-21 Waldemar Brodkorb <wbx@openadk.org>
1083
1084 * config/m68k/linux-atomic.c: Do not include unistd.h
1085
9703b760 10862016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
1087
1088 * config/arm/ieee754-df.S: Fix typos in comments.
1089
62735984 10902016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
1091
1092 PR target/70381
1093 * configure.ac (powerpc*-*-linux*): Rework tests to build
1094 __float128 emulation routines to not depend on using #pragma GCC
1095 target to enable -mfloat128.
1096 * configure: Regnerate.
1097
1c934c58 10982016-04-04 Eric Botcazou <ebotcazou@adacore.com>
1099
1100 PR target/67172
1101 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
1102 __MINGW32__ is defined.
1103
28a5f334 11042016-03-28 James Bowman <james.bowman@ftdichip.com>
1105
61958e92 1106 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
28a5f334 1107
88a2143c 11082016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
1109
1110 PR libgcc/70363
1111 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
1112 built with an assembler that does not support ISA 3.0
1113 instructions, rename __extendkftf2_sw to __extendkftf2.
1114
ed3d624c 11152016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1116
1117 PR target/38239
1118 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
1119 call-clobbered registers.
1120 (internal_mcount): Remove __i386__ handling.
1121
1e085786 11222016-02-26 Joel Sherrill <joel@rtems.org>
1123
1124 * config.host: Add x86_64-*-rtems*.
1125
05ea12a2 11262016-02-26 Joel Sherrill <joel@rtems.org>
1127
1128 * libgcc/config.host: Add aarch64-*-rtems*.
1129
9b71efb9 11302016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1131 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1132
1133 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
1134 union of u64 and double.
1135 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
1136 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
1137 value.
1138 (FP_ROUNDMODE): Update the usage of _fpscr.
1139
e59c8b12 11402016-02-25 Ilya Verbin <ilya.verbin@intel.com>
1141
1142 PR driver/68463
1143 * Makefile.in (crtoffloadtable$(objext)): New rule.
1144 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
1145 enable_offload_targets is not empty.
1146 * configure: Regenerate.
1147 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
1148 crtoffloadtable.
1149
1fa780ac 11502016-02-17 Max Filippov <jcmvbkbc@gmail.com>
1151
1152 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
1153 .literal_position before the function.
1154 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
1155 Likewise.
1156
c6d481f7 11572016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
1158
1159 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
1160 * config/s390/morestack.S: New file.
1161 * config/s390/t-stack-s390: New file.
1162 * generic-morestack.c (__splitstack_find): Add s390-specific code.
1163
d58f7073 11642016-02-12 Walter Lee <walt@tilera.com>
1165
1166 * config.host (tilegx*-*-linux*): remove ti from
1167 softfp_int_modes for 32-bit configs.
1168
43cfc88a 11692016-02-10 Ian Lance Taylor <iant@google.com>
1170
1171 PR go/68562
1172 * config/i386/morestack.S (__stack_split_initialize): Align
1173 stack.
1174
ad2fe514 11752016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
1176
1177 PR bootstrap/69611
1178 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
1179 __FLOAT128__ to compile only for __float128 capable targets.
1180
92e91d03 11812016-01-25 Jakub Jelinek <jakub@redhat.com>
1182
1183 PR target/69444
1184 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
1185 instead of ___NO_FPRS__.
1186
d99eec2c 11872016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 1188 Steven Munroe <munroesj@linux.vnet.ibm.com>
1189 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
d99eec2c 1190
1191 * config/rs6000/float128-sed: New files to convert TF names to KF
1192 names for PowerPC IEEE 128-bit floating point support.
1193 * config/rs6000/float128-sed-hw: Likewise.
1194
1195 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1196 floating point hardware support.
1197
1198 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1199 128-bit floating point software emulation or use ISA 3.0 hardware
1200 support if it is available.
1201
1202 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1203 floating point.
1204
1205 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
1206 floating point to IBM extended double.
1207
1208 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
1209 double to IEEE 128-bit floating point.
1210
1211 * config/rs6000/t-float128: New Makefile fragments to enable
1212 building __float128 emulation support.
1213 * config/rs6000/t-float128-hw: Likewise.
1214
1215 * config/rs6000/sfp-exceptions.c: New file to provide exception
1216 support for IEEE 128-bit floating point.
1217
1218 * config/rs6000/floattikf.c: New files for converting between IEEE
1219 128-bit floating point and signed/unsigned 128-bit integers.
1220 * config/rs6000/fixunskfti.c: Likewise.
1221 * config/rs6000/fixkfti.c: Likewise.
1222 * config/rs6000/floatuntikf.c: Likewise.
1223
1224 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1225 when building on 64-bit systems, or when VSX is enabled.
1226 (_FP_W_TYPE): Likewise.
1227 (_FP_WS_TYPE): Likewise.
1228 (_FP_I_TYPE): Likewise.
1229 (TItype): Define on 64-bit systems.
1230 (UTItype): Likewise.
1231 (TI_BITS): Likewise.
1232 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1233 (_FP_MUL_MEAT_Q): Likewise.
1234 (_FP_DIV_MEAT_D): Likewise.
1235 (_FP_DIV_MEAT_Q): Likewise.
1236 (_FP_NANFRAC_D): Likewise.
1237 (_FP_NANFRAC_Q): Likewise.
1238 (ISA_BIT): Add exception support if we are being compiled on a
1239 machine with hardware floating point support to build the IEEE
1240 128-bit emulation functions.
1241 (FP_EX_INVALID): Likewise.
1242 (FP_EX_OVERFLOW): Likewise.
1243 (FP_EX_UNDERFLOW): Likewise.
1244 (FP_EX_DIVZERO): Likewise.
1245 (FP_EX_INEXACT): Likewise.
1246 (FP_EX_ALL): Likewise.
1247 (__sfp_handle_exceptions): Likewise.
1248 (FP_HANDLE_EXCEPTIONS): Likewise.
1249 (FP_RND_NEAREST): Likewise.
1250 (FP_RND_ZERO): Likewise.
1251 (FP_RND_PINF): Likewise.
1252 (FP_RND_MINF): Likewise.
1253 (FP_RND_MASK): Likewise.
1254 (_FP_DECL_EX): Likewise.
1255 (FP_INIT_ROUNDMODE): Likewise.
1256 (FP_ROUNDMODE): Likewise.
1257
1258 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1259 VSX code, enable IEEE 128-bit floating point. If the compiler can
1260 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
1261 floating point hardware instructions and it supports declaring
1262 functions with the ifunc attribute, enable ifunc functions to
1263 switch between software and hardware support.
1264 * configure.ac (powerpc*-*-linux*): Likewise.
1265 * configure: Regenerate.
1266
f557f14d 12672016-01-15 Nick Clifton <nickc@redhat.com>
1268
1269 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
1270 dependency as the source file to be compiled.
1271 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
1272 (lib2hw_mul_f5.o): Likewise.
1273
0e0d3ecb 12742016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1275
1276 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
1277 * libgcc/config/rs6000/fixkfti.c: Likewise.
1278 * libgcc/config/rs6000/fixunskfti.c: Likewise.
1279 * libgcc/config/rs6000/float128-hw.c: Likewise.
1280 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
1281 * libgcc/config/rs6000/float128-sed: Likewise.
1282 * libgcc/config/rs6000/floattikf.c: Likewise.
1283 * libgcc/config/rs6000/floatuntikf.c: Likewise.
1284 * libgcc/config/rs6000/quad-float128.h: Likewise.
1285 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
1286 * libgcc/config/rs6000/sfp-machine.h: Likewise.
1287 * libgcc/config/rs6000/t-float128: Likewise.
1288 * libgcc/config/rs6000/t-float128-hw: Likewise.
1289 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
1290 * libgcc/config.host: Likewise.
1291 * libgcc/configure: Likewise.
1292 * libgcc/configure.ac: Likewise.
1293
398368d8 12942016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 1295 Steven Munroe <munroesj@linux.vnet.ibm.com>
1296 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
398368d8 1297
1298 * config/rs6000/sfp-exceptions.c: New file to provide exception
1299 support for IEEE 128-bit floating point.
1300
1301 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
1302 floating point hardware support.
1303
1304 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
1305 point conversions.
1306 * config/rs6000/fixunskfti.c: Likewise.
1307 * config/rs6000/fixkfti.c: Likewise.
1308 * config/rs6000/floatuntikf.c: Likewise.
1309 * config/rs6000/extendkftf2-sw.c: Likewise.
1310 * config/rs6000/trunctfkf2-sw.c: Likewise.
1311
1312 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
1313 128-bit floating point software emulation or use ISA 3.0 hardware
1314 support if it is available.
1315
1316 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
1317 floating point.
1318
1319 * config/rs6000/t-float128: New Makefile fragments to enable
1320 building __float128 emulation support.
1321 * config/rs6000/t-float128-hw: Likewise.
1322
1323 * config/rs6000/float128-sed: New file to convert TF names to KF
1324 names for PowerPC IEEE 128-bit floating point support.
1325
1326 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
1327 when building on 64-bit systems, or when VSX is enabled.
1328 (_FP_W_TYPE): Likewise.
1329 (_FP_WS_TYPE): Likewise.
1330 (_FP_I_TYPE): Likewise.
1331 (TItype): Define on 64-bit systems.
1332 (UTItype): Likewise.
1333 (TI_BITS): Likewise.
1334 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
1335 (_FP_MUL_MEAT_Q): Likewise.
1336 (_FP_DIV_MEAT_D): Likewise.
1337 (_FP_DIV_MEAT_Q): Likewise.
1338 (_FP_NANFRAC_D): Likewise.
1339 (_FP_NANFRAC_Q): Likewise.
1340 (ISA_BIT): Add exception support if we are being compiled on a
1341 machine with hardware floating point support to build the IEEE
1342 128-bit emulation functions.
1343 (FP_EX_INVALID): Likewise.
1344 (FP_EX_OVERFLOW): Likewise.
1345 (FP_EX_UNDERFLOW): Likewise.
1346 (FP_EX_DIVZERO): Likewise.
1347 (FP_EX_INEXACT): Likewise.
1348 (FP_EX_ALL): Likewise.
1349 (__sfp_handle_exceptions): Likewise.
1350 (FP_HANDLE_EXCEPTIONS): Likewise.
1351 (FP_RND_NEAREST): Likewise.
1352 (FP_RND_ZERO): Likewise.
1353 (FP_RND_PINF): Likewise.
1354 (FP_RND_MINF): Likewise.
1355 (FP_RND_MASK): Likewise.
1356 (_FP_DECL_EX): Likewise.
1357 (FP_INIT_ROUNDMODE): Likewise.
1358 (FP_ROUNDMODE): Likewise.
1359
1360 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
1361 compiler can do __float128.
1362 * configure: Regenerate.
1363
1364 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
1365 VSX code, enable IEEE 128-bit floating point.
1366
25cbccba 13672016-01-05 Olivier Hainque <hainque@adacore.com>
1368
1369 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
398368d8 1370 specificities.
25cbccba 1371
f1717362 13722016-01-04 Jakub Jelinek <jakub@redhat.com>
1373
1374 Update copyright years.
1375
444b6906 13762015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1377
1378 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
398368d8 1379 soft-fp targets.
444b6906 1380
9ff93578 13812015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1382
1383 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
1384 instead of abort to avoid dependency on stdlib.h.
1385
a59e6fa6 13862015-12-09 John David Anglin <danglin@gcc.gnu.org>
1387
1388 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
1389 to initialize call to __dl_fixup once.
1390
7ed86ba5 13912015-12-04 Nick Clifton <nickc@redhat.com>
1392
1393 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
1394 Allow for the second argument being negative.
1395 * config.host (extra_parts): Define for MSP430. Create separate
1396 libraries for each of the hardware multiply formats.
1397 * config/msp430/lib2hw_mul.S: Build only the multiply routines
1398 that are needed.
1399 * config/msp430/lib2mul.c: Likewise.
1400 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
1401 Add rules to build hardware multiply libraries.
1402 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
1403 __mspabi_divul function.
1404 (__mspabi_divllu): New stub function.
1405
2ec62878 14062015-12-01 John David Anglin <danglin@gcc.gnu.org>
1407
1408 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
1409 fixup values if saved GOT address doesn't match runtime address.
1410 (fixup_branch_offset): Reorder list.
1411
08de21a4 14122015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1413
1414 * Makefile.in (VTV_CFLAGS): New variable.
1415 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
1416 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
1417 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1418 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
1419 to extra_parts if $enable_vtable_verify = yes.
1420
7824e89a 14212015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
1422
1423 PR target/68059
1424 * config/arm/linux-atomic-64bit.c (__write): Rename to...
1425 (write): ...this and fix the return type.
1426
c0b6819e 14272015-11-19 DJ Delorie <dj@redhat.com>
1428
1429 * config/msp430/lib2hw_mul.S: Fix alignment.
1430
1927fff5 14312015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1432
1433 * config/nvptx/reduction.c: New.
1434 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1435
5bbad880 14362015-11-15 David Edelsohn <dje.gcc@gmail.com>
1437
1438 * config/rs6000/on_exit.c: New file.
1439 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
1440 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
1441
0c4d7986 14422015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
1443
1444 * config/arc/dp-hack.h: Add support for ARCHS.
1445 * config/arc/ieee-754/divdf3.S: Likewise.
1446 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1447 * config/arc/ieee-754/muldf3.S: Likewise.
1448 * config/arc/ieee-754/mulsf3.S: Likewise
1449 * config/arc/lib1funcs.S: Likewise
1450 * config/arc/gmon/dcache_linesz.S: Don't read the build register
1451 for ARCv2 cores.
1452 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
1453 for ARCv2 cores.
1454 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
1455 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
1456 cores.
1457
4fa8daf5 14582015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1459
1460 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
1461 value.
1462 * config/ia64/crtend.S: Likewise.
1463
d2dc729f 14642015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1465
1466 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
1467 __CHAR_BIT__ instead of BITS_PER_UNIT.
1468 * fixed-bit.h: Likewise.
1469 * fp-bit.h: Likewise.
1470 * libgcc2.c (__popcountSI2): Likewise.
1471 (__popcountDI2): Likewise.
1472 * libgcc2.h: Likewise.
1473 * libgcov.h: Likewise.
1474
69de5ea9 14752015-11-07 David Edelsohn <dje.gcc@gmail.com>
1476
1477 * config/rs6000/atexit.c: New file.
1478 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
1479 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
1480 * config/rs6000/cxa_finalize.c
1481 (catomic_compare_and_exchange_bool_acq): Negate return value.
1482
47ce082f 14832015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
1484
1485 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
1486 (processor_subtypes): Add znver1.
1487 (get_amd_cpu): Detect znver1.
1488
18e98669 14892015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1490
1491 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1492 Include crtfastmath.o.
1493
9003096f 14942015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
1495
1496 PR libgcc/66883
1497 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
18e98669 1498
2ee6cfdb 14992015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
1500
1501 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
1502 * config/rl78/divmodsi.S: Update return register to r8.
1503 * config/rl78/divmodhi.S: Update return register to r8,r9.
1504 Branch to main_loop_done_himode to pop registers before return.
1505
92e91d03 15062015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5814084e 1507
1508 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1509 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1510
6c1b774a 15112015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1512
1513 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1514
e3c15dbe 15152015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1516
1517 * config.host (xtensa*-*-uclinux*): New configuration.
1518
767110dd 15192015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1520
61958e92 1521 * config/i386/cpuinfo.c (processor_features): Add
767110dd 1522 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1523
b576f5d8 15242015-09-28 Joseph Myers <joseph@codesourcery.com>
1525
1526 * soft-fp/adddf3.c: Update from glibc.
1527 * soft-fp/addsf3.c: Likewise.
1528 * soft-fp/addtf3.c: Likewise.
1529 * soft-fp/divdf3.c: Likewise.
1530 * soft-fp/divsf3.c: Likewise.
1531 * soft-fp/divtf3.c: Likewise.
1532 * soft-fp/double.h: Likewise.
1533 * soft-fp/eqdf2.c: Likewise.
1534 * soft-fp/eqsf2.c: Likewise.
1535 * soft-fp/eqtf2.c: Likewise.
1536 * soft-fp/extenddftf2.c: Likewise.
1537 * soft-fp/extended.h: Likewise.
1538 * soft-fp/extendsfdf2.c: Likewise.
1539 * soft-fp/extendsftf2.c: Likewise.
1540 * soft-fp/extendxftf2.c: Likewise.
1541 * soft-fp/fixdfdi.c: Likewise.
1542 * soft-fp/fixdfsi.c: Likewise.
1543 * soft-fp/fixdfti.c: Likewise.
1544 * soft-fp/fixsfdi.c: Likewise.
1545 * soft-fp/fixsfsi.c: Likewise.
1546 * soft-fp/fixsfti.c: Likewise.
1547 * soft-fp/fixtfdi.c: Likewise.
1548 * soft-fp/fixtfsi.c: Likewise.
1549 * soft-fp/fixtfti.c: Likewise.
1550 * soft-fp/fixunsdfdi.c: Likewise.
1551 * soft-fp/fixunsdfsi.c: Likewise.
1552 * soft-fp/fixunsdfti.c: Likewise.
1553 * soft-fp/fixunssfdi.c: Likewise.
1554 * soft-fp/fixunssfsi.c: Likewise.
1555 * soft-fp/fixunssfti.c: Likewise.
1556 * soft-fp/fixunstfdi.c: Likewise.
1557 * soft-fp/fixunstfsi.c: Likewise.
1558 * soft-fp/fixunstfti.c: Likewise.
1559 * soft-fp/floatdidf.c: Likewise.
1560 * soft-fp/floatdisf.c: Likewise.
1561 * soft-fp/floatditf.c: Likewise.
1562 * soft-fp/floatsidf.c: Likewise.
1563 * soft-fp/floatsisf.c: Likewise.
1564 * soft-fp/floatsitf.c: Likewise.
1565 * soft-fp/floattidf.c: Likewise.
1566 * soft-fp/floattisf.c: Likewise.
1567 * soft-fp/floattitf.c: Likewise.
1568 * soft-fp/floatundidf.c: Likewise.
1569 * soft-fp/floatundisf.c: Likewise.
1570 * soft-fp/floatunditf.c: Likewise.
1571 * soft-fp/floatunsidf.c: Likewise.
1572 * soft-fp/floatunsisf.c: Likewise.
1573 * soft-fp/floatunsitf.c: Likewise.
1574 * soft-fp/floatuntidf.c: Likewise.
1575 * soft-fp/floatuntisf.c: Likewise.
1576 * soft-fp/floatuntitf.c: Likewise.
1577 * soft-fp/gedf2.c: Likewise.
1578 * soft-fp/gesf2.c: Likewise.
1579 * soft-fp/getf2.c: Likewise.
1580 * soft-fp/ledf2.c: Likewise.
1581 * soft-fp/lesf2.c: Likewise.
1582 * soft-fp/letf2.c: Likewise.
1583 * soft-fp/muldf3.c: Likewise.
1584 * soft-fp/mulsf3.c: Likewise.
1585 * soft-fp/multf3.c: Likewise.
1586 * soft-fp/negdf2.c: Likewise.
1587 * soft-fp/negsf2.c: Likewise.
1588 * soft-fp/negtf2.c: Likewise.
1589 * soft-fp/op-1.h: Likewise.
1590 * soft-fp/op-2.h: Likewise.
1591 * soft-fp/op-4.h: Likewise.
1592 * soft-fp/op-8.h: Likewise.
1593 * soft-fp/op-common.h: Likewise.
1594 * soft-fp/quad.h: Likewise.
1595 * soft-fp/single.h: Likewise.
1596 * soft-fp/soft-fp.h: Likewise.
1597 * soft-fp/subdf3.c: Likewise.
1598 * soft-fp/subsf3.c: Likewise.
1599 * soft-fp/subtf3.c: Likewise.
1600 * soft-fp/truncdfsf2.c: Likewise.
1601 * soft-fp/trunctfdf2.c: Likewise.
1602 * soft-fp/trunctfsf2.c: Likewise.
1603 * soft-fp/trunctfxf2.c: Likewise.
1604 * soft-fp/unorddf2.c: Likewise.
1605 * soft-fp/unordsf2.c: Likewise.
1606 * soft-fp/unordtf2.c: Likewise.
1607
0ed0ef69 16082015-09-24 Richard Earnshaw <rearnsha@arm.com>
1609
1610 PR libgcc/67624
1611 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1612
80fc7cb7 16132015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1614
1615 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
1616 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
1617 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
1618 messages.
1619 (internal_mcount): Likewise.
1620 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
1621 crt_compile, add CRTSTUFF_T_CFLAGS_S.
1622
ba24ad38 16232015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1624
1625 * configure.ac (libgcc_cv_solaris_crts): New test.
1626 * configure: Regenerate.
1627 * config.in: Regenerate.
1628 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
1629 * config/gmon-sol2.c: Rename to ...
1630 * config/sol2/gmon.c: ... this.
1631 Include auto-target.h.
1632 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
1633 * config/t-sol2: Rename to ...
1634 * config/sol2/t-sol2: ... this.
1635 (gmon.o): Reflect renaming.
1636 (crtp.o, crtpg.o): New rules.
1637 * config.host (*-*-solaris2*): Reflect renaming.
1638 Use system CRTs if present.
1639 Remove default CRT case.
1640
c2ab7513 16412015-09-23 John David Anglin <danglin@gcc.gnu.org>
1642
1643 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
1644 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
1645 __kernel_cmpxchg2.
1646 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
1647 (__sync_val_compare_and_swap_##WIDTH): Likewise.
1648 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
1649 (__sync_lock_test_and_set_##WIDTH): Likewise.
1650 (__sync_lock_release_##WIDTH): Likewise.
1651 (__sync_fetch_and_##OP##_4): Change result to match type of
1652 __kernel_cmpxchg.
1653 (__sync_##OP##_and_fetch_4): Likewise.
1654 (__sync_val_compare_and_swap_4): Likewise.
1655 (__sync_bool_compare_and_swap_4): likewise.
1656 (__sync_lock_test_and_set_4): Likewise.
1657 (__sync_lock_release_4): Likewise.
1658 (FETCH_AND_OP_2): Add long long variants.
1659 (OP_AND_FETCH_2): Likewise.
1660 (COMPARE_AND_SWAP_2 ): Likewise.
1661 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1662 (SYNC_LOCK_RELEASE_2): Likewise.
1663 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
1664
92e91d03 16652015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
f96d88a8 1666
1667 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
1668 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
1669 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
1670 (get_available_features): Habdle new features.
1671
672cc719 16722015-09-21 James Bowman <james.bowman@ftdichip.com>
1673
1674 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
1675 memory layout. Deal correctly with BSS region larger than 32K.
1676 Handle a watchdog reset like a power-on reset. Clean up unused
1677 code.
1678
552a60d3 16792015-09-18 Andrew Dixie <andrewd@gentrack.com>
1680 David Edelsohn <dje.gcc@gmail.com>
1681
1682 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
1683 * config/rs6000/crtdbase.S: New file.
1684 * config/rs6000/t-aix-cxa: Build crtdbase.o.
1685
f12cf9f4 16862015-09-15 Max Filippov <jcmvbkbc@gmail.com>
1687
1688 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
1689 Add support for call0 ABI.
1690
9d8ce924 16912015-09-13 John David Anglin <danglin@gcc.gnu.org>
1692
1693 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1694
196c8383 16952015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
1696
1697 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
1698 (__GTHREAD_HAS_COND): Likewise.
1699 (__gthread_t): Likewise.
1700 (__gthread_cond_t): Likewise.
1701 (__gthread_time_t): Likewise.
1702 (__GTHREAD_MUTEX_INIT): Likewise.
1703 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
1704 (__GTHREAD_COND_INIT): Likewise.
1705 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
1706 (__GTHREAD_TIME_INIT): Likewise.
1707 (__gthread_create): Likewise.
1708 (__gthread_join): Likewise.
1709 (__gthread_detach): Likewise.
1710 (__gthread_equal): Likewise.
1711 (__gthread_self): Likewise.
1712 (__gthread_yield): Likewise.
1713 (__gthread_cond_broadcast): Likewise.
1714 (__gthread_cond_signal): Likewise.
1715 (__gthread_cond_wait): Likewise.
1716 (__gthread_cond_timedwait): Likewise.
1717 (__gthread_cond_wait_recursive): Likewise.
1718 (__gthread_cond_destroy): Likewise.
1719 (rtems_gxx_once): Delete.
1720 (rtems_gxx_key_create): Likewise.
1721 (rtems_gxx_key_delete): Likewise.
1722 (rtems_gxx_getspecific): Likewise.
1723 (rtems_gxx_setspecific): Likewise.
1724 (rtems_gxx_mutex_init): Likewise.
1725 (rtems_gxx_mutex_destroy): Likewise.
1726 (rtems_gxx_mutex_lock): Likewise.
1727 (rtems_gxx_mutex_trylock): Likewise.
1728 (rtems_gxx_mutex_unlock): Likewise.
1729 (rtems_gxx_recursive_mutex_init): Likewise.
1730 (rtems_gxx_recursive_mutex_lock): Likewise.
1731 (rtems_gxx_recursive_mutex_trylock): Likewise.
1732 (rtems_gxx_recursive_mutex_unlock): Likewise.
1733 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
1734 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
1735 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
1736 (__gthread_once): Likewise.
1737 (__gthread_key_create): Likewise.
1738 (__gthread_key_delete): Likewise.
1739 (__gthread_getspecific): Likewise.
1740 (__gthread_setspecific): Likewise.
1741 (__gthread_key_t): Use <pthread.h> type.
1742 (__gthread_once_t): Likewise
1743 (__gthread_mutex_t): Use <sys/lock.h> type.
1744 (__gthread_recursive_mutex_t): Likewise
1745 (__gthread_mutex_lock): Use <sys/lock.h> function.
1746 (__gthread_mutex_trylock): Likewise.
1747 (__gthread_mutex_timedlock): Likewise.
1748 (__gthread_mutex_unlock): Likewise.
1749 (__gthread_mutex_destroy): Likewise.
1750 (__gthread_recursive_mutex_lock): Likewise.
1751 (__gthread_recursive_mutex_trylock): Likewise.
1752 (__gthread_recursive_mutex_timedlock): Likewise.
1753 (__gthread_recursive_mutex_unlock): Likewise.
1754 (__gthread_recursive_mutex_destroy): Likewise.
1755
15b21d23 17562015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1757
1758 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
1759 context->sp instead of context->cfa.
1760
8a596a77 17612015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1762
1763 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
1764 with unwind-dw2-fde-dip.
1765
863356ea 17662015-08-18 Max Filippov <jcmvbkbc@gmail.com>
1767
1768 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
1769 CALL12 followed by series of ENTRY to spill windowed registers.
1770 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
1771 instead of making linux spill syscall.
1772
58bb1dbe 17732015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1774
1775 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1776 (get_intel_cpu): Likewise.
1777
cba3f034 17782015-08-12 H.J. Lu <hongjiu.lu@intel.com>
1779
1780 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
1781 (get_intel_cpu): Add Knights Landing support.
1782
aca0ff16 17832015-08-11 Uros Bizjak <ubizjak@gmail.com>
1784
1785 PR target/66954
1786 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
1787 (get_available_features): Handle FEATURE_PCLMUL.
1788
71b19c56 17892015-08-10 H.J. Lu <hongjiu.lu@intel.com>
1790
1791 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
1792 Broadwell.
1793
ff285c74 17942015-07-22 Uros Bizjak <ubizjak@gmail.com>
1795
1796 PR target/66954
1797 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
1798 (get_available_features): Handle FEATURE_AES.
1799
a46441d0 18002015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
1801
1802 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
1803 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
1804
4e985e0f 18052015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1806
1807 * offloadstuff.c: Constify host data.
1808
c780eb05 18092015-07-17 Jan Beulich <jbeulich@suse.com>
1810
1811 * config/t-softfp: Split up "else ifneq".
1812
70425b26 18132015-07-14 Sandra Loosemore <sandra@codesourcery.com>
1814 Cesar Philippidis <cesar@codesourcery.com>
1815 Chung-Lin Tang <cltang@codesourcery.com>
1816
1817 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
1818 for __nios2_arch__ level.
1819
6c8a3242 18202015-07-13 John Marino <gnugcc@marino.st>
1821
1822 * config/i386/t-dragonfly: New.
1823
d277282f 18242015-07-01 John David Anglin <danglin@gcc.gnu.org>
1825
1826 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
1827 better match light-weight syscall argument order.
1828 (__kernel_cmpxchg2): Likewise.
1829 Adjust callers.
1830
146896ec 18312015-06-30 H.J. Lu <hongjiu.lu@intel.com>
1832
1833 * config.host: Support i[34567]86-*-elfiamcu target.
1834 * config/t-softfp-sfdftf: New file.
1835 * config/i386/32/t-iamcu: Likewise.
1836 * configure: Regenerated.
1837
58ddcdad 18382015-06-23 James Lemke <jwlemke@codesourcery.com>
1839
1840 libgcc/config/arm/
1841 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1842
e9abca4f 18432015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1844
1845 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1846
92e91d03 18472015-05-27 John Marino <gnugcc@marino.st>
328976ed 1848
1849 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1850 md_unwind_header
1851 * config/i386/freebsd-unwind.h: New.
1852
2a8549e0 18532015-05-22 Uros Bizjak <ubizjak@gmail.com>
1854
1855 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
1856 i386/t-crtfm to tmake_file.
1857 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
1858 (set_fast_math): Use set_fast_math_sse for SSE targets.
1859 * config/i386/t-crtfm: Remove.
1860
b5d18737 18612015-05-21 Alan Modra <amodra@gmail.com>
1862
1863 PR libgcc/66225
1864 * config/rs6000/morestack.S: Remove ".abiversion 1".
1865
ec3f28c9 18662015-05-20 Alan Modra <amodra@gmail.com>
1867
1868 * config/rs6000/morestack.S: New.
1869 * config/rs6000/t-stack-rs6000: New.
1870 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
1871 to tmake_file.
1872 * generic-morestack.c: Don't build for powerpc 32-bit.
1873
11087c28 18742015-05-19 Eric Botcazou <ebotcazou@adacore.com>
1875
1876 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
1877 Remove useless endif/ifneq ($(enable_shared),yes) pair.
1878
f29929b5 18792015-05-16 James Bowman <james.bowman@ftdichip.com>
1880
1881 * config.host: FT32 target added.
1882 * config/ft32/*: New files for FT32 target.
1883
ce86a36a 18842015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
1885
61958e92 1886 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
1887 New macros.
1888 * config/arm/ieee754-df.S: Add CFI directives.
1889 * config/arm/ieee754-sf.S: Add CFI directives.
ce86a36a 1890
177cc56c 18912015-05-13 Eric Botcazou <ebotcazou@adacore.com>
1892
1893 * configure.ac: Include config/sjlj.m4.
1894 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
1895 * config.in: Regenerate.
1896 * configure: Likewise.
1897 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
1898
a8a5046c 18992015-05-12 Uros Bizjak <ubizjak@gmail.com>
1900
1901 * libgcov-util.c: Add space between string literal and macro name.
1902
1ddaa252 19032015-05-06 Sandra Loosemore <sandra@codesourcery.com>
1904 Chris Jones <chrisj@nvidia.com>
1905 Joshua Conner <jconner@nvidia.com>
1906
1907 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
1908 (arm*-*-uclinux*): Likewise.
1909 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
1910 * config/arm/crtfastmath.c: New file.
1911
162f9d1e 19122014-04-29 Bernd Schmidt <bernds@codesourcery.com>
1913
1914 * Makefile.in (real_host_noncanonical): New variable.
1915 (libsubdir): Use it.
1916 * configure.ac (real_host_noncanonical): Compute. Remove special
1917 case for intelmicemul.
1918 * configure: Regenerate.
1919
005a5ef5 19202015-04-28 Uros Bizjak <ubizjak@gmail.com>
1921
1922 * config/frv/elf-lib.h: New file.
1923 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
1924 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
1925 to tm_file.
1926
19272015-04-28 Uros Bizjak <ubizjak@gmail.com>
1928
1929 * config/frv/frvbengin.c: Do not include defaults.h
1930 * config/frv/frvend.c: Ditto.
1931
acff2768 19322015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
1933
1934 * config.host: Add h8300-*-linux
1935 * config/h8300/t-linux: New file.
1936 * config/h8300/lib1funs.s: Change symbol prefix.
1937 * config/h8300/sfp-machine.h: 64bit double support.
1938
a2e31d06 19392015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
1940 Szabolcs Nagy <szabolcs.nagy@arm.com>
1941
1942 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
1943 Linux if target provides dl_iterate_phdr.
1944
4b5fb32a 19452015-04-17 H.J. Lu <hongjiu.lu@intel.com>
1946
1947 PR target/65612
1948 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
1949 * config/i386/cpuinfo.c (__cpu_model): Initialize.
1950 (__cpu_indicator_init@GCC_4.8.0): New.
1951 (__cpu_model@GCC_4.8.0): Likewise.
1952 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
1953 -DUSE_ELF_SYMVER.
1954
e98e1692 19552015-04-16 Nick Clifton <nickc@redhat.com>
1956
1957 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
1958 and __modhi3 functions.
1959 * config/rl78/divmodso.S: Add G14 and G13 versions of the
1960 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
1961
a0093a4f 19622015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
1963
1964 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
1965 do-while loop as macro body to avoid warnings.
1966
fb5ccd6d 19672015-04-10 Jakub Jelinek <jakub@redhat.com>
1968 Iain Sandoe <iain@codesourcery.com>
1969
1970 PR target/65351
1971 * configure: Regenerate.
1972
b1b085e0 19732015-04-07 Jakub Jelinek <jakub@redhat.com>
1974 Iain Sandoe <iain@codesourcery.com>
1975
1976 PR target/65351
1977 * configure: Regenerate.
1978
7ca58a65 19792015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
1980
1981 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1982
b89c671b 19832015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 1984
b89c671b 1985 Implement call0 ABI for xtensa
1986 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
1987 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
1988 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
1989 use ret in call0 ABI.
1990 * config/xtensa/t-windowed: New file.
1991 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
1992 * libgcc/configure: Regenerated.
1993 * libgcc/configure.ac: Check if xtensa target is configured for
1994 windowed ABI and thus needs to use custom unwind code.
1995
69831bb2 19962015-02-12 Jonathan Wakely <jwakely@redhat.com>
1997
1998 PR libgcc/64885
1999 * gthr-single.h: Use __unused__ attribute instead of unused.
2000 * config/gthr-vxworks.h: Likewise.
2001 * config/i386/gthr-win32.h: Likewise.
2002
c905381f 20032015-02-27 Kai Tietz <ktietz@redhat.com>
2004
2005 PR target/65038
2006 * config.in: Regenerated.
2007 * configure: Likewise.
2008 * configure.ac (AC_HEADER_STDC): Added explicit.
2009 (AC_CHECK_HEADERS): Check for default headers plus
2010 for ftw.h header.
2011 * libgcov-util.c (gcov_read_profile_dir): Disable use
2012 of ftw-function, if header is not found.
2013 (ftw_read_file): Likewise.
2014
0853f8db 20152015-02-23 Thomas Schwinge <thomas@codesourcery.com>
2016
2017 PR target/65181
2018 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
2019 -Dinhibit_libc.
2020
1c55a862 20212015-02-17 Sandra Loosemore <sandra@codesourcery.com>
2022
2023 * config/arm/bpabi.S (test_div_by_zero): Make label names
2024 consistent between thumb2 and arm mode cases. Separate the
2025 signed comparison on the high word of the numerator from the
2026 unsigned comparison on the low word.
2027 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
2028 signed comparison.
2029
6014aff2 20302015-02-17 Joseph Myers <joseph@codesourcery.com>
2031
2032 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
2033 and <string.h>.
2034 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
2035
a698bcaa 20362015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
2037
2038 PR gcov-profile/61889
3083dd2f 2039 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 2040
889a65e7 20412015-02-02 Nick Clifton <nickc@redhat.com>
2042
2043 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
2044 rounding up the fraction.
2045
f3b68f27 20462015-01-31 John David Anglin <danglin@gcc.gnu.org>
2047
2048 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
2049 oldval and newval to const void *. Fix typo.
2050 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
2051 (FETCH_AND_OP_WORD): Likewise.
2052 (OP_AND_FETCH_WORD): Likewise.
2053 (COMPARE_AND_SWAP_2): Likewise.
2054 (__sync_val_compare_and_swap_4): Likewise.
2055 (__sync_lock_test_and_set_4): Likewise.
2056 (SYNC_LOCK_RELEASE_2): Likewise.
2057 Remove support for long long atomic operations.
2058
5be42fa9 20592015-01-27 Caroline Tice <cmtice@google.com>
2060
2061 Committing VTV Cywin/Ming patch for Patrick Wollgast
2062 * Makefile.in: Move rules to build vtv_*.o out of the check
2063 for CUSTOM_CRTSTUFF.
2064 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
2065 i[34567]86-*-mingw*)
2066 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
2067 enable_vtable_verify.
2068
45e05b5a 20692015-01-27 Nick Clifton <nickc@redhat.com>
2070
2071 * config/rl78/cmpsi2.S: Use function start and end macros.
2072 (__gcc_bcmp): New function.
2073 * config/rl78/lshrsi3.S: Use function start and end macros.
2074 * config/rl78/mulsi3.S: Add support for G10.
2075 (__mulqi3): New function for G10.
2076 * config/rl78/signbit.S: Use function start and end macros.
2077 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
2078 fpmath-sf.S.
2079 (LIB2FUNCS_EXCLUDE): Define.
2080 (LIB2FUNCS_ST): Define.
2081 * config/rl78/trampoline.S: Use function start and end macros.
2082 * config/rl78/vregs.h (START_FUNC): New macro.
2083 (START_ANOTHER_FUNC): New macro.
2084 (END_FUNC): New macro.
2085 (END_ANOTHER_FUNC): New macro.
2086 * config/rl78/bit-count.S: New file. Contains assembler
2087 implementations of the bit counting functions: ___clzhi2,
2088 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
2089 __paritysi2, __popcounthi2 and __popcountsi2.
2090 * config/rl78/fpbit-sf.S: New file. Contains assembler
2091 implementationas of the math functions: __negsf2, __cmpsf2,
2092 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
2093 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
2094 * config/rl78/fpmath-sf.S: New file. Contains assembler
2095 implementations of the math functions: __subsf3, __addsf3,
2096 __mulsf3 and __divsf3
2097
43cbcd84 20982015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2099
2100 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
2101 Add i386/elf-lib.h to tm_file.
2102 * config/i386/elf-lib.h: Fix comment.
2103 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
2104 && __sun__ && __svr4__]: Remove workaround.
2105
f8956357 21062015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2107
2108 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
2109 FEATURE_BMI2.
2110 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
2111
1b738d4d 21122015-01-24 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 * config/i386/cpuinfo.c (processor_subtypes): Add
2115 INTEL_COREI7_BROADWELL.
2116 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
2117 model numbers.
2118
58ca7445 21192015-01-23 Uros Bizjak <ubizjak@gmail.com>
2120
2121 * config/i386/elf-lib.h: New file.
2122 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
2123 Wrap definition in #ifdef __i386__.
2124 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2125 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
2126 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
2127 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
2128 to tm_file.
2129
d4c9c88d 21302015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
2131
2132 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
2133 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
2134
c46389f0 21352015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
2136
2137 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
2138 Update rt_sigframe format and address for current Nios II
2139 Linux conventions.
2140
275d0a7c 21412015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2142
2143 * config.host (arm*-*-freebsd*): Add new configuration for
2144 arm*-*-freebsd*.
2145 * config/arm/freebsd-atomic.c: New file.
2146 * config/arm/t-freebsd: Likewise.
2147 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
2148 'PC-relative indirect' OS's.
2149
8992df51 21502015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2151
2152 * config.host: Add Visium support.
2153 * config/visium: New directory.
2154
d353bf18 21552015-01-05 Jakub Jelinek <jakub@redhat.com>
2156
2157 Update copyright years.
2158
78645e70 21592014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
2160
2161 * config.host: Support mipsisa32r6 and mipsisa64r6.
2162 * config/mips/mips16.S: Do not build for R6.
2163
14cc370b 21642014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
2165
2166 * config/sh/crt.h: New.
2167 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
2168 symbols.
2169 * config/sh/crt1.S: Likewise.
2170
06f29f53 21712014-12-15 Uros Bizjak <ubizjak@gmail.com>
2172
2173 PR libgcc/63832
2174 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
2175 func_ptr *dtor_list temporary variable to avoid "array subscript
2176 is above array bounds" warnings.
2177
92e91d03 21782014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 2179
2180 * Makefile.in (with_aix_soname): Define.
2181 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
2182 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
2183 * configure: Recreate.
2184
c0235a33 21852014-12-05 Olivier Hainque <hainque@adacore.com>
2186
2187 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
2188 now provided by defaults.h.
2189
273fffd6 21902014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2191
84cf4824 2192 PR target/55351
273fffd6 2193 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2194 whether it's defined.
2195
ffbfc7c5 21962014-11-27 Ilya Tocar <ilya.tocar@intel.com>
2197
2198 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
2199 * config/i386/cpuinfo.c (get_available_features): Detect it.
2200
ae22ef60 22012014-11-27 Tony Wang <tony.wang@arm.com>
2202
2203 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
2204 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
2205 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
2206
a532bc30 22072014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2208
2209 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2210
e88ebd91 22112014-11-24 John David Anglin <danglin@gcc.gnu.org>
2212
2213 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2214 instead.
2215
422aeca3 22162014-11-21 Guy Martin <gmsoft@tuxicoman.be>
2217 John David Anglin <danglin@gcc.gnu.org>
2218
2219 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
2220 (FETCH_AND_OP_2): New. Use for subword and double word operations.
2221 (OP_AND_FETCH_2): Likewise.
2222 (COMPARE_AND_SWAP_2): Likewise.
2223 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2224 (SYNC_LOCK_RELEASE_2): Likewise.
2225 (SUBWORD_SYNC_OP): Remove.
2226 (SUBWORD_VAL_CAS): Likewise.
2227 (SUBWORD_BOOL_CAS): Likewise.
2228 (FETCH_AND_OP_WORD): Update.
2229 Consistently use signed types.
005a5ef5 2230
a3d93be3 22312014-11-13 Bernd Schmidt <bernds@codesourcery.com>
2232 Thomas Schwinge <thomas@codesourcery.com>
2233 Ilya Verbin <ilya.verbin@intel.com>
2234 Andrey Turetskiy <andrey.turetskiy@intel.com>
2235
2236 * Makefile.in (crtoffloadbegin$(objext)): New rule.
2237 (crtoffloadend$(objext)): Likewise.
2238 * configure: Regenerate.
2239 * configure.ac (accel_dir_suffix): Compute new variable.
2240 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
2241 if enable_offload_targets is not empty.
2242 * offloadstuff.c: New file.
2243
97a36a5b 22442014-11-13 Nick Clifton <nickc@redhat.com>
2245
2246 * config/rl78/divmodhi.S: Add support for the G10 architecture.
2247 Use START_FUNC and END_FUNC macros to enable linker garbage
2248 collection.
2249 * config/rl78/divmodqi.S: Likewise.
2250 * config/rl78/divmodsi.S: Likewise.
2251 * config/rl78/mulsi3.S: Likewise.
2252 * config/rl78/lib2div.c: Remove G10 functions.
2253 * config/rl78/lib2muls.c: Likewise.
2254 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
2255 * config/rl78/vregs.h (START_FUNC): New macro.
2256 (END_FUNC): New macro.
2257
f2b55aea 22582014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
2259
2260 * config/mips/mips16.S: Set .module when supported. Update O32
2261 FP64 calling convention and use for FPXX when possible. Add FPXX
2262 calling convention fallback case.
2263
8ce80784 22642014-11-06 Bernd Schmidt <bernds@codesourcery.com>
2265
2266 * config.host: Handle nvptx-*-*.
2267 * shared-object.mk (as-flags-$o): Define.
2268 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
2269 -xassembler-with-cpp.
2270 * static-object.mk: Identical changes.
2271 * config/nvptx/t-nvptx: New file.
2272 * config/nvptx/crt0.s: New file.
2273 * config/nvptx/free.asm: New file.
2274 * config/nvptx/malloc.asm: New file.
2275 * config/nvptx/realloc.c: New file.
2276
0e36a0d7 22772014-10-30 Joseph Myers <joseph@codesourcery.com>
2278
2279 * Makefile.in (libgcc.map.in): New target.
2280 (libgcc.map): Use libgcc.map.in.
2281 * config/t-softfp (softfp_compat): New variable to be set by
2282 users.
2283 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
2284 variables.
2285 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
2286 directory.
2287 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
2288 that use compat symbols and disable all code unless [SHARED].
2289 * config/t-softfp-compat: New file.
2290 * find-symver.awk: New file.
2291 * configure.ac (--with-glibc-version): New configure option.
2292 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
2293 * configure: Regenerate.
2294 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
2295 soft-float and e500.
2296
d9b5cf5c 22972014-10-29 Joseph Myers <joseph@codesourcery.com>
2298
2299 * config/t-hardfp (hardfp_exclusions): Document new variable for
2300 user to define.
2301 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
2302 * config/t-softfp (softfp_extras): Document new variable for user
2303 to define.
2304 (softfp_func_list): Add functions from $(softfp_extras).
2305 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
2306 * config.host (powerpc*-*-linux*): For e500v1, use
2307 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
2308 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
2309 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
2310
2de51200 23112014-10-26 John David Anglin <danglin@gcc.gnu.org>
2312
2313 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
2314 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
2315 memory read accesses are ok.
2316
fd1eaa27 23172014-10-25 Joseph Myers <joseph@codesourcery.com>
2318
2319 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
2320 * configure: Regenerate.
2321 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
2322 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
2323 of soft-fp for 32-bit classic hard float. Do not use
2324 t-softfp-excl for soft float.
2325
e707b8cc 23262014-10-22 Joseph Myers <joseph@codesourcery.com>
2327
2328 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
2329 configurations.
2330 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
2331 Remove variables.
2332
6ce12a35 23332014-10-22 Georg-Johann Lay <avr@gjlay.de>
2334
2335 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
2336 introduced with 2014-10-21 trunk r216525.
2337
b4e6d2e2 23382014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
92e91d03 2339 Vidya Praveen <vidya.praveen@atmel.com>
2340 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
2341 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
2342 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
b4e6d2e2 2343
2344 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
2345 order.
2346
2347 Updated library functions for AVRTINY arch.
2348 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
2349 Replaced occurrences of r0/r1 with tmp/zero reg macros.
2350 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
2351 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
2352 wsubi/wadi macors.
2353 (__mulsi3_helper): Update stack, preserve callee saved regs and
2354 argument from stack. Restore callee save registers.
2355 (__mulpsi3): Likewise.
2356 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
2357 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6ce12a35 2358 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 2359 AVRTINY.
2360 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
2361 (__do_copy_data): Added new definition for AVRTINY.
2362 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
2363 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
2364 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
2365 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
2366 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
2367 macors.
6ce12a35 2368 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 2369 AVRTINY.
2370
6ce12a35 2371 Fix broken long multiplication on tiny arch.
b4e6d2e2 2372
d9bbc5ef 23732014-10-09 Joseph Myers <joseph@codesourcery.com>
2374
2375 * soft-fp/double.h: Update from glibc.
2376 * soft-fp/eqdf2.c: Likewise.
2377 * soft-fp/eqsf2.c: Likewise.
2378 * soft-fp/eqtf2.c: Likewise.
2379 * soft-fp/extenddftf2.c: Likewise.
2380 * soft-fp/extended.h: Likewise.
2381 * soft-fp/extendsfdf2.c: Likewise.
2382 * soft-fp/extendsftf2.c: Likewise.
2383 * soft-fp/extendxftf2.c: Likewise.
2384 * soft-fp/gedf2.c: Likewise.
2385 * soft-fp/gesf2.c: Likewise.
2386 * soft-fp/getf2.c: Likewise.
2387 * soft-fp/ledf2.c: Likewise.
2388 * soft-fp/lesf2.c: Likewise.
2389 * soft-fp/letf2.c: Likewise.
2390 * soft-fp/op-1.h: Likewise.
2391 * soft-fp/op-2.h: Likewise.
2392 * soft-fp/op-4.h: Likewise.
2393 * soft-fp/op-8.h: Likewise.
2394 * soft-fp/op-common.h: Likewise.
2395 * soft-fp/quad.h: Likewise.
2396 * soft-fp/single.h: Likewise.
2397 * soft-fp/soft-fp.h: Likewise.
2398 * soft-fp/unorddf2.c: Likewise.
2399 * soft-fp/unordsf2.c: Likewise.
2400 * soft-fp/unordtf2.c: Likewise.
2401 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
2402 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
2403 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
2404 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
2405 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
2406 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
2407 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
2408 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
2409 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
2410 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
2411
26054e0b 24122014-10-08 Rong Xu <xur@google.com>
2413
2414 * libgcov-util.c (read_gcda_file): Fix format.
2415 (find_match_gcov_info): Ditto.
2416 (calculate_2_entries): New.
2417 (compute_one_gcov): Ditto.
2418 (gcov_info_count_all_cold): Ditto.
2419 (gcov_info_count_all_zero): Ditto.
2420 (extract_file_basename): Ditto.
2421 (get_file_basename): Ditto.
2422 (set_flag): Ditto.
2423 (matched_gcov_info): Ditto.
2424 (calculate_overlap): Ditto.
2425 (gcov_profile_overlap): Ditto.
2426 * libgcov-driver.c (compute_summary): Make
2427 it avavilable for external calls.
2428
8a8f3988 24292014-10-06 Rong Xu <xur@google.com>
2430
2431 * Makefile.in: Ditto.
2432 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
2433 (gcov_sort_icall_topn_counter): Ditto.
2434 (gcov_sort_topn_counter_arrays): Ditto.
2435 (dump_one_gcov): Sort indirect_call topn counters.
2436 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
2437 function.
2438 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
2439 utility function.
2440 (__gcov_indirect_call_topn_profiler): New profiler function.
2441 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
2442 * libgcov.h: New decls.
2443
f230ef81 24442014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2445
2446 * config.host: Remove support for score-*.
2447
0cb69d12 24482014-09-22 Joseph Myers <joseph@codesourcery.com>
2449
2450 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2451 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
2452 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
2453 __LIBGCC_XF_MANT_DIG__.
2454 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
2455 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
2456 __LIBGCC_TF_MANT_DIG__.
2457 * libgcc2.c (NOTRUNC): Define in terms of
2458 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
2459 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
2460
acbb28e9 24612014-09-22 Joseph Myers <joseph@codesourcery.com>
2462
2463 PR target/63312
2464 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
2465 New macros.
2466
d0eb4a95 24672014-09-22 Hans-Peter Nilsson <hp@axis.com>
2468
2469 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
2470 override USE_PT_GNU_EH_FRAME.
2471 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
2472 check USE_EH_FRAME_REGISTRY_ALWAYS against
2473 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
2474 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
2475 variable for substituted force_explicit_eh_registry.
2476 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
2477 * configure.ac (explicit-exception-frame-registration):
2478 New AC_ARG_ENABLE.
2479 * configure: Regenerate.
2480
6c352a95 24812014-09-19 Olivier Hainque <hainque@adacore.com>
2482
2483 * config.host (powerpc-wrs-vxworksmils): New configuration,
2484 same as vxworksae.
2485
168dfbf0 24862014-09-18 Joseph Myers <joseph@codesourcery.com>
2487
2488 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2489
ca6c7c2e 24902014-09-18 Joseph Myers <joseph@codesourcery.com>
2491
2492 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
2493 bits not set bits as indicating trapping exceptions.
2494
bc587267 24952014-09-17 Nathan sidwell <nathan@acm.org>
2496
2497 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
2498 (LIBGCOV_DRIVER): ... here.
2499 * libgcov-driver.c (gcov_master): New.
2500 (gcov_exit): Remove from master chain.
2501 (__gcov_init): Add to master chain if version compatible. Don't
2502 clear the version.
2503 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
2504 (gcov_reset_int): Clear master chain, if compatible.
2505 (gcov_dump_int): New internal interface. Dump master chain, if
2506 compatible.
2507 (gcov_dump): Alias for gcov_dump_int.
2508 * libgcov.h (struct gcov_root): Add next and prev fields.
2509 (struct gcov_master): New struct.
2510 (__gcov_master): New.
2511 (gcov_dump_int): Declare.
2512
0624d0c7 25132014-09-17 Olivier Hainque <hainque@adacore.com>
2514
2515 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
2516 and crtbegin.o + crtend.o to extra_parts.
2517
d5957f0d 25182014-09-12 Joseph Myers <joseph@codesourcery.com>
2519
2520 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
2521 __LIBGCC_HAS_SF_MODE__.
2522 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2523 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2524 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2525 * config/libbid/bid_gcc_intrinsics.h
2526 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2527 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
2528 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
2529 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
2530 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
2531 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
2532
986b9a67 25332014-09-11 Georg-Johann Lay <avr@gjlay.de>
2534
2535 PR target/63223
2536 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
2537 and R24 as needed. Make work for all devices and .text locations.
2538 (__do_global_ctors, __do_global_dtors): Use word addresses.
2539 (__tablejump__, __tablejump_elpm__): Remove functions.
2540 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
2541 Add _tablejump2.
2542 (XICALL, XIJMP): New macros.
2543
8f908dc5 25442014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
2545 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2546
2547 * config.host (aarch64*): Include crtfastmath.o and
2548 t-crtfm.
2549 * config/aarch64/crtfastmath.c: New file.
2550
f67c2dde 25512014-09-08 Trevor Saunders <tsaunders@mozilla.com>
2552
2553 * config.host: Remove picochip support.
2554 * config/picochip/adddi3.S: Remove.
2555 * config/picochip/ashlsi3.S: Remove.
2556 * config/picochip/ashlsi3.c: Remove.
2557 * config/picochip/ashrsi3.S: Remove.
2558 * config/picochip/ashrsi3.c: Remove.
2559 * config/picochip/clzsi2.S: Remove.
2560 * config/picochip/cmpsi2.S: Remove.
2561 * config/picochip/divmod15.S: Remove.
2562 * config/picochip/divmodhi4.S: Remove.
2563 * config/picochip/divmodsi4.S: Remove.
2564 * config/picochip/lib1funcs.S: Remove.
2565 * config/picochip/longjmp.S: Remove.
2566 * config/picochip/lshrsi3.S: Remove.
2567 * config/picochip/lshrsi3.c: Remove.
2568 * config/picochip/parityhi2.S: Remove.
2569 * config/picochip/popcounthi2.S: Remove.
2570 * config/picochip/setjmp.S: Remove.
2571 * config/picochip/subdi3.S: Remove.
2572 * config/picochip/t-picochip: Remove.
2573 * config/picochip/ucmpsi2.S: Remove.
2574 * config/picochip/udivmodhi4.S: Remove.
2575 * config/picochip/udivmodsi4.S: Remove.
2576
b660d3c6 25772014-09-08 Joseph Myers <joseph@codesourcery.com>
2578
2579 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
2580 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
2581 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
2582 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
2583 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
2584 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
2585 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
2586 defined and LIBGCC2_HAS_DF_MODE is defined.
2587 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
2588 defined and LIBGCC2_HAS_XF_MODE is defined.
2589 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
2590 defined and LIBGCC2_HAS_TF_MODE is defined.
2591
2aeea855 25922014-09-08 Joseph Myers <joseph@codesourcery.com>
2593
2594 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
2595 and ROUND_TOWARDS_ZERO conditionals.
2596
a91625a6 25972014-09-07 Nathan sidwell <nathan@acm.org>
2598
2599 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
2600 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
2601
325b8c3c 26022014-09-05 Joseph Myers <joseph@codesourcery.com>
2603
2604 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
2605 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2606 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2607 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2608 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2609 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2610 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2611 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
2612 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
2613 (DWARF_FRAME_REGISTERS): Change all uses to
2614 __LIBGCC_DWARF_FRAME_REGISTERS__.
2615 (EH_RETURN_STACKADJ_RTX): Change all uses to
2616 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2617 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
2618 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
2619 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
2620 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
2621 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
2622 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
2623 to __LIBGCC_EH_FRAME_SECTION_NAME__.
2624 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
2625 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
2626 __LIBGCC_STACK_POINTER_REGNUM__.
2627 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
2628 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2629 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2630 to __LIBGCC_STACK_POINTER_REGNUM__.
2631 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2632 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2633 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
2634 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2635 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
2636 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
2637 (STACK_POINTER_REGNUM): Change all uses to
2638 __LIBGCC_STACK_POINTER_REGNUM__.
2639 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
2640 use to __LIBGCC_STACK_POINTER_REGNUM__.
2641 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
2642 uses to __LIBGCC_STACK_POINTER_REGNUM__.
2643 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
2644 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2645 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
2646 to __LIBGCC_DWARF_FRAME_REGISTERS__.
2647 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
2648 to __LIBGCC_STACK_POINTER_REGNUM__.
2649 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
2650 Remove conditional definition.
2651 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
2652 __LIBGCC_TEXT_SECTION_ASM_OP__.
2653 (EH_FRAME_SECTION_NAME): Change all uses to
2654 __LIBGCC_EH_FRAME_SECTION_NAME__.
2655 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
2656 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
2657 (CTORS_SECTION_ASM_OP): Change all uses to
2658 __LIBGCC_CTORS_SECTION_ASM_OP__.
2659 (DTORS_SECTION_ASM_OP): Change all uses to
2660 __LIBGCC_DTORS_SECTION_ASM_OP__.
2661 (JCR_SECTION_NAME): Change all uses to
2662 __LIBGCC_JCR_SECTION_NAME__.
2663 (INIT_SECTION_ASM_OP): Change all uses to
2664 __LIBGCC_INIT_SECTION_ASM_OP__.
2665 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2666 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2667 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
2668 __LIBGCC_STACK_GROWS_DOWNWARD__.
2669 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
2670 __LIBGCC_INIT_SECTION_ASM_OP__.
2671 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
2672 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
2673 (EH_FRAME_SECTION_NAME): Change all uses to
2674 __LIBGCC_EH_FRAME_SECTION_NAME__.
2675 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
2676 definitions. Change all uses to
2677 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
2678 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
2679 __LIBGCC_STACK_GROWS_DOWNWARD__.
2680 (DWARF_FRAME_REGISTERS): Change all uses to
2681 __LIBGCC_DWARF_FRAME_REGISTERS__.
2682 (EH_RETURN_STACKADJ_RTX): Change all uses to
2683 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
2684 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
2685 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
2686 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
2687 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
2688 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
2689
b12d2330 26902014-09-02 Nathan sidwell <nathan@acm.org>
2691
2692 * libgcov-interface.c (STRONG_ALIAS): New.
2693 (__gcov_flush): Call __gcov_reset_int.
2694 (__gcov_reset): Strong alias for ...
2695 (__gcov_reset_ing): ... this renamed hidden version.
2696 * libgcov.h (__gcov_reset_int): New declaration.
2697
827d5daf 26982014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2699
1db4f54b 2700 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
2701 call from here...
2702 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
2703 (__dso_handle): Define on Cygwin.
2704 * config/i386/t-cygming (crtbeginS.o): New rule.
2705 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
2706
827d5daf 2707 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2708 declaration syntax.
2709
e3108d46 27102014-08-13 Steve Ellcey <sellcey@mips.com>
2711
2712 * crtstuff.c: Undef caddr_t.
2713
0898fffa 27142014-08-12 Steve Ellcey <sellcey@mips.com>
2715
2716 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2717
859fa1a9 27182014-08-07 Nathan Sidwell <nathan@acm.org>
2719
2720 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
2721 (LIBGCOV_DRIVER): ... to here.
2722 * libgcov.h (gcov_do_dump): New #define.
2723 (struct gcov_root): New.
2724 (__gcov_root): New declaration.
2725 (__gcov_dump_one): Declare.
2726 * libgcov-driver.c (gcov_list, gcov_dump_complete,
2727 run_accounted): Delete.
2728 (gcov_compute_histogram): Add LIST argument, adjust.
2729 (compute_summary): Adjust gcov_compute_histogram call.
2730 (gcov_do_dump): Not hidden, static in libgcov.
2731 (gcov_clear): Move to interface.c.
2732 (__gcov_dump_one): New, broken out of ...
2733 (gcov_exit): ... here. Make static.
2734 (__gcov_root): New.
2735 (__gcov_init): Adjust.
2736 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
2737 declarations.
2738 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
2739 (gcov_clear): Moved from driver.c. Add LIST argument.
2740 (__gcov_reset): Adjust for changed interfaces.
2741 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
2742
3fa2798a 27432014-08-04 Rohit <rohitarulraj@freescale.com>
2744
2745 PR target/60102
2746 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 2747 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 2748
cb3ea3de 27492014-08-01 Nathan Sidwell <nathan@acm.org>
2750
2751 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
2752 LIBGCOV_INTERFACE): Reformat.
2753 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
2754 IN_GCOV_TOOL.
2755 * libgcov-interface.c: Reformat some comments.
2756 (__gcov_flush_mx): Add declaration. Tidy up definition.
2757
bfd88f52 27582014-07-31 Alan Modra <amodra@gmail.com>
2759 Peter Bergner <bergner@vnet.ibm.com>
2760
2761 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
2762 (pack_ldouble): New function.
2763 (__gcc_qadd): Use it.
2764 (__gcc_qmul): Likewise.
2765 (__gcc_qdiv): Likewise.
2766 (__gcc_qneg): Likewise.
2767 (__gcc_stoq): Likewise.
2768 (__gcc_dtoq): Likewise.
2769
bcd3133e 27702014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
2771
2772 * config/s390/tpf-unwind.h: Include <stdbool.h>.
2773 (__tpf_eh_return): Add original return address as second parameter.
2774 Handle cases where unwinder routines were called directly, instead
2775 of from within the C++ library.
2776
1186f97a 27772014-07-29 Nathan Sidwell <nathan@acm.org>
2778
2779 * libgcov.h: Move renaming of entry points to lib gcov specific
2780 portion.
2781 (gcov_do_dump): New rename.
2782 (gcov_rewrite): Remove inline, make HIDDEN.
2783 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
2784 (gcov_exit_compute_summary): Rename to ...
2785 (compute_summary): ... here. Add LIST argument.
2786 (gcov_exit_merge_gcda): Rename to ...
2787 (merge_one_data): ... here.
2788 (gcov_exit_write_gcda): Rename to ...
2789 (write_one_data): ... here.
2790 (gcov_exit_merge_summary): Rename to ...
2791 (merge_summary): Add RUN_COUNTED argument.
2792 (gcov_exit_dump_gcov): Rename to ...
2793 (dump_one_gcov): Add RUN_COUNTED argument.
2794 (gcov_do_dump): New function, broken out of ...
2795 (gcov_exit): ... here. Call it.
2796
ab0c4d2e 27972014-07-27 Anthony Green <green@moxielogic.com>
2798
2799 * config.host: Add moxiebox configuration suppport.
2800
6401b74d 28012014-07-27 Nathan Sidwell <nathan@acm.org>
2802
2803 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
2804 (struct gcov_filename): ... here. Include buffer and max length
2805 fields.
2806 (gcov_max_filename): Remove.
2807 (gi_filename): Remove.
2808 (gcov_exit_compute_summary): Compute max filename here.
2809 (gcov_exit_merge_gcda): Add filename parm, adjust.
2810 (gcov_exit_merge_summary): Likewise.
2811 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
2812 (gcov_exit): Likewise.
2813 (__gcov_init): Don't calculate max length here.
2814 * libgcov_util.c (max_filename_len): Remove.
2815 (read_gcda_file): Don't calculate max length here.
2816 (gcov_read_profile_dir): Don't propagate here.
2817 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
2818 struct gcov_filename changes.
2819 (gcov_exit_open_gcda_file): Likewise.
2820
0f768e5f 28212014-07-25 Nathan Sidwell <nathan@acm.org>
2822
2823 * libgcov-driver.c (set_gcov_dump_complete,
2824 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
2825 functions polluting user's namespace.
2826 (gcov_exit): Set variable directly.
2827 (gcov_clear): Reset variable directly.
2828 * libgcov-interface.c (get_gcov_dymp_complete,
2829 reset_gov_dump_complete): Remove declarations.
2830 (__gcov_reset, __gcov_dump): Don't call them.
2831
2b333d82 28322014-07-24 DJ Delorie <dj@redhat.com>
2833
2834 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 2835 (__gcc_deregister_frame): Move logic to detect deregister function
2836 to ...
2837 (__gcc_register_frame): here, so it's consistent with the register
2838 logic.
2b333d82 2839
145d88ea 28402014-07-23 Nathan Sidwell <nathan@acm.org>
2841
2842 * libgcov-driver.c (set_gcov_list): Remove.
2843 (gcov_list): Make non-static in GCOV_TOOL.
2844 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
2845
307c2567 28462014-07-17 John David Anglin <danglin@gcc.gnu.org>
2847
2848 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
2849 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
2850 Don't use SYNC_LOCK_RELEASE for int type.
2851
3dc22a01 28522014-07-14 Richard Biener <rguenther@suse.de>
2853
2854 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2855
a60d8a99 28562014-07-11 Rong Xu <xur@google.com>
2857
2858 * libgcov-util.c (gcov_max_filename): Fix declartion.
2859
e76f6040 28602014-07-10 Rong Xu <xur@google.com>
2861
2862 Add gcov-tool: an offline gcda profile processing tool
2863 Support.
2864 * libgcov-driver.c (gcov_max_filename): Make available
2865 to gcov-tool.
2866 * libgcov-merge.c (__gcov_merge_add): Replace
2867 gcov_read_counter() with a Macro.
2868 (__gcov_merge_ior): Ditto.
2869 (__gcov_merge_time_profile): Ditto.
2870 (__gcov_merge_single): Ditto.
2871 (__gcov_merge_delta): Ditto.
2872 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
2873 in the utility functions.
2874 (set_fn_ctrs): Utility function for reading gcda files to in-memory
2875 gcov_list object link lists.
2876 (tag_function): Ditto.
2877 (tag_blocks): Ditto.
2878 (tag_arcs): Ditto.
2879 (tag_lines): Ditto.
2880 (tag_counters): Ditto.
2881 (tag_summary): Ditto.
2882 (read_gcda_finalize): Ditto.
2883 (read_gcda_file): Ditto.
2884 (ftw_read_file): Ditto.
2885 (read_profile_dir_init): Ditto.
2886 (gcov_read_profile_dir): Ditto.
2887 (gcov_read_counter_mem): Ditto.
2888 (gcov_get_merge_weight): Ditto.
2889 (merge_wrapper): A wrapper function that calls merging handler.
2890 (gcov_merge): Merge two gcov_info objects with weights.
2891 (find_match_gcov_info): Find the matched gcov_info in the list.
2892 (gcov_profile_merge): Merge two gcov_info object lists.
2893 (__gcov_add_counter_op): Process edge profile counter values.
2894 (__gcov_ior_counter_op): Process IOR profile counter values.
2895 (__gcov_delta_counter_op): Process delta profile counter values.
2896 (__gcov_single_counter_op): Process single profile counter values.
2897 (fp_scale): Callback function for float-point scaling.
005a5ef5 2898 (int_scale): Callback function for integer fraction scaling.
e76f6040 2899 (gcov_profile_scale): Scaling profile counters.
2900 (gcov_profile_normalize): Normalize profile counters.
2901 * libgcov.h: Add headers and functions for gcov-tool use.
2902 (gcov_get_counter): New.
2903 (gcov_get_counter_target): Ditto.
2904 (struct gcov_info): Make the functions field mutable in gcov-tool
2905 compilation.
2906
761d3cae 29072014-06-23 Kai Tietz <ktietz@redhat.com>
2908
2909 PR libgcc/61585
2910 * unwind-seh.c (_Unwind_GetGR): Check for proper
2911 index range.
2912 (_Unwind_SetGR): Likewise.
2913
b4187486 29142014-05-22 Nick Clifton <nickc@redhat.com>
2915
2916 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2917 -mhwmult=none.
2918
f1919901 29192014-05-22 Teresa Johnson <tejohnson@google.com>
2920
2921 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2922 include.
2923
463553db 29242014-05-20 John Marino <gnugcc@marino.st>
2925
2926 * config.host (*-*-dragonfly*): New target.
2927 * crtstuff.c: Make dl_iterate_support generic on *bsd.
2928 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
2929 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
2930 * config/i386/dragonfly-unwind.h: New.
2931
17611fd9 29322014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
2933
2934 PR libgcc/60166
2935 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
2936 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
2937
b061dab2 29382014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
2939
2940 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2941 implementation.
2942
b81ef88d 29432014-05-12 Georg-Johann Lay <avr@gjlay.de>
2944
2945 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2946
d71975a6 29472014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2948
2949 PR libgcc/61097
2950 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
2951 if --enable-shared.
2952
d3c4b980 29532014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
2954
2955 Work around for current cygwin32 build problems.
2956 * config/i386/cygming-crtbegin.c (__register_frame_info,
2957 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
2958 functions only for 64-bit systems.
2959
1f912f03 29602014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2961
2962 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
2963 (sigill_caught, sigill_hdlr): Remove.
2964
3efb5d22 29652014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2966
2967 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
2968 check.
2969 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2970 Solaris 9 single-threaded support.
2971 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2972 Solaris 9 single-threaded support. Add call_user_handler code
2973 sequences.
2974 (sparc_is_sighandler): Likewise.
2975
368b5b2c 29762014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2977
2978 * config.host: Append t-floattodi to tmake_file depending on
2979 host_address.
2980
0cdefccf 29812014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
2982
c7285b71 2983 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 2984
e5d692d7 29852014-03-10 Uros Bizjak <ubizjak@gmail.com>
2986
2987 PR libgcc/60472
2988 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 2989 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 2990 Use __builtin_expect when checking *jcr_list for NULL.
2991
ec5f5503 29922014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2993
2994 PR libgcc/59339
2995 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
2996 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
2997 vtv_*.o to extra_parts if enable_vtable_verify.
2998
6dd4126d 29992014-03-06 Nick Clifton <nickc@redhat.com>
3000
3001 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
3002 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
3003
c63fabc4 30042014-02-28 Joey Ye <joey.ye@arm.com>
3005
3006 PR libgcc/60166
3007 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
3008 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
3009 Set to zero.
3010
2da35515 30112014-02-24 Walter Lee <walt@tilera.com>
3012
3013 * config.host: Support "tilegx*" and "tilepro*" triplets.
3014 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
3015 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
3016
73e15dfc 30172014-02-20 Sandra Loosemore <sandra@codesourcery.com>
3018 Chung-Lin Tang <cltang@codesourcery.com>
3019
3020 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
3021 * config/nios2/crti.S: Remove .file directive.
3022 * config/nios2/crtn.S: Likewise.
3023
db5ce3d9 30242014-02-18 Kai Tietz <ktietz@redhat.com>
3025 Jonathan Schleifer <js@webkeks.org>
3026
3027 PR objc/56870
3028 * unwind-seh.c (_GCC_specific_handler): Pass proper
3029 value to unwind-handler.
3030
8f687340 30312014-02-12 Joseph Myers <joseph@codesourcery.com>
3032
3033 * soft-fp/adddf3.c: Update from glibc.
3034 * soft-fp/addsf3.c: Likewise.
3035 * soft-fp/addtf3.c: Likewise.
3036 * soft-fp/divdf3.c: Likewise.
3037 * soft-fp/divsf3.c: Likewise.
3038 * soft-fp/divtf3.c: Likewise.
3039 * soft-fp/double.h: Likewise.
3040 * soft-fp/eqdf2.c: Likewise.
3041 * soft-fp/eqsf2.c: Likewise.
3042 * soft-fp/eqtf2.c: Likewise.
3043 * soft-fp/extenddftf2.c: Likewise.
3044 * soft-fp/extended.h: Likewise.
3045 * soft-fp/extendsfdf2.c: Likewise.
3046 * soft-fp/extendsftf2.c: Likewise.
3047 * soft-fp/extendxftf2.c: Likewise.
3048 * soft-fp/fixdfdi.c: Likewise.
3049 * soft-fp/fixdfsi.c: Likewise.
3050 * soft-fp/fixdfti.c: Likewise.
3051 * soft-fp/fixsfdi.c: Likewise.
3052 * soft-fp/fixsfsi.c: Likewise.
3053 * soft-fp/fixsfti.c: Likewise.
3054 * soft-fp/fixtfdi.c: Likewise.
3055 * soft-fp/fixtfsi.c: Likewise.
3056 * soft-fp/fixtfti.c: Likewise.
3057 * soft-fp/fixunsdfdi.c: Likewise.
3058 * soft-fp/fixunsdfsi.c: Likewise.
3059 * soft-fp/fixunsdfti.c: Likewise.
3060 * soft-fp/fixunssfdi.c: Likewise.
3061 * soft-fp/fixunssfsi.c: Likewise.
3062 * soft-fp/fixunssfti.c: Likewise.
3063 * soft-fp/fixunstfdi.c: Likewise.
3064 * soft-fp/fixunstfsi.c: Likewise.
3065 * soft-fp/fixunstfti.c: Likewise.
3066 * soft-fp/floatdidf.c: Likewise.
3067 * soft-fp/floatdisf.c: Likewise.
3068 * soft-fp/floatditf.c: Likewise.
3069 * soft-fp/floatsidf.c: Likewise.
3070 * soft-fp/floatsisf.c: Likewise.
3071 * soft-fp/floatsitf.c: Likewise.
3072 * soft-fp/floattidf.c: Likewise.
3073 * soft-fp/floattisf.c: Likewise.
3074 * soft-fp/floattitf.c: Likewise.
3075 * soft-fp/floatundidf.c: Likewise.
3076 * soft-fp/floatundisf.c: Likewise.
3077 * soft-fp/floatunditf.c: Likewise.
3078 * soft-fp/floatunsidf.c: Likewise.
3079 * soft-fp/floatunsisf.c: Likewise.
3080 * soft-fp/floatunsitf.c: Likewise.
3081 * soft-fp/floatuntidf.c: Likewise.
3082 * soft-fp/floatuntisf.c: Likewise.
3083 * soft-fp/floatuntitf.c: Likewise.
3084 * soft-fp/gedf2.c: Likewise.
3085 * soft-fp/gesf2.c: Likewise.
3086 * soft-fp/getf2.c: Likewise.
3087 * soft-fp/ledf2.c: Likewise.
3088 * soft-fp/lesf2.c: Likewise.
3089 * soft-fp/letf2.c: Likewise.
3090 * soft-fp/muldf3.c: Likewise.
3091 * soft-fp/mulsf3.c: Likewise.
3092 * soft-fp/multf3.c: Likewise.
3093 * soft-fp/negdf2.c: Likewise.
3094 * soft-fp/negsf2.c: Likewise.
3095 * soft-fp/negtf2.c: Likewise.
3096 * soft-fp/op-1.h: Likewise.
3097 * soft-fp/op-2.h: Likewise.
3098 * soft-fp/op-4.h: Likewise.
3099 * soft-fp/op-8.h: Likewise.
3100 * soft-fp/op-common.h: Likewise.
3101 * soft-fp/quad.h: Likewise.
3102 * soft-fp/single.h: Likewise.
3103 * soft-fp/soft-fp.h: Likewise.
3104 * soft-fp/subdf3.c: Likewise.
3105 * soft-fp/subsf3.c: Likewise.
3106 * soft-fp/subtf3.c: Likewise.
3107 * soft-fp/truncdfsf2.c: Likewise.
3108 * soft-fp/trunctfdf2.c: Likewise.
3109 * soft-fp/trunctfsf2.c: Likewise.
3110 * soft-fp/trunctfxf2.c: Likewise.
3111 * soft-fp/unorddf2.c: Likewise.
3112 * soft-fp/unordsf2.c: Likewise.
3113 * soft-fp/unordtf2.c: Likewise.
3114 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
3115 macro.
3116 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3117 Likewise.
3118 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3119 Likewise.
3120 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3121 Likewise.
3122 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3123 Likewise.
3124 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3125 Likewise.
3126 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3127 Likewise.
3128 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3129 Likewise.
3130 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3131 Likewise.
3132 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3133 Likewise.
3134 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3135 Likewise.
3136 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3137 Likewise.
3138 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3139 Likewise.
3140 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
3141 Likewise.
3142 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
3143 Likewise.
3144 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3145 Likewise.
3146
fc1cd012 31472014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3148
3149 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
3150 cannot be represented.
3151 * config/s390/32/_fixsfdi.c: Likewise.
3152 * config/s390/32/_fixtfdi.c: Likewise.
3153 * config/s390/32/_fixunsdfdi.c: Likewise.
3154 * config/s390/32/_fixunssfdi.c: Likewise.
3155 * config/s390/32/_fixunstfdi.c: Likewise.
3156
4b366ca9 31572014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
3158
3159 * configure.ac (libgcc_cv_mips_hard_float): New.
3160 * configure: Regenerate.
3161 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
3162 t-softfp-sfdf for hard-float targets.
3163 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
3164 (softfp_float_modes, softfp_int_modes, softfp_extensions)
3165 (softfp_truncations, softfp_exclude_libgcc2): New.
3166 * config/t-hardfp: New file.
3167 * config/t-hardfp-sfdf: Likewise.
3168 * config/hardfp.c: Likewise.
3169
896dc54c 31702014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3171
3172 * config.host: Include t-floattodi also for s390x.
3173 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
3174 * config/s390/32/_fixsfdi.c: Likewise.
3175 * config/s390/32/_fixtfdi.c: Likewise.
3176 * config/s390/32/_fixunsdfdi.c: Likewise.
3177 * config/s390/32/_fixunssfdi.c: Likewise.
3178 * config/s390/32/_fixunstfdi.c: Likewise.
3179
48118d02 31802014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3181
3182 PR target/59788
3183 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
3184 (install-libgcc-unwind-map-forbuild): New target.
3185 (all): Depend on install-libgcc-unwind-map-forbuild.
3186 (install-libgcc-unwind-map): New target.
3187 (install): Depend on install-libgcc-unwind-map.
3188
1fa97c89 31892014-02-02 Sandra Loosemore <sandra@codesourcery.com>
3190
3191 * config/nios2/crti.S (_init): Initialize GOT pointer from
3192 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
3193
9bcbf352 31942014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
3195
3196 * configure.ac: Check __mips64 when setting host_address.
3197 * configure: Regenerate.
3198 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
3199 mips/t-mips64 and t-softfp.
3200 (mips*-*-linux*): Don't add mips/t-tpbit.
3201 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
3202 (DPBIT, DPBIT_CFLAGS): Delete.
3203 * config/mips/sfp-machine.h: New file.
3204 * config/mips/t-mips64: Likewise.
3205 * config/mips/t-softfp-tf: Likewise.
3206 * config/mips/t-tpbit: Delete.
3207
81b83e46 32082014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3209
3210 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3211 as long long.
3212
41766a5f 32132014-01-25 Walter Lee <walt@tilera.com>
3214
3215 * config/tilepro/atomic.c: Include tconfig.h. Don't include
3216 config.h or system.h.
3217 (bool) Define.
3218
c8d04645 32192014-01-25 Walter Lee <walt@tilera.com>
3220
3221 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
3222 (post_atomic_barrier): Ditto.
3223 (__fetch_and_do): New macro.
3224 (__atomic_fetch_and_do): Use __fetch_and_do.
3225 (__sync_fetch_and_do): New macro.
3226 (__sync_fetch_and_add_4): New function.
3227 (__sync_fetch_and_sub_4): New function.
3228 (__sync_fetch_and_or_4): New function.
3229 (__sync_fetch_and_and_4): New function.
3230 (__sync_fetch_and_xor_4): New function.
3231 (__sync_fetch_and_nand_4): New function.
3232 (__sync_fetch_and_add_8): New function.
3233 (__sync_fetch_and_sub_8): New function.
3234 (__sync_fetch_and_or_8): New function.
3235 (__sync_fetch_and_and_8): New function.
3236 (__sync_fetch_and_xor_8): New function.
3237 (__sync_fetch_and_nand_8): New function.
3238 (__do_and_fetch): New macro.
3239 (__atomic_do_and_fetch): Use __do_and_fetch.
3240 (__sync_do_and_fetch): New macro.
3241 (__sync_add_and_fetch_4): New function.
3242 (__sync_sub_and_fetch_4): New function.
3243 (__sync_or_and_fetch_4): New function.
3244 (__sync_and_and_fetch_4): New function.
3245 (__sync_xor_and_fetch_4): New function.
3246 (__sync_nand_and_fetch_4): New function.
3247 (__sync_add_and_fetch_8): New function.
3248 (__sync_sub_and_fetch_8): New function.
3249 (__sync_or_and_fetch_8): New function.
3250 (__sync_and_and_fetch_8): New function.
3251 (__sync_xor_and_fetch_8): New function.
3252 (__sync_nand_and_fetch_8): New function.
3253 (__sync_exchange_methods): New macro.
3254 (__sync_val_compare_and_swap_4): New function.
3255 (__sync_bool_compare_and_swap_4): New function.
3256 (__sync_lock_test_and_test_4): New function.
3257 (__sync_val_compare_and_swap_8): New function.
3258 (__sync_bool_compare_and_swap_8): New function.
3259 (__sync_lock_test_and_test_8): New function.
3260 (__subword_cmpxchg_body): New macro.
3261 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
3262 (__atomic_compare_exchange_2): Ditto.
3263 (__sync_subword_cmpxchg): New macro.
3264 (__sync_val_compare_and_swap_1): New function.
3265 (__sync_bool_compare_and_swap_1): New function.
3266 (__sync_val_compare_and_swap_2): New function.
3267 (__sync_bool_compare_and_swap_2): New function.
3268 (__atomic_subword): Rename to ...
3269 (__subword): ... New name.
3270 (__atomic_subword_fetch): Use __subword.
3271 (__sync_subword_fetch): New macro.
3272 (__sync_fetch_and_add_1): New function.
3273 (__sync_fetch_and_sub_1): New function.
3274 (__sync_fetch_and_or_1): New function.
3275 (__sync_fetch_and_and_1): New function.
3276 (__sync_fetch_and_xor_1): New function.
3277 (__sync_fetch_and_nand_1): New function.
3278 (__sync_fetch_and_add_2): New function.
3279 (__sync_fetch_and_sub_2): New function.
3280 (__sync_fetch_and_or_2): New function.
3281 (__sync_fetch_and_and_2): New function.
3282 (__sync_fetch_and_xor_2): New function.
3283 (__sync_fetch_and_nand_2): New function.
3284 (__sync_add_and_fetch_1): New function.
3285 (__sync_sub_and_fetch_1): New function.
3286 (__sync_or_and_fetch_1): New function.
3287 (__sync_and_and_fetch_1): New function.
3288 (__sync_xor_and_fetch_1): New function.
3289 (__sync_nand_and_fetch_1): New function.
3290 (__sync_add_and_fetch_2): New function.
3291 (__sync_sub_and_fetch_2): New function.
3292 (__sync_or_and_fetch_2): New function.
3293 (__sync_and_and_fetch_2): New function.
3294 (__sync_xor_and_fetch_2): New function.
3295 (__sync_nand_and_fetch_2): New function.
3296 (__atomic_subword_lock): Use __subword.
3297 (__sync_subword_lock): New macro.
3298 (__sync_lock_test_and_set_1): New function.
3299 (__sync_lock_test_and_set_2): New function.
3300
47bfa8ec 33012014-01-25 Walter Lee <walt@tilera.com>
3302
3303 * config/tilepro/atomic.c (BIT_OFFSET): Define.
3304 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
3305 (__atomic_subword): Ditto.
3306
fcb4fe71 33072014-01-25 Walter Lee <walt@tilera.com>
3308
3309 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
3310 a prefix op argument.
3311 (__atomic_nand_fetch_4): Add prefix op.
3312 (__atomic_nand_fetch_8): Ditto.
3313
92e91d03 33142014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 3315
3316 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3317
9c50d275 33182014-01-09 Rong Xu <xur@google.com>
3319
3320 * libgcov-driver.c (this_prg): make it local to save
3321 bss space.
3322 (gcov_exit_compute_summary): Ditto.
3323 (gcov_exit_merge_gcda): Ditto.
3324 (gcov_exit_merge_summary): Ditto.
3325 (gcov_exit_dump_gcov): Ditto.
3326
005a5ef5 33272014-01-08 Rong Xu <xur@google.com>
67745126 3328
3329 * libgcov-driver.c: Use libgcov.h.
3330 (buffer_fn_data): Use xmalloc instead of malloc.
3331 (gcov_exit_merge_gcda): Ditto.
3332 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
3333 * libgcov.h: New common header files for libgcov-*.h.
3334 * libgcov-interface.c: Use libgcov.h
3335 * libgcov-merge.c: Ditto.
3336 * libgcov-profiler.c: Ditto.
3337 * Makefile.in: Add dependence to libgcov.h
3338
acf40e7e 33392014-01-02 Joseph Myers <joseph@codesourcery.com>
3340
3341 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
3342 case of small numerator and finite nonzero result.
3343
f9fb6ba0 33442014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3345
3346 Update copyright years
3347
e4f22041 33482014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3349
3350 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
3351 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
3352 config/arc/dp-hack.h, config/arc/fp-hack.h,
3353 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
3354 config/arc/ieee-754/arc600-dsp/divdf3.S,
3355 config/arc/ieee-754/arc600-dsp/divsf3.S,
3356 config/arc/ieee-754/arc600-dsp/muldf3.S,
3357 config/arc/ieee-754/arc600-dsp/mulsf3.S,
3358 config/arc/ieee-754/arc600-mul64/divdf3.S,
3359 config/arc/ieee-754/arc600-mul64/divsf3.S,
3360 config/arc/ieee-754/arc600-mul64/muldf3.S,
3361 config/arc/ieee-754/arc600-mul64/mulsf3.S,
3362 config/arc/ieee-754/arc600/divsf3.S,
3363 config/arc/ieee-754/arc600/mulsf3.S,
3364 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
3365 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
3366 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
3367 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
3368 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
3369 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
3370 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
3371 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
3372 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
3373 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
3374 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
3375 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
3376 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
3377 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
3378 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
3379 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
3380 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
3381 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
3382 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
3383 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
3384 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
3385 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
3386 vtv_start_preinit.c: Use the standard form for the copyright notice.
3387
de65406d 33882013-12-31 Sandra Loosemore <sandra@codesourcery.com>
3389 Chung-Lin Tang <cltang@codesourcery.com>
3390 Based on patches from Altera Corporation
3391
3392 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
3393 * config/nios2/lib2-nios2.h: New file.
3394 * config/nios2/lib2-divmod-hi.c: New file.
3395 * config/nios2/linux-unwind.h: New file.
3396 * config/nios2/lib2-divmod.c: New file.
3397 * config/nios2/linux-atomic.c: New file.
3398 * config/nios2/t-nios2: New file.
3399 * config/nios2/crti.asm: New file.
3400 * config/nios2/t-linux: New file.
3401 * config/nios2/lib2-divtable.c: New file.
3402 * config/nios2/lib2-mul.c: New file.
3403 * config/nios2/tramp.c: New file.
3404 * config/nios2/crtn.asm: New file.
3405
a0f1278f 34062013-12-26 Uros Bizjak <ubizjak@gmail.com>
3407
3408 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
3409 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
3410 from cpuid.h to check vendor signatures.
3411
0337c8ef 34122013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3413
e5d692d7 3414 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 3415 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3416 (get_amd_cpu): Likewise.
3417
03797e66 34182013-12-25 H.J. Lu <hongjiu.lu@intel.com>
3419
3420 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
3421 Haswell.
3422
8a5280dc 34232013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3424 H.J. Lu <hongjiu.lu@intel.com>
3425
ed1bc9a4 3426 PR target/59422
3427 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 3428 and AMD_JAGUAR.
3429 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
3430 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
3431 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
3432 FEATURE_XOP and FEATURE_FMA.
3433 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
3434 AMDFAM15H_BDVER3.
3435 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
ed1bc9a4 3436 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 3437 FEATURE_FMA4 and FEATURE_XOP.
3438
ccc305ff 34392013-12-23 H.J. Lu <hongjiu.lu@intel.com>
3440
3441 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
3442 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
3443 (get_intel_cpu): Updated.
3444
4ef5912a 34452013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3446
3447 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3448
62f068c6 34492013-12-09 Uros Bizjak <ubizjak@gmail.com>
3450
3451 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 3452 instructions when __SSE_MATH__ is defined.
62f068c6 3453
d742e92d 34542013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3455
3456 * config.host (microblaze-*-rtems*): New.
3457
706d62f5 34582013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
3459
3460 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
3461 architectures that do not have hardware divide instruction.
3462 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
3463
81927967 34642013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3465
3466 * longlong.h: Delete (moved to include/).
3467
085d03cc 34682013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3469
3470 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
3471 of normal number and qNaN to not raise an inexact exception.
3472
1f88bc79 34732013-11-28 Uros Bizjak <ubizjak@gmail.com>
3474
3475 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3476
34772013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 3478
3479 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3480 for correct opcodes on BE.
3481
ea9697c4 34822013-11-27 Uros Bizjak <ubizjak@gmail.com>
3483
3484 * soft-fp/op-4.h: Update from glibc.
3485
b214253d 34862013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
3487
3488 * libgcc2.c (__udivmoddi4): Define new implementation when
3489 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
3490 divide instructions.
3491
334819e8 34922013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3493
3494 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3495
2b8d95bc 34962013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3497
3498 * config/t-softfp (soft-fp-objects-base): New variable.
3499 (soft-fp-objects): Use it.
3500
39da7440 35012013-11-23 David Edelson <dje.gcc@gmail.com>
3502 Andrew Dixie <andrewd@gentrack.com>
3503
3504 PR target/33704
3505 * config/rs6000/aixinitfini.c: New file.
3506 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
3507 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
3508 symbols.
3509
b848ffcd 35102013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3511
ea9697c4 3512 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 3513
f75db2a8 35142013-11-18 Jan Hubicka <jh@suse.cz>
3515
5dbddbd9 3516 * libgcov-driver.c (run_accounted): Make global level static.
3517 (gcov_exit_merge_summary): Silence warning; do not clear
3518 run_accounted here.
3519 (gcov_exit): Clear it here.
3520
7a45fd9b 3521 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3522 run_accounted.
3523
f75db2a8 3524 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
3525 (all_prg, crc32): Remove static vars.
3526 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
3527 all_prg.
3528 (gcov_exit_merge_gcda): Add crc32 parameter.
3529 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
3530 do not account run if it was already accounted.
3531 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
3532 (gcov_exit): Initialize all_prg; update.
3533
822f2c1b 35342013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3535
3536 * configure: Regenerate.
3537
238f342d 35382013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3539 Alan Modra <amodra@gmail.com>
3540
3541 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
3542 (frob_update_context): Use it.
3543
35442013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3545 Alan Modra <amodra@gmail.com>
3546
3547 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
3548 (trampoline_initial): Provide ELFv2 variant.
3549 (__trampoline_setup): Likewise.
3550
3551 * config/rs6000/linux-unwind.h (frob_update_context): Do not
3552 check for AIX indirect function call sequence if _CALL_ELF == 2.
3553
35542013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3555 Alan Modra <amodra@gmail.com>
3556
3557 * config/rs6000/linux-unwind.h (get_regs): Do not support
3558 old kernel versions if _CALL_ELF == 2.
3559 (frob_update_context): Do not support PLT stub variants only
3560 generated by old linkers if _CALL_ELF == 2.
3561
771a5362 35622013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3563 Alan Modra <amodra@gmail.com>
3564
3565 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
3566 location of CR save area for 64-bit little-endian systems.
3567
f4f176bd 35682013-11-11 Eric Botcazou <ebotcazou@adacore.com>
3569
3570 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
3571 in tmake_file.
3572 * config/arm/t-vxworks: Delete.
3573
024d645a 35742013-11-10 Kai Tietz <ktietz@redhat.com>
3575
3576 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
3577 Increment load-count on use of LIBGCC_SONAME DLL.
3578 (hmod_libgcc): New static variable to hold handle of
3579 LIBGCC_SONAME DLL.
3580 (__gcc_deregister_frame): Decrement load-count of
3581 LIBGCC_SONAME DLL.
3582
96ddb284 35832013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
3584
3585 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
3586 availability.
3587 * configure: Regenerate
3588
b4ad80db 35892013-11-07 Uros Bizjak <ubizjak@gmail.com>
3590
3591 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
3592 FP_EX_DENORM. Store result to volatile location after SSE division
3593 to close interrupt window. Remove unneeded fwait after x87
3594 division since interrupt window will be closed by emitted fstp.
dc1dacdf 3595 Rewrite FP_EX_INEXACT handling.
b4ad80db 3596
589468a6 35972013-11-06 Joseph Myers <joseph@codesourcery.com>
3598
3599 * soft-fp/README: Update.
3600 * soft-fp/adddf3.c: Update from glibc.
3601 * soft-fp/addsf3.c: Likewise.
3602 * soft-fp/addtf3.c: Likewise.
3603 * soft-fp/divdf3.c: Likewise.
3604 * soft-fp/divsf3.c: Likewise.
3605 * soft-fp/divtf3.c: Likewise.
3606 * soft-fp/double.h: Likewise.
3607 * soft-fp/eqdf2.c: Likewise.
3608 * soft-fp/eqsf2.c: Likewise.
3609 * soft-fp/eqtf2.c: Likewise.
3610 * soft-fp/extenddftf2.c: Likewise.
3611 * soft-fp/extended.h: Likewise.
3612 * soft-fp/extendsfdf2.c: Likewise.
3613 * soft-fp/extendsftf2.c: Likewise.
3614 * soft-fp/extendxftf2.c: Likewise.
3615 * soft-fp/fixdfdi.c: Likewise.
3616 * soft-fp/fixdfsi.c: Likewise.
3617 * soft-fp/fixdfti.c: Likewise.
3618 * soft-fp/fixsfdi.c: Likewise.
3619 * soft-fp/fixsfsi.c: Likewise.
3620 * soft-fp/fixsfti.c: Likewise.
3621 * soft-fp/fixtfdi.c: Likewise.
3622 * soft-fp/fixtfsi.c: Likewise.
3623 * soft-fp/fixtfti.c: Likewise.
3624 * soft-fp/fixunsdfdi.c: Likewise.
3625 * soft-fp/fixunsdfsi.c: Likewise.
3626 * soft-fp/fixunsdfti.c: Likewise.
3627 * soft-fp/fixunssfdi.c: Likewise.
3628 * soft-fp/fixunssfsi.c: Likewise.
3629 * soft-fp/fixunssfti.c: Likewise.
3630 * soft-fp/fixunstfdi.c: Likewise.
3631 * soft-fp/fixunstfsi.c: Likewise.
3632 * soft-fp/fixunstfti.c: Likewise.
3633 * soft-fp/floatdidf.c: Likewise.
3634 * soft-fp/floatdisf.c: Likewise.
3635 * soft-fp/floatditf.c: Likewise.
3636 * soft-fp/floatsidf.c: Likewise.
3637 * soft-fp/floatsisf.c: Likewise.
3638 * soft-fp/floatsitf.c: Likewise.
3639 * soft-fp/floattidf.c: Likewise.
3640 * soft-fp/floattisf.c: Likewise.
3641 * soft-fp/floattitf.c: Likewise.
3642 * soft-fp/floatundidf.c: Likewise.
3643 * soft-fp/floatundisf.c: Likewise.
3644 * soft-fp/floatunditf.c: Likewise.
3645 * soft-fp/floatunsidf.c: Likewise.
3646 * soft-fp/floatunsisf.c: Likewise.
3647 * soft-fp/floatunsitf.c: Likewise.
3648 * soft-fp/floatuntidf.c: Likewise.
3649 * soft-fp/floatuntisf.c: Likewise.
3650 * soft-fp/floatuntitf.c: Likewise.
3651 * soft-fp/gedf2.c: Likewise.
3652 * soft-fp/gesf2.c: Likewise.
3653 * soft-fp/getf2.c: Likewise.
3654 * soft-fp/ledf2.c: Likewise.
3655 * soft-fp/lesf2.c: Likewise.
3656 * soft-fp/letf2.c: Likewise.
3657 * soft-fp/muldf3.c: Likewise.
3658 * soft-fp/mulsf3.c: Likewise.
3659 * soft-fp/multf3.c: Likewise.
3660 * soft-fp/negdf2.c: Likewise.
3661 * soft-fp/negsf2.c: Likewise.
3662 * soft-fp/negtf2.c: Likewise.
3663 * soft-fp/op-1.h: Likewise.
3664 * soft-fp/op-2.h: Likewise.
3665 * soft-fp/op-4.h: Likewise.
3666 * soft-fp/op-8.h: Likewise.
3667 * soft-fp/op-common.h: Likewise.
3668 * soft-fp/quad.h: Likewise.
3669 * soft-fp/single.h: Likewise.
3670 * soft-fp/soft-fp.h: Likewise.
3671 * soft-fp/subdf3.c: Likewise.
3672 * soft-fp/subsf3.c: Likewise.
3673 * soft-fp/subtf3.c: Likewise.
3674 * soft-fp/truncdfsf2.c: Likewise.
3675 * soft-fp/trunctfdf2.c: Likewise.
3676 * soft-fp/trunctfsf2.c: Likewise.
3677 * soft-fp/trunctfxf2.c: Likewise.
3678 * soft-fp/unorddf2.c: Likewise.
3679 * soft-fp/unordsf2.c: Likewise.
3680 * soft-fp/unordtf2.c: Likewise.
3681
8a3edb33 36822013-11-05 Uros Bizjak <ubizjak@gmail.com>
3683
3684 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
3685 (_FP_MUL_MEAT_D): Ditto.
3686 (_FP_DIV_MEAT_S): Ditto.
3687 (_FP_DIV_MEAT_D): Ditto.
3688 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
3689 t-softfp-sfdf and t-softfp to tmake_file.
3690
ea151fae 36912013-11-03 Uros Bizjak <ubizjak@gmail.com>
3692
3693 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
3694 * config/i386/crtprec.c: Ditto.
3695
eae21ed1 36962013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
3697 Shiva Chen <shiva0217@gmail.com>
3698
3699 * config.host (nds32*-elf*): Add nds32 target.
3700 * config/nds32 : New directory and files.
3701
b4294f67 37022013-10-16 Hans-Peter Nilsson <hp@axis.com>
3703
3704 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
3705 * config.host (cpu_type) <Setting default>: Add entry for
3706 crisv32-*-*.
3707 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
3708 <crisv32-*-linux*>: Adjust.
3709 * longlong.h: Wrap the whole CRIS section in a single
3710 defined(__CRIS__) conditional. Add comment about add_ssaaaa
3711 and sub_ddmmss.
3712 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
3713 defined.
3714 [__CRIS__] (__umulsidi3): Define.
3715 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
3716 * config/cris/sfp-machine.h: New file.
3717 * config/cris/umulsidi3.S: New file.
3718 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
3719 * config/cris/arit.c (SIGNMULT): New macro.
3720 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
3721 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
3722 saving 3 out of originally 33 cycles from the fastest
3723 path, 3 out of 54 from the medium path and one from the longest
3724 path. Improve comments.
3725
89432048 37262013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
3727
3728 * sync.c: Remove static aliases and define each function directly
3729 under its real name.
3730
a99f9d91 37312013-10-02 John David Anglin <danglin@gcc.gnu.org>
3732
3733 * config.host (hppa*64*-*-linux*): Define extra_parts.
3734 (hppa*-*-linux*): Likewise.
3735
c6e92c43 37362013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
3737
3738 * config/arc/crtgend.S: Add 2013 to Copyright years.
3739 * config/arc/gmon/atomic.h: Likewise.
3740 * config/arc/gmon/auxreg.h: Likewise.
3741 * config/arc/gmon/sys/gmon_out.h: Likewise.
3742 * config/arc/gmon/sys/gmon.h: Likewise.
3743 * config/arc/gmon/prof-freq.c: Likewise.
3744 * config/arc/gmon/mcount.c: Likewise.
3745 * config/arc/gmon/prof-freq-stub.S: Likewise.
3746 * config/arc/gmon/gmon.c: Likewise.
3747 * config/arc/gmon/machine-gmon.h: Likewise.
3748 * config/arc/gmon/profil.S: Likewise.
3749 * config/arc/gmon/dcache_linesz.S: Likewise.
3750 * config/arc/crtg.S: Likewise.
3751 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
3752 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
3753 * config/arc/ieee-754/adddf3.S: Likewise.
3754 * config/arc/ieee-754/truncdfsf2.S: Likewise.
3755 * config/arc/ieee-754/fixsfsi.S: Likewise.
3756 * config/arc/ieee-754/gtsf2.S: Likewise.
3757 * config/arc/ieee-754/floatsisf.S: Likewise.
3758 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
3759 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
3760 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
3761 * config/arc/ieee-754/fixdfsi.S: Likewise.
3762 * config/arc/ieee-754/addsf3.S: Likewise.
3763 * config/arc/ieee-754/gesf2.S: Likewise.
3764 * config/arc/ieee-754/floatsidf.S: Likewise.
3765 * config/arc/ieee-754/extendsfdf2.S: Likewise.
3766 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
3767 * config/arc/ieee-754/gtdf2.S: Likewise.
3768 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
3769 * config/arc/ieee-754/uneqdf2.S: Likewise.
3770 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
3771 * config/arc/ieee-754/uneqsf2.S: Likewise.
3772 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
3773 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
3774 * config/arc/ieee-754/eqdf2.S: Likewise.
3775 * config/arc/ieee-754/ordsf2.S: Likewise.
3776 * config/arc/ieee-754/divsf3.S: Likewise.
3777 * config/arc/ieee-754/divdf3.S: Likewise.
3778 * config/arc/ieee-754/floatunsidf.S: Likewise.
3779 * config/arc/ieee-754/orddf2.S: Likewise.
3780 * config/arc/ieee-754/eqsf2.S: Likewise.
3781 * config/arc/ieee-754/gedf2.S: Likewise.
3782 * config/arc/crtn.S: Likewise.
3783 * config/arc/crti.S: Likewise.
3784 * config/arc/t-arc700-uClibc: Likewise.
3785 * config/arc/asm.h: Likewise.
3786 * config/arc/libgcc-excl.ver: Likewise.
3787 * config/arc/t-arc-newlib: Likewise.
3788 * config/arc/divtab-arc700.c: Likewise.
3789 * config/arc/initfini.c: Likewise.
3790 * config/arc/fp-hack.h: Likewise.
3791
8abf21c0 37922013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3793 Diego Novillo <dnovillo@google.com>
3794
3795 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
29941397 3796 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
3797 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
3798 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8abf21c0 3799
8eaaaea3 38002013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
3801 Brendan Kehoe <brendan@zen.org>
3802 Simon Cook <simon.cook@embecosm.com>
3803
3804 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
3805 * config/arc: New directory.
3806 * longlong.h [__arc__] (umul_ppmm): Remove.
3807 [__arc__] (__umulsidi3): Define.
3808 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
3809 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
3810
5d7073ff 38112013-09-17 Jacek Caban <jacek@codeweavers.com>
3812
3813 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
3814 CreateSemaphoreA.
3815 * config/i386/gthr-win32.h: Likewise.
3816
c5a0ae5e 38172013-09-16 DJ Delorie <dj@redhat.com>
3818
3feee9ae 3819 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 3820 * config/rl78/lib2mul.c: Enable for RL78/G10.
3821 * config/rl78/lib2div.c: Likewise.
3822 * config/rl78/lshrsi3.S: Use vregs.h.
3823 * config/rl78/cmpsi2.S: Likewise.
3824 * config/rl78/trampoline.S: Likewise.
3825 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
3826
03223f89 38272013-09-14 DJ Delorie <dj@redhat.com>
3828 Nick Clifton <nickc@redhat.com>
3829
3830 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
3831 * config/rl78/vregs.h: New.
3832 * config/rl78/signbit.S: New file. Implements signbit function.
3833 * config/rl78/divmodsi.S: New.
3834 * config/rl78/divmodhi.S: New.
3835 * config/rl78/divmodqi.S: New.
3836 * config/rl78/t-rl78: Build them here...
3837 * config/rl78/lib2div.c: ...but not here.
3838
e4a25868 38392013-09-12 DJ Delorie <dj@redhat.com>
3840
3841 * config.host (msp*-*-elf): New.
3842 * config/msp430/: New port.
3843
f5f1a747 38442013-08-18 Iain Sandoe <iain@codesourcery.com>
3845
3846 PR gcov-profile/58127
3847 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
3848 __thread var for emulated TLS.
3849 (__gcov_indirect_call_counters): Likewise.
3850
272552a3 38512013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 3852 Catherine Moore <clm@codesourcery.com>
92e91d03 3853 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 3854
3855 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
3856 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
3857 (CALL_STUB_NO_RET): Likewise.
3858 (CALL_STUB_RET): Likewise.
3859 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
3860 __mips16_ret call/return stub symbols.
3861 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
3862 to tmake_file.
3863
26865d30 38642013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3865
3866 * config.host <mips*-*-linux*>: Remove a stray comment.
3867
4771c0ac 38682013-08-10 Jan Hubicka <jh@suse.cz>
3869
3870 Work around binutils PR14342
3871 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
3872 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
3873 (L_gcov_indirect_call_profiler_v2): New.
3874
fe37be54 38752013-08-06 Jan Hubicka <jh@suse.cz>
3876
3877 * libgcov.c (__gcov_indirect_call_callee,
3878 __gcov_indirect_call_counters): New global vars.
3879 (__gcov_indirect_call_profiler): replace by ...
3880 (__gcov_indirect_call_profiler_v2) ... this one.
3881
b710ec85 38822013-08-06 Caroline Tice <cmtice@google.com>
3883
62257207 3884 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 3885 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 3886 * configure.ac: Add code to check/set enable_vtable_verify.
3887 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
b710ec85 3888 true.
62257207 3889 * vtv_start_preinit.c: New file.
3890 * vtv_end_preinit.c: New file.
3891 * vtv_start.c: New file.
3892 * vtv_end.c: New file.
3893 * configure: Regenerated.
b710ec85 3894
98997678 38952013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
3896
3897 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
3898 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
3899 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
3900 GPL-3.0-with-GCC-exception.
3901
b26b6f0d 39022013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
3903
3904 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
3905 ISA and up.
3906
e6270f6f 39072013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3908
3909 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
3910 mapping for FPRs when creating the fallback framestate.
3911
fdbf5b19 39122013-07-19 Georg-Johann Lay <avr@gjlay.de>
3913
3914 PR target/57516
3915 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
3916 (__round_s2_const, __round_u2_const)
3917 (__round_s4_const, __round_u4_const, __round_x8):
3918 Saturate result if addition result cannot be represented.
3919
6dcb849c 39202013-07-15 Matthias Klose <doko@ubuntu.com>
3921
3922 * libgcc2.c: Don't include <limits.h>.
3923
16348e18 39242013-07-09 Janis Johnson <janisjo@codesourcery.com>
3925
3926 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3927
64b5be08 39282013-07-06 Jakub Jelinek <jakub@redhat.com>
3929
3930 PR target/29776
3931 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3932
68a09193 39332013-06-28 Jakub Jelinek <jakub@redhat.com>
3934
3935 PR middle-end/36041
3936 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
3937 Define.
3938 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
3939 instead of table lookups.
3940 (__popcountDI2): Likewise.
3941
5fe358df 39422013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
3943
3944 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3945 correctly.
3946
2511e9f1 39472013-06-21 Joseph Myers <joseph@codesourcery.com>
3948
3949 PR other/53317
3950 * soft-fp/adddf3.c: Update from glibc.
3951 * soft-fp/addsf3.c: Likewise.
3952 * soft-fp/addtf3.c: Likewise.
3953 * soft-fp/divdf3.c: Likewise.
3954 * soft-fp/divsf3.c: Likewise.
3955 * soft-fp/divtf3.c: Likewise.
3956 * soft-fp/double.h: Likewise.
3957 * soft-fp/eqdf2.c: Likewise.
3958 * soft-fp/eqsf2.c: Likewise.
3959 * soft-fp/eqtf2.c: Likewise.
3960 * soft-fp/extenddftf2.c: Likewise.
3961 * soft-fp/extended.h: Likewise.
3962 * soft-fp/extendsfdf2.c: Likewise.
3963 * soft-fp/extendsftf2.c: Likewise.
3964 * soft-fp/fixdfdi.c: Likewise.
3965 * soft-fp/fixdfsi.c: Likewise.
3966 * soft-fp/fixsfdi.c: Likewise.
3967 * soft-fp/fixsfsi.c: Likewise.
3968 * soft-fp/fixtfdi.c: Likewise.
3969 * soft-fp/fixtfsi.c: Likewise.
3970 * soft-fp/fixunsdfdi.c: Likewise.
3971 * soft-fp/fixunsdfsi.c: Likewise.
3972 * soft-fp/fixunssfdi.c: Likewise.
3973 * soft-fp/fixunssfsi.c: Likewise.
3974 * soft-fp/fixunstfdi.c: Likewise.
3975 * soft-fp/fixunstfsi.c: Likewise.
3976 * soft-fp/floatdidf.c: Likewise.
3977 * soft-fp/floatdisf.c: Likewise.
3978 * soft-fp/floatditf.c: Likewise.
3979 * soft-fp/floatsidf.c: Likewise.
3980 * soft-fp/floatsisf.c: Likewise.
3981 * soft-fp/floatsitf.c: Likewise.
3982 * soft-fp/floatundidf.c: Likewise.
3983 * soft-fp/floatundisf.c: Likewise.
3984 * soft-fp/floatunditf.c: Likewise.
3985 * soft-fp/floatunsidf.c: Likewise.
3986 * soft-fp/floatunsisf.c: Likewise.
3987 * soft-fp/floatunsitf.c: Likewise.
3988 * soft-fp/gedf2.c: Likewise.
3989 * soft-fp/gesf2.c: Likewise.
3990 * soft-fp/getf2.c: Likewise.
3991 * soft-fp/ledf2.c: Likewise.
3992 * soft-fp/lesf2.c: Likewise.
3993 * soft-fp/letf2.c: Likewise.
3994 * soft-fp/muldf3.c: Likewise.
3995 * soft-fp/mulsf3.c: Likewise.
3996 * soft-fp/multf3.c: Likewise.
3997 * soft-fp/negdf2.c: Likewise.
3998 * soft-fp/negsf2.c: Likewise.
3999 * soft-fp/negtf2.c: Likewise.
4000 * soft-fp/op-1.h: Likewise.
4001 * soft-fp/op-2.h: Likewise.
4002 * soft-fp/op-4.h: Likewise.
4003 * soft-fp/op-8.h: Likewise.
4004 * soft-fp/op-common.h: Likewise.
4005 * soft-fp/quad.h: Likewise.
4006 * soft-fp/single.h: Likewise.
4007 * soft-fp/soft-fp.h: Likewise.
4008 * soft-fp/subdf3.c: Likewise.
4009 * soft-fp/subsf3.c: Likewise.
4010 * soft-fp/subtf3.c: Likewise.
4011 * soft-fp/truncdfsf2.c: Likewise.
4012 * soft-fp/trunctfdf2.c: Likewise.
4013 * soft-fp/trunctfsf2.c: Likewise.
4014 * soft-fp/unorddf2.c: Likewise.
4015 * soft-fp/unordsf2.c: Likewise.
4016 * soft-fp/unordtf2.c: Likewise.
4017 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
4018 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4019 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4020 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4021 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4022 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4023 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4024 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4025 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4026 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
4027 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
4028 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
4029
0b4e9fcd 40302013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
4031
4032 * config/mips/lib2funcs.c: New file.
4033 * config/mips/t-mips (LIB2ADD_ST): Add it.
4034
fe9c9e23 40352013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
4036
4037 PR target/6526
4038 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
4039 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
4040
1c229e23 40412013-06-08 Walter Lee <walt@tilera.com>
4042
4043 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
4044 Replace int64_t with long long. Add __extension__ where
4045 appropriate.
4046 * config/tilepro/atomic.c: Include config.h.
4047
1a7dfb13 40482013-06-06 Douglas B Rupp <rupp@adacore.com>
4049
4050 * config.host (arm-wrs-vxworks): Configure with other soft float.
4051
60b34f30 40522013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
4053
4054 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
4055 (mips64r5900el-*-elf*): New configurations.
4056
ebe9cbdb 40572013-06-04 Alan Modra <amodra@gmail.com>
4058
4059 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
4060
fbcee6d1 40612013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
4062
4063 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
4064
aad33226 40652013-05-28 Eric Botcazou <ebotcazou@adacore.com>
4066
4067 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
4068 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
4069 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
4070
47ab8c10 40712013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4072
4073 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
4074 (powerpc-wrs-vxworks): Likewise.
4075
34a60aa2 40762013-05-22 Eric Botcazou <ebotcazou@adacore.com>
4077
4078 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
4079 signal frames as well.
4080 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
4081 STACK_BIAS to the CFA offset.
4082
be82f7a8 40832013-05-17 Richard Henderson <rth@redhat.com>
4084
4085 PR target/49146
4086 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
4087 (execute_cfa_program): Use it when storing to fs->regs.
4088
bd89d2b6 40892013-05-08 Kai Tietz <ktietz@redhat.com>
4090
4091 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
4092 (__deregister_frame_info): Likewise.
4093
9e849aff 40942013-05-06 Thomas Schwinge <thomas@codesourcery.com>
4095
dfa9a36a 4096 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
4097 NaN's payload.
4098
9e849aff 4099 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
4100
d80dc920 41012013-04-25 Alan Modra <amodra@gmail.com>
4102
4103 * config.host: Match little-endian powerpc-linux.
4104
d359df0c 41052013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
4106
4107 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
4108 as 'unsigned long long' instead of 'unsigned long'.
4109 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
4110 'signed long'.
4111
912507e5 41122013-04-10 Julian Brown <julian@codesourcery.com>
4113
4114 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
4115 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
4116 unsigned char/unsigned short.
4117 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
4118
9dafcef4 41192013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4120
4121 PR other/55274
4122 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
4123
11bec6e6 41242013-04-04 Meador Inge <meadori@codesourcery.com>
4125
4126 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
4127 computing the location of the link register.
4128 (aeabi_uldivmod): Ditto.
4129
45d13ef4 41302013-03-27 Kai Tietz <ktietz@redhat.com>
4131
4132 * config.host: Add support for cygwin x64 target.
4133 * configure: Regenerated.
4134
cad8262b 41352013-03-26 Walter Lee <walt@tilera.com>
4136
4137 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
4138 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
4139
d2adc174 41402013-03-25 Kai Tietz <ktietz@redhat.com>
4141
4142 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4143
a5487e41 41442013-03-20 Robert Mason <rbmj@verizon.net>
4145
4146 * config/vxlib-tls.c (__gthread_get_tsd_data,)
4147 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
4148 (__gthread_leave_tsd_dtor_context): Add prototypes.
4149 (tls_delete_hook): Update.
4150
ff9c1bc1 41512013-03-20 Catherine Moore <clm@codesourcery.com>
4152 Joseph Myers <joseph@codesourcery.com>
4153 Chao-ying Fu <fu@mips.com>
4154
4155 * config/mips/mips16.S: Don't build for microMIPS.
4156 * config/mips/linux-unwind.h: Handle microMIPS frame.
4157 * config/mips/crtn.S (fini, init): New labels.
4158
228bf2b8 41592013-03-14 Jakub Jelinek <jakub@redhat.com>
4160
4161 PR tree-optimization/53265
4162 * unwind-dw2.c (execute_cfa_program): Avoid
4163 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
4164 on targets with DWARF_FRAME_REGISTERS < 32.
4165
bb057878 41662013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
4167
4168 PR target/49880
4169 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
4170 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
4171
a1b2a524 41722013-03-07 Sriraman Tallam <tmsriram@google.com>
4173
4174 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4175 sandybridge processors.
4176
9fe603c3 41772013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
4178
4179 PR target/56529
4180 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
4181 inclusion list.
4182
21ebaa24 41832013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 4184
4185 * config/microblaze/crti.S: Setup stack protection at entry
4186
958069e9 41872013-03-04 Georg-Johann Lay <avr@gjlay.de>
4188
4189 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4190 (__rotldi3): Shift bytewise if applicable.
4191
49be16da 41922013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4193
4194 * config/aarch64/sync-cache.c
4195 (__aarch64_sync_cache_range): Silence warnings.
4196
ca7a473f 41972013-02-25 Catherine Moore <clm@codesourcery.com>
4198
4199 Revert:
4200 2013-02-24 Catherine Moore <clm@codesourcery.com>
4201 Joseph Myers <joseph@codesourcery.com>
4202 Chao-ying Fu <fu@mips.com>
4203
4204 * config/mips/mips16.S: Don't build for microMIPS.
4205 * config/mips/linux-unwind.h: Handle microMIPS frame.
4206 * config/mips/crtn.S (fini, init): New labels.
4207
7fd93f9c 42082013-02-24 Catherine Moore <clm@codesourcery.com>
4209 Joseph Myers <joseph@codesourcery.com>
4210 Chao-ying Fu <fu@mips.com>
4211
4212 * config/mips/mips16.S: Don't build for microMIPS.
4213 * config/mips/linux-unwind.h: Handle microMIPS frame.
4214 * config/mips/crtn.S (fini, init): New labels.
4215
1859244f 42162012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 4217 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 4218 as dividend.
4219
2a0bfd56 42202013-02-16 Alan Modra <amodra@gmail.com>
4221
4222 PR target/55431
4223 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
4224 (ppc_fallback_frame_state): Always set up save locations for fp
4225 and altivec. Don't bother with non-callee-saved regs, r0-r13
4226 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
4227
cfbcb7d5 42282013-02-12 Georg-Johann Lay <avr@gjlay.de>
4229
4230 PR target/54222
4231 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
4232 _ssmulHA, _ssmulSA.
4233 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
4234 _ssmulha3, _usmulusa3, _ssmulsa3.
4235 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
4236 (__muldi3): XCALL __muldi3_6 instead of rcall.
4237 (__umulsidi3, __mulsidi3): New functions.
4238 (do_prologue_saves, do_epilogue_restores): New .macros.
4239 (__divdi3_moddi3): Use them.
4240 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
4241 (__usmulusa3, __ssmulsa3): New functions.
4242
48b8e70a 42432013-02-11 Iain Sandoe <iain@codesourcery.com>
4244 Jack Howarth <howarth@bromo.med.uc.edu>
4245 Patrick Marlier <patrick.marlier@gmail.com>
4246
4247 PR libitm/55693
4248 * config/darwin-crt-tm.c: Remove dummy functions hack.
4249
eafea251 42502013-02-08 Georg-Johann Lay <avr@gjlay.de>
4251
4252 PR target/54222
4253 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
4254 * config/avr/lib2-object.mk: New iterator to build objects from it.
4255 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
4256 lib2funcs.c.
4257 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
4258 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
4259 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
4260 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
4261 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
4262 * config/avr/lib1funcs-fixed.S: Implement them.
4263
64b7b462 42642013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4265
4266 Update copyright years.
4267
a8af2dd5 42682013-02-01 David Edelsohn <dje.gcc@gmail.com>
4269
4270 PR target/54601
4271 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
4272 Add crtcxa to extra_parts.
4273 * config/rs6000/exit.h: New file.
4274 * config/rs6000/cxa_atexit.c: New file.
4275 * config/rs6000/cxa_finalize.c: New file.
4276 * config/rs6000/crtcxa.c: New file.
4277 * config/rs6000/t-aix-cxa: New file.
4278 * config/rs6000/libgcc-aix-cxa.ver: New file.
4279
9a5788ea 42802013-01-31 Nick Clifton <nickc@redhat.com>
4281
4282 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4283 variant.
4284
63c85bd5 42852013-01-29 Georg-Johann Lay <avr@gjlay.de>
4286
4287 PR target/54222
4288 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
4289 _mulQQ, _mulHQ, _mulHA, _mulSA,
4290 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
4291 _divQQ, _divHQ, _divHA, _divSA,
4292 _divUQQ, _divUHQ, _divUHA, _divUSA.
4293
21ebaa24 42942013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 4295
9a5788ea 4296 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 4297 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
4298 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
4299 to exclude functions from being built with libgcc.c and use
4300 the microblaze assembly.
4301
21ebaa24 43022013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 4303
4304 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4305 extra_parts.
4306
ee4d7d9e 43072013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
4308
4309 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
4310 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
4311 __UINTPTR_TYPE__; also cast 'base' to the same type before the
4312 alignment operation.
4313
7deea711 43142013-01-15 Sofiane Naci <sofiane.naci@arm.com>
4315
4316 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
4317 loop start address for cache clearing.
4318
0dff9558 43192013-01-14 Georg-Johann Lay <avr@gjlay.de>
4320
4321 * config/avr/lib1funcs.S: Remove trailing blanks.
4322 * config/avr/lib1funcs-fixed.S: Ditto.
4323
d8ff1e9a 43242013-01-14 Georg-Johann Lay <avr@gjlay.de>
4325
4326 * config/avr/avr-lib.h: Add GPL copyright notice.
4327
dd509879 43282013-01-14 Georg-Johann Lay <avr@gjlay.de>
4329
4330 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
4331 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
4332 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
4333 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
4334
6e029611 43352013-01-07 Mark Kettenis <kettenis@openbsd.org>
4336
4337 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
4338 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 4339
409ad634 43402013-01-04 Nick Clifton <nickc@redhat.com>
4341
4342 * config/v850/lib1funcs.S: Only provide CALLT support functions if
4343 the CALLT instruction is supported.
4344
1d384e02 43452012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
4346
4347 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
4348 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
4349
cc4b03ac 43502012-12-13 John Tytgat <John@bass-software.com>
4351
4352 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
4353 is 25.
4354
990457e2 43552012-12-12 Jakub Jelinek <jakub@redhat.com>
4356
4357 PR libgcc/55451
4358 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
4359 undefined signed overflows.
4360
db6a9a70 43612012-12-09 Uros Bizjak <ubizjak@gmail.com>
4362
4363 PR target/55344
4364 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
4365
038a6cd9 43662012-12-06 Uros Bizjak <ubizjak@gmail.com>
4367
4368 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
4369 (FP_TRAPPING_EXCEPTIONS): Define.
4370 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
4371 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
4372
ef5f15fb 43732012-12-04 Richard Henderson <rth@redhat.com>
4374
4375 PR bootstrap/55571
4376 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
4377
92e91d03 43782012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
09ef8b8d 4379
038a6cd9 4380 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 4381 (FP_EX_SHIFT): Define.
4382 (FP_TRAPPING_EXCEPTIONS): Define.
4383
92e91d03 43842012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1caca546 4385
4386 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
4387 (FP_ROUNDMODE): Use FP_RND_MASK.
4388 * config/aarch64/sfp-exceptions.c: New.
4389 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4390 Use __sfp_handle_exceptions.
4391
6a11e52b 43922012-12-04 Richard Earnshaw <rearnsha@arm.com>
4393
4394 * config.host: (arm*-*-freebsd*): Remove.
4395 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
4396 (arm*-*-elf*): Remove.
4397 (arm*-*-wince-pe*): Remove.
4398 * arm/unwind-arm.c (struct fpa_reg): Delete.
4399 (struct fpa_regs): Delete.
4400 (phase1_vrs): Remove fpa element.
4401 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
4402 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
4403 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
4404 * ieee754-sf.S (floatundisf): Remove FPA support.
4405 (floatdisf): Likewise.
4406 * ieee75f-df.S (floatundidf): Likewise.
4407 (floatdidf): Likewise.
4408
a92cf445 44092012-11-29 Kai Tietz <ktietz@redhat.com>
4410
4411 PR target/55445
4412 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
4413 * unwind-generic.h: Likewise.
4414 * unwind-seh.c: Likewise.
4415
f0b6dfa6 44162012-11-28 Richard Henderson <rth@redhat.com>
4417
4418 PR libgcc/48076
4419 * emutls.c (__emutls_get_address): Avoid race condition between
4420 obj->loc.offset read and emutls_key initialization.
038a6cd9 4421
c8ec4eb6 44222012-11-22 Georg-Johann Lay <avr@gjlay.de>
4423
4424 Adjust decimal point of signed accum mode to GCC default.
4425
4426 PR target/54222
4427 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
4428 _divqq_helper.
4429 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
4430 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
4431 (__mulha3, __mulsa3)
4432 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 4433 decimal point of signed accum types.
4434
c8ec4eb6 4435 (__mulusa3_round): New function.
4436 (__mulusa3): Use it.
4437 (__divqq_helper): New function.
4438 (__udivuqq3): Use it.
4439
ca8c4cb9 44402012-11-20 Jakub Jelinek <jakub@redhat.com>
4441
4442 PR bootstrap/55370
4443 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
4444
5d2fca09 44452012-11-18 Teresa Johnson <tejohnson@google.com>
4446
4447 PR bootstrap/55051
4448 * libgcov.c (gcov_exit): Remove merged program summary
4449 comparison unless !GCOV_LOCKED.
4450
92e91d03 44512012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
bfc20a3e 4452
4453 * soft-fp: Updated from glibc upstream.
4454
20f6e7a3 44552012-11-06 Ian Lance Taylor <iant@google.com>
4456
4457 * generic-morestack.c (__generic_morestack): Align the returned
4458 stack pointer to a 32 byte boundary.
4459 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
4460 increment the return address until we have decided that we don't
4461 have a varargs function.
4462 (__morestack) [32-bit]: Align stack correctly when calling C
4463 functions.
4464 (__morestack) [64-bit]: Likewise.
4465
97bd2465 44662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4467
4468 * configure: Regenerate.
4469
d152ae90 44702012-11-02 Uros Bizjak <ubizjak@gmail.com>
4471
4472 PR target/55175
4473 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
4474 * config/i386/sfp-machine.h: Guard exception handling
4475 code with _SOFT_FLOAT.
4476 * config/i386/32/sfp-machine.h: Guard rounding handling
4477 code with _SOFT_FLOAT.
4478 * config/i386/64/sfp-machine.h: Ditto.
4479
0cd8c088 44802012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
4481
4482 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
4483 as extra_parts.
4484
113702f6 44852012-10-26 Uros Bizjak <ubizjak@gmail.com>
4486
4487 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
4488 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
4489 when appropriate. Correct structure element types.
4490 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
4491 -minline-all-stringops from compile flags.
4492
92e91d03 44932012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
00b706f9 4494
4495 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4496
92e91d03 44972012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
57380e33 4498
113702f6 4499 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 4500
a2397d15 45012012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4502
4503 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4504 tmake_file.
4505
1b3d2097 45062012-10-23 Ian Bolton <ian.bolton@arm.com>
4507 Jim MacArthur <jim.macarthur@arm.com>
4508 Marcus Shawcroft <marcus.shawcroft@arm.com>
4509 Nigel Stephens <nigel.stephens@arm.com>
4510 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4511 Richard Earnshaw <rearnsha@arm.com>
4512 Sofiane Naci <sofiane.naci@arm.com>
4513 Stephen Thomas <stephen.thomas@arm.com>
4514 Tejas Belagod <tejas.belagod@arm.com>
4515 Yufeng Zhang <yufeng.zhang@arm.com>
4516
4517 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
4518 * config/aarch64/crti.S: New file.
4519 * config/aarch64/crtn.S: New file.
4520 * config/aarch64/linux-unwind.h: New file.
4521 * config/aarch64/sfp-machine.h: New file.
4522 * config/aarch64/sync-cache.c: New file.
4523 * config/aarch64/t-aarch64: New file.
4524 * config/aarch64/t-softfp: New file.
4525
cfdcf688 45262012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
4527
4528 * config/mmix/crti.S: Mark program and data addresses using PRELD.
4529 Remove typo'd and unnecessary alignment-LOC for .data. Remove
4530 no-longer-needed LDBU insns.
4531
92e91d03 45322012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
598ebe3d 4533
4534 * config.host
4535 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4536 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4537
530c2b2e 45382012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4539
4540 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4541
f49eb158 45422012-10-15 Matthias Klose <doko@ubuntu.com>
4543
4544 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4545
017f22df 45462012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
4547
4548 * configure: Regenerate.
4549 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
4550
da8b7497 45512012-10-10 Uros Bizjak <ubizjak@gmail.com>
4552
4553 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
4554 instructions for 64bit targets only.
4555
19a23012 45562012-10-10 Uros Bizjak <ubizjak@gmail.com>
4557
4558 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4559 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
4560 * config/i386/32/sfp-machine.h: ... here.
4561 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
4562 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
4563 New defines.
4564
a32dc74a 45652012-10-07 Matthias Klose <doko@ubuntu.com>
4566
4567 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
4568 as unused.
4569 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
4570
81ae3d37 45712012-10-06 Mark Kettenis <kettenis@openbsd.org>
4572
4573 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
4574 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
4575 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
4576 (ElfW): Likewise.
4577
4e6a7cfc 45782012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
4579
4580 PR other/53889
4581 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4582 Fix parameter names.
4583
7cc401e3 45842012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
4585
4586 PR target/33135
4587 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
4588 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
4589 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
4590
cfaba078 45912012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
4592
4593 PR target/50457
4594 * config/sh/linux-atomic.S: Delete.
4595 * config/sh/linux-atomic.c: New.
4596 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
4597 linux-atomic.c. Add cflags to disable warnings.
4598
4854adab 45992012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4600
4601 PR other/53889
4602 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
4603 function.
4604 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
4605 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
4606 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
4607 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 4608 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4609 Likewise.
4854adab 4610 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
4611 Likewise.
4612 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
4613 Likewise.
4614 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
4615 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
4616
07cf7615 46172012-09-19 Mark Kettenis <kettenis@openbsd.org>
4618
cfaba078 4619 * config.host (hppa-*-openbsd*): New target.
4620 * config/pa/t-openbsd: New file.
07cf7615 4621
b4ebb666 46222012-09-15 Georg-Johann Lay <avr@gjlay.de>
4623
4624 PR target/54222
4625 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
4626 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
4627 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
4628 (__divsa3): Use __negsi2 to negate r_quoL.
4629 * config/avr/lib1funcs.S (FALIAS): New macro.
4630 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
4631 (__negsi2): ...this new function.
4632 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
4633 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
4634 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
4635 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
4636 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
4637 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
4638
6e7c6395 46392012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
4640
4641 PR target/54089
4642 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
4643 (lshrsi3): Reimplement as lshrsi3_r0.
4644
5e847ded 46452012-09-10 Andreas Schwab <schwab@linux-m68k.org>
4646
4647 PR target/46191
4648 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
4649 of libgcc.a.
4650
7995ce5f 46512012-09-07 Teresa Johnson <tejohnson@google.com>
4652
cfaba078 4653 PR gcov-profile/54487
7995ce5f 4654 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 4655 differences.
7995ce5f 4656
fd28e216 46572012-09-05 Georg-Johann Lay <avr@gjlay.de>
4658
4659 PR target/54461
4660 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
4661 not configured --with-avrlibc=no.
4662 * config/avr/t-avrlibc: New file.
4663 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
4664 (DPBIT_FUNCS): Ditto.
4665 (TPBIT_FUNCS): Ditto.
4666
2688cb90 46672012-09-04 Teresa Johnson <tejohnson@google.com>
4668
4669 * libgcov.c (struct gcov_summary_buffer): New structure.
4670 (gcov_histogram_insert): New function.
4671 (gcov_compute_histogram): Ditto.
4672 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
4673 histograms during summary merging.
4674
51796b3a 46752012-09-01 Mark Kettenis <kettenis@openbsd.org>
4676
4677 * config.host (x86_64-*-openbsd*): New target.
d152ae90 4678
d36db932 46792012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4680
4681 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4682 attribute.
4683
d87654c8 46842012-08-24 Georg-Johann Lay <avr@gjlay.de>
4685
4686 PR target/54222
4687 * config/avr/t-avr (conv_X): Rename to func_X.
4688
017c5b98 46892012-08-24 Georg-Johann Lay <avr@gjlay.de>
4690
4691 PR target/54222
4692 * config/avr/lib1funcs-fixed.S: New file.
4693 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
4694 after they are used.
4695 (neg2, neg4): New macros.
4696 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
4697 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
4698 (__umulhisi3): Speed up MUL variant if there is enough flash.
4699 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
4700 avr-modes.def.
4701 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
4702 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
4703 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
4704 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
4705 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
4706 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
4707 (LIB2FUNCS_EXCLUDE): Add supported functions.
4708
65bcd545 47092012-08-22 Georg-Johann Lay <avr@gjlay.de>
4710
4711 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
4712 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
4713 libgcc-s-objects.
4714 * fixed-obj.mk: Only expand dependency if $o is not in
4715 LIB2FUNCS_EXCLUDE.
4716
39166195 47172012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4718
4719 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4720
b78f422e 47212012-08-22 Joseph Myers <joseph@codesourcery.com>
4722
4723 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
4724 depend on --enable-shared.
4725 ($(lib1asmfuncs-o)): Use %.vis files independent of
4726 --enable-shared.
4727 * static-object.mk ($(base)$(objext), $(base).vis)
4728 ($(base)_s$(objext)): Use same rules for visibility handling as in
4729 shared-object.mk.
4730
66ef0f44 47312012-08-21 Ian Lance Taylor <iant@google.com>
4732
4733 * config/i386/morestack.S (__morestack_non_split): Increase amount
4734 of space allocated for non-split code stack.
4735
93547515 47362012-08-19 Joseph Myers <joseph@codesourcery.com>
4737
4738 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
4739 even if inhibit_libc.
4740
98d22b3c 47412012-08-17 Julian Brown <julian@codesourcery.com>
4742
4743 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
4744 -fexceptions -fnon-call-exceptions if not defined.
4745 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
4746 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
4747
2076ec4b 47482012-08-17 Andreas Schwab <schwab@linux-m68k.org>
4749
4750 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
4751 type.
4752
c1420b84 47532012-08-16 David Edelsohn <dje.gcc@gmail.com>
4754
4755 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
4756 rs6000/t-slibgcc-aix.
4757
ae5b70d0 47582012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4759
4760 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4761
4ff70f1c 47622012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4763
4764 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4765
464810a0 47662012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4767
4768 PR driver/54171
4769 * Makefile.in (version): Replace top_srcdir with srcdir.
4770
d2c6da38 47712012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4772
4773 * Makefile.in (version): set to BASE-VER file from gcc directory.
4774
a575acb2 47752012-08-01 Nick Clifton <nickc@redhat.com>
4776
4777 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4778 Implements __clrsb for an HImode argument.
4779
3a44f5e6 47802012-07-31 Nick Clifton <nickc@redhat.com>
4781
4782 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
4783 Implements __clrsb for an HImode argument.
4784 * config/stormy16/clrsbhi2.c: New file:
4785 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
4786
56b17dd7 47872012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4788
4789 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4790
8ad0b530 47912012-07-19 Tristan Gingold <gingold@adacore.com>
4792 Richard Henderson <rth@redhat.com>
4793
4794 * unwind-seh.c: New file.
4795 * unwind-generic.h: Include windows.h for SEH.
4796 (_Unwind_Exception): Use 6 private fields for SEH.
4797 (_GCC_specific_handler): Declare.
4798 * unwind-c.c (__gcc_personality_seh0): New function.
4799 Adjust for SEH.
4800 * config/i386/libgcc-cygming.ver: New file.
4801 * config/i386/t-seh-eh: New file.
4802 * config.host (x86_64-*-mingw*): Default to seh.
4803
017bf976 48042012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4805
4806 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4807
6f24586e 48082012-06-17 Uros Bizjak <ubizjak@gmail.com>
4809
4810 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
4811 __builtin_expect when checking for exceptions.
4812 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
4813
1927db1f 48142012-06-13 Uros Bizjak <ubizjak@gmail.com>
4815
7b9088d5 4816 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
4817 function declaration.
4818 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4819 (FP_RND_MASK): New.
4820 * config/ia64/sfp-exceptions.c: New.
4821 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 4822
c3576308 48232012-06-13 Uros Bizjak <ubizjak@gmail.com>
4824
4825 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
4826 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
4827 * config/i386/64/sfp-machine: ... (delete here) ...
4828 * config/i386/sfp-machine.h: ... to here.
4829 (FP_EX_MASK): Remove.
4830 (FP_RND_MASK): New.
4831 (FP_INIT_ROUNDMODE): Declare asm as volatile.
4832
725b956c 48332012-06-11 Sriraman Tallam <tmsriram@google.com>
4834
4835 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
4836 * config/i386/libgcc-sol2.ver: Ditto.
4837 * config/i386/libgcc-glibc.ver: Ditto.
4838
026e608e 48392012-06-11 Roland McGrath <mcgrathr@google.com>
4840
4841 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
4842 If __GLIBC__ is defined, refer to __pthread_key_create instead of
4843 pthread_cancel.
4844
2c223cf2 48452012-06-09 Uros Bizjak <ubizjak@gmail.com>
4846
4847 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
4848 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
4849 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
4850 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
4851 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
4852 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
4853 * config/i386/64/sfp-machine: ... (delete here) ...
4854 * config/i386/sfp-machine.h: ... to here.
4855 (FP_EX_MASK): New.
4856 (__sfp_handle_exceptions): New function declaration.
4857 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
4858 * config/i386/sfp-exceptions.c: New.
4859 * config/i386/t-softfp: New.
4860 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
4861 i386/t-softfp to tmake_file.
4862
620803f2 48632012-06-03 David S. Miller <davem@davemloft.net>
4864
4865 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4866 change.
4867
38ef0978 48682012-05-31 David S. Miller <davem@davemloft.net>
4869
4870 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
4871 multiply and divide instructions on 32-bit when V9.
4872 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
4873
e1c346e5 48742012-05-29 Joseph Myers <joseph@codesourcery.com>
4875
4876 * config/arm/ieee754-df.S: Fix typos.
4877 * config/arm/ieee754-sf.S: Fix typos.
4878 * config/c6x/libunwind.S: Fix typos.
4879 * config/epiphany/udivsi3-float.c: Fix typos.
4880 * config/microblaze/muldi3_hard.S: Fix typos.
4881 * config/picochip/adddi3.S: Fix typos.
4882 * config/picochip/ashlsi3.S: Fix typos.
4883 * config/picochip/ashrsi3.S: Fix typos.
4884 * config/picochip/clzsi2.S: Fix typos.
4885 * config/picochip/cmpsi2.S: Fix typos.
4886 * config/picochip/divmod15.S: Fix typos.
4887 * config/picochip/divmodhi4.S: Fix typos.
4888 * config/picochip/divmodsi4.S: Fix typos.
4889 * config/picochip/longjmp.S: Fix typos.
4890 * config/picochip/lshrsi3.S: Fix typos.
4891 * config/picochip/parityhi2.S: Fix typos.
4892 * config/picochip/popcounthi2.S: Fix typos.
4893 * config/picochip/setjmp.S: Fix typos.
4894 * config/picochip/subdi3.S: Fix typos.
4895 * config/picochip/ucmpsi2.S: Fix typos.
4896 * config/picochip/udivmodhi4.S: Fix typos.
4897 * config/picochip/udivmodsi4.S: Fix typos.
4898 * config/spu/divv2df3.c: Fix typos.
4899 * config/spu/mfc_multi_tag_release.c: Fix typos.
4900 * config/spu/mfc_tag_release.c: Fix typos.
4901 * configure.ac: Fix typos.
4902 * configure: Regenerate.
4903
4bb0c596 49042012-05-25 Ian Lance Taylor <iant@google.com>
4905
4906 * config/i386/morestack.S (__morestack_non_split): Check whether
4907 caller is varargs and needs %bp to hold the stack frame on return.
4908
05b6028a 49092012-05-25 Olivier Hainque <hainque@adacore.com>
4910
4911 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
4912 sequence in the non pic case on VxWorks.
4913
de055a8b 49142012-05-24 Olivier Hainque <hainque@adacore.com>
4915
05c265fe 4916 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 4917 "install-leaf" to "install".
4918
511797dd 49192012-05-24 Olivier Hainque <hainque@adacore.com>
4920
4921 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
4922 Use a separate command for stamp removals.
4923
c05436a7 49242012-05-21 Andrew Pinski <apinski@cavium.com>
4925
4926 PR bootstrap/53183
4927 * configure.ac: Define the default includes to being none.
4928 * configure: Regenerate.
4929
0e0bcebd 49302012-05-16 Olivier Hainque <hainque@adacore.com>
4931
4932 * Makefile.in (install-unwind_h): Rename into ...
4933 (install-unwind_h-forbuild): New target.
4934 (all): Use it instead of the former install-unwind_h.
4935 (install-unwind_h): Reinstate, copy to user install destination
4936 for include files, not to the internal gcc object directory one.
4937 (install-leaf): Depend on it.
4938
4ea72f7b 49392012-05-15 Olivier Hainque <hainque@adacore.com>
4940
4941 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
4942 register numbers. LR_REGNO replaces R_LR.
4943 (ucontext_for): New, helper for ...
4944 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
4945 and 5.3 of ...
4946 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
4947
98c9b52b 49482012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4949
4950 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
4951 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
4952 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
4953 i386/t-cpuinfo ...
4954 (i[34567]86-*-*, x86_64-*-*): ... here.
4955
4956 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
4957 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
4958
4959 * config/i386/i386-cpuinfo.c: Rename to ...
4960 * config/i386/cpuinfo.c: ... this.
4961 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
4962
4963 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
4964 (libgcc_cv_init_priority): New test.
4965 * configure: Regenerate.
4966 * config.in: New file.
4967 * Makefile.in (clean): Rename config.h to auto-target.h.
4968 (config.h): Likewise.
4969 (stamp-h): Likewise.
4970
4971 * config/i386/cpuinfo.c (auto-target.h): Include.
4972 (CONSTRUCTOR_PRIORITY): Define.
4973 (__cpu_indicator_init): Use it.
4974
a7534247 49752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4976
4977 * longlong.h: Use a URL instead of an FSF postal address.
4978 Replace spaces with tab.
4979
7b9088d5 49802012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 4981
4982 * libgcov.c (gcov_clear, __gcov_reset): New functions.
4983 (__gcov_dump): Ditto.
4984 (gcov_dump_complete): New global variable.
4985 (gcov_exit): Export hidden to enable use in L_gcov_dump.
4986 (__gcov_flush): Outline functionality now in gcov_clear.
4987 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
4988
416e60e6 49892012-04-28 Aurelien Jarno <aurelien@aurel32.net>
4990
4bb0c596 4991 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4992 (mips*-*-linux*): Include mips/t-tpbit when long double is
4993 16 bytes long.
416e60e6 4994
d79cfc15 49952012-04-25 Sriraman Tallam <tmsriram@google.com>
4996
4997 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
4998 (get_available_features): New argument. Check for AVX2.
4999 (__cpu_indicator_init): Modify call to get_available_features.
5000
cef20746 50012012-04-25 Alan Modra <amodra@gmail.com>
5002
5003 * config/rs6000/crtsavevr.S: New file.
5004 * config/rs6000/crtrestvr.S: New file.
5005 * config/rs6000/t-savresfgpr: Build the above.
5006 * config/rs6000/t-netbsd: Likewise.
5007
0a166714 50082012-04-24 Sriraman Tallam <tmsriram@google.com>
5009
5010 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
5011
f0fd108f 50122012-04-24 Sriraman Tallam <tmsriram@google.com>
5013
5014 * libgcc/config/i386/i386-cpuinfo.c: New file.
5015 * libgcc/config/i386/t-cpuinfo: New file.
5016 * libgcc/config.host: Include t-cpuinfo.
5017 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
5018
394bef3f 50192012-04-24 Chao-ying Fu <fu@mips.com>
5020
5021 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
5022
5617a3db 50232012-04-20 Thomas Schwinge <thomas@codesourcery.com>
5024
5025 struct siginfo vs. siginfo_t
5026
5027 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
5028 siginfo_t instead of struct siginfo.
5029 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
5030 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
5031 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
5032 (ia64_handle_unwabi): Likewise.
5033 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
5034 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
5035 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
5036 (sh_fallback_frame_state): Likewise.
5037 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
5038 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
5039
49a280b5 50402012-04-02 H.J. Lu <hongjiu.lu@intel.com>
5041
5042 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
5043 system call number.
5044
6c760a69 50452012-03-31 Eric Botcazou <ebotcazou@adacore.com>
5046
5047 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
5048 if it hasn't been previously saved.
5049
59e4072c 50502012-03-29 H.J. Lu <hongjiu.lu@intel.com>
5051
5052 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
5053 only for glibc.
5054
d32d7e3a 50552012-03-28 Georg-Johann Lay <avr@gjlay.de>
5056
5057 PR target/52737
5058 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
5059 instead of __AVR_HAVE_8BIT_SP__.
5060
6aadb6e2 50612012-03-26 Tristan Gingold <gingold@adacore.com>
5062
5063 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
5064 (unw_table_entry): Use unw_word instead of unsigned long.
5065 (_Unwind_FindTableEntry): Likewise.
5066 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
5067 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
5068 (_Unwind_FindTableEntry): Likewise.
5069 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
5070 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
5071 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
5072 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
5073 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
5074 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
5075 (uw_init_context_1, uw_install_context): Likewise.
5076 (unw_word): Move to unwind-ia64.h
5077
784576c7 50782012-03-26 Tristan Gingold <gingold@adacore.com>
5079
5080 * config/vms/vms-ucrt0.c: Update copyright years.
5081 Add a sanity check.
5082 (___gcc_main_flags): Declare.
5083 (__main): Check flags to remap argv and exit code.
5084 * config.host (*-*-*vms*): Adjust extra_parts.
5085 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
5086 (crt0.o): Add.
5087
483ac460 50882012-03-22 Richard Earnshaw <rearnsha@arm.com>
5089
5090 * arm/lib1funcs.asm (ctzsi2): New function.
5091 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
5092 * arm/t-linux (LIB1ASMFUNCS): Likewise.
5093 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
5094 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
5095 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
5096 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
5097
bdd1ee48 50982012-03-21 Andreas Tobler <andreast@fgznet.ch>
5099
5100 * config.host: Add bits to support powerpc64-*-freebsd*.
5101 * config/rs6000/freebsd-unwind.h: New file.
5102 * config/rs6000/t-freebsd64: New file.
5103
df85f61c 51042012-03-20 Richard Guenther <rguenther@suse.de>
5105
5106 PR gcov-profile/52627
5107 * libgcov.c (init_mx): Fix mutex name.
5108
46da3ce5 51092012-03-16 Tristan Gingold <gingold@adacore.com>
5110
5111 * config/ia64/vms-unwind.h: Remove ulong (and replace
5112 it by unw_reg where used). Define unw_reg with __int64.
5113
264a5d11 51142012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5115
5116 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5117 Solaris 8 handling.
5118 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5119 Solaris 8 handling.
5120 (sparc_is_sighandler): Likewise.
5121
42b3e3d6 51222012-03-13 H.J. Lu <hongjiu.lu@intel.com>
5123
5124 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
5125 <= saved reg size.
5126
c2c4377d 51272012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5128
5129 * config/arm/crtn.S: Fix typo.
5130
3f2da048 51312012-03-13 Richard Guenther <rguenther@suse.de>
5132
5133 * libgcov.c: Remove stdio.h include and NULL un-define.
5134
b4e1521f 51352012-03-13 Richard Guenther <rguenther@suse.de>
5136
5137 PR target/52569
5138 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
5139
1d110375 51402012-03-13 Richard Guenther <rguenther@suse.de>
5141
5142 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5143
0e6ad699 51442012-03-13 Richard Guenther <rguenther@suse.de>
5145
5146 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
5147 and __gthread_mutex_init_function definitions.
5148
1f7e141e 51492012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5150
5151 * config.host (mips*-*-openbsd*): Remove.
5152
126b6848 51532012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5154
5155 * config.host: Remove alpha*-dec-osf5.1* handling.
5156 * config/alpha/gthr-posix.c: Remove.
5157 * config/alpha/libgcc-osf5.ver: Remove.
5158 * config/alpha/osf5-unwind.h: Remove.
5159 * config/alpha/t-osf-pthread: Remove.
5160 * config/alpha/t-slibgcc-osf: Remove.
5161 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
5162 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
5163 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
5164 * mkmap-flat.awk: Remove osf_export handling.
5165
2e7d9be1 51662012-03-12 Richard Guenther <rguenther@suse.de>
5167
5168 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
5169 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5170 (__gthread_mutex_init_function): New function.
5171 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
5172
5173 PR gcov/49484
5174 * libgcov.c: Include gthr.h.
5175 (__gcov_flush_mx): New global variable.
5176 (init_mx, init_mx_once): New functions.
5177 (__gcov_flush): Protect self with a mutex.
5178 (__gcov_fork): Re-initialize mutex after forking.
5179 * unwind-dw2-fde.c: Change condition under which to use
5180 __GTHREAD_MUTEX_INIT_FUNCTION.
5181
8f852c44 51822012-03-12 Tristan Gingold <gingold@adacore.com>
5183
5184 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5185 * config/ia64/t-vms: Likewise.
5186
04d5d0ad 51872012-03-11 Michael Hope <michael.hope@linaro.org>
5188
7b9088d5 5189 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5190 for Thumb-2.
04d5d0ad 5191
3d14844b 51922012-03-07 Walter Lee <walt@tilera.com>
5193
5194 * config/tilepro/atomic.c: Rename "atomic_" prefix to
5195 "arch_atomic_".
5196 (atomic_xor): Rename and move definition to
5197 config/tilepro/atomic.h.
5198 (atomic_nand): Ditto.
5199 * config/tilepro/atomic.h: Rename "atomic_" prefix to
5200 "arch_atomic_".
5201 (arch_atomic_xor): Move from config/tilepro/atomic.c.
5202 (arch_atomic_nand): Ditto.
5203
3abce231 52042012-03-07 Georg-Johann Lay <avr@gjlay.de>
5205
5206 PR target/52507
5207 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
5208
ee3ce577 52092012-03-07 Georg-Johann Lay <avr@gjlay.de>
5210
5211 PR target/52505
5212 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
5213 from RAM.
5214
be20cbdd 52152012-03-07 Georg-Johann Lay <avr@gjlay.de>
5216
5217 PR target/52461
5218 PR target/52508
5219 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
5220 if RAMPZ affects reading from RAM.
5221 (__tablejump_elpm__): Ditto.
5222 (.xload): Ditto.
5223 (__movmemx_hi): Ditto.
5224 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
5225 (__do_global_dtors): Ditto.
5226 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
5227 (__movmemx_hi): Ditto.
5228
e9b46b49 52292012-03-05 Richard Henderson <rth@redhat.com>
5230
5231 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
5232 [ARM] (count_trailing_zeros): Use the builtin.
5233
2da7d23a 52342012-03-01 Kai Tietz <ktietz@redhat.com>
5235
5236 * soft-fp: Imported from glibc upstream.
5237
ed67de04 52382012-02-28 Kai Tietz <ktietz@redhat.com>
5239
5240 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
5241 for mingw-targets as attribute gcc_struct.
5242
154b49cd 52432012-02-28 Ian Lance Taylor <iant@google.com>
5244
5245 * generic-morestack.c (__splitstack_releasecontext): Correct call
5246 to __morestack_release_segments.
5247
8d2259c8 52482012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5249
5250 PR target/52390
5251 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
5252 for __linux__ when removing signals from __morestack_fullmask.
5253
97e18ae2 52542012-02-23 Georg-Johann Lay <avr@gjlay.de>
5255
5256 PR target/52261
5257 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
5258
c3dd2023 52592012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5260
5261 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
5262 instead of HAVE_INITFINI_ARRAY.
5263 * config/ia64/crtend.S: Likewise.
5264
7ed6dbef 52652012-02-20 Kai Tietz <ktietz@redhat.com>
5266
52cec843 5267 PR libstdc++/52300
5268 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5269
7ed6dbef 5270 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5271 to w32-unwind.h header.
5272
6a8f7b8b 52732012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5274
5275 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
5276 (mips*-*-linux*): Remove t-slibgcc-libgcc.
5277 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
5278 * config/mips/mips16.S (__mips16_rdhwr): Delete.
5279
7db87803 52802012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5281
5282 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5283
d114e642 52842012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5285
5286 PR libitm/52220
5287 * config/darwin-crt-tm.c: Correct typo.
154b49cd 5288
b8f45854 52892012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5290 Patrick Marlier <patrick.marlier@gmail.com>
5291
5292 PR libitm/52220
5293 * config/darwin-crt-tm.c: Generate dummy functions.
5294
621d0dd2 52952012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5296 Patrick Marlier <patrick.marlier@gmail.com>
5297
5298 PR libitm/52042
5299 * config/darwin-crt-tm.c (getTMCloneTable): New function.
5300 (__doTMRegistrations): Call it.
154b49cd 5301 (__doTMdeRegistrations): Likewise.
621d0dd2 5302
0b6cf66f 53032012-01-15 Georg-Johann Lay <avr@gjlay.de>
92e91d03 5304 Anatoly Sokolov <aesok@post.ru>
5305 Eric Weddington <eric.weddington@atmel.com>
0b6cf66f 5306
5307 PR target/52261
5308 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5309 (__epilogue_restores__): Ditto.
5310
99e0a0ad 53112012-02-15 Eric Botcazou <ebotcazou@adacore.com>
5312
5313 PR target/51921
5314 PR target/52205
5315 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
5316 Solaris 11 and slightly reformat.
5317 (sparc_is_sighandler): Likewise.
5318
7ce78e23 53192012-02-14 Walter Lee <walt@tilera.com>
5320
5321 * config.host: Handle tilegx and tilepro.
5322 * config/tilegx/sfp-machine.h: New file.
5323 * config/tilegx/sfp-machine32.h: New file.
5324 * config/tilegx/sfp-machine64.h: New file.
5325 * config/tilegx/t-crtstuff: New file.
5326 * config/tilegx/t-softfp: New file.
5327 * config/tilegx/t-tilegx: New file.
5328 * config/tilepro/atomic.c: New file.
5329 * config/tilepro/atomic.h: New file.
5330 * config/tilepro/linux-unwind.h: New file.
5331 * config/tilepro/sfp-machine.h: New file.
5332 * config/tilepro/softdivide.c: New file.
5333 * config/tilepro/softmpy.S: New file.
5334 * config/tilepro/t-crtstuff: New file.
5335 * config/tilepro/t-tilepro: New file.
5336
f47763a6 53372012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
5338
5339 PR libstdc++/51296
5340 PR libstdc++/51906
5341 * gthr-posix.h: Allow static initializer macros to be disabled.
5342 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
5343
674cb359 53442012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
5345
5346 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
5347 Add t-slibgcc-libgcc to tmake_file.
5348 * config/mips/libgcc-mips16.ver: Revert previous patch.
5349 * config/mips/mips16.S (__mips16_rdhwr): Hide.
5350
92e91d03 53512012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5352 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b9fdd12b 5353
5354 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
5355 * config/cr16/crti.S: New file.
5356 * config/cr16/crtlibid.S: New file.
5357 * config/cr16/crtn.S: New file.
5358 * config/cr16/lib1funcs.S: New file.
5359 * config/cr16/t-cr16: New file.
5360 * config/cr16/t-crtlibid: New file.
5361 * config/cr16/unwind-dw2.h: New file.
5362 * config/cr16/unwind-cr16.c: New file.
5363 * config/cr16/divmodhi3.c: New file.
5364
01cdc5b2 53652012-01-25 Alan Modra <amodra@gmail.com>
5366
5367 * config/rs6000/t-linux64: Delete. Move..
5368 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
5369 * config/rs6000/t-linux: ..and libgcc flags to here.
5370
af8e12d0 53712012-01-22 Douglas B Rupp <rupp@gnat.com>
5372
5373 * config.host (i[34567]86-*-interix3*):
01cdc5b2 5374 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 5375 * configure: Regenerate.
5376
a657080a 53772012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
5378 Richard Sandiford <rdsandiford@googlemail.com>
5379
5380 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
5381 * config/mips/mips16.S (__mips16_rdhwr): New function.
5382 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
5383
72e76fa0 53842012-01-11 Nathan Sidwell <nathan@acm.org>
5385
5386 * libgcov.c (__gcov_init): Ignore objects with no functions.
5387
ed2541ea 53882012-01-10 Georg-Johann Lay <avr@gjlay.de>
5389
5390 PR target/49868
5391 Extend __pgmx semantics to linearize memory.
5392 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
5393 * config/avr/lib1funcs.S (__xload_1): New function.
5394 (__movmemx_qi, __movmemx_hi): New functions.
5395 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
5396 semantics.
ddf97006 5397
6e647e51 53982012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5399
5400 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
5401 purported sigacthandler address isn't null before dereferencing it.
5402 (sparc_is_sighandler): Likewise.
5403
af185b18 54042012-01-09 Eric Botcazou <ebotcazou@adacore.com>
5405
5406 PR ada/41929
5407 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
5408 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
5409 (sparc_is_sighandler): Likewise.
5410 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
5411
2ff958e6 54122012-01-06 Tristan Gingold <gingold@adacore.com>
5413
5414 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
5415 compatibility thunks...
5416 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
5417 (crtbeginS.o, crtendS.o): ... and these to ...
5418 * config/ia64/t-ia64-elf: ... this new file.
5419 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
5420 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
5421
ce94380e 54222012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5423
5424 * configure: Regenerate.
5425 * config/s390/t-crtstuff: Remove -fPIC.
5426
ca4c7704 54272012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
5428
5429 PR bootstrap/51006
5430 * enable-execute-stack-mprotect.c (getpagesize): Do not define
5431 for NetBSD.
5432
b32bc361 54332012-01-02 Georg-Johann Lay <avr@gjlay.de>
5434
5435 PR target/51345
5436 * config/avr/lib1funcs.S: Remove FIXME comments.
5437 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
5438
83921eda 54392012-01-02 Georg-Johann Lay <avr@gjlay.de>
5440
5441 Implement light-weight DImode support.
5442 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
5443 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
5444 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
5445 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
5446
6071b85b 54472011-12-30 Nathan Sidwell <nathan@acm.org>
5448
5449 * libgcov.c (gcov_crc32): Remove global var.
5450 (free_fn_data): New function.
5451 (buffer_fn_data): Pass in filename, more robust error recovery.
5452 (crc32_unsigned): New function.
5453 (gcov_exit): More robust detection of new program. More robust
5454 error recovery.
5455 (__gcov_init): Do not update program's crc here.
5456
611b540a 54572011-12-21 Tristan Gingold <gingold@adacore.com>
5458
5459 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5460
ddf97006 54612011-12-21 Ian Lance Taylor <iant@google.com>
5462
5463 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5464
0d84f164 54652011-12-20 Ian Lance Taylor <iant@google.com>
5466
5467 * config/i386/morestack.S (__morestack_non_split): If there is
5468 enough stack space already, don't split. Ask for more stack space
5469 than we required.
5470
d77ac56d 54712011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
5472
5473 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
5474 `sys/sdt.h'.
5475 (_Unwind_DebugHook): New function.
5476 (uw_restore_core_regs): New define.
5477 (unwind_phase2): Use uw_restore_core_regs instead of
5478 restore_core_regs.
5479 (unwind_phase2_forced): Likewise.
5480 (__gnu_Unwind_Resume): Likewise.
5481
80898d14 54822011-12-20 Uros Bizjak <ubizjak@gmail.com>
5483
5484 * config/alpha/linux-unwind.h: Update copyright years.
5485 (MD_FROB_UPDATE_CONTEXT): New define.
5486 (alpha_frob_update_context): New function.
5487
20dbbfaf 54882011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
5489
5490 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
5491 tmake_file rather replacing it.
5492
d42ef213 54932011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5494
5495 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 5496 function is not used for PPC64.
d42ef213 5497 (save_world): Amend comments. Update the VRsave mask to reflect the
5498 saved regs.
5499 (rest_world): Update comments, do not clobber r10, do not use r8.
5500 (eh_rest_world_r10): Amend comments, do not use r8.
5501 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
5502 no longer used, move restore of CR and target address to the end of
5503 the routine.
5504
3efc00f6 55052011-12-14 H.J. Lu <hongjiu.lu@intel.com>
5506
5507 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
5508 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
5509
fa0431fa 55102011-12-14 Georg-Johann Lay <avr@gjlay.de>
5511
5512 PR target/49313
5513 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
5514 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
5515
18e6a060 55162011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5517
5518 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5519
0dcd7d21 55202011-12-09 Georg-Johann Lay <avr@gjlay.de>
5521
5522 PR target/49313
5523 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
5524 * config/avr/lib1funcs.S (__muldi3): New function.
5525
a41e0f2d 55262011-12-06 Andrew Pinski <apinski@cavium.com>
5527
5528 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
5529 size of func_ptr.
5530 (__frame_dummy_init_array_entry): Likewise.
5531
8c8193e1 55322011-12-06 Georg-Johann Lay <avr@gjlay.de>
5533
5534 Forward-port from gcc-4_6-branch r181936 2011-12-02.
5535
5536 PR target/51345
5537 PR target/51002
5538 * config/avr/lib1funcs.S (__prologue_saves__,
5539 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
5540 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
5541
e2306166 55422011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5543
5544 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5545
61437698 55462011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5547
5548 PR other/51272
5549 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
5550 (_ITM_deregisterTMCloneTable): Likewise.
5551 (__register_frame_info): Fix unused warning.
5552 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
5553 pthread_default_stacksize_np): Likewise.
5554 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 5555
78e515f7 55562011-11-29 DJ Delorie <dj@redhat.com>
5557
5558 * config.host (rl78-*-elf): New case.
5559 * config/rl78: New directory for the Renesas RL78.
5560
adce431d 55612011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5562
5563 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5564 formatting.
5565
738c50b8 55662011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5567
5568 PR other/51022
5569 * config/rs6000/t-savresfgpr: New file.
5570 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
5571 $(srcdir)/config/rs6000/eabi.S.
5572 * config/rs6000/t-ppccomm-ldbl: Remove.
5573 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
5574 tmake_file.
5575 (powerpc-*-eabispe*): Likewise.
5576 (powerpc-*-eabi*): Likewise.
5577 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5578 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
5579 to tmake_file, remove rs6000/t-ppccomm-ldbl.
5580 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
5581 tmake_file.
5582 (powerpc-*-eabisim*): Likewise.
5583 (powerpc-*-elf*): Likewise.
5584 (powerpc-*-eabialtivec*): Likewise.
5585 (powerpc-xilinx-eabi*): Likewise.
5586 (powerpc-*-rtems*): Likewise.
5587 (powerpcle-*-elf*): Likewise.
5588 (powerpcle-*-eabisim*): Likewise.
5589 (powerpcle-*-eabi*): Likewise.
5590
bda4944f 55912011-11-27 Ian Lance Taylor <iant@google.com>
5592
5593 * generic-morestack.c (__splitstack_find): Check for NULL old
5594 stack value.
5595 (__splitstack_resetcontext): New function.
5596 (__splitstack_releasecontext): New function.
5597 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5598
00b708da 55992011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5600
5601 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5602
7c66781a 56032011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5604
5605 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5606
5bb27b7c 56072011-11-26 Richard Henderson <rth@redhat.com>
5608
5609 * config/m68k/linux-atomic.c: New file.
5610 * config/m68k/t-linux: New file.
5611 * config.host (m68k-uclinux, m68k-linux): Use it.
5612
d9ca835b 56132011-11-26 Richard Henderson <rth@redhat.com>
5614
5615 * crtstuff.c (__TMC_LIST__): Mark used not unused.
5616 (__TMC_END__): Only declare if hidden is available; in the definition,
5617 if hidden is unavailable add a null record.
5618 (deregister_tm_clones, register_tm_clones): New.
5619 (__do_global_dtors_aux, frame_dummy): Use them.
5620 (__do_global_dtors, __do_global_ctors_1): Likewise.
5621
8f8ba4fc 56222011-11-22 Iain Sandoe <iains@gcc.gnu.org>
5623
5624 * config/darwin-crt-tm.c: New file.
5625 * config.host (darwin): Build crttms.o crttme.o to provide
5626 startup and shutdown for tm clones.
5627 * config/t-darwin (crttms.o): New build rule.
5628 (crttme.o): Likewise.
5629
e426aa2b 56302011-11-21 Hans-Peter Nilsson <hp@axis.com>
5631
5632 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
5633 et al.
5634
2d171408 56352011-11-21 Richard Henderson <rth@redhat.com>
5636
5637 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
5638 (__TMC_LIST__, __TMC_END__): New.
5639 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
5640 (__do_global_dtors): Likewise.
5641 (frame_dummy): Call _ITM_registerTMCloneTable.
5642 (__do_global_ctors_1): Likewise.
5643
08417926 56442011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5645
5646 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
5647 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5648 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
5649 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
5650 * config/i386/t-darwin64: Remove.
5651 * config/sh/t-netbsd (LIB2ADD): Remove.
5652
cde39152 56532011-11-21 Georg-Johann Lay <avr@gjlay.de>
5654
5655 PR target/49313
5656 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
5657 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
5658 * config/avr/lib1funcs.S (wmov): New assembler macro.
5659 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
5660 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
5661 (__udivmod64): New function.
5662 (__negdi2): New function.
5663
30957bde 56642011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5665
5666 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5667 *-*-freebsd*aout*): Remove.
5668
a504f092 56692011-11-20 Hans-Peter Nilsson <hp@axis.com>
5670
5671 * static-object.mk (c_flags-$o): Save c_flags.
5672 ($(base)$(objext)): Use it.
5673
31da0b3d 56742011-11-18 Steve Ellcey <sje@cup.hp.com>
5675
5676 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5677
5bd39e93 56782011-11-18 Georg-Johann Lay <avr@gjlay.de>
5679
5680 PR target/49868
5681 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
5682 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
5683 New functions.
5684
a3bfd5b2 56852011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5686
5687 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5688 functions.
80898d14 5689 (aeabi_uidivmod): Likewise.
a3bfd5b2 5690 (umodsi3): Likewise.
5691 (divsi3): Likewise.
5692 (aeabi_idivmod): Likewise.
5693 (modsi3): Likewise.
5694
3512ee5b 56952011-11-16 Tristan Gingold <gingold@adacore.com>
5696
5697 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5698
4202ef11 56992011-11-15 Georg-Johann Lay <avr@gjlay.de>
5700
5701 PR target/49868
5702 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
5703 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
5704
ab4fdb3d 57052011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5706
5707 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
5708 tmake_file list.
5709 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
5710 * config/pa/t-stublib64: Delete.
5711
eee57ca7 57122011-11-12 Richard Henderson <rth@redhat.com>
5713
5714 * config/rs6000/linux-unwind.h (frob_update_context): Properly
5715 cast the pointer argument to _Unwind_SetGRPtr.
5716
0c74e0e8 57172011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5718
5719 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5720
23371076 57212011-11-09 Ian Lance Taylor <iant@google.com>
5722
5723 * generic-morestack.c: Include <string.h>.
5724 (uintptr_type): Define.
5725 (struct initial_sp): Add dont_block_signals field. Reduce size of
5726 extra array by 1.
5727 (allocate_segment): Set prev field to NULL. Don't set
5728 __morestack_current_segment or __morestack_segments.
5729 (__generic_morestack): Update current->prev and *pp after calling
5730 allocate_segment.
5731 (__morestack_block_signals): Don't do anything if
5732 dont_block_signals is set.
5733 (__morestack_unblock_signals): Likewise.
5734 (__generic_findstack): Check for initial_sp == NULL. Add casts to
5735 uintptr_type.
5736 (__splitstack_block_signals): New function.
5737 (enum __splitstack_content_offsets): Define.
5738 (__splitstack_getcontext, __splitstack_setcontext): New functions.
5739 (__splitstack_makecontext): New function.
5740 (__splitstack_block_signals_context): New function.
5741 (__splitstack_find_context): New function.
5742 * config/i386/morestack.S (__morestack_get_guard): New function.
5743 (__morestack_set_guard, __morestack_make_guard): New functions.
5744 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
5745
2d00fffd 57462011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5747
5748 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
5749 (i[34567]86-*-mingw*): ... here.
5750 (x86_64-*-mingw*): ... here.
5751
6886ca41 57522011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5753
5754 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5755
5014df5d 57562011-11-07 Nathan Sidwell <nathan@acm.org>
5757
5758 * libgcov.c (struct gcov_fn_buffer): New struct.
5759 (buffer_fn_data): New helper.
5760 (gcov_exit): Rework for new gcov data structures.
5761
702a5eec 57622011-11-07 Georg-Johann Lay <avr@gjlay.de>
5763
5764 PR target/49313
5765 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5766
2219274c 57672011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5768
5769 * config.host (tmake_file): Correct comment.
5770 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
5771 t-libgcc-pic.
5772 (bfin*-uclinux*): Likewise.
5773 (bfin*-linux-uclibc*): Likewise.
5774 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
5775
5776 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
5777 assigning.
5778 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5779 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
5780 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5781 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
5782 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5783 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
5784 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
5785 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
5786 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
5787 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
5788 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
5789 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
5790 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
5791
5792 * config/bfin/t-elf: Remove.
5793 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
5794
fbb6f195 57952011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5796
5797 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
5798 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
5799 (lm32-*-elf*, lm32-*-rtems*): Split into ...
5800 (lm32-*-elf*): ... this.
5801 (lm32-*-rtems*): ... and this.
5802 Add to tmake_file.
5803 (m32r-*-rtems*): Add to tmake_file.
5804 (moxie-*-rtems*): Likewise.
5805 (sparc-*-rtems*): Likewise.
5806 Remove t-rtems from tmake_file.
5807 (sparc64-*-rtems*): Likewise.
5808 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
5809 instead.
5810
7336fab9 58112011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5812
5813 PR bootstrap/50982
5814 * config/gthr-posix.h: Move ...
5815 * gthr-posix.h: ... here.
5816 * config/gthr-lynx.h: Reflect this.
5817 * config/gthr-vxworks.h: Likewise.
5818 * config/rs6000/gthr-aix.h: Likewise.
5819 * configure.ac (target_thread_file): Likewise.
5820 * configure: Regenerate.
5821
6c10eb68 58222011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5823
5824 * config.host (arm*-*-rtemseabi*): New target.
5825
3fe1f35b 58262011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5827
5828 PR other/50991
5829 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
5830 extra-parts.
5831
d19f5793 58322011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5833
5834 * config.host (epiphany-*-elf*): New configuration.
5835 * config/epiphany: New Directory.
5836
02c5dcd9 58372011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
5838
5839 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
5840 * config/avr/t-rtems: New.
5841 Filter out _exit from LIB1ASMFUNCS.
5842
f3223c0b 58432011-11-04 David S. Miller <davem@davemloft.net>
5844
5845 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
5846 * configure: Rebuild.
5847
994652ec 58482011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5849
5850 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
5851 variable.
5852
02d9a2c3 58532011-11-04 Georg-Johann Lay <avr@gjlay.de>
5854
5855 PR target/50931
5856 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
5857 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
5858
81b973fe 58592011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5860
5861 PR target/50989
5862 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5863
ae1b140e 58642011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5865
5866 * config/c6x/t-elf (LIB2ADDEH): Set.
5867 * config/c6x/t-c6x-elf: Remove.
5868
0a76a5ff 58692011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5870
5871 * config/i386/sol2-ci.S: Rename to ...
5872 * config/i386/crti.S: ... this.
5873 * config/i386/sol2-cn.S: Rename to ...
5874 * config/i386/crtn.S: ... this.
5875 * config/sparc/sol2-ci.S: Rename to ...
5876 * config/sparc/crti.S: ... this.
5877 * config/sparc/sol2-cn.S: Rename to ...
5878 * config/sparc/crtn.S: ... this.
5879 * config/t-sol2 (CUSTOM_CRTIN): Remove.
5880 (crti.o, crtn.o): Remove.
5881
26f2feff 58822011-11-04 Tristan Gingold <gingold@adacore.com>
5883
5884 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5885
131667b5 58862011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
5887
5888 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5889
af64ed6f 58902011-11-03 Hans-Peter Nilsson <hp@axis.com>
5891
5892 * config.host (crisv32-*-none, cris-*-none): Remove.
5893 (crisv32-*-elf): Append to tmake_file, don't just set it.
5894 (cris-*-elf): Add missing t-fdpbit to tmake_file.
5895
4dad46bd 58962011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5897
5898 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
5899 (ecrtn$(objext)): Likewise.
5900 (ncrti$(objext)): Likewise.
5901 (ncrtn$(objext)): Likewise.
5902
37626bf8 59032011-11-03 Andreas Schwab <schwab@redhat.com>
5904
5905 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5906
95de80bc 59072011-11-02 David S. Miller <davem@davemloft.net>
5908
5909 * configure.ac: Set host_address on sparc too.
5910 * configure: Regenerate.
5911 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
5912 based upon host_address.
5913 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
5914
b5347955 59152011-11-02 Jason Merrill <jason@redhat.com>
5916
5917 * config/rs6000/t-ppccomm: Add missing \.
5918
630d52ca 59192011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5920
5921 * gthr-single.h, gthr.h: New files.
5922 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
5923 config/gthr-vxworks.h, config/i386/gthr-win32.h,
5924 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
5925 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
5926 * config/i386/gthr-win32.c: Include "gthr-win32.h".
5927 * configure.ac (thread_header): New variable.
5928 Set it depending on target_thread_file.
5929 (gthr-default.h): Link from $thread_header.
5930 * configure: Regenerate.
5931 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
5932
022a2799 59332011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5934
5935 * configure.ac (tm_file_): New variable.
5936 Determine from tm_file.
5937 (tm_file, tm_defines): Substitute.
5938 * configure: Regenerate.
5939 * mkheader.sh: New file.
5940 * Makefile.in (clean): Remove libgcc_tm.h.
5941 ($(objects)): Depend on libgcc_tm.h.
5942 (libgcc_tm_defines, libgcc_tm_file): New variables.
5943 (libgcc_tm.h, libgcc_tm.stamp): New targets.
5944 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
5945 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
5946 ($(extra-parts)): Depend on libgcc_tm.h.
5947 * config.host (tm_defines, tm_file): New variable.
5948 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
5949 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
5950 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
5951 (avr-*-rtems*): Likewise.
5952 (avr-*-*): Likewise.
5953 (frv-*-elf): Likewise.
5954 (frv-*-*linux*): Likewise.
5955 (h8300-*-rtems*): Likewise.
5956 (h8300-*-elf*): Likewise.
5957 (i[34567]86-*-darwin*): Likewise.
5958 (x86_64-*-darwin*): Likewise.
5959 (rx-*-elf): Likewise.
5960 (tic6x-*-uclinux): Likewise.
5961 (tic6x-*-elf): Likewise.
5962 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
5963 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
5964 * config/i386/cygming-crtbegin.c: Likewise.
5965 * config/i386/cygming-crtend.c: Likewise.
5966 * config/ia64/fde-vms.c: Likewise.
5967 * config/ia64/unwind-ia64.c: Likewise.
5968 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5969 * config/rs6000/darwin-fallback.c: Likewise.
5970 * config/stormy16/lib2funcs.c: Likewise.
5971 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
5972 * crtstuff.c: Likewise.
5973 * dfp-bit.h: Likewise.
5974 * emutls.c: Likewise.
5975 * fixed-bit.c: Likewise.
5976 * fp-bit.c: Likewise.
5977 * generic-morestack-thread.c: Likewise.
5978 * generic-morestack.c: Likewise.
5979 * libgcc2.c: Likewise.
5980 * libgcov.c: Likewise.
5981 * unwind-dw2-fde-dip.c: Likewise.
5982 * unwind-dw2-fde.c: Likewise.
5983 * unwind-dw2.c: Likewise.
5984 * unwind-sjlj.c: Likewise.
5985
4dc4ff49 59862011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5987
5988 * configure.ac: Include ../config/picflag.m4.
5989 (GCC_PICFLAG): Call it.
5990 Substitute.
5991 * configure: Regenerate.
5992 * Makefile.in (gcc_srcdir): Remove.
5993 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
5994 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
5995 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
5996 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
5997 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
5998 Use $<.
5999 Remove comment.
6000 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
6001 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
6002 to refer to libgcc2.c.
6003 Use $<.
6004 * config/darwin-64.c: New file.
6005 * config/darwin-crt3.c: Remove comment.
6006 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
6007 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
6008 config/udivmodsi4.c: New files.
6009 * config/memcmp.c, config/memcpy.c, config/memmove.c,
6010 config/memset.c: New files.
6011 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
6012 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
6013 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
6014 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
6015 * config/t-openbsd-thread: New file.
6016 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
6017 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
6018 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
6019 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
6020 qrnnd.S.
6021 Adapt filename.
6022 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
6023 to refer to gthr-posix.c.
6024 * config/alpha/t-vms (LIB2ADD): Set.
6025 * config/alpha/vms-gcc_shell_handler.c: New file.
6026 * config/arm/bpabi.c, config/arm/fp16.c,
6027 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
6028 config/arm/unaligned-funcs.c: New files.
6029 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
6030 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6031 * config/arm/t-linux: Likewise.
6032 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
6033 * config/arm/t-netbsd: New file.
6034 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
6035 * config/arm/t-symbian (LIB2ADD_ST): Set.
6036 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
6037 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6038 * config/bfin/t-elf: New file.
6039 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
6040 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
6041 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
6042 config/c6x/ltf.c: New files.
6043 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
6044 (HOST_LIBGCC2_CFLAGS): Set.
6045 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
6046 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6047 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
6048 New files.
6049 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
6050 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
6051 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
6052 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
6053 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
6054 files.
6055 * config/frv/t-frv (LIB2ADD): Set.
6056 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6057 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
6058 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
6059 config/h8300/popcounthi2.c: New files.
6060 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6061 * config/i386/gthr-win32.c: New file.
6062 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
6063 * config/i386/t-cygwin: Likewise.
6064 * config/i386/t-darwin, config/i386/t-darwin64,
6065 config/i386/t-gthr-win32, config/i386/t-interix: New files.
6066 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
6067 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6068 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6069 * config/ia64/quadlib.c: New file.
6070 * config/ia64/t-hpux (LIB2ADD): Set.
6071 * config/ia64/t-ia64: Add comment.
6072 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
6073 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6074 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
6075 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
6076 * config/m32c/t-m32c (LIB2ADD): Set.
6077 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6078 * config/m32r/t-m32r: Likewise.
6079 * config/m68k/fpgnulib.c: New file.
6080 * config/m68k/t-floatlib (LIB2ADD): Set.
6081 (xfgnulib.c): New target.
6082 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
6083 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
6084 * config/mep/t-mep (LIB2ADD): Set.
6085 * config/microblaze/divsi3.asm: Rename to divsi3.S.
6086 * config/microblaze/moddi3.asm: Rename to moddi3.S.
6087 * config/microblaze/modsi3.asm: Rename to modsi3.S.
6088 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
6089 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
6090 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
6091 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
6092 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
6093 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
6094 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
6095 New files.
6096 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
6097 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
6098 * config/pa/fptr.c, config/pa/lib2funcs.S,
6099 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
6100 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
6101 (LIB2ADD, LIB2ADD_ST): Set.
6102 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
6103 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
6104 Set.
6105 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
6106 * config/pdp11/t-pdp11: New file.
6107 * config/picochip/libgccExtras/adddi3.S,
6108 config/picochip/libgccExtras/ashlsi3.S,
6109 config/picochip/libgccExtras/ashrsi3.S,
6110 config/picochip/libgccExtras/clzsi2.S,
6111 config/picochip/libgccExtras/cmpsi2.S,
6112 config/picochip/libgccExtras/divmod15.S,
6113 config/picochip/libgccExtras/divmodhi4.S,
6114 config/picochip/libgccExtras/divmodsi4.S,
6115 config/picochip/libgccExtras/lshrsi3.S,
6116 config/picochip/libgccExtras/parityhi2.S,
6117 config/picochip/libgccExtras/popcounthi2.S,
6118 config/picochip/libgccExtras/subdi3.S,
6119 config/picochip/libgccExtras/ucmpsi2.S,
6120 config/picochip/libgccExtras/udivmodhi4.S,
6121 config/picochip/libgccExtras/udivmodsi4.S: New files.
6122 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
6123 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
6124 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
6125 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
6126 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
6127 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
6128 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
6129 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
6130 files.
6131 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
6132 (HOST_LIBGCC2_CFLAGS): Set.
6133 * config/rs6000/t-darwin64: New file.
6134 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
6135 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
6136 * config/rs6000/t-ppccomm (LIB2ADD): Add
6137 $(srcdir)/config/rs6000/tramp.S.
6138 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
6139 Add $(srcdir)/config/rs6000/eabi.S.
6140 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
6141 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
6142 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
6143 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
6144 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
6145 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
6146 * config/rs6000/tramp.S: New file.
6147 * config/s390/t-tpf: Remove.
6148 * config/sh/linux-atomic.S: New file.
6149 * config/sh/t-linux (LIB2ADD): Set.
6150 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
6151 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
6152 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
6153 to unwind-dw2.c.
6154 (HOST_LIBGCC2_CFLAGS): Set.
6155 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
6156 * config/spu/divmodti4.c, config/spu/divv2df3.c,
6157 config/spu/float_disf.c, config/spu/float_unsdidf.c,
6158 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
6159 config/spu/mfc_multi_tag_release.c,
6160 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
6161 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
6162 config/spu/multi3.c: New files.
6163 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
6164 (HOST_LIBGCC2_CFLAGS): Set.
6165 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
6166 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
6167 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
6168 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
6169 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
6170 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
6171 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
6172 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
6173 config/stormy16/umodsi3.c: New files.
6174 * config/xtensa/lib2funcs.S: New file.
6175 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
6176 * config/xtensa/t-xtensa (LIB2ADD): Set.
6177 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
6178 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
6179 Add t-freebsd-thread to tmake_file for posix threads.
6180 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
6181 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
6182 (*-*-lynxos*): Likewise.
6183 (*-*-netbsd*): Likewise.
6184 (*-*-openbsd*): Likewise.
6185 Add t-openbsd-thread to tmake_file for posix threads.
6186 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
6187 (*-*-vxworks*): Set tmake_file.
6188 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6189 (alpha*-*-freebsd*): Likewise.
6190 (alpha*-*-netbsd*): Likewise.
6191 (alpha*-*-openbsd*): Likewise.
6192 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
6193 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
6194 (alpha*-dec-*vms*): Likewise.
6195 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
6196 (bfin*-elf*): Add bfin/t-elf to tmake_file.
6197 (bfin*-uclinux*): Likewise.
6198 (bfin*-linux-uclibc*): Likewise.
6199 (crisv32-*-elf): Add cris/t-cris to tmake_file.
6200 (crisv32-*-none): Likewise.
6201 (cris-*-elf): Likewise.
6202 (cris-*-none): Likewise.
6203 (cris-*-linux*, crisv32-*-linux*): Likewise.
6204 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
6205 tmake_file.
6206 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
6207 tmake_file.
6208 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
6209 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
6210 (x86_64-*-elf*): Likewise.
6211 (i[34567]86-*-nto-qnx*): Likewise.
6212 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
6213 win32 threads.
6214 (x86_64-*-mingw*): Likewise.
6215 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
6216 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
6217 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6218 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6219 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
6220 tmake_file.
6221 (mipsisa64sr71k-*-elf*): Likewise.
6222 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6223 (mips-*-elf*, mipsel-*-elf*): Likewise.
6224 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6225 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6226 (mips*-*-rtems*): Likewise.
6227 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
6228 to tmake_file.
6229 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
6230 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
6231 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
6232 (spu-*-elf*): Likewise.
6233 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
6234
9213d2eb 62352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6236
6237 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
6238 $(srcdir) to refer to $(LIB1ASMSRC).
6239 Use $<.
6240 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
6241 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
6242 config/arm/lib1funcs.S: New files.
6243 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
6244 * config/arm/t-arm: New file.
6245 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
6246 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
6247 config/arm/t-strongarm-elf: New files.
6248 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
6249 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
6250 * config/avr/lib1funcs.S: New file.
6251 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6252 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
6253 * config/c6x/lib1funcs.S: New file.
6254 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6255 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
6256 * config/frv/lib1funcs.S: New file.
6257 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6258 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
6259 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
6260 * config/ia64/__divxf3.asm: Rename to ...
6261 * config/ia64/__divxf3.S: ... this.
6262 Adapt lib1funcs.asm filename.
6263 * config/ia64/_fixtfdi.asm: Rename to ...
6264 * config/ia64/_fixtfdi.S: ... this.
6265 Adapt lib1funcs.asm filename.
6266 * config/ia64/_fixunstfdi.asm: Rename to ...
6267 * config/ia64/_fixunstfdi.S: ... this.
6268 Adapt lib1funcs.asm filename.
6269 * config/ia64/_floatditf.asm: Rename to ...
6270 * config/ia64/_floatditf.S: ... this.
6271 Adapt lib1funcs.asm filename.
6272 * config/ia64/lib1funcs.S: New file.
6273 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
6274 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6275 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
6276 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
6277 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
6278 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
6279 * config/mep/lib1funcs.S: New file.
6280 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6281 * config/mips/mips16.S: New file.
6282 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6283 * config/pa/milli64.S: New file.
6284 * config/pa/t-linux, config/pa/t-linux64: New files.
6285 * config/picochip/lib1funcs.S: New file.
6286 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6287 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
6288 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
6289 * config/sh/t-netbsd: New file.
6290 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
6291 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
6292 * config/sh/t-sh64: New file.
6293 * config/sparc/lb1spc.S: New file.
6294 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
6295 filename.
6296 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
6297 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
6298 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
6299 config/xtensa/lib1funcs.S: New files.
6300 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
6301 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
6302 tmake_file.
6303 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
6304 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
6305 (arm*-*-linux*): Likewise.
6306 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
6307 arm*-*-linux-*eabi, add arm/t-linux otherwise.
6308 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
6309 (arm*-*-ecos-elf): Likewise.
6310 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6311 (arm*-*-rtems*): Likewise.
6312 (arm*-*-elf): Likewise.
6313 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
6314 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
6315 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
6316 (bfin*-uclinux*): Likewise.
6317 (bfin*-linux-uclibc*): Likewise.
6318 (bfin*-rtems*): Likewise.
6319 (bfin*-*): Likewise.
6320 (fido-*-elf): Merge into m68k-*-elf*.
6321 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
6322 (frv-*-*linux*): Add frv/t-frv to tmake_file.
6323 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
6324 (h8300-*-elf*): Likewise.
6325 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
6326 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
6327 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
6328 (i[34567]86-*-mingw*): Likewise.
6329 (x86_64-*-mingw*): Likewise.
6330 (i[34567]86-*-interix3*): Likewise.
6331 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
6332 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
6333 (m68k-*-elf*): Also handle fido-*-elf.
6334 Add m68k/t-floatlib to tmake_file.
6335 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
6336 (m68k-*-linux*): Likewise.
6337 (m68k-*-rtems*): Likewise.
6338 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
6339 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
6340 sh64*-*-*.
6341 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
6342 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
6343 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
6344 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
6345 sh/t-netbsd to tmake_file.
6346 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
6347 (sh-*-rtems*): Add sh/t-sh to tmake_file.
6348 (sh-wrs-vxworks): Likewise.
6349 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
6350 *-leon[3-9]*.
6351 (v850*-*-*): Add v850/t-v850 to tmake_file.
6352 (vax-*-linux*): Add vax/t-linux to tmake_file.
6353 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
6354
237490bf 63552011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6356
6357 * crtstuff.c: New file.
6358 * Makefile.in (CRTSTUFF_CFLAGS): Define.
6359 (CRTSTUFF_T_CFLAGS): Define.
6360 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
6361 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
6362 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
6363 crtstuff.c.
6364 Use $<.
6365 (crtbeginT.o): Use $(objext).
6366 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
6367 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
6368 (gcc-extra-parts): Remove.
6369 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
6370 Set extra_parts.
6371 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6372 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
6373 Add t-crtstuff-pic to tmake_file.
6374 (*-*-lynxos*): New case.
6375 Set tmake_file, extra_parts.
6376 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
6377 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
6378 *-*-netbsdelf[2-9]*.
6379 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
6380 (*-*-rtems*): Set extra_parts.
6381 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
6382 (*-*-uclinux*): New case.
6383 Set extra_parts.
6384 (*-*-vms*): New case.
6385 Set tmake_file, extra_parts.
6386 (*-*-elf): Set extra_parts.
6387 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
6388 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
6389 vms/t-vms64.
6390 Set extra_parts.
6391 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
6392 Set extra_parts.
6393 (arm*-*-freebsd*): Add t-crtin to tmake_file.
6394 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
6395 (arm-wrs-vxworks): Append to tmake_file.
6396 Set extra_parts.
6397 (arm*-*-uclinux*): Set extra_parts.
6398 (arm*-*-ecos-elf): Likewise.
6399 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
6400 arm*-*-eabi*.
6401 (arm*-*-rtems*): Set extra_parts.
6402 (arm*-*-elf): Likewise.
6403 (avr-*-rtems*): Clear extra_parts.
6404 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
6405 Set extra_parts.
6406 (bfin*-uclinux*): Likewise.
6407 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
6408 (bfin*-rtems*): Append to tmake_file.
6409 Set extra_parts.
6410 (bfin*-*): Likewise.
6411 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
6412 (crisv32-*-elf): ... this.
6413 (crisv32-*-none): ... this.
6414 (cris-*-elf, cris-*-none): New cases.
6415 Add cris/t-elfmulti to tmake_file.
6416 (fr30-*-elf): Append to tmake_file.
6417 Set extra_parts.
6418 (frv-*-elf): Append to tmake_file, add frv/t-frv.
6419 Set extra_parts.
6420 (h8300-*-rtems*): Append to tmake_file.
6421 Set extra_parts.
6422 (h8300-*-elf*): Likewise.
6423 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
6424 Set extra_parts.
6425 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
6426 Set extra_parts.
6427 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
6428 (x86_64-*-elf*): Likewise.
6429 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
6430 (x86_64-*-freebsd*): Likewise.
6431 (x86_64-*-netbsd*): Likewise.
6432 (i[34567]86-*-linux*): Likewise.
6433 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6434 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6435 (x86_64-*-linux*): Likewise.
6436 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6437 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
6438 tmake_file.
6439 Set extra_parts.
6440 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
6441 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
6442 Append to extra_parts, remove crtbegin.o, crtend.o.
6443 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
6444 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
6445 crtend.o, crtbeginS.o, crtendS.o.
6446 (ia64*-*-linux*): Comment extra_parts.
6447 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
6448 Set extra_parts.
6449 (iq2000*-*-elf*): Clear extra_parts.
6450 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
6451 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
6452 (m32r-*-elf*, m32r-*-rtems*): Split off ...
6453 (m32r-*-rtems*): ... this.
6454 Add m32r/t-m32r to tmake_file.
6455 (m68k-*-elf*): Add t-crtin to tmake_file.
6456 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
6457 (mcore-*-elf): Likewise.
6458 (microblaze*-*-*): Set extra_parts.
6459 (mips*-sde-elf*): New case.
6460 Set tmake_file, extra_parts.
6461 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
6462 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
6463 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
6464 tmake_file.
6465 Set extra_parts.
6466 (mipsisa64sr71k-*-elf*): Likewise.
6467 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
6468 (mips-*-elf*, mipsel-*-elf*): Likewise.
6469 (mips64-*-elf*, mips64el-*-elf*): Likewise.
6470 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
6471 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
6472 (mips*-*-rtems*): Likewise.
6473 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
6474 (moxie-*-*): Split into ...
6475 (moxie-*-elf, moxie-*-uclinux*): ... this.
6476 Add to extra_parts, remove crtbegin.o, crtend.o.
6477 (moxie-*-rtems*): New case.
6478 Set tmake_file.
6479 Clear extra_parts.
6480 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
6481 Set extra_parts.
6482 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
6483 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
6484 tmake_file.
6485 Set extra_parts.
6486 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
6487 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
6488 Set extra_parts.
6489 (powerpc-*-eabisim*): Likewise.
6490 (powerpc-*-elf*): Likewise.
6491 (powerpc-*-eabialtivec*): Likewise.
6492 (powerpc-xilinx-eabi*): Likewise.
6493 (powerpc-*-eabi*): Likewise.
6494 (powerpc-*-rtems*): Likewise.
6495 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
6496 tmake_file.
6497 Set extra_parts.
6498 (powerpc-*-lynxos*): Add to tmake_file.
6499 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
6500 rs6000/t-crtstuff, t-crtstuff-pic.
6501 Set extra_parts.
6502 (powerpcle-*-eabisim*): Likewise.
6503 (powerpcle-*-eabi*): Likewise.
6504 (rx-*-elf): Remove extra_parts.
6505 (s390x-ibm-tpf*): Set extra_parts.
6506 (score-*-elf): Set extra_parts.
6507 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6508 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6509 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6510 (sh64l*-*-netbsd*): Split into ...
6511 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
6512 Add t-crtstuff-pic to tmake_file.
6513 Set extra_parts.
6514 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
6515 Set extra_parts.
6516 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
6517 (sparc-*-elf*): Remove t-crtin from tmake_file.
6518 Add to extra_parts, remove crtbegin.o, crtend.o.
6519 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
6520 (sparc64-*-linux*): Likewise.
6521 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
6522 Add to extra_parts, remove crtbegin.o, crtend.o.
6523 (sparc64-*-elf*): Remove t-crtin from tmake_file.
6524 Add to extra_parts, remove crtbegin.o, crtend.o.
6525 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
6526 Add to extra_parts, remove crtbegin.o, crtend.o.
6527 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
6528 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
6529 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
6530 Set extra_parts.
6531 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
6532 Set extra_parts.
6533 (tic6x-*-*): Change to ...
6534 (tic6x-*-elf): ... this.
6535 Set extra_parts.
6536 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
6537 Set extra_parts.
6538 (am33_2.0-*-linux*): Add comment.
6539 (mep*-*-*): Add mep/t-mep to tmake_file.
6540 Set extra_parts.
6541 * config/alpha/t-vms: New file.
6542 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
6543 * config/arm/crti.S, config/arm/crtn.S: New files.
6544 * config/bfin/crti.S, config/bfin/crtn.S: New files.
6545 * config/bfin/crtlibid.S: New file.
6546 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
6547 * config/c6x/crti.S, config/c6x/crtn.S: New files.
6548 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
6549 (crti.o, crtin.o): New rules.
6550 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6551 * config/c6x/t-uclinux: New file.
6552 * config/cris/t-elfmulti: New file.
6553 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
6554 * config/fr30/crti.S, config/fr30/crtn.S: New files.
6555 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
6556 * config/frv/t-frv: New file.
6557 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
6558 * config/h8300/crti.S, config/h8300/crtn.S: New files.
6559 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
6560 New files.
6561 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
6562 refer to cygming-crtbegin.c, cygming-crtend.c.
6563 Use $<.
6564 * config/i386/t-nto: New file.
6565 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
6566 * config/ia64/crti.S, config/ia64/crtn.S: New files.
6567 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
6568 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
6569 Use .S extension.
6570 Use $<.
6571 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
6572 (crtinitS.o): New rule.
6573 * config/ia64/vms-crtinit.S: New file.
6574 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
6575 * config/m32r/initfini.c: New file.
6576 * config/m32r/t-linux, config/m32r/t-m32r: New files.
6577 * config/m68k/crti.S, config/m68k/crtn.S: New files.
6578 * config/mcore/crti.S, config/mcore/crtn.S: New files.
6579 * config/mep/t-mep: New file.
6580 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
6581 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
6582 * config/mips/crti.S, config/mips/crtn.S: New files.
6583 * config/mips/t-crtstuff: New file.
6584 * config/mmix/crti.S, config/mmix/crtn.S: New files.
6585 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
6586 (CUSTOM_CRTIN): Set.
6587 ($(T)crti.o, $(T)crtn.o): Remove $(T),
6588 dependencies.
6589 Use $(srcdir) to refer to crti.S, crtn.S.
6590 Use .S extension, $<.
6591 * config/moxie/crti.asm: Rename to ...
6592 * config/moxie/crti.S: ... this.
6593 * config/moxie/crtn.asm: Rename to ...
6594 * config/moxie/crtn.S: ... this.
6595 * config/moxie/t-moxie: Remove.
6596 * config/pa/stublib.c: New file.
6597 * config/pa/t-stublib, config/pa/t-stublib64: New files.
6598 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
6599 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
6600 * config/rs6000/t-crtstuff: New file.
6601 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
6602 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
6603 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
6604 Make output file explicit.
6605 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
6606 Make output file explicit.
6607 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
6608 Make output file explicit.
6609 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
6610 Make output file explicit.
6611 * config/score/crti.S, config/score/crtn.S: New files.
6612 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
6613 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
6614 files.
6615 * config/sh/t-sh, config/sh/t-superh: New files.
6616 * config/sparc/t-linux64: New file.
6617 * config/spu/cache.S, config/spu/cachemgr.c: New files.
6618 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
6619 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
6620 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
6621 * config/t-crtin: Remove.
6622 * config/t-crtstuff-pic: New file.
6623 * config/t-sol2 (CUSTOM_CRTIN): Set.
6624 (crti.o, crtn.o): New rules.
6625 * config/vms/t-vms: New file.
6626 * config/vms/vms-ucrt0.c: New file.
6627 * config/xtensa/t-elf: New file.
6628
a997b0d8 66292011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6630
6631 * Makefile.in (SHLIB_NM_FLAGS): Set.
6632 * mkmap-flat.awk, mkmap-symver.awk: New files.
6633 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
6634 exceptions.
6635 * configure: Regenerate.
6636 * config/libgcc-glibc.ver: New file.
6637 * config/libgcc-libsystem.ver: New file.
6638 * config/t-libunwind (SHLIB_LC): Set.
6639 * config/t-linux: New file.
6640 * config/t-slibgcc (INSTALL_SHLIB): New.
6641 (SHLIB_INSTALL): Use it.
6642 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
6643 to mkmap-symver.awk.
6644 (SHLIB_MAPFILES): Don't append, adapt pathname.
6645 (SHLIB_VERPFX): Set.
6646 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
6647 to mkmap-symver.awk.
6648 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
6649 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
6650 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
6651 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
6652 to mkmap-flat.awk.
6653 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
6654 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
6655 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
6656 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
6657 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
6658 * config/i386/libgcc-darwin.10.4.ver,
6659 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
6660 New files.
6661 * config/i386/t-darwin: Remove.
6662 * config/i386/t-darwin64: Likewise.
6663 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
6664 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
6665 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
6666 * config/i386/t-linux: New file.
6667 * config/i386/t-mingw32: New file.
6668 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
6669 * config/ia64/t-glibc: Rename to ...
6670 * config/ia64/t-linux: ... this.
6671 (SHLIB_MAPFILES): Set.
6672 * config/ia64/t-glibc-libunwind: Rename to ...
6673 * config/ia64/t-linux-libunwind: ... this.
6674 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
6675 * config/ia64/t-slibgcc-hpux: New file.
6676 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
6677 * config/m68k/t-slibgcc-elf-ver: New file.
6678 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
6679 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
6680 to mkmap-flat.awk.
6681 * config/pa/t-slibgcc-hpux: New file.
6682 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
6683 files.
6684 * config/rs6000/libgcc-darwin.10.4.ver,
6685 config/rs6000/libgcc-darwin.10.5.ver: New files.
6686 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
6687 config/rs6000/libgcc-glibc.ver.
6688 * config/rs6000/libgcc-ppc64.ver: Rename to
6689 config/rs6000/libgcc-ibm-ldouble.ver.
6690 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
6691 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
6692 * config/rs6000/t-ldbl128: Rename to ...
6693 * config/rs6000/t-linux: ... this.
6694 (SHLIB_MAPFILES): Adapt filename.
6695 * config/rs6000/t-slibgcc-aix: New file.
6696 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
6697 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
6698 libgcc-excl.ver, libgcc-glibc.ver.
6699 (SHLIB_LINK, SHLIB_INSTALL): Remove.
6700 * config/sparc/libgcc-glibc.ver: New file.
6701 * config/sparc/t-linux: New file.
6702 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
6703 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
6704 t-slibgcc-elf-ver to tmake_file.
6705 Add t-slibgcc-nolc-override to tmake_file for posix threads on
6706 *-*-freebsd[34].
6707 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6708 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
6709 t-slibgcc-elf-ver, t-linux to tmake_file.
6710 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
6711 tmake_file.
6712 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
6713 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
6714 (alpha*-dec-*vms*): Likewise.
6715 (arm*-*-freebsd*): Append to tmake_file.
6716 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
6717 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
6718 arm*-*-linux-*eabi.
6719 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
6720 tmake_file for arm*-*-symbianelf*.
6721 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
6722 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
6723 cris/t-linux.
6724 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
6725 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
6726 pa/t-slibgcc-dwarf-ver to tmake_file.
6727 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
6728 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
6729 (hppa*64*-*-hpux11*): Likewise.
6730 (hppa[12]*-*-hpux11*): Likewise.
6731 (x86_64-*-darwin*): Don't override tmake_file, but only keep
6732 i386/t-crtpc, i386/t-crtfm.
6733 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
6734 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6735 to tmake_file.
6736 Add i386/t-cygwin to tmake_file.
6737 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
6738 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
6739 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
6740 to tmake_file.
6741 Add i386/t-mingw32 to tmake_file.
6742 (x86_64-*-mingw*): Likewise.
6743 (ia64*-*-freebsd*): Append to tmake_file.
6744 (ia64*-*-linux*): Append to tmake_file.
6745 Replace ia64/t-glibc by ia64/t-linux.
6746 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
6747 system libunwind.
6748 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
6749 t-slibgcc-hpux to tmake_file.
6750 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
6751 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
6752 (m32rle-*-linux*): Likewise.
6753 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
6754 sjlj exceptions.
6755 (microblaze*-linux*): New case.
6756 Append to tmake_file, add t-slibgcc-nolc-override.
6757 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
6758 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6759 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
6760 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6761 rs6000/t-slibgcc-aix to tmake_file.
6762 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6763 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6764 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6765 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6766 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6767 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
6768 sh*-*-linux*.
6769 (sparc-*-linux*): Append to tmake_file for *-leon*.
6770 Add sparc/t-linux to tmake_file for non-Leon targets.
6771 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
6772 (tic6x-*-uclinux): New case.
6773 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
6774 (tic6x-*-*): Add c6x/t-elf to tmake_file.
6775 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
6776 (am33_2.0-*-linux*): Append to tmake_file.
6777 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6778 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
6779 x86_64-*-kfreebsd*-gnu.
6780 Add i386/t-linux to tmake_file.
6781
638a95a0 67822011-10-28 Ian Lance Taylor <iant@google.com>
6783
6784 * config/i386/morestack.S: Correct CFI information to do proper
6785 returns throughout function. In 32-bit mode, save %ebx so that it
6786 is restored on unwind.
6787
ef785e44 67882011-10-25 Bernd Schmidt <bernds@codesourcery.com>
6789
6790 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
6791 case where B3 isn't the return register.
6792
19b85223 6793 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6794 logic for doubleword pops.
6795
70f50eb0 67962011-10-25 Andreas Tobler <andreast@fgznet.ch>
6797
6798 * config/rs6000/t-freebsd: Add wildcard.
6799
ec2b386c 68002011-10-21 Paul Brook <paul@codesourcery.com>
6801
6802 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6803
b09a3f46 68042011-10-16 Uros Bizjak <ubizjak@gmail.com>
6805 Eric Botcazou <ebotcazou@adacore.com>
6806
6807 PR target/50737
6808 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
6809 fs->signal_frame to 1.
6810
8acdf7c6 68112011-10-07 Ian Lance Taylor <iant@google.com>
6812
6813 * generic-morestack-thread.c: #include <errno.h>.
6814
1780e36e 68152011-10-07 Ian Lance Taylor <iant@google.com>
6816
6817 PR target/46093
6818 * generic-morestack.c (__generic_morestack): Make sure the segment
6819 is large enough for both the stack frame and the copied
6820 parameters.
6821
f57fac72 68222011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6823
6824 PR bootstrap/49804
6825 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
6826 extra_parts.
6827
6ef008f9 68282011-09-28 Nick Clifton <nickc@redhat.com>
6829
6830 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
6831 64-bit doubles are not enabled.
6832 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
6833 and floatunsisf functions.
6834
7e5fc0c4 68352011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 6836
7e5fc0c4 6837 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
6838 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
6839 * unwind-arm-common.inc: New file.
6840 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
6841 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
6842 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
6843 * config/c6x/libunwind.S: New file.
6844 * config/c6x/pr-support.c: New file.
6845 * config/c6x/unwind-c6x.c: New file.
6846 * config/c6x/unwind-c6x.h: New file.
6847 * config/c6x/t-c6x-elf: New file.
6848
047a5c56 68492011-08-23 Uros Bizjak <ubizjak@gmail.com>
6850
6851 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
6852 (ASM_DIVZERO): Ditto.
6853 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
6854
985e908e 68552011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6856
6857 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6858
c1c81358 68592011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
6860
6861 PR target/50090
6862 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
6863 instead of an assembly one.
6864
7642fc98 68652011-08-12 Paolo Bonzini <bonzini@gnu.org>
6866
6867 PR bootstrap/50047
6868 * Makefile.in (install-unwind_h): Create
6869 $(gcc_objdir)/include/unwind.h atomically.
6870
392bda6f 68712011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6872
6873 * Makefile.in (install-unwind_h): Remove destination file first.
6874
21889c08 68752011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6876
6877 * sync.c: New file.
6878 * config/mips/t-mips16: New file.
6879 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
6880 (mips*-*-linux*): Likewise.
6881 (mips*-sde-elf*): Likewise.
6882 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
6883 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
6884 Add mips/t-mips16 to tmake_file.
6885 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
6886 (mips-*-elf*): Likewise.
6887 (mips64-*-elf*): Likewise.
6888 (mips64orion-*-elf*): Likewise.
6889 (mips*-*-rtems*): Likewise.
6890 (mipstx39-*-elf*): Likewise.
6891 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
6892 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
6893 LIBGCC_SYNC_CFLAGS.
6894 Use $(srcdir) to refer to sync.c.
6895 Use $<.
6896 ($(libgcc-sync-funcs-o)): Likewise.
6897 ($(libgcc-sync-size-funcs-s-o)): Likewise.
6898 ($(libgcc-sync-funcs-s-o)): Likewise.
6899
3569d462 69002011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6901
6902 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6903 t-libunwind.
6904
e451a093 69052011-08-08 H.J. Lu <hongjiu.lu@intel.com>
6906
6907 PR other/48007
6908 * config/i386/value-unwind.h: New.
6909
ab3bed33 69102011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
6911
6912 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
6913 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
6914 Add to tmake_file rather than overriding it.
6915
84600db5 69162011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6917
6918 * config/t-softfp: Remove.
6919 * soft-fp: Moved from ../gcc/config.
6920 * soft-fp/README: Remove t-softfp reference.
6921 * soft-fp/t-softfp: Move to config/t-softfp.
6922 (softfp_machine_header): Remove.
6923 (softfp_file_list): Remove config subdir.
6924 (soft-fp-objects): New variable.
6925 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
6926 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
6927 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
6928 * config/t-softfp-excl: New file.
6929 * config/t-softfp-sfdf: New file.
6930 * config/t-softfp-tf: New file.
6931 * config/no-sfp-machine.h: New file.
6932 * config/arm/sfp-machine.h: New file.
6933 * config/arm/t-softfp: New file.
6934 * config/c6x/sfp-machine.h: New file.
6935 * config/i386/32/t-fprules-softfp: Rename to ...
6936 * config/i386/32/t-softfp: ... this.
6937 (tifunctions, LIB2ADD): Remove.
6938 (softfp_int_modes): Override.
6939 * config/i386/64/t-softfp-compat (tf-functions): Remove config
6940 subdir.
6941 * config/i386/64/eqtf2.c: Likewise.
6942 * config/i386/64/getf2.c: Likewise.
6943 * config/i386/64/letf2.c: Likewise.
6944 * config/ia64/sft-machine.h: New file.
6945 * config/ia64/t-fprules-softfp: Rename to ...
6946 * config/ia64/t-softfp: ... this.
6947 * config/lm32/sfp-machine.h: New file.
6948 * config/moxie/t-moxie-softfp: Remove.
6949 * config/rs6000/ibm-ldouble-format: New file.
6950 * config/rs6000/ibm-ldouble.c: New file.
6951 * config/rs6000/libgcc-ppc-glibc.ver: New file
6952 * config/rs6000/libgcc-ppc64.ver: New file
6953 * config/rs6000/sfp-machine.h: New file.
6954 * config/rs6000/t-freebsd: New file.
6955 * config/rs6000/t-ibm-ldouble: New file.
6956 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
6957 libgcc-ppc-glibc.ver.
6958 * config/rs6000/t-linux64: New file.
6959 * config/rs6000/t-ppccomm (LIB2ADD): Add
6960 $(srcdir)/config/rs6000/ibm-ldouble.c.
6961 * config/rs6000/t-ppccomm-ldbl: New file.
6962 * config/score/sfp-machine.h: New file.
6963 * config.host (sfp_machine_header): Explain.
6964 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
6965 t-softfp to tmake_file.
6966 (arm*-*-uclinux*): Likewise.
6967 (arm*-*-ecos-elf): Likewise.
6968 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
6969 (arm*-*-rtems*): Likewise.
6970 (arm*-*-elf): Likewise.
6971 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
6972 in tmake_file.
6973 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
6974 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
6975 (lm32-*-uclinux*): Likewise.
6976 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
6977 t-softfp-excl, t-softfp.
6978 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
6979 (powerpc64-*-darwin*): Likewise.
6980 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
6981 to tmake_file.
6982 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
6983 tmake_file.
6984 (powerpc-*-eabisim*): Likewise.
6985 (powerpc-*-elf*): Likewise.
6986 (powerpc-*-eabialtivec*): Likewise.
6987 (powerpc-xilinx-eabi*): Likewise.
6988 (powerpc-*-rtems*): Likewise.
6989 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
6990 t-softfp-excl, t-softfp to tmake_file.
6991 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
6992 rs6000/t-ppccomm-ldbl to tmake_file.
6993 (powerpcle-*-elf*): Likewise.
6994 (powerpcle-*-eabisim*): Likewise.
6995 (powerpcle-*-eabi*): Likewise.
6996 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6997 rs6000/t-ibm-ldouble to tmake_file.
6998 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6999 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7000 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
7001 (tic6x-*-*): Likewise.
7002 (i[34567]86-*-darwin*, x86_64-*-darwin*,
7003 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
7004 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
7005 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
7006 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
7007 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
7008 t-softfp to tmake_file.
7009 * configure.ac (sfp_machine_header): Provide default if unset.
7010 Substitute.
7011 Link sfp-machine.h to config/$sfp_machine_header.
7012 * configure: Regenerate.
7013
a23b9c51 70142011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7015
7016 * Makefile.in (double_type_size, long_double_type_size): Set.
7017 Remove $(fpbit-in-libgcc) support.
7018 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
7019 (fpbit-src): New variable.
7020 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
7021 Compile with -DFLOAT $(FPBIT_CFLAGS).
7022 Use $<.
7023 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
7024 Compile with $(FPBIT_CFLAGS).
7025 Use $<.
7026 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
7027 Compile with -DFLOAT $(TPBIT_CFLAGS).
7028 Use $<.
7029 * configure.ac (double_type_size, long_double_type_size):
7030 Determine and substitute.
7031 * configure: Regenerate.
7032 * fp-bit.c, fp-bit.h: New files.
7033 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
7034 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
7035 * config/mips/t-mips: New file.
7036 * config/mips/t-sdemtk: New file.
7037 * config/rs6000/ppc64-fp.c: New file.
7038 * config/rs6000/t-darwin (LIB2ADD): Add
7039 $(srcdir)/config/rs6000/ppc64-fp.c.
7040 * config/rs6000/t-ppc64-fp: New file.
7041 * config/rx/rx-lib.h: New file.
7042 * config/rx/t-rx (FPBIT): Set to true.
7043 ($(gcc_objdir)/fp-bit.c): Remove.
7044 (DPBIT): Set to true only with -m64bit-doubles.
7045 ($(gcc_objdir)/dp-bit.c): Remove.
7046 * config/sparc/t-softfp: Remove.
7047 * config/spu/t-elf: New file.
7048 * config/t-fdpbit, config/t-fpbit: New files.
7049 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
7050 (mips*-*-*): Likewise.
7051 (arm-wrs-vxworks): Likewise.
7052 (arm*-*-freebsd*): Likewise.
7053 (avr-*-rtems*): Add t-fpbit to tmake_file.
7054 (avr-*-*): Likewise.
7055 (bfin*-elf*): Add t-fdpbit to tmake_file.
7056 (bfin*-uclinux*): Likewise.
7057 (bfin*-linux-uclibc*): Likewise.
7058 (bfin*-rtems*): New case.
7059 Add t-fdpbit to tmake_file.
7060 (bfin*-*): Add t-fdpbit to tmake_file.
7061 (crisv32-*-elf): Likewise.
7062 (cris-*-linux*): Likewise.
7063 (fr30-*-elf): Likewise.
7064 (frv-*-elf, frv-*-*linux*): Likewise.
7065 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
7066 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
7067 (m32r-*-elf*): Likewise.
7068 (m32rle-*-elf*): Likewise.
7069 (m32r-*-linux*): Likewise.
7070 (m32rle-*-linux*): Likewise.
7071 (mcore-*-elf): Add t-fdpbit to tmake_file.
7072 (microblaze*-*-*): Likewise.
7073 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
7074 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
7075 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
7076 Fix typo.
7077 Add mips/t-tpbit to tmake-file.
7078 (mips*-*-linux*): Fix typo.
7079 (mips*-sde-elf*): New case
7080 Add mips/t-sdemtk unless using newlib.
7081 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
7082 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
7083 (mn10300-*-*): Likewise.
7084 (pdp11-*-*): Likewise.
7085 (picochip-*-*): Add t-fpbit to tmake_file.
7086 (powerpc-*-eabisimaltivec*): Likewise.
7087 (powerpc-*-eabisim*): Likewise.
7088 (powerpc-*-elf*): Likewise.
7089 (powerpc-*-eabialtivec*): Likewise.
7090 (powerpc-xilinx-eabi*): New case.
7091 Add t-fdpbit to tmake_file.
7092 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
7093 (powerpc-*-rtems*): Likewise.
7094 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
7095 tmake_file.
7096 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
7097 tmake_file.
7098 (powerpc-*-lynxos*): Likewise.
7099 (powerpcle-*-elf*): Likewise.
7100 (powerpcle-*-eabisim*): Likewise.
7101 (powerpcle-*-eabi*): Likewise.
7102 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
7103 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
7104 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7105 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7106 (rx-*-elf): Add t-fdpbit to tmake_file.
7107 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
7108 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
7109 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
7110 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
7111 sh*-*-netbsd*.
7112 (sh-*-rtems*): Add t-fdpbit to tmake_file.
7113 (sh-wrs-vxworks): Likewise.
7114 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
7115 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
7116 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
7117 (sparc64-*-rtems*): ... new case.
7118 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
7119 (spu-*-elf*): Likewise.
7120 Add spu/t-elf to tmake_file.
7121 (v850*-*-*): Add t-fdpbit to tmake_file.
7122 (xstormy16-*-elf): Likewise.
7123 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
7124 (mep*-*-*): Likewise.
7125
e59be7e3 71262011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7127
7128 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
7129 variables.
7130 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
7131 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
7132 (install-unwind_h): New target.
7133 (all): Depend on it.
7134 * config.host (unwind_header): New variable.
7135 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
7136 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
7137 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
7138 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
7139 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
7140 Set unwind_header.
7141 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
7142 Set unwind_header.
7143 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
7144 arm*-*-eabi*.
7145 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
7146 Set unwind_header.
7147 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
7148 (ia64*-*-freebsd*): Likewise.
7149 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
7150 tmake_file.
7151 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
7152 $with_system_libunwind.
7153 (ia64*-*-hpux*): Set tmake_file.
7154 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
7155 (picochip-*-*): Set tmake_file.
7156 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
7157 md_unwind_header.
7158 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
7159 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
7160 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
7161 (xtensa*-*-elf*): Set tmake_file.
7162 (xtensa*-*-linux*): Likewise.
7163 * configure.ac: Include ../config/unwind_ipinfo.m4.
7164 Call GCC_CHECK_UNWIND_GETIPINFO.
7165 Link unwind.h to $unwind_header.
7166 * configure: Regenerate.
7167 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
7168 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
7169 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
7170 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
7171 * config/unwind-dw2-fde-darwin.c: New file.
7172 * config/arm/libunwind.S, config/arm/pr-support.c,
7173 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
7174 config/arm/unwind-arm.h,: New files.
7175 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
7176 config/ia64/t-eh-ia64, config/ia64/t-glibc,
7177 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
7178 config/ia64/t-vms, config/ia64/unwind-ia64.c,
7179 config/ia64/unwind-ia64.h: New files.
7180 * config/picochip/t-picochip: New file.
7181 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
7182 files.
7183 * config/rs6000/t-darwin (LIB2ADDEH): Set.
7184 * config/s390/t-tpf (LIB2ADDEH): Remove.
7185 * config/t-darwin (LIB2ADDEH): Set.
7186 * config/t-eh-dw2-dip: New file.
7187 * config/t-libunwind, config/t-libunwind-elf: New files.
7188 * config/t-sol2 (LIB2ADDEH): Remove.
7189 * config/xtensa/t-xtensa: New file.
7190
b57de711 71912011-08-02 H.J. Lu <hongjiu.lu@intel.com>
7192
7193 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
7194 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
7195 long long to check rt_sigreturn syscall.
7196
9a4af446 71972011-08-02 Alan Modra <amodra@gmail.com>
7198
7199 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7200 Restore for indirect call bcrtl from correct stack slot, and only
7201 if cfa+40 isn't valid.
7202
bbbe4599 72032011-08-01 Julian Brown <julian@codesourcery.com>
7204
7205 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
7206 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
7207 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
7208
ac34b7db 72092011-08-01 Julian Brown <julian@codesourcery.com>
7210
7211 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
7212 (libgcc-std.ver.in): Use above.
7213 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
7214 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
7215 throughout file.
7216 * config/t-fixedpoint-gnu-prefix: New file.
7217 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
7218 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
7219 instead of __PFX__.
7220
2a7dfa04 72212011-07-28 H.J. Lu <hongjiu.lu@intel.com>
7222
7223 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
7224 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
7225 for x86-64. Properly check __x86_64__ and __LP64__.
7226
a232cb08 72272010-07-28 H.J. Lu <hongjiu.lu@intel.com>
7228
7229 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
7230 version.
7231 (_FP_WS_TYPE): Likewise.
7232 (_FP_I_TYPE): Likewise.
7233
c54e2746 72342011-07-28 Alan Modra <amodra@gmail.com>
7235
7236 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
7237 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
7238 in a plt call stub. Do restore r2 if stopped on bctrl.
7239
4d72c922 72402011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7241
7242 * config.host (i[3456x]86-*-netware*): Remove.
7243 * config/i386/netware-crt0.c, config/i386/t-nwld,
7244 config/i386/t-slibgcc-nwld: Remove.
7245
5aa04b01 72462011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7247
7248 * config.host: Handle tic6x-*-*.
7249 * config/c6x/c6x-abi.h: New file.
7250
ba079bc9 72512011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7252
7253 * config/i386/crtprec.c: New file.
7254 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
7255 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
7256 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
7257 (x86_64-*-darwin*): Likewise.
7258 (i[34567]86-*-solaris2*: Likewise.
7259
1125ba83 72602011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7261
7262 * config/alpha/crtfastmath.c: New file.
7263 * config/i386/crtfastmath.c: New file.
7264 * config/ia64/crtfastmath.c: New file.
7265 * config/mips/crtfastmath.c: New file.
7266 * config/sparc/crtfastmath.c: New file.
7267
7268 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
7269 crtfastmath.c.
7270 Add -frandom-seed=gcc-crtfastmath.
7271 * config/alpha/t-crtfm: Remove.
7272 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
7273 * config/ia64/t-ia64 (crtfastmath.o): Remove.
7274
7275 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
7276 (alpha*-dec-osf5.1*): Likewise.
7277 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
7278 Add crtfastmath.o to extra_parts.
7279 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
7280 Add crtfastmath.o to extra_parts.
7281 (x86_64-*-darwin*): Likewise.
7282 (x86_64-*-mingw*): Likewise.
7283 (ia64*-*-elf*): Add t-crtfm to tmake_file.
7284 (ia64*-*-freebsd*): Likewise.
7285 (ia64*-*-linux*): Likewise.
7286 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
7287 Add crtfastmath.o to extra_parts.
7288
1a4a11f3 72892011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7290
7291 * config/darwin-crt3.o: New file.
7292 * config/rs6000/darwin-crt2.c: New file.
7293 * config/t-darwin: New file.
7294 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
7295 (crt2.o): New rule.
7296 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
7297 (powerpc-*-darwin*): Add crt2.o to extra_parts.
7298 (powerpc64-*-darwin*): Likewise.
7299
ef3ab47f 73002011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7301
7302 * config/i386/netware-crt0.c: New file.
7303 * config/i386/t-nwld: Rename to ...
7304 * config/i386/t-slibgcc-nwld: ... this.
7305 * config/i386/t-nwld: New file.
7306 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
7307 tmake_file.
7308 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
7309 extra_parts.
7310
367b55f3 73112011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7312
7313 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
7314 i386/t-crtstuff.
7315 * configure: Regenerate.
7316
17aa03f5 73172011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7318
7319 * dfp-bit.c, dfp-bit.h: New files.
7320 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
7321 variables.
7322 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
7323 ($(d64pbit-o)): Likewise.
7324 ($(d128pbit-o)): Likewise.
7325 * config/t-dfprules: New file.
7326 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
7327 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
7328 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
7329 (x86_64-*-linux*): Likewise.
7330 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
7331 (i[34567]86-*-cygwin*): Likewise.
7332 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
7333 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
7334
2bc72a9f 73352011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7336
7337 * Makfile.in (LIBGCOV): New variable.
7338 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
7339 * libgcov.c: New file.
7340
36a5227d 73412011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7342
7343 * fixed-bit.c, fixed-bit.h: New files.
7344 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
7345 refer to fixed-bit.c.
7346
689a8077 73472011-07-07 Joseph Myers <joseph@codesourcery.com>
7348
7349 * config.host (*local*): Remove.
7350
14f27bc6 73512011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7352
7353 PR target/39150
7354 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
7355 like i?86-*-solaris2.1[0-9]*.
7356 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
7357 * configure.ac (i?86-*-solaris2*): Likewise.
7358 * configure: Regenerate.
7359
fe27820f 73602011-07-06 Thomas Schwinge <thomas@schwinge.name>
7361
7362 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
7363 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
7364 md_unwind_header by splitting out of...
7365 (i[34567]86-*-linux*): ... this.
7366 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
7367 Remove md_unwind_header by splitting out of...
7368 (x86_64-*-linux*): ... this.
7369
934ca5fd 73702011-07-04 Georg-Johann Lay <avr@gjlay.de>
7371
7372 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7373
707238af 73742011-06-28 Nick Clifton <nickc@redhat.com>
7375
7376 * config.host: Recognize all V850 variants.
7377
5125dcef 73782011-06-22 Uros Bizjak <ubizjak@gmail.com>
7379
7380 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7381
f92b36a5 73822011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7383
7384 * shared-object.mk (c_flags-$o): Save c_flags.
7385 ($(base)$(objext)): Use it.
7386 ($(base)_s$(objext)): Likewise.
7387
d8492bd3 73882011-06-21 Bernd Schmidt <bernds@codesourcery.com>
7389
7390 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
7391 * libgcc-std.ver.in (GCC_4.7.0): New section.
7392
fa72efb7 73932011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 7394
fa72efb7 7395 PR target/49313
7396 PR target/29524
7397 * config/avr/t-avr: Fix line endings.
7398 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
7399 _parityXX2.
7400
adf7c0a1 74012011-06-14 Olivier Hainque <hainque@adacore.com>
7402 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7403
7404 * config/mips/irix6-unwind.h: New file.
7405 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
7406
47529489 74072011-06-10 Eric Botcazou <ebotcazou@adacore.com>
7408
7409 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
7410 (sparc64_fallback_frame_state): Use it.
7411 (sparc64_frob_update_context): Further adjust context.
7412 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
7413 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
7414 * config/sparc/sol2-cn.S: Likewise.
7415
a6f06169 74162011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7417
7418 * enable-execute-stack-empty.c: New file.
7419 * enable-execute-stack-mprotect.c: New file.
7420 * config/i386/enable-execute-stack-mingw32.c: New file.
7421 * config.host (enable_execute_stack): New variable.
7422 Select appropriate variants.
7423 * configure.ac: Link enable-execute-stack.c to
7424 $enable_execute_stack.
7425 * configure: Regenerate.
7426 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
7427 (lib2funcs): Remove _enable_execute_stack.
7428
f9cccfac 74292011-06-09 David S. Miller <davem@davemloft.net>
7430 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7431
7432 * config.host (sparc-*-linux*): Correct md_unwind_header
7433 filename.
7434 (s390x-ibm-tpf*): Fix typo.
7435
ee884cfb 74362011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7437
7438 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
7439 Add crtfastmath.o to extra_parts.
7440 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
7441 mips/t-crtfm.
7442 * config/mips/t-crtfm: Remove.
7443
01cb8ad1 74442011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7445
7446 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7447
73956a0d 74482011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7449
7450 * config.host (sh*-*-linux*): Fix typo.
7451
1e53920f 74522011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7453
7454 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
7455 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
7456 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
7457 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
7458 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
7459 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
7460 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
7461 Wrap in !__MINGW64__.
7462 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
7463 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
7464 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
7465 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
7466 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
7467 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
7468 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
7469 Wrap in !__LP64__.
7470 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
7471 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
7472 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
7473 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
7474 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
7475 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
7476 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
7477 * config/no-unwind.h: New file.
7478 * config.host (md_unwind_header): Document.
7479 Define.
7480 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
7481 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
7482 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
7483 hppa[12]*-*-hpux11*): Set md_unwind_header.
7484 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
7485 Set md_unwind_header.
7486 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
7487 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
7488 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
7489 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
7490 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
7491 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
7492 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
7493 md_unwind_header.
7494 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
7495 * configure: Regenerate.
7496
8087ae75 74972011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7498
7499 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
7500 Set tmake_file, extra_parts.
7501 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
7502 Remove O32 support.
7503 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
7504 Remove O32 support.
7505 * config/mips/t-irix6: New file.
7506 * config/mips/t-slibgcc-irix: New file.
7507
506cfbc8 75082011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7509
7510 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
7511 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
7512
541346b9 75132011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7514
7515 * configure.ac (target_thread_file): Determine thread model.
7516 * configure: Regenerate.
7517 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
7518 * config/alpha/t-alpha: New file.
7519 * config/alpha/t-crtfm: Use $<.
7520 * config/alpha/t-ieee: New file.
7521 * config/alpha/t-osf-pthread: New file.
7522 * config/alpha/t-slibgcc-osf: New file.
7523 * config/alpha/libgcc-osf5.ver: New file.
7524
43ae7603 75252011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7526
7527 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
7528 tmake_file.
7529 Add crtfastmath.o to extra_parts.
7530
f0d9a626 75312011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7532
7533 * config/gmon-sol2.c: Reindent.
7534 Cleanup comments.
7535 Remove, correct casts.
7536 Use STDERR_FILENO, NULL.
7537 (BASEADDRESS): Remove.
7538 (minbrk): Remove.
7539 (errno, sbrk): Remove declarations.
7540 (monstartup) [hp300]: Remove.
7541 (mcount): Remove.
7542
63abf89e 75432011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7544
7545 * Makefile.in (cpu_type): Define.
7546 * config.host (i[34567]86-*-rtems*): Handle it.
7547 (i[34567]86-*-solaris2*): Move body ...
7548 (*-*-solaris2*): ... here.
7549 New case, generalize.
7550 (sparc-*-elf*): Handle it.
7551 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
7552 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
7553 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
7554 Fold into ...
7555 (sparc*-*-solaris2*): ... this.
7556 New case.
7557 (sparc64-*-elf*): Handle it.
7558 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
7559 Merge ../gcc/config/i386/gmon-sol2.c.
7560 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
7561 Use C comments.
7562 Merge ../gcc/config/i386/sol2-gc1.asm.
7563 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
7564 Use C comments.
7565 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
7566 Use C comments.
7567 * config/i386/t-crtfm (crtfastmath.o): Use $<.
7568 * config/i386/t-crtstuff: New file.
7569 * config/i386/t-softfp: New file.
7570 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
7571 $(T)crti.o, $(T)crtn.o): Remove.
7572 (gcrt1.o): New rule.
7573 (TARGET_LIBGCC2_CFLAGS): Remove.
7574 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
7575 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
7576 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
7577 * config/sparc/t-sol2: New file.
7578 * config/sparc/t-crtfm: Move to ...
7579 * config/t-crtfm: ... this.
7580 Use $(cpu_type), $<.
7581 * config/t-crtin: New file.
7582 * config/sparc/t-softfp: New file.
7583 * config/sparc/t-softmul: New file.
7584 * config/t-rtems: New file.
7585 * config/t-slibgcc: New file.
7586 * config/t-slibgcc-elf-ver: New file.
7587 * config/t-slibgcc-gld: New file.
7588 * config/t-slibgcc-sld: New file.
7589 * config/t-sol2: New file.
7590 * configure.ac: Include ../config/lib-ld.m4.
7591 Call AC_LIB_PROG_LD_GNU.
7592 Substitute cpu_type.
7593 * configure: Regenerate.
7594
b1da9d72 75952011-05-27 Bernd Schmidt <bernds@codesourcery.com>
7596
7597 PR bootstrap/49173
7598 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
7599 libgcc-std.ver in the build directory.
7600 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
7601 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
7602
f308a9b2 76032011-05-25 Bernd Schmidt <bernds@codesourcery.com>
7604
7605 * libgcc-std.ver.in: New file.
7606 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
7607 variables.
7608 (libgcc-std.ver): New rule.
7609 * config/t-gnu-prefix: New file.
7610
c177b341 76112011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7612
7613 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7614
8633828c 76152011-05-10 Joseph Myers <joseph@codesourcery.com>
7616
7617 * config/i386/darwin-lib.h: New file.
7618
3be74046 76192011-05-10 Joseph Myers <joseph@codesourcery.com>
7620
7621 * config/arm/symbian-lib.h: New.
7622
5e1a494e 76232011-05-04 Chris Demetriou <cgd@google.com>
7624
7625 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
7626 (__x86.get_pc_thunk.bx): ...this.
7627 (__morestack): Adjust for rename, remove undef of __i686.
7628
0bb50d04 76292011-05-03 Chris Demetriou <cgd@google.com>
7630
7631 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7632
17b3d2a8 76332011-03-22 Joseph Myers <joseph@codesourcery.com>
7634
7635 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
7636 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
7637 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
7638 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
7639 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
7640 Remove cases.
7641
95525c17 76422011-03-14 Andreas Tobler <andreast@fgznet.ch>
7643
7644 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7645 Adjust copyright year.
7646
82c96609 76472011-03-07 Ian Lance Taylor <iant@google.com>
7648
7649 * generic-morestack.c (__splitstack_find): Adjust returned stack
7650 pointer to include all registers pushed by __morestack.
7651
abfe0c5b 76522011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
7653
7654 PR target/40125
7655 * configure.ac: Call ACX_NONCANONICAL_TARGET.
7656 (toolexecdir): Calculate and AC_SUBST.
7657 (toolexeclibdir): Likewise.
7658 * Makefile.in (target_noncanonical): Import.
7659 (toolexecdir): Likewise.
7660 (toolexeclibdir): Likewise.
7661 * configure: Regenerate.
7662
48f93ee5 76632010-12-13 Nathan Froyd <froydnj@codesourcery.com>
7664
7665 PR target/46040
7666 * config/arm/bpabi.h: Rename to...
7667 * config/arm/bpabi-lib.h: ...this.
7668
76aa642f 76692010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7670
7671 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
7672 appropriate.
7673 * configure: Regenerate.
7674
e8b06528 76752010-11-24 Nathan Froyd <froydnj@codesourcery.com>
7676
7677 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
7678 __FLOAT_WORD_ORDER__.
7679 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
7680 Delete.
7681
2b7a4d59 76822010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7683
7684 PR other/46202
7685 * Makefile.in (install-strip): New phony target.
7686
457123d6 76872010-11-07 Ian Lance Taylor <iant@google.com>
7688
7689 PR target/46089
7690 * config/i386/morestack.S (__morestack_large_model): New
7691 function.
7692
f6e5e456 76932010-10-23 Nathan Froyd <froydnj@codesourcery.com>
7694
7695 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
7696 Delete.
7697 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
7698
faf175ae 76992010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7700
7701 * config/arm/bpabi.h: New file.
7702 * config/frv/frv-abi.h: New file.
7703
9266176d 77042010-10-01 Ian Lance Taylor <iant@google.com>
7705
7706 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
7707 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
7708
13ba4217 77092010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7710
7711 PR target/45858
7712 * config.host: Add the missing `$'.
7713
d34b0d1e 77142010-09-30 Michael Eager <eager@eagercon.com>
7715
7716 * config.host: Add microblaze*-*-*.
7717 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
7718 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
7719 udivsi3.asm,umodsi3.asm}: New.
7720
78ca2689 77212010-09-28 Ian Lance Taylor <iant@google.com>
7722
7723 * configure.ac: Adjust CFI test to test assembler directly rather
7724 than checking gcc preprocessor macro.
7725 * configure: Rebuild.
7726
c9b3ebc5 77272010-09-27 Ian Lance Taylor <iant@google.com>
7728
7729 * configure.ac: Test whether assembler supports CFI directives.
7730 * config.host: Only add t-stack and i386/t-stack-i386 to
7731 tmake_file if libgcc_cv_cfi is "yes".
7732 * configure: Rebuild.
7733
48b14f50 77342010-09-27 Ian Lance Taylor <iant@google.com>
7735
7736 * generic-morestack.h: New file.
7737 * generic-morestack.c: New file.
7738 * generic-morestack-thread.c: New file.
7739 * config/i386/morestack.S: New file.
7740 * config/t-stack: New file.
7741 * config/i386/t-stack-i386: New file.
7742 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
7743 i386/t-stack-i386 to tmake_file.
7744
fd80c7a1 77452010-09-21 Iain Sandoe <iains@gcc.gnu.org>
7746
7747 * Makefile.in (libgcc-extra-parts): Check for static archives and
7748 invoke ranlib after installing them.
7749 (gcc-extra-parts): Likewise.
7750 (install-leaf): Likewise.
7751
70fbcd6d 77522010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7753
7754 * configure: Regenerated.
7755
19aace05 77562010-09-10 Kai Tietz <kai.tietz@onevision.com>
7757
70fbcd6d 7758 * configure: Regenerated.
19aace05 7759
279dadf5 77602010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7761 Andrew Pinski <pinskia@gmail.com>
7762
5125dcef 7763 PR target/40959
279dadf5 7764 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7765
a87eb011 77662010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7767
7768 PR target/45524
7769 * configure: Regenerated.
7770
e6425baf 77712010-09-06 Andreas Schwab <schwab@redhat.com>
7772
7773 * configure: Regenerate.
7774
e88f4c66 77752010-09-03 Uros Bizjak <ubizjak@gmail.com>
7776
7777 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
7778 64bit targets.
7779 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
7780 for 64bit targets.
7781
1d8139cc 77822010-09-03 Uros Bizjak <ubizjak@gmail.com>
7783 Iain Sandoe <iains@gcc.gnu.org>
7784
7785 PR target/45476
7786 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
7787 LIB2FUNCS_EXCLUDE functions.
7788
23340821 77892010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7790
7791 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
7792 Include dfp.m4.
7793 * configure: Regenerate.
7794
278afeb5 77952010-09-01 Uros Bizjak <ubizjak@gmail.com>
7796
7797 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
7798 i386/t-freebsd to tmake_file.
7799 * config/i386/t-freebsd: New file.
7800 * config/i386/libgcc-bsd.ver: New file.
7801
952bf8bb 78022010-07-23 Nathan Froyd <froydnj@codesourcery.com>
7803
7804 * config.host (powerpc*-eabispe*): Set tmake_file.
7805 (powerpc*-eabi*): Likewise.
7806 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
7807 crtbeginS, crtendS, crtbeginT.
7808
283681bb 78092010-06-12 Kazu Hirata <kazu@codesourcery.com>
7810
7811 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
7812 to tmake_file. Add crtfastmath.o to extra_parts.
7813 * config/mips/t-crtfm: New.
7814
92e91d03 78152010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a6180b96 7816
7817 * config.host (sparc64-*-rtems*): New target.
7818
05157f42 78192010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7820
7821 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7822 assembler syntax.
7823
8a84c748 78242010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7825
7826 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7827
ed3e1bbc 78282010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7829
7830 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
7831 alpha-dec-osf5.0* support.
7832
92e91d03 78332010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 7834
7835 * config.host: Add lm32-*-rtems*.
7836
20be3c56 78372010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92e91d03 7838 Uros Bizjak <ubizjak@gmail.com>
20be3c56 7839
7840 PR target/39048
7841 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
7842 like other remaining 32-bit x86 OSes.
7843 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
7844 assembler syntax.
7845 * config/i386/libgcc-sol2.ver: New file.
7846 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
7847
92e91d03 78482010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8f0f72c0 7849
7850 PR c/43553
7851 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
7852 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
7853 is used and substitute set_use_emutls.
7854 * configure: Regenerated.
7855
cf842d6a 78562010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7857
7858 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7859
4dcd7ab3 78602010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7861
7862 PR target/38085
7863 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
7864 MULTILIB_CFLAGS.
7865 ($(T)gcrt1.o): Likewise.
7866 ($(T)crt1.o): Likewise.
7867 ($(T)crti.o): Likewise.
7868 ($(T)crtn.o): Likewise.
7869
a426f025 78702010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7871
7872 PR other/42980
7873 * Makefile.in (install): Use $(MAKE) string in rule, for
7874 parallel make.
7875
8525326e 78762010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
7877
7878 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
7879 * config/mmix/t-mmix: New file.
7880 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
7881
14a10763 78822010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
7883
7884 PR java/41991
7885 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
7886 SHLIB_MAPFILES.
7887
00301a1a 78882010-01-04 Anthony Green <green@moxielogic.com>
7889
7890 * config/moxie/crti.asm, config/moxie/crtn.asm,
7891 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
7892 config/moxie/t-moxie: New files.
7893 * config.host: Add t-moxie-softfp reference.
7894
92e91d03 78952009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
d2b1aa3d 7896
7897 PR other/39888
7898 * config/t-slibgcc-darwin: Fix embedded rpaths for
7899 --enable-version-specific-runtime-libs, build extension stub
7900 libs exposing features available from current libgcc_s.
7901
92e91d03 79022009-11-11 Jon Beniston <jon@beniston.com>
f6fe91e8 7903
278afeb5 7904 * config.host: Add lm32 targets.
7905 * config/lm32: New directory.
7906 * config/lm32/libgcc_lm32.h: New file.
7907 * config/lm32/_mulsi3.c: New file.
7908 * config/lm32/_udivmodsi4.c: New file.
7909 * config/lm32/_divsi3.c: New file.
7910 * config/lm32/_modsi3.c: New file.
7911 * config/lm32/_udivsi3.c: New file.
7912 * config/lm32/_umodsi3.c: New file.
7913 * config/lm32/_lshrsi3.S: New file.
7914 * config/lm32/_ashrsi3.S: New file.
7915 * config/lm32/_ashlsi3.S: New file.
7916 * config/lm32/crti.S: New file.
7917 * config/lm32/crtn.S: New file.
7918 * config/lm32/t-lm32: New file.
7919 * config/lm32/t-elf: New file.
7920 * config/lm32/t-uclinux: New file.
f6fe91e8 7921
24833e1a 79222009-10-26 Nick Clifton <nickc@redhat.com>
7923
7924 * config.host: Add support for RX target.
7925 * config/rx: New directory.
7926 * config/rx/rx-abi-functions.c: New file. Supplementary
7927 functions for libgcc to support the RX ABI.
7928 * config/rx/rx-abi.h: New file. Supplementary header file for
7929 libgcc RX ABI functions.
7930 * config/rx/t-rx: New file: Makefile fragment for building
7931 libgcc for the RX.
7932
1d7e299f 79332009-10-09 Uros Bizjak <ubizjak@gmail.com>
7934
7935 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
7936 constraint of y0 to "g".
7937
e38fe738 79382009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7939
7940 * config.host: Include the s390 makefile fragments.
7941 * config/s390/32/_fixdfdi.c: New file.
7942 * config/s390/32/_fixsfdi.c: New file.
7943 * config/s390/32/_fixtfdi.c: New file.
7944 * config/s390/32/_fixunsdfdi.c: New file.
7945 * config/s390/32/_fixunssfdi.c: New file.
7946 * config/s390/32/_fixunstfdi.c: New file.
7947 * config/s390/32/t-floattodi: New file.
7948 * config/s390/libgcc-glibc.ver: New file.
7949 * config/s390/t-crtstuff: New file.
7950 * config/s390/t-linux: New file.
7951 * config/s390/t-tpf: New file.
7952
81a71e2b 79532009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7954
7955 * configure.ac (AC_PREREQ): Bump to 2.64.
7956
a1ef431d 79572009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
7958
7959 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7960
cd9a469c 79612009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7962
7963 * configure: Regenerate.
7964
9b9a2528 79652009-08-09 Douglas B Rupp <rupp@gnat.com>
7966
7967 * config.host (ia64-hp-*vms*): New target.
7968 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
7969 with ia64-hp-*vms*.
7970
a2655af1 79712009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7972
7973 * configure.ac: Add snippet for maintainer-mode.
7974 * configure: Regenerate.
7975 * Makefile.in (AUTOCONF, configure_deps): New variables.
7976 ($(srcdir)/configure)): New rule, active only with maintainer
7977 mode turned on.
7978
46222c18 79792009-06-23 DJ Delorie <dj@redhat.com>
7980
7981 Add MeP port.
7982 * config.host: Add mep support.
7983
13dc7657 79842009-06-22 Kai Tietz <kai.tietz@onevision.com>
7985
82a3cc73 7986 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 7987 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 7988
7989 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7990 for mingw targets.
13dc7657 7991 * config/i386/64/_multc3.c: Likewise.
7992 * config/i386/64/_powitf2.c: Likewise.
7993 * config/i386/64/eqtf2.c: Likewise.
7994 * config/i386/64/getf2.c: Likewise.
7995 * config/i386/64/letf2.c: Likewise.
7996 * config/i386/64/letf2.c: Likewise.
82a3cc73 7997 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
7998 unsigned long long for x64 mingw targets.
7999 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
8000 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 8001
63bfd172 80022009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
8003
8004 * config.host (vax-*-linux*): New.
8005
be52b6d8 80062009-05-31 Anthony Green <green@moxielogic.com>
8007
8008 * config.host: Add moxie support.
8009 * config/moxie/t-moxie: New file.
8010
92e91d03 80112009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6471e33b 8012
8013 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 8014 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 8015
09ec66c8 80162009-04-17 Aurelien Jarno <aurelien@aurel32.net>
8017
8018 * config.host: Add i386/${host_address}/t-fprules-softfp to
8019 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
8020
6bc9506f 80212009-04-09 Nick Clifton <nickc@redhat.com>
8022
8023 * config/ia64/tf-signs.c: Change copyright header to refer to
8024 version 3 of the GNU General Public License with version 3.1
8025 of the GCC Runtime Library Exception and to point readers at
8026 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
8027 web page.
8028 * config/i386/32/tf-signs.c: Likewise.
8029 * config/libbid/_addsub_dd.c: Likewise.
8030 * config/libbid/_addsub_sd.c: Likewise.
8031 * config/libbid/_addsub_td.c: Likewise.
8032 * config/libbid/_dd_to_df.c: Likewise.
8033 * config/libbid/_dd_to_di.c: Likewise.
8034 * config/libbid/_dd_to_sd.c: Likewise.
8035 * config/libbid/_dd_to_sf.c: Likewise.
8036 * config/libbid/_dd_to_si.c: Likewise.
8037 * config/libbid/_dd_to_td.c: Likewise.
8038 * config/libbid/_dd_to_tf.c: Likewise.
8039 * config/libbid/_dd_to_udi.c: Likewise.
8040 * config/libbid/_dd_to_usi.c: Likewise.
8041 * config/libbid/_dd_to_xf.c: Likewise.
8042 * config/libbid/_df_to_dd.c: Likewise.
8043 * config/libbid/_df_to_sd.c: Likewise.
8044 * config/libbid/_df_to_td.c: Likewise.
8045 * config/libbid/_di_to_dd.c: Likewise.
8046 * config/libbid/_di_to_sd.c: Likewise.
8047 * config/libbid/_di_to_td.c: Likewise.
8048 * config/libbid/_div_dd.c: Likewise.
8049 * config/libbid/_div_sd.c: Likewise.
8050 * config/libbid/_div_td.c: Likewise.
8051 * config/libbid/_eq_dd.c: Likewise.
8052 * config/libbid/_eq_sd.c: Likewise.
8053 * config/libbid/_eq_td.c: Likewise.
8054 * config/libbid/_ge_dd.c: Likewise.
8055 * config/libbid/_ge_sd.c: Likewise.
8056 * config/libbid/_ge_td.c: Likewise.
8057 * config/libbid/_gt_dd.c: Likewise.
8058 * config/libbid/_gt_sd.c: Likewise.
8059 * config/libbid/_gt_td.c: Likewise.
8060 * config/libbid/_isinfd128.c: Likewise.
8061 * config/libbid/_isinfd32.c: Likewise.
8062 * config/libbid/_isinfd64.c: Likewise.
8063 * config/libbid/_le_dd.c: Likewise.
8064 * config/libbid/_le_sd.c: Likewise.
8065 * config/libbid/_le_td.c: Likewise.
8066 * config/libbid/_lt_dd.c: Likewise.
8067 * config/libbid/_lt_sd.c: Likewise.
8068 * config/libbid/_lt_td.c: Likewise.
8069 * config/libbid/_mul_dd.c: Likewise.
8070 * config/libbid/_mul_sd.c: Likewise.
8071 * config/libbid/_mul_td.c: Likewise.
8072 * config/libbid/_ne_dd.c: Likewise.
8073 * config/libbid/_ne_sd.c: Likewise.
8074 * config/libbid/_ne_td.c: Likewise.
8075 * config/libbid/_sd_to_dd.c: Likewise.
8076 * config/libbid/_sd_to_df.c: Likewise.
8077 * config/libbid/_sd_to_di.c: Likewise.
8078 * config/libbid/_sd_to_sf.c: Likewise.
8079 * config/libbid/_sd_to_si.c: Likewise.
8080 * config/libbid/_sd_to_td.c: Likewise.
8081 * config/libbid/_sd_to_tf.c: Likewise.
8082 * config/libbid/_sd_to_udi.c: Likewise.
8083 * config/libbid/_sd_to_usi.c: Likewise.
8084 * config/libbid/_sd_to_xf.c: Likewise.
8085 * config/libbid/_sf_to_dd.c: Likewise.
8086 * config/libbid/_sf_to_sd.c: Likewise.
8087 * config/libbid/_sf_to_td.c: Likewise.
8088 * config/libbid/_si_to_dd.c: Likewise.
8089 * config/libbid/_si_to_sd.c: Likewise.
8090 * config/libbid/_si_to_td.c: Likewise.
8091 * config/libbid/_td_to_dd.c: Likewise.
8092 * config/libbid/_td_to_df.c: Likewise.
8093 * config/libbid/_td_to_di.c: Likewise.
8094 * config/libbid/_td_to_sd.c: Likewise.
8095 * config/libbid/_td_to_sf.c: Likewise.
8096 * config/libbid/_td_to_si.c: Likewise.
8097 * config/libbid/_td_to_tf.c: Likewise.
8098 * config/libbid/_td_to_udi.c: Likewise.
8099 * config/libbid/_td_to_usi.c: Likewise.
8100 * config/libbid/_td_to_xf.c: Likewise.
8101 * config/libbid/_tf_to_dd.c: Likewise.
8102 * config/libbid/_tf_to_sd.c: Likewise.
8103 * config/libbid/_tf_to_td.c: Likewise.
8104 * config/libbid/_udi_to_dd.c: Likewise.
8105 * config/libbid/_udi_to_sd.c: Likewise.
8106 * config/libbid/_udi_to_td.c: Likewise.
8107 * config/libbid/_unord_dd.c: Likewise.
8108 * config/libbid/_unord_sd.c: Likewise.
8109 * config/libbid/_unord_td.c: Likewise.
8110 * config/libbid/_usi_to_dd.c: Likewise.
8111 * config/libbid/_usi_to_sd.c: Likewise.
8112 * config/libbid/_usi_to_td.c: Likewise.
8113 * config/libbid/_xf_to_dd.c: Likewise.
8114 * config/libbid/_xf_to_sd.c: Likewise.
8115 * config/libbid/_xf_to_td.c: Likewise.
8116 * config/libbid/bid128.c: Likewise.
8117 * config/libbid/bid128_2_str.h: Likewise.
8118 * config/libbid/bid128_2_str_macros.h: Likewise.
8119 * config/libbid/bid128_2_str_tables.c: Likewise.
8120 * config/libbid/bid128_add.c: Likewise.
8121 * config/libbid/bid128_compare.c: Likewise.
8122 * config/libbid/bid128_div.c: Likewise.
8123 * config/libbid/bid128_fma.c: Likewise.
8124 * config/libbid/bid128_logb.c: Likewise.
8125 * config/libbid/bid128_minmax.c: Likewise.
8126 * config/libbid/bid128_mul.c: Likewise.
8127 * config/libbid/bid128_next.c: Likewise.
8128 * config/libbid/bid128_noncomp.c: Likewise.
8129 * config/libbid/bid128_quantize.c: Likewise.
8130 * config/libbid/bid128_rem.c: Likewise.
8131 * config/libbid/bid128_round_integral.c: Likewise.
8132 * config/libbid/bid128_scalb.c: Likewise.
8133 * config/libbid/bid128_sqrt.c: Likewise.
8134 * config/libbid/bid128_string.c: Likewise.
8135 * config/libbid/bid128_to_int16.c: Likewise.
8136 * config/libbid/bid128_to_int32.c: Likewise.
8137 * config/libbid/bid128_to_int64.c: Likewise.
8138 * config/libbid/bid128_to_int8.c: Likewise.
8139 * config/libbid/bid128_to_uint16.c: Likewise.
8140 * config/libbid/bid128_to_uint32.c: Likewise.
8141 * config/libbid/bid128_to_uint64.c: Likewise.
8142 * config/libbid/bid128_to_uint8.c: Likewise.
8143 * config/libbid/bid32_to_bid128.c: Likewise.
8144 * config/libbid/bid32_to_bid64.c: Likewise.
8145 * config/libbid/bid64_add.c: Likewise.
8146 * config/libbid/bid64_compare.c: Likewise.
8147 * config/libbid/bid64_div.c: Likewise.
8148 * config/libbid/bid64_fma.c: Likewise.
8149 * config/libbid/bid64_logb.c: Likewise.
8150 * config/libbid/bid64_minmax.c: Likewise.
8151 * config/libbid/bid64_mul.c: Likewise.
8152 * config/libbid/bid64_next.c: Likewise.
8153 * config/libbid/bid64_noncomp.c: Likewise.
8154 * config/libbid/bid64_quantize.c: Likewise.
8155 * config/libbid/bid64_rem.c: Likewise.
8156 * config/libbid/bid64_round_integral.c: Likewise.
8157 * config/libbid/bid64_scalb.c: Likewise.
8158 * config/libbid/bid64_sqrt.c: Likewise.
8159 * config/libbid/bid64_string.c: Likewise.
8160 * config/libbid/bid64_to_bid128.c: Likewise.
8161 * config/libbid/bid64_to_int16.c: Likewise.
8162 * config/libbid/bid64_to_int32.c: Likewise.
8163 * config/libbid/bid64_to_int64.c: Likewise.
8164 * config/libbid/bid64_to_int8.c: Likewise.
8165 * config/libbid/bid64_to_uint16.c: Likewise.
8166 * config/libbid/bid64_to_uint32.c: Likewise.
8167 * config/libbid/bid64_to_uint64.c: Likewise.
8168 * config/libbid/bid64_to_uint8.c: Likewise.
8169 * config/libbid/bid_b2d.h: Likewise.
8170 * config/libbid/bid_binarydecimal.c: Likewise.
8171 * config/libbid/bid_conf.h: Likewise.
8172 * config/libbid/bid_convert_data.c: Likewise.
8173 * config/libbid/bid_decimal_data.c: Likewise.
8174 * config/libbid/bid_decimal_globals.c: Likewise.
8175 * config/libbid/bid_div_macros.h: Likewise.
8176 * config/libbid/bid_dpd.c: Likewise.
8177 * config/libbid/bid_flag_operations.c: Likewise.
8178 * config/libbid/bid_from_int.c: Likewise.
8179 * config/libbid/bid_functions.h: Likewise.
8180 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8181 * config/libbid/bid_inline_add.h: Likewise.
8182 * config/libbid/bid_internal.h: Likewise.
8183 * config/libbid/bid_round.c: Likewise.
8184 * config/libbid/bid_sqrt_macros.h: Likewise.
8185
81862009-04-09 Jakub Jelinek <jakub@redhat.com>
8187
8188 * Makefile.in: Change copyright header to refer to version
8189 3 of the GNU General Public License and to point readers at the
8190 COPYING3 file and the FSF's license web page.
8191 * config.host: Likewise.
8192
4e5e2802 81932009-04-07 Alan Modra <amodra@bigpond.net.au>
8194
8195 * config.host: Reorder and merge to match config.gcc change.
8196
8d40ea45 81972009-04-03 Alan Modra <amodra@bigpond.net.au>
8198
8199 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8200
f2397fc4 82012009-03-28 Joseph Myers <joseph@codesourcery.com>
8202
8203 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
8204 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
8205 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
8206 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
8207
24200b28 82082009-02-12 Uros Bizjak <ubizjak@gmail.com>
8209
8210 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
8211 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8212
8b21beb2 82132009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8214
24200b28 8215 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8216 ia64/t-softfp-compat to tmake_file.
8b21beb2 8217
8218 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
8219
8220 * config/ia64/__divxf3.asm: New.
8221 * config/ia64/_fixtfdi.asm: Likewise.
8222 * config/ia64/_fixunstfdi.asm: Likewise.
8223 * config/ia64/_floatditf.asm: Likewise.
8224 * config/ia64/t-fprules-softfp: Likewise.
8225 * config/ia64/t-softfp-compat: Likewise.
8226 * config/ia64/tf-signs.c: Likewise.
8227
9df8be69 82282009-01-18 Ben Elliston <bje@au.ibm.com>
8229
8230 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8231
f2b540ae 82322009-01-16 Ben Elliston <bje@au.ibm.com>
8233
8234 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
8235 to tmake_file.
8236
5790f80a 82372009-01-13 Ben Elliston <bje@au.ibm.com>
8238
8239 * config/t-softfp: New file.
8240 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
8241 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
8242
92e91d03 82432009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
b8138586 8244
8245 * config.host: Add m32r*-*-rtems*.
8246
92e91d03 82472008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7eac0a4e 8248
8249 * config.host: Add m32c*-*-rtems*.
8250
03150a33 82512008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8252
8253 PR bootstrap/33100
8254 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
8255 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
8256 * configure: Regenerate.
8257 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
8258 tmake_file here from gcc/config.gcc.
8259 Move extra_parts here from gcc/config.gcc.
8260 * config/i386/t-sol2: Move here from gcc/config/i386.
8261 Use gcc_srcdir instead of srcdir.
8262
77a32a8e 82632008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8264
8265 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8266 case.
8267
1eab96a6 82682008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8269
8270 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8271
74cd9df8 82722008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8273
8274 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8275
8372e9ea 82762008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8277
8278 Add picoChip port.
8279 * config.host: Add picochip-*-*.
8280
75c7ffbc 82812008-08-06 Bob Wilson <bob.wilson@acm.org>
8282
8283 * config.host: Match more processor names for Xtensa.
8284
fb4830c6 82852008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8286
8287 * config/i386/64/t-softfp-compat: Update comments.
8288
7c92db45 82892008-07-07 H.J. Lu <hongjiu.lu@intel.com>
8290
8291 * config/i386/64/_divtc3-compat.c: Moved to ...
8292 * config/i386/64/_divtc3.c: Here.
8293
8294 * config/i386/64/_multc3-compat.c: Moved to ...
8295 * config/i386/64/_multc3.c: Here.
8296
8297 * config/i386/64/_powitf2-compat.c: Moved to ...
8298 * config/i386/64/_powitf2.c: Here.
8299
8300 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
8301 .c suffix instead of -compat.c.
8302
ec2e6a4e 83032008-07-05 Uros Bizjak <ubizjak@gmail.com>
8304
8305 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
8306 (_FP_MUL_MEAT_D): Ditto.
8307 (_FP_DIV_MEAT_S): Ditto.
8308 (_FP_DIV_MEAT_D): Ditto.
8309
fdbb505a 83102008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8311
8312 * Makefile.in: Add support for __sync_* libgcc functions.
8313
310c48f2 83142008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8315
8316 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8317
144633f4 83182008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8319
8320 PR boostrap/36702
8321 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
8322 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
8323
8324 * config/i386/64/t-fprules-softfp: Moved to ...
8325 * config/i386/64/t-softfp-compat: This. New.
8326
e25ffafe 83272008-07-02 Uros Bizjak <ubizjak@gmail.com>
8328
8329 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
8330 Initialize f with 0.0.
8331
b3fd46a0 83322008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8333
8334 PR target/36669
8335 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
8336
8337 * config/i386/64/_divtc3-compat.c: New.
8338 * config/i386/64/_multc3-compat.c: Likewise.
8339 * config/i386/64/_powitf2-compat.c: Likewise.
8340 * config/i386/64/eqtf2.c: Likewise.
8341 * config/i386/64/getf2.c: Likewise.
8342 * config/i386/64/letf2.c: Likewise.
8343 * config/i386/64/t-fprules-softfp: Likewise.
8344
83452008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8346
8347 * config.host: Add i386/${host_address}/t-fprules-softfp to
8348 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 8349 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 8350
8351 * configure.ac: Set host_address to 64 or 32 for x86.
8352 * configure: Regenerated.
8353
8354 * Makefile.in (config.status): Also depend on
8355 $(srcdir)/config.host.
8356
8357 * config/i386/32/t-fprules-softfp: New.
8358 * config/i386/32/tf-signs.c: Likewise.
8359
8360 * config/i386/64/sfp-machine.h: New. Moved from gcc.
8361
83622008-07-02 H.J. Lu <hongjiu.lu@intel.com>
8363 Uros Bizjak <ubizjak@gmail.com>
8364
8365 * config/i386/32/sfp-machine.h: New.
8366
eaef9489 83672008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8368
8369 * config/rs6000/t-ppccomm: Remove rules that conflict with
8370 auto-generated rules.
8371
5b2c7553 83722008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8373
8374 * configure.ac: sinclude override.m4.
8375 * configure: Regenerate.
8376
dde02e56 83772008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8378
8379 * configure: Regenerate.
8380
4d6f3aad 83812008-06-10 Joseph Myers <joseph@codesourcery.com>
8382
8383 * Makefile.in (DECNUMINC): Remove
8384 -I$(MULTIBUILDTOP)../../libdecnumber.
8385 * gstdint.h: New.
8386
6af9f7ea 83872008-06-07 Joseph Myers <joseph@codesourcery.com>
8388
8389 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
8390 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
8391 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
8392 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
8393 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
8394 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
8395 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
8396 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
8397 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
8398 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
8399 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
8400 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
8401 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
8402 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
8403
ccf1c0f1 84042008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8405
8406 * config.host (sh2[lbe]*-*-linux*): Allow target.
8407
19872d0b 84082008-04-30 Nathan Froyd <froydnj@codesourcery.com>
8409
8410 * config/rs6000/t-ppccomm: Add build rules for new files.
8411 (LIB2ADD_ST): New variable.
8412
38dd5584 84132008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
8414
8415 PR target/34210
8416 PR target/35508
8417 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
8418 * config/t-avr: New file. Build 16bit libgcc functions.
8419
8e5da69c 84202008-03-02 Jakub Jelinek <jakub@redhat.com>
8421
8422 PR target/35401
8423 * config/t-slibgcc-darwin: Make install-leaf dependent on
8424 install-darwin-libgcc-stubs instead of install.
8425
99c77e32 84262008-01-25 Joseph Myers <joseph@codesourcery.com>
8427
8428 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
8429 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
8430 sh-*-rtemscoff*): Remove cases.
8431
8237872e 84322007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
8433
8434 * Makefile.in (all): Use install-leaf rather than install.
8435 (install): Split most of the rule into...
8436 (install-leaf): ...this new one.
8437
00a05b87 84382007-12-19 Etsushi Kato <ek.kato@gmail.com>
8439 Paolo Bonzini <bonzini@gnu.org>
8440
8441 PR target/30572
e25ffafe 8442 * Makefile.in: Use @shlib_slibdir@ substitution to get
8443 correct install name on darwin.
00a05b87 8444 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 8445
877d7f12 84462007-12-15 Hans-Peter Nilsson <hp@axis.com>
8447
8448 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
8449 cris-*-elf and cris-*-none.
8450 (crisv32-*-linux*): Similar, as cris-*-linux*.
8451
75612461 84522007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8453
8454 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8455
f11b4169 84562007-10-27 H.J. Lu <hongjiu.lu@intel.com>
8457
8458 PR regression/33926
8459 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
8460 * configure: Regenerated.
8461
84d1fc49 84622007-09-27 H.J. Lu <hongjiu.lu@intel.com>
8463
8464 * Makefile.in (dfp-filenames): Replace decimal_globals,
8465 decimal_data, binarydecimal and convert_data with
8466 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
8467 and bid_convert_data, respectively.
8468
3ac0842f 84692007-09-17 Chao-ying Fu <fu@mips.com>
8470 Nigel Stephens <nigel@mips.com>
8471
8472 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
8473 * Makefile.in (fixed_point): Define.
8474 Check if fixed_point is yes to build support functions.
8475 * configure.ac: Check for fixed_point support.
8476 * configure: Regenerated.
8477 * gen-fixed.sh: New file to generate lists of fixed-point labels,
8478 funcs, modes, from, to.
8479
8c72b2f9 84802007-09-11 Janis Johnson <janis187@us.ibm.com
8481
8482 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8483
c8ac5d9a 84842007-09-10 Janis Johnson <janis187@us.ibm.com>
8485
8486 * Makefile.in (dfp-filenames): Remove decUtility, add
8487 decDouble, decPacked, decQuad, decSingle.
8488
cc8ebe39 84892007-08-27 Hans Kester <hans.kester@ellips.nl>
8490
8491 * config.host : Add x86_64-elf target.
8492
db1c99de 84932007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8494
8495 * configure.ac (set_have_cc_tls): Add a missing =.
8496 * configure: Regenerated.
8497
e4cbe54f 84982007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8499
8500 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
8501 and x86_64-*-linux*.
8502
8503 * config/t-tls: New file.
8504
1d7e299f 8505 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 8506
8507 * configure.ac: Include ../config/enable.m4 and
8508 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
8509 supports TLS and substitute set_have_cc_tls.
8510 * configure: Regenerated.
8511
9b6b0236 85122007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8513
8514 * Makefile.in: Use libbid for DFP when BID is enabled.
8515
9e51385b 85162007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8517
8518 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 8519 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 8520 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8521
8f433c51 85222007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 8523 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 8524
8525 PR target/29498
8526 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
8527 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
8528 * config/i386/t-crtfm: Compile crtfastmath.o with
8529 -minline-all-stringops.
8530
723e1902 85312007-05-10 Richard Sandiford <richard@codesourcery.com>
8532
8533 * config.host (sparc-wrs-vxworks): New target.
8534
278e2fd1 85352007-04-14 Kazu Hirata <kazu@codesourcery.com>
8536
8537 * config.host: Recognize fido.
8538
2968d68c 85392007-04-04 Janis Johnson <janis187@us.ibm.com>
8540
8541 * configure: Check host, not target, for decimal float support.
8542
6d057ce8 85432007-04-03 Uros Bizjak <ubizjak@gmail.com>
8544
8545 * config/i386/t-crtpc: New file.
8546 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 8547 (x86_64-*-linux*): Ditto.
6d057ce8 8548
0bbe9142 85492007-02-30 Kai Tietz <kai.tietz@onevision.com>
8550
8551 * config.host (x86_64-*-mingw*): New target.
8552
10de71e1 85532007-03-23 Michael Meissner <michael.meissner@amd.com>
8554 H.J. Lu <hongjiu.lu@intel.com>
8555
8556 * Makefile.in (enable_decimal_float): New.
8557 (DECNUMINC): Add
8558 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
8559 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
8560 (decbits-filenames): This.
8561 (decbits-objects): New.
8562 (libgcc-objects): Add $(decbits-objects).
8563
8564 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
8565 Substitute enable_decimal_float.
8566 * configure: Regenerated.
8567
7a9b9c95 85682007-03-19 Hans-Peter Nilsson <hp@axis.com>
8569
8570 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8571
37decb40 85722007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8573
8574 * Makefile.in (install-info): New dummy target.
8575
bce94ab5 85762007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8577
8578 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8579
1403bdd1 85802007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8581
8582 * Makefile.in: Add install-html and install-pdf dummy
8583 targets.
8584
fce64ed4 85852007-02-05 Roger Sayle <roger@eyesopen.com>
8586 Daniel Jacobowitz <dan@codesourcery.com>
8587
8588 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
8589 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
8590 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
8591
4d863ca5 85922007-01-29 Janis Johnson <janis187@us.ibm.com>
8593
8594 * Makefile.in (dec-filenames): Add decExcept.
8595
f0356913 85962007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8597
8598 PR bootstrap/30469
8599 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
8600 -fprofile-use.
8601
bbdcab13 86022007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
8603
8604 * configure.ac: Add --enable-version-specific-runtime-libs.
8605 Correct $slibdir default.
8606 * configure: Regenerated.
8607
3da0fdbc 86082007-01-23 Joseph Myers <joseph@codesourcery.com>
8609
8610 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8611
cdca0ab7 86122007-01-21 Andrew Pinski <pinskia@gmail.com>
8613
8614 PR target/30519
8615 * config.host (alpha*-*-linux*): Set extra_parts.
8616
97f1a704 86172007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8618
8619 * config/sh/t-linux: New.
8620 * config.host (sh*-*-linux*): Set tmake_file.
8621
52617116 86222007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8623
8624 * Makefile.in (install): Handle multilibs.
8625
c0e5c948 86262007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8627
8628 * Makefile.in: Added .PHONY entry for documentation targets.
8629
d62e2f2f 86302007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8631
8632 * Makefile.in: Add empty info, html, dvi, pdf targets.
8633
68cf2994 86342007-01-04 Mike Stump <mrs@apple.com>
8635
8636 * Makefile.in (MAKEINFO): Remove.
8637 (PERL): Likewise.
8638
f534b3b3 86392007-01-04 Paolo Bonzini <bonzini@gnu.org>
8640
8641 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
8642 * configure: Regenerate.
8643 * Makefile.in (host_subdir): Substitute it.
1d7e299f 8644 (gcc_objdir): Use it.
f534b3b3 8645
c11c6ae3 86462007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8647
8648 * config.host (ia64*-*-linux*): Set tmake_file.
8649
d272bed8 86502007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8651
8652 * Makefile.in (version): Define.
8653
894a47b4 86542007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8655 Paolo Bonzini <bonzini@gnu.org>
8656
8657 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
8658 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
8659 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
8660 config/sparc/t-crtfm, config/t-slibgcc-darwin,
8661 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
8662 shared-object.mk, siditi-object.mk, static-object.mk: New files.
8663 * configure: Generated.
f1717362 8664\f
aad93da1 8665Copyright (C) 2007-2017 Free Software Foundation, Inc.
f1717362 8666
8667Copying and distribution of this file, with or without modification,
8668are permitted in any medium without royalty provided the copyright
8669notice and this notice are preserved.