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