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