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