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