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