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