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