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