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