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