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