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