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