]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
libcpp: preserve ranges within macro expansions (PR c++/79300)
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
9b32089e 12017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2
3 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4
e6c95d8f 52017-07-03 Olivier Hainque <hainque@adacore.com>
6
7 * config/t-vxworks7: New file, really.
8
5266910f 92017-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
0e50554f 242017-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
899cdd88 292017-06-27 Olivier Hainque <hainque@adacore.com>
30
31 * config/t-vxworks7: New file.
32 * config.host (*-*-vxworks7): Use it.
33
a4721bd0 342017-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
27182bcd 392017-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
73c72cdf 482017-06-16 Richard Earnshaw <rearnsha@arm.com>
49
50 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
51
696ee0c7 522017-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
e7fcec67 572017-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
69bf76d9 632017-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
b0e6722b 722017-06-02 Olivier Hainque <hainque@adacore.com>
73
74 * config/vxlib.c (__gthread_once): Add missing value to
75 return statement.
76
78d07aaf 772017-05-30 Olivier Hainque <hainque@adacore.com>
78
79 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
80 dollar sign before $(MULTIDIR).
81
1e9944f4 822017-05-26 Richard Henderson <rth@redhat.com>
83
84 PR libgcc/80037
85 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
86
874dff1a 872017-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
c57508a3 932017-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
7303090d 982017-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
e67d3d38 1032017-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
8b9c62ca 1152017-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
9b859c0a 1202017-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*,
e67d3d38 126 x86_64-*-fuchsia*): Add definitions.
9b859c0a 127
44d47185 1282017-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
6db59335 1362017-04-18 Martin Liska <mliska@suse.cz>
137
138 PR gcov-profile/78783
139 * libgcov-driver.c (gcov_get_filename): New function.
140
726cec5c 1412017-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
47ad90e7 1472017-04-07 Alan Modra <amodra@gmail.com>
148
149 PR target/45053
150 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
151
2fbe7a32 1522017-04-03 Jonathan Wakely <jwakely@redhat.com>
153
154 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
155
e69e67d4 1562017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
157
158 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
159
319901d0 1602017-03-10 John Marino <gnugcc@marino.st>
161
162 * config/aarch64/freebsd-unwind.h: New file.
163 * config.host: Add aarch64-*-freebsd unwinder.
164
b97c2c61 1652017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
166
167 * config/rs6000/crtrestvr.s: Use .machine altivec.
168 * config/rs6000/crtsavevr.s: Ditto.
169
8828c0f0 1702017-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
b7714375 1792017-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
3a39f4cf 1852017-03-02 Jonathan Yong <10walls@gmail.com>
186
187 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
188
9c0ca8b6 1892017-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
36387fad 1952017-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
e8c55c95 2132017-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
a0e066ed 2182017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
219
220 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
221
58c979ed 2222017-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
8657c382 2282017-01-20 Jiong Wang <jiong.wang@arm.com>
229
230 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
231
d10c58fd 2322017-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
0812bb06 2552017-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
fd961cec 2632017-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
e0aa57d6 2682017-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
4ed499e5 2752017-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
cb7a0f1d 2802017-01-04 Alan Modra <amodra@gmail.com>
281
282 * Makefile.in (configure_deps): Update.
283 * configure: Regenerate.
284
aad93da1 2852017-01-01 Jakub Jelinek <jakub@redhat.com>
286
287 Update copyright years.
288
9834d450 2892016-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
1eff8c97 2952016-12-17 Matthias Klose <doko@ubuntu.com>
296
297 * config/arc/gmon: Remove empty directory.
298
8df543e1 2992016-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
489174fc 3212016-12-12 George Spelvin <linux@sciencehorizons.net>
322
323 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
324
4d1d4dad 3252016-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
a1928e5c 3312016-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
74d8fa14 3362016-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
25df644f 3432016-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
2d3a01a7 3512016-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
0120ae30 3572016-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
6c8f362e 3632016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
364
966d046c 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
6c8f362e 369 PR gcc/74748
370 * libgcc/mkmap-symver.awk: add support for skip_underscore
371
aaa50706 3722016-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
a5987adb 3782016-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
9f58227e 3862016-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
684b17ed 3942016-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
d1b857ae 4042016-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
7dbfd9e6 4142016-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
6bf644d1 4202016-11-18 Walter Lee <walt@tilera.com>
421
7dbfd9e6 422 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
6bf644d1 423
a28d23f0 4242016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
425
426 * config/i386/cpuinfo.c (processor_features): Add
427 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
428
732a947a 4292016-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
7fce8768 4372016-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
397d0e43 4432016-11-16 Waldemar Brodkorb <wbx@openadk.org>
444
445 PR libgcc/68468
446 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
447
44618e46 4482016-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
6e6c7fc1 4552016-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
36ffeeaf 4612016-11-03 Martin Liska <mliska@suse.cz>
462
463 * libgcov-profiler.c (__gcov_time_profiler): Remove.
464 (__gcov_time_profiler_atomic): Likewise.
465
9769a02b 4662016-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
2743281b 4722016-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
7829b1ae 4802016-10-24 Florian Weimer <fweimer@redhat.com>
481
482 PR libgcc/78064
483 * unwind-c.c: Include auto-target.h.
484
677e8b73 4852016-10-19 John David Anglin <danglin@gcc.gnu.org>
486
2743281b 487 * config/pa/pa64-hpux-lib.h: New file.
677e8b73 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
5dc8060e 4932016-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
2b7e7fc4 5032016-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
ad7b10a2 5162016-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
dff001ee 5232016-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
88afddbc 5292016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
530
531 * config.host: Add support for aarch64-*-freebsd*.
532
7667e10d 5332016-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
bc6b11a7 5392016-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
4785ab74 5532015-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
db46bcd3 5582016-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
1e849229 5682016-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
c678023a 5762016-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
69ea9908 5902016-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
d1c9b60c 6012016-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
86d9b5ed 6122016-09-07 Joseph Myers <joseph@codesourcery.com>
613
614 PR libgcc/77519
615 * libgcc2.c (NOTRUNC): Invert settings.
616
4c790ba8 6172016-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
ac34f4bd 6242016-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
9cd45037 6292016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
630
631 * config/mips/linux-unwind.h: Use sys/syscall.h.
632
de41fc22 6332016-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
196b8968 7182016-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
2d2b4107 7232016-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
ba662a81 7392016-08-09 Martin Liska <mliska@suse.cz>
740
741 * libgcov-util.c: Fix typo and GNU coding style.
742
2d917abb 7432016-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
defa7026 7502016-08-09 Martin Liska <mliska@suse.cz>
751
752 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
753 power of two.
754
cc308618 7552016-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
33d428f0 7602016-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
04aca775 7652016-07-21 Aurelien Jarno <aurelien@aurel32.net>
766
767 PR target/59833
768 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
769
78c81e30 7702016-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
244f142f 7752016-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
4623d929 7842016-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
2d079cbf 7892016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
790
791 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
792
baea7c0c 7932016-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
9e6f4af4 7982016-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
286a203d 8242016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
825
826 * libgcc2.c (SYMBOL__MAIN): Remove checks for
827 CTOR_LISTS_DEFINED_EXTERNALLY.
828
dabe3026 8292016-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
21ecea39 8382016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
839
2743281b 840 * config.host: Add suport for arm*-*-phoenix* targets.
21ecea39 841
03fee1f8 8422016-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
0f7d9ee5 8502016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
851
852 * config.host: Remove support for avr-rtems.
853 * config/avr/t-rtems: Remove.
854
13c64cbf 8552016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
856
857 * config.host: Remove m32r-rtems support.
858
dac5da06 8592016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
860
861 * config.host: Remove h8300-rtems support.
862
79573034 8632016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
864
865 * config.host: Remove support for knetbsd.
866
b79c0f5e 8672016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
868
869 * config.host: Remove support for openbsd 2 and 3.
870
6905db52 8712016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
872
873 * config.host: Remove interix support.
874 * config/i386/t-interix: Remove.
875
433e4812 8762016-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
5d4123dc 8812016-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
3237fc56 8902016-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
16dbe651 8982016-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
f6871bbd 9052016-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
51d42eb1 9112016-05-19 Sandra Loosemore <sandra@codesourcery.com>
912
61958e92 913 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
51d42eb1 914 dw2/seh configuration.
915 [x86_64-*-mingw*]: Likewise.
916
ffdf58db 9172016-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
9a9b5abf 9242016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
925
926 * config.host: Remove SH5 support.
927 * configure: Likewise.
928
f6fac0a1 9292016-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
7238c72c 9402016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
941
942 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
943
5caa55b9 9442016-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
10dd6506 9512016-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
1701058d 9632016-04-21 Waldemar Brodkorb <wbx@openadk.org>
964
965 * config/m68k/linux-atomic.c: Do not include unistd.h
966
9703b760 9672016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
968
969 * config/arm/ieee754-df.S: Fix typos in comments.
970
62735984 9712016-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
1c934c58 9792016-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
28a5f334 9852016-03-28 James Bowman <james.bowman@ftdichip.com>
986
61958e92 987 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
28a5f334 988
88a2143c 9892016-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
ed3d624c 9962016-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
1e085786 10032016-02-26 Joel Sherrill <joel@rtems.org>
1004
1005 * config.host: Add x86_64-*-rtems*.
1006
05ea12a2 10072016-02-26 Joel Sherrill <joel@rtems.org>
1008
1009 * libgcc/config.host: Add aarch64-*-rtems*.
1010
9b71efb9 10112016-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
e59c8b12 10212016-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
1fa780ac 10312016-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
c6d481f7 10382016-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
d58f7073 10452016-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
43cfc88a 10502016-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
ad2fe514 10562016-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
92e91d03 10622016-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
d99eec2c 10682016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 1069 Steven Munroe <munroesj@linux.vnet.ibm.com>
1070 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
d99eec2c 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
f557f14d 11482016-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
0e0d3ecb 11552016-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
398368d8 11752016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 1176 Steven Munroe <munroesj@linux.vnet.ibm.com>
1177 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
398368d8 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
25cbccba 12482016-01-05 Olivier Hainque <hainque@adacore.com>
1249
1250 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
398368d8 1251 specificities.
25cbccba 1252
f1717362 12532016-01-04 Jakub Jelinek <jakub@redhat.com>
1254
1255 Update copyright years.
1256
444b6906 12572015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
1258
1259 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
398368d8 1260 soft-fp targets.
444b6906 1261
9ff93578 12622015-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
a59e6fa6 12672015-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
7ed86ba5 12722015-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
2ec62878 12872015-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
08de21a4 12932015-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
7824e89a 13022015-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
c0b6819e 13082015-11-19 DJ Delorie <dj@redhat.com>
1309
1310 * config/msp430/lib2hw_mul.S: Fix alignment.
1311
1927fff5 13122015-11-18 Nathan Sidwell <nathan@codesourcery.com>
1313
1314 * config/nvptx/reduction.c: New.
1315 * config/nvptx/t-nvptx (LIB2ADD): Add it.
1316
5bbad880 13172015-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
0c4d7986 13232015-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
4fa8daf5 13392015-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
d2dc729f 13452015-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
69de5ea9 13562015-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
47ce082f 13642015-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
18e98669 13702015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
1371
1372 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
1373 Include crtfastmath.o.
1374
9003096f 13752015-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.
18e98669 1379
2ee6cfdb 13802015-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
92e91d03 13872015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5814084e 1388
1389 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
1390 (__cpu_indicator_init): Fix model selection for AMD CPUs.
1391
6c1b774a 13922015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
1393
1394 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
1395
e3c15dbe 13962015-10-03 Max Filippov <jcmvbkbc@gmail.com>
1397
1398 * config.host (xtensa*-*-uclinux*): New configuration.
1399
767110dd 14002015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
1401
61958e92 1402 * config/i386/cpuinfo.c (processor_features): Add
767110dd 1403 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
1404
b576f5d8 14052015-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
0ed0ef69 14892015-09-24 Richard Earnshaw <rearnsha@arm.com>
1490
1491 PR libgcc/67624
1492 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
1493
80fc7cb7 14942015-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
ba24ad38 15042015-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
c2ab7513 15222015-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
92e91d03 15462015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
f96d88a8 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
672cc719 15532015-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
552a60d3 15602015-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
f12cf9f4 15672015-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
9d8ce924 15722015-09-13 John David Anglin <danglin@gcc.gnu.org>
1573
1574 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
1575
196c8383 15762015-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
15b21d23 16372015-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
8a596a77 16422015-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
863356ea 16472015-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
58bb1dbe 16542015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
1655
1656 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
1657 (get_intel_cpu): Likewise.
1658
cba3f034 16592015-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
aca0ff16 16642015-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
71b19c56 16702015-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
ff285c74 16752015-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
a46441d0 16812015-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
4e985e0f 16862015-07-17 Nathan Sidwell <nathan@codesourcery.com>
1687
1688 * offloadstuff.c: Constify host data.
1689
c780eb05 16902015-07-17 Jan Beulich <jbeulich@suse.com>
1691
1692 * config/t-softfp: Split up "else ifneq".
1693
70425b26 16942015-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
6c8a3242 17012015-07-13 John Marino <gnugcc@marino.st>
1702
1703 * config/i386/t-dragonfly: New.
1704
d277282f 17052015-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
146896ec 17122015-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
58ddcdad 17192015-06-23 James Lemke <jwlemke@codesourcery.com>
1720
1721 libgcc/config/arm/
1722 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
1723
e9abca4f 17242015-05-27 H.J. Lu <hongjiu.lu@intel.com>
1725
1726 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
1727
92e91d03 17282015-05-27 John Marino <gnugcc@marino.st>
328976ed 1729
1730 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
1731 md_unwind_header
1732 * config/i386/freebsd-unwind.h: New.
1733
2a8549e0 17342015-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
b5d18737 17422015-05-21 Alan Modra <amodra@gmail.com>
1743
1744 PR libgcc/66225
1745 * config/rs6000/morestack.S: Remove ".abiversion 1".
1746
ec3f28c9 17472015-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
11087c28 17552015-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
f29929b5 17602015-05-16 James Bowman <james.bowman@ftdichip.com>
1761
1762 * config.host: FT32 target added.
1763 * config/ft32/*: New files for FT32 target.
1764
ce86a36a 17652015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
1766
61958e92 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.
ce86a36a 1771
177cc56c 17722015-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
a8a5046c 17802015-05-12 Uros Bizjak <ubizjak@gmail.com>
1781
1782 * libgcov-util.c: Add space between string literal and macro name.
1783
1ddaa252 17842015-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
162f9d1e 17932014-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
005a5ef5 18012015-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
18082015-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
acff2768 18132015-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
a2e31d06 18202015-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
4b5fb32a 18262015-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
e98e1692 18362015-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
a0093a4f 18432015-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
fb5ccd6d 18482015-04-10 Jakub Jelinek <jakub@redhat.com>
1849 Iain Sandoe <iain@codesourcery.com>
1850
1851 PR target/65351
1852 * configure: Regenerate.
1853
b1b085e0 18542015-04-07 Jakub Jelinek <jakub@redhat.com>
1855 Iain Sandoe <iain@codesourcery.com>
1856
1857 PR target/65351
1858 * configure: Regenerate.
1859
7ca58a65 18602015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
1861
1862 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
1863
b89c671b 18642015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 1865
b89c671b 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
69831bb2 18772015-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
c905381f 18842015-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
0853f8db 18962015-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
1c55a862 19022015-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
6014aff2 19112015-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
a698bcaa 19172015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
1918
1919 PR gcov-profile/61889
3083dd2f 1920 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 1921
889a65e7 19222015-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
f3b68f27 19272015-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
5be42fa9 19402015-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
45e05b5a 19502015-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
43cbcd84 19792015-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
f8956357 19872015-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
1b738d4d 19932015-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
58ca7445 20002015-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
d4c9c88d 20112015-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
c46389f0 20162015-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
275d0a7c 20222015-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
8992df51 20312015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2032
2033 * config.host: Add Visium support.
2034 * config/visium: New directory.
2035
d353bf18 20362015-01-05 Jakub Jelinek <jakub@redhat.com>
2037
2038 Update copyright years.
2039
78645e70 20402014-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
14cc370b 20452014-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
06f29f53 20522014-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
92e91d03 20592014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 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
c0235a33 20662014-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
273fffd6 20712014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
2072
84cf4824 2073 PR target/55351
273fffd6 2074 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
2075 whether it's defined.
2076
ffbfc7c5 20772014-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
ae22ef60 20822014-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
a532bc30 20882014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
2089
2090 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
2091
e88ebd91 20922014-11-24 John David Anglin <danglin@gcc.gnu.org>
2093
2094 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
2095 instead.
2096
422aeca3 20972014-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.
005a5ef5 2111
a3d93be3 21122014-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
97a36a5b 21252014-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
f2b55aea 21392014-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
8ce80784 21452014-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
0e36a0d7 21582014-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
d9b5cf5c 21782014-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
2de51200 21922014-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
fd1eaa27 21982014-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
e707b8cc 22072014-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
6ce12a35 22142014-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
b4e6d2e2 22192014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
92e91d03 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>
b4e6d2e2 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,
6ce12a35 2239 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 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.
6ce12a35 2249 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 2250 AVRTINY.
2251
6ce12a35 2252 Fix broken long multiplication on tiny arch.
b4e6d2e2 2253
d9bbc5ef 22542014-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
26054e0b 22932014-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
8a8f3988 23102014-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
f230ef81 23252014-10-04 Trevor Saunders <tsaunders@mozilla.com>
2326
2327 * config.host: Remove support for score-*.
2328
0cb69d12 23292014-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
acbb28e9 23422014-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
d0eb4a95 23482014-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
6c352a95 23622014-09-19 Olivier Hainque <hainque@adacore.com>
2363
2364 * config.host (powerpc-wrs-vxworksmils): New configuration,
2365 same as vxworksae.
2366
168dfbf0 23672014-09-18 Joseph Myers <joseph@codesourcery.com>
2368
2369 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
2370
ca6c7c2e 23712014-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
bc587267 23762014-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
0624d0c7 23942014-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
d5957f0d 23992014-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
986b9a67 24142014-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
8f908dc5 24252014-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
f67c2dde 24322014-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
b660d3c6 24582014-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
2aeea855 24732014-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
a91625a6 24782014-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
325b8c3c 24832014-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
b12d2330 25712014-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
827d5daf 25792014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2580
1db4f54b 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
827d5daf 2588 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
2589 declaration syntax.
2590
e3108d46 25912014-08-13 Steve Ellcey <sellcey@mips.com>
2592
2593 * crtstuff.c: Undef caddr_t.
2594
0898fffa 25952014-08-12 Steve Ellcey <sellcey@mips.com>
2596
2597 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
2598
859fa1a9 25992014-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
3fa2798a 26242014-08-04 Rohit <rohitarulraj@freescale.com>
2625
2626 PR target/60102
2627 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 2628 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 2629
cb3ea3de 26302014-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
bfd88f52 26392014-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
bcd3133e 26512014-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
1186f97a 26582014-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
ab0c4d2e 26782014-07-27 Anthony Green <green@moxielogic.com>
2679
2680 * config.host: Add moxiebox configuration suppport.
2681
6401b74d 26822014-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
0f768e5f 27022014-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
2b333d82 27132014-07-24 DJ Delorie <dj@redhat.com>
2714
2715 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 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.
2b333d82 2720
145d88ea 27212014-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
307c2567 27272014-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
3dc22a01 27332014-07-14 Richard Biener <rguenther@suse.de>
2734
2735 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
2736
a60d8a99 27372014-07-11 Rong Xu <xur@google.com>
2738
2739 * libgcov-util.c (gcov_max_filename): Fix declartion.
2740
e76f6040 27412014-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.
005a5ef5 2779 (int_scale): Callback function for integer fraction scaling.
e76f6040 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
761d3cae 27882014-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
b4187486 27952014-05-22 Nick Clifton <nickc@redhat.com>
2796
2797 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
2798 -mhwmult=none.
2799
f1919901 28002014-05-22 Teresa Johnson <tejohnson@google.com>
2801
2802 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
2803 include.
2804
463553db 28052014-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
17611fd9 28132014-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
b061dab2 28192014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
2820
2821 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
2822 implementation.
2823
b81ef88d 28242014-05-12 Georg-Johann Lay <avr@gjlay.de>
2825
2826 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
2827
d71975a6 28282014-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
d3c4b980 28342014-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
1f912f03 28412014-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
3efb5d22 28462014-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
368b5b2c 28572014-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
0cdefccf 28622014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
2863
c7285b71 2864 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 2865
e5d692d7 28662014-03-10 Uros Bizjak <ubizjak@gmail.com>
2867
2868 PR libgcc/60472
2869 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 2870 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 2871 Use __builtin_expect when checking *jcr_list for NULL.
2872
ec5f5503 28732014-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
6dd4126d 28802014-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
c63fabc4 28852014-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
2da35515 28922014-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
73e15dfc 28982014-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
db5ce3d9 29052014-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
8f687340 29122014-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
fc1cd012 30282014-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
4b366ca9 30382014-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
896dc54c 30512014-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
48118d02 30612014-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
1fa97c89 30702014-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
9bcbf352 30752014-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
81b83e46 30892014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
3090
3091 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
3092 as long long.
3093
41766a5f 30942014-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
c8d04645 31002014-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
47bfa8ec 31822014-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
fcb4fe71 31882014-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
92e91d03 31952014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 3196
3197 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
3198
9c50d275 31992014-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
005a5ef5 32082014-01-08 Rong Xu <xur@google.com>
67745126 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
acf40e7e 32202014-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
f9fb6ba0 32252014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
3226
3227 Update copyright years
3228
e4f22041 32292014-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
de65406d 32692013-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
a0f1278f 32872013-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
0337c8ef 32932013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
3294
e5d692d7 3295 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 3296 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
3297 (get_amd_cpu): Likewise.
3298
03797e66 32992013-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
8a5280dc 33042013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
3305 H.J. Lu <hongjiu.lu@intel.com>
3306
ed1bc9a4 3307 PR target/59422
3308 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 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.
ed1bc9a4 3317 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 3318 FEATURE_FMA4 and FEATURE_XOP.
3319
ccc305ff 33202013-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
4ef5912a 33262013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
3327
3328 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
3329
62f068c6 33302013-12-09 Uros Bizjak <ubizjak@gmail.com>
3331
3332 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 3333 instructions when __SSE_MATH__ is defined.
62f068c6 3334
d742e92d 33352013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
3336
3337 * config.host (microblaze-*-rtems*): New.
3338
706d62f5 33392013-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
81927967 33452013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
3346
3347 * longlong.h: Delete (moved to include/).
3348
085d03cc 33492013-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
1f88bc79 33542013-11-28 Uros Bizjak <ubizjak@gmail.com>
3355
3356 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
3357
33582013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 3359
3360 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
3361 for correct opcodes on BE.
3362
ea9697c4 33632013-11-27 Uros Bizjak <ubizjak@gmail.com>
3364
3365 * soft-fp/op-4.h: Update from glibc.
3366
b214253d 33672013-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
334819e8 33732013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
3374
3375 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
3376
2b8d95bc 33772013-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
39da7440 33822013-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
b848ffcd 33912013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
3392
ea9697c4 3393 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 3394
f75db2a8 33952013-11-18 Jan Hubicka <jh@suse.cz>
3396
5dbddbd9 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
7a45fd9b 3402 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
3403 run_accounted.
3404
f75db2a8 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
822f2c1b 34152013-11-15 Andreas Schwab <schwab@linux-m68k.org>
3416
3417 * configure: Regenerate.
3418
238f342d 34192013-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
34252013-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
34352013-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
771a5362 34432013-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
f4f176bd 34492013-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
024d645a 34552013-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
96ddb284 34642013-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
b4ad80db 34702013-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.
dc1dacdf 3476 Rewrite FP_EX_INEXACT handling.
b4ad80db 3477
589468a6 34782013-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
8a3edb33 35632013-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
ea151fae 35722013-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
eae21ed1 35772013-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
b4294f67 35832013-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
89432048 36072013-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
a99f9d91 36122013-10-02 John David Anglin <danglin@gcc.gnu.org>
3613
3614 * config.host (hppa*64*-*-linux*): Define extra_parts.
3615 (hppa*-*-linux*): Likewise.
3616
c6e92c43 36172013-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
8abf21c0 36732013-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.
29941397 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.
8abf21c0 3680
8eaaaea3 36812013-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
5d7073ff 36922013-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
c5a0ae5e 36982013-09-16 DJ Delorie <dj@redhat.com>
3699
3feee9ae 3700 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 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
03223f89 37082013-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
e4a25868 37202013-09-12 DJ Delorie <dj@redhat.com>
3721
3722 * config.host (msp*-*-elf): New.
3723 * config/msp430/: New port.
3724
f5f1a747 37252013-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
272552a3 37322013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 3733 Catherine Moore <clm@codesourcery.com>
92e91d03 3734 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 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
26865d30 37452013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
3746
3747 * config.host <mips*-*-linux*>: Remove a stray comment.
3748
4771c0ac 37492013-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
fe37be54 37562013-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
b710ec85 37632013-08-06 Caroline Tice <cmtice@google.com>
3764
62257207 3765 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 3766 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 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
b710ec85 3769 true.
62257207 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.
b710ec85 3775
98997678 37762013-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
b26b6f0d 37832013-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
e6270f6f 37882013-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
fdbf5b19 37932013-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
6dcb849c 38012013-07-15 Matthias Klose <doko@ubuntu.com>
3802
3803 * libgcc2.c: Don't include <limits.h>.
3804
16348e18 38052013-07-09 Janis Johnson <janisjo@codesourcery.com>
3806
3807 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
3808
64b5be08 38092013-07-06 Jakub Jelinek <jakub@redhat.com>
3810
3811 PR target/29776
3812 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
3813
68a09193 38142013-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
5fe358df 38232013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
3824
3825 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
3826 correctly.
3827
2511e9f1 38282013-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
0b4e9fcd 39112013-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
fe9c9e23 39162013-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
1c229e23 39222013-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
1a7dfb13 39292013-06-06 Douglas B Rupp <rupp@adacore.com>
3930
3931 * config.host (arm-wrs-vxworks): Configure with other soft float.
3932
60b34f30 39332013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
3934
3935 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
3936 (mips64r5900el-*-elf*): New configurations.
3937
ebe9cbdb 39382013-06-04 Alan Modra <amodra@gmail.com>
3939
3940 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
3941
fbcee6d1 39422013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
3943
3944 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
3945
aad33226 39462013-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
47ab8c10 39522013-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
34a60aa2 39572013-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
be82f7a8 39642013-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
bd89d2b6 39702013-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
9e849aff 39752013-05-06 Thomas Schwinge <thomas@codesourcery.com>
3976
dfa9a36a 3977 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3978 NaN's payload.
3979
9e849aff 3980 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3981
d80dc920 39822013-04-25 Alan Modra <amodra@gmail.com>
3983
3984 * config.host: Match little-endian powerpc-linux.
3985
d359df0c 39862013-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
912507e5 39932013-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
9dafcef4 40002013-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
11bec6e6 40052013-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
45d13ef4 40112013-03-27 Kai Tietz <ktietz@redhat.com>
4012
4013 * config.host: Add support for cygwin x64 target.
4014 * configure: Regenerated.
4015
cad8262b 40162013-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
d2adc174 40212013-03-25 Kai Tietz <ktietz@redhat.com>
4022
4023 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
4024
a5487e41 40252013-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
ff9c1bc1 40322013-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
228bf2b8 40402013-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
bb057878 40472013-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
a1b2a524 40532013-03-07 Sriraman Tallam <tmsriram@google.com>
4054
4055 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
4056 sandybridge processors.
4057
9fe603c3 40582013-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
21ebaa24 40642013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 4065
4066 * config/microblaze/crti.S: Setup stack protection at entry
4067
958069e9 40682013-03-04 Georg-Johann Lay <avr@gjlay.de>
4069
4070 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
4071 (__rotldi3): Shift bytewise if applicable.
4072
49be16da 40732013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
4074
4075 * config/aarch64/sync-cache.c
4076 (__aarch64_sync_cache_range): Silence warnings.
4077
ca7a473f 40782013-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
7fd93f9c 40892013-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
1859244f 40972012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 4098 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 4099 as dividend.
4100
2a0bfd56 41012013-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
cfbcb7d5 41092013-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
48b8e70a 41242013-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
eafea251 41312013-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
64b7b462 41452013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
4146
4147 Update copyright years.
4148
a8af2dd5 41492013-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
9a5788ea 41612013-01-31 Nick Clifton <nickc@redhat.com>
4162
4163 * config/v850/lib1funcs.S: Add support for e3v5 architecture
4164 variant.
4165
63c85bd5 41662013-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
21ebaa24 41752013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 4176
9a5788ea 4177 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 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
21ebaa24 41832013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 4184
4185 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
4186 extra_parts.
4187
ee4d7d9e 41882013-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
7deea711 41952013-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
0dff9558 42002013-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
d8ff1e9a 42052013-01-14 Georg-Johann Lay <avr@gjlay.de>
4206
4207 * config/avr/avr-lib.h: Add GPL copyright notice.
4208
dd509879 42092013-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
6e029611 42162013-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.
51918e06 4220
409ad634 42212013-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
1d384e02 42262012-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
cc4b03ac 42312012-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
990457e2 42362012-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
db6a9a70 42422012-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
038a6cd9 42472012-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
ef5f15fb 42542012-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
92e91d03 42592012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
09ef8b8d 4260
038a6cd9 4261 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 4262 (FP_EX_SHIFT): Define.
4263 (FP_TRAPPING_EXCEPTIONS): Define.
4264
92e91d03 42652012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1caca546 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
6a11e52b 42732012-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
a92cf445 42902012-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
f0b6dfa6 42972012-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.
038a6cd9 4302
c8ec4eb6 43032012-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
038a6cd9 4314 decimal point of signed accum types.
4315
c8ec4eb6 4316 (__mulusa3_round): New function.
4317 (__mulusa3): Use it.
4318 (__divqq_helper): New function.
4319 (__udivuqq3): Use it.
4320
ca8c4cb9 43212012-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
5d2fca09 43262012-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
92e91d03 43322012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
bfc20a3e 4333
4334 * soft-fp: Updated from glibc upstream.
4335
20f6e7a3 43362012-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
97bd2465 43472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
4348
4349 * configure: Regenerate.
4350
d152ae90 43512012-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
0cd8c088 43612012-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
113702f6 43662012-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
92e91d03 43742012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
00b706f9 4375
4376 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
4377
92e91d03 43782012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
57380e33 4379
113702f6 4380 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 4381
a2397d15 43822012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
4383
4384 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
4385 tmake_file.
4386
1b3d2097 43872012-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
cfdcf688 44072012-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
92e91d03 44132012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
598ebe3d 4414
4415 * config.host
4416 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
4417 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
4418
530c2b2e 44192012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4420
4421 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
4422
f49eb158 44232012-10-15 Matthias Klose <doko@ubuntu.com>
4424
4425 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
4426
017f22df 44272012-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
da8b7497 44322012-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
19a23012 44372012-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
a32dc74a 44462012-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
81ae3d37 44522012-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
4e6a7cfc 44592012-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
7cc401e3 44652012-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
cfaba078 44722012-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
4854adab 44802012-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.
4e6a7cfc 4489 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
4490 Likewise.
4854adab 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
07cf7615 44982012-09-19 Mark Kettenis <kettenis@openbsd.org>
4499
cfaba078 4500 * config.host (hppa-*-openbsd*): New target.
4501 * config/pa/t-openbsd: New file.
07cf7615 4502
b4ebb666 45032012-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
6e7c6395 45202012-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
5e847ded 45262012-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
7995ce5f 45322012-09-07 Teresa Johnson <tejohnson@google.com>
4533
cfaba078 4534 PR gcov-profile/54487
7995ce5f 4535 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 4536 differences.
7995ce5f 4537
fd28e216 45382012-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
2688cb90 45482012-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
51796b3a 45562012-09-01 Mark Kettenis <kettenis@openbsd.org>
4557
4558 * config.host (x86_64-*-openbsd*): New target.
d152ae90 4559
d36db932 45602012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
4561
4562 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
4563 attribute.
4564
d87654c8 45652012-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
017c5b98 45702012-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
65bcd545 45902012-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
39166195 45982012-08-22 H.J. Lu <hongjiu.lu@intel.com>
4599
4600 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
4601
b78f422e 46022012-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
66ef0f44 46122012-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
93547515 46172012-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
98d22b3c 46222012-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
2076ec4b 46292012-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
c1420b84 46342012-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
ae5b70d0 46392012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4640
4641 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
4642
4ff70f1c 46432012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
4644
4645 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
4646
464810a0 46472012-08-03 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 PR driver/54171
4650 * Makefile.in (version): Replace top_srcdir with srcdir.
4651
d2c6da38 46522012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
4653
4654 * Makefile.in (version): set to BASE-VER file from gcc directory.
4655
a575acb2 46562012-08-01 Nick Clifton <nickc@redhat.com>
4657
4658 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
4659 Implements __clrsb for an HImode argument.
4660
3a44f5e6 46612012-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
56b17dd7 46682012-07-22 Steven Bosscher <steven@gcc.gnu.org>
4669
4670 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
4671
8ad0b530 46722012-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
017bf976 46852012-07-14 Steven Bosscher <steven@gcc.gnu.org>
4686
4687 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
4688
6f24586e 46892012-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
1927db1f 46952012-06-13 Uros Bizjak <ubizjak@gmail.com>
4696
7b9088d5 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.
1927db1f 4703
c3576308 47042012-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
725b956c 47142012-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
026e608e 47202012-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
2c223cf2 47262012-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
620803f2 47442012-06-03 David S. Miller <davem@davemloft.net>
4745
4746 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
4747 change.
4748
38ef0978 47492012-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
e1c346e5 47552012-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
4bb0c596 47852012-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
05b6028a 47902012-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
de055a8b 47952012-05-24 Olivier Hainque <hainque@adacore.com>
4796
05c265fe 4797 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 4798 "install-leaf" to "install".
4799
511797dd 48002012-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
c05436a7 48052012-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
0e0bcebd 48112012-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
4ea72f7b 48202012-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
98c9b52b 48292012-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
a7534247 48562012-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
7b9088d5 48612012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 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
416e60e6 48702012-04-28 Aurelien Jarno <aurelien@aurel32.net>
4871
4bb0c596 4872 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
4873 (mips*-*-linux*): Include mips/t-tpbit when long double is
4874 16 bytes long.
416e60e6 4875
d79cfc15 48762012-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
cef20746 48822012-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
0a166714 48892012-04-24 Sriraman Tallam <tmsriram@google.com>
4890
4891 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
4892
f0fd108f 48932012-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
394bef3f 49002012-04-24 Chao-ying Fu <fu@mips.com>
4901
4902 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
4903
5617a3db 49042012-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
49a280b5 49212012-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
6c760a69 49262012-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
59e4072c 49312012-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
d32d7e3a 49362012-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
6aadb6e2 49422012-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
784576c7 49592012-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
483ac460 49692012-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
bdd1ee48 49792012-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
df85f61c 49852012-03-20 Richard Guenther <rguenther@suse.de>
4986
4987 PR gcov-profile/52627
4988 * libgcov.c (init_mx): Fix mutex name.
4989
46da3ce5 49902012-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
264a5d11 49952012-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
42b3e3d6 50032012-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
c2c4377d 50082012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5009
5010 * config/arm/crtn.S: Fix typo.
5011
3f2da048 50122012-03-13 Richard Guenther <rguenther@suse.de>
5013
5014 * libgcov.c: Remove stdio.h include and NULL un-define.
5015
b4e1521f 50162012-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
1d110375 50212012-03-13 Richard Guenther <rguenther@suse.de>
5022
5023 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
5024
0e6ad699 50252012-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
1f7e141e 50302012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5031
5032 * config.host (mips*-*-openbsd*): Remove.
5033
126b6848 50342012-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
2e7d9be1 50472012-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
8f852c44 50632012-03-12 Tristan Gingold <gingold@adacore.com>
5064
5065 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
5066 * config/ia64/t-vms: Likewise.
5067
04d5d0ad 50682012-03-11 Michael Hope <michael.hope@linaro.org>
5069
7b9088d5 5070 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
5071 for Thumb-2.
04d5d0ad 5072
3d14844b 50732012-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
3abce231 50852012-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
ee3ce577 50902012-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
be20cbdd 50962012-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
e9b46b49 51102012-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
2da7d23a 51152012-03-01 Kai Tietz <ktietz@redhat.com>
5116
5117 * soft-fp: Imported from glibc upstream.
5118
ed67de04 51192012-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
154b49cd 51242012-02-28 Ian Lance Taylor <iant@google.com>
5125
5126 * generic-morestack.c (__splitstack_releasecontext): Correct call
5127 to __morestack_release_segments.
5128
8d2259c8 51292012-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
97e18ae2 51352012-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
c3dd2023 51402012-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
7ed6dbef 51462012-02-20 Kai Tietz <ktietz@redhat.com>
5147
52cec843 5148 PR libstdc++/52300
5149 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
5150
7ed6dbef 5151 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
5152 to w32-unwind.h header.
5153
6a8f7b8b 51542012-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
7db87803 51612012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
5162
5163 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
5164
d114e642 51652012-02-15 Iain Sandoe <iains@gcc.gnu.org>
5166
5167 PR libitm/52220
5168 * config/darwin-crt-tm.c: Correct typo.
154b49cd 5169
b8f45854 51702012-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
621d0dd2 51762012-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.
154b49cd 5182 (__doTMdeRegistrations): Likewise.
621d0dd2 5183
0b6cf66f 51842012-01-15 Georg-Johann Lay <avr@gjlay.de>
92e91d03 5185 Anatoly Sokolov <aesok@post.ru>
5186 Eric Weddington <eric.weddington@atmel.com>
0b6cf66f 5187
5188 PR target/52261
5189 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
5190 (__epilogue_restores__): Ditto.
5191
99e0a0ad 51922012-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
7ce78e23 52002012-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
f47763a6 52182012-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
674cb359 52252012-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
92e91d03 52322012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
5233 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b9fdd12b 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
01cdc5b2 52462012-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
af8e12d0 52522012-01-22 Douglas B Rupp <rupp@gnat.com>
5253
5254 * config.host (i[34567]86-*-interix3*):
01cdc5b2 5255 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 5256 * configure: Regenerate.
5257
a657080a 52582012-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
72e76fa0 52652012-01-11 Nathan Sidwell <nathan@acm.org>
5266
5267 * libgcov.c (__gcov_init): Ignore objects with no functions.
5268
ed2541ea 52692012-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.
ddf97006 5278
6e647e51 52792012-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
af185b18 52852012-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
2ff958e6 52932012-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
ce94380e 53032012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5304
5305 * configure: Regenerate.
5306 * config/s390/t-crtstuff: Remove -fPIC.
5307
ca4c7704 53082012-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
b32bc361 53142012-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
83921eda 53202012-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
6071b85b 53282011-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
611b540a 53382011-12-21 Tristan Gingold <gingold@adacore.com>
5339
5340 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
5341
ddf97006 53422011-12-21 Ian Lance Taylor <iant@google.com>
5343
5344 * config/i386/morestack.S: Simplify CFI opcodes throughout.
5345
0d84f164 53462011-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
d77ac56d 53522011-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
80898d14 53632011-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
20dbbfaf 53692011-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
d42ef213 53742011-12-15 Iain Sandoe <iains@gcc.gnu.org>
5375
5376 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 5377 function is not used for PPC64.
d42ef213 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
3efc00f6 53862011-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
fa0431fa 53912011-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
18e6a060 53972011-12-11 Eric Botcazou <ebotcazou@adacore.com>
5398
5399 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
5400
0dcd7d21 54012011-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
a41e0f2d 54072011-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
8c8193e1 54132011-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
e2306166 54232011-12-04 Iain Sandoe <iains@gcc.gnu.org>
5424
5425 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
5426
61437698 54272011-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.
80898d14 5436
78e515f7 54372011-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
adce431d 54422011-11-29 Bernd Schmidt <bernds@codesourcery.com>
5443
5444 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
5445 formatting.
5446
738c50b8 54472011-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
bda4944f 54722011-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
00b708da 54802011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5481
5482 * config/darwin-crt-tm.c: Correct comments, use correct licence.
5483
7c66781a 54842011-11-27 Iain Sandoe <iains@gcc.gnu.org>
5485
5486 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
5487
5bb27b7c 54882011-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
d9ca835b 54942011-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
8f8ba4fc 55032011-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
e426aa2b 55112011-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
2d171408 55162011-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
08417926 55252011-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
cde39152 55342011-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
30957bde 55452011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
5546
5547 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
5548 *-*-freebsd*aout*): Remove.
5549
a504f092 55502011-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
31da0b3d 55552011-11-18 Steve Ellcey <sje@cup.hp.com>
5556
5557 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
5558
5bd39e93 55592011-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
a3bfd5b2 55662011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5567
5568 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
5569 functions.
80898d14 5570 (aeabi_uidivmod): Likewise.
a3bfd5b2 5571 (umodsi3): Likewise.
5572 (divsi3): Likewise.
5573 (aeabi_idivmod): Likewise.
5574 (modsi3): Likewise.
5575
3512ee5b 55762011-11-16 Tristan Gingold <gingold@adacore.com>
5577
5578 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
5579
4202ef11 55802011-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
ab4fdb3d 55862011-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
eee57ca7 55932011-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
0c74e0e8 55982011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5599
5600 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
5601
23371076 56022011-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
2d00fffd 56272011-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
6886ca41 56332011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5634
5635 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
5636
5014df5d 56372011-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
702a5eec 56432011-11-07 Georg-Johann Lay <avr@gjlay.de>
5644
5645 PR target/49313
5646 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
5647
2219274c 56482011-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
fbb6f195 56762011-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
7336fab9 56922011-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
6c10eb68 57032011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
5704
5705 * config.host (arm*-*-rtemseabi*): New target.
5706
3fe1f35b 57072011-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
d19f5793 57132011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
5714
5715 * config.host (epiphany-*-elf*): New configuration.
5716 * config/epiphany: New Directory.
5717
02c5dcd9 57182011-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
f3223c0b 57242011-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
994652ec 57292011-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
02d9a2c3 57342011-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
81b973fe 57402011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
5741
5742 PR target/50989
5743 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
5744
ae1b140e 57452011-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
0a76a5ff 57502011-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
26f2feff 57632011-11-04 Tristan Gingold <gingold@adacore.com>
5764
5765 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
5766
131667b5 57672011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
5768
5769 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
5770
af64ed6f 57712011-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
4dad46bd 57772011-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
37626bf8 57842011-11-03 Andreas Schwab <schwab@redhat.com>
5785
5786 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
5787
95de80bc 57882011-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
b5347955 57962011-11-02 Jason Merrill <jason@redhat.com>
5797
5798 * config/rs6000/t-ppccomm: Add missing \.
5799
630d52ca 58002011-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
022a2799 58142011-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
4dc4ff49 58672011-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
9213d2eb 61162011-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
237490bf 62362011-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
a997b0d8 65102011-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
638a95a0 66632011-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
ef785e44 66692011-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
19b85223 6674 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
6675 logic for doubleword pops.
6676
70f50eb0 66772011-10-25 Andreas Tobler <andreast@fgznet.ch>
6678
6679 * config/rs6000/t-freebsd: Add wildcard.
6680
ec2b386c 66812011-10-21 Paul Brook <paul@codesourcery.com>
6682
6683 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
6684
b09a3f46 66852011-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
8acdf7c6 66922011-10-07 Ian Lance Taylor <iant@google.com>
6693
6694 * generic-morestack-thread.c: #include <errno.h>.
6695
1780e36e 66962011-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
f57fac72 67032011-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
6ef008f9 67092011-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
7e5fc0c4 67162011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 6717
7e5fc0c4 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
047a5c56 67302011-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
985e908e 67362011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
6737
6738 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
6739
c1c81358 67402011-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
7642fc98 67462011-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
392bda6f 67522011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6753
6754 * Makefile.in (install-unwind_h): Remove destination file first.
6755
21889c08 67562011-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
3569d462 67812011-08-09 Andreas Schwab <schwab@linux-m68k.org>
6782
6783 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
6784 t-libunwind.
6785
e451a093 67862011-08-08 H.J. Lu <hongjiu.lu@intel.com>
6787
6788 PR other/48007
6789 * config/i386/value-unwind.h: New.
6790
ab3bed33 67912011-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
84600db5 67972011-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
a23b9c51 68952011-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
e59be7e3 70072011-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
b57de711 70722011-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
9a4af446 70782011-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
bbbe4599 70842011-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
ac34b7db 70902011-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
2a7dfa04 71022011-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
a232cb08 71082010-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
c54e2746 71152011-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
4d72c922 71212011-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
5aa04b01 71272011-07-15 Bernd Schmidt <bernds@codesourcery.com>
7128
7129 * config.host: Handle tic6x-*-*.
7130 * config/c6x/c6x-abi.h: New file.
7131
ba079bc9 71322011-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
1125ba83 71412011-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
1a4a11f3 71702011-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
ef3ab47f 71812011-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
367b55f3 71922011-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
17aa03f5 71982011-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
2bc72a9f 72162011-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
36a5227d 72222011-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
689a8077 72282011-07-07 Joseph Myers <joseph@codesourcery.com>
7229
7230 * config.host (*local*): Remove.
7231
14f27bc6 72322011-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
fe27820f 72412011-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
934ca5fd 72512011-07-04 Georg-Johann Lay <avr@gjlay.de>
7252
7253 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
7254
707238af 72552011-06-28 Nick Clifton <nickc@redhat.com>
7256
7257 * config.host: Recognize all V850 variants.
7258
5125dcef 72592011-06-22 Uros Bizjak <ubizjak@gmail.com>
7260
7261 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
7262
f92b36a5 72632011-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
d8492bd3 72692011-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
fa72efb7 72742011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 7275
fa72efb7 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
adf7c0a1 72822011-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
47529489 72882011-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
a6f06169 72972011-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
f9cccfac 73102011-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
ee884cfb 73172011-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
01cb8ad1 73252011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7326
7327 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
7328
73956a0d 73292011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
7330
7331 * config.host (sh*-*-linux*): Fix typo.
7332
1e53920f 73332011-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
8087ae75 73782011-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
506cfbc8 73892011-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
541346b9 73942011-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
43ae7603 74062011-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
f0d9a626 74122011-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
63abf89e 74242011-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
b1da9d72 74762011-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
f308a9b2 74842011-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
c177b341 74922011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7493
7494 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
7495
8633828c 74962011-05-10 Joseph Myers <joseph@codesourcery.com>
7497
7498 * config/i386/darwin-lib.h: New file.
7499
3be74046 75002011-05-10 Joseph Myers <joseph@codesourcery.com>
7501
7502 * config/arm/symbian-lib.h: New.
7503
5e1a494e 75042011-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
0bb50d04 75102011-05-03 Chris Demetriou <cgd@google.com>
7511
7512 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
7513
17b3d2a8 75142011-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
95525c17 75232011-03-14 Andreas Tobler <andreast@fgznet.ch>
7524
7525 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
7526 Adjust copyright year.
7527
82c96609 75282011-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
abfe0c5b 75332011-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
48f93ee5 75442010-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
76aa642f 75502010-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
e8b06528 75562010-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
2b7a4d59 75632010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7564
7565 PR other/46202
7566 * Makefile.in (install-strip): New phony target.
7567
457123d6 75682010-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
f6e5e456 75742010-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
faf175ae 75802010-10-14 Nathan Froyd <froydnj@codesourcery.com>
7581
7582 * config/arm/bpabi.h: New file.
7583 * config/frv/frv-abi.h: New file.
7584
9266176d 75852010-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
13ba4217 75902010-10-01 H.J. Lu <hongjiu.lu@intel.com>
7591
7592 PR target/45858
7593 * config.host: Add the missing `$'.
7594
d34b0d1e 75952010-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
78ca2689 76022010-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
c9b3ebc5 76082010-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
48b14f50 76152010-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
fd80c7a1 76262010-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
70fbcd6d 76332010-09-14 H.J. Lu <hongjiu.lu@intel.com>
7634
7635 * configure: Regenerated.
7636
19aace05 76372010-09-10 Kai Tietz <kai.tietz@onevision.com>
7638
70fbcd6d 7639 * configure: Regenerated.
19aace05 7640
279dadf5 76412010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
7642 Andrew Pinski <pinskia@gmail.com>
7643
5125dcef 7644 PR target/40959
279dadf5 7645 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
7646
a87eb011 76472010-09-06 H.J. Lu <hongjiu.lu@intel.com>
7648
7649 PR target/45524
7650 * configure: Regenerated.
7651
e6425baf 76522010-09-06 Andreas Schwab <schwab@redhat.com>
7653
7654 * configure: Regenerate.
7655
e88f4c66 76562010-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
1d8139cc 76632010-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
23340821 76702010-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
278afeb5 76762010-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
952bf8bb 76832010-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
283681bb 76902010-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
92e91d03 76962010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a6180b96 7697
7698 * config.host (sparc64-*-rtems*): New target.
7699
05157f42 77002010-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
8a84c748 77052010-04-15 Thomas Schwinge <tschwinge@gnu.org>
7706
7707 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
7708
ed3e1bbc 77092010-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
92e91d03 77142010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 7715
7716 * config.host: Add lm32-*-rtems*.
7717
20be3c56 77182010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92e91d03 7719 Uros Bizjak <ubizjak@gmail.com>
20be3c56 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
92e91d03 77292010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8f0f72c0 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
cf842d6a 77372010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
7738
7739 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
7740
4dcd7ab3 77412010-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
a426f025 77512010-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
8525326e 77572010-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
14a10763 77632010-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
00301a1a 77692010-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
92e91d03 77762009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
d2b1aa3d 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
92e91d03 77832009-11-11 Jon Beniston <jon@beniston.com>
f6fe91e8 7784
278afeb5 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.
f6fe91e8 7802
24833e1a 78032009-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
1d7e299f 78142009-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
e38fe738 78192009-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
81a71e2b 78342009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7835
7836 * configure.ac (AC_PREREQ): Bump to 2.64.
7837
a1ef431d 78382009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
7839
7840 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
7841
cd9a469c 78422009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7843
7844 * configure: Regenerate.
7845
9b9a2528 78462009-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
a2655af1 78522009-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
46222c18 78602009-06-23 DJ Delorie <dj@redhat.com>
7861
7862 Add MeP port.
7863 * config.host: Add mep support.
7864
13dc7657 78652009-06-22 Kai Tietz <kai.tietz@onevision.com>
7866
82a3cc73 7867 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 7868 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 7869
7870 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
7871 for mingw targets.
13dc7657 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.
82a3cc73 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.
13dc7657 7882
63bfd172 78832009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
7884
7885 * config.host (vax-*-linux*): New.
7886
be52b6d8 78872009-05-31 Anthony Green <green@moxielogic.com>
7888
7889 * config.host: Add moxie support.
7890 * config/moxie/t-moxie: New file.
7891
92e91d03 78922009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6471e33b 7893
7894 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 7895 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 7896
09ec66c8 78972009-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
6bc9506f 79022009-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
80672009-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
4e5e2802 80742009-04-07 Alan Modra <amodra@bigpond.net.au>
8075
8076 * config.host: Reorder and merge to match config.gcc change.
8077
8d40ea45 80782009-04-03 Alan Modra <amodra@bigpond.net.au>
8079
8080 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
8081
f2397fc4 80822009-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
24200b28 80892009-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
8b21beb2 80942009-02-12 H.J. Lu <hongjiu.lu@intel.com>
8095
24200b28 8096 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
8097 ia64/t-softfp-compat to tmake_file.
8b21beb2 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
9df8be69 81092009-01-18 Ben Elliston <bje@au.ibm.com>
8110
8111 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
8112
f2b540ae 81132009-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
5790f80a 81182009-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
92e91d03 81242009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
b8138586 8125
8126 * config.host: Add m32r*-*-rtems*.
8127
92e91d03 81282008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7eac0a4e 8129
8130 * config.host: Add m32c*-*-rtems*.
8131
03150a33 81322008-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
77a32a8e 81442008-11-18 Adam Nemet <anemet@caviumnetworks.com>
8145
8146 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
8147 case.
8148
1eab96a6 81492008-11-09 Thomas Schwinge <tschwinge@gnu.org>
8150
8151 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
8152
74cd9df8 81532008-10-08 Thomas Schwinge <tschwinge@gnu.org>
8154
8155 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
8156
8372e9ea 81572008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
8158
8159 Add picoChip port.
8160 * config.host: Add picochip-*-*.
8161
75c7ffbc 81622008-08-06 Bob Wilson <bob.wilson@acm.org>
8163
8164 * config.host: Match more processor names for Xtensa.
8165
fb4830c6 81662008-07-08 H.J. Lu <hongjiu.lu@intel.com>
8167
8168 * config/i386/64/t-softfp-compat: Update comments.
8169
7c92db45 81702008-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
ec2e6a4e 81842008-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
fdbb505a 81912008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
8192
8193 * Makefile.in: Add support for __sync_* libgcc functions.
8194
310c48f2 81952008-07-03 H.J. Lu <hongjiu.lu@intel.com>
8196
8197 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
8198
144633f4 81992008-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
e25ffafe 82082008-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
b3fd46a0 82132008-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
82262008-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*,
1d7e299f 8230 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 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
82432008-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
eaef9489 82482008-06-26 Nathan Froyd <froydnj@codesourcery.com>
8249
8250 * config/rs6000/t-ppccomm: Remove rules that conflict with
8251 auto-generated rules.
8252
5b2c7553 82532008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8254
8255 * configure.ac: sinclude override.m4.
8256 * configure: Regenerate.
8257
dde02e56 82582008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
8259
8260 * configure: Regenerate.
8261
4d6f3aad 82622008-06-10 Joseph Myers <joseph@codesourcery.com>
8263
8264 * Makefile.in (DECNUMINC): Remove
8265 -I$(MULTIBUILDTOP)../../libdecnumber.
8266 * gstdint.h: New.
8267
6af9f7ea 82682008-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
ccf1c0f1 82852008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
8286
8287 * config.host (sh2[lbe]*-*-linux*): Allow target.
8288
19872d0b 82892008-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
38dd5584 82942008-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
8e5da69c 83012008-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
99c77e32 83072008-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
8237872e 83132007-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
00a05b87 83192007-12-19 Etsushi Kato <ek.kato@gmail.com>
8320 Paolo Bonzini <bonzini@gnu.org>
8321
8322 PR target/30572
e25ffafe 8323 * Makefile.in: Use @shlib_slibdir@ substitution to get
8324 correct install name on darwin.
00a05b87 8325 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 8326
877d7f12 83272007-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
75612461 83332007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
8334
8335 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
8336
f11b4169 83372007-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
84d1fc49 83432007-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
3ac0842f 83502007-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
8c72b2f9 83612007-09-11 Janis Johnson <janis187@us.ibm.com
8362
8363 * Makefile.in (dfp-filenames): Add bid128_noncomp.
8364
c8ac5d9a 83652007-09-10 Janis Johnson <janis187@us.ibm.com>
8366
8367 * Makefile.in (dfp-filenames): Remove decUtility, add
8368 decDouble, decPacked, decQuad, decSingle.
8369
cc8ebe39 83702007-08-27 Hans Kester <hans.kester@ellips.nl>
8371
8372 * config.host : Add x86_64-elf target.
8373
db1c99de 83742007-07-06 H.J. Lu <hongjiu.lu@intel.com>
8375
8376 * configure.ac (set_have_cc_tls): Add a missing =.
8377 * configure: Regenerated.
8378
e4cbe54f 83792007-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
1d7e299f 8386 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 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
9b6b0236 83932007-07-04 H.J. Lu <hongjiu.lu@intel.com>
8394
8395 * Makefile.in: Use libbid for DFP when BID is enabled.
8396
9e51385b 83972007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
8398
8399 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 8400 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 8401 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
8402
8f433c51 84032007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 8404 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 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
723e1902 84122007-05-10 Richard Sandiford <richard@codesourcery.com>
8413
8414 * config.host (sparc-wrs-vxworks): New target.
8415
278e2fd1 84162007-04-14 Kazu Hirata <kazu@codesourcery.com>
8417
8418 * config.host: Recognize fido.
8419
2968d68c 84202007-04-04 Janis Johnson <janis187@us.ibm.com>
8421
8422 * configure: Check host, not target, for decimal float support.
8423
6d057ce8 84242007-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.
e25ffafe 8428 (x86_64-*-linux*): Ditto.
6d057ce8 8429
0bbe9142 84302007-02-30 Kai Tietz <kai.tietz@onevision.com>
8431
8432 * config.host (x86_64-*-mingw*): New target.
8433
10de71e1 84342007-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
7a9b9c95 84492007-03-19 Hans-Peter Nilsson <hp@axis.com>
8450
8451 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
8452
37decb40 84532007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
8454
8455 * Makefile.in (install-info): New dummy target.
8456
bce94ab5 84572007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
8458
8459 * config.host (bfin*-linux-uclibc*): Set extra_parts.
8460
1403bdd1 84612007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
8462
8463 * Makefile.in: Add install-html and install-pdf dummy
8464 targets.
8465
fce64ed4 84662007-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
4d863ca5 84732007-01-29 Janis Johnson <janis187@us.ibm.com>
8474
8475 * Makefile.in (dec-filenames): Add decExcept.
8476
f0356913 84772007-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
bbdcab13 84832007-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
3da0fdbc 84892007-01-23 Joseph Myers <joseph@codesourcery.com>
8490
8491 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
8492
cdca0ab7 84932007-01-21 Andrew Pinski <pinskia@gmail.com>
8494
8495 PR target/30519
8496 * config.host (alpha*-*-linux*): Set extra_parts.
8497
97f1a704 84982007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
8499
8500 * config/sh/t-linux: New.
8501 * config.host (sh*-*-linux*): Set tmake_file.
8502
52617116 85032007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
8504
8505 * Makefile.in (install): Handle multilibs.
8506
c0e5c948 85072007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8508
8509 * Makefile.in: Added .PHONY entry for documentation targets.
8510
d62e2f2f 85112007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
8512
8513 * Makefile.in: Add empty info, html, dvi, pdf targets.
8514
68cf2994 85152007-01-04 Mike Stump <mrs@apple.com>
8516
8517 * Makefile.in (MAKEINFO): Remove.
8518 (PERL): Likewise.
8519
f534b3b3 85202007-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.
1d7e299f 8525 (gcc_objdir): Use it.
f534b3b3 8526
c11c6ae3 85272007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8528
8529 * config.host (ia64*-*-linux*): Set tmake_file.
8530
d272bed8 85312007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8532
8533 * Makefile.in (version): Define.
8534
894a47b4 85352007-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.
f1717362 8545\f
aad93da1 8546Copyright (C) 2007-2017 Free Software Foundation, Inc.
f1717362 8547
8548Copying and distribution of this file, with or without modification,
8549are permitted in any medium without royalty provided the copyright
8550notice and this notice are preserved.