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