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