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