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