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