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