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