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