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