]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Fix PR c++/69363
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
62735984 12016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2
3 PR target/70381
4 * configure.ac (powerpc*-*-linux*): Rework tests to build
5 __float128 emulation routines to not depend on using #pragma GCC
6 target to enable -mfloat128.
7 * configure: Regnerate.
8
1c934c58 92016-04-04 Eric Botcazou <ebotcazou@adacore.com>
10
11 PR target/67172
12 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
13 __MINGW32__ is defined.
14
28a5f334 152016-03-28 James Bowman <james.bowman@ftdichip.com>
16
17 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
18
88a2143c 192016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
20
21 PR libgcc/70363
22 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
23 built with an assembler that does not support ISA 3.0
24 instructions, rename __extendkftf2_sw to __extendkftf2.
25
ed3d624c 262016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
27
28 PR target/38239
29 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
30 call-clobbered registers.
31 (internal_mcount): Remove __i386__ handling.
32
1e085786 332016-02-26 Joel Sherrill <joel@rtems.org>
34
35 * config.host: Add x86_64-*-rtems*.
36
05ea12a2 372016-02-26 Joel Sherrill <joel@rtems.org>
38
39 * libgcc/config.host: Add aarch64-*-rtems*.
40
9b71efb9 412016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
42 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
43
44 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
45 union of u64 and double.
46 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
47 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
48 value.
49 (FP_ROUNDMODE): Update the usage of _fpscr.
50
e59c8b12 512016-02-25 Ilya Verbin <ilya.verbin@intel.com>
52
53 PR driver/68463
54 * Makefile.in (crtoffloadtable$(objext)): New rule.
55 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
56 enable_offload_targets is not empty.
57 * configure: Regenerate.
58 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
59 crtoffloadtable.
60
1fa780ac 612016-02-17 Max Filippov <jcmvbkbc@gmail.com>
62
63 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
64 .literal_position before the function.
65 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
66 Likewise.
67
c6d481f7 682016-02-15 Marcin Koƛcielnicki <koriakin@0x04.net>
69
70 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
71 * config/s390/morestack.S: New file.
72 * config/s390/t-stack-s390: New file.
73 * generic-morestack.c (__splitstack_find): Add s390-specific code.
74
d58f7073 752016-02-12 Walter Lee <walt@tilera.com>
76
77 * config.host (tilegx*-*-linux*): remove ti from
78 softfp_int_modes for 32-bit configs.
79
43cfc88a 802016-02-10 Ian Lance Taylor <iant@google.com>
81
82 PR go/68562
83 * config/i386/morestack.S (__stack_split_initialize): Align
84 stack.
85
ad2fe514 862016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
87
88 PR bootstrap/69611
89 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
90 __FLOAT128__ to compile only for __float128 capable targets.
91
92e91d03 922016-01-25 Jakub Jelinek <jakub@redhat.com>
93
94 PR target/69444
95 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
96 instead of ___NO_FPRS__.
97
d99eec2c 982016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 99 Steven Munroe <munroesj@linux.vnet.ibm.com>
100 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
d99eec2c 101
102 * config/rs6000/float128-sed: New files to convert TF names to KF
103 names for PowerPC IEEE 128-bit floating point support.
104 * config/rs6000/float128-sed-hw: Likewise.
105
106 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
107 floating point hardware support.
108
109 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
110 128-bit floating point software emulation or use ISA 3.0 hardware
111 support if it is available.
112
113 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
114 floating point.
115
116 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
117 floating point to IBM extended double.
118
119 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
120 double to IEEE 128-bit floating point.
121
122 * config/rs6000/t-float128: New Makefile fragments to enable
123 building __float128 emulation support.
124 * config/rs6000/t-float128-hw: Likewise.
125
126 * config/rs6000/sfp-exceptions.c: New file to provide exception
127 support for IEEE 128-bit floating point.
128
129 * config/rs6000/floattikf.c: New files for converting between IEEE
130 128-bit floating point and signed/unsigned 128-bit integers.
131 * config/rs6000/fixunskfti.c: Likewise.
132 * config/rs6000/fixkfti.c: Likewise.
133 * config/rs6000/floatuntikf.c: Likewise.
134
135 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
136 when building on 64-bit systems, or when VSX is enabled.
137 (_FP_W_TYPE): Likewise.
138 (_FP_WS_TYPE): Likewise.
139 (_FP_I_TYPE): Likewise.
140 (TItype): Define on 64-bit systems.
141 (UTItype): Likewise.
142 (TI_BITS): Likewise.
143 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
144 (_FP_MUL_MEAT_Q): Likewise.
145 (_FP_DIV_MEAT_D): Likewise.
146 (_FP_DIV_MEAT_Q): Likewise.
147 (_FP_NANFRAC_D): Likewise.
148 (_FP_NANFRAC_Q): Likewise.
149 (ISA_BIT): Add exception support if we are being compiled on a
150 machine with hardware floating point support to build the IEEE
151 128-bit emulation functions.
152 (FP_EX_INVALID): Likewise.
153 (FP_EX_OVERFLOW): Likewise.
154 (FP_EX_UNDERFLOW): Likewise.
155 (FP_EX_DIVZERO): Likewise.
156 (FP_EX_INEXACT): Likewise.
157 (FP_EX_ALL): Likewise.
158 (__sfp_handle_exceptions): Likewise.
159 (FP_HANDLE_EXCEPTIONS): Likewise.
160 (FP_RND_NEAREST): Likewise.
161 (FP_RND_ZERO): Likewise.
162 (FP_RND_PINF): Likewise.
163 (FP_RND_MINF): Likewise.
164 (FP_RND_MASK): Likewise.
165 (_FP_DECL_EX): Likewise.
166 (FP_INIT_ROUNDMODE): Likewise.
167 (FP_ROUNDMODE): Likewise.
168
169 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
170 VSX code, enable IEEE 128-bit floating point. If the compiler can
171 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
172 floating point hardware instructions and it supports declaring
173 functions with the ifunc attribute, enable ifunc functions to
174 switch between software and hardware support.
175 * configure.ac (powerpc*-*-linux*): Likewise.
176 * configure: Regenerate.
177
f557f14d 1782016-01-15 Nick Clifton <nickc@redhat.com>
179
180 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
181 dependency as the source file to be compiled.
182 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
183 (lib2hw_mul_f5.o): Likewise.
184
0e0d3ecb 1852016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
186
187 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
188 * libgcc/config/rs6000/fixkfti.c: Likewise.
189 * libgcc/config/rs6000/fixunskfti.c: Likewise.
190 * libgcc/config/rs6000/float128-hw.c: Likewise.
191 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
192 * libgcc/config/rs6000/float128-sed: Likewise.
193 * libgcc/config/rs6000/floattikf.c: Likewise.
194 * libgcc/config/rs6000/floatuntikf.c: Likewise.
195 * libgcc/config/rs6000/quad-float128.h: Likewise.
196 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
197 * libgcc/config/rs6000/sfp-machine.h: Likewise.
198 * libgcc/config/rs6000/t-float128: Likewise.
199 * libgcc/config/rs6000/t-float128-hw: Likewise.
200 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
201 * libgcc/config.host: Likewise.
202 * libgcc/configure: Likewise.
203 * libgcc/configure.ac: Likewise.
204
398368d8 2052016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
92e91d03 206 Steven Munroe <munroesj@linux.vnet.ibm.com>
207 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
398368d8 208
209 * config/rs6000/sfp-exceptions.c: New file to provide exception
210 support for IEEE 128-bit floating point.
211
212 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
213 floating point hardware support.
214
215 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
216 point conversions.
217 * config/rs6000/fixunskfti.c: Likewise.
218 * config/rs6000/fixkfti.c: Likewise.
219 * config/rs6000/floatuntikf.c: Likewise.
220 * config/rs6000/extendkftf2-sw.c: Likewise.
221 * config/rs6000/trunctfkf2-sw.c: Likewise.
222
223 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
224 128-bit floating point software emulation or use ISA 3.0 hardware
225 support if it is available.
226
227 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
228 floating point.
229
230 * config/rs6000/t-float128: New Makefile fragments to enable
231 building __float128 emulation support.
232 * config/rs6000/t-float128-hw: Likewise.
233
234 * config/rs6000/float128-sed: New file to convert TF names to KF
235 names for PowerPC IEEE 128-bit floating point support.
236
237 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
238 when building on 64-bit systems, or when VSX is enabled.
239 (_FP_W_TYPE): Likewise.
240 (_FP_WS_TYPE): Likewise.
241 (_FP_I_TYPE): Likewise.
242 (TItype): Define on 64-bit systems.
243 (UTItype): Likewise.
244 (TI_BITS): Likewise.
245 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
246 (_FP_MUL_MEAT_Q): Likewise.
247 (_FP_DIV_MEAT_D): Likewise.
248 (_FP_DIV_MEAT_Q): Likewise.
249 (_FP_NANFRAC_D): Likewise.
250 (_FP_NANFRAC_Q): Likewise.
251 (ISA_BIT): Add exception support if we are being compiled on a
252 machine with hardware floating point support to build the IEEE
253 128-bit emulation functions.
254 (FP_EX_INVALID): Likewise.
255 (FP_EX_OVERFLOW): Likewise.
256 (FP_EX_UNDERFLOW): Likewise.
257 (FP_EX_DIVZERO): Likewise.
258 (FP_EX_INEXACT): Likewise.
259 (FP_EX_ALL): Likewise.
260 (__sfp_handle_exceptions): Likewise.
261 (FP_HANDLE_EXCEPTIONS): Likewise.
262 (FP_RND_NEAREST): Likewise.
263 (FP_RND_ZERO): Likewise.
264 (FP_RND_PINF): Likewise.
265 (FP_RND_MINF): Likewise.
266 (FP_RND_MASK): Likewise.
267 (_FP_DECL_EX): Likewise.
268 (FP_INIT_ROUNDMODE): Likewise.
269 (FP_ROUNDMODE): Likewise.
270
271 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
272 compiler can do __float128.
273 * configure: Regenerate.
274
275 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
276 VSX code, enable IEEE 128-bit floating point.
277
25cbccba 2782016-01-05 Olivier Hainque <hainque@adacore.com>
279
280 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
398368d8 281 specificities.
25cbccba 282
f1717362 2832016-01-04 Jakub Jelinek <jakub@redhat.com>
284
285 Update copyright years.
286
444b6906 2872015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
288
289 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
398368d8 290 soft-fp targets.
444b6906 291
9ff93578 2922015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
293
294 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
295 instead of abort to avoid dependency on stdlib.h.
296
a59e6fa6 2972015-12-09 John David Anglin <danglin@gcc.gnu.org>
298
299 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
300 to initialize call to __dl_fixup once.
301
7ed86ba5 3022015-12-04 Nick Clifton <nickc@redhat.com>
303
304 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
305 Allow for the second argument being negative.
306 * config.host (extra_parts): Define for MSP430. Create separate
307 libraries for each of the hardware multiply formats.
308 * config/msp430/lib2hw_mul.S: Build only the multiply routines
309 that are needed.
310 * config/msp430/lib2mul.c: Likewise.
311 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
312 Add rules to build hardware multiply libraries.
313 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
314 __mspabi_divul function.
315 (__mspabi_divllu): New stub function.
316
2ec62878 3172015-12-01 John David Anglin <danglin@gcc.gnu.org>
318
319 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
320 fixup values if saved GOT address doesn't match runtime address.
321 (fixup_branch_offset): Reorder list.
322
08de21a4 3232015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
324
325 * Makefile.in (VTV_CFLAGS): New variable.
326 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
327 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
328 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
329 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
330 to extra_parts if $enable_vtable_verify = yes.
331
7824e89a 3322015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
333
334 PR target/68059
335 * config/arm/linux-atomic-64bit.c (__write): Rename to...
336 (write): ...this and fix the return type.
337
c0b6819e 3382015-11-19 DJ Delorie <dj@redhat.com>
339
340 * config/msp430/lib2hw_mul.S: Fix alignment.
341
1927fff5 3422015-11-18 Nathan Sidwell <nathan@codesourcery.com>
343
344 * config/nvptx/reduction.c: New.
345 * config/nvptx/t-nvptx (LIB2ADD): Add it.
346
5bbad880 3472015-11-15 David Edelsohn <dje.gcc@gmail.com>
348
349 * config/rs6000/on_exit.c: New file.
350 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
351 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
352
0c4d7986 3532015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
354
355 * config/arc/dp-hack.h: Add support for ARCHS.
356 * config/arc/ieee-754/divdf3.S: Likewise.
357 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
358 * config/arc/ieee-754/muldf3.S: Likewise.
359 * config/arc/ieee-754/mulsf3.S: Likewise
360 * config/arc/lib1funcs.S: Likewise
361 * config/arc/gmon/dcache_linesz.S: Don't read the build register
362 for ARCv2 cores.
363 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
364 for ARCv2 cores.
365 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
366 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
367 cores.
368
4fa8daf5 3692015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
370
371 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
372 value.
373 * config/ia64/crtend.S: Likewise.
374
d2dc729f 3752015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
376
377 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
378 __CHAR_BIT__ instead of BITS_PER_UNIT.
379 * fixed-bit.h: Likewise.
380 * fp-bit.h: Likewise.
381 * libgcc2.c (__popcountSI2): Likewise.
382 (__popcountDI2): Likewise.
383 * libgcc2.h: Likewise.
384 * libgcov.h: Likewise.
385
69de5ea9 3862015-11-07 David Edelsohn <dje.gcc@gmail.com>
387
388 * config/rs6000/atexit.c: New file.
389 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
390 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
391 * config/rs6000/cxa_finalize.c
392 (catomic_compare_and_exchange_bool_acq): Negate return value.
393
47ce082f 3942015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
395
396 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
397 (processor_subtypes): Add znver1.
398 (get_amd_cpu): Detect znver1.
399
18e98669 4002015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
401
402 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
403 Include crtfastmath.o.
404
9003096f 4052015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
406
407 PR libgcc/66883
408 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
18e98669 409
2ee6cfdb 4102015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
411
412 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
413 * config/rl78/divmodsi.S: Update return register to r8.
414 * config/rl78/divmodhi.S: Update return register to r8,r9.
415 Branch to main_loop_done_himode to pop registers before return.
416
92e91d03 4172015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5814084e 418
419 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
420 (__cpu_indicator_init): Fix model selection for AMD CPUs.
421
6c1b774a 4222015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
423
424 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
425
e3c15dbe 4262015-10-03 Max Filippov <jcmvbkbc@gmail.com>
427
428 * config.host (xtensa*-*-uclinux*): New configuration.
429
767110dd 4302015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
431
432 * config/i386/cpuinfo.c (processor_features): Add
433 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
434
b576f5d8 4352015-09-28 Joseph Myers <joseph@codesourcery.com>
436
437 * soft-fp/adddf3.c: Update from glibc.
438 * soft-fp/addsf3.c: Likewise.
439 * soft-fp/addtf3.c: Likewise.
440 * soft-fp/divdf3.c: Likewise.
441 * soft-fp/divsf3.c: Likewise.
442 * soft-fp/divtf3.c: Likewise.
443 * soft-fp/double.h: Likewise.
444 * soft-fp/eqdf2.c: Likewise.
445 * soft-fp/eqsf2.c: Likewise.
446 * soft-fp/eqtf2.c: Likewise.
447 * soft-fp/extenddftf2.c: Likewise.
448 * soft-fp/extended.h: Likewise.
449 * soft-fp/extendsfdf2.c: Likewise.
450 * soft-fp/extendsftf2.c: Likewise.
451 * soft-fp/extendxftf2.c: Likewise.
452 * soft-fp/fixdfdi.c: Likewise.
453 * soft-fp/fixdfsi.c: Likewise.
454 * soft-fp/fixdfti.c: Likewise.
455 * soft-fp/fixsfdi.c: Likewise.
456 * soft-fp/fixsfsi.c: Likewise.
457 * soft-fp/fixsfti.c: Likewise.
458 * soft-fp/fixtfdi.c: Likewise.
459 * soft-fp/fixtfsi.c: Likewise.
460 * soft-fp/fixtfti.c: Likewise.
461 * soft-fp/fixunsdfdi.c: Likewise.
462 * soft-fp/fixunsdfsi.c: Likewise.
463 * soft-fp/fixunsdfti.c: Likewise.
464 * soft-fp/fixunssfdi.c: Likewise.
465 * soft-fp/fixunssfsi.c: Likewise.
466 * soft-fp/fixunssfti.c: Likewise.
467 * soft-fp/fixunstfdi.c: Likewise.
468 * soft-fp/fixunstfsi.c: Likewise.
469 * soft-fp/fixunstfti.c: Likewise.
470 * soft-fp/floatdidf.c: Likewise.
471 * soft-fp/floatdisf.c: Likewise.
472 * soft-fp/floatditf.c: Likewise.
473 * soft-fp/floatsidf.c: Likewise.
474 * soft-fp/floatsisf.c: Likewise.
475 * soft-fp/floatsitf.c: Likewise.
476 * soft-fp/floattidf.c: Likewise.
477 * soft-fp/floattisf.c: Likewise.
478 * soft-fp/floattitf.c: Likewise.
479 * soft-fp/floatundidf.c: Likewise.
480 * soft-fp/floatundisf.c: Likewise.
481 * soft-fp/floatunditf.c: Likewise.
482 * soft-fp/floatunsidf.c: Likewise.
483 * soft-fp/floatunsisf.c: Likewise.
484 * soft-fp/floatunsitf.c: Likewise.
485 * soft-fp/floatuntidf.c: Likewise.
486 * soft-fp/floatuntisf.c: Likewise.
487 * soft-fp/floatuntitf.c: Likewise.
488 * soft-fp/gedf2.c: Likewise.
489 * soft-fp/gesf2.c: Likewise.
490 * soft-fp/getf2.c: Likewise.
491 * soft-fp/ledf2.c: Likewise.
492 * soft-fp/lesf2.c: Likewise.
493 * soft-fp/letf2.c: Likewise.
494 * soft-fp/muldf3.c: Likewise.
495 * soft-fp/mulsf3.c: Likewise.
496 * soft-fp/multf3.c: Likewise.
497 * soft-fp/negdf2.c: Likewise.
498 * soft-fp/negsf2.c: Likewise.
499 * soft-fp/negtf2.c: Likewise.
500 * soft-fp/op-1.h: Likewise.
501 * soft-fp/op-2.h: Likewise.
502 * soft-fp/op-4.h: Likewise.
503 * soft-fp/op-8.h: Likewise.
504 * soft-fp/op-common.h: Likewise.
505 * soft-fp/quad.h: Likewise.
506 * soft-fp/single.h: Likewise.
507 * soft-fp/soft-fp.h: Likewise.
508 * soft-fp/subdf3.c: Likewise.
509 * soft-fp/subsf3.c: Likewise.
510 * soft-fp/subtf3.c: Likewise.
511 * soft-fp/truncdfsf2.c: Likewise.
512 * soft-fp/trunctfdf2.c: Likewise.
513 * soft-fp/trunctfsf2.c: Likewise.
514 * soft-fp/trunctfxf2.c: Likewise.
515 * soft-fp/unorddf2.c: Likewise.
516 * soft-fp/unordsf2.c: Likewise.
517 * soft-fp/unordtf2.c: Likewise.
518
0ed0ef69 5192015-09-24 Richard Earnshaw <rearnsha@arm.com>
520
521 PR libgcc/67624
522 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
523
80fc7cb7 5242015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
525
526 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
527 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
528 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
529 messages.
530 (internal_mcount): Likewise.
531 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
532 crt_compile, add CRTSTUFF_T_CFLAGS_S.
533
ba24ad38 5342015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
535
536 * configure.ac (libgcc_cv_solaris_crts): New test.
537 * configure: Regenerate.
538 * config.in: Regenerate.
539 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
540 * config/gmon-sol2.c: Rename to ...
541 * config/sol2/gmon.c: ... this.
542 Include auto-target.h.
543 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
544 * config/t-sol2: Rename to ...
545 * config/sol2/t-sol2: ... this.
546 (gmon.o): Reflect renaming.
547 (crtp.o, crtpg.o): New rules.
548 * config.host (*-*-solaris2*): Reflect renaming.
549 Use system CRTs if present.
550 Remove default CRT case.
551
c2ab7513 5522015-09-23 John David Anglin <danglin@gcc.gnu.org>
553
554 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
555 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
556 __kernel_cmpxchg2.
557 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
558 (__sync_val_compare_and_swap_##WIDTH): Likewise.
559 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
560 (__sync_lock_test_and_set_##WIDTH): Likewise.
561 (__sync_lock_release_##WIDTH): Likewise.
562 (__sync_fetch_and_##OP##_4): Change result to match type of
563 __kernel_cmpxchg.
564 (__sync_##OP##_and_fetch_4): Likewise.
565 (__sync_val_compare_and_swap_4): Likewise.
566 (__sync_bool_compare_and_swap_4): likewise.
567 (__sync_lock_test_and_set_4): Likewise.
568 (__sync_lock_release_4): Likewise.
569 (FETCH_AND_OP_2): Add long long variants.
570 (OP_AND_FETCH_2): Likewise.
571 (COMPARE_AND_SWAP_2 ): Likewise.
572 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
573 (SYNC_LOCK_RELEASE_2): Likewise.
574 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
575
92e91d03 5762015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
f96d88a8 577
578 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
579 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
580 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
581 (get_available_features): Habdle new features.
582
672cc719 5832015-09-21 James Bowman <james.bowman@ftdichip.com>
584
585 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
586 memory layout. Deal correctly with BSS region larger than 32K.
587 Handle a watchdog reset like a power-on reset. Clean up unused
588 code.
589
552a60d3 5902015-09-18 Andrew Dixie <andrewd@gentrack.com>
591 David Edelsohn <dje.gcc@gmail.com>
592
593 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
594 * config/rs6000/crtdbase.S: New file.
595 * config/rs6000/t-aix-cxa: Build crtdbase.o.
596
f12cf9f4 5972015-09-15 Max Filippov <jcmvbkbc@gmail.com>
598
599 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
600 Add support for call0 ABI.
601
9d8ce924 6022015-09-13 John David Anglin <danglin@gcc.gnu.org>
603
604 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
605
196c8383 6062015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
607
608 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
609 (__GTHREAD_HAS_COND): Likewise.
610 (__gthread_t): Likewise.
611 (__gthread_cond_t): Likewise.
612 (__gthread_time_t): Likewise.
613 (__GTHREAD_MUTEX_INIT): Likewise.
614 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
615 (__GTHREAD_COND_INIT): Likewise.
616 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
617 (__GTHREAD_TIME_INIT): Likewise.
618 (__gthread_create): Likewise.
619 (__gthread_join): Likewise.
620 (__gthread_detach): Likewise.
621 (__gthread_equal): Likewise.
622 (__gthread_self): Likewise.
623 (__gthread_yield): Likewise.
624 (__gthread_cond_broadcast): Likewise.
625 (__gthread_cond_signal): Likewise.
626 (__gthread_cond_wait): Likewise.
627 (__gthread_cond_timedwait): Likewise.
628 (__gthread_cond_wait_recursive): Likewise.
629 (__gthread_cond_destroy): Likewise.
630 (rtems_gxx_once): Delete.
631 (rtems_gxx_key_create): Likewise.
632 (rtems_gxx_key_delete): Likewise.
633 (rtems_gxx_getspecific): Likewise.
634 (rtems_gxx_setspecific): Likewise.
635 (rtems_gxx_mutex_init): Likewise.
636 (rtems_gxx_mutex_destroy): Likewise.
637 (rtems_gxx_mutex_lock): Likewise.
638 (rtems_gxx_mutex_trylock): Likewise.
639 (rtems_gxx_mutex_unlock): Likewise.
640 (rtems_gxx_recursive_mutex_init): Likewise.
641 (rtems_gxx_recursive_mutex_lock): Likewise.
642 (rtems_gxx_recursive_mutex_trylock): Likewise.
643 (rtems_gxx_recursive_mutex_unlock): Likewise.
644 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
645 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
646 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
647 (__gthread_once): Likewise.
648 (__gthread_key_create): Likewise.
649 (__gthread_key_delete): Likewise.
650 (__gthread_getspecific): Likewise.
651 (__gthread_setspecific): Likewise.
652 (__gthread_key_t): Use <pthread.h> type.
653 (__gthread_once_t): Likewise
654 (__gthread_mutex_t): Use <sys/lock.h> type.
655 (__gthread_recursive_mutex_t): Likewise
656 (__gthread_mutex_lock): Use <sys/lock.h> function.
657 (__gthread_mutex_trylock): Likewise.
658 (__gthread_mutex_timedlock): Likewise.
659 (__gthread_mutex_unlock): Likewise.
660 (__gthread_mutex_destroy): Likewise.
661 (__gthread_recursive_mutex_lock): Likewise.
662 (__gthread_recursive_mutex_trylock): Likewise.
663 (__gthread_recursive_mutex_timedlock): Likewise.
664 (__gthread_recursive_mutex_unlock): Likewise.
665 (__gthread_recursive_mutex_destroy): Likewise.
666
15b21d23 6672015-08-18 Max Filippov <jcmvbkbc@gmail.com>
668
669 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
670 context->sp instead of context->cfa.
671
8a596a77 6722015-08-18 Max Filippov <jcmvbkbc@gmail.com>
673
674 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
675 with unwind-dw2-fde-dip.
676
863356ea 6772015-08-18 Max Filippov <jcmvbkbc@gmail.com>
678
679 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
680 CALL12 followed by series of ENTRY to spill windowed registers.
681 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
682 instead of making linux spill syscall.
683
58bb1dbe 6842015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
685
686 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
687 (get_intel_cpu): Likewise.
688
cba3f034 6892015-08-12 H.J. Lu <hongjiu.lu@intel.com>
690
691 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
692 (get_intel_cpu): Add Knights Landing support.
693
aca0ff16 6942015-08-11 Uros Bizjak <ubizjak@gmail.com>
695
696 PR target/66954
697 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
698 (get_available_features): Handle FEATURE_PCLMUL.
699
71b19c56 7002015-08-10 H.J. Lu <hongjiu.lu@intel.com>
701
702 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
703 Broadwell.
704
ff285c74 7052015-07-22 Uros Bizjak <ubizjak@gmail.com>
706
707 PR target/66954
708 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
709 (get_available_features): Handle FEATURE_AES.
710
a46441d0 7112015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
712
713 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
714 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
715
4e985e0f 7162015-07-17 Nathan Sidwell <nathan@codesourcery.com>
717
718 * offloadstuff.c: Constify host data.
719
c780eb05 7202015-07-17 Jan Beulich <jbeulich@suse.com>
721
722 * config/t-softfp: Split up "else ifneq".
723
70425b26 7242015-07-14 Sandra Loosemore <sandra@codesourcery.com>
725 Cesar Philippidis <cesar@codesourcery.com>
726 Chung-Lin Tang <cltang@codesourcery.com>
727
728 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
729 for __nios2_arch__ level.
730
6c8a3242 7312015-07-13 John Marino <gnugcc@marino.st>
732
733 * config/i386/t-dragonfly: New.
734
d277282f 7352015-07-01 John David Anglin <danglin@gcc.gnu.org>
736
737 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
738 better match light-weight syscall argument order.
739 (__kernel_cmpxchg2): Likewise.
740 Adjust callers.
741
146896ec 7422015-06-30 H.J. Lu <hongjiu.lu@intel.com>
743
744 * config.host: Support i[34567]86-*-elfiamcu target.
745 * config/t-softfp-sfdftf: New file.
746 * config/i386/32/t-iamcu: Likewise.
747 * configure: Regenerated.
748
58ddcdad 7492015-06-23 James Lemke <jwlemke@codesourcery.com>
750
751 libgcc/config/arm/
752 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
753
e9abca4f 7542015-05-27 H.J. Lu <hongjiu.lu@intel.com>
755
756 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
757
92e91d03 7582015-05-27 John Marino <gnugcc@marino.st>
328976ed 759
760 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
761 md_unwind_header
762 * config/i386/freebsd-unwind.h: New.
763
2a8549e0 7642015-05-22 Uros Bizjak <ubizjak@gmail.com>
765
766 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
767 i386/t-crtfm to tmake_file.
768 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
769 (set_fast_math): Use set_fast_math_sse for SSE targets.
770 * config/i386/t-crtfm: Remove.
771
b5d18737 7722015-05-21 Alan Modra <amodra@gmail.com>
773
774 PR libgcc/66225
775 * config/rs6000/morestack.S: Remove ".abiversion 1".
776
ec3f28c9 7772015-05-20 Alan Modra <amodra@gmail.com>
778
779 * config/rs6000/morestack.S: New.
780 * config/rs6000/t-stack-rs6000: New.
781 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
782 to tmake_file.
783 * generic-morestack.c: Don't build for powerpc 32-bit.
784
11087c28 7852015-05-19 Eric Botcazou <ebotcazou@adacore.com>
786
787 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
788 Remove useless endif/ifneq ($(enable_shared),yes) pair.
789
f29929b5 7902015-05-16 James Bowman <james.bowman@ftdichip.com>
791
792 * config.host: FT32 target added.
793 * config/ft32/*: New files for FT32 target.
794
ce86a36a 7952015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
796
797 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
798 New macros.
799 * config/arm/ieee754-df.S: Add CFI directives.
800 * config/arm/ieee754-sf.S: Add CFI directives.
801
177cc56c 8022015-05-13 Eric Botcazou <ebotcazou@adacore.com>
803
804 * configure.ac: Include config/sjlj.m4.
805 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
806 * config.in: Regenerate.
807 * configure: Likewise.
808 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
809
a8a5046c 8102015-05-12 Uros Bizjak <ubizjak@gmail.com>
811
812 * libgcov-util.c: Add space between string literal and macro name.
813
1ddaa252 8142015-05-06 Sandra Loosemore <sandra@codesourcery.com>
815 Chris Jones <chrisj@nvidia.com>
816 Joshua Conner <jconner@nvidia.com>
817
818 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
819 (arm*-*-uclinux*): Likewise.
820 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
821 * config/arm/crtfastmath.c: New file.
822
162f9d1e 8232014-04-29 Bernd Schmidt <bernds@codesourcery.com>
824
825 * Makefile.in (real_host_noncanonical): New variable.
826 (libsubdir): Use it.
827 * configure.ac (real_host_noncanonical): Compute. Remove special
828 case for intelmicemul.
829 * configure: Regenerate.
830
005a5ef5 8312015-04-28 Uros Bizjak <ubizjak@gmail.com>
832
833 * config/frv/elf-lib.h: New file.
834 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
835 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
836 to tm_file.
837
8382015-04-28 Uros Bizjak <ubizjak@gmail.com>
839
840 * config/frv/frvbengin.c: Do not include defaults.h
841 * config/frv/frvend.c: Ditto.
842
acff2768 8432015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
844
845 * config.host: Add h8300-*-linux
846 * config/h8300/t-linux: New file.
847 * config/h8300/lib1funs.s: Change symbol prefix.
848 * config/h8300/sfp-machine.h: 64bit double support.
849
a2e31d06 8502015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
851 Szabolcs Nagy <szabolcs.nagy@arm.com>
852
853 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
854 Linux if target provides dl_iterate_phdr.
855
4b5fb32a 8562015-04-17 H.J. Lu <hongjiu.lu@intel.com>
857
858 PR target/65612
859 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
860 * config/i386/cpuinfo.c (__cpu_model): Initialize.
861 (__cpu_indicator_init@GCC_4.8.0): New.
862 (__cpu_model@GCC_4.8.0): Likewise.
863 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
864 -DUSE_ELF_SYMVER.
865
e98e1692 8662015-04-16 Nick Clifton <nickc@redhat.com>
867
868 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
869 and __modhi3 functions.
870 * config/rl78/divmodso.S: Add G14 and G13 versions of the
871 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
872
a0093a4f 8732015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
874
875 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
876 do-while loop as macro body to avoid warnings.
877
fb5ccd6d 8782015-04-10 Jakub Jelinek <jakub@redhat.com>
879 Iain Sandoe <iain@codesourcery.com>
880
881 PR target/65351
882 * configure: Regenerate.
883
b1b085e0 8842015-04-07 Jakub Jelinek <jakub@redhat.com>
885 Iain Sandoe <iain@codesourcery.com>
886
887 PR target/65351
888 * configure: Regenerate.
889
7ca58a65 8902015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
891
892 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
893
b89c671b 8942015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 895
b89c671b 896 Implement call0 ABI for xtensa
897 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
898 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
899 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
900 use ret in call0 ABI.
901 * config/xtensa/t-windowed: New file.
902 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
903 * libgcc/configure: Regenerated.
904 * libgcc/configure.ac: Check if xtensa target is configured for
905 windowed ABI and thus needs to use custom unwind code.
906
69831bb2 9072015-02-12 Jonathan Wakely <jwakely@redhat.com>
908
909 PR libgcc/64885
910 * gthr-single.h: Use __unused__ attribute instead of unused.
911 * config/gthr-vxworks.h: Likewise.
912 * config/i386/gthr-win32.h: Likewise.
913
c905381f 9142015-02-27 Kai Tietz <ktietz@redhat.com>
915
916 PR target/65038
917 * config.in: Regenerated.
918 * configure: Likewise.
919 * configure.ac (AC_HEADER_STDC): Added explicit.
920 (AC_CHECK_HEADERS): Check for default headers plus
921 for ftw.h header.
922 * libgcov-util.c (gcov_read_profile_dir): Disable use
923 of ftw-function, if header is not found.
924 (ftw_read_file): Likewise.
925
0853f8db 9262015-02-23 Thomas Schwinge <thomas@codesourcery.com>
927
928 PR target/65181
929 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
930 -Dinhibit_libc.
931
1c55a862 9322015-02-17 Sandra Loosemore <sandra@codesourcery.com>
933
934 * config/arm/bpabi.S (test_div_by_zero): Make label names
935 consistent between thumb2 and arm mode cases. Separate the
936 signed comparison on the high word of the numerator from the
937 unsigned comparison on the low word.
938 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
939 signed comparison.
940
6014aff2 9412015-02-17 Joseph Myers <joseph@codesourcery.com>
942
943 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
944 and <string.h>.
945 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
946
a698bcaa 9472015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
948
949 PR gcov-profile/61889
3083dd2f 950 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 951
889a65e7 9522015-02-02 Nick Clifton <nickc@redhat.com>
953
954 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
955 rounding up the fraction.
956
f3b68f27 9572015-01-31 John David Anglin <danglin@gcc.gnu.org>
958
959 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
960 oldval and newval to const void *. Fix typo.
961 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
962 (FETCH_AND_OP_WORD): Likewise.
963 (OP_AND_FETCH_WORD): Likewise.
964 (COMPARE_AND_SWAP_2): Likewise.
965 (__sync_val_compare_and_swap_4): Likewise.
966 (__sync_lock_test_and_set_4): Likewise.
967 (SYNC_LOCK_RELEASE_2): Likewise.
968 Remove support for long long atomic operations.
969
5be42fa9 9702015-01-27 Caroline Tice <cmtice@google.com>
971
972 Committing VTV Cywin/Ming patch for Patrick Wollgast
973 * Makefile.in: Move rules to build vtv_*.o out of the check
974 for CUSTOM_CRTSTUFF.
975 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
976 i[34567]86-*-mingw*)
977 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
978 enable_vtable_verify.
979
45e05b5a 9802015-01-27 Nick Clifton <nickc@redhat.com>
981
982 * config/rl78/cmpsi2.S: Use function start and end macros.
983 (__gcc_bcmp): New function.
984 * config/rl78/lshrsi3.S: Use function start and end macros.
985 * config/rl78/mulsi3.S: Add support for G10.
986 (__mulqi3): New function for G10.
987 * config/rl78/signbit.S: Use function start and end macros.
988 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
989 fpmath-sf.S.
990 (LIB2FUNCS_EXCLUDE): Define.
991 (LIB2FUNCS_ST): Define.
992 * config/rl78/trampoline.S: Use function start and end macros.
993 * config/rl78/vregs.h (START_FUNC): New macro.
994 (START_ANOTHER_FUNC): New macro.
995 (END_FUNC): New macro.
996 (END_ANOTHER_FUNC): New macro.
997 * config/rl78/bit-count.S: New file. Contains assembler
998 implementations of the bit counting functions: ___clzhi2,
999 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
1000 __paritysi2, __popcounthi2 and __popcountsi2.
1001 * config/rl78/fpbit-sf.S: New file. Contains assembler
1002 implementationas of the math functions: __negsf2, __cmpsf2,
1003 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
1004 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
1005 * config/rl78/fpmath-sf.S: New file. Contains assembler
1006 implementations of the math functions: __subsf3, __addsf3,
1007 __mulsf3 and __divsf3
1008
43cbcd84 10092015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1010
1011 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
1012 Add i386/elf-lib.h to tm_file.
1013 * config/i386/elf-lib.h: Fix comment.
1014 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
1015 && __sun__ && __svr4__]: Remove workaround.
1016
f8956357 10172015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1018
1019 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
1020 FEATURE_BMI2.
1021 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
1022
1b738d4d 10232015-01-24 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 * config/i386/cpuinfo.c (processor_subtypes): Add
1026 INTEL_COREI7_BROADWELL.
1027 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
1028 model numbers.
1029
58ca7445 10302015-01-23 Uros Bizjak <ubizjak@gmail.com>
1031
1032 * config/i386/elf-lib.h: New file.
1033 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
1034 Wrap definition in #ifdef __i386__.
1035 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
1036 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
1037 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
1038 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
1039 to tm_file.
1040
d4c9c88d 10412015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
1042
1043 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
1044 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
1045
c46389f0 10462015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
1047
1048 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
1049 Update rt_sigframe format and address for current Nios II
1050 Linux conventions.
1051
275d0a7c 10522015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1053
1054 * config.host (arm*-*-freebsd*): Add new configuration for
1055 arm*-*-freebsd*.
1056 * config/arm/freebsd-atomic.c: New file.
1057 * config/arm/t-freebsd: Likewise.
1058 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
1059 'PC-relative indirect' OS's.
1060
8992df51 10612015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1062
1063 * config.host: Add Visium support.
1064 * config/visium: New directory.
1065
d353bf18 10662015-01-05 Jakub Jelinek <jakub@redhat.com>
1067
1068 Update copyright years.
1069
78645e70 10702014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
1071
1072 * config.host: Support mipsisa32r6 and mipsisa64r6.
1073 * config/mips/mips16.S: Do not build for R6.
1074
14cc370b 10752014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
1076
1077 * config/sh/crt.h: New.
1078 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
1079 symbols.
1080 * config/sh/crt1.S: Likewise.
1081
06f29f53 10822014-12-15 Uros Bizjak <ubizjak@gmail.com>
1083
1084 PR libgcc/63832
1085 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
1086 func_ptr *dtor_list temporary variable to avoid "array subscript
1087 is above array bounds" warnings.
1088
92e91d03 10892014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 1090
1091 * Makefile.in (with_aix_soname): Define.
1092 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
1093 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
1094 * configure: Recreate.
1095
c0235a33 10962014-12-05 Olivier Hainque <hainque@adacore.com>
1097
1098 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
1099 now provided by defaults.h.
1100
273fffd6 11012014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
1102
84cf4824 1103 PR target/55351
273fffd6 1104 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
1105 whether it's defined.
1106
ffbfc7c5 11072014-11-27 Ilya Tocar <ilya.tocar@intel.com>
1108
1109 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
1110 * config/i386/cpuinfo.c (get_available_features): Detect it.
1111
ae22ef60 11122014-11-27 Tony Wang <tony.wang@arm.com>
1113
1114 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
1115 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
1116 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
1117
a532bc30 11182014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
1119
1120 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
1121
e88ebd91 11222014-11-24 John David Anglin <danglin@gcc.gnu.org>
1123
1124 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
1125 instead.
1126
422aeca3 11272014-11-21 Guy Martin <gmsoft@tuxicoman.be>
1128 John David Anglin <danglin@gcc.gnu.org>
1129
1130 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
1131 (FETCH_AND_OP_2): New. Use for subword and double word operations.
1132 (OP_AND_FETCH_2): Likewise.
1133 (COMPARE_AND_SWAP_2): Likewise.
1134 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1135 (SYNC_LOCK_RELEASE_2): Likewise.
1136 (SUBWORD_SYNC_OP): Remove.
1137 (SUBWORD_VAL_CAS): Likewise.
1138 (SUBWORD_BOOL_CAS): Likewise.
1139 (FETCH_AND_OP_WORD): Update.
1140 Consistently use signed types.
005a5ef5 1141
a3d93be3 11422014-11-13 Bernd Schmidt <bernds@codesourcery.com>
1143 Thomas Schwinge <thomas@codesourcery.com>
1144 Ilya Verbin <ilya.verbin@intel.com>
1145 Andrey Turetskiy <andrey.turetskiy@intel.com>
1146
1147 * Makefile.in (crtoffloadbegin$(objext)): New rule.
1148 (crtoffloadend$(objext)): Likewise.
1149 * configure: Regenerate.
1150 * configure.ac (accel_dir_suffix): Compute new variable.
1151 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
1152 if enable_offload_targets is not empty.
1153 * offloadstuff.c: New file.
1154
97a36a5b 11552014-11-13 Nick Clifton <nickc@redhat.com>
1156
1157 * config/rl78/divmodhi.S: Add support for the G10 architecture.
1158 Use START_FUNC and END_FUNC macros to enable linker garbage
1159 collection.
1160 * config/rl78/divmodqi.S: Likewise.
1161 * config/rl78/divmodsi.S: Likewise.
1162 * config/rl78/mulsi3.S: Likewise.
1163 * config/rl78/lib2div.c: Remove G10 functions.
1164 * config/rl78/lib2muls.c: Likewise.
1165 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
1166 * config/rl78/vregs.h (START_FUNC): New macro.
1167 (END_FUNC): New macro.
1168
f2b55aea 11692014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
1170
1171 * config/mips/mips16.S: Set .module when supported. Update O32
1172 FP64 calling convention and use for FPXX when possible. Add FPXX
1173 calling convention fallback case.
1174
8ce80784 11752014-11-06 Bernd Schmidt <bernds@codesourcery.com>
1176
1177 * config.host: Handle nvptx-*-*.
1178 * shared-object.mk (as-flags-$o): Define.
1179 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
1180 -xassembler-with-cpp.
1181 * static-object.mk: Identical changes.
1182 * config/nvptx/t-nvptx: New file.
1183 * config/nvptx/crt0.s: New file.
1184 * config/nvptx/free.asm: New file.
1185 * config/nvptx/malloc.asm: New file.
1186 * config/nvptx/realloc.c: New file.
1187
0e36a0d7 11882014-10-30 Joseph Myers <joseph@codesourcery.com>
1189
1190 * Makefile.in (libgcc.map.in): New target.
1191 (libgcc.map): Use libgcc.map.in.
1192 * config/t-softfp (softfp_compat): New variable to be set by
1193 users.
1194 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
1195 variables.
1196 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
1197 directory.
1198 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
1199 that use compat symbols and disable all code unless [SHARED].
1200 * config/t-softfp-compat: New file.
1201 * find-symver.awk: New file.
1202 * configure.ac (--with-glibc-version): New configure option.
1203 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
1204 * configure: Regenerate.
1205 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
1206 soft-float and e500.
1207
d9b5cf5c 12082014-10-29 Joseph Myers <joseph@codesourcery.com>
1209
1210 * config/t-hardfp (hardfp_exclusions): Document new variable for
1211 user to define.
1212 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
1213 * config/t-softfp (softfp_extras): Document new variable for user
1214 to define.
1215 (softfp_func_list): Add functions from $(softfp_extras).
1216 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
1217 * config.host (powerpc*-*-linux*): For e500v1, use
1218 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
1219 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
1220 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
1221
2de51200 12222014-10-26 John David Anglin <danglin@gcc.gnu.org>
1223
1224 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
1225 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
1226 memory read accesses are ok.
1227
fd1eaa27 12282014-10-25 Joseph Myers <joseph@codesourcery.com>
1229
1230 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
1231 * configure: Regenerate.
1232 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
1233 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
1234 of soft-fp for 32-bit classic hard float. Do not use
1235 t-softfp-excl for soft float.
1236
e707b8cc 12372014-10-22 Joseph Myers <joseph@codesourcery.com>
1238
1239 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
1240 configurations.
1241 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
1242 Remove variables.
1243
6ce12a35 12442014-10-22 Georg-Johann Lay <avr@gjlay.de>
1245
1246 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
1247 introduced with 2014-10-21 trunk r216525.
1248
b4e6d2e2 12492014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
92e91d03 1250 Vidya Praveen <vidya.praveen@atmel.com>
1251 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
1252 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
1253 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
b4e6d2e2 1254
1255 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
1256 order.
1257
1258 Updated library functions for AVRTINY arch.
1259 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
1260 Replaced occurrences of r0/r1 with tmp/zero reg macros.
1261 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
1262 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
1263 wsubi/wadi macors.
1264 (__mulsi3_helper): Update stack, preserve callee saved regs and
1265 argument from stack. Restore callee save registers.
1266 (__mulpsi3): Likewise.
1267 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
1268 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6ce12a35 1269 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 1270 AVRTINY.
1271 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
1272 (__do_copy_data): Added new definition for AVRTINY.
1273 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
1274 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
1275 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
1276 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
1277 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
1278 macors.
6ce12a35 1279 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 1280 AVRTINY.
1281
6ce12a35 1282 Fix broken long multiplication on tiny arch.
b4e6d2e2 1283
d9bbc5ef 12842014-10-09 Joseph Myers <joseph@codesourcery.com>
1285
1286 * soft-fp/double.h: Update from glibc.
1287 * soft-fp/eqdf2.c: Likewise.
1288 * soft-fp/eqsf2.c: Likewise.
1289 * soft-fp/eqtf2.c: Likewise.
1290 * soft-fp/extenddftf2.c: Likewise.
1291 * soft-fp/extended.h: Likewise.
1292 * soft-fp/extendsfdf2.c: Likewise.
1293 * soft-fp/extendsftf2.c: Likewise.
1294 * soft-fp/extendxftf2.c: Likewise.
1295 * soft-fp/gedf2.c: Likewise.
1296 * soft-fp/gesf2.c: Likewise.
1297 * soft-fp/getf2.c: Likewise.
1298 * soft-fp/ledf2.c: Likewise.
1299 * soft-fp/lesf2.c: Likewise.
1300 * soft-fp/letf2.c: Likewise.
1301 * soft-fp/op-1.h: Likewise.
1302 * soft-fp/op-2.h: Likewise.
1303 * soft-fp/op-4.h: Likewise.
1304 * soft-fp/op-8.h: Likewise.
1305 * soft-fp/op-common.h: Likewise.
1306 * soft-fp/quad.h: Likewise.
1307 * soft-fp/single.h: Likewise.
1308 * soft-fp/soft-fp.h: Likewise.
1309 * soft-fp/unorddf2.c: Likewise.
1310 * soft-fp/unordsf2.c: Likewise.
1311 * soft-fp/unordtf2.c: Likewise.
1312 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1313 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1314 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1315 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1316 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1317 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1318 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1319 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1320 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1321 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1322
26054e0b 13232014-10-08 Rong Xu <xur@google.com>
1324
1325 * libgcov-util.c (read_gcda_file): Fix format.
1326 (find_match_gcov_info): Ditto.
1327 (calculate_2_entries): New.
1328 (compute_one_gcov): Ditto.
1329 (gcov_info_count_all_cold): Ditto.
1330 (gcov_info_count_all_zero): Ditto.
1331 (extract_file_basename): Ditto.
1332 (get_file_basename): Ditto.
1333 (set_flag): Ditto.
1334 (matched_gcov_info): Ditto.
1335 (calculate_overlap): Ditto.
1336 (gcov_profile_overlap): Ditto.
1337 * libgcov-driver.c (compute_summary): Make
1338 it avavilable for external calls.
1339
8a8f3988 13402014-10-06 Rong Xu <xur@google.com>
1341
1342 * Makefile.in: Ditto.
1343 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1344 (gcov_sort_icall_topn_counter): Ditto.
1345 (gcov_sort_topn_counter_arrays): Ditto.
1346 (dump_one_gcov): Sort indirect_call topn counters.
1347 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1348 function.
1349 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
1350 utility function.
1351 (__gcov_indirect_call_topn_profiler): New profiler function.
1352 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
1353 * libgcov.h: New decls.
1354
f230ef81 13552014-10-04 Trevor Saunders <tsaunders@mozilla.com>
1356
1357 * config.host: Remove support for score-*.
1358
0cb69d12 13592014-09-22 Joseph Myers <joseph@codesourcery.com>
1360
1361 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1362 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
1363 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
1364 __LIBGCC_XF_MANT_DIG__.
1365 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
1366 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
1367 __LIBGCC_TF_MANT_DIG__.
1368 * libgcc2.c (NOTRUNC): Define in terms of
1369 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
1370 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1371
acbb28e9 13722014-09-22 Joseph Myers <joseph@codesourcery.com>
1373
1374 PR target/63312
1375 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
1376 New macros.
1377
d0eb4a95 13782014-09-22 Hans-Peter Nilsson <hp@axis.com>
1379
1380 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
1381 override USE_PT_GNU_EH_FRAME.
1382 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
1383 check USE_EH_FRAME_REGISTRY_ALWAYS against
1384 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
1385 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
1386 variable for substituted force_explicit_eh_registry.
1387 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
1388 * configure.ac (explicit-exception-frame-registration):
1389 New AC_ARG_ENABLE.
1390 * configure: Regenerate.
1391
6c352a95 13922014-09-19 Olivier Hainque <hainque@adacore.com>
1393
1394 * config.host (powerpc-wrs-vxworksmils): New configuration,
1395 same as vxworksae.
1396
168dfbf0 13972014-09-18 Joseph Myers <joseph@codesourcery.com>
1398
1399 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
1400
ca6c7c2e 14012014-09-18 Joseph Myers <joseph@codesourcery.com>
1402
1403 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
1404 bits not set bits as indicating trapping exceptions.
1405
bc587267 14062014-09-17 Nathan sidwell <nathan@acm.org>
1407
1408 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
1409 (LIBGCOV_DRIVER): ... here.
1410 * libgcov-driver.c (gcov_master): New.
1411 (gcov_exit): Remove from master chain.
1412 (__gcov_init): Add to master chain if version compatible. Don't
1413 clear the version.
1414 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
1415 (gcov_reset_int): Clear master chain, if compatible.
1416 (gcov_dump_int): New internal interface. Dump master chain, if
1417 compatible.
1418 (gcov_dump): Alias for gcov_dump_int.
1419 * libgcov.h (struct gcov_root): Add next and prev fields.
1420 (struct gcov_master): New struct.
1421 (__gcov_master): New.
1422 (gcov_dump_int): Declare.
1423
0624d0c7 14242014-09-17 Olivier Hainque <hainque@adacore.com>
1425
1426 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
1427 and crtbegin.o + crtend.o to extra_parts.
1428
d5957f0d 14292014-09-12 Joseph Myers <joseph@codesourcery.com>
1430
1431 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
1432 __LIBGCC_HAS_SF_MODE__.
1433 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1434 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1435 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1436 * config/libbid/bid_gcc_intrinsics.h
1437 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1438 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1439 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1440 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1441 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
1442 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1443
986b9a67 14442014-09-11 Georg-Johann Lay <avr@gjlay.de>
1445
1446 PR target/63223
1447 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
1448 and R24 as needed. Make work for all devices and .text locations.
1449 (__do_global_ctors, __do_global_dtors): Use word addresses.
1450 (__tablejump__, __tablejump_elpm__): Remove functions.
1451 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
1452 Add _tablejump2.
1453 (XICALL, XIJMP): New macros.
1454
8f908dc5 14552014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
1456 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1457
1458 * config.host (aarch64*): Include crtfastmath.o and
1459 t-crtfm.
1460 * config/aarch64/crtfastmath.c: New file.
1461
f67c2dde 14622014-09-08 Trevor Saunders <tsaunders@mozilla.com>
1463
1464 * config.host: Remove picochip support.
1465 * config/picochip/adddi3.S: Remove.
1466 * config/picochip/ashlsi3.S: Remove.
1467 * config/picochip/ashlsi3.c: Remove.
1468 * config/picochip/ashrsi3.S: Remove.
1469 * config/picochip/ashrsi3.c: Remove.
1470 * config/picochip/clzsi2.S: Remove.
1471 * config/picochip/cmpsi2.S: Remove.
1472 * config/picochip/divmod15.S: Remove.
1473 * config/picochip/divmodhi4.S: Remove.
1474 * config/picochip/divmodsi4.S: Remove.
1475 * config/picochip/lib1funcs.S: Remove.
1476 * config/picochip/longjmp.S: Remove.
1477 * config/picochip/lshrsi3.S: Remove.
1478 * config/picochip/lshrsi3.c: Remove.
1479 * config/picochip/parityhi2.S: Remove.
1480 * config/picochip/popcounthi2.S: Remove.
1481 * config/picochip/setjmp.S: Remove.
1482 * config/picochip/subdi3.S: Remove.
1483 * config/picochip/t-picochip: Remove.
1484 * config/picochip/ucmpsi2.S: Remove.
1485 * config/picochip/udivmodhi4.S: Remove.
1486 * config/picochip/udivmodsi4.S: Remove.
1487
b660d3c6 14882014-09-08 Joseph Myers <joseph@codesourcery.com>
1489
1490 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
1491 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
1492 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
1493 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
1494 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
1495 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
1496 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
1497 defined and LIBGCC2_HAS_DF_MODE is defined.
1498 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
1499 defined and LIBGCC2_HAS_XF_MODE is defined.
1500 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
1501 defined and LIBGCC2_HAS_TF_MODE is defined.
1502
2aeea855 15032014-09-08 Joseph Myers <joseph@codesourcery.com>
1504
1505 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
1506 and ROUND_TOWARDS_ZERO conditionals.
1507
a91625a6 15082014-09-07 Nathan sidwell <nathan@acm.org>
1509
1510 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
1511 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
1512
325b8c3c 15132014-09-05 Joseph Myers <joseph@codesourcery.com>
1514
1515 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
1516 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1517 uses to __LIBGCC_STACK_POINTER_REGNUM__.
1518 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1519 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1520 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1521 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1522 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
1523 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
1524 (DWARF_FRAME_REGISTERS): Change all uses to
1525 __LIBGCC_DWARF_FRAME_REGISTERS__.
1526 (EH_RETURN_STACKADJ_RTX): Change all uses to
1527 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1528 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
1529 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
1530 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
1531 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
1532 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
1533 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
1534 to __LIBGCC_EH_FRAME_SECTION_NAME__.
1535 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
1536 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
1537 __LIBGCC_STACK_POINTER_REGNUM__.
1538 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1539 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1540 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1541 to __LIBGCC_STACK_POINTER_REGNUM__.
1542 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1543 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1544 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1545 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1546 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1547 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1548 (STACK_POINTER_REGNUM): Change all uses to
1549 __LIBGCC_STACK_POINTER_REGNUM__.
1550 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
1551 use to __LIBGCC_STACK_POINTER_REGNUM__.
1552 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1553 uses to __LIBGCC_STACK_POINTER_REGNUM__.
1554 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
1555 to __LIBGCC_DWARF_FRAME_REGISTERS__.
1556 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
1557 to __LIBGCC_DWARF_FRAME_REGISTERS__.
1558 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1559 to __LIBGCC_STACK_POINTER_REGNUM__.
1560 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
1561 Remove conditional definition.
1562 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
1563 __LIBGCC_TEXT_SECTION_ASM_OP__.
1564 (EH_FRAME_SECTION_NAME): Change all uses to
1565 __LIBGCC_EH_FRAME_SECTION_NAME__.
1566 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
1567 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
1568 (CTORS_SECTION_ASM_OP): Change all uses to
1569 __LIBGCC_CTORS_SECTION_ASM_OP__.
1570 (DTORS_SECTION_ASM_OP): Change all uses to
1571 __LIBGCC_DTORS_SECTION_ASM_OP__.
1572 (JCR_SECTION_NAME): Change all uses to
1573 __LIBGCC_JCR_SECTION_NAME__.
1574 (INIT_SECTION_ASM_OP): Change all uses to
1575 __LIBGCC_INIT_SECTION_ASM_OP__.
1576 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1577 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1578 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
1579 __LIBGCC_STACK_GROWS_DOWNWARD__.
1580 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
1581 __LIBGCC_INIT_SECTION_ASM_OP__.
1582 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1583 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1584 (EH_FRAME_SECTION_NAME): Change all uses to
1585 __LIBGCC_EH_FRAME_SECTION_NAME__.
1586 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
1587 definitions. Change all uses to
1588 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
1589 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
1590 __LIBGCC_STACK_GROWS_DOWNWARD__.
1591 (DWARF_FRAME_REGISTERS): Change all uses to
1592 __LIBGCC_DWARF_FRAME_REGISTERS__.
1593 (EH_RETURN_STACKADJ_RTX): Change all uses to
1594 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1595 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
1596 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
1597 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
1598 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
1599 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
1600
b12d2330 16012014-09-02 Nathan sidwell <nathan@acm.org>
1602
1603 * libgcov-interface.c (STRONG_ALIAS): New.
1604 (__gcov_flush): Call __gcov_reset_int.
1605 (__gcov_reset): Strong alias for ...
1606 (__gcov_reset_ing): ... this renamed hidden version.
1607 * libgcov.h (__gcov_reset_int): New declaration.
1608
827d5daf 16092014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
1610
1db4f54b 1611 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
1612 call from here...
1613 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
1614 (__dso_handle): Define on Cygwin.
1615 * config/i386/t-cygming (crtbeginS.o): New rule.
1616 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
1617
827d5daf 1618 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
1619 declaration syntax.
1620
e3108d46 16212014-08-13 Steve Ellcey <sellcey@mips.com>
1622
1623 * crtstuff.c: Undef caddr_t.
1624
0898fffa 16252014-08-12 Steve Ellcey <sellcey@mips.com>
1626
1627 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
1628
859fa1a9 16292014-08-07 Nathan Sidwell <nathan@acm.org>
1630
1631 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
1632 (LIBGCOV_DRIVER): ... to here.
1633 * libgcov.h (gcov_do_dump): New #define.
1634 (struct gcov_root): New.
1635 (__gcov_root): New declaration.
1636 (__gcov_dump_one): Declare.
1637 * libgcov-driver.c (gcov_list, gcov_dump_complete,
1638 run_accounted): Delete.
1639 (gcov_compute_histogram): Add LIST argument, adjust.
1640 (compute_summary): Adjust gcov_compute_histogram call.
1641 (gcov_do_dump): Not hidden, static in libgcov.
1642 (gcov_clear): Move to interface.c.
1643 (__gcov_dump_one): New, broken out of ...
1644 (gcov_exit): ... here. Make static.
1645 (__gcov_root): New.
1646 (__gcov_init): Adjust.
1647 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
1648 declarations.
1649 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
1650 (gcov_clear): Moved from driver.c. Add LIST argument.
1651 (__gcov_reset): Adjust for changed interfaces.
1652 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
1653
3fa2798a 16542014-08-04 Rohit <rohitarulraj@freescale.com>
1655
1656 PR target/60102
1657 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 1658 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 1659
cb3ea3de 16602014-08-01 Nathan Sidwell <nathan@acm.org>
1661
1662 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
1663 LIBGCOV_INTERFACE): Reformat.
1664 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
1665 IN_GCOV_TOOL.
1666 * libgcov-interface.c: Reformat some comments.
1667 (__gcov_flush_mx): Add declaration. Tidy up definition.
1668
bfd88f52 16692014-07-31 Alan Modra <amodra@gmail.com>
1670 Peter Bergner <bergner@vnet.ibm.com>
1671
1672 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
1673 (pack_ldouble): New function.
1674 (__gcc_qadd): Use it.
1675 (__gcc_qmul): Likewise.
1676 (__gcc_qdiv): Likewise.
1677 (__gcc_qneg): Likewise.
1678 (__gcc_stoq): Likewise.
1679 (__gcc_dtoq): Likewise.
1680
bcd3133e 16812014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
1682
1683 * config/s390/tpf-unwind.h: Include <stdbool.h>.
1684 (__tpf_eh_return): Add original return address as second parameter.
1685 Handle cases where unwinder routines were called directly, instead
1686 of from within the C++ library.
1687
1186f97a 16882014-07-29 Nathan Sidwell <nathan@acm.org>
1689
1690 * libgcov.h: Move renaming of entry points to lib gcov specific
1691 portion.
1692 (gcov_do_dump): New rename.
1693 (gcov_rewrite): Remove inline, make HIDDEN.
1694 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
1695 (gcov_exit_compute_summary): Rename to ...
1696 (compute_summary): ... here. Add LIST argument.
1697 (gcov_exit_merge_gcda): Rename to ...
1698 (merge_one_data): ... here.
1699 (gcov_exit_write_gcda): Rename to ...
1700 (write_one_data): ... here.
1701 (gcov_exit_merge_summary): Rename to ...
1702 (merge_summary): Add RUN_COUNTED argument.
1703 (gcov_exit_dump_gcov): Rename to ...
1704 (dump_one_gcov): Add RUN_COUNTED argument.
1705 (gcov_do_dump): New function, broken out of ...
1706 (gcov_exit): ... here. Call it.
1707
ab0c4d2e 17082014-07-27 Anthony Green <green@moxielogic.com>
1709
1710 * config.host: Add moxiebox configuration suppport.
1711
6401b74d 17122014-07-27 Nathan Sidwell <nathan@acm.org>
1713
1714 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
1715 (struct gcov_filename): ... here. Include buffer and max length
1716 fields.
1717 (gcov_max_filename): Remove.
1718 (gi_filename): Remove.
1719 (gcov_exit_compute_summary): Compute max filename here.
1720 (gcov_exit_merge_gcda): Add filename parm, adjust.
1721 (gcov_exit_merge_summary): Likewise.
1722 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
1723 (gcov_exit): Likewise.
1724 (__gcov_init): Don't calculate max length here.
1725 * libgcov_util.c (max_filename_len): Remove.
1726 (read_gcda_file): Don't calculate max length here.
1727 (gcov_read_profile_dir): Don't propagate here.
1728 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
1729 struct gcov_filename changes.
1730 (gcov_exit_open_gcda_file): Likewise.
1731
0f768e5f 17322014-07-25 Nathan Sidwell <nathan@acm.org>
1733
1734 * libgcov-driver.c (set_gcov_dump_complete,
1735 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
1736 functions polluting user's namespace.
1737 (gcov_exit): Set variable directly.
1738 (gcov_clear): Reset variable directly.
1739 * libgcov-interface.c (get_gcov_dymp_complete,
1740 reset_gov_dump_complete): Remove declarations.
1741 (__gcov_reset, __gcov_dump): Don't call them.
1742
2b333d82 17432014-07-24 DJ Delorie <dj@redhat.com>
1744
1745 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 1746 (__gcc_deregister_frame): Move logic to detect deregister function
1747 to ...
1748 (__gcc_register_frame): here, so it's consistent with the register
1749 logic.
2b333d82 1750
145d88ea 17512014-07-23 Nathan Sidwell <nathan@acm.org>
1752
1753 * libgcov-driver.c (set_gcov_list): Remove.
1754 (gcov_list): Make non-static in GCOV_TOOL.
1755 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
1756
307c2567 17572014-07-17 John David Anglin <danglin@gcc.gnu.org>
1758
1759 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
1760 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
1761 Don't use SYNC_LOCK_RELEASE for int type.
1762
3dc22a01 17632014-07-14 Richard Biener <rguenther@suse.de>
1764
1765 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
1766
a60d8a99 17672014-07-11 Rong Xu <xur@google.com>
1768
1769 * libgcov-util.c (gcov_max_filename): Fix declartion.
1770
e76f6040 17712014-07-10 Rong Xu <xur@google.com>
1772
1773 Add gcov-tool: an offline gcda profile processing tool
1774 Support.
1775 * libgcov-driver.c (gcov_max_filename): Make available
1776 to gcov-tool.
1777 * libgcov-merge.c (__gcov_merge_add): Replace
1778 gcov_read_counter() with a Macro.
1779 (__gcov_merge_ior): Ditto.
1780 (__gcov_merge_time_profile): Ditto.
1781 (__gcov_merge_single): Ditto.
1782 (__gcov_merge_delta): Ditto.
1783 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
1784 in the utility functions.
1785 (set_fn_ctrs): Utility function for reading gcda files to in-memory
1786 gcov_list object link lists.
1787 (tag_function): Ditto.
1788 (tag_blocks): Ditto.
1789 (tag_arcs): Ditto.
1790 (tag_lines): Ditto.
1791 (tag_counters): Ditto.
1792 (tag_summary): Ditto.
1793 (read_gcda_finalize): Ditto.
1794 (read_gcda_file): Ditto.
1795 (ftw_read_file): Ditto.
1796 (read_profile_dir_init): Ditto.
1797 (gcov_read_profile_dir): Ditto.
1798 (gcov_read_counter_mem): Ditto.
1799 (gcov_get_merge_weight): Ditto.
1800 (merge_wrapper): A wrapper function that calls merging handler.
1801 (gcov_merge): Merge two gcov_info objects with weights.
1802 (find_match_gcov_info): Find the matched gcov_info in the list.
1803 (gcov_profile_merge): Merge two gcov_info object lists.
1804 (__gcov_add_counter_op): Process edge profile counter values.
1805 (__gcov_ior_counter_op): Process IOR profile counter values.
1806 (__gcov_delta_counter_op): Process delta profile counter values.
1807 (__gcov_single_counter_op): Process single profile counter values.
1808 (fp_scale): Callback function for float-point scaling.
005a5ef5 1809 (int_scale): Callback function for integer fraction scaling.
e76f6040 1810 (gcov_profile_scale): Scaling profile counters.
1811 (gcov_profile_normalize): Normalize profile counters.
1812 * libgcov.h: Add headers and functions for gcov-tool use.
1813 (gcov_get_counter): New.
1814 (gcov_get_counter_target): Ditto.
1815 (struct gcov_info): Make the functions field mutable in gcov-tool
1816 compilation.
1817
761d3cae 18182014-06-23 Kai Tietz <ktietz@redhat.com>
1819
1820 PR libgcc/61585
1821 * unwind-seh.c (_Unwind_GetGR): Check for proper
1822 index range.
1823 (_Unwind_SetGR): Likewise.
1824
b4187486 18252014-05-22 Nick Clifton <nickc@redhat.com>
1826
1827 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
1828 -mhwmult=none.
1829
f1919901 18302014-05-22 Teresa Johnson <tejohnson@google.com>
1831
1832 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
1833 include.
1834
463553db 18352014-05-20 John Marino <gnugcc@marino.st>
1836
1837 * config.host (*-*-dragonfly*): New target.
1838 * crtstuff.c: Make dl_iterate_support generic on *bsd.
1839 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
1840 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
1841 * config/i386/dragonfly-unwind.h: New.
1842
17611fd9 18432014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1844
1845 PR libgcc/60166
1846 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
1847 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
1848
b061dab2 18492014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
1850
1851 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
1852 implementation.
1853
b81ef88d 18542014-05-12 Georg-Johann Lay <avr@gjlay.de>
1855
1856 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
1857
d71975a6 18582014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1859
1860 PR libgcc/61097
1861 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
1862 if --enable-shared.
1863
d3c4b980 18642014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
1865
1866 Work around for current cygwin32 build problems.
1867 * config/i386/cygming-crtbegin.c (__register_frame_info,
1868 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
1869 functions only for 64-bit systems.
1870
1f912f03 18712014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1872
1873 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
1874 (sigill_caught, sigill_hdlr): Remove.
1875
3efb5d22 18762014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1877
1878 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1879 check.
1880 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1881 Solaris 9 single-threaded support.
1882 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1883 Solaris 9 single-threaded support. Add call_user_handler code
1884 sequences.
1885 (sparc_is_sighandler): Likewise.
1886
368b5b2c 18872014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1888
1889 * config.host: Append t-floattodi to tmake_file depending on
1890 host_address.
1891
0cdefccf 18922014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
1893
c7285b71 1894 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 1895
e5d692d7 18962014-03-10 Uros Bizjak <ubizjak@gmail.com>
1897
1898 PR libgcc/60472
1899 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 1900 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 1901 Use __builtin_expect when checking *jcr_list for NULL.
1902
ec5f5503 19032014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1904
1905 PR libgcc/59339
1906 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1907 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1908 vtv_*.o to extra_parts if enable_vtable_verify.
1909
6dd4126d 19102014-03-06 Nick Clifton <nickc@redhat.com>
1911
1912 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1913 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1914
c63fabc4 19152014-02-28 Joey Ye <joey.ye@arm.com>
1916
1917 PR libgcc/60166
1918 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1919 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1920 Set to zero.
1921
2da35515 19222014-02-24 Walter Lee <walt@tilera.com>
1923
1924 * config.host: Support "tilegx*" and "tilepro*" triplets.
1925 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1926 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1927
73e15dfc 19282014-02-20 Sandra Loosemore <sandra@codesourcery.com>
1929 Chung-Lin Tang <cltang@codesourcery.com>
1930
1931 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1932 * config/nios2/crti.S: Remove .file directive.
1933 * config/nios2/crtn.S: Likewise.
1934
db5ce3d9 19352014-02-18 Kai Tietz <ktietz@redhat.com>
1936 Jonathan Schleifer <js@webkeks.org>
1937
1938 PR objc/56870
1939 * unwind-seh.c (_GCC_specific_handler): Pass proper
1940 value to unwind-handler.
1941
8f687340 19422014-02-12 Joseph Myers <joseph@codesourcery.com>
1943
1944 * soft-fp/adddf3.c: Update from glibc.
1945 * soft-fp/addsf3.c: Likewise.
1946 * soft-fp/addtf3.c: Likewise.
1947 * soft-fp/divdf3.c: Likewise.
1948 * soft-fp/divsf3.c: Likewise.
1949 * soft-fp/divtf3.c: Likewise.
1950 * soft-fp/double.h: Likewise.
1951 * soft-fp/eqdf2.c: Likewise.
1952 * soft-fp/eqsf2.c: Likewise.
1953 * soft-fp/eqtf2.c: Likewise.
1954 * soft-fp/extenddftf2.c: Likewise.
1955 * soft-fp/extended.h: Likewise.
1956 * soft-fp/extendsfdf2.c: Likewise.
1957 * soft-fp/extendsftf2.c: Likewise.
1958 * soft-fp/extendxftf2.c: Likewise.
1959 * soft-fp/fixdfdi.c: Likewise.
1960 * soft-fp/fixdfsi.c: Likewise.
1961 * soft-fp/fixdfti.c: Likewise.
1962 * soft-fp/fixsfdi.c: Likewise.
1963 * soft-fp/fixsfsi.c: Likewise.
1964 * soft-fp/fixsfti.c: Likewise.
1965 * soft-fp/fixtfdi.c: Likewise.
1966 * soft-fp/fixtfsi.c: Likewise.
1967 * soft-fp/fixtfti.c: Likewise.
1968 * soft-fp/fixunsdfdi.c: Likewise.
1969 * soft-fp/fixunsdfsi.c: Likewise.
1970 * soft-fp/fixunsdfti.c: Likewise.
1971 * soft-fp/fixunssfdi.c: Likewise.
1972 * soft-fp/fixunssfsi.c: Likewise.
1973 * soft-fp/fixunssfti.c: Likewise.
1974 * soft-fp/fixunstfdi.c: Likewise.
1975 * soft-fp/fixunstfsi.c: Likewise.
1976 * soft-fp/fixunstfti.c: Likewise.
1977 * soft-fp/floatdidf.c: Likewise.
1978 * soft-fp/floatdisf.c: Likewise.
1979 * soft-fp/floatditf.c: Likewise.
1980 * soft-fp/floatsidf.c: Likewise.
1981 * soft-fp/floatsisf.c: Likewise.
1982 * soft-fp/floatsitf.c: Likewise.
1983 * soft-fp/floattidf.c: Likewise.
1984 * soft-fp/floattisf.c: Likewise.
1985 * soft-fp/floattitf.c: Likewise.
1986 * soft-fp/floatundidf.c: Likewise.
1987 * soft-fp/floatundisf.c: Likewise.
1988 * soft-fp/floatunditf.c: Likewise.
1989 * soft-fp/floatunsidf.c: Likewise.
1990 * soft-fp/floatunsisf.c: Likewise.
1991 * soft-fp/floatunsitf.c: Likewise.
1992 * soft-fp/floatuntidf.c: Likewise.
1993 * soft-fp/floatuntisf.c: Likewise.
1994 * soft-fp/floatuntitf.c: Likewise.
1995 * soft-fp/gedf2.c: Likewise.
1996 * soft-fp/gesf2.c: Likewise.
1997 * soft-fp/getf2.c: Likewise.
1998 * soft-fp/ledf2.c: Likewise.
1999 * soft-fp/lesf2.c: Likewise.
2000 * soft-fp/letf2.c: Likewise.
2001 * soft-fp/muldf3.c: Likewise.
2002 * soft-fp/mulsf3.c: Likewise.
2003 * soft-fp/multf3.c: Likewise.
2004 * soft-fp/negdf2.c: Likewise.
2005 * soft-fp/negsf2.c: Likewise.
2006 * soft-fp/negtf2.c: Likewise.
2007 * soft-fp/op-1.h: Likewise.
2008 * soft-fp/op-2.h: Likewise.
2009 * soft-fp/op-4.h: Likewise.
2010 * soft-fp/op-8.h: Likewise.
2011 * soft-fp/op-common.h: Likewise.
2012 * soft-fp/quad.h: Likewise.
2013 * soft-fp/single.h: Likewise.
2014 * soft-fp/soft-fp.h: Likewise.
2015 * soft-fp/subdf3.c: Likewise.
2016 * soft-fp/subsf3.c: Likewise.
2017 * soft-fp/subtf3.c: Likewise.
2018 * soft-fp/truncdfsf2.c: Likewise.
2019 * soft-fp/trunctfdf2.c: Likewise.
2020 * soft-fp/trunctfsf2.c: Likewise.
2021 * soft-fp/trunctfxf2.c: Likewise.
2022 * soft-fp/unorddf2.c: Likewise.
2023 * soft-fp/unordsf2.c: Likewise.
2024 * soft-fp/unordtf2.c: Likewise.
2025 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
2026 macro.
2027 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2028 Likewise.
2029 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2030 Likewise.
2031 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2032 Likewise.
2033 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2034 Likewise.
2035 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2036 Likewise.
2037 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2038 Likewise.
2039 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2040 Likewise.
2041 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2042 Likewise.
2043 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2044 Likewise.
2045 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2046 Likewise.
2047 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2048 Likewise.
2049 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2050 Likewise.
2051 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
2052 Likewise.
2053 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
2054 Likewise.
2055 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2056 Likewise.
2057
fc1cd012 20582014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2059
2060 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
2061 cannot be represented.
2062 * config/s390/32/_fixsfdi.c: Likewise.
2063 * config/s390/32/_fixtfdi.c: Likewise.
2064 * config/s390/32/_fixunsdfdi.c: Likewise.
2065 * config/s390/32/_fixunssfdi.c: Likewise.
2066 * config/s390/32/_fixunstfdi.c: Likewise.
2067
4b366ca9 20682014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
2069
2070 * configure.ac (libgcc_cv_mips_hard_float): New.
2071 * configure: Regenerate.
2072 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
2073 t-softfp-sfdf for hard-float targets.
2074 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
2075 (softfp_float_modes, softfp_int_modes, softfp_extensions)
2076 (softfp_truncations, softfp_exclude_libgcc2): New.
2077 * config/t-hardfp: New file.
2078 * config/t-hardfp-sfdf: Likewise.
2079 * config/hardfp.c: Likewise.
2080
896dc54c 20812014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2082
2083 * config.host: Include t-floattodi also for s390x.
2084 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
2085 * config/s390/32/_fixsfdi.c: Likewise.
2086 * config/s390/32/_fixtfdi.c: Likewise.
2087 * config/s390/32/_fixunsdfdi.c: Likewise.
2088 * config/s390/32/_fixunssfdi.c: Likewise.
2089 * config/s390/32/_fixunstfdi.c: Likewise.
2090
48118d02 20912014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2092
2093 PR target/59788
2094 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
2095 (install-libgcc-unwind-map-forbuild): New target.
2096 (all): Depend on install-libgcc-unwind-map-forbuild.
2097 (install-libgcc-unwind-map): New target.
2098 (install): Depend on install-libgcc-unwind-map.
2099
1fa97c89 21002014-02-02 Sandra Loosemore <sandra@codesourcery.com>
2101
2102 * config/nios2/crti.S (_init): Initialize GOT pointer from
2103 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
2104
9bcbf352 21052014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
2106
2107 * configure.ac: Check __mips64 when setting host_address.
2108 * configure: Regenerate.
2109 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
2110 mips/t-mips64 and t-softfp.
2111 (mips*-*-linux*): Don't add mips/t-tpbit.
2112 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
2113 (DPBIT, DPBIT_CFLAGS): Delete.
2114 * config/mips/sfp-machine.h: New file.
2115 * config/mips/t-mips64: Likewise.
2116 * config/mips/t-softfp-tf: Likewise.
2117 * config/mips/t-tpbit: Delete.
2118
81b83e46 21192014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
2120
2121 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
2122 as long long.
2123
41766a5f 21242014-01-25 Walter Lee <walt@tilera.com>
2125
2126 * config/tilepro/atomic.c: Include tconfig.h. Don't include
2127 config.h or system.h.
2128 (bool) Define.
2129
c8d04645 21302014-01-25 Walter Lee <walt@tilera.com>
2131
2132 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
2133 (post_atomic_barrier): Ditto.
2134 (__fetch_and_do): New macro.
2135 (__atomic_fetch_and_do): Use __fetch_and_do.
2136 (__sync_fetch_and_do): New macro.
2137 (__sync_fetch_and_add_4): New function.
2138 (__sync_fetch_and_sub_4): New function.
2139 (__sync_fetch_and_or_4): New function.
2140 (__sync_fetch_and_and_4): New function.
2141 (__sync_fetch_and_xor_4): New function.
2142 (__sync_fetch_and_nand_4): New function.
2143 (__sync_fetch_and_add_8): New function.
2144 (__sync_fetch_and_sub_8): New function.
2145 (__sync_fetch_and_or_8): New function.
2146 (__sync_fetch_and_and_8): New function.
2147 (__sync_fetch_and_xor_8): New function.
2148 (__sync_fetch_and_nand_8): New function.
2149 (__do_and_fetch): New macro.
2150 (__atomic_do_and_fetch): Use __do_and_fetch.
2151 (__sync_do_and_fetch): New macro.
2152 (__sync_add_and_fetch_4): New function.
2153 (__sync_sub_and_fetch_4): New function.
2154 (__sync_or_and_fetch_4): New function.
2155 (__sync_and_and_fetch_4): New function.
2156 (__sync_xor_and_fetch_4): New function.
2157 (__sync_nand_and_fetch_4): New function.
2158 (__sync_add_and_fetch_8): New function.
2159 (__sync_sub_and_fetch_8): New function.
2160 (__sync_or_and_fetch_8): New function.
2161 (__sync_and_and_fetch_8): New function.
2162 (__sync_xor_and_fetch_8): New function.
2163 (__sync_nand_and_fetch_8): New function.
2164 (__sync_exchange_methods): New macro.
2165 (__sync_val_compare_and_swap_4): New function.
2166 (__sync_bool_compare_and_swap_4): New function.
2167 (__sync_lock_test_and_test_4): New function.
2168 (__sync_val_compare_and_swap_8): New function.
2169 (__sync_bool_compare_and_swap_8): New function.
2170 (__sync_lock_test_and_test_8): New function.
2171 (__subword_cmpxchg_body): New macro.
2172 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
2173 (__atomic_compare_exchange_2): Ditto.
2174 (__sync_subword_cmpxchg): New macro.
2175 (__sync_val_compare_and_swap_1): New function.
2176 (__sync_bool_compare_and_swap_1): New function.
2177 (__sync_val_compare_and_swap_2): New function.
2178 (__sync_bool_compare_and_swap_2): New function.
2179 (__atomic_subword): Rename to ...
2180 (__subword): ... New name.
2181 (__atomic_subword_fetch): Use __subword.
2182 (__sync_subword_fetch): New macro.
2183 (__sync_fetch_and_add_1): New function.
2184 (__sync_fetch_and_sub_1): New function.
2185 (__sync_fetch_and_or_1): New function.
2186 (__sync_fetch_and_and_1): New function.
2187 (__sync_fetch_and_xor_1): New function.
2188 (__sync_fetch_and_nand_1): New function.
2189 (__sync_fetch_and_add_2): New function.
2190 (__sync_fetch_and_sub_2): New function.
2191 (__sync_fetch_and_or_2): New function.
2192 (__sync_fetch_and_and_2): New function.
2193 (__sync_fetch_and_xor_2): New function.
2194 (__sync_fetch_and_nand_2): New function.
2195 (__sync_add_and_fetch_1): New function.
2196 (__sync_sub_and_fetch_1): New function.
2197 (__sync_or_and_fetch_1): New function.
2198 (__sync_and_and_fetch_1): New function.
2199 (__sync_xor_and_fetch_1): New function.
2200 (__sync_nand_and_fetch_1): New function.
2201 (__sync_add_and_fetch_2): New function.
2202 (__sync_sub_and_fetch_2): New function.
2203 (__sync_or_and_fetch_2): New function.
2204 (__sync_and_and_fetch_2): New function.
2205 (__sync_xor_and_fetch_2): New function.
2206 (__sync_nand_and_fetch_2): New function.
2207 (__atomic_subword_lock): Use __subword.
2208 (__sync_subword_lock): New macro.
2209 (__sync_lock_test_and_set_1): New function.
2210 (__sync_lock_test_and_set_2): New function.
2211
47bfa8ec 22122014-01-25 Walter Lee <walt@tilera.com>
2213
2214 * config/tilepro/atomic.c (BIT_OFFSET): Define.
2215 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
2216 (__atomic_subword): Ditto.
2217
fcb4fe71 22182014-01-25 Walter Lee <walt@tilera.com>
2219
2220 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
2221 a prefix op argument.
2222 (__atomic_nand_fetch_4): Add prefix op.
2223 (__atomic_nand_fetch_8): Ditto.
2224
92e91d03 22252014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 2226
2227 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
2228
9c50d275 22292014-01-09 Rong Xu <xur@google.com>
2230
2231 * libgcov-driver.c (this_prg): make it local to save
2232 bss space.
2233 (gcov_exit_compute_summary): Ditto.
2234 (gcov_exit_merge_gcda): Ditto.
2235 (gcov_exit_merge_summary): Ditto.
2236 (gcov_exit_dump_gcov): Ditto.
2237
005a5ef5 22382014-01-08 Rong Xu <xur@google.com>
67745126 2239
2240 * libgcov-driver.c: Use libgcov.h.
2241 (buffer_fn_data): Use xmalloc instead of malloc.
2242 (gcov_exit_merge_gcda): Ditto.
2243 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
2244 * libgcov.h: New common header files for libgcov-*.h.
2245 * libgcov-interface.c: Use libgcov.h
2246 * libgcov-merge.c: Ditto.
2247 * libgcov-profiler.c: Ditto.
2248 * Makefile.in: Add dependence to libgcov.h
2249
acf40e7e 22502014-01-02 Joseph Myers <joseph@codesourcery.com>
2251
2252 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
2253 case of small numerator and finite nonzero result.
2254
f9fb6ba0 22552014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
2256
2257 Update copyright years
2258
e4f22041 22592014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
2260
2261 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
2262 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
2263 config/arc/dp-hack.h, config/arc/fp-hack.h,
2264 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
2265 config/arc/ieee-754/arc600-dsp/divdf3.S,
2266 config/arc/ieee-754/arc600-dsp/divsf3.S,
2267 config/arc/ieee-754/arc600-dsp/muldf3.S,
2268 config/arc/ieee-754/arc600-dsp/mulsf3.S,
2269 config/arc/ieee-754/arc600-mul64/divdf3.S,
2270 config/arc/ieee-754/arc600-mul64/divsf3.S,
2271 config/arc/ieee-754/arc600-mul64/muldf3.S,
2272 config/arc/ieee-754/arc600-mul64/mulsf3.S,
2273 config/arc/ieee-754/arc600/divsf3.S,
2274 config/arc/ieee-754/arc600/mulsf3.S,
2275 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
2276 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
2277 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
2278 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
2279 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
2280 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
2281 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
2282 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
2283 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
2284 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
2285 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
2286 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
2287 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
2288 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
2289 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
2290 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
2291 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
2292 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
2293 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
2294 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
2295 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
2296 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
2297 vtv_start_preinit.c: Use the standard form for the copyright notice.
2298
de65406d 22992013-12-31 Sandra Loosemore <sandra@codesourcery.com>
2300 Chung-Lin Tang <cltang@codesourcery.com>
2301 Based on patches from Altera Corporation
2302
2303 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2304 * config/nios2/lib2-nios2.h: New file.
2305 * config/nios2/lib2-divmod-hi.c: New file.
2306 * config/nios2/linux-unwind.h: New file.
2307 * config/nios2/lib2-divmod.c: New file.
2308 * config/nios2/linux-atomic.c: New file.
2309 * config/nios2/t-nios2: New file.
2310 * config/nios2/crti.asm: New file.
2311 * config/nios2/t-linux: New file.
2312 * config/nios2/lib2-divtable.c: New file.
2313 * config/nios2/lib2-mul.c: New file.
2314 * config/nios2/tramp.c: New file.
2315 * config/nios2/crtn.asm: New file.
2316
a0f1278f 23172013-12-26 Uros Bizjak <ubizjak@gmail.com>
2318
2319 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2320 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2321 from cpuid.h to check vendor signatures.
2322
0337c8ef 23232013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
2324
e5d692d7 2325 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 2326 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2327 (get_amd_cpu): Likewise.
2328
03797e66 23292013-12-25 H.J. Lu <hongjiu.lu@intel.com>
2330
2331 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2332 Haswell.
2333
8a5280dc 23342013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2335 H.J. Lu <hongjiu.lu@intel.com>
2336
ed1bc9a4 2337 PR target/59422
2338 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 2339 and AMD_JAGUAR.
2340 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2341 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2342 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
2343 FEATURE_XOP and FEATURE_FMA.
2344 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2345 AMDFAM15H_BDVER3.
2346 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
ed1bc9a4 2347 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 2348 FEATURE_FMA4 and FEATURE_XOP.
2349
ccc305ff 23502013-12-23 H.J. Lu <hongjiu.lu@intel.com>
2351
2352 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
2353 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
2354 (get_intel_cpu): Updated.
2355
4ef5912a 23562013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
2357
2358 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
2359
62f068c6 23602013-12-09 Uros Bizjak <ubizjak@gmail.com>
2361
2362 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 2363 instructions when __SSE_MATH__ is defined.
62f068c6 2364
d742e92d 23652013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
2366
2367 * config.host (microblaze-*-rtems*): New.
2368
706d62f5 23692013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
2370
2371 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
2372 architectures that do not have hardware divide instruction.
2373 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
2374
81927967 23752013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
2376
2377 * longlong.h: Delete (moved to include/).
2378
085d03cc 23792013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2380
2381 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
2382 of normal number and qNaN to not raise an inexact exception.
2383
1f88bc79 23842013-11-28 Uros Bizjak <ubizjak@gmail.com>
2385
2386 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
2387
23882013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 2389
2390 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
2391 for correct opcodes on BE.
2392
ea9697c4 23932013-11-27 Uros Bizjak <ubizjak@gmail.com>
2394
2395 * soft-fp/op-4.h: Update from glibc.
2396
b214253d 23972013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
2398
2399 * libgcc2.c (__udivmoddi4): Define new implementation when
2400 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
2401 divide instructions.
2402
334819e8 24032013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
2404
2405 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
2406
2b8d95bc 24072013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2408
2409 * config/t-softfp (soft-fp-objects-base): New variable.
2410 (soft-fp-objects): Use it.
2411
39da7440 24122013-11-23 David Edelson <dje.gcc@gmail.com>
2413 Andrew Dixie <andrewd@gentrack.com>
2414
2415 PR target/33704
2416 * config/rs6000/aixinitfini.c: New file.
2417 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
2418 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
2419 symbols.
2420
b848ffcd 24212013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
2422
ea9697c4 2423 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 2424
f75db2a8 24252013-11-18 Jan Hubicka <jh@suse.cz>
2426
5dbddbd9 2427 * libgcov-driver.c (run_accounted): Make global level static.
2428 (gcov_exit_merge_summary): Silence warning; do not clear
2429 run_accounted here.
2430 (gcov_exit): Clear it here.
2431
7a45fd9b 2432 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
2433 run_accounted.
2434
f75db2a8 2435 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
2436 (all_prg, crc32): Remove static vars.
2437 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
2438 all_prg.
2439 (gcov_exit_merge_gcda): Add crc32 parameter.
2440 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
2441 do not account run if it was already accounted.
2442 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
2443 (gcov_exit): Initialize all_prg; update.
2444
822f2c1b 24452013-11-15 Andreas Schwab <schwab@linux-m68k.org>
2446
2447 * configure: Regenerate.
2448
238f342d 24492013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2450 Alan Modra <amodra@gmail.com>
2451
2452 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
2453 (frob_update_context): Use it.
2454
24552013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2456 Alan Modra <amodra@gmail.com>
2457
2458 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
2459 (trampoline_initial): Provide ELFv2 variant.
2460 (__trampoline_setup): Likewise.
2461
2462 * config/rs6000/linux-unwind.h (frob_update_context): Do not
2463 check for AIX indirect function call sequence if _CALL_ELF == 2.
2464
24652013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2466 Alan Modra <amodra@gmail.com>
2467
2468 * config/rs6000/linux-unwind.h (get_regs): Do not support
2469 old kernel versions if _CALL_ELF == 2.
2470 (frob_update_context): Do not support PLT stub variants only
2471 generated by old linkers if _CALL_ELF == 2.
2472
771a5362 24732013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2474 Alan Modra <amodra@gmail.com>
2475
2476 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
2477 location of CR save area for 64-bit little-endian systems.
2478
f4f176bd 24792013-11-11 Eric Botcazou <ebotcazou@adacore.com>
2480
2481 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
2482 in tmake_file.
2483 * config/arm/t-vxworks: Delete.
2484
024d645a 24852013-11-10 Kai Tietz <ktietz@redhat.com>
2486
2487 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
2488 Increment load-count on use of LIBGCC_SONAME DLL.
2489 (hmod_libgcc): New static variable to hold handle of
2490 LIBGCC_SONAME DLL.
2491 (__gcc_deregister_frame): Decrement load-count of
2492 LIBGCC_SONAME DLL.
2493
96ddb284 24942013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
2495
2496 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
2497 availability.
2498 * configure: Regenerate
2499
b4ad80db 25002013-11-07 Uros Bizjak <ubizjak@gmail.com>
2501
2502 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
2503 FP_EX_DENORM. Store result to volatile location after SSE division
2504 to close interrupt window. Remove unneeded fwait after x87
2505 division since interrupt window will be closed by emitted fstp.
dc1dacdf 2506 Rewrite FP_EX_INEXACT handling.
b4ad80db 2507
589468a6 25082013-11-06 Joseph Myers <joseph@codesourcery.com>
2509
2510 * soft-fp/README: Update.
2511 * soft-fp/adddf3.c: Update from glibc.
2512 * soft-fp/addsf3.c: Likewise.
2513 * soft-fp/addtf3.c: Likewise.
2514 * soft-fp/divdf3.c: Likewise.
2515 * soft-fp/divsf3.c: Likewise.
2516 * soft-fp/divtf3.c: Likewise.
2517 * soft-fp/double.h: Likewise.
2518 * soft-fp/eqdf2.c: Likewise.
2519 * soft-fp/eqsf2.c: Likewise.
2520 * soft-fp/eqtf2.c: Likewise.
2521 * soft-fp/extenddftf2.c: Likewise.
2522 * soft-fp/extended.h: Likewise.
2523 * soft-fp/extendsfdf2.c: Likewise.
2524 * soft-fp/extendsftf2.c: Likewise.
2525 * soft-fp/extendxftf2.c: Likewise.
2526 * soft-fp/fixdfdi.c: Likewise.
2527 * soft-fp/fixdfsi.c: Likewise.
2528 * soft-fp/fixdfti.c: Likewise.
2529 * soft-fp/fixsfdi.c: Likewise.
2530 * soft-fp/fixsfsi.c: Likewise.
2531 * soft-fp/fixsfti.c: Likewise.
2532 * soft-fp/fixtfdi.c: Likewise.
2533 * soft-fp/fixtfsi.c: Likewise.
2534 * soft-fp/fixtfti.c: Likewise.
2535 * soft-fp/fixunsdfdi.c: Likewise.
2536 * soft-fp/fixunsdfsi.c: Likewise.
2537 * soft-fp/fixunsdfti.c: Likewise.
2538 * soft-fp/fixunssfdi.c: Likewise.
2539 * soft-fp/fixunssfsi.c: Likewise.
2540 * soft-fp/fixunssfti.c: Likewise.
2541 * soft-fp/fixunstfdi.c: Likewise.
2542 * soft-fp/fixunstfsi.c: Likewise.
2543 * soft-fp/fixunstfti.c: Likewise.
2544 * soft-fp/floatdidf.c: Likewise.
2545 * soft-fp/floatdisf.c: Likewise.
2546 * soft-fp/floatditf.c: Likewise.
2547 * soft-fp/floatsidf.c: Likewise.
2548 * soft-fp/floatsisf.c: Likewise.
2549 * soft-fp/floatsitf.c: Likewise.
2550 * soft-fp/floattidf.c: Likewise.
2551 * soft-fp/floattisf.c: Likewise.
2552 * soft-fp/floattitf.c: Likewise.
2553 * soft-fp/floatundidf.c: Likewise.
2554 * soft-fp/floatundisf.c: Likewise.
2555 * soft-fp/floatunditf.c: Likewise.
2556 * soft-fp/floatunsidf.c: Likewise.
2557 * soft-fp/floatunsisf.c: Likewise.
2558 * soft-fp/floatunsitf.c: Likewise.
2559 * soft-fp/floatuntidf.c: Likewise.
2560 * soft-fp/floatuntisf.c: Likewise.
2561 * soft-fp/floatuntitf.c: Likewise.
2562 * soft-fp/gedf2.c: Likewise.
2563 * soft-fp/gesf2.c: Likewise.
2564 * soft-fp/getf2.c: Likewise.
2565 * soft-fp/ledf2.c: Likewise.
2566 * soft-fp/lesf2.c: Likewise.
2567 * soft-fp/letf2.c: Likewise.
2568 * soft-fp/muldf3.c: Likewise.
2569 * soft-fp/mulsf3.c: Likewise.
2570 * soft-fp/multf3.c: Likewise.
2571 * soft-fp/negdf2.c: Likewise.
2572 * soft-fp/negsf2.c: Likewise.
2573 * soft-fp/negtf2.c: Likewise.
2574 * soft-fp/op-1.h: Likewise.
2575 * soft-fp/op-2.h: Likewise.
2576 * soft-fp/op-4.h: Likewise.
2577 * soft-fp/op-8.h: Likewise.
2578 * soft-fp/op-common.h: Likewise.
2579 * soft-fp/quad.h: Likewise.
2580 * soft-fp/single.h: Likewise.
2581 * soft-fp/soft-fp.h: Likewise.
2582 * soft-fp/subdf3.c: Likewise.
2583 * soft-fp/subsf3.c: Likewise.
2584 * soft-fp/subtf3.c: Likewise.
2585 * soft-fp/truncdfsf2.c: Likewise.
2586 * soft-fp/trunctfdf2.c: Likewise.
2587 * soft-fp/trunctfsf2.c: Likewise.
2588 * soft-fp/trunctfxf2.c: Likewise.
2589 * soft-fp/unorddf2.c: Likewise.
2590 * soft-fp/unordsf2.c: Likewise.
2591 * soft-fp/unordtf2.c: Likewise.
2592
8a3edb33 25932013-11-05 Uros Bizjak <ubizjak@gmail.com>
2594
2595 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
2596 (_FP_MUL_MEAT_D): Ditto.
2597 (_FP_DIV_MEAT_S): Ditto.
2598 (_FP_DIV_MEAT_D): Ditto.
2599 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
2600 t-softfp-sfdf and t-softfp to tmake_file.
2601
ea151fae 26022013-11-03 Uros Bizjak <ubizjak@gmail.com>
2603
2604 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
2605 * config/i386/crtprec.c: Ditto.
2606
eae21ed1 26072013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
2608 Shiva Chen <shiva0217@gmail.com>
2609
2610 * config.host (nds32*-elf*): Add nds32 target.
2611 * config/nds32 : New directory and files.
2612
b4294f67 26132013-10-16 Hans-Peter Nilsson <hp@axis.com>
2614
2615 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
2616 * config.host (cpu_type) <Setting default>: Add entry for
2617 crisv32-*-*.
2618 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
2619 <crisv32-*-linux*>: Adjust.
2620 * longlong.h: Wrap the whole CRIS section in a single
2621 defined(__CRIS__) conditional. Add comment about add_ssaaaa
2622 and sub_ddmmss.
2623 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
2624 defined.
2625 [__CRIS__] (__umulsidi3): Define.
2626 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
2627 * config/cris/sfp-machine.h: New file.
2628 * config/cris/umulsidi3.S: New file.
2629 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
2630 * config/cris/arit.c (SIGNMULT): New macro.
2631 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
2632 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
2633 saving 3 out of originally 33 cycles from the fastest
2634 path, 3 out of 54 from the medium path and one from the longest
2635 path. Improve comments.
2636
89432048 26372013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
2638
2639 * sync.c: Remove static aliases and define each function directly
2640 under its real name.
2641
a99f9d91 26422013-10-02 John David Anglin <danglin@gcc.gnu.org>
2643
2644 * config.host (hppa*64*-*-linux*): Define extra_parts.
2645 (hppa*-*-linux*): Likewise.
2646
c6e92c43 26472013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
2648
2649 * config/arc/crtgend.S: Add 2013 to Copyright years.
2650 * config/arc/gmon/atomic.h: Likewise.
2651 * config/arc/gmon/auxreg.h: Likewise.
2652 * config/arc/gmon/sys/gmon_out.h: Likewise.
2653 * config/arc/gmon/sys/gmon.h: Likewise.
2654 * config/arc/gmon/prof-freq.c: Likewise.
2655 * config/arc/gmon/mcount.c: Likewise.
2656 * config/arc/gmon/prof-freq-stub.S: Likewise.
2657 * config/arc/gmon/gmon.c: Likewise.
2658 * config/arc/gmon/machine-gmon.h: Likewise.
2659 * config/arc/gmon/profil.S: Likewise.
2660 * config/arc/gmon/dcache_linesz.S: Likewise.
2661 * config/arc/crtg.S: Likewise.
2662 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
2663 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
2664 * config/arc/ieee-754/adddf3.S: Likewise.
2665 * config/arc/ieee-754/truncdfsf2.S: Likewise.
2666 * config/arc/ieee-754/fixsfsi.S: Likewise.
2667 * config/arc/ieee-754/gtsf2.S: Likewise.
2668 * config/arc/ieee-754/floatsisf.S: Likewise.
2669 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
2670 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
2671 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
2672 * config/arc/ieee-754/fixdfsi.S: Likewise.
2673 * config/arc/ieee-754/addsf3.S: Likewise.
2674 * config/arc/ieee-754/gesf2.S: Likewise.
2675 * config/arc/ieee-754/floatsidf.S: Likewise.
2676 * config/arc/ieee-754/extendsfdf2.S: Likewise.
2677 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
2678 * config/arc/ieee-754/gtdf2.S: Likewise.
2679 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
2680 * config/arc/ieee-754/uneqdf2.S: Likewise.
2681 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2682 * config/arc/ieee-754/uneqsf2.S: Likewise.
2683 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
2684 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
2685 * config/arc/ieee-754/eqdf2.S: Likewise.
2686 * config/arc/ieee-754/ordsf2.S: Likewise.
2687 * config/arc/ieee-754/divsf3.S: Likewise.
2688 * config/arc/ieee-754/divdf3.S: Likewise.
2689 * config/arc/ieee-754/floatunsidf.S: Likewise.
2690 * config/arc/ieee-754/orddf2.S: Likewise.
2691 * config/arc/ieee-754/eqsf2.S: Likewise.
2692 * config/arc/ieee-754/gedf2.S: Likewise.
2693 * config/arc/crtn.S: Likewise.
2694 * config/arc/crti.S: Likewise.
2695 * config/arc/t-arc700-uClibc: Likewise.
2696 * config/arc/asm.h: Likewise.
2697 * config/arc/libgcc-excl.ver: Likewise.
2698 * config/arc/t-arc-newlib: Likewise.
2699 * config/arc/divtab-arc700.c: Likewise.
2700 * config/arc/initfini.c: Likewise.
2701 * config/arc/fp-hack.h: Likewise.
2702
8abf21c0 27032013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
2704 Diego Novillo <dnovillo@google.com>
2705
2706 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
29941397 2707 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
2708 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
2709 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8abf21c0 2710
8eaaaea3 27112013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
2712 Brendan Kehoe <brendan@zen.org>
2713 Simon Cook <simon.cook@embecosm.com>
2714
2715 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
2716 * config/arc: New directory.
2717 * longlong.h [__arc__] (umul_ppmm): Remove.
2718 [__arc__] (__umulsidi3): Define.
2719 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
2720 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
2721
5d7073ff 27222013-09-17 Jacek Caban <jacek@codeweavers.com>
2723
2724 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
2725 CreateSemaphoreA.
2726 * config/i386/gthr-win32.h: Likewise.
2727
c5a0ae5e 27282013-09-16 DJ Delorie <dj@redhat.com>
2729
3feee9ae 2730 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 2731 * config/rl78/lib2mul.c: Enable for RL78/G10.
2732 * config/rl78/lib2div.c: Likewise.
2733 * config/rl78/lshrsi3.S: Use vregs.h.
2734 * config/rl78/cmpsi2.S: Likewise.
2735 * config/rl78/trampoline.S: Likewise.
2736 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
2737
03223f89 27382013-09-14 DJ Delorie <dj@redhat.com>
2739 Nick Clifton <nickc@redhat.com>
2740
2741 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
2742 * config/rl78/vregs.h: New.
2743 * config/rl78/signbit.S: New file. Implements signbit function.
2744 * config/rl78/divmodsi.S: New.
2745 * config/rl78/divmodhi.S: New.
2746 * config/rl78/divmodqi.S: New.
2747 * config/rl78/t-rl78: Build them here...
2748 * config/rl78/lib2div.c: ...but not here.
2749
e4a25868 27502013-09-12 DJ Delorie <dj@redhat.com>
2751
2752 * config.host (msp*-*-elf): New.
2753 * config/msp430/: New port.
2754
f5f1a747 27552013-08-18 Iain Sandoe <iain@codesourcery.com>
2756
2757 PR gcov-profile/58127
2758 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
2759 __thread var for emulated TLS.
2760 (__gcov_indirect_call_counters): Likewise.
2761
272552a3 27622013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 2763 Catherine Moore <clm@codesourcery.com>
92e91d03 2764 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 2765
2766 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
2767 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
2768 (CALL_STUB_NO_RET): Likewise.
2769 (CALL_STUB_RET): Likewise.
2770 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
2771 __mips16_ret call/return stub symbols.
2772 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
2773 to tmake_file.
2774
26865d30 27752013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
2776
2777 * config.host <mips*-*-linux*>: Remove a stray comment.
2778
4771c0ac 27792013-08-10 Jan Hubicka <jh@suse.cz>
2780
2781 Work around binutils PR14342
2782 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
2783 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
2784 (L_gcov_indirect_call_profiler_v2): New.
2785
fe37be54 27862013-08-06 Jan Hubicka <jh@suse.cz>
2787
2788 * libgcov.c (__gcov_indirect_call_callee,
2789 __gcov_indirect_call_counters): New global vars.
2790 (__gcov_indirect_call_profiler): replace by ...
2791 (__gcov_indirect_call_profiler_v2) ... this one.
2792
b710ec85 27932013-08-06 Caroline Tice <cmtice@google.com>
2794
62257207 2795 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 2796 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 2797 * configure.ac: Add code to check/set enable_vtable_verify.
2798 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
b710ec85 2799 true.
62257207 2800 * vtv_start_preinit.c: New file.
2801 * vtv_end_preinit.c: New file.
2802 * vtv_start.c: New file.
2803 * vtv_end.c: New file.
2804 * configure: Regenerated.
b710ec85 2805
98997678 28062013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
2807
2808 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
2809 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
2810 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
2811 GPL-3.0-with-GCC-exception.
2812
b26b6f0d 28132013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
2814
2815 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
2816 ISA and up.
2817
e6270f6f 28182013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2819
2820 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
2821 mapping for FPRs when creating the fallback framestate.
2822
fdbf5b19 28232013-07-19 Georg-Johann Lay <avr@gjlay.de>
2824
2825 PR target/57516
2826 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
2827 (__round_s2_const, __round_u2_const)
2828 (__round_s4_const, __round_u4_const, __round_x8):
2829 Saturate result if addition result cannot be represented.
2830
6dcb849c 28312013-07-15 Matthias Klose <doko@ubuntu.com>
2832
2833 * libgcc2.c: Don't include <limits.h>.
2834
16348e18 28352013-07-09 Janis Johnson <janisjo@codesourcery.com>
2836
2837 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
2838
64b5be08 28392013-07-06 Jakub Jelinek <jakub@redhat.com>
2840
2841 PR target/29776
2842 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
2843
68a09193 28442013-06-28 Jakub Jelinek <jakub@redhat.com>
2845
2846 PR middle-end/36041
2847 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
2848 Define.
2849 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
2850 instead of table lookups.
2851 (__popcountDI2): Likewise.
2852
5fe358df 28532013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
2854
2855 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
2856 correctly.
2857
2511e9f1 28582013-06-21 Joseph Myers <joseph@codesourcery.com>
2859
2860 PR other/53317
2861 * soft-fp/adddf3.c: Update from glibc.
2862 * soft-fp/addsf3.c: Likewise.
2863 * soft-fp/addtf3.c: Likewise.
2864 * soft-fp/divdf3.c: Likewise.
2865 * soft-fp/divsf3.c: Likewise.
2866 * soft-fp/divtf3.c: Likewise.
2867 * soft-fp/double.h: Likewise.
2868 * soft-fp/eqdf2.c: Likewise.
2869 * soft-fp/eqsf2.c: Likewise.
2870 * soft-fp/eqtf2.c: Likewise.
2871 * soft-fp/extenddftf2.c: Likewise.
2872 * soft-fp/extended.h: Likewise.
2873 * soft-fp/extendsfdf2.c: Likewise.
2874 * soft-fp/extendsftf2.c: Likewise.
2875 * soft-fp/fixdfdi.c: Likewise.
2876 * soft-fp/fixdfsi.c: Likewise.
2877 * soft-fp/fixsfdi.c: Likewise.
2878 * soft-fp/fixsfsi.c: Likewise.
2879 * soft-fp/fixtfdi.c: Likewise.
2880 * soft-fp/fixtfsi.c: Likewise.
2881 * soft-fp/fixunsdfdi.c: Likewise.
2882 * soft-fp/fixunsdfsi.c: Likewise.
2883 * soft-fp/fixunssfdi.c: Likewise.
2884 * soft-fp/fixunssfsi.c: Likewise.
2885 * soft-fp/fixunstfdi.c: Likewise.
2886 * soft-fp/fixunstfsi.c: Likewise.
2887 * soft-fp/floatdidf.c: Likewise.
2888 * soft-fp/floatdisf.c: Likewise.
2889 * soft-fp/floatditf.c: Likewise.
2890 * soft-fp/floatsidf.c: Likewise.
2891 * soft-fp/floatsisf.c: Likewise.
2892 * soft-fp/floatsitf.c: Likewise.
2893 * soft-fp/floatundidf.c: Likewise.
2894 * soft-fp/floatundisf.c: Likewise.
2895 * soft-fp/floatunditf.c: Likewise.
2896 * soft-fp/floatunsidf.c: Likewise.
2897 * soft-fp/floatunsisf.c: Likewise.
2898 * soft-fp/floatunsitf.c: Likewise.
2899 * soft-fp/gedf2.c: Likewise.
2900 * soft-fp/gesf2.c: Likewise.
2901 * soft-fp/getf2.c: Likewise.
2902 * soft-fp/ledf2.c: Likewise.
2903 * soft-fp/lesf2.c: Likewise.
2904 * soft-fp/letf2.c: Likewise.
2905 * soft-fp/muldf3.c: Likewise.
2906 * soft-fp/mulsf3.c: Likewise.
2907 * soft-fp/multf3.c: Likewise.
2908 * soft-fp/negdf2.c: Likewise.
2909 * soft-fp/negsf2.c: Likewise.
2910 * soft-fp/negtf2.c: Likewise.
2911 * soft-fp/op-1.h: Likewise.
2912 * soft-fp/op-2.h: Likewise.
2913 * soft-fp/op-4.h: Likewise.
2914 * soft-fp/op-8.h: Likewise.
2915 * soft-fp/op-common.h: Likewise.
2916 * soft-fp/quad.h: Likewise.
2917 * soft-fp/single.h: Likewise.
2918 * soft-fp/soft-fp.h: Likewise.
2919 * soft-fp/subdf3.c: Likewise.
2920 * soft-fp/subsf3.c: Likewise.
2921 * soft-fp/subtf3.c: Likewise.
2922 * soft-fp/truncdfsf2.c: Likewise.
2923 * soft-fp/trunctfdf2.c: Likewise.
2924 * soft-fp/trunctfsf2.c: Likewise.
2925 * soft-fp/unorddf2.c: Likewise.
2926 * soft-fp/unordsf2.c: Likewise.
2927 * soft-fp/unordtf2.c: Likewise.
2928 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2929 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2930 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2931 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2932 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2933 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2934 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2935 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2936 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2937 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2938 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2939 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2940
0b4e9fcd 29412013-06-16 JĂŒrgen Urban <JuergenUrban@gmx.de>
2942
2943 * config/mips/lib2funcs.c: New file.
2944 * config/mips/t-mips (LIB2ADD_ST): Add it.
2945
fe9c9e23 29462013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
2947
2948 PR target/6526
2949 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2950 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
2951
1c229e23 29522013-06-08 Walter Lee <walt@tilera.com>
2953
2954 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2955 Replace int64_t with long long. Add __extension__ where
2956 appropriate.
2957 * config/tilepro/atomic.c: Include config.h.
2958
1a7dfb13 29592013-06-06 Douglas B Rupp <rupp@adacore.com>
2960
2961 * config.host (arm-wrs-vxworks): Configure with other soft float.
2962
60b34f30 29632013-06-04 JĂŒrgen Urban <JuergenUrban@gmx.de>
2964
2965 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2966 (mips64r5900el-*-elf*): New configurations.
2967
ebe9cbdb 29682013-06-04 Alan Modra <amodra@gmail.com>
2969
2970 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2971
fbcee6d1 29722013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
2973
2974 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2975
aad33226 29762013-05-28 Eric Botcazou <ebotcazou@adacore.com>
2977
2978 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2979 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2980 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2981
47ab8c10 29822013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2983
2984 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2985 (powerpc-wrs-vxworks): Likewise.
2986
34a60aa2 29872013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2988
2989 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2990 signal frames as well.
2991 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2992 STACK_BIAS to the CFA offset.
2993
be82f7a8 29942013-05-17 Richard Henderson <rth@redhat.com>
2995
2996 PR target/49146
2997 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2998 (execute_cfa_program): Use it when storing to fs->regs.
2999
bd89d2b6 30002013-05-08 Kai Tietz <ktietz@redhat.com>
3001
3002 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
3003 (__deregister_frame_info): Likewise.
3004
9e849aff 30052013-05-06 Thomas Schwinge <thomas@codesourcery.com>
3006
dfa9a36a 3007 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
3008 NaN's payload.
3009
9e849aff 3010 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
3011
d80dc920 30122013-04-25 Alan Modra <amodra@gmail.com>
3013
3014 * config.host: Match little-endian powerpc-linux.
3015
d359df0c 30162013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
3017
3018 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
3019 as 'unsigned long long' instead of 'unsigned long'.
3020 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
3021 'signed long'.
3022
912507e5 30232013-04-10 Julian Brown <julian@codesourcery.com>
3024
3025 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
3026 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
3027 unsigned char/unsigned short.
3028 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
3029
9dafcef4 30302013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3031
3032 PR other/55274
3033 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
3034
11bec6e6 30352013-04-04 Meador Inge <meadori@codesourcery.com>
3036
3037 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
3038 computing the location of the link register.
3039 (aeabi_uldivmod): Ditto.
3040
45d13ef4 30412013-03-27 Kai Tietz <ktietz@redhat.com>
3042
3043 * config.host: Add support for cygwin x64 target.
3044 * configure: Regenerated.
3045
cad8262b 30462013-03-26 Walter Lee <walt@tilera.com>
3047
3048 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
3049 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
3050
d2adc174 30512013-03-25 Kai Tietz <ktietz@redhat.com>
3052
3053 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
3054
a5487e41 30552013-03-20 Robert Mason <rbmj@verizon.net>
3056
3057 * config/vxlib-tls.c (__gthread_get_tsd_data,)
3058 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
3059 (__gthread_leave_tsd_dtor_context): Add prototypes.
3060 (tls_delete_hook): Update.
3061
ff9c1bc1 30622013-03-20 Catherine Moore <clm@codesourcery.com>
3063 Joseph Myers <joseph@codesourcery.com>
3064 Chao-ying Fu <fu@mips.com>
3065
3066 * config/mips/mips16.S: Don't build for microMIPS.
3067 * config/mips/linux-unwind.h: Handle microMIPS frame.
3068 * config/mips/crtn.S (fini, init): New labels.
3069
228bf2b8 30702013-03-14 Jakub Jelinek <jakub@redhat.com>
3071
3072 PR tree-optimization/53265
3073 * unwind-dw2.c (execute_cfa_program): Avoid
3074 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
3075 on targets with DWARF_FRAME_REGISTERS < 32.
3076
bb057878 30772013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
3078
3079 PR target/49880
3080 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
3081 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
3082
a1b2a524 30832013-03-07 Sriraman Tallam <tmsriram@google.com>
3084
3085 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
3086 sandybridge processors.
3087
9fe603c3 30882013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
3089
3090 PR target/56529
3091 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
3092 inclusion list.
3093
21ebaa24 30942013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 3095
3096 * config/microblaze/crti.S: Setup stack protection at entry
3097
958069e9 30982013-03-04 Georg-Johann Lay <avr@gjlay.de>
3099
3100 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
3101 (__rotldi3): Shift bytewise if applicable.
3102
49be16da 31032013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
3104
3105 * config/aarch64/sync-cache.c
3106 (__aarch64_sync_cache_range): Silence warnings.
3107
ca7a473f 31082013-02-25 Catherine Moore <clm@codesourcery.com>
3109
3110 Revert:
3111 2013-02-24 Catherine Moore <clm@codesourcery.com>
3112 Joseph Myers <joseph@codesourcery.com>
3113 Chao-ying Fu <fu@mips.com>
3114
3115 * config/mips/mips16.S: Don't build for microMIPS.
3116 * config/mips/linux-unwind.h: Handle microMIPS frame.
3117 * config/mips/crtn.S (fini, init): New labels.
3118
7fd93f9c 31192013-02-24 Catherine Moore <clm@codesourcery.com>
3120 Joseph Myers <joseph@codesourcery.com>
3121 Chao-ying Fu <fu@mips.com>
3122
3123 * config/mips/mips16.S: Don't build for microMIPS.
3124 * config/mips/linux-unwind.h: Handle microMIPS frame.
3125 * config/mips/crtn.S (fini, init): New labels.
3126
1859244f 31272012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 3128 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 3129 as dividend.
3130
2a0bfd56 31312013-02-16 Alan Modra <amodra@gmail.com>
3132
3133 PR target/55431
3134 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
3135 (ppc_fallback_frame_state): Always set up save locations for fp
3136 and altivec. Don't bother with non-callee-saved regs, r0-r13
3137 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
3138
cfbcb7d5 31392013-02-12 Georg-Johann Lay <avr@gjlay.de>
3140
3141 PR target/54222
3142 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
3143 _ssmulHA, _ssmulSA.
3144 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
3145 _ssmulha3, _usmulusa3, _ssmulsa3.
3146 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
3147 (__muldi3): XCALL __muldi3_6 instead of rcall.
3148 (__umulsidi3, __mulsidi3): New functions.
3149 (do_prologue_saves, do_epilogue_restores): New .macros.
3150 (__divdi3_moddi3): Use them.
3151 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
3152 (__usmulusa3, __ssmulsa3): New functions.
3153
48b8e70a 31542013-02-11 Iain Sandoe <iain@codesourcery.com>
3155 Jack Howarth <howarth@bromo.med.uc.edu>
3156 Patrick Marlier <patrick.marlier@gmail.com>
3157
3158 PR libitm/55693
3159 * config/darwin-crt-tm.c: Remove dummy functions hack.
3160
eafea251 31612013-02-08 Georg-Johann Lay <avr@gjlay.de>
3162
3163 PR target/54222
3164 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
3165 * config/avr/lib2-object.mk: New iterator to build objects from it.
3166 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
3167 lib2funcs.c.
3168 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
3169 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
3170 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
3171 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
3172 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
3173 * config/avr/lib1funcs-fixed.S: Implement them.
3174
64b7b462 31752013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
3176
3177 Update copyright years.
3178
a8af2dd5 31792013-02-01 David Edelsohn <dje.gcc@gmail.com>
3180
3181 PR target/54601
3182 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
3183 Add crtcxa to extra_parts.
3184 * config/rs6000/exit.h: New file.
3185 * config/rs6000/cxa_atexit.c: New file.
3186 * config/rs6000/cxa_finalize.c: New file.
3187 * config/rs6000/crtcxa.c: New file.
3188 * config/rs6000/t-aix-cxa: New file.
3189 * config/rs6000/libgcc-aix-cxa.ver: New file.
3190
9a5788ea 31912013-01-31 Nick Clifton <nickc@redhat.com>
3192
3193 * config/v850/lib1funcs.S: Add support for e3v5 architecture
3194 variant.
3195
63c85bd5 31962013-01-29 Georg-Johann Lay <avr@gjlay.de>
3197
3198 PR target/54222
3199 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
3200 _mulQQ, _mulHQ, _mulHA, _mulSA,
3201 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
3202 _divQQ, _divHQ, _divHA, _divSA,
3203 _divUQQ, _divUHQ, _divUHA, _divUSA.
3204
21ebaa24 32052013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 3206
9a5788ea 3207 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 3208 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
3209 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
3210 to exclude functions from being built with libgcc.c and use
3211 the microblaze assembly.
3212
21ebaa24 32132013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 3214
3215 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
3216 extra_parts.
3217
ee4d7d9e 32182013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
3219
3220 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
3221 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
3222 __UINTPTR_TYPE__; also cast 'base' to the same type before the
3223 alignment operation.
3224
7deea711 32252013-01-15 Sofiane Naci <sofiane.naci@arm.com>
3226
3227 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
3228 loop start address for cache clearing.
3229
0dff9558 32302013-01-14 Georg-Johann Lay <avr@gjlay.de>
3231
3232 * config/avr/lib1funcs.S: Remove trailing blanks.
3233 * config/avr/lib1funcs-fixed.S: Ditto.
3234
d8ff1e9a 32352013-01-14 Georg-Johann Lay <avr@gjlay.de>
3236
3237 * config/avr/avr-lib.h: Add GPL copyright notice.
3238
dd509879 32392013-01-14 Georg-Johann Lay <avr@gjlay.de>
3240
3241 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
3242 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
3243 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
3244 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
3245
6e029611 32462013-01-07 Mark Kettenis <kettenis@openbsd.org>
3247
3248 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
3249 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 3250
409ad634 32512013-01-04 Nick Clifton <nickc@redhat.com>
3252
3253 * config/v850/lib1funcs.S: Only provide CALLT support functions if
3254 the CALLT instruction is supported.
3255
1d384e02 32562012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
3257
3258 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
3259 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
3260
cc4b03ac 32612012-12-13 John Tytgat <John@bass-software.com>
3262
3263 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
3264 is 25.
3265
990457e2 32662012-12-12 Jakub Jelinek <jakub@redhat.com>
3267
3268 PR libgcc/55451
3269 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
3270 undefined signed overflows.
3271
db6a9a70 32722012-12-09 Uros Bizjak <ubizjak@gmail.com>
3273
3274 PR target/55344
3275 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
3276
038a6cd9 32772012-12-06 Uros Bizjak <ubizjak@gmail.com>
3278
3279 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
3280 (FP_TRAPPING_EXCEPTIONS): Define.
3281 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
3282 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
3283
ef5f15fb 32842012-12-04 Richard Henderson <rth@redhat.com>
3285
3286 PR bootstrap/55571
3287 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
3288
92e91d03 32892012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
09ef8b8d 3290
038a6cd9 3291 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 3292 (FP_EX_SHIFT): Define.
3293 (FP_TRAPPING_EXCEPTIONS): Define.
3294
92e91d03 32952012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1caca546 3296
3297 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
3298 (FP_ROUNDMODE): Use FP_RND_MASK.
3299 * config/aarch64/sfp-exceptions.c: New.
3300 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3301 Use __sfp_handle_exceptions.
3302
6a11e52b 33032012-12-04 Richard Earnshaw <rearnsha@arm.com>
3304
3305 * config.host: (arm*-*-freebsd*): Remove.
3306 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3307 (arm*-*-elf*): Remove.
3308 (arm*-*-wince-pe*): Remove.
3309 * arm/unwind-arm.c (struct fpa_reg): Delete.
3310 (struct fpa_regs): Delete.
3311 (phase1_vrs): Remove fpa element.
3312 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3313 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3314 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3315 * ieee754-sf.S (floatundisf): Remove FPA support.
3316 (floatdisf): Likewise.
3317 * ieee75f-df.S (floatundidf): Likewise.
3318 (floatdidf): Likewise.
3319
a92cf445 33202012-11-29 Kai Tietz <ktietz@redhat.com>
3321
3322 PR target/55445
3323 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3324 * unwind-generic.h: Likewise.
3325 * unwind-seh.c: Likewise.
3326
f0b6dfa6 33272012-11-28 Richard Henderson <rth@redhat.com>
3328
3329 PR libgcc/48076
3330 * emutls.c (__emutls_get_address): Avoid race condition between
3331 obj->loc.offset read and emutls_key initialization.
038a6cd9 3332
c8ec4eb6 33332012-11-22 Georg-Johann Lay <avr@gjlay.de>
3334
3335 Adjust decimal point of signed accum mode to GCC default.
3336
3337 PR target/54222
3338 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3339 _divqq_helper.
3340 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3341 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3342 (__mulha3, __mulsa3)
3343 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 3344 decimal point of signed accum types.
3345
c8ec4eb6 3346 (__mulusa3_round): New function.
3347 (__mulusa3): Use it.
3348 (__divqq_helper): New function.
3349 (__udivuqq3): Use it.
3350
ca8c4cb9 33512012-11-20 Jakub Jelinek <jakub@redhat.com>
3352
3353 PR bootstrap/55370
3354 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
3355
5d2fca09 33562012-11-18 Teresa Johnson <tejohnson@google.com>
3357
3358 PR bootstrap/55051
3359 * libgcov.c (gcov_exit): Remove merged program summary
3360 comparison unless !GCOV_LOCKED.
3361
92e91d03 33622012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
bfc20a3e 3363
3364 * soft-fp: Updated from glibc upstream.
3365
20f6e7a3 33662012-11-06 Ian Lance Taylor <iant@google.com>
3367
3368 * generic-morestack.c (__generic_morestack): Align the returned
3369 stack pointer to a 32 byte boundary.
3370 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
3371 increment the return address until we have decided that we don't
3372 have a varargs function.
3373 (__morestack) [32-bit]: Align stack correctly when calling C
3374 functions.
3375 (__morestack) [64-bit]: Likewise.
3376
97bd2465 33772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3378
3379 * configure: Regenerate.
3380
d152ae90 33812012-11-02 Uros Bizjak <ubizjak@gmail.com>
3382
3383 PR target/55175
3384 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
3385 * config/i386/sfp-machine.h: Guard exception handling
3386 code with _SOFT_FLOAT.
3387 * config/i386/32/sfp-machine.h: Guard rounding handling
3388 code with _SOFT_FLOAT.
3389 * config/i386/64/sfp-machine.h: Ditto.
3390
0cd8c088 33912012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
3392
3393 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
3394 as extra_parts.
3395
113702f6 33962012-10-26 Uros Bizjak <ubizjak@gmail.com>
3397
3398 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
3399 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
3400 when appropriate. Correct structure element types.
3401 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
3402 -minline-all-stringops from compile flags.
3403
92e91d03 34042012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
00b706f9 3405
3406 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
3407
92e91d03 34082012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
57380e33 3409
113702f6 3410 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 3411
a2397d15 34122012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3413
3414 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
3415 tmake_file.
3416
1b3d2097 34172012-10-23 Ian Bolton <ian.bolton@arm.com>
3418 Jim MacArthur <jim.macarthur@arm.com>
3419 Marcus Shawcroft <marcus.shawcroft@arm.com>
3420 Nigel Stephens <nigel.stephens@arm.com>
3421 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3422 Richard Earnshaw <rearnsha@arm.com>
3423 Sofiane Naci <sofiane.naci@arm.com>
3424 Stephen Thomas <stephen.thomas@arm.com>
3425 Tejas Belagod <tejas.belagod@arm.com>
3426 Yufeng Zhang <yufeng.zhang@arm.com>
3427
3428 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
3429 * config/aarch64/crti.S: New file.
3430 * config/aarch64/crtn.S: New file.
3431 * config/aarch64/linux-unwind.h: New file.
3432 * config/aarch64/sfp-machine.h: New file.
3433 * config/aarch64/sync-cache.c: New file.
3434 * config/aarch64/t-aarch64: New file.
3435 * config/aarch64/t-softfp: New file.
3436
cfdcf688 34372012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
3438
3439 * config/mmix/crti.S: Mark program and data addresses using PRELD.
3440 Remove typo'd and unnecessary alignment-LOC for .data. Remove
3441 no-longer-needed LDBU insns.
3442
92e91d03 34432012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
598ebe3d 3444
3445 * config.host
3446 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
3447 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
3448
530c2b2e 34492012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3450
3451 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
3452
f49eb158 34532012-10-15 Matthias Klose <doko@ubuntu.com>
3454
3455 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
3456
017f22df 34572012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
3458
3459 * configure: Regenerate.
3460 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
3461
da8b7497 34622012-10-10 Uros Bizjak <ubizjak@gmail.com>
3463
3464 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3465 instructions for 64bit targets only.
3466
19a23012 34672012-10-10 Uros Bizjak <ubizjak@gmail.com>
3468
3469 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3470 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
3471 * config/i386/32/sfp-machine.h: ... here.
3472 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
3473 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
3474 New defines.
3475
a32dc74a 34762012-10-07 Matthias Klose <doko@ubuntu.com>
3477
3478 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
3479 as unused.
3480 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
3481
81ae3d37 34822012-10-06 Mark Kettenis <kettenis@openbsd.org>
3483
3484 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
3485 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
3486 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
3487 (ElfW): Likewise.
3488
4e6a7cfc 34892012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
3490
3491 PR other/53889
3492 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3493 Fix parameter names.
3494
7cc401e3 34952012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
3496
3497 PR target/33135
3498 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
3499 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
3500 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
3501
cfaba078 35022012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
3503
3504 PR target/50457
3505 * config/sh/linux-atomic.S: Delete.
3506 * config/sh/linux-atomic.c: New.
3507 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
3508 linux-atomic.c. Add cflags to disable warnings.
3509
4854adab 35102012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3511
3512 PR other/53889
3513 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
3514 function.
3515 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
3516 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
3517 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
3518 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 3519 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
3520 Likewise.
4854adab 3521 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3522 Likewise.
3523 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
3524 Likewise.
3525 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
3526 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
3527
07cf7615 35282012-09-19 Mark Kettenis <kettenis@openbsd.org>
3529
cfaba078 3530 * config.host (hppa-*-openbsd*): New target.
3531 * config/pa/t-openbsd: New file.
07cf7615 3532
b4ebb666 35332012-09-15 Georg-Johann Lay <avr@gjlay.de>
3534
3535 PR target/54222
3536 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
3537 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
3538 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
3539 (__divsa3): Use __negsi2 to negate r_quoL.
3540 * config/avr/lib1funcs.S (FALIAS): New macro.
3541 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
3542 (__negsi2): ...this new function.
3543 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
3544 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
3545 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
3546 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
3547 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
3548 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
3549
6e7c6395 35502012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
3551
3552 PR target/54089
3553 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
3554 (lshrsi3): Reimplement as lshrsi3_r0.
3555
5e847ded 35562012-09-10 Andreas Schwab <schwab@linux-m68k.org>
3557
3558 PR target/46191
3559 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
3560 of libgcc.a.
3561
7995ce5f 35622012-09-07 Teresa Johnson <tejohnson@google.com>
3563
cfaba078 3564 PR gcov-profile/54487
7995ce5f 3565 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 3566 differences.
7995ce5f 3567
fd28e216 35682012-09-05 Georg-Johann Lay <avr@gjlay.de>
3569
3570 PR target/54461
3571 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
3572 not configured --with-avrlibc=no.
3573 * config/avr/t-avrlibc: New file.
3574 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
3575 (DPBIT_FUNCS): Ditto.
3576 (TPBIT_FUNCS): Ditto.
3577
2688cb90 35782012-09-04 Teresa Johnson <tejohnson@google.com>
3579
3580 * libgcov.c (struct gcov_summary_buffer): New structure.
3581 (gcov_histogram_insert): New function.
3582 (gcov_compute_histogram): Ditto.
3583 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
3584 histograms during summary merging.
3585
51796b3a 35862012-09-01 Mark Kettenis <kettenis@openbsd.org>
3587
3588 * config.host (x86_64-*-openbsd*): New target.
d152ae90 3589
d36db932 35902012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
3591
3592 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
3593 attribute.
3594
d87654c8 35952012-08-24 Georg-Johann Lay <avr@gjlay.de>
3596
3597 PR target/54222
3598 * config/avr/t-avr (conv_X): Rename to func_X.
3599
017c5b98 36002012-08-24 Georg-Johann Lay <avr@gjlay.de>
3601
3602 PR target/54222
3603 * config/avr/lib1funcs-fixed.S: New file.
3604 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
3605 after they are used.
3606 (neg2, neg4): New macros.
3607 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
3608 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
3609 (__umulhisi3): Speed up MUL variant if there is enough flash.
3610 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
3611 avr-modes.def.
3612 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
3613 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
3614 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
3615 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
3616 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
3617 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
3618 (LIB2FUNCS_EXCLUDE): Add supported functions.
3619
65bcd545 36202012-08-22 Georg-Johann Lay <avr@gjlay.de>
3621
3622 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
3623 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
3624 libgcc-s-objects.
3625 * fixed-obj.mk: Only expand dependency if $o is not in
3626 LIB2FUNCS_EXCLUDE.
3627
39166195 36282012-08-22 H.J. Lu <hongjiu.lu@intel.com>
3629
3630 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
3631
b78f422e 36322012-08-22 Joseph Myers <joseph@codesourcery.com>
3633
3634 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
3635 depend on --enable-shared.
3636 ($(lib1asmfuncs-o)): Use %.vis files independent of
3637 --enable-shared.
3638 * static-object.mk ($(base)$(objext), $(base).vis)
3639 ($(base)_s$(objext)): Use same rules for visibility handling as in
3640 shared-object.mk.
3641
66ef0f44 36422012-08-21 Ian Lance Taylor <iant@google.com>
3643
3644 * config/i386/morestack.S (__morestack_non_split): Increase amount
3645 of space allocated for non-split code stack.
3646
93547515 36472012-08-19 Joseph Myers <joseph@codesourcery.com>
3648
3649 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
3650 even if inhibit_libc.
3651
98d22b3c 36522012-08-17 Julian Brown <julian@codesourcery.com>
3653
3654 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
3655 -fexceptions -fnon-call-exceptions if not defined.
3656 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
3657 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
3658
2076ec4b 36592012-08-17 Andreas Schwab <schwab@linux-m68k.org>
3660
3661 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
3662 type.
3663
c1420b84 36642012-08-16 David Edelsohn <dje.gcc@gmail.com>
3665
3666 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
3667 rs6000/t-slibgcc-aix.
3668
ae5b70d0 36692012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
3670
3671 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
3672
4ff70f1c 36732012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
3674
3675 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
3676
464810a0 36772012-08-03 H.J. Lu <hongjiu.lu@intel.com>
3678
3679 PR driver/54171
3680 * Makefile.in (version): Replace top_srcdir with srcdir.
3681
d2c6da38 36822012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
3683
3684 * Makefile.in (version): set to BASE-VER file from gcc directory.
3685
a575acb2 36862012-08-01 Nick Clifton <nickc@redhat.com>
3687
3688 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
3689 Implements __clrsb for an HImode argument.
3690
3a44f5e6 36912012-07-31 Nick Clifton <nickc@redhat.com>
3692
3693 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
3694 Implements __clrsb for an HImode argument.
3695 * config/stormy16/clrsbhi2.c: New file:
3696 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
3697
56b17dd7 36982012-07-22 Steven Bosscher <steven@gcc.gnu.org>
3699
3700 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
3701
8ad0b530 37022012-07-19 Tristan Gingold <gingold@adacore.com>
3703 Richard Henderson <rth@redhat.com>
3704
3705 * unwind-seh.c: New file.
3706 * unwind-generic.h: Include windows.h for SEH.
3707 (_Unwind_Exception): Use 6 private fields for SEH.
3708 (_GCC_specific_handler): Declare.
3709 * unwind-c.c (__gcc_personality_seh0): New function.
3710 Adjust for SEH.
3711 * config/i386/libgcc-cygming.ver: New file.
3712 * config/i386/t-seh-eh: New file.
3713 * config.host (x86_64-*-mingw*): Default to seh.
3714
017bf976 37152012-07-14 Steven Bosscher <steven@gcc.gnu.org>
3716
3717 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
3718
6f24586e 37192012-06-17 Uros Bizjak <ubizjak@gmail.com>
3720
3721 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
3722 __builtin_expect when checking for exceptions.
3723 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
3724
1927db1f 37252012-06-13 Uros Bizjak <ubizjak@gmail.com>
3726
7b9088d5 3727 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
3728 function declaration.
3729 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3730 (FP_RND_MASK): New.
3731 * config/ia64/sfp-exceptions.c: New.
3732 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 3733
c3576308 37342012-06-13 Uros Bizjak <ubizjak@gmail.com>
3735
3736 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
3737 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
3738 * config/i386/64/sfp-machine: ... (delete here) ...
3739 * config/i386/sfp-machine.h: ... to here.
3740 (FP_EX_MASK): Remove.
3741 (FP_RND_MASK): New.
3742 (FP_INIT_ROUNDMODE): Declare asm as volatile.
3743
725b956c 37442012-06-11 Sriraman Tallam <tmsriram@google.com>
3745
3746 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
3747 * config/i386/libgcc-sol2.ver: Ditto.
3748 * config/i386/libgcc-glibc.ver: Ditto.
3749
026e608e 37502012-06-11 Roland McGrath <mcgrathr@google.com>
3751
3752 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
3753 If __GLIBC__ is defined, refer to __pthread_key_create instead of
3754 pthread_cancel.
3755
2c223cf2 37562012-06-09 Uros Bizjak <ubizjak@gmail.com>
3757
3758 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
3759 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
3760 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
3761 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3762 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
3763 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
3764 * config/i386/64/sfp-machine: ... (delete here) ...
3765 * config/i386/sfp-machine.h: ... to here.
3766 (FP_EX_MASK): New.
3767 (__sfp_handle_exceptions): New function declaration.
3768 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3769 * config/i386/sfp-exceptions.c: New.
3770 * config/i386/t-softfp: New.
3771 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
3772 i386/t-softfp to tmake_file.
3773
620803f2 37742012-06-03 David S. Miller <davem@davemloft.net>
3775
3776 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
3777 change.
3778
38ef0978 37792012-05-31 David S. Miller <davem@davemloft.net>
3780
3781 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
3782 multiply and divide instructions on 32-bit when V9.
3783 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
3784
e1c346e5 37852012-05-29 Joseph Myers <joseph@codesourcery.com>
3786
3787 * config/arm/ieee754-df.S: Fix typos.
3788 * config/arm/ieee754-sf.S: Fix typos.
3789 * config/c6x/libunwind.S: Fix typos.
3790 * config/epiphany/udivsi3-float.c: Fix typos.
3791 * config/microblaze/muldi3_hard.S: Fix typos.
3792 * config/picochip/adddi3.S: Fix typos.
3793 * config/picochip/ashlsi3.S: Fix typos.
3794 * config/picochip/ashrsi3.S: Fix typos.
3795 * config/picochip/clzsi2.S: Fix typos.
3796 * config/picochip/cmpsi2.S: Fix typos.
3797 * config/picochip/divmod15.S: Fix typos.
3798 * config/picochip/divmodhi4.S: Fix typos.
3799 * config/picochip/divmodsi4.S: Fix typos.
3800 * config/picochip/longjmp.S: Fix typos.
3801 * config/picochip/lshrsi3.S: Fix typos.
3802 * config/picochip/parityhi2.S: Fix typos.
3803 * config/picochip/popcounthi2.S: Fix typos.
3804 * config/picochip/setjmp.S: Fix typos.
3805 * config/picochip/subdi3.S: Fix typos.
3806 * config/picochip/ucmpsi2.S: Fix typos.
3807 * config/picochip/udivmodhi4.S: Fix typos.
3808 * config/picochip/udivmodsi4.S: Fix typos.
3809 * config/spu/divv2df3.c: Fix typos.
3810 * config/spu/mfc_multi_tag_release.c: Fix typos.
3811 * config/spu/mfc_tag_release.c: Fix typos.
3812 * configure.ac: Fix typos.
3813 * configure: Regenerate.
3814
4bb0c596 38152012-05-25 Ian Lance Taylor <iant@google.com>
3816
3817 * config/i386/morestack.S (__morestack_non_split): Check whether
3818 caller is varargs and needs %bp to hold the stack frame on return.
3819
05b6028a 38202012-05-25 Olivier Hainque <hainque@adacore.com>
3821
3822 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
3823 sequence in the non pic case on VxWorks.
3824
de055a8b 38252012-05-24 Olivier Hainque <hainque@adacore.com>
3826
05c265fe 3827 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 3828 "install-leaf" to "install".
3829
511797dd 38302012-05-24 Olivier Hainque <hainque@adacore.com>
3831
3832 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
3833 Use a separate command for stamp removals.
3834
c05436a7 38352012-05-21 Andrew Pinski <apinski@cavium.com>
3836
3837 PR bootstrap/53183
3838 * configure.ac: Define the default includes to being none.
3839 * configure: Regenerate.
3840
0e0bcebd 38412012-05-16 Olivier Hainque <hainque@adacore.com>
3842
3843 * Makefile.in (install-unwind_h): Rename into ...
3844 (install-unwind_h-forbuild): New target.
3845 (all): Use it instead of the former install-unwind_h.
3846 (install-unwind_h): Reinstate, copy to user install destination
3847 for include files, not to the internal gcc object directory one.
3848 (install-leaf): Depend on it.
3849
4ea72f7b 38502012-05-15 Olivier Hainque <hainque@adacore.com>
3851
3852 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
3853 register numbers. LR_REGNO replaces R_LR.
3854 (ucontext_for): New, helper for ...
3855 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
3856 and 5.3 of ...
3857 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
3858
98c9b52b 38592012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3860
3861 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
3862 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
3863 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
3864 i386/t-cpuinfo ...
3865 (i[34567]86-*-*, x86_64-*-*): ... here.
3866
3867 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
3868 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
3869
3870 * config/i386/i386-cpuinfo.c: Rename to ...
3871 * config/i386/cpuinfo.c: ... this.
3872 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
3873
3874 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
3875 (libgcc_cv_init_priority): New test.
3876 * configure: Regenerate.
3877 * config.in: New file.
3878 * Makefile.in (clean): Rename config.h to auto-target.h.
3879 (config.h): Likewise.
3880 (stamp-h): Likewise.
3881
3882 * config/i386/cpuinfo.c (auto-target.h): Include.
3883 (CONSTRUCTOR_PRIORITY): Define.
3884 (__cpu_indicator_init): Use it.
3885
a7534247 38862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3887
3888 * longlong.h: Use a URL instead of an FSF postal address.
3889 Replace spaces with tab.
3890
7b9088d5 38912012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 3892
3893 * libgcov.c (gcov_clear, __gcov_reset): New functions.
3894 (__gcov_dump): Ditto.
3895 (gcov_dump_complete): New global variable.
3896 (gcov_exit): Export hidden to enable use in L_gcov_dump.
3897 (__gcov_flush): Outline functionality now in gcov_clear.
3898 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3899
416e60e6 39002012-04-28 Aurelien Jarno <aurelien@aurel32.net>
3901
4bb0c596 3902 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3903 (mips*-*-linux*): Include mips/t-tpbit when long double is
3904 16 bytes long.
416e60e6 3905
d79cfc15 39062012-04-25 Sriraman Tallam <tmsriram@google.com>
3907
3908 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3909 (get_available_features): New argument. Check for AVX2.
3910 (__cpu_indicator_init): Modify call to get_available_features.
3911
cef20746 39122012-04-25 Alan Modra <amodra@gmail.com>
3913
3914 * config/rs6000/crtsavevr.S: New file.
3915 * config/rs6000/crtrestvr.S: New file.
3916 * config/rs6000/t-savresfgpr: Build the above.
3917 * config/rs6000/t-netbsd: Likewise.
3918
0a166714 39192012-04-24 Sriraman Tallam <tmsriram@google.com>
3920
3921 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3922
f0fd108f 39232012-04-24 Sriraman Tallam <tmsriram@google.com>
3924
3925 * libgcc/config/i386/i386-cpuinfo.c: New file.
3926 * libgcc/config/i386/t-cpuinfo: New file.
3927 * libgcc/config.host: Include t-cpuinfo.
3928 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3929
394bef3f 39302012-04-24 Chao-ying Fu <fu@mips.com>
3931
3932 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3933
5617a3db 39342012-04-20 Thomas Schwinge <thomas@codesourcery.com>
3935
3936 struct siginfo vs. siginfo_t
3937
3938 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3939 siginfo_t instead of struct siginfo.
3940 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3941 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3942 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3943 (ia64_handle_unwabi): Likewise.
3944 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3945 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3946 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3947 (sh_fallback_frame_state): Likewise.
3948 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3949 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3950
49a280b5 39512012-04-02 H.J. Lu <hongjiu.lu@intel.com>
3952
3953 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3954 system call number.
3955
6c760a69 39562012-03-31 Eric Botcazou <ebotcazou@adacore.com>
3957
3958 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3959 if it hasn't been previously saved.
3960
59e4072c 39612012-03-29 H.J. Lu <hongjiu.lu@intel.com>
3962
3963 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3964 only for glibc.
3965
d32d7e3a 39662012-03-28 Georg-Johann Lay <avr@gjlay.de>
3967
3968 PR target/52737
3969 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3970 instead of __AVR_HAVE_8BIT_SP__.
3971
6aadb6e2 39722012-03-26 Tristan Gingold <gingold@adacore.com>
3973
3974 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3975 (unw_table_entry): Use unw_word instead of unsigned long.
3976 (_Unwind_FindTableEntry): Likewise.
3977 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3978 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3979 (_Unwind_FindTableEntry): Likewise.
3980 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3981 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3982 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3983 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3984 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3985 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3986 (uw_init_context_1, uw_install_context): Likewise.
3987 (unw_word): Move to unwind-ia64.h
3988
784576c7 39892012-03-26 Tristan Gingold <gingold@adacore.com>
3990
3991 * config/vms/vms-ucrt0.c: Update copyright years.
3992 Add a sanity check.
3993 (___gcc_main_flags): Declare.
3994 (__main): Check flags to remap argv and exit code.
3995 * config.host (*-*-*vms*): Adjust extra_parts.
3996 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3997 (crt0.o): Add.
3998
483ac460 39992012-03-22 Richard Earnshaw <rearnsha@arm.com>
4000
4001 * arm/lib1funcs.asm (ctzsi2): New function.
4002 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
4003 * arm/t-linux (LIB1ASMFUNCS): Likewise.
4004 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
4005 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
4006 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
4007 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
4008
bdd1ee48 40092012-03-21 Andreas Tobler <andreast@fgznet.ch>
4010
4011 * config.host: Add bits to support powerpc64-*-freebsd*.
4012 * config/rs6000/freebsd-unwind.h: New file.
4013 * config/rs6000/t-freebsd64: New file.
4014
df85f61c 40152012-03-20 Richard Guenther <rguenther@suse.de>
4016
4017 PR gcov-profile/52627
4018 * libgcov.c (init_mx): Fix mutex name.
4019
46da3ce5 40202012-03-16 Tristan Gingold <gingold@adacore.com>
4021
4022 * config/ia64/vms-unwind.h: Remove ulong (and replace
4023 it by unw_reg where used). Define unw_reg with __int64.
4024
264a5d11 40252012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4026
4027 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
4028 Solaris 8 handling.
4029 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
4030 Solaris 8 handling.
4031 (sparc_is_sighandler): Likewise.
4032
42b3e3d6 40332012-03-13 H.J. Lu <hongjiu.lu@intel.com>
4034
4035 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
4036 <= saved reg size.
4037
c2c4377d 40382012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4039
4040 * config/arm/crtn.S: Fix typo.
4041
3f2da048 40422012-03-13 Richard Guenther <rguenther@suse.de>
4043
4044 * libgcov.c: Remove stdio.h include and NULL un-define.
4045
b4e1521f 40462012-03-13 Richard Guenther <rguenther@suse.de>
4047
4048 PR target/52569
4049 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
4050
1d110375 40512012-03-13 Richard Guenther <rguenther@suse.de>
4052
4053 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
4054
0e6ad699 40552012-03-13 Richard Guenther <rguenther@suse.de>
4056
4057 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
4058 and __gthread_mutex_init_function definitions.
4059
1f7e141e 40602012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4061
4062 * config.host (mips*-*-openbsd*): Remove.
4063
126b6848 40642012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4065
4066 * config.host: Remove alpha*-dec-osf5.1* handling.
4067 * config/alpha/gthr-posix.c: Remove.
4068 * config/alpha/libgcc-osf5.ver: Remove.
4069 * config/alpha/osf5-unwind.h: Remove.
4070 * config/alpha/t-osf-pthread: Remove.
4071 * config/alpha/t-slibgcc-osf: Remove.
4072 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
4073 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
4074 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
4075 * mkmap-flat.awk: Remove osf_export handling.
4076
2e7d9be1 40772012-03-12 Richard Guenther <rguenther@suse.de>
4078
4079 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
4080 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4081 (__gthread_mutex_init_function): New function.
4082 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
4083
4084 PR gcov/49484
4085 * libgcov.c: Include gthr.h.
4086 (__gcov_flush_mx): New global variable.
4087 (init_mx, init_mx_once): New functions.
4088 (__gcov_flush): Protect self with a mutex.
4089 (__gcov_fork): Re-initialize mutex after forking.
4090 * unwind-dw2-fde.c: Change condition under which to use
4091 __GTHREAD_MUTEX_INIT_FUNCTION.
4092
8f852c44 40932012-03-12 Tristan Gingold <gingold@adacore.com>
4094
4095 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
4096 * config/ia64/t-vms: Likewise.
4097
04d5d0ad 40982012-03-11 Michael Hope <michael.hope@linaro.org>
4099
7b9088d5 4100 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
4101 for Thumb-2.
04d5d0ad 4102
3d14844b 41032012-03-07 Walter Lee <walt@tilera.com>
4104
4105 * config/tilepro/atomic.c: Rename "atomic_" prefix to
4106 "arch_atomic_".
4107 (atomic_xor): Rename and move definition to
4108 config/tilepro/atomic.h.
4109 (atomic_nand): Ditto.
4110 * config/tilepro/atomic.h: Rename "atomic_" prefix to
4111 "arch_atomic_".
4112 (arch_atomic_xor): Move from config/tilepro/atomic.c.
4113 (arch_atomic_nand): Ditto.
4114
3abce231 41152012-03-07 Georg-Johann Lay <avr@gjlay.de>
4116
4117 PR target/52507
4118 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
4119
ee3ce577 41202012-03-07 Georg-Johann Lay <avr@gjlay.de>
4121
4122 PR target/52505
4123 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
4124 from RAM.
4125
be20cbdd 41262012-03-07 Georg-Johann Lay <avr@gjlay.de>
4127
4128 PR target/52461
4129 PR target/52508
4130 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
4131 if RAMPZ affects reading from RAM.
4132 (__tablejump_elpm__): Ditto.
4133 (.xload): Ditto.
4134 (__movmemx_hi): Ditto.
4135 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
4136 (__do_global_dtors): Ditto.
4137 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
4138 (__movmemx_hi): Ditto.
4139
e9b46b49 41402012-03-05 Richard Henderson <rth@redhat.com>
4141
4142 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
4143 [ARM] (count_trailing_zeros): Use the builtin.
4144
2da7d23a 41452012-03-01 Kai Tietz <ktietz@redhat.com>
4146
4147 * soft-fp: Imported from glibc upstream.
4148
ed67de04 41492012-02-28 Kai Tietz <ktietz@redhat.com>
4150
4151 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
4152 for mingw-targets as attribute gcc_struct.
4153
154b49cd 41542012-02-28 Ian Lance Taylor <iant@google.com>
4155
4156 * generic-morestack.c (__splitstack_releasecontext): Correct call
4157 to __morestack_release_segments.
4158
8d2259c8 41592012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4160
4161 PR target/52390
4162 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
4163 for __linux__ when removing signals from __morestack_fullmask.
4164
97e18ae2 41652012-02-23 Georg-Johann Lay <avr@gjlay.de>
4166
4167 PR target/52261
4168 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
4169
c3dd2023 41702012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4171
4172 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
4173 instead of HAVE_INITFINI_ARRAY.
4174 * config/ia64/crtend.S: Likewise.
4175
7ed6dbef 41762012-02-20 Kai Tietz <ktietz@redhat.com>
4177
52cec843 4178 PR libstdc++/52300
4179 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
4180
7ed6dbef 4181 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
4182 to w32-unwind.h header.
4183
6a8f7b8b 41842012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4185
4186 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
4187 (mips*-*-linux*): Remove t-slibgcc-libgcc.
4188 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
4189 * config/mips/mips16.S (__mips16_rdhwr): Delete.
4190
7db87803 41912012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
4192
4193 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
4194
d114e642 41952012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4196
4197 PR libitm/52220
4198 * config/darwin-crt-tm.c: Correct typo.
154b49cd 4199
b8f45854 42002012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4201 Patrick Marlier <patrick.marlier@gmail.com>
4202
4203 PR libitm/52220
4204 * config/darwin-crt-tm.c: Generate dummy functions.
4205
621d0dd2 42062012-02-15 Iain Sandoe <iains@gcc.gnu.org>
4207 Patrick Marlier <patrick.marlier@gmail.com>
4208
4209 PR libitm/52042
4210 * config/darwin-crt-tm.c (getTMCloneTable): New function.
4211 (__doTMRegistrations): Call it.
154b49cd 4212 (__doTMdeRegistrations): Likewise.
621d0dd2 4213
0b6cf66f 42142012-01-15 Georg-Johann Lay <avr@gjlay.de>
92e91d03 4215 Anatoly Sokolov <aesok@post.ru>
4216 Eric Weddington <eric.weddington@atmel.com>
0b6cf66f 4217
4218 PR target/52261
4219 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
4220 (__epilogue_restores__): Ditto.
4221
99e0a0ad 42222012-02-15 Eric Botcazou <ebotcazou@adacore.com>
4223
4224 PR target/51921
4225 PR target/52205
4226 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
4227 Solaris 11 and slightly reformat.
4228 (sparc_is_sighandler): Likewise.
4229
7ce78e23 42302012-02-14 Walter Lee <walt@tilera.com>
4231
4232 * config.host: Handle tilegx and tilepro.
4233 * config/tilegx/sfp-machine.h: New file.
4234 * config/tilegx/sfp-machine32.h: New file.
4235 * config/tilegx/sfp-machine64.h: New file.
4236 * config/tilegx/t-crtstuff: New file.
4237 * config/tilegx/t-softfp: New file.
4238 * config/tilegx/t-tilegx: New file.
4239 * config/tilepro/atomic.c: New file.
4240 * config/tilepro/atomic.h: New file.
4241 * config/tilepro/linux-unwind.h: New file.
4242 * config/tilepro/sfp-machine.h: New file.
4243 * config/tilepro/softdivide.c: New file.
4244 * config/tilepro/softmpy.S: New file.
4245 * config/tilepro/t-crtstuff: New file.
4246 * config/tilepro/t-tilepro: New file.
4247
f47763a6 42482012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
4249
4250 PR libstdc++/51296
4251 PR libstdc++/51906
4252 * gthr-posix.h: Allow static initializer macros to be disabled.
4253 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
4254
674cb359 42552012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
4256
4257 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
4258 Add t-slibgcc-libgcc to tmake_file.
4259 * config/mips/libgcc-mips16.ver: Revert previous patch.
4260 * config/mips/mips16.S (__mips16_rdhwr): Hide.
4261
92e91d03 42622012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
4263 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b9fdd12b 4264
4265 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
4266 * config/cr16/crti.S: New file.
4267 * config/cr16/crtlibid.S: New file.
4268 * config/cr16/crtn.S: New file.
4269 * config/cr16/lib1funcs.S: New file.
4270 * config/cr16/t-cr16: New file.
4271 * config/cr16/t-crtlibid: New file.
4272 * config/cr16/unwind-dw2.h: New file.
4273 * config/cr16/unwind-cr16.c: New file.
4274 * config/cr16/divmodhi3.c: New file.
4275
01cdc5b2 42762012-01-25 Alan Modra <amodra@gmail.com>
4277
4278 * config/rs6000/t-linux64: Delete. Move..
4279 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
4280 * config/rs6000/t-linux: ..and libgcc flags to here.
4281
af8e12d0 42822012-01-22 Douglas B Rupp <rupp@gnat.com>
4283
4284 * config.host (i[34567]86-*-interix3*):
01cdc5b2 4285 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 4286 * configure: Regenerate.
4287
a657080a 42882012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
4289 Richard Sandiford <rdsandiford@googlemail.com>
4290
4291 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
4292 * config/mips/mips16.S (__mips16_rdhwr): New function.
4293 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
4294
72e76fa0 42952012-01-11 Nathan Sidwell <nathan@acm.org>
4296
4297 * libgcov.c (__gcov_init): Ignore objects with no functions.
4298
ed2541ea 42992012-01-10 Georg-Johann Lay <avr@gjlay.de>
4300
4301 PR target/49868
4302 Extend __pgmx semantics to linearize memory.
4303 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4304 * config/avr/lib1funcs.S (__xload_1): New function.
4305 (__movmemx_qi, __movmemx_hi): New functions.
4306 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4307 semantics.
ddf97006 4308
6e647e51 43092012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4310
4311 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4312 purported sigacthandler address isn't null before dereferencing it.
4313 (sparc_is_sighandler): Likewise.
4314
af185b18 43152012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4316
4317 PR ada/41929
4318 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4319 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
4320 (sparc_is_sighandler): Likewise.
4321 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4322
2ff958e6 43232012-01-06 Tristan Gingold <gingold@adacore.com>
4324
4325 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4326 compatibility thunks...
4327 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4328 (crtbeginS.o, crtendS.o): ... and these to ...
4329 * config/ia64/t-ia64-elf: ... this new file.
4330 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4331 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4332
ce94380e 43332012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4334
4335 * configure: Regenerate.
4336 * config/s390/t-crtstuff: Remove -fPIC.
4337
ca4c7704 43382012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4339
4340 PR bootstrap/51006
4341 * enable-execute-stack-mprotect.c (getpagesize): Do not define
4342 for NetBSD.
4343
b32bc361 43442012-01-02 Georg-Johann Lay <avr@gjlay.de>
4345
4346 PR target/51345
4347 * config/avr/lib1funcs.S: Remove FIXME comments.
4348 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
4349
83921eda 43502012-01-02 Georg-Johann Lay <avr@gjlay.de>
4351
4352 Implement light-weight DImode support.
4353 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
4354 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
4355 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
4356 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
4357
6071b85b 43582011-12-30 Nathan Sidwell <nathan@acm.org>
4359
4360 * libgcov.c (gcov_crc32): Remove global var.
4361 (free_fn_data): New function.
4362 (buffer_fn_data): Pass in filename, more robust error recovery.
4363 (crc32_unsigned): New function.
4364 (gcov_exit): More robust detection of new program. More robust
4365 error recovery.
4366 (__gcov_init): Do not update program's crc here.
4367
611b540a 43682011-12-21 Tristan Gingold <gingold@adacore.com>
4369
4370 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
4371
ddf97006 43722011-12-21 Ian Lance Taylor <iant@google.com>
4373
4374 * config/i386/morestack.S: Simplify CFI opcodes throughout.
4375
0d84f164 43762011-12-20 Ian Lance Taylor <iant@google.com>
4377
4378 * config/i386/morestack.S (__morestack_non_split): If there is
4379 enough stack space already, don't split. Ask for more stack space
4380 than we required.
4381
d77ac56d 43822011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
4383
4384 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
4385 `sys/sdt.h'.
4386 (_Unwind_DebugHook): New function.
4387 (uw_restore_core_regs): New define.
4388 (unwind_phase2): Use uw_restore_core_regs instead of
4389 restore_core_regs.
4390 (unwind_phase2_forced): Likewise.
4391 (__gnu_Unwind_Resume): Likewise.
4392
80898d14 43932011-12-20 Uros Bizjak <ubizjak@gmail.com>
4394
4395 * config/alpha/linux-unwind.h: Update copyright years.
4396 (MD_FROB_UPDATE_CONTEXT): New define.
4397 (alpha_frob_update_context): New function.
4398
20dbbfaf 43992011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
4400
4401 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
4402 tmake_file rather replacing it.
4403
d42ef213 44042011-12-15 Iain Sandoe <iains@gcc.gnu.org>
4405
4406 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 4407 function is not used for PPC64.
d42ef213 4408 (save_world): Amend comments. Update the VRsave mask to reflect the
4409 saved regs.
4410 (rest_world): Update comments, do not clobber r10, do not use r8.
4411 (eh_rest_world_r10): Amend comments, do not use r8.
4412 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
4413 no longer used, move restore of CR and target address to the end of
4414 the routine.
4415
3efc00f6 44162011-12-14 H.J. Lu <hongjiu.lu@intel.com>
4417
4418 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
4419 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
4420
fa0431fa 44212011-12-14 Georg-Johann Lay <avr@gjlay.de>
4422
4423 PR target/49313
4424 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
4425 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
4426
18e6a060 44272011-12-11 Eric Botcazou <ebotcazou@adacore.com>
4428
4429 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
4430
0dcd7d21 44312011-12-09 Georg-Johann Lay <avr@gjlay.de>
4432
4433 PR target/49313
4434 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
4435 * config/avr/lib1funcs.S (__muldi3): New function.
4436
a41e0f2d 44372011-12-06 Andrew Pinski <apinski@cavium.com>
4438
4439 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
4440 size of func_ptr.
4441 (__frame_dummy_init_array_entry): Likewise.
4442
8c8193e1 44432011-12-06 Georg-Johann Lay <avr@gjlay.de>
4444
4445 Forward-port from gcc-4_6-branch r181936 2011-12-02.
4446
4447 PR target/51345
4448 PR target/51002
4449 * config/avr/lib1funcs.S (__prologue_saves__,
4450 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
4451 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
4452
e2306166 44532011-12-04 Iain Sandoe <iains@gcc.gnu.org>
4454
4455 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
4456
61437698 44572011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4458
4459 PR other/51272
4460 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
4461 (_ITM_deregisterTMCloneTable): Likewise.
4462 (__register_frame_info): Fix unused warning.
4463 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
4464 pthread_default_stacksize_np): Likewise.
4465 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 4466
78e515f7 44672011-11-29 DJ Delorie <dj@redhat.com>
4468
4469 * config.host (rl78-*-elf): New case.
4470 * config/rl78: New directory for the Renesas RL78.
4471
adce431d 44722011-11-29 Bernd Schmidt <bernds@codesourcery.com>
4473
4474 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
4475 formatting.
4476
738c50b8 44772011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4478
4479 PR other/51022
4480 * config/rs6000/t-savresfgpr: New file.
4481 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
4482 $(srcdir)/config/rs6000/eabi.S.
4483 * config/rs6000/t-ppccomm-ldbl: Remove.
4484 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
4485 tmake_file.
4486 (powerpc-*-eabispe*): Likewise.
4487 (powerpc-*-eabi*): Likewise.
4488 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4489 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
4490 to tmake_file, remove rs6000/t-ppccomm-ldbl.
4491 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
4492 tmake_file.
4493 (powerpc-*-eabisim*): Likewise.
4494 (powerpc-*-elf*): Likewise.
4495 (powerpc-*-eabialtivec*): Likewise.
4496 (powerpc-xilinx-eabi*): Likewise.
4497 (powerpc-*-rtems*): Likewise.
4498 (powerpcle-*-elf*): Likewise.
4499 (powerpcle-*-eabisim*): Likewise.
4500 (powerpcle-*-eabi*): Likewise.
4501
bda4944f 45022011-11-27 Ian Lance Taylor <iant@google.com>
4503
4504 * generic-morestack.c (__splitstack_find): Check for NULL old
4505 stack value.
4506 (__splitstack_resetcontext): New function.
4507 (__splitstack_releasecontext): New function.
4508 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4509
00b708da 45102011-11-27 Iain Sandoe <iains@gcc.gnu.org>
4511
4512 * config/darwin-crt-tm.c: Correct comments, use correct licence.
4513
7c66781a 45142011-11-27 Iain Sandoe <iains@gcc.gnu.org>
4515
4516 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
4517
5bb27b7c 45182011-11-26 Richard Henderson <rth@redhat.com>
4519
4520 * config/m68k/linux-atomic.c: New file.
4521 * config/m68k/t-linux: New file.
4522 * config.host (m68k-uclinux, m68k-linux): Use it.
4523
d9ca835b 45242011-11-26 Richard Henderson <rth@redhat.com>
4525
4526 * crtstuff.c (__TMC_LIST__): Mark used not unused.
4527 (__TMC_END__): Only declare if hidden is available; in the definition,
4528 if hidden is unavailable add a null record.
4529 (deregister_tm_clones, register_tm_clones): New.
4530 (__do_global_dtors_aux, frame_dummy): Use them.
4531 (__do_global_dtors, __do_global_ctors_1): Likewise.
4532
8f8ba4fc 45332011-11-22 Iain Sandoe <iains@gcc.gnu.org>
4534
4535 * config/darwin-crt-tm.c: New file.
4536 * config.host (darwin): Build crttms.o crttme.o to provide
4537 startup and shutdown for tm clones.
4538 * config/t-darwin (crttms.o): New build rule.
4539 (crttme.o): Likewise.
4540
e426aa2b 45412011-11-21 Hans-Peter Nilsson <hp@axis.com>
4542
4543 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
4544 et al.
4545
2d171408 45462011-11-21 Richard Henderson <rth@redhat.com>
4547
4548 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
4549 (__TMC_LIST__, __TMC_END__): New.
4550 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
4551 (__do_global_dtors): Likewise.
4552 (frame_dummy): Call _ITM_registerTMCloneTable.
4553 (__do_global_ctors_1): Likewise.
4554
08417926 45552011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4556
4557 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
4558 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4559 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
4560 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
4561 * config/i386/t-darwin64: Remove.
4562 * config/sh/t-netbsd (LIB2ADD): Remove.
4563
cde39152 45642011-11-21 Georg-Johann Lay <avr@gjlay.de>
4565
4566 PR target/49313
4567 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
4568 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
4569 * config/avr/lib1funcs.S (wmov): New assembler macro.
4570 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
4571 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
4572 (__udivmod64): New function.
4573 (__negdi2): New function.
4574
30957bde 45752011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
4576
4577 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
4578 *-*-freebsd*aout*): Remove.
4579
a504f092 45802011-11-20 Hans-Peter Nilsson <hp@axis.com>
4581
4582 * static-object.mk (c_flags-$o): Save c_flags.
4583 ($(base)$(objext)): Use it.
4584
31da0b3d 45852011-11-18 Steve Ellcey <sje@cup.hp.com>
4586
4587 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
4588
5bd39e93 45892011-11-18 Georg-Johann Lay <avr@gjlay.de>
4590
4591 PR target/49868
4592 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
4593 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
4594 New functions.
4595
a3bfd5b2 45962011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4597
4598 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
4599 functions.
80898d14 4600 (aeabi_uidivmod): Likewise.
a3bfd5b2 4601 (umodsi3): Likewise.
4602 (divsi3): Likewise.
4603 (aeabi_idivmod): Likewise.
4604 (modsi3): Likewise.
4605
3512ee5b 46062011-11-16 Tristan Gingold <gingold@adacore.com>
4607
4608 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
4609
4202ef11 46102011-11-15 Georg-Johann Lay <avr@gjlay.de>
4611
4612 PR target/49868
4613 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
4614 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
4615
ab4fdb3d 46162011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4617
4618 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
4619 tmake_file list.
4620 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
4621 * config/pa/t-stublib64: Delete.
4622
eee57ca7 46232011-11-12 Richard Henderson <rth@redhat.com>
4624
4625 * config/rs6000/linux-unwind.h (frob_update_context): Properly
4626 cast the pointer argument to _Unwind_SetGRPtr.
4627
0c74e0e8 46282011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4629
4630 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
4631
23371076 46322011-11-09 Ian Lance Taylor <iant@google.com>
4633
4634 * generic-morestack.c: Include <string.h>.
4635 (uintptr_type): Define.
4636 (struct initial_sp): Add dont_block_signals field. Reduce size of
4637 extra array by 1.
4638 (allocate_segment): Set prev field to NULL. Don't set
4639 __morestack_current_segment or __morestack_segments.
4640 (__generic_morestack): Update current->prev and *pp after calling
4641 allocate_segment.
4642 (__morestack_block_signals): Don't do anything if
4643 dont_block_signals is set.
4644 (__morestack_unblock_signals): Likewise.
4645 (__generic_findstack): Check for initial_sp == NULL. Add casts to
4646 uintptr_type.
4647 (__splitstack_block_signals): New function.
4648 (enum __splitstack_content_offsets): Define.
4649 (__splitstack_getcontext, __splitstack_setcontext): New functions.
4650 (__splitstack_makecontext): New function.
4651 (__splitstack_block_signals_context): New function.
4652 (__splitstack_find_context): New function.
4653 * config/i386/morestack.S (__morestack_get_guard): New function.
4654 (__morestack_set_guard, __morestack_make_guard): New functions.
4655 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4656
2d00fffd 46572011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4658
4659 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
4660 (i[34567]86-*-mingw*): ... here.
4661 (x86_64-*-mingw*): ... here.
4662
6886ca41 46632011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4664
4665 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
4666
5014df5d 46672011-11-07 Nathan Sidwell <nathan@acm.org>
4668
4669 * libgcov.c (struct gcov_fn_buffer): New struct.
4670 (buffer_fn_data): New helper.
4671 (gcov_exit): Rework for new gcov data structures.
4672
702a5eec 46732011-11-07 Georg-Johann Lay <avr@gjlay.de>
4674
4675 PR target/49313
4676 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
4677
2219274c 46782011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4679
4680 * config.host (tmake_file): Correct comment.
4681 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
4682 t-libgcc-pic.
4683 (bfin*-uclinux*): Likewise.
4684 (bfin*-linux-uclibc*): Likewise.
4685 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
4686
4687 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
4688 assigning.
4689 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4690 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
4691 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4692 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
4693 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4694 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
4695 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
4696 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4697 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
4698 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
4699 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
4700 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
4701 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
4702
4703 * config/bfin/t-elf: Remove.
4704 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
4705
fbb6f195 47062011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4707
4708 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
4709 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
4710 (lm32-*-elf*, lm32-*-rtems*): Split into ...
4711 (lm32-*-elf*): ... this.
4712 (lm32-*-rtems*): ... and this.
4713 Add to tmake_file.
4714 (m32r-*-rtems*): Add to tmake_file.
4715 (moxie-*-rtems*): Likewise.
4716 (sparc-*-rtems*): Likewise.
4717 Remove t-rtems from tmake_file.
4718 (sparc64-*-rtems*): Likewise.
4719 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
4720 instead.
4721
7336fab9 47222011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4723
4724 PR bootstrap/50982
4725 * config/gthr-posix.h: Move ...
4726 * gthr-posix.h: ... here.
4727 * config/gthr-lynx.h: Reflect this.
4728 * config/gthr-vxworks.h: Likewise.
4729 * config/rs6000/gthr-aix.h: Likewise.
4730 * configure.ac (target_thread_file): Likewise.
4731 * configure: Regenerate.
4732
6c10eb68 47332011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
4734
4735 * config.host (arm*-*-rtemseabi*): New target.
4736
3fe1f35b 47372011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4738
4739 PR other/50991
4740 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
4741 extra-parts.
4742
d19f5793 47432011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
4744
4745 * config.host (epiphany-*-elf*): New configuration.
4746 * config/epiphany: New Directory.
4747
02c5dcd9 47482011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
4749
4750 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
4751 * config/avr/t-rtems: New.
4752 Filter out _exit from LIB1ASMFUNCS.
4753
f3223c0b 47542011-11-04 David S. Miller <davem@davemloft.net>
4755
4756 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
4757 * configure: Rebuild.
4758
994652ec 47592011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4760
4761 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
4762 variable.
4763
02d9a2c3 47642011-11-04 Georg-Johann Lay <avr@gjlay.de>
4765
4766 PR target/50931
4767 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
4768 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
4769
81b973fe 47702011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
4771
4772 PR target/50989
4773 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
4774
ae1b140e 47752011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4776
4777 * config/c6x/t-elf (LIB2ADDEH): Set.
4778 * config/c6x/t-c6x-elf: Remove.
4779
0a76a5ff 47802011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4781
4782 * config/i386/sol2-ci.S: Rename to ...
4783 * config/i386/crti.S: ... this.
4784 * config/i386/sol2-cn.S: Rename to ...
4785 * config/i386/crtn.S: ... this.
4786 * config/sparc/sol2-ci.S: Rename to ...
4787 * config/sparc/crti.S: ... this.
4788 * config/sparc/sol2-cn.S: Rename to ...
4789 * config/sparc/crtn.S: ... this.
4790 * config/t-sol2 (CUSTOM_CRTIN): Remove.
4791 (crti.o, crtn.o): Remove.
4792
26f2feff 47932011-11-04 Tristan Gingold <gingold@adacore.com>
4794
4795 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
4796
131667b5 47972011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
4798
4799 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
4800
af64ed6f 48012011-11-03 Hans-Peter Nilsson <hp@axis.com>
4802
4803 * config.host (crisv32-*-none, cris-*-none): Remove.
4804 (crisv32-*-elf): Append to tmake_file, don't just set it.
4805 (cris-*-elf): Add missing t-fdpbit to tmake_file.
4806
4dad46bd 48072011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4808
4809 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
4810 (ecrtn$(objext)): Likewise.
4811 (ncrti$(objext)): Likewise.
4812 (ncrtn$(objext)): Likewise.
4813
37626bf8 48142011-11-03 Andreas Schwab <schwab@redhat.com>
4815
4816 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
4817
95de80bc 48182011-11-02 David S. Miller <davem@davemloft.net>
4819
4820 * configure.ac: Set host_address on sparc too.
4821 * configure: Regenerate.
4822 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
4823 based upon host_address.
4824 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
4825
b5347955 48262011-11-02 Jason Merrill <jason@redhat.com>
4827
4828 * config/rs6000/t-ppccomm: Add missing \.
4829
630d52ca 48302011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4831
4832 * gthr-single.h, gthr.h: New files.
4833 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
4834 config/gthr-vxworks.h, config/i386/gthr-win32.h,
4835 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
4836 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
4837 * config/i386/gthr-win32.c: Include "gthr-win32.h".
4838 * configure.ac (thread_header): New variable.
4839 Set it depending on target_thread_file.
4840 (gthr-default.h): Link from $thread_header.
4841 * configure: Regenerate.
4842 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
4843
022a2799 48442011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4845
4846 * configure.ac (tm_file_): New variable.
4847 Determine from tm_file.
4848 (tm_file, tm_defines): Substitute.
4849 * configure: Regenerate.
4850 * mkheader.sh: New file.
4851 * Makefile.in (clean): Remove libgcc_tm.h.
4852 ($(objects)): Depend on libgcc_tm.h.
4853 (libgcc_tm_defines, libgcc_tm_file): New variables.
4854 (libgcc_tm.h, libgcc_tm.stamp): New targets.
4855 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
4856 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
4857 ($(extra-parts)): Depend on libgcc_tm.h.
4858 * config.host (tm_defines, tm_file): New variable.
4859 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
4860 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
4861 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
4862 (avr-*-rtems*): Likewise.
4863 (avr-*-*): Likewise.
4864 (frv-*-elf): Likewise.
4865 (frv-*-*linux*): Likewise.
4866 (h8300-*-rtems*): Likewise.
4867 (h8300-*-elf*): Likewise.
4868 (i[34567]86-*-darwin*): Likewise.
4869 (x86_64-*-darwin*): Likewise.
4870 (rx-*-elf): Likewise.
4871 (tic6x-*-uclinux): Likewise.
4872 (tic6x-*-elf): Likewise.
4873 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
4874 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
4875 * config/i386/cygming-crtbegin.c: Likewise.
4876 * config/i386/cygming-crtend.c: Likewise.
4877 * config/ia64/fde-vms.c: Likewise.
4878 * config/ia64/unwind-ia64.c: Likewise.
4879 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4880 * config/rs6000/darwin-fallback.c: Likewise.
4881 * config/stormy16/lib2funcs.c: Likewise.
4882 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4883 * crtstuff.c: Likewise.
4884 * dfp-bit.h: Likewise.
4885 * emutls.c: Likewise.
4886 * fixed-bit.c: Likewise.
4887 * fp-bit.c: Likewise.
4888 * generic-morestack-thread.c: Likewise.
4889 * generic-morestack.c: Likewise.
4890 * libgcc2.c: Likewise.
4891 * libgcov.c: Likewise.
4892 * unwind-dw2-fde-dip.c: Likewise.
4893 * unwind-dw2-fde.c: Likewise.
4894 * unwind-dw2.c: Likewise.
4895 * unwind-sjlj.c: Likewise.
4896
4dc4ff49 48972011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4898
4899 * configure.ac: Include ../config/picflag.m4.
4900 (GCC_PICFLAG): Call it.
4901 Substitute.
4902 * configure: Regenerate.
4903 * Makefile.in (gcc_srcdir): Remove.
4904 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4905 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4906 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4907 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4908 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4909 Use $<.
4910 Remove comment.
4911 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4912 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4913 to refer to libgcc2.c.
4914 Use $<.
4915 * config/darwin-64.c: New file.
4916 * config/darwin-crt3.c: Remove comment.
4917 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4918 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4919 config/udivmodsi4.c: New files.
4920 * config/memcmp.c, config/memcpy.c, config/memmove.c,
4921 config/memset.c: New files.
4922 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4923 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4924 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4925 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4926 * config/t-openbsd-thread: New file.
4927 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4928 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4929 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4930 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4931 qrnnd.S.
4932 Adapt filename.
4933 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4934 to refer to gthr-posix.c.
4935 * config/alpha/t-vms (LIB2ADD): Set.
4936 * config/alpha/vms-gcc_shell_handler.c: New file.
4937 * config/arm/bpabi.c, config/arm/fp16.c,
4938 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4939 config/arm/unaligned-funcs.c: New files.
4940 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4941 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4942 * config/arm/t-linux: Likewise.
4943 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4944 * config/arm/t-netbsd: New file.
4945 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4946 * config/arm/t-symbian (LIB2ADD_ST): Set.
4947 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4948 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4949 * config/bfin/t-elf: New file.
4950 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4951 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4952 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4953 config/c6x/ltf.c: New files.
4954 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4955 (HOST_LIBGCC2_CFLAGS): Set.
4956 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4957 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4958 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4959 New files.
4960 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4961 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4962 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4963 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4964 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4965 files.
4966 * config/frv/t-frv (LIB2ADD): Set.
4967 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4968 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4969 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4970 config/h8300/popcounthi2.c: New files.
4971 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4972 * config/i386/gthr-win32.c: New file.
4973 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4974 * config/i386/t-cygwin: Likewise.
4975 * config/i386/t-darwin, config/i386/t-darwin64,
4976 config/i386/t-gthr-win32, config/i386/t-interix: New files.
4977 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4978 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4979 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4980 * config/ia64/quadlib.c: New file.
4981 * config/ia64/t-hpux (LIB2ADD): Set.
4982 * config/ia64/t-ia64: Add comment.
4983 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4984 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4985 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4986 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4987 * config/m32c/t-m32c (LIB2ADD): Set.
4988 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4989 * config/m32r/t-m32r: Likewise.
4990 * config/m68k/fpgnulib.c: New file.
4991 * config/m68k/t-floatlib (LIB2ADD): Set.
4992 (xfgnulib.c): New target.
4993 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4994 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4995 * config/mep/t-mep (LIB2ADD): Set.
4996 * config/microblaze/divsi3.asm: Rename to divsi3.S.
4997 * config/microblaze/moddi3.asm: Rename to moddi3.S.
4998 * config/microblaze/modsi3.asm: Rename to modsi3.S.
4999 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
5000 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
5001 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
5002 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
5003 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
5004 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
5005 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
5006 New files.
5007 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
5008 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
5009 * config/pa/fptr.c, config/pa/lib2funcs.S,
5010 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
5011 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
5012 (LIB2ADD, LIB2ADD_ST): Set.
5013 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
5014 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
5015 Set.
5016 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
5017 * config/pdp11/t-pdp11: New file.
5018 * config/picochip/libgccExtras/adddi3.S,
5019 config/picochip/libgccExtras/ashlsi3.S,
5020 config/picochip/libgccExtras/ashrsi3.S,
5021 config/picochip/libgccExtras/clzsi2.S,
5022 config/picochip/libgccExtras/cmpsi2.S,
5023 config/picochip/libgccExtras/divmod15.S,
5024 config/picochip/libgccExtras/divmodhi4.S,
5025 config/picochip/libgccExtras/divmodsi4.S,
5026 config/picochip/libgccExtras/lshrsi3.S,
5027 config/picochip/libgccExtras/parityhi2.S,
5028 config/picochip/libgccExtras/popcounthi2.S,
5029 config/picochip/libgccExtras/subdi3.S,
5030 config/picochip/libgccExtras/ucmpsi2.S,
5031 config/picochip/libgccExtras/udivmodhi4.S,
5032 config/picochip/libgccExtras/udivmodsi4.S: New files.
5033 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
5034 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
5035 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
5036 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
5037 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
5038 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
5039 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
5040 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
5041 files.
5042 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
5043 (HOST_LIBGCC2_CFLAGS): Set.
5044 * config/rs6000/t-darwin64: New file.
5045 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
5046 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
5047 * config/rs6000/t-ppccomm (LIB2ADD): Add
5048 $(srcdir)/config/rs6000/tramp.S.
5049 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
5050 Add $(srcdir)/config/rs6000/eabi.S.
5051 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
5052 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
5053 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
5054 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
5055 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
5056 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
5057 * config/rs6000/tramp.S: New file.
5058 * config/s390/t-tpf: Remove.
5059 * config/sh/linux-atomic.S: New file.
5060 * config/sh/t-linux (LIB2ADD): Set.
5061 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
5062 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
5063 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
5064 to unwind-dw2.c.
5065 (HOST_LIBGCC2_CFLAGS): Set.
5066 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
5067 * config/spu/divmodti4.c, config/spu/divv2df3.c,
5068 config/spu/float_disf.c, config/spu/float_unsdidf.c,
5069 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
5070 config/spu/mfc_multi_tag_release.c,
5071 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
5072 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
5073 config/spu/multi3.c: New files.
5074 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
5075 (HOST_LIBGCC2_CFLAGS): Set.
5076 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
5077 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
5078 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
5079 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
5080 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
5081 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
5082 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
5083 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
5084 config/stormy16/umodsi3.c: New files.
5085 * config/xtensa/lib2funcs.S: New file.
5086 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
5087 * config/xtensa/t-xtensa (LIB2ADD): Set.
5088 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
5089 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
5090 Add t-freebsd-thread to tmake_file for posix threads.
5091 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
5092 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
5093 (*-*-lynxos*): Likewise.
5094 (*-*-netbsd*): Likewise.
5095 (*-*-openbsd*): Likewise.
5096 Add t-openbsd-thread to tmake_file for posix threads.
5097 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
5098 (*-*-vxworks*): Set tmake_file.
5099 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5100 (alpha*-*-freebsd*): Likewise.
5101 (alpha*-*-netbsd*): Likewise.
5102 (alpha*-*-openbsd*): Likewise.
5103 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
5104 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
5105 (alpha*-dec-*vms*): Likewise.
5106 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
5107 (bfin*-elf*): Add bfin/t-elf to tmake_file.
5108 (bfin*-uclinux*): Likewise.
5109 (bfin*-linux-uclibc*): Likewise.
5110 (crisv32-*-elf): Add cris/t-cris to tmake_file.
5111 (crisv32-*-none): Likewise.
5112 (cris-*-elf): Likewise.
5113 (cris-*-none): Likewise.
5114 (cris-*-linux*, crisv32-*-linux*): Likewise.
5115 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
5116 tmake_file.
5117 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
5118 tmake_file.
5119 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
5120 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
5121 (x86_64-*-elf*): Likewise.
5122 (i[34567]86-*-nto-qnx*): Likewise.
5123 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
5124 win32 threads.
5125 (x86_64-*-mingw*): Likewise.
5126 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
5127 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
5128 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5129 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5130 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
5131 tmake_file.
5132 (mipsisa64sr71k-*-elf*): Likewise.
5133 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5134 (mips-*-elf*, mipsel-*-elf*): Likewise.
5135 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5136 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5137 (mips*-*-rtems*): Likewise.
5138 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
5139 to tmake_file.
5140 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
5141 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
5142 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
5143 (spu-*-elf*): Likewise.
5144 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
5145
9213d2eb 51462011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5147
5148 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
5149 $(srcdir) to refer to $(LIB1ASMSRC).
5150 Use $<.
5151 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
5152 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
5153 config/arm/lib1funcs.S: New files.
5154 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
5155 * config/arm/t-arm: New file.
5156 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
5157 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
5158 config/arm/t-strongarm-elf: New files.
5159 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
5160 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
5161 * config/avr/lib1funcs.S: New file.
5162 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5163 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
5164 * config/c6x/lib1funcs.S: New file.
5165 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5166 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
5167 * config/frv/lib1funcs.S: New file.
5168 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5169 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
5170 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
5171 * config/ia64/__divxf3.asm: Rename to ...
5172 * config/ia64/__divxf3.S: ... this.
5173 Adapt lib1funcs.asm filename.
5174 * config/ia64/_fixtfdi.asm: Rename to ...
5175 * config/ia64/_fixtfdi.S: ... this.
5176 Adapt lib1funcs.asm filename.
5177 * config/ia64/_fixunstfdi.asm: Rename to ...
5178 * config/ia64/_fixunstfdi.S: ... this.
5179 Adapt lib1funcs.asm filename.
5180 * config/ia64/_floatditf.asm: Rename to ...
5181 * config/ia64/_floatditf.S: ... this.
5182 Adapt lib1funcs.asm filename.
5183 * config/ia64/lib1funcs.S: New file.
5184 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
5185 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5186 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
5187 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
5188 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
5189 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
5190 * config/mep/lib1funcs.S: New file.
5191 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5192 * config/mips/mips16.S: New file.
5193 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5194 * config/pa/milli64.S: New file.
5195 * config/pa/t-linux, config/pa/t-linux64: New files.
5196 * config/picochip/lib1funcs.S: New file.
5197 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5198 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
5199 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
5200 * config/sh/t-netbsd: New file.
5201 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
5202 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
5203 * config/sh/t-sh64: New file.
5204 * config/sparc/lb1spc.S: New file.
5205 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
5206 filename.
5207 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
5208 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
5209 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
5210 config/xtensa/lib1funcs.S: New files.
5211 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
5212 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
5213 tmake_file.
5214 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
5215 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
5216 (arm*-*-linux*): Likewise.
5217 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
5218 arm*-*-linux-*eabi, add arm/t-linux otherwise.
5219 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
5220 (arm*-*-ecos-elf): Likewise.
5221 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5222 (arm*-*-rtems*): Likewise.
5223 (arm*-*-elf): Likewise.
5224 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
5225 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
5226 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
5227 (bfin*-uclinux*): Likewise.
5228 (bfin*-linux-uclibc*): Likewise.
5229 (bfin*-rtems*): Likewise.
5230 (bfin*-*): Likewise.
5231 (fido-*-elf): Merge into m68k-*-elf*.
5232 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
5233 (frv-*-*linux*): Add frv/t-frv to tmake_file.
5234 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
5235 (h8300-*-elf*): Likewise.
5236 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
5237 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
5238 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
5239 (i[34567]86-*-mingw*): Likewise.
5240 (x86_64-*-mingw*): Likewise.
5241 (i[34567]86-*-interix3*): Likewise.
5242 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
5243 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
5244 (m68k-*-elf*): Also handle fido-*-elf.
5245 Add m68k/t-floatlib to tmake_file.
5246 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
5247 (m68k-*-linux*): Likewise.
5248 (m68k-*-rtems*): Likewise.
5249 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
5250 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
5251 sh64*-*-*.
5252 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
5253 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
5254 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
5255 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
5256 sh/t-netbsd to tmake_file.
5257 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
5258 (sh-*-rtems*): Add sh/t-sh to tmake_file.
5259 (sh-wrs-vxworks): Likewise.
5260 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
5261 *-leon[3-9]*.
5262 (v850*-*-*): Add v850/t-v850 to tmake_file.
5263 (vax-*-linux*): Add vax/t-linux to tmake_file.
5264 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
5265
237490bf 52662011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5267
5268 * crtstuff.c: New file.
5269 * Makefile.in (CRTSTUFF_CFLAGS): Define.
5270 (CRTSTUFF_T_CFLAGS): Define.
5271 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
5272 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
5273 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
5274 crtstuff.c.
5275 Use $<.
5276 (crtbeginT.o): Use $(objext).
5277 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
5278 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
5279 (gcc-extra-parts): Remove.
5280 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
5281 Set extra_parts.
5282 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5283 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
5284 Add t-crtstuff-pic to tmake_file.
5285 (*-*-lynxos*): New case.
5286 Set tmake_file, extra_parts.
5287 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
5288 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
5289 *-*-netbsdelf[2-9]*.
5290 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
5291 (*-*-rtems*): Set extra_parts.
5292 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
5293 (*-*-uclinux*): New case.
5294 Set extra_parts.
5295 (*-*-vms*): New case.
5296 Set tmake_file, extra_parts.
5297 (*-*-elf): Set extra_parts.
5298 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
5299 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
5300 vms/t-vms64.
5301 Set extra_parts.
5302 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5303 Set extra_parts.
5304 (arm*-*-freebsd*): Add t-crtin to tmake_file.
5305 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5306 (arm-wrs-vxworks): Append to tmake_file.
5307 Set extra_parts.
5308 (arm*-*-uclinux*): Set extra_parts.
5309 (arm*-*-ecos-elf): Likewise.
5310 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5311 arm*-*-eabi*.
5312 (arm*-*-rtems*): Set extra_parts.
5313 (arm*-*-elf): Likewise.
5314 (avr-*-rtems*): Clear extra_parts.
5315 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5316 Set extra_parts.
5317 (bfin*-uclinux*): Likewise.
5318 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5319 (bfin*-rtems*): Append to tmake_file.
5320 Set extra_parts.
5321 (bfin*-*): Likewise.
5322 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5323 (crisv32-*-elf): ... this.
5324 (crisv32-*-none): ... this.
5325 (cris-*-elf, cris-*-none): New cases.
5326 Add cris/t-elfmulti to tmake_file.
5327 (fr30-*-elf): Append to tmake_file.
5328 Set extra_parts.
5329 (frv-*-elf): Append to tmake_file, add frv/t-frv.
5330 Set extra_parts.
5331 (h8300-*-rtems*): Append to tmake_file.
5332 Set extra_parts.
5333 (h8300-*-elf*): Likewise.
5334 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5335 Set extra_parts.
5336 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5337 Set extra_parts.
5338 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5339 (x86_64-*-elf*): Likewise.
5340 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5341 (x86_64-*-freebsd*): Likewise.
5342 (x86_64-*-netbsd*): Likewise.
5343 (i[34567]86-*-linux*): Likewise.
5344 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5345 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5346 (x86_64-*-linux*): Likewise.
5347 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5348 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
5349 tmake_file.
5350 Set extra_parts.
5351 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
5352 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
5353 Append to extra_parts, remove crtbegin.o, crtend.o.
5354 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
5355 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
5356 crtend.o, crtbeginS.o, crtendS.o.
5357 (ia64*-*-linux*): Comment extra_parts.
5358 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
5359 Set extra_parts.
5360 (iq2000*-*-elf*): Clear extra_parts.
5361 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
5362 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
5363 (m32r-*-elf*, m32r-*-rtems*): Split off ...
5364 (m32r-*-rtems*): ... this.
5365 Add m32r/t-m32r to tmake_file.
5366 (m68k-*-elf*): Add t-crtin to tmake_file.
5367 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
5368 (mcore-*-elf): Likewise.
5369 (microblaze*-*-*): Set extra_parts.
5370 (mips*-sde-elf*): New case.
5371 Set tmake_file, extra_parts.
5372 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5373 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5374 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
5375 tmake_file.
5376 Set extra_parts.
5377 (mipsisa64sr71k-*-elf*): Likewise.
5378 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5379 (mips-*-elf*, mipsel-*-elf*): Likewise.
5380 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5381 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
5382 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5383 (mips*-*-rtems*): Likewise.
5384 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
5385 (moxie-*-*): Split into ...
5386 (moxie-*-elf, moxie-*-uclinux*): ... this.
5387 Add to extra_parts, remove crtbegin.o, crtend.o.
5388 (moxie-*-rtems*): New case.
5389 Set tmake_file.
5390 Clear extra_parts.
5391 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
5392 Set extra_parts.
5393 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5394 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
5395 tmake_file.
5396 Set extra_parts.
5397 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
5398 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
5399 Set extra_parts.
5400 (powerpc-*-eabisim*): Likewise.
5401 (powerpc-*-elf*): Likewise.
5402 (powerpc-*-eabialtivec*): Likewise.
5403 (powerpc-xilinx-eabi*): Likewise.
5404 (powerpc-*-eabi*): Likewise.
5405 (powerpc-*-rtems*): Likewise.
5406 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
5407 tmake_file.
5408 Set extra_parts.
5409 (powerpc-*-lynxos*): Add to tmake_file.
5410 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
5411 rs6000/t-crtstuff, t-crtstuff-pic.
5412 Set extra_parts.
5413 (powerpcle-*-eabisim*): Likewise.
5414 (powerpcle-*-eabi*): Likewise.
5415 (rx-*-elf): Remove extra_parts.
5416 (s390x-ibm-tpf*): Set extra_parts.
5417 (score-*-elf): Set extra_parts.
5418 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5419 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5420 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5421 (sh64l*-*-netbsd*): Split into ...
5422 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
5423 Add t-crtstuff-pic to tmake_file.
5424 Set extra_parts.
5425 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
5426 Set extra_parts.
5427 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
5428 (sparc-*-elf*): Remove t-crtin from tmake_file.
5429 Add to extra_parts, remove crtbegin.o, crtend.o.
5430 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
5431 (sparc64-*-linux*): Likewise.
5432 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
5433 Add to extra_parts, remove crtbegin.o, crtend.o.
5434 (sparc64-*-elf*): Remove t-crtin from tmake_file.
5435 Add to extra_parts, remove crtbegin.o, crtend.o.
5436 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
5437 Add to extra_parts, remove crtbegin.o, crtend.o.
5438 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
5439 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
5440 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
5441 Set extra_parts.
5442 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
5443 Set extra_parts.
5444 (tic6x-*-*): Change to ...
5445 (tic6x-*-elf): ... this.
5446 Set extra_parts.
5447 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
5448 Set extra_parts.
5449 (am33_2.0-*-linux*): Add comment.
5450 (mep*-*-*): Add mep/t-mep to tmake_file.
5451 Set extra_parts.
5452 * config/alpha/t-vms: New file.
5453 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
5454 * config/arm/crti.S, config/arm/crtn.S: New files.
5455 * config/bfin/crti.S, config/bfin/crtn.S: New files.
5456 * config/bfin/crtlibid.S: New file.
5457 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
5458 * config/c6x/crti.S, config/c6x/crtn.S: New files.
5459 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
5460 (crti.o, crtin.o): New rules.
5461 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5462 * config/c6x/t-uclinux: New file.
5463 * config/cris/t-elfmulti: New file.
5464 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
5465 * config/fr30/crti.S, config/fr30/crtn.S: New files.
5466 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
5467 * config/frv/t-frv: New file.
5468 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
5469 * config/h8300/crti.S, config/h8300/crtn.S: New files.
5470 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
5471 New files.
5472 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
5473 refer to cygming-crtbegin.c, cygming-crtend.c.
5474 Use $<.
5475 * config/i386/t-nto: New file.
5476 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
5477 * config/ia64/crti.S, config/ia64/crtn.S: New files.
5478 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
5479 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
5480 Use .S extension.
5481 Use $<.
5482 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5483 (crtinitS.o): New rule.
5484 * config/ia64/vms-crtinit.S: New file.
5485 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
5486 * config/m32r/initfini.c: New file.
5487 * config/m32r/t-linux, config/m32r/t-m32r: New files.
5488 * config/m68k/crti.S, config/m68k/crtn.S: New files.
5489 * config/mcore/crti.S, config/mcore/crtn.S: New files.
5490 * config/mep/t-mep: New file.
5491 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
5492 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
5493 * config/mips/crti.S, config/mips/crtn.S: New files.
5494 * config/mips/t-crtstuff: New file.
5495 * config/mmix/crti.S, config/mmix/crtn.S: New files.
5496 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
5497 (CUSTOM_CRTIN): Set.
5498 ($(T)crti.o, $(T)crtn.o): Remove $(T),
5499 dependencies.
5500 Use $(srcdir) to refer to crti.S, crtn.S.
5501 Use .S extension, $<.
5502 * config/moxie/crti.asm: Rename to ...
5503 * config/moxie/crti.S: ... this.
5504 * config/moxie/crtn.asm: Rename to ...
5505 * config/moxie/crtn.S: ... this.
5506 * config/moxie/t-moxie: Remove.
5507 * config/pa/stublib.c: New file.
5508 * config/pa/t-stublib, config/pa/t-stublib64: New files.
5509 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
5510 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
5511 * config/rs6000/t-crtstuff: New file.
5512 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
5513 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
5514 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
5515 Make output file explicit.
5516 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
5517 Make output file explicit.
5518 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
5519 Make output file explicit.
5520 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
5521 Make output file explicit.
5522 * config/score/crti.S, config/score/crtn.S: New files.
5523 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
5524 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
5525 files.
5526 * config/sh/t-sh, config/sh/t-superh: New files.
5527 * config/sparc/t-linux64: New file.
5528 * config/spu/cache.S, config/spu/cachemgr.c: New files.
5529 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
5530 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
5531 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
5532 * config/t-crtin: Remove.
5533 * config/t-crtstuff-pic: New file.
5534 * config/t-sol2 (CUSTOM_CRTIN): Set.
5535 (crti.o, crtn.o): New rules.
5536 * config/vms/t-vms: New file.
5537 * config/vms/vms-ucrt0.c: New file.
5538 * config/xtensa/t-elf: New file.
5539
a997b0d8 55402011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5541
5542 * Makefile.in (SHLIB_NM_FLAGS): Set.
5543 * mkmap-flat.awk, mkmap-symver.awk: New files.
5544 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
5545 exceptions.
5546 * configure: Regenerate.
5547 * config/libgcc-glibc.ver: New file.
5548 * config/libgcc-libsystem.ver: New file.
5549 * config/t-libunwind (SHLIB_LC): Set.
5550 * config/t-linux: New file.
5551 * config/t-slibgcc (INSTALL_SHLIB): New.
5552 (SHLIB_INSTALL): Use it.
5553 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
5554 to mkmap-symver.awk.
5555 (SHLIB_MAPFILES): Don't append, adapt pathname.
5556 (SHLIB_VERPFX): Set.
5557 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
5558 to mkmap-symver.awk.
5559 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
5560 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
5561 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
5562 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
5563 to mkmap-flat.awk.
5564 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
5565 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
5566 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
5567 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
5568 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
5569 * config/i386/libgcc-darwin.10.4.ver,
5570 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
5571 New files.
5572 * config/i386/t-darwin: Remove.
5573 * config/i386/t-darwin64: Likewise.
5574 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
5575 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
5576 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
5577 * config/i386/t-linux: New file.
5578 * config/i386/t-mingw32: New file.
5579 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
5580 * config/ia64/t-glibc: Rename to ...
5581 * config/ia64/t-linux: ... this.
5582 (SHLIB_MAPFILES): Set.
5583 * config/ia64/t-glibc-libunwind: Rename to ...
5584 * config/ia64/t-linux-libunwind: ... this.
5585 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
5586 * config/ia64/t-slibgcc-hpux: New file.
5587 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
5588 * config/m68k/t-slibgcc-elf-ver: New file.
5589 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
5590 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
5591 to mkmap-flat.awk.
5592 * config/pa/t-slibgcc-hpux: New file.
5593 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
5594 files.
5595 * config/rs6000/libgcc-darwin.10.4.ver,
5596 config/rs6000/libgcc-darwin.10.5.ver: New files.
5597 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
5598 config/rs6000/libgcc-glibc.ver.
5599 * config/rs6000/libgcc-ppc64.ver: Rename to
5600 config/rs6000/libgcc-ibm-ldouble.ver.
5601 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
5602 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
5603 * config/rs6000/t-ldbl128: Rename to ...
5604 * config/rs6000/t-linux: ... this.
5605 (SHLIB_MAPFILES): Adapt filename.
5606 * config/rs6000/t-slibgcc-aix: New file.
5607 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
5608 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
5609 libgcc-excl.ver, libgcc-glibc.ver.
5610 (SHLIB_LINK, SHLIB_INSTALL): Remove.
5611 * config/sparc/libgcc-glibc.ver: New file.
5612 * config/sparc/t-linux: New file.
5613 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
5614 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
5615 t-slibgcc-elf-ver to tmake_file.
5616 Add t-slibgcc-nolc-override to tmake_file for posix threads on
5617 *-*-freebsd[34].
5618 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5619 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
5620 t-slibgcc-elf-ver, t-linux to tmake_file.
5621 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
5622 tmake_file.
5623 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
5624 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
5625 (alpha*-dec-*vms*): Likewise.
5626 (arm*-*-freebsd*): Append to tmake_file.
5627 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
5628 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
5629 arm*-*-linux-*eabi.
5630 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
5631 tmake_file for arm*-*-symbianelf*.
5632 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
5633 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
5634 cris/t-linux.
5635 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
5636 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
5637 pa/t-slibgcc-dwarf-ver to tmake_file.
5638 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
5639 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
5640 (hppa*64*-*-hpux11*): Likewise.
5641 (hppa[12]*-*-hpux11*): Likewise.
5642 (x86_64-*-darwin*): Don't override tmake_file, but only keep
5643 i386/t-crtpc, i386/t-crtfm.
5644 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
5645 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5646 to tmake_file.
5647 Add i386/t-cygwin to tmake_file.
5648 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
5649 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
5650 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5651 to tmake_file.
5652 Add i386/t-mingw32 to tmake_file.
5653 (x86_64-*-mingw*): Likewise.
5654 (ia64*-*-freebsd*): Append to tmake_file.
5655 (ia64*-*-linux*): Append to tmake_file.
5656 Replace ia64/t-glibc by ia64/t-linux.
5657 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
5658 system libunwind.
5659 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
5660 t-slibgcc-hpux to tmake_file.
5661 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
5662 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
5663 (m32rle-*-linux*): Likewise.
5664 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
5665 sjlj exceptions.
5666 (microblaze*-linux*): New case.
5667 Append to tmake_file, add t-slibgcc-nolc-override.
5668 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
5669 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5670 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
5671 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5672 rs6000/t-slibgcc-aix to tmake_file.
5673 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5674 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5675 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5676 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5677 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5678 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
5679 sh*-*-linux*.
5680 (sparc-*-linux*): Append to tmake_file for *-leon*.
5681 Add sparc/t-linux to tmake_file for non-Leon targets.
5682 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
5683 (tic6x-*-uclinux): New case.
5684 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
5685 (tic6x-*-*): Add c6x/t-elf to tmake_file.
5686 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
5687 (am33_2.0-*-linux*): Append to tmake_file.
5688 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5689 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
5690 x86_64-*-kfreebsd*-gnu.
5691 Add i386/t-linux to tmake_file.
5692
638a95a0 56932011-10-28 Ian Lance Taylor <iant@google.com>
5694
5695 * config/i386/morestack.S: Correct CFI information to do proper
5696 returns throughout function. In 32-bit mode, save %ebx so that it
5697 is restored on unwind.
5698
ef785e44 56992011-10-25 Bernd Schmidt <bernds@codesourcery.com>
5700
5701 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
5702 case where B3 isn't the return register.
5703
19b85223 5704 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
5705 logic for doubleword pops.
5706
70f50eb0 57072011-10-25 Andreas Tobler <andreast@fgznet.ch>
5708
5709 * config/rs6000/t-freebsd: Add wildcard.
5710
ec2b386c 57112011-10-21 Paul Brook <paul@codesourcery.com>
5712
5713 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
5714
b09a3f46 57152011-10-16 Uros Bizjak <ubizjak@gmail.com>
5716 Eric Botcazou <ebotcazou@adacore.com>
5717
5718 PR target/50737
5719 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
5720 fs->signal_frame to 1.
5721
8acdf7c6 57222011-10-07 Ian Lance Taylor <iant@google.com>
5723
5724 * generic-morestack-thread.c: #include <errno.h>.
5725
1780e36e 57262011-10-07 Ian Lance Taylor <iant@google.com>
5727
5728 PR target/46093
5729 * generic-morestack.c (__generic_morestack): Make sure the segment
5730 is large enough for both the stack frame and the copied
5731 parameters.
5732
f57fac72 57332011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5734
5735 PR bootstrap/49804
5736 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
5737 extra_parts.
5738
6ef008f9 57392011-09-28 Nick Clifton <nickc@redhat.com>
5740
5741 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
5742 64-bit doubles are not enabled.
5743 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
5744 and floatunsisf functions.
5745
7e5fc0c4 57462011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 5747
7e5fc0c4 5748 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
5749 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
5750 * unwind-arm-common.inc: New file.
5751 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
5752 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
5753 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
5754 * config/c6x/libunwind.S: New file.
5755 * config/c6x/pr-support.c: New file.
5756 * config/c6x/unwind-c6x.c: New file.
5757 * config/c6x/unwind-c6x.h: New file.
5758 * config/c6x/t-c6x-elf: New file.
5759
047a5c56 57602011-08-23 Uros Bizjak <ubizjak@gmail.com>
5761
5762 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
5763 (ASM_DIVZERO): Ditto.
5764 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
5765
985e908e 57662011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
5767
5768 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
5769
c1c81358 57702011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
5771
5772 PR target/50090
5773 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
5774 instead of an assembly one.
5775
7642fc98 57762011-08-12 Paolo Bonzini <bonzini@gnu.org>
5777
5778 PR bootstrap/50047
5779 * Makefile.in (install-unwind_h): Create
5780 $(gcc_objdir)/include/unwind.h atomically.
5781
392bda6f 57822011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5783
5784 * Makefile.in (install-unwind_h): Remove destination file first.
5785
21889c08 57862011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5787
5788 * sync.c: New file.
5789 * config/mips/t-mips16: New file.
5790 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
5791 (mips*-*-linux*): Likewise.
5792 (mips*-sde-elf*): Likewise.
5793 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
5794 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
5795 Add mips/t-mips16 to tmake_file.
5796 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
5797 (mips-*-elf*): Likewise.
5798 (mips64-*-elf*): Likewise.
5799 (mips64orion-*-elf*): Likewise.
5800 (mips*-*-rtems*): Likewise.
5801 (mipstx39-*-elf*): Likewise.
5802 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
5803 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
5804 LIBGCC_SYNC_CFLAGS.
5805 Use $(srcdir) to refer to sync.c.
5806 Use $<.
5807 ($(libgcc-sync-funcs-o)): Likewise.
5808 ($(libgcc-sync-size-funcs-s-o)): Likewise.
5809 ($(libgcc-sync-funcs-s-o)): Likewise.
5810
3569d462 58112011-08-09 Andreas Schwab <schwab@linux-m68k.org>
5812
5813 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
5814 t-libunwind.
5815
e451a093 58162011-08-08 H.J. Lu <hongjiu.lu@intel.com>
5817
5818 PR other/48007
5819 * config/i386/value-unwind.h: New.
5820
ab3bed33 58212011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
5822
5823 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
5824 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
5825 Add to tmake_file rather than overriding it.
5826
84600db5 58272011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5828
5829 * config/t-softfp: Remove.
5830 * soft-fp: Moved from ../gcc/config.
5831 * soft-fp/README: Remove t-softfp reference.
5832 * soft-fp/t-softfp: Move to config/t-softfp.
5833 (softfp_machine_header): Remove.
5834 (softfp_file_list): Remove config subdir.
5835 (soft-fp-objects): New variable.
5836 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
5837 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
5838 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
5839 * config/t-softfp-excl: New file.
5840 * config/t-softfp-sfdf: New file.
5841 * config/t-softfp-tf: New file.
5842 * config/no-sfp-machine.h: New file.
5843 * config/arm/sfp-machine.h: New file.
5844 * config/arm/t-softfp: New file.
5845 * config/c6x/sfp-machine.h: New file.
5846 * config/i386/32/t-fprules-softfp: Rename to ...
5847 * config/i386/32/t-softfp: ... this.
5848 (tifunctions, LIB2ADD): Remove.
5849 (softfp_int_modes): Override.
5850 * config/i386/64/t-softfp-compat (tf-functions): Remove config
5851 subdir.
5852 * config/i386/64/eqtf2.c: Likewise.
5853 * config/i386/64/getf2.c: Likewise.
5854 * config/i386/64/letf2.c: Likewise.
5855 * config/ia64/sft-machine.h: New file.
5856 * config/ia64/t-fprules-softfp: Rename to ...
5857 * config/ia64/t-softfp: ... this.
5858 * config/lm32/sfp-machine.h: New file.
5859 * config/moxie/t-moxie-softfp: Remove.
5860 * config/rs6000/ibm-ldouble-format: New file.
5861 * config/rs6000/ibm-ldouble.c: New file.
5862 * config/rs6000/libgcc-ppc-glibc.ver: New file
5863 * config/rs6000/libgcc-ppc64.ver: New file
5864 * config/rs6000/sfp-machine.h: New file.
5865 * config/rs6000/t-freebsd: New file.
5866 * config/rs6000/t-ibm-ldouble: New file.
5867 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
5868 libgcc-ppc-glibc.ver.
5869 * config/rs6000/t-linux64: New file.
5870 * config/rs6000/t-ppccomm (LIB2ADD): Add
5871 $(srcdir)/config/rs6000/ibm-ldouble.c.
5872 * config/rs6000/t-ppccomm-ldbl: New file.
5873 * config/score/sfp-machine.h: New file.
5874 * config.host (sfp_machine_header): Explain.
5875 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
5876 t-softfp to tmake_file.
5877 (arm*-*-uclinux*): Likewise.
5878 (arm*-*-ecos-elf): Likewise.
5879 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5880 (arm*-*-rtems*): Likewise.
5881 (arm*-*-elf): Likewise.
5882 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5883 in tmake_file.
5884 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5885 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5886 (lm32-*-uclinux*): Likewise.
5887 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5888 t-softfp-excl, t-softfp.
5889 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5890 (powerpc64-*-darwin*): Likewise.
5891 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5892 to tmake_file.
5893 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5894 tmake_file.
5895 (powerpc-*-eabisim*): Likewise.
5896 (powerpc-*-elf*): Likewise.
5897 (powerpc-*-eabialtivec*): Likewise.
5898 (powerpc-xilinx-eabi*): Likewise.
5899 (powerpc-*-rtems*): Likewise.
5900 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5901 t-softfp-excl, t-softfp to tmake_file.
5902 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5903 rs6000/t-ppccomm-ldbl to tmake_file.
5904 (powerpcle-*-elf*): Likewise.
5905 (powerpcle-*-eabisim*): Likewise.
5906 (powerpcle-*-eabi*): Likewise.
5907 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5908 rs6000/t-ibm-ldouble to tmake_file.
5909 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5910 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5911 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5912 (tic6x-*-*): Likewise.
5913 (i[34567]86-*-darwin*, x86_64-*-darwin*,
5914 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5915 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5916 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5917 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5918 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5919 t-softfp to tmake_file.
5920 * configure.ac (sfp_machine_header): Provide default if unset.
5921 Substitute.
5922 Link sfp-machine.h to config/$sfp_machine_header.
5923 * configure: Regenerate.
5924
a23b9c51 59252011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5926
5927 * Makefile.in (double_type_size, long_double_type_size): Set.
5928 Remove $(fpbit-in-libgcc) support.
5929 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5930 (fpbit-src): New variable.
5931 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5932 Compile with -DFLOAT $(FPBIT_CFLAGS).
5933 Use $<.
5934 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5935 Compile with $(FPBIT_CFLAGS).
5936 Use $<.
5937 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5938 Compile with -DFLOAT $(TPBIT_CFLAGS).
5939 Use $<.
5940 * configure.ac (double_type_size, long_double_type_size):
5941 Determine and substitute.
5942 * configure: Regenerate.
5943 * fp-bit.c, fp-bit.h: New files.
5944 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5945 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5946 * config/mips/t-mips: New file.
5947 * config/mips/t-sdemtk: New file.
5948 * config/rs6000/ppc64-fp.c: New file.
5949 * config/rs6000/t-darwin (LIB2ADD): Add
5950 $(srcdir)/config/rs6000/ppc64-fp.c.
5951 * config/rs6000/t-ppc64-fp: New file.
5952 * config/rx/rx-lib.h: New file.
5953 * config/rx/t-rx (FPBIT): Set to true.
5954 ($(gcc_objdir)/fp-bit.c): Remove.
5955 (DPBIT): Set to true only with -m64bit-doubles.
5956 ($(gcc_objdir)/dp-bit.c): Remove.
5957 * config/sparc/t-softfp: Remove.
5958 * config/spu/t-elf: New file.
5959 * config/t-fdpbit, config/t-fpbit: New files.
5960 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5961 (mips*-*-*): Likewise.
5962 (arm-wrs-vxworks): Likewise.
5963 (arm*-*-freebsd*): Likewise.
5964 (avr-*-rtems*): Add t-fpbit to tmake_file.
5965 (avr-*-*): Likewise.
5966 (bfin*-elf*): Add t-fdpbit to tmake_file.
5967 (bfin*-uclinux*): Likewise.
5968 (bfin*-linux-uclibc*): Likewise.
5969 (bfin*-rtems*): New case.
5970 Add t-fdpbit to tmake_file.
5971 (bfin*-*): Add t-fdpbit to tmake_file.
5972 (crisv32-*-elf): Likewise.
5973 (cris-*-linux*): Likewise.
5974 (fr30-*-elf): Likewise.
5975 (frv-*-elf, frv-*-*linux*): Likewise.
5976 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5977 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5978 (m32r-*-elf*): Likewise.
5979 (m32rle-*-elf*): Likewise.
5980 (m32r-*-linux*): Likewise.
5981 (m32rle-*-linux*): Likewise.
5982 (mcore-*-elf): Add t-fdpbit to tmake_file.
5983 (microblaze*-*-*): Likewise.
5984 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5985 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5986 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5987 Fix typo.
5988 Add mips/t-tpbit to tmake-file.
5989 (mips*-*-linux*): Fix typo.
5990 (mips*-sde-elf*): New case
5991 Add mips/t-sdemtk unless using newlib.
5992 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5993 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5994 (mn10300-*-*): Likewise.
5995 (pdp11-*-*): Likewise.
5996 (picochip-*-*): Add t-fpbit to tmake_file.
5997 (powerpc-*-eabisimaltivec*): Likewise.
5998 (powerpc-*-eabisim*): Likewise.
5999 (powerpc-*-elf*): Likewise.
6000 (powerpc-*-eabialtivec*): Likewise.
6001 (powerpc-xilinx-eabi*): New case.
6002 Add t-fdpbit to tmake_file.
6003 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
6004 (powerpc-*-rtems*): Likewise.
6005 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
6006 tmake_file.
6007 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
6008 tmake_file.
6009 (powerpc-*-lynxos*): Likewise.
6010 (powerpcle-*-elf*): Likewise.
6011 (powerpcle-*-eabisim*): Likewise.
6012 (powerpcle-*-eabi*): Likewise.
6013 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
6014 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
6015 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6016 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6017 (rx-*-elf): Add t-fdpbit to tmake_file.
6018 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
6019 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
6020 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
6021 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
6022 sh*-*-netbsd*.
6023 (sh-*-rtems*): Add t-fdpbit to tmake_file.
6024 (sh-wrs-vxworks): Likewise.
6025 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
6026 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
6027 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
6028 (sparc64-*-rtems*): ... new case.
6029 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
6030 (spu-*-elf*): Likewise.
6031 Add spu/t-elf to tmake_file.
6032 (v850*-*-*): Add t-fdpbit to tmake_file.
6033 (xstormy16-*-elf): Likewise.
6034 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
6035 (mep*-*-*): Likewise.
6036
e59be7e3 60372011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6038
6039 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
6040 variables.
6041 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
6042 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
6043 (install-unwind_h): New target.
6044 (all): Depend on it.
6045 * config.host (unwind_header): New variable.
6046 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
6047 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
6048 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
6049 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
6050 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
6051 Set unwind_header.
6052 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
6053 Set unwind_header.
6054 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
6055 arm*-*-eabi*.
6056 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
6057 Set unwind_header.
6058 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
6059 (ia64*-*-freebsd*): Likewise.
6060 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
6061 tmake_file.
6062 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
6063 $with_system_libunwind.
6064 (ia64*-*-hpux*): Set tmake_file.
6065 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
6066 (picochip-*-*): Set tmake_file.
6067 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
6068 md_unwind_header.
6069 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
6070 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
6071 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
6072 (xtensa*-*-elf*): Set tmake_file.
6073 (xtensa*-*-linux*): Likewise.
6074 * configure.ac: Include ../config/unwind_ipinfo.m4.
6075 Call GCC_CHECK_UNWIND_GETIPINFO.
6076 Link unwind.h to $unwind_header.
6077 * configure: Regenerate.
6078 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
6079 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
6080 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
6081 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
6082 * config/unwind-dw2-fde-darwin.c: New file.
6083 * config/arm/libunwind.S, config/arm/pr-support.c,
6084 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
6085 config/arm/unwind-arm.h,: New files.
6086 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
6087 config/ia64/t-eh-ia64, config/ia64/t-glibc,
6088 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
6089 config/ia64/t-vms, config/ia64/unwind-ia64.c,
6090 config/ia64/unwind-ia64.h: New files.
6091 * config/picochip/t-picochip: New file.
6092 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
6093 files.
6094 * config/rs6000/t-darwin (LIB2ADDEH): Set.
6095 * config/s390/t-tpf (LIB2ADDEH): Remove.
6096 * config/t-darwin (LIB2ADDEH): Set.
6097 * config/t-eh-dw2-dip: New file.
6098 * config/t-libunwind, config/t-libunwind-elf: New files.
6099 * config/t-sol2 (LIB2ADDEH): Remove.
6100 * config/xtensa/t-xtensa: New file.
6101
b57de711 61022011-08-02 H.J. Lu <hongjiu.lu@intel.com>
6103
6104 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
6105 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
6106 long long to check rt_sigreturn syscall.
6107
9a4af446 61082011-08-02 Alan Modra <amodra@gmail.com>
6109
6110 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6111 Restore for indirect call bcrtl from correct stack slot, and only
6112 if cfa+40 isn't valid.
6113
bbbe4599 61142011-08-01 Julian Brown <julian@codesourcery.com>
6115
6116 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
6117 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
6118 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
6119
ac34b7db 61202011-08-01 Julian Brown <julian@codesourcery.com>
6121
6122 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
6123 (libgcc-std.ver.in): Use above.
6124 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
6125 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
6126 throughout file.
6127 * config/t-fixedpoint-gnu-prefix: New file.
6128 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
6129 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
6130 instead of __PFX__.
6131
2a7dfa04 61322011-07-28 H.J. Lu <hongjiu.lu@intel.com>
6133
6134 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
6135 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
6136 for x86-64. Properly check __x86_64__ and __LP64__.
6137
a232cb08 61382010-07-28 H.J. Lu <hongjiu.lu@intel.com>
6139
6140 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
6141 version.
6142 (_FP_WS_TYPE): Likewise.
6143 (_FP_I_TYPE): Likewise.
6144
c54e2746 61452011-07-28 Alan Modra <amodra@gmail.com>
6146
6147 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
6148 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
6149 in a plt call stub. Do restore r2 if stopped on bctrl.
6150
4d72c922 61512011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6152
6153 * config.host (i[3456x]86-*-netware*): Remove.
6154 * config/i386/netware-crt0.c, config/i386/t-nwld,
6155 config/i386/t-slibgcc-nwld: Remove.
6156
5aa04b01 61572011-07-15 Bernd Schmidt <bernds@codesourcery.com>
6158
6159 * config.host: Handle tic6x-*-*.
6160 * config/c6x/c6x-abi.h: New file.
6161
ba079bc9 61622011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6163
6164 * config/i386/crtprec.c: New file.
6165 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
6166 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
6167 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
6168 (x86_64-*-darwin*): Likewise.
6169 (i[34567]86-*-solaris2*: Likewise.
6170
1125ba83 61712011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6172
6173 * config/alpha/crtfastmath.c: New file.
6174 * config/i386/crtfastmath.c: New file.
6175 * config/ia64/crtfastmath.c: New file.
6176 * config/mips/crtfastmath.c: New file.
6177 * config/sparc/crtfastmath.c: New file.
6178
6179 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
6180 crtfastmath.c.
6181 Add -frandom-seed=gcc-crtfastmath.
6182 * config/alpha/t-crtfm: Remove.
6183 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
6184 * config/ia64/t-ia64 (crtfastmath.o): Remove.
6185
6186 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
6187 (alpha*-dec-osf5.1*): Likewise.
6188 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
6189 Add crtfastmath.o to extra_parts.
6190 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
6191 Add crtfastmath.o to extra_parts.
6192 (x86_64-*-darwin*): Likewise.
6193 (x86_64-*-mingw*): Likewise.
6194 (ia64*-*-elf*): Add t-crtfm to tmake_file.
6195 (ia64*-*-freebsd*): Likewise.
6196 (ia64*-*-linux*): Likewise.
6197 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
6198 Add crtfastmath.o to extra_parts.
6199
1a4a11f3 62002011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6201
6202 * config/darwin-crt3.o: New file.
6203 * config/rs6000/darwin-crt2.c: New file.
6204 * config/t-darwin: New file.
6205 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
6206 (crt2.o): New rule.
6207 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
6208 (powerpc-*-darwin*): Add crt2.o to extra_parts.
6209 (powerpc64-*-darwin*): Likewise.
6210
ef3ab47f 62112011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6212
6213 * config/i386/netware-crt0.c: New file.
6214 * config/i386/t-nwld: Rename to ...
6215 * config/i386/t-slibgcc-nwld: ... this.
6216 * config/i386/t-nwld: New file.
6217 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
6218 tmake_file.
6219 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
6220 extra_parts.
6221
367b55f3 62222011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6223
6224 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
6225 i386/t-crtstuff.
6226 * configure: Regenerate.
6227
17aa03f5 62282011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6229
6230 * dfp-bit.c, dfp-bit.h: New files.
6231 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
6232 variables.
6233 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
6234 ($(d64pbit-o)): Likewise.
6235 ($(d128pbit-o)): Likewise.
6236 * config/t-dfprules: New file.
6237 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
6238 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
6239 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
6240 (x86_64-*-linux*): Likewise.
6241 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
6242 (i[34567]86-*-cygwin*): Likewise.
6243 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
6244 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
6245
2bc72a9f 62462011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6247
6248 * Makfile.in (LIBGCOV): New variable.
6249 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
6250 * libgcov.c: New file.
6251
36a5227d 62522011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6253
6254 * fixed-bit.c, fixed-bit.h: New files.
6255 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
6256 refer to fixed-bit.c.
6257
689a8077 62582011-07-07 Joseph Myers <joseph@codesourcery.com>
6259
6260 * config.host (*local*): Remove.
6261
14f27bc6 62622011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6263
6264 PR target/39150
6265 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
6266 like i?86-*-solaris2.1[0-9]*.
6267 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
6268 * configure.ac (i?86-*-solaris2*): Likewise.
6269 * configure: Regenerate.
6270
fe27820f 62712011-07-06 Thomas Schwinge <thomas@schwinge.name>
6272
6273 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
6274 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
6275 md_unwind_header by splitting out of...
6276 (i[34567]86-*-linux*): ... this.
6277 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
6278 Remove md_unwind_header by splitting out of...
6279 (x86_64-*-linux*): ... this.
6280
934ca5fd 62812011-07-04 Georg-Johann Lay <avr@gjlay.de>
6282
6283 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
6284
707238af 62852011-06-28 Nick Clifton <nickc@redhat.com>
6286
6287 * config.host: Recognize all V850 variants.
6288
5125dcef 62892011-06-22 Uros Bizjak <ubizjak@gmail.com>
6290
6291 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
6292
f92b36a5 62932011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6294
6295 * shared-object.mk (c_flags-$o): Save c_flags.
6296 ($(base)$(objext)): Use it.
6297 ($(base)_s$(objext)): Likewise.
6298
d8492bd3 62992011-06-21 Bernd Schmidt <bernds@codesourcery.com>
6300
6301 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6302 * libgcc-std.ver.in (GCC_4.7.0): New section.
6303
fa72efb7 63042011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 6305
fa72efb7 6306 PR target/49313
6307 PR target/29524
6308 * config/avr/t-avr: Fix line endings.
6309 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
6310 _parityXX2.
6311
adf7c0a1 63122011-06-14 Olivier Hainque <hainque@adacore.com>
6313 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6314
6315 * config/mips/irix6-unwind.h: New file.
6316 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6317
47529489 63182011-06-10 Eric Botcazou <ebotcazou@adacore.com>
6319
6320 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6321 (sparc64_fallback_frame_state): Use it.
6322 (sparc64_frob_update_context): Further adjust context.
6323 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6324 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6325 * config/sparc/sol2-cn.S: Likewise.
6326
a6f06169 63272011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6328
6329 * enable-execute-stack-empty.c: New file.
6330 * enable-execute-stack-mprotect.c: New file.
6331 * config/i386/enable-execute-stack-mingw32.c: New file.
6332 * config.host (enable_execute_stack): New variable.
6333 Select appropriate variants.
6334 * configure.ac: Link enable-execute-stack.c to
6335 $enable_execute_stack.
6336 * configure: Regenerate.
6337 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6338 (lib2funcs): Remove _enable_execute_stack.
6339
f9cccfac 63402011-06-09 David S. Miller <davem@davemloft.net>
6341 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6342
6343 * config.host (sparc-*-linux*): Correct md_unwind_header
6344 filename.
6345 (s390x-ibm-tpf*): Fix typo.
6346
ee884cfb 63472011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6348
6349 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
6350 Add crtfastmath.o to extra_parts.
6351 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
6352 mips/t-crtfm.
6353 * config/mips/t-crtfm: Remove.
6354
01cb8ad1 63552011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6356
6357 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
6358
73956a0d 63592011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
6360
6361 * config.host (sh*-*-linux*): Fix typo.
6362
1e53920f 63632011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6364
6365 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
6366 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
6367 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
6368 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
6369 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
6370 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
6371 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
6372 Wrap in !__MINGW64__.
6373 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
6374 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
6375 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
6376 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
6377 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
6378 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
6379 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
6380 Wrap in !__LP64__.
6381 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
6382 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
6383 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
6384 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
6385 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
6386 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
6387 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
6388 * config/no-unwind.h: New file.
6389 * config.host (md_unwind_header): Document.
6390 Define.
6391 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
6392 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
6393 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
6394 hppa[12]*-*-hpux11*): Set md_unwind_header.
6395 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
6396 Set md_unwind_header.
6397 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
6398 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
6399 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
6400 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
6401 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
6402 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
6403 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
6404 md_unwind_header.
6405 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
6406 * configure: Regenerate.
6407
8087ae75 64082011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6409
6410 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
6411 Set tmake_file, extra_parts.
6412 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
6413 Remove O32 support.
6414 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
6415 Remove O32 support.
6416 * config/mips/t-irix6: New file.
6417 * config/mips/t-slibgcc-irix: New file.
6418
506cfbc8 64192011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6420
6421 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
6422 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
6423
541346b9 64242011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6425
6426 * configure.ac (target_thread_file): Determine thread model.
6427 * configure: Regenerate.
6428 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
6429 * config/alpha/t-alpha: New file.
6430 * config/alpha/t-crtfm: Use $<.
6431 * config/alpha/t-ieee: New file.
6432 * config/alpha/t-osf-pthread: New file.
6433 * config/alpha/t-slibgcc-osf: New file.
6434 * config/alpha/libgcc-osf5.ver: New file.
6435
43ae7603 64362011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6437
6438 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
6439 tmake_file.
6440 Add crtfastmath.o to extra_parts.
6441
f0d9a626 64422011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6443
6444 * config/gmon-sol2.c: Reindent.
6445 Cleanup comments.
6446 Remove, correct casts.
6447 Use STDERR_FILENO, NULL.
6448 (BASEADDRESS): Remove.
6449 (minbrk): Remove.
6450 (errno, sbrk): Remove declarations.
6451 (monstartup) [hp300]: Remove.
6452 (mcount): Remove.
6453
63abf89e 64542011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6455
6456 * Makefile.in (cpu_type): Define.
6457 * config.host (i[34567]86-*-rtems*): Handle it.
6458 (i[34567]86-*-solaris2*): Move body ...
6459 (*-*-solaris2*): ... here.
6460 New case, generalize.
6461 (sparc-*-elf*): Handle it.
6462 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
6463 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
6464 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
6465 Fold into ...
6466 (sparc*-*-solaris2*): ... this.
6467 New case.
6468 (sparc64-*-elf*): Handle it.
6469 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
6470 Merge ../gcc/config/i386/gmon-sol2.c.
6471 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
6472 Use C comments.
6473 Merge ../gcc/config/i386/sol2-gc1.asm.
6474 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
6475 Use C comments.
6476 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
6477 Use C comments.
6478 * config/i386/t-crtfm (crtfastmath.o): Use $<.
6479 * config/i386/t-crtstuff: New file.
6480 * config/i386/t-softfp: New file.
6481 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
6482 $(T)crti.o, $(T)crtn.o): Remove.
6483 (gcrt1.o): New rule.
6484 (TARGET_LIBGCC2_CFLAGS): Remove.
6485 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
6486 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
6487 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
6488 * config/sparc/t-sol2: New file.
6489 * config/sparc/t-crtfm: Move to ...
6490 * config/t-crtfm: ... this.
6491 Use $(cpu_type), $<.
6492 * config/t-crtin: New file.
6493 * config/sparc/t-softfp: New file.
6494 * config/sparc/t-softmul: New file.
6495 * config/t-rtems: New file.
6496 * config/t-slibgcc: New file.
6497 * config/t-slibgcc-elf-ver: New file.
6498 * config/t-slibgcc-gld: New file.
6499 * config/t-slibgcc-sld: New file.
6500 * config/t-sol2: New file.
6501 * configure.ac: Include ../config/lib-ld.m4.
6502 Call AC_LIB_PROG_LD_GNU.
6503 Substitute cpu_type.
6504 * configure: Regenerate.
6505
b1da9d72 65062011-05-27 Bernd Schmidt <bernds@codesourcery.com>
6507
6508 PR bootstrap/49173
6509 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
6510 libgcc-std.ver in the build directory.
6511 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
6512 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
6513
f308a9b2 65142011-05-25 Bernd Schmidt <bernds@codesourcery.com>
6515
6516 * libgcc-std.ver.in: New file.
6517 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
6518 variables.
6519 (libgcc-std.ver): New rule.
6520 * config/t-gnu-prefix: New file.
6521
c177b341 65222011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6523
6524 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
6525
8633828c 65262011-05-10 Joseph Myers <joseph@codesourcery.com>
6527
6528 * config/i386/darwin-lib.h: New file.
6529
3be74046 65302011-05-10 Joseph Myers <joseph@codesourcery.com>
6531
6532 * config/arm/symbian-lib.h: New.
6533
5e1a494e 65342011-05-04 Chris Demetriou <cgd@google.com>
6535
6536 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
6537 (__x86.get_pc_thunk.bx): ...this.
6538 (__morestack): Adjust for rename, remove undef of __i686.
6539
0bb50d04 65402011-05-03 Chris Demetriou <cgd@google.com>
6541
6542 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
6543
17b3d2a8 65442011-03-22 Joseph Myers <joseph@codesourcery.com>
6545
6546 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
6547 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
6548 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
6549 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
6550 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
6551 Remove cases.
6552
95525c17 65532011-03-14 Andreas Tobler <andreast@fgznet.ch>
6554
6555 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
6556 Adjust copyright year.
6557
82c96609 65582011-03-07 Ian Lance Taylor <iant@google.com>
6559
6560 * generic-morestack.c (__splitstack_find): Adjust returned stack
6561 pointer to include all registers pushed by __morestack.
6562
abfe0c5b 65632011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
6564
6565 PR target/40125
6566 * configure.ac: Call ACX_NONCANONICAL_TARGET.
6567 (toolexecdir): Calculate and AC_SUBST.
6568 (toolexeclibdir): Likewise.
6569 * Makefile.in (target_noncanonical): Import.
6570 (toolexecdir): Likewise.
6571 (toolexeclibdir): Likewise.
6572 * configure: Regenerate.
6573
48f93ee5 65742010-12-13 Nathan Froyd <froydnj@codesourcery.com>
6575
6576 PR target/46040
6577 * config/arm/bpabi.h: Rename to...
6578 * config/arm/bpabi-lib.h: ...this.
6579
76aa642f 65802010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6581
6582 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
6583 appropriate.
6584 * configure: Regenerate.
6585
e8b06528 65862010-11-24 Nathan Froyd <froydnj@codesourcery.com>
6587
6588 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
6589 __FLOAT_WORD_ORDER__.
6590 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
6591 Delete.
6592
2b7a4d59 65932010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6594
6595 PR other/46202
6596 * Makefile.in (install-strip): New phony target.
6597
457123d6 65982010-11-07 Ian Lance Taylor <iant@google.com>
6599
6600 PR target/46089
6601 * config/i386/morestack.S (__morestack_large_model): New
6602 function.
6603
f6e5e456 66042010-10-23 Nathan Froyd <froydnj@codesourcery.com>
6605
6606 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
6607 Delete.
6608 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
6609
faf175ae 66102010-10-14 Nathan Froyd <froydnj@codesourcery.com>
6611
6612 * config/arm/bpabi.h: New file.
6613 * config/frv/frv-abi.h: New file.
6614
9266176d 66152010-10-01 Ian Lance Taylor <iant@google.com>
6616
6617 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
6618 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
6619
13ba4217 66202010-10-01 H.J. Lu <hongjiu.lu@intel.com>
6621
6622 PR target/45858
6623 * config.host: Add the missing `$'.
6624
d34b0d1e 66252010-09-30 Michael Eager <eager@eagercon.com>
6626
6627 * config.host: Add microblaze*-*-*.
6628 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
6629 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
6630 udivsi3.asm,umodsi3.asm}: New.
6631
78ca2689 66322010-09-28 Ian Lance Taylor <iant@google.com>
6633
6634 * configure.ac: Adjust CFI test to test assembler directly rather
6635 than checking gcc preprocessor macro.
6636 * configure: Rebuild.
6637
c9b3ebc5 66382010-09-27 Ian Lance Taylor <iant@google.com>
6639
6640 * configure.ac: Test whether assembler supports CFI directives.
6641 * config.host: Only add t-stack and i386/t-stack-i386 to
6642 tmake_file if libgcc_cv_cfi is "yes".
6643 * configure: Rebuild.
6644
48b14f50 66452010-09-27 Ian Lance Taylor <iant@google.com>
6646
6647 * generic-morestack.h: New file.
6648 * generic-morestack.c: New file.
6649 * generic-morestack-thread.c: New file.
6650 * config/i386/morestack.S: New file.
6651 * config/t-stack: New file.
6652 * config/i386/t-stack-i386: New file.
6653 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
6654 i386/t-stack-i386 to tmake_file.
6655
fd80c7a1 66562010-09-21 Iain Sandoe <iains@gcc.gnu.org>
6657
6658 * Makefile.in (libgcc-extra-parts): Check for static archives and
6659 invoke ranlib after installing them.
6660 (gcc-extra-parts): Likewise.
6661 (install-leaf): Likewise.
6662
70fbcd6d 66632010-09-14 H.J. Lu <hongjiu.lu@intel.com>
6664
6665 * configure: Regenerated.
6666
19aace05 66672010-09-10 Kai Tietz <kai.tietz@onevision.com>
6668
70fbcd6d 6669 * configure: Regenerated.
19aace05 6670
279dadf5 66712010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
6672 Andrew Pinski <pinskia@gmail.com>
6673
5125dcef 6674 PR target/40959
279dadf5 6675 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
6676
a87eb011 66772010-09-06 H.J. Lu <hongjiu.lu@intel.com>
6678
6679 PR target/45524
6680 * configure: Regenerated.
6681
e6425baf 66822010-09-06 Andreas Schwab <schwab@redhat.com>
6683
6684 * configure: Regenerate.
6685
e88f4c66 66862010-09-03 Uros Bizjak <ubizjak@gmail.com>
6687
6688 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
6689 64bit targets.
6690 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
6691 for 64bit targets.
6692
1d8139cc 66932010-09-03 Uros Bizjak <ubizjak@gmail.com>
6694 Iain Sandoe <iains@gcc.gnu.org>
6695
6696 PR target/45476
6697 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
6698 LIB2FUNCS_EXCLUDE functions.
6699
23340821 67002010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6701
6702 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
6703 Include dfp.m4.
6704 * configure: Regenerate.
6705
278afeb5 67062010-09-01 Uros Bizjak <ubizjak@gmail.com>
6707
6708 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
6709 i386/t-freebsd to tmake_file.
6710 * config/i386/t-freebsd: New file.
6711 * config/i386/libgcc-bsd.ver: New file.
6712
952bf8bb 67132010-07-23 Nathan Froyd <froydnj@codesourcery.com>
6714
6715 * config.host (powerpc*-eabispe*): Set tmake_file.
6716 (powerpc*-eabi*): Likewise.
6717 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
6718 crtbeginS, crtendS, crtbeginT.
6719
283681bb 67202010-06-12 Kazu Hirata <kazu@codesourcery.com>
6721
6722 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
6723 to tmake_file. Add crtfastmath.o to extra_parts.
6724 * config/mips/t-crtfm: New.
6725
92e91d03 67262010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a6180b96 6727
6728 * config.host (sparc64-*-rtems*): New target.
6729
05157f42 67302010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6731
6732 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6733 assembler syntax.
6734
8a84c748 67352010-04-15 Thomas Schwinge <tschwinge@gnu.org>
6736
6737 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
6738
ed3e1bbc 67392010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6740
6741 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
6742 alpha-dec-osf5.0* support.
6743
92e91d03 67442010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 6745
6746 * config.host: Add lm32-*-rtems*.
6747
20be3c56 67482010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
92e91d03 6749 Uros Bizjak <ubizjak@gmail.com>
20be3c56 6750
6751 PR target/39048
6752 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
6753 like other remaining 32-bit x86 OSes.
6754 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6755 assembler syntax.
6756 * config/i386/libgcc-sol2.ver: New file.
6757 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
6758
92e91d03 67592010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
8f0f72c0 6760
6761 PR c/43553
6762 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
6763 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
6764 is used and substitute set_use_emutls.
6765 * configure: Regenerated.
6766
cf842d6a 67672010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
6768
6769 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
6770
4dcd7ab3 67712010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6772
6773 PR target/38085
6774 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
6775 MULTILIB_CFLAGS.
6776 ($(T)gcrt1.o): Likewise.
6777 ($(T)crt1.o): Likewise.
6778 ($(T)crti.o): Likewise.
6779 ($(T)crtn.o): Likewise.
6780
a426f025 67812010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6782
6783 PR other/42980
6784 * Makefile.in (install): Use $(MAKE) string in rule, for
6785 parallel make.
6786
8525326e 67872010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
6788
6789 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
6790 * config/mmix/t-mmix: New file.
6791 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
6792
14a10763 67932010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
6794
6795 PR java/41991
6796 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
6797 SHLIB_MAPFILES.
6798
00301a1a 67992010-01-04 Anthony Green <green@moxielogic.com>
6800
6801 * config/moxie/crti.asm, config/moxie/crtn.asm,
6802 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
6803 config/moxie/t-moxie: New files.
6804 * config.host: Add t-moxie-softfp reference.
6805
92e91d03 68062009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
d2b1aa3d 6807
6808 PR other/39888
6809 * config/t-slibgcc-darwin: Fix embedded rpaths for
6810 --enable-version-specific-runtime-libs, build extension stub
6811 libs exposing features available from current libgcc_s.
6812
92e91d03 68132009-11-11 Jon Beniston <jon@beniston.com>
f6fe91e8 6814
278afeb5 6815 * config.host: Add lm32 targets.
6816 * config/lm32: New directory.
6817 * config/lm32/libgcc_lm32.h: New file.
6818 * config/lm32/_mulsi3.c: New file.
6819 * config/lm32/_udivmodsi4.c: New file.
6820 * config/lm32/_divsi3.c: New file.
6821 * config/lm32/_modsi3.c: New file.
6822 * config/lm32/_udivsi3.c: New file.
6823 * config/lm32/_umodsi3.c: New file.
6824 * config/lm32/_lshrsi3.S: New file.
6825 * config/lm32/_ashrsi3.S: New file.
6826 * config/lm32/_ashlsi3.S: New file.
6827 * config/lm32/crti.S: New file.
6828 * config/lm32/crtn.S: New file.
6829 * config/lm32/t-lm32: New file.
6830 * config/lm32/t-elf: New file.
6831 * config/lm32/t-uclinux: New file.
f6fe91e8 6832
24833e1a 68332009-10-26 Nick Clifton <nickc@redhat.com>
6834
6835 * config.host: Add support for RX target.
6836 * config/rx: New directory.
6837 * config/rx/rx-abi-functions.c: New file. Supplementary
6838 functions for libgcc to support the RX ABI.
6839 * config/rx/rx-abi.h: New file. Supplementary header file for
6840 libgcc RX ABI functions.
6841 * config/rx/t-rx: New file: Makefile fragment for building
6842 libgcc for the RX.
6843
1d7e299f 68442009-10-09 Uros Bizjak <ubizjak@gmail.com>
6845
6846 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
6847 constraint of y0 to "g".
6848
e38fe738 68492009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6850
6851 * config.host: Include the s390 makefile fragments.
6852 * config/s390/32/_fixdfdi.c: New file.
6853 * config/s390/32/_fixsfdi.c: New file.
6854 * config/s390/32/_fixtfdi.c: New file.
6855 * config/s390/32/_fixunsdfdi.c: New file.
6856 * config/s390/32/_fixunssfdi.c: New file.
6857 * config/s390/32/_fixunstfdi.c: New file.
6858 * config/s390/32/t-floattodi: New file.
6859 * config/s390/libgcc-glibc.ver: New file.
6860 * config/s390/t-crtstuff: New file.
6861 * config/s390/t-linux: New file.
6862 * config/s390/t-tpf: New file.
6863
81a71e2b 68642009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6865
6866 * configure.ac (AC_PREREQ): Bump to 2.64.
6867
a1ef431d 68682009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
6869
6870 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
6871
cd9a469c 68722009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6873
6874 * configure: Regenerate.
6875
9b9a2528 68762009-08-09 Douglas B Rupp <rupp@gnat.com>
6877
6878 * config.host (ia64-hp-*vms*): New target.
6879 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6880 with ia64-hp-*vms*.
6881
a2655af1 68822009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6883
6884 * configure.ac: Add snippet for maintainer-mode.
6885 * configure: Regenerate.
6886 * Makefile.in (AUTOCONF, configure_deps): New variables.
6887 ($(srcdir)/configure)): New rule, active only with maintainer
6888 mode turned on.
6889
46222c18 68902009-06-23 DJ Delorie <dj@redhat.com>
6891
6892 Add MeP port.
6893 * config.host: Add mep support.
6894
13dc7657 68952009-06-22 Kai Tietz <kai.tietz@onevision.com>
6896
82a3cc73 6897 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 6898 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 6899
6900 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6901 for mingw targets.
13dc7657 6902 * config/i386/64/_multc3.c: Likewise.
6903 * config/i386/64/_powitf2.c: Likewise.
6904 * config/i386/64/eqtf2.c: Likewise.
6905 * config/i386/64/getf2.c: Likewise.
6906 * config/i386/64/letf2.c: Likewise.
6907 * config/i386/64/letf2.c: Likewise.
82a3cc73 6908 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6909 unsigned long long for x64 mingw targets.
6910 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6911 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 6912
63bfd172 69132009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
6914
6915 * config.host (vax-*-linux*): New.
6916
be52b6d8 69172009-05-31 Anthony Green <green@moxielogic.com>
6918
6919 * config.host: Add moxie support.
6920 * config/moxie/t-moxie: New file.
6921
92e91d03 69222009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6471e33b 6923
6924 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 6925 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 6926
09ec66c8 69272009-04-17 Aurelien Jarno <aurelien@aurel32.net>
6928
6929 * config.host: Add i386/${host_address}/t-fprules-softfp to
6930 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6931
6bc9506f 69322009-04-09 Nick Clifton <nickc@redhat.com>
6933
6934 * config/ia64/tf-signs.c: Change copyright header to refer to
6935 version 3 of the GNU General Public License with version 3.1
6936 of the GCC Runtime Library Exception and to point readers at
6937 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6938 web page.
6939 * config/i386/32/tf-signs.c: Likewise.
6940 * config/libbid/_addsub_dd.c: Likewise.
6941 * config/libbid/_addsub_sd.c: Likewise.
6942 * config/libbid/_addsub_td.c: Likewise.
6943 * config/libbid/_dd_to_df.c: Likewise.
6944 * config/libbid/_dd_to_di.c: Likewise.
6945 * config/libbid/_dd_to_sd.c: Likewise.
6946 * config/libbid/_dd_to_sf.c: Likewise.
6947 * config/libbid/_dd_to_si.c: Likewise.
6948 * config/libbid/_dd_to_td.c: Likewise.
6949 * config/libbid/_dd_to_tf.c: Likewise.
6950 * config/libbid/_dd_to_udi.c: Likewise.
6951 * config/libbid/_dd_to_usi.c: Likewise.
6952 * config/libbid/_dd_to_xf.c: Likewise.
6953 * config/libbid/_df_to_dd.c: Likewise.
6954 * config/libbid/_df_to_sd.c: Likewise.
6955 * config/libbid/_df_to_td.c: Likewise.
6956 * config/libbid/_di_to_dd.c: Likewise.
6957 * config/libbid/_di_to_sd.c: Likewise.
6958 * config/libbid/_di_to_td.c: Likewise.
6959 * config/libbid/_div_dd.c: Likewise.
6960 * config/libbid/_div_sd.c: Likewise.
6961 * config/libbid/_div_td.c: Likewise.
6962 * config/libbid/_eq_dd.c: Likewise.
6963 * config/libbid/_eq_sd.c: Likewise.
6964 * config/libbid/_eq_td.c: Likewise.
6965 * config/libbid/_ge_dd.c: Likewise.
6966 * config/libbid/_ge_sd.c: Likewise.
6967 * config/libbid/_ge_td.c: Likewise.
6968 * config/libbid/_gt_dd.c: Likewise.
6969 * config/libbid/_gt_sd.c: Likewise.
6970 * config/libbid/_gt_td.c: Likewise.
6971 * config/libbid/_isinfd128.c: Likewise.
6972 * config/libbid/_isinfd32.c: Likewise.
6973 * config/libbid/_isinfd64.c: Likewise.
6974 * config/libbid/_le_dd.c: Likewise.
6975 * config/libbid/_le_sd.c: Likewise.
6976 * config/libbid/_le_td.c: Likewise.
6977 * config/libbid/_lt_dd.c: Likewise.
6978 * config/libbid/_lt_sd.c: Likewise.
6979 * config/libbid/_lt_td.c: Likewise.
6980 * config/libbid/_mul_dd.c: Likewise.
6981 * config/libbid/_mul_sd.c: Likewise.
6982 * config/libbid/_mul_td.c: Likewise.
6983 * config/libbid/_ne_dd.c: Likewise.
6984 * config/libbid/_ne_sd.c: Likewise.
6985 * config/libbid/_ne_td.c: Likewise.
6986 * config/libbid/_sd_to_dd.c: Likewise.
6987 * config/libbid/_sd_to_df.c: Likewise.
6988 * config/libbid/_sd_to_di.c: Likewise.
6989 * config/libbid/_sd_to_sf.c: Likewise.
6990 * config/libbid/_sd_to_si.c: Likewise.
6991 * config/libbid/_sd_to_td.c: Likewise.
6992 * config/libbid/_sd_to_tf.c: Likewise.
6993 * config/libbid/_sd_to_udi.c: Likewise.
6994 * config/libbid/_sd_to_usi.c: Likewise.
6995 * config/libbid/_sd_to_xf.c: Likewise.
6996 * config/libbid/_sf_to_dd.c: Likewise.
6997 * config/libbid/_sf_to_sd.c: Likewise.
6998 * config/libbid/_sf_to_td.c: Likewise.
6999 * config/libbid/_si_to_dd.c: Likewise.
7000 * config/libbid/_si_to_sd.c: Likewise.
7001 * config/libbid/_si_to_td.c: Likewise.
7002 * config/libbid/_td_to_dd.c: Likewise.
7003 * config/libbid/_td_to_df.c: Likewise.
7004 * config/libbid/_td_to_di.c: Likewise.
7005 * config/libbid/_td_to_sd.c: Likewise.
7006 * config/libbid/_td_to_sf.c: Likewise.
7007 * config/libbid/_td_to_si.c: Likewise.
7008 * config/libbid/_td_to_tf.c: Likewise.
7009 * config/libbid/_td_to_udi.c: Likewise.
7010 * config/libbid/_td_to_usi.c: Likewise.
7011 * config/libbid/_td_to_xf.c: Likewise.
7012 * config/libbid/_tf_to_dd.c: Likewise.
7013 * config/libbid/_tf_to_sd.c: Likewise.
7014 * config/libbid/_tf_to_td.c: Likewise.
7015 * config/libbid/_udi_to_dd.c: Likewise.
7016 * config/libbid/_udi_to_sd.c: Likewise.
7017 * config/libbid/_udi_to_td.c: Likewise.
7018 * config/libbid/_unord_dd.c: Likewise.
7019 * config/libbid/_unord_sd.c: Likewise.
7020 * config/libbid/_unord_td.c: Likewise.
7021 * config/libbid/_usi_to_dd.c: Likewise.
7022 * config/libbid/_usi_to_sd.c: Likewise.
7023 * config/libbid/_usi_to_td.c: Likewise.
7024 * config/libbid/_xf_to_dd.c: Likewise.
7025 * config/libbid/_xf_to_sd.c: Likewise.
7026 * config/libbid/_xf_to_td.c: Likewise.
7027 * config/libbid/bid128.c: Likewise.
7028 * config/libbid/bid128_2_str.h: Likewise.
7029 * config/libbid/bid128_2_str_macros.h: Likewise.
7030 * config/libbid/bid128_2_str_tables.c: Likewise.
7031 * config/libbid/bid128_add.c: Likewise.
7032 * config/libbid/bid128_compare.c: Likewise.
7033 * config/libbid/bid128_div.c: Likewise.
7034 * config/libbid/bid128_fma.c: Likewise.
7035 * config/libbid/bid128_logb.c: Likewise.
7036 * config/libbid/bid128_minmax.c: Likewise.
7037 * config/libbid/bid128_mul.c: Likewise.
7038 * config/libbid/bid128_next.c: Likewise.
7039 * config/libbid/bid128_noncomp.c: Likewise.
7040 * config/libbid/bid128_quantize.c: Likewise.
7041 * config/libbid/bid128_rem.c: Likewise.
7042 * config/libbid/bid128_round_integral.c: Likewise.
7043 * config/libbid/bid128_scalb.c: Likewise.
7044 * config/libbid/bid128_sqrt.c: Likewise.
7045 * config/libbid/bid128_string.c: Likewise.
7046 * config/libbid/bid128_to_int16.c: Likewise.
7047 * config/libbid/bid128_to_int32.c: Likewise.
7048 * config/libbid/bid128_to_int64.c: Likewise.
7049 * config/libbid/bid128_to_int8.c: Likewise.
7050 * config/libbid/bid128_to_uint16.c: Likewise.
7051 * config/libbid/bid128_to_uint32.c: Likewise.
7052 * config/libbid/bid128_to_uint64.c: Likewise.
7053 * config/libbid/bid128_to_uint8.c: Likewise.
7054 * config/libbid/bid32_to_bid128.c: Likewise.
7055 * config/libbid/bid32_to_bid64.c: Likewise.
7056 * config/libbid/bid64_add.c: Likewise.
7057 * config/libbid/bid64_compare.c: Likewise.
7058 * config/libbid/bid64_div.c: Likewise.
7059 * config/libbid/bid64_fma.c: Likewise.
7060 * config/libbid/bid64_logb.c: Likewise.
7061 * config/libbid/bid64_minmax.c: Likewise.
7062 * config/libbid/bid64_mul.c: Likewise.
7063 * config/libbid/bid64_next.c: Likewise.
7064 * config/libbid/bid64_noncomp.c: Likewise.
7065 * config/libbid/bid64_quantize.c: Likewise.
7066 * config/libbid/bid64_rem.c: Likewise.
7067 * config/libbid/bid64_round_integral.c: Likewise.
7068 * config/libbid/bid64_scalb.c: Likewise.
7069 * config/libbid/bid64_sqrt.c: Likewise.
7070 * config/libbid/bid64_string.c: Likewise.
7071 * config/libbid/bid64_to_bid128.c: Likewise.
7072 * config/libbid/bid64_to_int16.c: Likewise.
7073 * config/libbid/bid64_to_int32.c: Likewise.
7074 * config/libbid/bid64_to_int64.c: Likewise.
7075 * config/libbid/bid64_to_int8.c: Likewise.
7076 * config/libbid/bid64_to_uint16.c: Likewise.
7077 * config/libbid/bid64_to_uint32.c: Likewise.
7078 * config/libbid/bid64_to_uint64.c: Likewise.
7079 * config/libbid/bid64_to_uint8.c: Likewise.
7080 * config/libbid/bid_b2d.h: Likewise.
7081 * config/libbid/bid_binarydecimal.c: Likewise.
7082 * config/libbid/bid_conf.h: Likewise.
7083 * config/libbid/bid_convert_data.c: Likewise.
7084 * config/libbid/bid_decimal_data.c: Likewise.
7085 * config/libbid/bid_decimal_globals.c: Likewise.
7086 * config/libbid/bid_div_macros.h: Likewise.
7087 * config/libbid/bid_dpd.c: Likewise.
7088 * config/libbid/bid_flag_operations.c: Likewise.
7089 * config/libbid/bid_from_int.c: Likewise.
7090 * config/libbid/bid_functions.h: Likewise.
7091 * config/libbid/bid_gcc_intrinsics.h: Likewise.
7092 * config/libbid/bid_inline_add.h: Likewise.
7093 * config/libbid/bid_internal.h: Likewise.
7094 * config/libbid/bid_round.c: Likewise.
7095 * config/libbid/bid_sqrt_macros.h: Likewise.
7096
70972009-04-09 Jakub Jelinek <jakub@redhat.com>
7098
7099 * Makefile.in: Change copyright header to refer to version
7100 3 of the GNU General Public License and to point readers at the
7101 COPYING3 file and the FSF's license web page.
7102 * config.host: Likewise.
7103
4e5e2802 71042009-04-07 Alan Modra <amodra@bigpond.net.au>
7105
7106 * config.host: Reorder and merge to match config.gcc change.
7107
8d40ea45 71082009-04-03 Alan Modra <amodra@bigpond.net.au>
7109
7110 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
7111
f2397fc4 71122009-03-28 Joseph Myers <joseph@codesourcery.com>
7113
7114 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
7115 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
7116 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
7117 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
7118
24200b28 71192009-02-12 Uros Bizjak <ubizjak@gmail.com>
7120
7121 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
7122 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7123
8b21beb2 71242009-02-12 H.J. Lu <hongjiu.lu@intel.com>
7125
24200b28 7126 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
7127 ia64/t-softfp-compat to tmake_file.
8b21beb2 7128
7129 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
7130
7131 * config/ia64/__divxf3.asm: New.
7132 * config/ia64/_fixtfdi.asm: Likewise.
7133 * config/ia64/_fixunstfdi.asm: Likewise.
7134 * config/ia64/_floatditf.asm: Likewise.
7135 * config/ia64/t-fprules-softfp: Likewise.
7136 * config/ia64/t-softfp-compat: Likewise.
7137 * config/ia64/tf-signs.c: Likewise.
7138
9df8be69 71392009-01-18 Ben Elliston <bje@au.ibm.com>
7140
7141 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
7142
f2b540ae 71432009-01-16 Ben Elliston <bje@au.ibm.com>
7144
7145 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
7146 to tmake_file.
7147
5790f80a 71482009-01-13 Ben Elliston <bje@au.ibm.com>
7149
7150 * config/t-softfp: New file.
7151 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
7152 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
7153
92e91d03 71542009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
b8138586 7155
7156 * config.host: Add m32r*-*-rtems*.
7157
92e91d03 71582008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
7eac0a4e 7159
7160 * config.host: Add m32c*-*-rtems*.
7161
03150a33 71622008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7163
7164 PR bootstrap/33100
7165 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
7166 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
7167 * configure: Regenerate.
7168 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
7169 tmake_file here from gcc/config.gcc.
7170 Move extra_parts here from gcc/config.gcc.
7171 * config/i386/t-sol2: Move here from gcc/config/i386.
7172 Use gcc_srcdir instead of srcdir.
7173
77a32a8e 71742008-11-18 Adam Nemet <anemet@caviumnetworks.com>
7175
7176 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
7177 case.
7178
1eab96a6 71792008-11-09 Thomas Schwinge <tschwinge@gnu.org>
7180
7181 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
7182
74cd9df8 71832008-10-08 Thomas Schwinge <tschwinge@gnu.org>
7184
7185 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
7186
8372e9ea 71872008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
7188
7189 Add picoChip port.
7190 * config.host: Add picochip-*-*.
7191
75c7ffbc 71922008-08-06 Bob Wilson <bob.wilson@acm.org>
7193
7194 * config.host: Match more processor names for Xtensa.
7195
fb4830c6 71962008-07-08 H.J. Lu <hongjiu.lu@intel.com>
7197
7198 * config/i386/64/t-softfp-compat: Update comments.
7199
7c92db45 72002008-07-07 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 * config/i386/64/_divtc3-compat.c: Moved to ...
7203 * config/i386/64/_divtc3.c: Here.
7204
7205 * config/i386/64/_multc3-compat.c: Moved to ...
7206 * config/i386/64/_multc3.c: Here.
7207
7208 * config/i386/64/_powitf2-compat.c: Moved to ...
7209 * config/i386/64/_powitf2.c: Here.
7210
7211 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
7212 .c suffix instead of -compat.c.
7213
ec2e6a4e 72142008-07-05 Uros Bizjak <ubizjak@gmail.com>
7215
7216 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
7217 (_FP_MUL_MEAT_D): Ditto.
7218 (_FP_DIV_MEAT_S): Ditto.
7219 (_FP_DIV_MEAT_D): Ditto.
7220
fdbb505a 72212008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
7222
7223 * Makefile.in: Add support for __sync_* libgcc functions.
7224
310c48f2 72252008-07-03 H.J. Lu <hongjiu.lu@intel.com>
7226
7227 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
7228
144633f4 72292008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7230
7231 PR boostrap/36702
7232 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
7233 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
7234
7235 * config/i386/64/t-fprules-softfp: Moved to ...
7236 * config/i386/64/t-softfp-compat: This. New.
7237
e25ffafe 72382008-07-02 Uros Bizjak <ubizjak@gmail.com>
7239
7240 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
7241 Initialize f with 0.0.
7242
b3fd46a0 72432008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7244
7245 PR target/36669
7246 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
7247
7248 * config/i386/64/_divtc3-compat.c: New.
7249 * config/i386/64/_multc3-compat.c: Likewise.
7250 * config/i386/64/_powitf2-compat.c: Likewise.
7251 * config/i386/64/eqtf2.c: Likewise.
7252 * config/i386/64/getf2.c: Likewise.
7253 * config/i386/64/letf2.c: Likewise.
7254 * config/i386/64/t-fprules-softfp: Likewise.
7255
72562008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7257
7258 * config.host: Add i386/${host_address}/t-fprules-softfp to
7259 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 7260 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 7261
7262 * configure.ac: Set host_address to 64 or 32 for x86.
7263 * configure: Regenerated.
7264
7265 * Makefile.in (config.status): Also depend on
7266 $(srcdir)/config.host.
7267
7268 * config/i386/32/t-fprules-softfp: New.
7269 * config/i386/32/tf-signs.c: Likewise.
7270
7271 * config/i386/64/sfp-machine.h: New. Moved from gcc.
7272
72732008-07-02 H.J. Lu <hongjiu.lu@intel.com>
7274 Uros Bizjak <ubizjak@gmail.com>
7275
7276 * config/i386/32/sfp-machine.h: New.
7277
eaef9489 72782008-06-26 Nathan Froyd <froydnj@codesourcery.com>
7279
7280 * config/rs6000/t-ppccomm: Remove rules that conflict with
7281 auto-generated rules.
7282
5b2c7553 72832008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7284
7285 * configure.ac: sinclude override.m4.
7286 * configure: Regenerate.
7287
dde02e56 72882008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
7289
7290 * configure: Regenerate.
7291
4d6f3aad 72922008-06-10 Joseph Myers <joseph@codesourcery.com>
7293
7294 * Makefile.in (DECNUMINC): Remove
7295 -I$(MULTIBUILDTOP)../../libdecnumber.
7296 * gstdint.h: New.
7297
6af9f7ea 72982008-06-07 Joseph Myers <joseph@codesourcery.com>
7299
7300 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7301 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7302 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7303 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7304 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7305 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7306 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7307 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7308 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7309 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7310 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7311 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7312 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7313 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7314
ccf1c0f1 73152008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
7316
7317 * config.host (sh2[lbe]*-*-linux*): Allow target.
7318
19872d0b 73192008-04-30 Nathan Froyd <froydnj@codesourcery.com>
7320
7321 * config/rs6000/t-ppccomm: Add build rules for new files.
7322 (LIB2ADD_ST): New variable.
7323
38dd5584 73242008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
7325
7326 PR target/34210
7327 PR target/35508
7328 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7329 * config/t-avr: New file. Build 16bit libgcc functions.
7330
8e5da69c 73312008-03-02 Jakub Jelinek <jakub@redhat.com>
7332
7333 PR target/35401
7334 * config/t-slibgcc-darwin: Make install-leaf dependent on
7335 install-darwin-libgcc-stubs instead of install.
7336
99c77e32 73372008-01-25 Joseph Myers <joseph@codesourcery.com>
7338
7339 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7340 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7341 sh-*-rtemscoff*): Remove cases.
7342
8237872e 73432007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
7344
7345 * Makefile.in (all): Use install-leaf rather than install.
7346 (install): Split most of the rule into...
7347 (install-leaf): ...this new one.
7348
00a05b87 73492007-12-19 Etsushi Kato <ek.kato@gmail.com>
7350 Paolo Bonzini <bonzini@gnu.org>
7351
7352 PR target/30572
e25ffafe 7353 * Makefile.in: Use @shlib_slibdir@ substitution to get
7354 correct install name on darwin.
00a05b87 7355 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 7356
877d7f12 73572007-12-15 Hans-Peter Nilsson <hp@axis.com>
7358
7359 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
7360 cris-*-elf and cris-*-none.
7361 (crisv32-*-linux*): Similar, as cris-*-linux*.
7362
75612461 73632007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
7364
7365 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
7366
f11b4169 73672007-10-27 H.J. Lu <hongjiu.lu@intel.com>
7368
7369 PR regression/33926
7370 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
7371 * configure: Regenerated.
7372
84d1fc49 73732007-09-27 H.J. Lu <hongjiu.lu@intel.com>
7374
7375 * Makefile.in (dfp-filenames): Replace decimal_globals,
7376 decimal_data, binarydecimal and convert_data with
7377 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
7378 and bid_convert_data, respectively.
7379
3ac0842f 73802007-09-17 Chao-ying Fu <fu@mips.com>
7381 Nigel Stephens <nigel@mips.com>
7382
7383 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
7384 * Makefile.in (fixed_point): Define.
7385 Check if fixed_point is yes to build support functions.
7386 * configure.ac: Check for fixed_point support.
7387 * configure: Regenerated.
7388 * gen-fixed.sh: New file to generate lists of fixed-point labels,
7389 funcs, modes, from, to.
7390
8c72b2f9 73912007-09-11 Janis Johnson <janis187@us.ibm.com
7392
7393 * Makefile.in (dfp-filenames): Add bid128_noncomp.
7394
c8ac5d9a 73952007-09-10 Janis Johnson <janis187@us.ibm.com>
7396
7397 * Makefile.in (dfp-filenames): Remove decUtility, add
7398 decDouble, decPacked, decQuad, decSingle.
7399
cc8ebe39 74002007-08-27 Hans Kester <hans.kester@ellips.nl>
7401
7402 * config.host : Add x86_64-elf target.
7403
db1c99de 74042007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7405
7406 * configure.ac (set_have_cc_tls): Add a missing =.
7407 * configure: Regenerated.
7408
e4cbe54f 74092007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7410
7411 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
7412 and x86_64-*-linux*.
7413
7414 * config/t-tls: New file.
7415
1d7e299f 7416 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 7417
7418 * configure.ac: Include ../config/enable.m4 and
7419 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
7420 supports TLS and substitute set_have_cc_tls.
7421 * configure: Regenerated.
7422
9b6b0236 74232007-07-04 H.J. Lu <hongjiu.lu@intel.com>
7424
7425 * Makefile.in: Use libbid for DFP when BID is enabled.
7426
9e51385b 74272007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
7428
7429 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 7430 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 7431 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
7432
8f433c51 74332007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 7434 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 7435
7436 PR target/29498
7437 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
7438 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
7439 * config/i386/t-crtfm: Compile crtfastmath.o with
7440 -minline-all-stringops.
7441
723e1902 74422007-05-10 Richard Sandiford <richard@codesourcery.com>
7443
7444 * config.host (sparc-wrs-vxworks): New target.
7445
278e2fd1 74462007-04-14 Kazu Hirata <kazu@codesourcery.com>
7447
7448 * config.host: Recognize fido.
7449
2968d68c 74502007-04-04 Janis Johnson <janis187@us.ibm.com>
7451
7452 * configure: Check host, not target, for decimal float support.
7453
6d057ce8 74542007-04-03 Uros Bizjak <ubizjak@gmail.com>
7455
7456 * config/i386/t-crtpc: New file.
7457 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 7458 (x86_64-*-linux*): Ditto.
6d057ce8 7459
0bbe9142 74602007-02-30 Kai Tietz <kai.tietz@onevision.com>
7461
7462 * config.host (x86_64-*-mingw*): New target.
7463
10de71e1 74642007-03-23 Michael Meissner <michael.meissner@amd.com>
7465 H.J. Lu <hongjiu.lu@intel.com>
7466
7467 * Makefile.in (enable_decimal_float): New.
7468 (DECNUMINC): Add
7469 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
7470 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
7471 (decbits-filenames): This.
7472 (decbits-objects): New.
7473 (libgcc-objects): Add $(decbits-objects).
7474
7475 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
7476 Substitute enable_decimal_float.
7477 * configure: Regenerated.
7478
7a9b9c95 74792007-03-19 Hans-Peter Nilsson <hp@axis.com>
7480
7481 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
7482
37decb40 74832007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
7484
7485 * Makefile.in (install-info): New dummy target.
7486
bce94ab5 74872007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
7488
7489 * config.host (bfin*-linux-uclibc*): Set extra_parts.
7490
1403bdd1 74912007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
7492
7493 * Makefile.in: Add install-html and install-pdf dummy
7494 targets.
7495
fce64ed4 74962007-02-05 Roger Sayle <roger@eyesopen.com>
7497 Daniel Jacobowitz <dan@codesourcery.com>
7498
7499 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
7500 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
7501 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
7502
4d863ca5 75032007-01-29 Janis Johnson <janis187@us.ibm.com>
7504
7505 * Makefile.in (dec-filenames): Add decExcept.
7506
f0356913 75072007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7508
7509 PR bootstrap/30469
7510 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
7511 -fprofile-use.
7512
bbdcab13 75132007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
7514
7515 * configure.ac: Add --enable-version-specific-runtime-libs.
7516 Correct $slibdir default.
7517 * configure: Regenerated.
7518
3da0fdbc 75192007-01-23 Joseph Myers <joseph@codesourcery.com>
7520
7521 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
7522
cdca0ab7 75232007-01-21 Andrew Pinski <pinskia@gmail.com>
7524
7525 PR target/30519
7526 * config.host (alpha*-*-linux*): Set extra_parts.
7527
97f1a704 75282007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
7529
7530 * config/sh/t-linux: New.
7531 * config.host (sh*-*-linux*): Set tmake_file.
7532
52617116 75332007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
7534
7535 * Makefile.in (install): Handle multilibs.
7536
c0e5c948 75372007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
7538
7539 * Makefile.in: Added .PHONY entry for documentation targets.
7540
d62e2f2f 75412007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
7542
7543 * Makefile.in: Add empty info, html, dvi, pdf targets.
7544
68cf2994 75452007-01-04 Mike Stump <mrs@apple.com>
7546
7547 * Makefile.in (MAKEINFO): Remove.
7548 (PERL): Likewise.
7549
f534b3b3 75502007-01-04 Paolo Bonzini <bonzini@gnu.org>
7551
7552 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
7553 * configure: Regenerate.
7554 * Makefile.in (host_subdir): Substitute it.
1d7e299f 7555 (gcc_objdir): Use it.
f534b3b3 7556
c11c6ae3 75572007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7558
7559 * config.host (ia64*-*-linux*): Set tmake_file.
7560
d272bed8 75612007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7562
7563 * Makefile.in (version): Define.
7564
894a47b4 75652007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7566 Paolo Bonzini <bonzini@gnu.org>
7567
7568 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
7569 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
7570 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
7571 config/sparc/t-crtfm, config/t-slibgcc-darwin,
7572 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
7573 shared-object.mk, siditi-object.mk, static-object.mk: New files.
7574 * configure: Generated.
f1717362 7575\f
7576Copyright (C) 2007-2016 Free Software Foundation, Inc.
7577
7578Copying and distribution of this file, with or without modification,
7579are permitted in any medium without royalty provided the copyright
7580notice and this notice are preserved.