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