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