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