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