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