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