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