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