]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
PR 68115/libfortran
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
7ed86ba5 12015-12-04 Nick Clifton <nickc@redhat.com>
2
3 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4 Allow for the second argument being negative.
5 * config.host (extra_parts): Define for MSP430. Create separate
6 libraries for each of the hardware multiply formats.
7 * config/msp430/lib2hw_mul.S: Build only the multiply routines
8 that are needed.
9 * config/msp430/lib2mul.c: Likewise.
10 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
11 Add rules to build hardware multiply libraries.
12 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
13 __mspabi_divul function.
14 (__mspabi_divllu): New stub function.
15
2ec62878 162015-12-01 John David Anglin <danglin@gcc.gnu.org>
17
18 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
19 fixup values if saved GOT address doesn't match runtime address.
20 (fixup_branch_offset): Reorder list.
21
08de21a4 222015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
23
24 * Makefile.in (VTV_CFLAGS): New variable.
25 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
26 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
27 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
28 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
29 to extra_parts if $enable_vtable_verify = yes.
30
7824e89a 312015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
32
33 PR target/68059
34 * config/arm/linux-atomic-64bit.c (__write): Rename to...
35 (write): ...this and fix the return type.
36
c0b6819e 372015-11-19 DJ Delorie <dj@redhat.com>
38
39 * config/msp430/lib2hw_mul.S: Fix alignment.
40
1927fff5 412015-11-18 Nathan Sidwell <nathan@codesourcery.com>
42
43 * config/nvptx/reduction.c: New.
44 * config/nvptx/t-nvptx (LIB2ADD): Add it.
45
5bbad880 462015-11-15 David Edelsohn <dje.gcc@gmail.com>
47
48 * config/rs6000/on_exit.c: New file.
49 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
50 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
51
0c4d7986 522015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
53
54 * config/arc/dp-hack.h: Add support for ARCHS.
55 * config/arc/ieee-754/divdf3.S: Likewise.
56 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
57 * config/arc/ieee-754/muldf3.S: Likewise.
58 * config/arc/ieee-754/mulsf3.S: Likewise
59 * config/arc/lib1funcs.S: Likewise
60 * config/arc/gmon/dcache_linesz.S: Don't read the build register
61 for ARCv2 cores.
62 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
63 for ARCv2 cores.
64 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
65 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
66 cores.
67
4fa8daf5 682015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
69
70 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
71 value.
72 * config/ia64/crtend.S: Likewise.
73
d2dc729f 742015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
75
76 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
77 __CHAR_BIT__ instead of BITS_PER_UNIT.
78 * fixed-bit.h: Likewise.
79 * fp-bit.h: Likewise.
80 * libgcc2.c (__popcountSI2): Likewise.
81 (__popcountDI2): Likewise.
82 * libgcc2.h: Likewise.
83 * libgcov.h: Likewise.
84
69de5ea9 852015-11-07 David Edelsohn <dje.gcc@gmail.com>
86
87 * config/rs6000/atexit.c: New file.
88 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
89 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
90 * config/rs6000/cxa_finalize.c
91 (catomic_compare_and_exchange_bool_acq): Negate return value.
92
47ce082f 932015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
94
95 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
96 (processor_subtypes): Add znver1.
97 (get_amd_cpu): Detect znver1.
98
18e98669 992015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
100
101 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
102 Include crtfastmath.o.
103
9003096f 1042015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
105
106 PR libgcc/66883
107 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
18e98669 108
2ee6cfdb 1092015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
110
111 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
112 * config/rl78/divmodsi.S: Update return register to r8.
113 * config/rl78/divmodhi.S: Update return register to r8,r9.
114 Branch to main_loop_done_himode to pop registers before return.
115
5814084e 1162015-10-09 Venkataramanan kumar <venkataramanan.kumar@amd.com>
117
118 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
119 (__cpu_indicator_init): Fix model selection for AMD CPUs.
120
6c1b774a 1212015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
122
123 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
124
e3c15dbe 1252015-10-03 Max Filippov <jcmvbkbc@gmail.com>
126
127 * config.host (xtensa*-*-uclinux*): New configuration.
128
767110dd 1292015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
130
131 * config/i386/cpuinfo.c (processor_features): Add
132 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
133
b576f5d8 1342015-09-28 Joseph Myers <joseph@codesourcery.com>
135
136 * soft-fp/adddf3.c: Update from glibc.
137 * soft-fp/addsf3.c: Likewise.
138 * soft-fp/addtf3.c: Likewise.
139 * soft-fp/divdf3.c: Likewise.
140 * soft-fp/divsf3.c: Likewise.
141 * soft-fp/divtf3.c: Likewise.
142 * soft-fp/double.h: Likewise.
143 * soft-fp/eqdf2.c: Likewise.
144 * soft-fp/eqsf2.c: Likewise.
145 * soft-fp/eqtf2.c: Likewise.
146 * soft-fp/extenddftf2.c: Likewise.
147 * soft-fp/extended.h: Likewise.
148 * soft-fp/extendsfdf2.c: Likewise.
149 * soft-fp/extendsftf2.c: Likewise.
150 * soft-fp/extendxftf2.c: Likewise.
151 * soft-fp/fixdfdi.c: Likewise.
152 * soft-fp/fixdfsi.c: Likewise.
153 * soft-fp/fixdfti.c: Likewise.
154 * soft-fp/fixsfdi.c: Likewise.
155 * soft-fp/fixsfsi.c: Likewise.
156 * soft-fp/fixsfti.c: Likewise.
157 * soft-fp/fixtfdi.c: Likewise.
158 * soft-fp/fixtfsi.c: Likewise.
159 * soft-fp/fixtfti.c: Likewise.
160 * soft-fp/fixunsdfdi.c: Likewise.
161 * soft-fp/fixunsdfsi.c: Likewise.
162 * soft-fp/fixunsdfti.c: Likewise.
163 * soft-fp/fixunssfdi.c: Likewise.
164 * soft-fp/fixunssfsi.c: Likewise.
165 * soft-fp/fixunssfti.c: Likewise.
166 * soft-fp/fixunstfdi.c: Likewise.
167 * soft-fp/fixunstfsi.c: Likewise.
168 * soft-fp/fixunstfti.c: Likewise.
169 * soft-fp/floatdidf.c: Likewise.
170 * soft-fp/floatdisf.c: Likewise.
171 * soft-fp/floatditf.c: Likewise.
172 * soft-fp/floatsidf.c: Likewise.
173 * soft-fp/floatsisf.c: Likewise.
174 * soft-fp/floatsitf.c: Likewise.
175 * soft-fp/floattidf.c: Likewise.
176 * soft-fp/floattisf.c: Likewise.
177 * soft-fp/floattitf.c: Likewise.
178 * soft-fp/floatundidf.c: Likewise.
179 * soft-fp/floatundisf.c: Likewise.
180 * soft-fp/floatunditf.c: Likewise.
181 * soft-fp/floatunsidf.c: Likewise.
182 * soft-fp/floatunsisf.c: Likewise.
183 * soft-fp/floatunsitf.c: Likewise.
184 * soft-fp/floatuntidf.c: Likewise.
185 * soft-fp/floatuntisf.c: Likewise.
186 * soft-fp/floatuntitf.c: Likewise.
187 * soft-fp/gedf2.c: Likewise.
188 * soft-fp/gesf2.c: Likewise.
189 * soft-fp/getf2.c: Likewise.
190 * soft-fp/ledf2.c: Likewise.
191 * soft-fp/lesf2.c: Likewise.
192 * soft-fp/letf2.c: Likewise.
193 * soft-fp/muldf3.c: Likewise.
194 * soft-fp/mulsf3.c: Likewise.
195 * soft-fp/multf3.c: Likewise.
196 * soft-fp/negdf2.c: Likewise.
197 * soft-fp/negsf2.c: Likewise.
198 * soft-fp/negtf2.c: Likewise.
199 * soft-fp/op-1.h: Likewise.
200 * soft-fp/op-2.h: Likewise.
201 * soft-fp/op-4.h: Likewise.
202 * soft-fp/op-8.h: Likewise.
203 * soft-fp/op-common.h: Likewise.
204 * soft-fp/quad.h: Likewise.
205 * soft-fp/single.h: Likewise.
206 * soft-fp/soft-fp.h: Likewise.
207 * soft-fp/subdf3.c: Likewise.
208 * soft-fp/subsf3.c: Likewise.
209 * soft-fp/subtf3.c: Likewise.
210 * soft-fp/truncdfsf2.c: Likewise.
211 * soft-fp/trunctfdf2.c: Likewise.
212 * soft-fp/trunctfsf2.c: Likewise.
213 * soft-fp/trunctfxf2.c: Likewise.
214 * soft-fp/unorddf2.c: Likewise.
215 * soft-fp/unordsf2.c: Likewise.
216 * soft-fp/unordtf2.c: Likewise.
217
0ed0ef69 2182015-09-24 Richard Earnshaw <rearnsha@arm.com>
219
220 PR libgcc/67624
221 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
222
80fc7cb7 2232015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
224
225 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
226 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
227 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
228 messages.
229 (internal_mcount): Likewise.
230 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
231 crt_compile, add CRTSTUFF_T_CFLAGS_S.
232
ba24ad38 2332015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
234
235 * configure.ac (libgcc_cv_solaris_crts): New test.
236 * configure: Regenerate.
237 * config.in: Regenerate.
238 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
239 * config/gmon-sol2.c: Rename to ...
240 * config/sol2/gmon.c: ... this.
241 Include auto-target.h.
242 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
243 * config/t-sol2: Rename to ...
244 * config/sol2/t-sol2: ... this.
245 (gmon.o): Reflect renaming.
246 (crtp.o, crtpg.o): New rules.
247 * config.host (*-*-solaris2*): Reflect renaming.
248 Use system CRTs if present.
249 Remove default CRT case.
250
c2ab7513 2512015-09-23 John David Anglin <danglin@gcc.gnu.org>
252
253 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
254 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
255 __kernel_cmpxchg2.
256 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
257 (__sync_val_compare_and_swap_##WIDTH): Likewise.
258 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
259 (__sync_lock_test_and_set_##WIDTH): Likewise.
260 (__sync_lock_release_##WIDTH): Likewise.
261 (__sync_fetch_and_##OP##_4): Change result to match type of
262 __kernel_cmpxchg.
263 (__sync_##OP##_and_fetch_4): Likewise.
264 (__sync_val_compare_and_swap_4): Likewise.
265 (__sync_bool_compare_and_swap_4): likewise.
266 (__sync_lock_test_and_set_4): Likewise.
267 (__sync_lock_release_4): Likewise.
268 (FETCH_AND_OP_2): Add long long variants.
269 (OP_AND_FETCH_2): Likewise.
270 (COMPARE_AND_SWAP_2 ): Likewise.
271 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
272 (SYNC_LOCK_RELEASE_2): Likewise.
273 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
274
f96d88a8 2752015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
276
277 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
278 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
279 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
280 (get_available_features): Habdle new features.
281
672cc719 2822015-09-21 James Bowman <james.bowman@ftdichip.com>
283
284 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
285 memory layout. Deal correctly with BSS region larger than 32K.
286 Handle a watchdog reset like a power-on reset. Clean up unused
287 code.
288
552a60d3 2892015-09-18 Andrew Dixie <andrewd@gentrack.com>
290 David Edelsohn <dje.gcc@gmail.com>
291
292 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
293 * config/rs6000/crtdbase.S: New file.
294 * config/rs6000/t-aix-cxa: Build crtdbase.o.
295
f12cf9f4 2962015-09-15 Max Filippov <jcmvbkbc@gmail.com>
297
298 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
299 Add support for call0 ABI.
300
9d8ce924 3012015-09-13 John David Anglin <danglin@gcc.gnu.org>
302
303 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
304
196c8383 3052015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
306
307 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
308 (__GTHREAD_HAS_COND): Likewise.
309 (__gthread_t): Likewise.
310 (__gthread_cond_t): Likewise.
311 (__gthread_time_t): Likewise.
312 (__GTHREAD_MUTEX_INIT): Likewise.
313 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
314 (__GTHREAD_COND_INIT): Likewise.
315 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
316 (__GTHREAD_TIME_INIT): Likewise.
317 (__gthread_create): Likewise.
318 (__gthread_join): Likewise.
319 (__gthread_detach): Likewise.
320 (__gthread_equal): Likewise.
321 (__gthread_self): Likewise.
322 (__gthread_yield): Likewise.
323 (__gthread_cond_broadcast): Likewise.
324 (__gthread_cond_signal): Likewise.
325 (__gthread_cond_wait): Likewise.
326 (__gthread_cond_timedwait): Likewise.
327 (__gthread_cond_wait_recursive): Likewise.
328 (__gthread_cond_destroy): Likewise.
329 (rtems_gxx_once): Delete.
330 (rtems_gxx_key_create): Likewise.
331 (rtems_gxx_key_delete): Likewise.
332 (rtems_gxx_getspecific): Likewise.
333 (rtems_gxx_setspecific): Likewise.
334 (rtems_gxx_mutex_init): Likewise.
335 (rtems_gxx_mutex_destroy): Likewise.
336 (rtems_gxx_mutex_lock): Likewise.
337 (rtems_gxx_mutex_trylock): Likewise.
338 (rtems_gxx_mutex_unlock): Likewise.
339 (rtems_gxx_recursive_mutex_init): Likewise.
340 (rtems_gxx_recursive_mutex_lock): Likewise.
341 (rtems_gxx_recursive_mutex_trylock): Likewise.
342 (rtems_gxx_recursive_mutex_unlock): Likewise.
343 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
344 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
345 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
346 (__gthread_once): Likewise.
347 (__gthread_key_create): Likewise.
348 (__gthread_key_delete): Likewise.
349 (__gthread_getspecific): Likewise.
350 (__gthread_setspecific): Likewise.
351 (__gthread_key_t): Use <pthread.h> type.
352 (__gthread_once_t): Likewise
353 (__gthread_mutex_t): Use <sys/lock.h> type.
354 (__gthread_recursive_mutex_t): Likewise
355 (__gthread_mutex_lock): Use <sys/lock.h> function.
356 (__gthread_mutex_trylock): Likewise.
357 (__gthread_mutex_timedlock): Likewise.
358 (__gthread_mutex_unlock): Likewise.
359 (__gthread_mutex_destroy): Likewise.
360 (__gthread_recursive_mutex_lock): Likewise.
361 (__gthread_recursive_mutex_trylock): Likewise.
362 (__gthread_recursive_mutex_timedlock): Likewise.
363 (__gthread_recursive_mutex_unlock): Likewise.
364 (__gthread_recursive_mutex_destroy): Likewise.
365
15b21d23 3662015-08-18 Max Filippov <jcmvbkbc@gmail.com>
367
368 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
369 context->sp instead of context->cfa.
370
8a596a77 3712015-08-18 Max Filippov <jcmvbkbc@gmail.com>
372
373 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
374 with unwind-dw2-fde-dip.
375
863356ea 3762015-08-18 Max Filippov <jcmvbkbc@gmail.com>
377
378 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
379 CALL12 followed by series of ENTRY to spill windowed registers.
380 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
381 instead of making linux spill syscall.
382
58bb1dbe 3832015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
384
385 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
386 (get_intel_cpu): Likewise.
387
cba3f034 3882015-08-12 H.J. Lu <hongjiu.lu@intel.com>
389
390 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
391 (get_intel_cpu): Add Knights Landing support.
392
aca0ff16 3932015-08-11 Uros Bizjak <ubizjak@gmail.com>
394
395 PR target/66954
396 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
397 (get_available_features): Handle FEATURE_PCLMUL.
398
71b19c56 3992015-08-10 H.J. Lu <hongjiu.lu@intel.com>
400
401 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
402 Broadwell.
403
ff285c74 4042015-07-22 Uros Bizjak <ubizjak@gmail.com>
405
406 PR target/66954
407 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
408 (get_available_features): Handle FEATURE_AES.
409
a46441d0 4102015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
411
412 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
413 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
414
4e985e0f 4152015-07-17 Nathan Sidwell <nathan@codesourcery.com>
416
417 * offloadstuff.c: Constify host data.
418
c780eb05 4192015-07-17 Jan Beulich <jbeulich@suse.com>
420
421 * config/t-softfp: Split up "else ifneq".
422
70425b26 4232015-07-14 Sandra Loosemore <sandra@codesourcery.com>
424 Cesar Philippidis <cesar@codesourcery.com>
425 Chung-Lin Tang <cltang@codesourcery.com>
426
427 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
428 for __nios2_arch__ level.
429
6c8a3242 4302015-07-13 John Marino <gnugcc@marino.st>
431
432 * config/i386/t-dragonfly: New.
433
d277282f 4342015-07-01 John David Anglin <danglin@gcc.gnu.org>
435
436 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
437 better match light-weight syscall argument order.
438 (__kernel_cmpxchg2): Likewise.
439 Adjust callers.
440
146896ec 4412015-06-30 H.J. Lu <hongjiu.lu@intel.com>
442
443 * config.host: Support i[34567]86-*-elfiamcu target.
444 * config/t-softfp-sfdftf: New file.
445 * config/i386/32/t-iamcu: Likewise.
446 * configure: Regenerated.
447
58ddcdad 4482015-06-23 James Lemke <jwlemke@codesourcery.com>
449
450 libgcc/config/arm/
451 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
452
e9abca4f 4532015-05-27 H.J. Lu <hongjiu.lu@intel.com>
454
455 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
456
328976ed 4572015-05-27 John Marino <gnugcc@marino.st>
458
459 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
460 md_unwind_header
461 * config/i386/freebsd-unwind.h: New.
462
2a8549e0 4632015-05-22 Uros Bizjak <ubizjak@gmail.com>
464
465 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
466 i386/t-crtfm to tmake_file.
467 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
468 (set_fast_math): Use set_fast_math_sse for SSE targets.
469 * config/i386/t-crtfm: Remove.
470
b5d18737 4712015-05-21 Alan Modra <amodra@gmail.com>
472
473 PR libgcc/66225
474 * config/rs6000/morestack.S: Remove ".abiversion 1".
475
ec3f28c9 4762015-05-20 Alan Modra <amodra@gmail.com>
477
478 * config/rs6000/morestack.S: New.
479 * config/rs6000/t-stack-rs6000: New.
480 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
481 to tmake_file.
482 * generic-morestack.c: Don't build for powerpc 32-bit.
483
11087c28 4842015-05-19 Eric Botcazou <ebotcazou@adacore.com>
485
486 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
487 Remove useless endif/ifneq ($(enable_shared),yes) pair.
488
f29929b5 4892015-05-16 James Bowman <james.bowman@ftdichip.com>
490
491 * config.host: FT32 target added.
492 * config/ft32/*: New files for FT32 target.
493
ce86a36a 4942015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
495
496 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
497 New macros.
498 * config/arm/ieee754-df.S: Add CFI directives.
499 * config/arm/ieee754-sf.S: Add CFI directives.
500
177cc56c 5012015-05-13 Eric Botcazou <ebotcazou@adacore.com>
502
503 * configure.ac: Include config/sjlj.m4.
504 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
505 * config.in: Regenerate.
506 * configure: Likewise.
507 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
508
a8a5046c 5092015-05-12 Uros Bizjak <ubizjak@gmail.com>
510
511 * libgcov-util.c: Add space between string literal and macro name.
512
1ddaa252 5132015-05-06 Sandra Loosemore <sandra@codesourcery.com>
514 Chris Jones <chrisj@nvidia.com>
515 Joshua Conner <jconner@nvidia.com>
516
517 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
518 (arm*-*-uclinux*): Likewise.
519 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
520 * config/arm/crtfastmath.c: New file.
521
162f9d1e 5222014-04-29 Bernd Schmidt <bernds@codesourcery.com>
523
524 * Makefile.in (real_host_noncanonical): New variable.
525 (libsubdir): Use it.
526 * configure.ac (real_host_noncanonical): Compute. Remove special
527 case for intelmicemul.
528 * configure: Regenerate.
529
005a5ef5 5302015-04-28 Uros Bizjak <ubizjak@gmail.com>
531
532 * config/frv/elf-lib.h: New file.
533 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
534 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
535 to tm_file.
536
5372015-04-28 Uros Bizjak <ubizjak@gmail.com>
538
539 * config/frv/frvbengin.c: Do not include defaults.h
540 * config/frv/frvend.c: Ditto.
541
acff2768 5422015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
543
544 * config.host: Add h8300-*-linux
545 * config/h8300/t-linux: New file.
546 * config/h8300/lib1funs.s: Change symbol prefix.
547 * config/h8300/sfp-machine.h: 64bit double support.
548
a2e31d06 5492015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
550 Szabolcs Nagy <szabolcs.nagy@arm.com>
551
552 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
553 Linux if target provides dl_iterate_phdr.
554
4b5fb32a 5552015-04-17 H.J. Lu <hongjiu.lu@intel.com>
556
557 PR target/65612
558 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
559 * config/i386/cpuinfo.c (__cpu_model): Initialize.
560 (__cpu_indicator_init@GCC_4.8.0): New.
561 (__cpu_model@GCC_4.8.0): Likewise.
562 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
563 -DUSE_ELF_SYMVER.
564
e98e1692 5652015-04-16 Nick Clifton <nickc@redhat.com>
566
567 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
568 and __modhi3 functions.
569 * config/rl78/divmodso.S: Add G14 and G13 versions of the
570 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
571
a0093a4f 5722015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
573
574 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
575 do-while loop as macro body to avoid warnings.
576
fb5ccd6d 5772015-04-10 Jakub Jelinek <jakub@redhat.com>
578 Iain Sandoe <iain@codesourcery.com>
579
580 PR target/65351
581 * configure: Regenerate.
582
b1b085e0 5832015-04-07 Jakub Jelinek <jakub@redhat.com>
584 Iain Sandoe <iain@codesourcery.com>
585
586 PR target/65351
587 * configure: Regenerate.
588
7ca58a65 5892015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
590
591 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
592
b89c671b 5932015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 594
b89c671b 595 Implement call0 ABI for xtensa
596 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
597 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
598 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
599 use ret in call0 ABI.
600 * config/xtensa/t-windowed: New file.
601 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
602 * libgcc/configure: Regenerated.
603 * libgcc/configure.ac: Check if xtensa target is configured for
604 windowed ABI and thus needs to use custom unwind code.
605
69831bb2 6062015-02-12 Jonathan Wakely <jwakely@redhat.com>
607
608 PR libgcc/64885
609 * gthr-single.h: Use __unused__ attribute instead of unused.
610 * config/gthr-vxworks.h: Likewise.
611 * config/i386/gthr-win32.h: Likewise.
612
c905381f 6132015-02-27 Kai Tietz <ktietz@redhat.com>
614
615 PR target/65038
616 * config.in: Regenerated.
617 * configure: Likewise.
618 * configure.ac (AC_HEADER_STDC): Added explicit.
619 (AC_CHECK_HEADERS): Check for default headers plus
620 for ftw.h header.
621 * libgcov-util.c (gcov_read_profile_dir): Disable use
622 of ftw-function, if header is not found.
623 (ftw_read_file): Likewise.
624
0853f8db 6252015-02-23 Thomas Schwinge <thomas@codesourcery.com>
626
627 PR target/65181
628 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
629 -Dinhibit_libc.
630
1c55a862 6312015-02-17 Sandra Loosemore <sandra@codesourcery.com>
632
633 * config/arm/bpabi.S (test_div_by_zero): Make label names
634 consistent between thumb2 and arm mode cases. Separate the
635 signed comparison on the high word of the numerator from the
636 unsigned comparison on the low word.
637 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
638 signed comparison.
639
6014aff2 6402015-02-17 Joseph Myers <joseph@codesourcery.com>
641
642 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
643 and <string.h>.
644 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
645
a698bcaa 6462015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
647
648 PR gcov-profile/61889
3083dd2f 649 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 650
889a65e7 6512015-02-02 Nick Clifton <nickc@redhat.com>
652
653 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
654 rounding up the fraction.
655
f3b68f27 6562015-01-31 John David Anglin <danglin@gcc.gnu.org>
657
658 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
659 oldval and newval to const void *. Fix typo.
660 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
661 (FETCH_AND_OP_WORD): Likewise.
662 (OP_AND_FETCH_WORD): Likewise.
663 (COMPARE_AND_SWAP_2): Likewise.
664 (__sync_val_compare_and_swap_4): Likewise.
665 (__sync_lock_test_and_set_4): Likewise.
666 (SYNC_LOCK_RELEASE_2): Likewise.
667 Remove support for long long atomic operations.
668
5be42fa9 6692015-01-27 Caroline Tice <cmtice@google.com>
670
671 Committing VTV Cywin/Ming patch for Patrick Wollgast
672 * Makefile.in: Move rules to build vtv_*.o out of the check
673 for CUSTOM_CRTSTUFF.
674 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
675 i[34567]86-*-mingw*)
676 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
677 enable_vtable_verify.
678
45e05b5a 6792015-01-27 Nick Clifton <nickc@redhat.com>
680
681 * config/rl78/cmpsi2.S: Use function start and end macros.
682 (__gcc_bcmp): New function.
683 * config/rl78/lshrsi3.S: Use function start and end macros.
684 * config/rl78/mulsi3.S: Add support for G10.
685 (__mulqi3): New function for G10.
686 * config/rl78/signbit.S: Use function start and end macros.
687 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
688 fpmath-sf.S.
689 (LIB2FUNCS_EXCLUDE): Define.
690 (LIB2FUNCS_ST): Define.
691 * config/rl78/trampoline.S: Use function start and end macros.
692 * config/rl78/vregs.h (START_FUNC): New macro.
693 (START_ANOTHER_FUNC): New macro.
694 (END_FUNC): New macro.
695 (END_ANOTHER_FUNC): New macro.
696 * config/rl78/bit-count.S: New file. Contains assembler
697 implementations of the bit counting functions: ___clzhi2,
698 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
699 __paritysi2, __popcounthi2 and __popcountsi2.
700 * config/rl78/fpbit-sf.S: New file. Contains assembler
701 implementationas of the math functions: __negsf2, __cmpsf2,
702 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
703 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
704 * config/rl78/fpmath-sf.S: New file. Contains assembler
705 implementations of the math functions: __subsf3, __addsf3,
706 __mulsf3 and __divsf3
707
43cbcd84 7082015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
709
710 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
711 Add i386/elf-lib.h to tm_file.
712 * config/i386/elf-lib.h: Fix comment.
713 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
714 && __sun__ && __svr4__]: Remove workaround.
715
f8956357 7162015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
717
718 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
719 FEATURE_BMI2.
720 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
721
1b738d4d 7222015-01-24 H.J. Lu <hongjiu.lu@intel.com>
723
724 * config/i386/cpuinfo.c (processor_subtypes): Add
725 INTEL_COREI7_BROADWELL.
726 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
727 model numbers.
728
58ca7445 7292015-01-23 Uros Bizjak <ubizjak@gmail.com>
730
731 * config/i386/elf-lib.h: New file.
732 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
733 Wrap definition in #ifdef __i386__.
734 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
735 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
736 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
737 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
738 to tm_file.
739
d4c9c88d 7402015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
741
742 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
743 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
744
c46389f0 7452015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
746
747 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
748 Update rt_sigframe format and address for current Nios II
749 Linux conventions.
750
275d0a7c 7512015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
752
753 * config.host (arm*-*-freebsd*): Add new configuration for
754 arm*-*-freebsd*.
755 * config/arm/freebsd-atomic.c: New file.
756 * config/arm/t-freebsd: Likewise.
757 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
758 'PC-relative indirect' OS's.
759
8992df51 7602015-01-06 Eric Botcazou <ebotcazou@adacore.com>
761
762 * config.host: Add Visium support.
763 * config/visium: New directory.
764
d353bf18 7652015-01-05 Jakub Jelinek <jakub@redhat.com>
766
767 Update copyright years.
768
78645e70 7692014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
770
771 * config.host: Support mipsisa32r6 and mipsisa64r6.
772 * config/mips/mips16.S: Do not build for R6.
773
14cc370b 7742014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
775
776 * config/sh/crt.h: New.
777 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
778 symbols.
779 * config/sh/crt1.S: Likewise.
780
06f29f53 7812014-12-15 Uros Bizjak <ubizjak@gmail.com>
782
783 PR libgcc/63832
784 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
785 func_ptr *dtor_list temporary variable to avoid "array subscript
786 is above array bounds" warnings.
787
5573be4f 7882014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 789
790 * Makefile.in (with_aix_soname): Define.
791 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
792 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
793 * configure: Recreate.
794
c0235a33 7952014-12-05 Olivier Hainque <hainque@adacore.com>
796
797 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
798 now provided by defaults.h.
799
273fffd6 8002014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
801
84cf4824 802 PR target/55351
273fffd6 803 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
804 whether it's defined.
805
ffbfc7c5 8062014-11-27 Ilya Tocar <ilya.tocar@intel.com>
807
808 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
809 * config/i386/cpuinfo.c (get_available_features): Detect it.
810
ae22ef60 8112014-11-27 Tony Wang <tony.wang@arm.com>
812
813 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
814 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
815 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
816
a532bc30 8172014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
818
819 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
820
e88ebd91 8212014-11-24 John David Anglin <danglin@gcc.gnu.org>
822
823 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
824 instead.
825
422aeca3 8262014-11-21 Guy Martin <gmsoft@tuxicoman.be>
827 John David Anglin <danglin@gcc.gnu.org>
828
829 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
830 (FETCH_AND_OP_2): New. Use for subword and double word operations.
831 (OP_AND_FETCH_2): Likewise.
832 (COMPARE_AND_SWAP_2): Likewise.
833 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
834 (SYNC_LOCK_RELEASE_2): Likewise.
835 (SUBWORD_SYNC_OP): Remove.
836 (SUBWORD_VAL_CAS): Likewise.
837 (SUBWORD_BOOL_CAS): Likewise.
838 (FETCH_AND_OP_WORD): Update.
839 Consistently use signed types.
005a5ef5 840
a3d93be3 8412014-11-13 Bernd Schmidt <bernds@codesourcery.com>
842 Thomas Schwinge <thomas@codesourcery.com>
843 Ilya Verbin <ilya.verbin@intel.com>
844 Andrey Turetskiy <andrey.turetskiy@intel.com>
845
846 * Makefile.in (crtoffloadbegin$(objext)): New rule.
847 (crtoffloadend$(objext)): Likewise.
848 * configure: Regenerate.
849 * configure.ac (accel_dir_suffix): Compute new variable.
850 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
851 if enable_offload_targets is not empty.
852 * offloadstuff.c: New file.
853
97a36a5b 8542014-11-13 Nick Clifton <nickc@redhat.com>
855
856 * config/rl78/divmodhi.S: Add support for the G10 architecture.
857 Use START_FUNC and END_FUNC macros to enable linker garbage
858 collection.
859 * config/rl78/divmodqi.S: Likewise.
860 * config/rl78/divmodsi.S: Likewise.
861 * config/rl78/mulsi3.S: Likewise.
862 * config/rl78/lib2div.c: Remove G10 functions.
863 * config/rl78/lib2muls.c: Likewise.
864 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
865 * config/rl78/vregs.h (START_FUNC): New macro.
866 (END_FUNC): New macro.
867
f2b55aea 8682014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
869
870 * config/mips/mips16.S: Set .module when supported. Update O32
871 FP64 calling convention and use for FPXX when possible. Add FPXX
872 calling convention fallback case.
873
8ce80784 8742014-11-06 Bernd Schmidt <bernds@codesourcery.com>
875
876 * config.host: Handle nvptx-*-*.
877 * shared-object.mk (as-flags-$o): Define.
878 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
879 -xassembler-with-cpp.
880 * static-object.mk: Identical changes.
881 * config/nvptx/t-nvptx: New file.
882 * config/nvptx/crt0.s: New file.
883 * config/nvptx/free.asm: New file.
884 * config/nvptx/malloc.asm: New file.
885 * config/nvptx/realloc.c: New file.
886
0e36a0d7 8872014-10-30 Joseph Myers <joseph@codesourcery.com>
888
889 * Makefile.in (libgcc.map.in): New target.
890 (libgcc.map): Use libgcc.map.in.
891 * config/t-softfp (softfp_compat): New variable to be set by
892 users.
893 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
894 variables.
895 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
896 directory.
897 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
898 that use compat symbols and disable all code unless [SHARED].
899 * config/t-softfp-compat: New file.
900 * find-symver.awk: New file.
901 * configure.ac (--with-glibc-version): New configure option.
902 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
903 * configure: Regenerate.
904 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
905 soft-float and e500.
906
d9b5cf5c 9072014-10-29 Joseph Myers <joseph@codesourcery.com>
908
909 * config/t-hardfp (hardfp_exclusions): Document new variable for
910 user to define.
911 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
912 * config/t-softfp (softfp_extras): Document new variable for user
913 to define.
914 (softfp_func_list): Add functions from $(softfp_extras).
915 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
916 * config.host (powerpc*-*-linux*): For e500v1, use
917 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
918 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
919 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
920
2de51200 9212014-10-26 John David Anglin <danglin@gcc.gnu.org>
922
923 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
924 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
925 memory read accesses are ok.
926
fd1eaa27 9272014-10-25 Joseph Myers <joseph@codesourcery.com>
928
929 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
930 * configure: Regenerate.
931 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
932 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
933 of soft-fp for 32-bit classic hard float. Do not use
934 t-softfp-excl for soft float.
935
e707b8cc 9362014-10-22 Joseph Myers <joseph@codesourcery.com>
937
938 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
939 configurations.
940 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
941 Remove variables.
942
6ce12a35 9432014-10-22 Georg-Johann Lay <avr@gjlay.de>
944
945 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
946 introduced with 2014-10-21 trunk r216525.
947
b4e6d2e2 9482014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
949 Vidya Praveen <vidya.praveen@atmel.com>
950 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
951 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
952 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
953
954 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
955 order.
956
957 Updated library functions for AVRTINY arch.
958 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
959 Replaced occurrences of r0/r1 with tmp/zero reg macros.
960 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
961 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
962 wsubi/wadi macors.
963 (__mulsi3_helper): Update stack, preserve callee saved regs and
964 argument from stack. Restore callee save registers.
965 (__mulpsi3): Likewise.
966 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
967 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6ce12a35 968 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 969 AVRTINY.
970 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
971 (__do_copy_data): Added new definition for AVRTINY.
972 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
973 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
974 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
975 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
976 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
977 macors.
6ce12a35 978 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 979 AVRTINY.
980
6ce12a35 981 Fix broken long multiplication on tiny arch.
b4e6d2e2 982
d9bbc5ef 9832014-10-09 Joseph Myers <joseph@codesourcery.com>
984
985 * soft-fp/double.h: Update from glibc.
986 * soft-fp/eqdf2.c: Likewise.
987 * soft-fp/eqsf2.c: Likewise.
988 * soft-fp/eqtf2.c: Likewise.
989 * soft-fp/extenddftf2.c: Likewise.
990 * soft-fp/extended.h: Likewise.
991 * soft-fp/extendsfdf2.c: Likewise.
992 * soft-fp/extendsftf2.c: Likewise.
993 * soft-fp/extendxftf2.c: Likewise.
994 * soft-fp/gedf2.c: Likewise.
995 * soft-fp/gesf2.c: Likewise.
996 * soft-fp/getf2.c: Likewise.
997 * soft-fp/ledf2.c: Likewise.
998 * soft-fp/lesf2.c: Likewise.
999 * soft-fp/letf2.c: Likewise.
1000 * soft-fp/op-1.h: Likewise.
1001 * soft-fp/op-2.h: Likewise.
1002 * soft-fp/op-4.h: Likewise.
1003 * soft-fp/op-8.h: Likewise.
1004 * soft-fp/op-common.h: Likewise.
1005 * soft-fp/quad.h: Likewise.
1006 * soft-fp/single.h: Likewise.
1007 * soft-fp/soft-fp.h: Likewise.
1008 * soft-fp/unorddf2.c: Likewise.
1009 * soft-fp/unordsf2.c: Likewise.
1010 * soft-fp/unordtf2.c: Likewise.
1011 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
1012 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
1013 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
1014 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
1015 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
1016 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
1017 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
1018 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
1019 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
1020 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
1021
26054e0b 10222014-10-08 Rong Xu <xur@google.com>
1023
1024 * libgcov-util.c (read_gcda_file): Fix format.
1025 (find_match_gcov_info): Ditto.
1026 (calculate_2_entries): New.
1027 (compute_one_gcov): Ditto.
1028 (gcov_info_count_all_cold): Ditto.
1029 (gcov_info_count_all_zero): Ditto.
1030 (extract_file_basename): Ditto.
1031 (get_file_basename): Ditto.
1032 (set_flag): Ditto.
1033 (matched_gcov_info): Ditto.
1034 (calculate_overlap): Ditto.
1035 (gcov_profile_overlap): Ditto.
1036 * libgcov-driver.c (compute_summary): Make
1037 it avavilable for external calls.
1038
8a8f3988 10392014-10-06 Rong Xu <xur@google.com>
1040
1041 * Makefile.in: Ditto.
1042 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
1043 (gcov_sort_icall_topn_counter): Ditto.
1044 (gcov_sort_topn_counter_arrays): Ditto.
1045 (dump_one_gcov): Sort indirect_call topn counters.
1046 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
1047 function.
1048 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
1049 utility function.
1050 (__gcov_indirect_call_topn_profiler): New profiler function.
1051 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
1052 * libgcov.h: New decls.
1053
f230ef81 10542014-10-04 Trevor Saunders <tsaunders@mozilla.com>
1055
1056 * config.host: Remove support for score-*.
1057
0cb69d12 10582014-09-22 Joseph Myers <joseph@codesourcery.com>
1059
1060 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1061 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
1062 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
1063 __LIBGCC_XF_MANT_DIG__.
1064 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
1065 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
1066 __LIBGCC_TF_MANT_DIG__.
1067 * libgcc2.c (NOTRUNC): Define in terms of
1068 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
1069 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
1070
acbb28e9 10712014-09-22 Joseph Myers <joseph@codesourcery.com>
1072
1073 PR target/63312
1074 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
1075 New macros.
1076
d0eb4a95 10772014-09-22 Hans-Peter Nilsson <hp@axis.com>
1078
1079 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
1080 override USE_PT_GNU_EH_FRAME.
1081 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
1082 check USE_EH_FRAME_REGISTRY_ALWAYS against
1083 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
1084 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
1085 variable for substituted force_explicit_eh_registry.
1086 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
1087 * configure.ac (explicit-exception-frame-registration):
1088 New AC_ARG_ENABLE.
1089 * configure: Regenerate.
1090
6c352a95 10912014-09-19 Olivier Hainque <hainque@adacore.com>
1092
1093 * config.host (powerpc-wrs-vxworksmils): New configuration,
1094 same as vxworksae.
1095
168dfbf0 10962014-09-18 Joseph Myers <joseph@codesourcery.com>
1097
1098 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
1099
ca6c7c2e 11002014-09-18 Joseph Myers <joseph@codesourcery.com>
1101
1102 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
1103 bits not set bits as indicating trapping exceptions.
1104
bc587267 11052014-09-17 Nathan sidwell <nathan@acm.org>
1106
1107 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
1108 (LIBGCOV_DRIVER): ... here.
1109 * libgcov-driver.c (gcov_master): New.
1110 (gcov_exit): Remove from master chain.
1111 (__gcov_init): Add to master chain if version compatible. Don't
1112 clear the version.
1113 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
1114 (gcov_reset_int): Clear master chain, if compatible.
1115 (gcov_dump_int): New internal interface. Dump master chain, if
1116 compatible.
1117 (gcov_dump): Alias for gcov_dump_int.
1118 * libgcov.h (struct gcov_root): Add next and prev fields.
1119 (struct gcov_master): New struct.
1120 (__gcov_master): New.
1121 (gcov_dump_int): Declare.
1122
0624d0c7 11232014-09-17 Olivier Hainque <hainque@adacore.com>
1124
1125 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
1126 and crtbegin.o + crtend.o to extra_parts.
1127
d5957f0d 11282014-09-12 Joseph Myers <joseph@codesourcery.com>
1129
1130 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
1131 __LIBGCC_HAS_SF_MODE__.
1132 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1133 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1134 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1135 * config/libbid/bid_gcc_intrinsics.h
1136 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1137 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
1138 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
1139 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
1140 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
1141 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
1142
986b9a67 11432014-09-11 Georg-Johann Lay <avr@gjlay.de>
1144
1145 PR target/63223
1146 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
1147 and R24 as needed. Make work for all devices and .text locations.
1148 (__do_global_ctors, __do_global_dtors): Use word addresses.
1149 (__tablejump__, __tablejump_elpm__): Remove functions.
1150 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
1151 Add _tablejump2.
1152 (XICALL, XIJMP): New macros.
1153
8f908dc5 11542014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
1155 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1156
1157 * config.host (aarch64*): Include crtfastmath.o and
1158 t-crtfm.
1159 * config/aarch64/crtfastmath.c: New file.
1160
f67c2dde 11612014-09-08 Trevor Saunders <tsaunders@mozilla.com>
1162
1163 * config.host: Remove picochip support.
1164 * config/picochip/adddi3.S: Remove.
1165 * config/picochip/ashlsi3.S: Remove.
1166 * config/picochip/ashlsi3.c: Remove.
1167 * config/picochip/ashrsi3.S: Remove.
1168 * config/picochip/ashrsi3.c: Remove.
1169 * config/picochip/clzsi2.S: Remove.
1170 * config/picochip/cmpsi2.S: Remove.
1171 * config/picochip/divmod15.S: Remove.
1172 * config/picochip/divmodhi4.S: Remove.
1173 * config/picochip/divmodsi4.S: Remove.
1174 * config/picochip/lib1funcs.S: Remove.
1175 * config/picochip/longjmp.S: Remove.
1176 * config/picochip/lshrsi3.S: Remove.
1177 * config/picochip/lshrsi3.c: Remove.
1178 * config/picochip/parityhi2.S: Remove.
1179 * config/picochip/popcounthi2.S: Remove.
1180 * config/picochip/setjmp.S: Remove.
1181 * config/picochip/subdi3.S: Remove.
1182 * config/picochip/t-picochip: Remove.
1183 * config/picochip/ucmpsi2.S: Remove.
1184 * config/picochip/udivmodhi4.S: Remove.
1185 * config/picochip/udivmodsi4.S: Remove.
1186
b660d3c6 11872014-09-08 Joseph Myers <joseph@codesourcery.com>
1188
1189 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
1190 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
1191 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
1192 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
1193 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
1194 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
1195 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
1196 defined and LIBGCC2_HAS_DF_MODE is defined.
1197 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
1198 defined and LIBGCC2_HAS_XF_MODE is defined.
1199 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
1200 defined and LIBGCC2_HAS_TF_MODE is defined.
1201
2aeea855 12022014-09-08 Joseph Myers <joseph@codesourcery.com>
1203
1204 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
1205 and ROUND_TOWARDS_ZERO conditionals.
1206
a91625a6 12072014-09-07 Nathan sidwell <nathan@acm.org>
1208
1209 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
1210 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
1211
325b8c3c 12122014-09-05 Joseph Myers <joseph@codesourcery.com>
1213
1214 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
1215 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1216 uses to __LIBGCC_STACK_POINTER_REGNUM__.
1217 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1218 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1219 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1220 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1221 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
1222 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
1223 (DWARF_FRAME_REGISTERS): Change all uses to
1224 __LIBGCC_DWARF_FRAME_REGISTERS__.
1225 (EH_RETURN_STACKADJ_RTX): Change all uses to
1226 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1227 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
1228 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
1229 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
1230 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
1231 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
1232 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
1233 to __LIBGCC_EH_FRAME_SECTION_NAME__.
1234 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
1235 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
1236 __LIBGCC_STACK_POINTER_REGNUM__.
1237 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
1238 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1239 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1240 to __LIBGCC_STACK_POINTER_REGNUM__.
1241 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1242 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1243 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
1244 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1245 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
1246 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
1247 (STACK_POINTER_REGNUM): Change all uses to
1248 __LIBGCC_STACK_POINTER_REGNUM__.
1249 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
1250 use to __LIBGCC_STACK_POINTER_REGNUM__.
1251 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
1252 uses to __LIBGCC_STACK_POINTER_REGNUM__.
1253 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
1254 to __LIBGCC_DWARF_FRAME_REGISTERS__.
1255 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
1256 to __LIBGCC_DWARF_FRAME_REGISTERS__.
1257 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
1258 to __LIBGCC_STACK_POINTER_REGNUM__.
1259 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
1260 Remove conditional definition.
1261 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
1262 __LIBGCC_TEXT_SECTION_ASM_OP__.
1263 (EH_FRAME_SECTION_NAME): Change all uses to
1264 __LIBGCC_EH_FRAME_SECTION_NAME__.
1265 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
1266 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
1267 (CTORS_SECTION_ASM_OP): Change all uses to
1268 __LIBGCC_CTORS_SECTION_ASM_OP__.
1269 (DTORS_SECTION_ASM_OP): Change all uses to
1270 __LIBGCC_DTORS_SECTION_ASM_OP__.
1271 (JCR_SECTION_NAME): Change all uses to
1272 __LIBGCC_JCR_SECTION_NAME__.
1273 (INIT_SECTION_ASM_OP): Change all uses to
1274 __LIBGCC_INIT_SECTION_ASM_OP__.
1275 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1276 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1277 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
1278 __LIBGCC_STACK_GROWS_DOWNWARD__.
1279 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
1280 __LIBGCC_INIT_SECTION_ASM_OP__.
1281 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
1282 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
1283 (EH_FRAME_SECTION_NAME): Change all uses to
1284 __LIBGCC_EH_FRAME_SECTION_NAME__.
1285 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
1286 definitions. Change all uses to
1287 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
1288 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
1289 __LIBGCC_STACK_GROWS_DOWNWARD__.
1290 (DWARF_FRAME_REGISTERS): Change all uses to
1291 __LIBGCC_DWARF_FRAME_REGISTERS__.
1292 (EH_RETURN_STACKADJ_RTX): Change all uses to
1293 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
1294 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
1295 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
1296 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
1297 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
1298 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
1299
b12d2330 13002014-09-02 Nathan sidwell <nathan@acm.org>
1301
1302 * libgcov-interface.c (STRONG_ALIAS): New.
1303 (__gcov_flush): Call __gcov_reset_int.
1304 (__gcov_reset): Strong alias for ...
1305 (__gcov_reset_ing): ... this renamed hidden version.
1306 * libgcov.h (__gcov_reset_int): New declaration.
1307
827d5daf 13082014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
1309
1db4f54b 1310 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
1311 call from here...
1312 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
1313 (__dso_handle): Define on Cygwin.
1314 * config/i386/t-cygming (crtbeginS.o): New rule.
1315 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
1316
827d5daf 1317 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
1318 declaration syntax.
1319
e3108d46 13202014-08-13 Steve Ellcey <sellcey@mips.com>
1321
1322 * crtstuff.c: Undef caddr_t.
1323
0898fffa 13242014-08-12 Steve Ellcey <sellcey@mips.com>
1325
1326 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
1327
859fa1a9 13282014-08-07 Nathan Sidwell <nathan@acm.org>
1329
1330 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
1331 (LIBGCOV_DRIVER): ... to here.
1332 * libgcov.h (gcov_do_dump): New #define.
1333 (struct gcov_root): New.
1334 (__gcov_root): New declaration.
1335 (__gcov_dump_one): Declare.
1336 * libgcov-driver.c (gcov_list, gcov_dump_complete,
1337 run_accounted): Delete.
1338 (gcov_compute_histogram): Add LIST argument, adjust.
1339 (compute_summary): Adjust gcov_compute_histogram call.
1340 (gcov_do_dump): Not hidden, static in libgcov.
1341 (gcov_clear): Move to interface.c.
1342 (__gcov_dump_one): New, broken out of ...
1343 (gcov_exit): ... here. Make static.
1344 (__gcov_root): New.
1345 (__gcov_init): Adjust.
1346 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
1347 declarations.
1348 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
1349 (gcov_clear): Moved from driver.c. Add LIST argument.
1350 (__gcov_reset): Adjust for changed interfaces.
1351 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
1352
3fa2798a 13532014-08-04 Rohit <rohitarulraj@freescale.com>
1354
1355 PR target/60102
1356 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 1357 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 1358
cb3ea3de 13592014-08-01 Nathan Sidwell <nathan@acm.org>
1360
1361 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
1362 LIBGCOV_INTERFACE): Reformat.
1363 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
1364 IN_GCOV_TOOL.
1365 * libgcov-interface.c: Reformat some comments.
1366 (__gcov_flush_mx): Add declaration. Tidy up definition.
1367
bfd88f52 13682014-07-31 Alan Modra <amodra@gmail.com>
1369 Peter Bergner <bergner@vnet.ibm.com>
1370
1371 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
1372 (pack_ldouble): New function.
1373 (__gcc_qadd): Use it.
1374 (__gcc_qmul): Likewise.
1375 (__gcc_qdiv): Likewise.
1376 (__gcc_qneg): Likewise.
1377 (__gcc_stoq): Likewise.
1378 (__gcc_dtoq): Likewise.
1379
bcd3133e 13802014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
1381
1382 * config/s390/tpf-unwind.h: Include <stdbool.h>.
1383 (__tpf_eh_return): Add original return address as second parameter.
1384 Handle cases where unwinder routines were called directly, instead
1385 of from within the C++ library.
1386
1186f97a 13872014-07-29 Nathan Sidwell <nathan@acm.org>
1388
1389 * libgcov.h: Move renaming of entry points to lib gcov specific
1390 portion.
1391 (gcov_do_dump): New rename.
1392 (gcov_rewrite): Remove inline, make HIDDEN.
1393 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
1394 (gcov_exit_compute_summary): Rename to ...
1395 (compute_summary): ... here. Add LIST argument.
1396 (gcov_exit_merge_gcda): Rename to ...
1397 (merge_one_data): ... here.
1398 (gcov_exit_write_gcda): Rename to ...
1399 (write_one_data): ... here.
1400 (gcov_exit_merge_summary): Rename to ...
1401 (merge_summary): Add RUN_COUNTED argument.
1402 (gcov_exit_dump_gcov): Rename to ...
1403 (dump_one_gcov): Add RUN_COUNTED argument.
1404 (gcov_do_dump): New function, broken out of ...
1405 (gcov_exit): ... here. Call it.
1406
ab0c4d2e 14072014-07-27 Anthony Green <green@moxielogic.com>
1408
1409 * config.host: Add moxiebox configuration suppport.
1410
6401b74d 14112014-07-27 Nathan Sidwell <nathan@acm.org>
1412
1413 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
1414 (struct gcov_filename): ... here. Include buffer and max length
1415 fields.
1416 (gcov_max_filename): Remove.
1417 (gi_filename): Remove.
1418 (gcov_exit_compute_summary): Compute max filename here.
1419 (gcov_exit_merge_gcda): Add filename parm, adjust.
1420 (gcov_exit_merge_summary): Likewise.
1421 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
1422 (gcov_exit): Likewise.
1423 (__gcov_init): Don't calculate max length here.
1424 * libgcov_util.c (max_filename_len): Remove.
1425 (read_gcda_file): Don't calculate max length here.
1426 (gcov_read_profile_dir): Don't propagate here.
1427 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
1428 struct gcov_filename changes.
1429 (gcov_exit_open_gcda_file): Likewise.
1430
0f768e5f 14312014-07-25 Nathan Sidwell <nathan@acm.org>
1432
1433 * libgcov-driver.c (set_gcov_dump_complete,
1434 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
1435 functions polluting user's namespace.
1436 (gcov_exit): Set variable directly.
1437 (gcov_clear): Reset variable directly.
1438 * libgcov-interface.c (get_gcov_dymp_complete,
1439 reset_gov_dump_complete): Remove declarations.
1440 (__gcov_reset, __gcov_dump): Don't call them.
1441
2b333d82 14422014-07-24 DJ Delorie <dj@redhat.com>
1443
1444 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 1445 (__gcc_deregister_frame): Move logic to detect deregister function
1446 to ...
1447 (__gcc_register_frame): here, so it's consistent with the register
1448 logic.
2b333d82 1449
145d88ea 14502014-07-23 Nathan Sidwell <nathan@acm.org>
1451
1452 * libgcov-driver.c (set_gcov_list): Remove.
1453 (gcov_list): Make non-static in GCOV_TOOL.
1454 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
1455
307c2567 14562014-07-17 John David Anglin <danglin@gcc.gnu.org>
1457
1458 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
1459 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
1460 Don't use SYNC_LOCK_RELEASE for int type.
1461
3dc22a01 14622014-07-14 Richard Biener <rguenther@suse.de>
1463
1464 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
1465
a60d8a99 14662014-07-11 Rong Xu <xur@google.com>
1467
1468 * libgcov-util.c (gcov_max_filename): Fix declartion.
1469
e76f6040 14702014-07-10 Rong Xu <xur@google.com>
1471
1472 Add gcov-tool: an offline gcda profile processing tool
1473 Support.
1474 * libgcov-driver.c (gcov_max_filename): Make available
1475 to gcov-tool.
1476 * libgcov-merge.c (__gcov_merge_add): Replace
1477 gcov_read_counter() with a Macro.
1478 (__gcov_merge_ior): Ditto.
1479 (__gcov_merge_time_profile): Ditto.
1480 (__gcov_merge_single): Ditto.
1481 (__gcov_merge_delta): Ditto.
1482 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
1483 in the utility functions.
1484 (set_fn_ctrs): Utility function for reading gcda files to in-memory
1485 gcov_list object link lists.
1486 (tag_function): Ditto.
1487 (tag_blocks): Ditto.
1488 (tag_arcs): Ditto.
1489 (tag_lines): Ditto.
1490 (tag_counters): Ditto.
1491 (tag_summary): Ditto.
1492 (read_gcda_finalize): Ditto.
1493 (read_gcda_file): Ditto.
1494 (ftw_read_file): Ditto.
1495 (read_profile_dir_init): Ditto.
1496 (gcov_read_profile_dir): Ditto.
1497 (gcov_read_counter_mem): Ditto.
1498 (gcov_get_merge_weight): Ditto.
1499 (merge_wrapper): A wrapper function that calls merging handler.
1500 (gcov_merge): Merge two gcov_info objects with weights.
1501 (find_match_gcov_info): Find the matched gcov_info in the list.
1502 (gcov_profile_merge): Merge two gcov_info object lists.
1503 (__gcov_add_counter_op): Process edge profile counter values.
1504 (__gcov_ior_counter_op): Process IOR profile counter values.
1505 (__gcov_delta_counter_op): Process delta profile counter values.
1506 (__gcov_single_counter_op): Process single profile counter values.
1507 (fp_scale): Callback function for float-point scaling.
005a5ef5 1508 (int_scale): Callback function for integer fraction scaling.
e76f6040 1509 (gcov_profile_scale): Scaling profile counters.
1510 (gcov_profile_normalize): Normalize profile counters.
1511 * libgcov.h: Add headers and functions for gcov-tool use.
1512 (gcov_get_counter): New.
1513 (gcov_get_counter_target): Ditto.
1514 (struct gcov_info): Make the functions field mutable in gcov-tool
1515 compilation.
1516
761d3cae 15172014-06-23 Kai Tietz <ktietz@redhat.com>
1518
1519 PR libgcc/61585
1520 * unwind-seh.c (_Unwind_GetGR): Check for proper
1521 index range.
1522 (_Unwind_SetGR): Likewise.
1523
b4187486 15242014-05-22 Nick Clifton <nickc@redhat.com>
1525
1526 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
1527 -mhwmult=none.
1528
f1919901 15292014-05-22 Teresa Johnson <tejohnson@google.com>
1530
1531 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
1532 include.
1533
463553db 15342014-05-20 John Marino <gnugcc@marino.st>
1535
1536 * config.host (*-*-dragonfly*): New target.
1537 * crtstuff.c: Make dl_iterate_support generic on *bsd.
1538 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
1539 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
1540 * config/i386/dragonfly-unwind.h: New.
1541
17611fd9 15422014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1543
1544 PR libgcc/60166
1545 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
1546 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
1547
b061dab2 15482014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
1549
1550 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
1551 implementation.
1552
b81ef88d 15532014-05-12 Georg-Johann Lay <avr@gjlay.de>
1554
1555 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
1556
d71975a6 15572014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1558
1559 PR libgcc/61097
1560 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
1561 if --enable-shared.
1562
d3c4b980 15632014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
1564
1565 Work around for current cygwin32 build problems.
1566 * config/i386/cygming-crtbegin.c (__register_frame_info,
1567 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
1568 functions only for 64-bit systems.
1569
1f912f03 15702014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1571
1572 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
1573 (sigill_caught, sigill_hdlr): Remove.
1574
3efb5d22 15752014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1576
1577 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1578 check.
1579 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1580 Solaris 9 single-threaded support.
1581 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1582 Solaris 9 single-threaded support. Add call_user_handler code
1583 sequences.
1584 (sparc_is_sighandler): Likewise.
1585
368b5b2c 15862014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1587
1588 * config.host: Append t-floattodi to tmake_file depending on
1589 host_address.
1590
0cdefccf 15912014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
1592
c7285b71 1593 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 1594
e5d692d7 15952014-03-10 Uros Bizjak <ubizjak@gmail.com>
1596
1597 PR libgcc/60472
1598 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 1599 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 1600 Use __builtin_expect when checking *jcr_list for NULL.
1601
ec5f5503 16022014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1603
1604 PR libgcc/59339
1605 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1606 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1607 vtv_*.o to extra_parts if enable_vtable_verify.
1608
6dd4126d 16092014-03-06 Nick Clifton <nickc@redhat.com>
1610
1611 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1612 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1613
c63fabc4 16142014-02-28 Joey Ye <joey.ye@arm.com>
1615
1616 PR libgcc/60166
1617 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1618 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1619 Set to zero.
1620
2da35515 16212014-02-24 Walter Lee <walt@tilera.com>
1622
1623 * config.host: Support "tilegx*" and "tilepro*" triplets.
1624 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1625 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1626
73e15dfc 16272014-02-20 Sandra Loosemore <sandra@codesourcery.com>
1628 Chung-Lin Tang <cltang@codesourcery.com>
1629
1630 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1631 * config/nios2/crti.S: Remove .file directive.
1632 * config/nios2/crtn.S: Likewise.
1633
db5ce3d9 16342014-02-18 Kai Tietz <ktietz@redhat.com>
1635 Jonathan Schleifer <js@webkeks.org>
1636
1637 PR objc/56870
1638 * unwind-seh.c (_GCC_specific_handler): Pass proper
1639 value to unwind-handler.
1640
8f687340 16412014-02-12 Joseph Myers <joseph@codesourcery.com>
1642
1643 * soft-fp/adddf3.c: Update from glibc.
1644 * soft-fp/addsf3.c: Likewise.
1645 * soft-fp/addtf3.c: Likewise.
1646 * soft-fp/divdf3.c: Likewise.
1647 * soft-fp/divsf3.c: Likewise.
1648 * soft-fp/divtf3.c: Likewise.
1649 * soft-fp/double.h: Likewise.
1650 * soft-fp/eqdf2.c: Likewise.
1651 * soft-fp/eqsf2.c: Likewise.
1652 * soft-fp/eqtf2.c: Likewise.
1653 * soft-fp/extenddftf2.c: Likewise.
1654 * soft-fp/extended.h: Likewise.
1655 * soft-fp/extendsfdf2.c: Likewise.
1656 * soft-fp/extendsftf2.c: Likewise.
1657 * soft-fp/extendxftf2.c: Likewise.
1658 * soft-fp/fixdfdi.c: Likewise.
1659 * soft-fp/fixdfsi.c: Likewise.
1660 * soft-fp/fixdfti.c: Likewise.
1661 * soft-fp/fixsfdi.c: Likewise.
1662 * soft-fp/fixsfsi.c: Likewise.
1663 * soft-fp/fixsfti.c: Likewise.
1664 * soft-fp/fixtfdi.c: Likewise.
1665 * soft-fp/fixtfsi.c: Likewise.
1666 * soft-fp/fixtfti.c: Likewise.
1667 * soft-fp/fixunsdfdi.c: Likewise.
1668 * soft-fp/fixunsdfsi.c: Likewise.
1669 * soft-fp/fixunsdfti.c: Likewise.
1670 * soft-fp/fixunssfdi.c: Likewise.
1671 * soft-fp/fixunssfsi.c: Likewise.
1672 * soft-fp/fixunssfti.c: Likewise.
1673 * soft-fp/fixunstfdi.c: Likewise.
1674 * soft-fp/fixunstfsi.c: Likewise.
1675 * soft-fp/fixunstfti.c: Likewise.
1676 * soft-fp/floatdidf.c: Likewise.
1677 * soft-fp/floatdisf.c: Likewise.
1678 * soft-fp/floatditf.c: Likewise.
1679 * soft-fp/floatsidf.c: Likewise.
1680 * soft-fp/floatsisf.c: Likewise.
1681 * soft-fp/floatsitf.c: Likewise.
1682 * soft-fp/floattidf.c: Likewise.
1683 * soft-fp/floattisf.c: Likewise.
1684 * soft-fp/floattitf.c: Likewise.
1685 * soft-fp/floatundidf.c: Likewise.
1686 * soft-fp/floatundisf.c: Likewise.
1687 * soft-fp/floatunditf.c: Likewise.
1688 * soft-fp/floatunsidf.c: Likewise.
1689 * soft-fp/floatunsisf.c: Likewise.
1690 * soft-fp/floatunsitf.c: Likewise.
1691 * soft-fp/floatuntidf.c: Likewise.
1692 * soft-fp/floatuntisf.c: Likewise.
1693 * soft-fp/floatuntitf.c: Likewise.
1694 * soft-fp/gedf2.c: Likewise.
1695 * soft-fp/gesf2.c: Likewise.
1696 * soft-fp/getf2.c: Likewise.
1697 * soft-fp/ledf2.c: Likewise.
1698 * soft-fp/lesf2.c: Likewise.
1699 * soft-fp/letf2.c: Likewise.
1700 * soft-fp/muldf3.c: Likewise.
1701 * soft-fp/mulsf3.c: Likewise.
1702 * soft-fp/multf3.c: Likewise.
1703 * soft-fp/negdf2.c: Likewise.
1704 * soft-fp/negsf2.c: Likewise.
1705 * soft-fp/negtf2.c: Likewise.
1706 * soft-fp/op-1.h: Likewise.
1707 * soft-fp/op-2.h: Likewise.
1708 * soft-fp/op-4.h: Likewise.
1709 * soft-fp/op-8.h: Likewise.
1710 * soft-fp/op-common.h: Likewise.
1711 * soft-fp/quad.h: Likewise.
1712 * soft-fp/single.h: Likewise.
1713 * soft-fp/soft-fp.h: Likewise.
1714 * soft-fp/subdf3.c: Likewise.
1715 * soft-fp/subsf3.c: Likewise.
1716 * soft-fp/subtf3.c: Likewise.
1717 * soft-fp/truncdfsf2.c: Likewise.
1718 * soft-fp/trunctfdf2.c: Likewise.
1719 * soft-fp/trunctfsf2.c: Likewise.
1720 * soft-fp/trunctfxf2.c: Likewise.
1721 * soft-fp/unorddf2.c: Likewise.
1722 * soft-fp/unordsf2.c: Likewise.
1723 * soft-fp/unordtf2.c: Likewise.
1724 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1725 macro.
1726 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1727 Likewise.
1728 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1729 Likewise.
1730 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1731 Likewise.
1732 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1733 Likewise.
1734 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1735 Likewise.
1736 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1737 Likewise.
1738 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1739 Likewise.
1740 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1741 Likewise.
1742 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1743 Likewise.
1744 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1745 Likewise.
1746 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1747 Likewise.
1748 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1749 Likewise.
1750 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1751 Likewise.
1752 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1753 Likewise.
1754 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1755 Likewise.
1756
fc1cd012 17572014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1758
1759 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1760 cannot be represented.
1761 * config/s390/32/_fixsfdi.c: Likewise.
1762 * config/s390/32/_fixtfdi.c: Likewise.
1763 * config/s390/32/_fixunsdfdi.c: Likewise.
1764 * config/s390/32/_fixunssfdi.c: Likewise.
1765 * config/s390/32/_fixunstfdi.c: Likewise.
1766
4b366ca9 17672014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
1768
1769 * configure.ac (libgcc_cv_mips_hard_float): New.
1770 * configure: Regenerate.
1771 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1772 t-softfp-sfdf for hard-float targets.
1773 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1774 (softfp_float_modes, softfp_int_modes, softfp_extensions)
1775 (softfp_truncations, softfp_exclude_libgcc2): New.
1776 * config/t-hardfp: New file.
1777 * config/t-hardfp-sfdf: Likewise.
1778 * config/hardfp.c: Likewise.
1779
896dc54c 17802014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1781
1782 * config.host: Include t-floattodi also for s390x.
1783 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1784 * config/s390/32/_fixsfdi.c: Likewise.
1785 * config/s390/32/_fixtfdi.c: Likewise.
1786 * config/s390/32/_fixunsdfdi.c: Likewise.
1787 * config/s390/32/_fixunssfdi.c: Likewise.
1788 * config/s390/32/_fixunstfdi.c: Likewise.
1789
48118d02 17902014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1791
1792 PR target/59788
1793 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1794 (install-libgcc-unwind-map-forbuild): New target.
1795 (all): Depend on install-libgcc-unwind-map-forbuild.
1796 (install-libgcc-unwind-map): New target.
1797 (install): Depend on install-libgcc-unwind-map.
1798
1fa97c89 17992014-02-02 Sandra Loosemore <sandra@codesourcery.com>
1800
1801 * config/nios2/crti.S (_init): Initialize GOT pointer from
1802 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1803
9bcbf352 18042014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
1805
1806 * configure.ac: Check __mips64 when setting host_address.
1807 * configure: Regenerate.
1808 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1809 mips/t-mips64 and t-softfp.
1810 (mips*-*-linux*): Don't add mips/t-tpbit.
1811 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1812 (DPBIT, DPBIT_CFLAGS): Delete.
1813 * config/mips/sfp-machine.h: New file.
1814 * config/mips/t-mips64: Likewise.
1815 * config/mips/t-softfp-tf: Likewise.
1816 * config/mips/t-tpbit: Delete.
1817
81b83e46 18182014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
1819
1820 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1821 as long long.
1822
41766a5f 18232014-01-25 Walter Lee <walt@tilera.com>
1824
1825 * config/tilepro/atomic.c: Include tconfig.h. Don't include
1826 config.h or system.h.
1827 (bool) Define.
1828
c8d04645 18292014-01-25 Walter Lee <walt@tilera.com>
1830
1831 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1832 (post_atomic_barrier): Ditto.
1833 (__fetch_and_do): New macro.
1834 (__atomic_fetch_and_do): Use __fetch_and_do.
1835 (__sync_fetch_and_do): New macro.
1836 (__sync_fetch_and_add_4): New function.
1837 (__sync_fetch_and_sub_4): New function.
1838 (__sync_fetch_and_or_4): New function.
1839 (__sync_fetch_and_and_4): New function.
1840 (__sync_fetch_and_xor_4): New function.
1841 (__sync_fetch_and_nand_4): New function.
1842 (__sync_fetch_and_add_8): New function.
1843 (__sync_fetch_and_sub_8): New function.
1844 (__sync_fetch_and_or_8): New function.
1845 (__sync_fetch_and_and_8): New function.
1846 (__sync_fetch_and_xor_8): New function.
1847 (__sync_fetch_and_nand_8): New function.
1848 (__do_and_fetch): New macro.
1849 (__atomic_do_and_fetch): Use __do_and_fetch.
1850 (__sync_do_and_fetch): New macro.
1851 (__sync_add_and_fetch_4): New function.
1852 (__sync_sub_and_fetch_4): New function.
1853 (__sync_or_and_fetch_4): New function.
1854 (__sync_and_and_fetch_4): New function.
1855 (__sync_xor_and_fetch_4): New function.
1856 (__sync_nand_and_fetch_4): New function.
1857 (__sync_add_and_fetch_8): New function.
1858 (__sync_sub_and_fetch_8): New function.
1859 (__sync_or_and_fetch_8): New function.
1860 (__sync_and_and_fetch_8): New function.
1861 (__sync_xor_and_fetch_8): New function.
1862 (__sync_nand_and_fetch_8): New function.
1863 (__sync_exchange_methods): New macro.
1864 (__sync_val_compare_and_swap_4): New function.
1865 (__sync_bool_compare_and_swap_4): New function.
1866 (__sync_lock_test_and_test_4): New function.
1867 (__sync_val_compare_and_swap_8): New function.
1868 (__sync_bool_compare_and_swap_8): New function.
1869 (__sync_lock_test_and_test_8): New function.
1870 (__subword_cmpxchg_body): New macro.
1871 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1872 (__atomic_compare_exchange_2): Ditto.
1873 (__sync_subword_cmpxchg): New macro.
1874 (__sync_val_compare_and_swap_1): New function.
1875 (__sync_bool_compare_and_swap_1): New function.
1876 (__sync_val_compare_and_swap_2): New function.
1877 (__sync_bool_compare_and_swap_2): New function.
1878 (__atomic_subword): Rename to ...
1879 (__subword): ... New name.
1880 (__atomic_subword_fetch): Use __subword.
1881 (__sync_subword_fetch): New macro.
1882 (__sync_fetch_and_add_1): New function.
1883 (__sync_fetch_and_sub_1): New function.
1884 (__sync_fetch_and_or_1): New function.
1885 (__sync_fetch_and_and_1): New function.
1886 (__sync_fetch_and_xor_1): New function.
1887 (__sync_fetch_and_nand_1): New function.
1888 (__sync_fetch_and_add_2): New function.
1889 (__sync_fetch_and_sub_2): New function.
1890 (__sync_fetch_and_or_2): New function.
1891 (__sync_fetch_and_and_2): New function.
1892 (__sync_fetch_and_xor_2): New function.
1893 (__sync_fetch_and_nand_2): New function.
1894 (__sync_add_and_fetch_1): New function.
1895 (__sync_sub_and_fetch_1): New function.
1896 (__sync_or_and_fetch_1): New function.
1897 (__sync_and_and_fetch_1): New function.
1898 (__sync_xor_and_fetch_1): New function.
1899 (__sync_nand_and_fetch_1): New function.
1900 (__sync_add_and_fetch_2): New function.
1901 (__sync_sub_and_fetch_2): New function.
1902 (__sync_or_and_fetch_2): New function.
1903 (__sync_and_and_fetch_2): New function.
1904 (__sync_xor_and_fetch_2): New function.
1905 (__sync_nand_and_fetch_2): New function.
1906 (__atomic_subword_lock): Use __subword.
1907 (__sync_subword_lock): New macro.
1908 (__sync_lock_test_and_set_1): New function.
1909 (__sync_lock_test_and_set_2): New function.
1910
47bfa8ec 19112014-01-25 Walter Lee <walt@tilera.com>
1912
1913 * config/tilepro/atomic.c (BIT_OFFSET): Define.
1914 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1915 (__atomic_subword): Ditto.
1916
fcb4fe71 19172014-01-25 Walter Lee <walt@tilera.com>
1918
1919 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1920 a prefix op argument.
1921 (__atomic_nand_fetch_4): Add prefix op.
1922 (__atomic_nand_fetch_8): Ditto.
1923
61364c59 19242014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 1925
1926 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1927
9c50d275 19282014-01-09 Rong Xu <xur@google.com>
1929
1930 * libgcov-driver.c (this_prg): make it local to save
1931 bss space.
1932 (gcov_exit_compute_summary): Ditto.
1933 (gcov_exit_merge_gcda): Ditto.
1934 (gcov_exit_merge_summary): Ditto.
1935 (gcov_exit_dump_gcov): Ditto.
1936
005a5ef5 19372014-01-08 Rong Xu <xur@google.com>
67745126 1938
1939 * libgcov-driver.c: Use libgcov.h.
1940 (buffer_fn_data): Use xmalloc instead of malloc.
1941 (gcov_exit_merge_gcda): Ditto.
1942 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1943 * libgcov.h: New common header files for libgcov-*.h.
1944 * libgcov-interface.c: Use libgcov.h
1945 * libgcov-merge.c: Ditto.
1946 * libgcov-profiler.c: Ditto.
1947 * Makefile.in: Add dependence to libgcov.h
1948
acf40e7e 19492014-01-02 Joseph Myers <joseph@codesourcery.com>
1950
1951 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1952 case of small numerator and finite nonzero result.
1953
f9fb6ba0 19542014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1955
1956 Update copyright years
1957
e4f22041 19582014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1959
1960 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1961 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1962 config/arc/dp-hack.h, config/arc/fp-hack.h,
1963 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1964 config/arc/ieee-754/arc600-dsp/divdf3.S,
1965 config/arc/ieee-754/arc600-dsp/divsf3.S,
1966 config/arc/ieee-754/arc600-dsp/muldf3.S,
1967 config/arc/ieee-754/arc600-dsp/mulsf3.S,
1968 config/arc/ieee-754/arc600-mul64/divdf3.S,
1969 config/arc/ieee-754/arc600-mul64/divsf3.S,
1970 config/arc/ieee-754/arc600-mul64/muldf3.S,
1971 config/arc/ieee-754/arc600-mul64/mulsf3.S,
1972 config/arc/ieee-754/arc600/divsf3.S,
1973 config/arc/ieee-754/arc600/mulsf3.S,
1974 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1975 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1976 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1977 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1978 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1979 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1980 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1981 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1982 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1983 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1984 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1985 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1986 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1987 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1988 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1989 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
1990 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
1991 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
1992 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
1993 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
1994 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
1995 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
1996 vtv_start_preinit.c: Use the standard form for the copyright notice.
1997
de65406d 19982013-12-31 Sandra Loosemore <sandra@codesourcery.com>
1999 Chung-Lin Tang <cltang@codesourcery.com>
2000 Based on patches from Altera Corporation
2001
2002 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
2003 * config/nios2/lib2-nios2.h: New file.
2004 * config/nios2/lib2-divmod-hi.c: New file.
2005 * config/nios2/linux-unwind.h: New file.
2006 * config/nios2/lib2-divmod.c: New file.
2007 * config/nios2/linux-atomic.c: New file.
2008 * config/nios2/t-nios2: New file.
2009 * config/nios2/crti.asm: New file.
2010 * config/nios2/t-linux: New file.
2011 * config/nios2/lib2-divtable.c: New file.
2012 * config/nios2/lib2-mul.c: New file.
2013 * config/nios2/tramp.c: New file.
2014 * config/nios2/crtn.asm: New file.
2015
a0f1278f 20162013-12-26 Uros Bizjak <ubizjak@gmail.com>
2017
2018 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
2019 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
2020 from cpuid.h to check vendor signatures.
2021
0337c8ef 20222013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
2023
e5d692d7 2024 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 2025 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
2026 (get_amd_cpu): Likewise.
2027
03797e66 20282013-12-25 H.J. Lu <hongjiu.lu@intel.com>
2029
2030 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
2031 Haswell.
2032
8a5280dc 20332013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
2034 H.J. Lu <hongjiu.lu@intel.com>
2035
ed1bc9a4 2036 PR target/59422
2037 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 2038 and AMD_JAGUAR.
2039 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
2040 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
2041 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
2042 FEATURE_XOP and FEATURE_FMA.
2043 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
2044 AMDFAM15H_BDVER3.
2045 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
ed1bc9a4 2046 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 2047 FEATURE_FMA4 and FEATURE_XOP.
2048
ccc305ff 20492013-12-23 H.J. Lu <hongjiu.lu@intel.com>
2050
2051 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
2052 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
2053 (get_intel_cpu): Updated.
2054
4ef5912a 20552013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
2056
2057 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
2058
62f068c6 20592013-12-09 Uros Bizjak <ubizjak@gmail.com>
2060
2061 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 2062 instructions when __SSE_MATH__ is defined.
62f068c6 2063
d742e92d 20642013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
2065
2066 * config.host (microblaze-*-rtems*): New.
2067
706d62f5 20682013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
2069
2070 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
2071 architectures that do not have hardware divide instruction.
2072 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
2073
81927967 20742013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
2075
2076 * longlong.h: Delete (moved to include/).
2077
085d03cc 20782013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2079
2080 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
2081 of normal number and qNaN to not raise an inexact exception.
2082
1f88bc79 20832013-11-28 Uros Bizjak <ubizjak@gmail.com>
2084
2085 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
2086
20872013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 2088
2089 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
2090 for correct opcodes on BE.
2091
ea9697c4 20922013-11-27 Uros Bizjak <ubizjak@gmail.com>
2093
2094 * soft-fp/op-4.h: Update from glibc.
2095
b214253d 20962013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
2097
2098 * libgcc2.c (__udivmoddi4): Define new implementation when
2099 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
2100 divide instructions.
2101
334819e8 21022013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
2103
2104 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
2105
2b8d95bc 21062013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2107
2108 * config/t-softfp (soft-fp-objects-base): New variable.
2109 (soft-fp-objects): Use it.
2110
39da7440 21112013-11-23 David Edelson <dje.gcc@gmail.com>
2112 Andrew Dixie <andrewd@gentrack.com>
2113
2114 PR target/33704
2115 * config/rs6000/aixinitfini.c: New file.
2116 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
2117 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
2118 symbols.
2119
b848ffcd 21202013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
2121
ea9697c4 2122 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 2123
f75db2a8 21242013-11-18 Jan Hubicka <jh@suse.cz>
2125
5dbddbd9 2126 * libgcov-driver.c (run_accounted): Make global level static.
2127 (gcov_exit_merge_summary): Silence warning; do not clear
2128 run_accounted here.
2129 (gcov_exit): Clear it here.
2130
7a45fd9b 2131 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
2132 run_accounted.
2133
f75db2a8 2134 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
2135 (all_prg, crc32): Remove static vars.
2136 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
2137 all_prg.
2138 (gcov_exit_merge_gcda): Add crc32 parameter.
2139 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
2140 do not account run if it was already accounted.
2141 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
2142 (gcov_exit): Initialize all_prg; update.
2143
822f2c1b 21442013-11-15 Andreas Schwab <schwab@linux-m68k.org>
2145
2146 * configure: Regenerate.
2147
238f342d 21482013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2149 Alan Modra <amodra@gmail.com>
2150
2151 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
2152 (frob_update_context): Use it.
2153
21542013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2155 Alan Modra <amodra@gmail.com>
2156
2157 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
2158 (trampoline_initial): Provide ELFv2 variant.
2159 (__trampoline_setup): Likewise.
2160
2161 * config/rs6000/linux-unwind.h (frob_update_context): Do not
2162 check for AIX indirect function call sequence if _CALL_ELF == 2.
2163
21642013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2165 Alan Modra <amodra@gmail.com>
2166
2167 * config/rs6000/linux-unwind.h (get_regs): Do not support
2168 old kernel versions if _CALL_ELF == 2.
2169 (frob_update_context): Do not support PLT stub variants only
2170 generated by old linkers if _CALL_ELF == 2.
2171
771a5362 21722013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2173 Alan Modra <amodra@gmail.com>
2174
2175 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
2176 location of CR save area for 64-bit little-endian systems.
2177
f4f176bd 21782013-11-11 Eric Botcazou <ebotcazou@adacore.com>
2179
2180 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
2181 in tmake_file.
2182 * config/arm/t-vxworks: Delete.
2183
024d645a 21842013-11-10 Kai Tietz <ktietz@redhat.com>
2185
2186 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
2187 Increment load-count on use of LIBGCC_SONAME DLL.
2188 (hmod_libgcc): New static variable to hold handle of
2189 LIBGCC_SONAME DLL.
2190 (__gcc_deregister_frame): Decrement load-count of
2191 LIBGCC_SONAME DLL.
2192
96ddb284 21932013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
2194
2195 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
2196 availability.
2197 * configure: Regenerate
2198
b4ad80db 21992013-11-07 Uros Bizjak <ubizjak@gmail.com>
2200
2201 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
2202 FP_EX_DENORM. Store result to volatile location after SSE division
2203 to close interrupt window. Remove unneeded fwait after x87
2204 division since interrupt window will be closed by emitted fstp.
dc1dacdf 2205 Rewrite FP_EX_INEXACT handling.
b4ad80db 2206
589468a6 22072013-11-06 Joseph Myers <joseph@codesourcery.com>
2208
2209 * soft-fp/README: Update.
2210 * soft-fp/adddf3.c: Update from glibc.
2211 * soft-fp/addsf3.c: Likewise.
2212 * soft-fp/addtf3.c: Likewise.
2213 * soft-fp/divdf3.c: Likewise.
2214 * soft-fp/divsf3.c: Likewise.
2215 * soft-fp/divtf3.c: Likewise.
2216 * soft-fp/double.h: Likewise.
2217 * soft-fp/eqdf2.c: Likewise.
2218 * soft-fp/eqsf2.c: Likewise.
2219 * soft-fp/eqtf2.c: Likewise.
2220 * soft-fp/extenddftf2.c: Likewise.
2221 * soft-fp/extended.h: Likewise.
2222 * soft-fp/extendsfdf2.c: Likewise.
2223 * soft-fp/extendsftf2.c: Likewise.
2224 * soft-fp/extendxftf2.c: Likewise.
2225 * soft-fp/fixdfdi.c: Likewise.
2226 * soft-fp/fixdfsi.c: Likewise.
2227 * soft-fp/fixdfti.c: Likewise.
2228 * soft-fp/fixsfdi.c: Likewise.
2229 * soft-fp/fixsfsi.c: Likewise.
2230 * soft-fp/fixsfti.c: Likewise.
2231 * soft-fp/fixtfdi.c: Likewise.
2232 * soft-fp/fixtfsi.c: Likewise.
2233 * soft-fp/fixtfti.c: Likewise.
2234 * soft-fp/fixunsdfdi.c: Likewise.
2235 * soft-fp/fixunsdfsi.c: Likewise.
2236 * soft-fp/fixunsdfti.c: Likewise.
2237 * soft-fp/fixunssfdi.c: Likewise.
2238 * soft-fp/fixunssfsi.c: Likewise.
2239 * soft-fp/fixunssfti.c: Likewise.
2240 * soft-fp/fixunstfdi.c: Likewise.
2241 * soft-fp/fixunstfsi.c: Likewise.
2242 * soft-fp/fixunstfti.c: Likewise.
2243 * soft-fp/floatdidf.c: Likewise.
2244 * soft-fp/floatdisf.c: Likewise.
2245 * soft-fp/floatditf.c: Likewise.
2246 * soft-fp/floatsidf.c: Likewise.
2247 * soft-fp/floatsisf.c: Likewise.
2248 * soft-fp/floatsitf.c: Likewise.
2249 * soft-fp/floattidf.c: Likewise.
2250 * soft-fp/floattisf.c: Likewise.
2251 * soft-fp/floattitf.c: Likewise.
2252 * soft-fp/floatundidf.c: Likewise.
2253 * soft-fp/floatundisf.c: Likewise.
2254 * soft-fp/floatunditf.c: Likewise.
2255 * soft-fp/floatunsidf.c: Likewise.
2256 * soft-fp/floatunsisf.c: Likewise.
2257 * soft-fp/floatunsitf.c: Likewise.
2258 * soft-fp/floatuntidf.c: Likewise.
2259 * soft-fp/floatuntisf.c: Likewise.
2260 * soft-fp/floatuntitf.c: Likewise.
2261 * soft-fp/gedf2.c: Likewise.
2262 * soft-fp/gesf2.c: Likewise.
2263 * soft-fp/getf2.c: Likewise.
2264 * soft-fp/ledf2.c: Likewise.
2265 * soft-fp/lesf2.c: Likewise.
2266 * soft-fp/letf2.c: Likewise.
2267 * soft-fp/muldf3.c: Likewise.
2268 * soft-fp/mulsf3.c: Likewise.
2269 * soft-fp/multf3.c: Likewise.
2270 * soft-fp/negdf2.c: Likewise.
2271 * soft-fp/negsf2.c: Likewise.
2272 * soft-fp/negtf2.c: Likewise.
2273 * soft-fp/op-1.h: Likewise.
2274 * soft-fp/op-2.h: Likewise.
2275 * soft-fp/op-4.h: Likewise.
2276 * soft-fp/op-8.h: Likewise.
2277 * soft-fp/op-common.h: Likewise.
2278 * soft-fp/quad.h: Likewise.
2279 * soft-fp/single.h: Likewise.
2280 * soft-fp/soft-fp.h: Likewise.
2281 * soft-fp/subdf3.c: Likewise.
2282 * soft-fp/subsf3.c: Likewise.
2283 * soft-fp/subtf3.c: Likewise.
2284 * soft-fp/truncdfsf2.c: Likewise.
2285 * soft-fp/trunctfdf2.c: Likewise.
2286 * soft-fp/trunctfsf2.c: Likewise.
2287 * soft-fp/trunctfxf2.c: Likewise.
2288 * soft-fp/unorddf2.c: Likewise.
2289 * soft-fp/unordsf2.c: Likewise.
2290 * soft-fp/unordtf2.c: Likewise.
2291
8a3edb33 22922013-11-05 Uros Bizjak <ubizjak@gmail.com>
2293
2294 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
2295 (_FP_MUL_MEAT_D): Ditto.
2296 (_FP_DIV_MEAT_S): Ditto.
2297 (_FP_DIV_MEAT_D): Ditto.
2298 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
2299 t-softfp-sfdf and t-softfp to tmake_file.
2300
ea151fae 23012013-11-03 Uros Bizjak <ubizjak@gmail.com>
2302
2303 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
2304 * config/i386/crtprec.c: Ditto.
2305
eae21ed1 23062013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
2307 Shiva Chen <shiva0217@gmail.com>
2308
2309 * config.host (nds32*-elf*): Add nds32 target.
2310 * config/nds32 : New directory and files.
2311
b4294f67 23122013-10-16 Hans-Peter Nilsson <hp@axis.com>
2313
2314 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
2315 * config.host (cpu_type) <Setting default>: Add entry for
2316 crisv32-*-*.
2317 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
2318 <crisv32-*-linux*>: Adjust.
2319 * longlong.h: Wrap the whole CRIS section in a single
2320 defined(__CRIS__) conditional. Add comment about add_ssaaaa
2321 and sub_ddmmss.
2322 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
2323 defined.
2324 [__CRIS__] (__umulsidi3): Define.
2325 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
2326 * config/cris/sfp-machine.h: New file.
2327 * config/cris/umulsidi3.S: New file.
2328 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
2329 * config/cris/arit.c (SIGNMULT): New macro.
2330 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
2331 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
2332 saving 3 out of originally 33 cycles from the fastest
2333 path, 3 out of 54 from the medium path and one from the longest
2334 path. Improve comments.
2335
89432048 23362013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
2337
2338 * sync.c: Remove static aliases and define each function directly
2339 under its real name.
2340
a99f9d91 23412013-10-02 John David Anglin <danglin@gcc.gnu.org>
2342
2343 * config.host (hppa*64*-*-linux*): Define extra_parts.
2344 (hppa*-*-linux*): Likewise.
2345
c6e92c43 23462013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
2347
2348 * config/arc/crtgend.S: Add 2013 to Copyright years.
2349 * config/arc/gmon/atomic.h: Likewise.
2350 * config/arc/gmon/auxreg.h: Likewise.
2351 * config/arc/gmon/sys/gmon_out.h: Likewise.
2352 * config/arc/gmon/sys/gmon.h: Likewise.
2353 * config/arc/gmon/prof-freq.c: Likewise.
2354 * config/arc/gmon/mcount.c: Likewise.
2355 * config/arc/gmon/prof-freq-stub.S: Likewise.
2356 * config/arc/gmon/gmon.c: Likewise.
2357 * config/arc/gmon/machine-gmon.h: Likewise.
2358 * config/arc/gmon/profil.S: Likewise.
2359 * config/arc/gmon/dcache_linesz.S: Likewise.
2360 * config/arc/crtg.S: Likewise.
2361 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
2362 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
2363 * config/arc/ieee-754/adddf3.S: Likewise.
2364 * config/arc/ieee-754/truncdfsf2.S: Likewise.
2365 * config/arc/ieee-754/fixsfsi.S: Likewise.
2366 * config/arc/ieee-754/gtsf2.S: Likewise.
2367 * config/arc/ieee-754/floatsisf.S: Likewise.
2368 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
2369 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
2370 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
2371 * config/arc/ieee-754/fixdfsi.S: Likewise.
2372 * config/arc/ieee-754/addsf3.S: Likewise.
2373 * config/arc/ieee-754/gesf2.S: Likewise.
2374 * config/arc/ieee-754/floatsidf.S: Likewise.
2375 * config/arc/ieee-754/extendsfdf2.S: Likewise.
2376 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
2377 * config/arc/ieee-754/gtdf2.S: Likewise.
2378 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
2379 * config/arc/ieee-754/uneqdf2.S: Likewise.
2380 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2381 * config/arc/ieee-754/uneqsf2.S: Likewise.
2382 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
2383 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
2384 * config/arc/ieee-754/eqdf2.S: Likewise.
2385 * config/arc/ieee-754/ordsf2.S: Likewise.
2386 * config/arc/ieee-754/divsf3.S: Likewise.
2387 * config/arc/ieee-754/divdf3.S: Likewise.
2388 * config/arc/ieee-754/floatunsidf.S: Likewise.
2389 * config/arc/ieee-754/orddf2.S: Likewise.
2390 * config/arc/ieee-754/eqsf2.S: Likewise.
2391 * config/arc/ieee-754/gedf2.S: Likewise.
2392 * config/arc/crtn.S: Likewise.
2393 * config/arc/crti.S: Likewise.
2394 * config/arc/t-arc700-uClibc: Likewise.
2395 * config/arc/asm.h: Likewise.
2396 * config/arc/libgcc-excl.ver: Likewise.
2397 * config/arc/t-arc-newlib: Likewise.
2398 * config/arc/divtab-arc700.c: Likewise.
2399 * config/arc/initfini.c: Likewise.
2400 * config/arc/fp-hack.h: Likewise.
2401
8abf21c0 24022013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
2403 Diego Novillo <dnovillo@google.com>
2404
2405 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
29941397 2406 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
2407 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
2408 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8abf21c0 2409
8eaaaea3 24102013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
2411 Brendan Kehoe <brendan@zen.org>
2412 Simon Cook <simon.cook@embecosm.com>
2413
2414 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
2415 * config/arc: New directory.
2416 * longlong.h [__arc__] (umul_ppmm): Remove.
2417 [__arc__] (__umulsidi3): Define.
2418 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
2419 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
2420
5d7073ff 24212013-09-17 Jacek Caban <jacek@codeweavers.com>
2422
2423 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
2424 CreateSemaphoreA.
2425 * config/i386/gthr-win32.h: Likewise.
2426
c5a0ae5e 24272013-09-16 DJ Delorie <dj@redhat.com>
2428
3feee9ae 2429 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 2430 * config/rl78/lib2mul.c: Enable for RL78/G10.
2431 * config/rl78/lib2div.c: Likewise.
2432 * config/rl78/lshrsi3.S: Use vregs.h.
2433 * config/rl78/cmpsi2.S: Likewise.
2434 * config/rl78/trampoline.S: Likewise.
2435 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
2436
03223f89 24372013-09-14 DJ Delorie <dj@redhat.com>
2438 Nick Clifton <nickc@redhat.com>
2439
2440 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
2441 * config/rl78/vregs.h: New.
2442 * config/rl78/signbit.S: New file. Implements signbit function.
2443 * config/rl78/divmodsi.S: New.
2444 * config/rl78/divmodhi.S: New.
2445 * config/rl78/divmodqi.S: New.
2446 * config/rl78/t-rl78: Build them here...
2447 * config/rl78/lib2div.c: ...but not here.
2448
e4a25868 24492013-09-12 DJ Delorie <dj@redhat.com>
2450
2451 * config.host (msp*-*-elf): New.
2452 * config/msp430/: New port.
2453
f5f1a747 24542013-08-18 Iain Sandoe <iain@codesourcery.com>
2455
2456 PR gcov-profile/58127
2457 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
2458 __thread var for emulated TLS.
2459 (__gcov_indirect_call_counters): Likewise.
2460
272552a3 24612013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 2462 Catherine Moore <clm@codesourcery.com>
2463 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 2464
2465 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
2466 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
2467 (CALL_STUB_NO_RET): Likewise.
2468 (CALL_STUB_RET): Likewise.
2469 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
2470 __mips16_ret call/return stub symbols.
2471 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
2472 to tmake_file.
2473
26865d30 24742013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
2475
2476 * config.host <mips*-*-linux*>: Remove a stray comment.
2477
4771c0ac 24782013-08-10 Jan Hubicka <jh@suse.cz>
2479
2480 Work around binutils PR14342
2481 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
2482 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
2483 (L_gcov_indirect_call_profiler_v2): New.
2484
fe37be54 24852013-08-06 Jan Hubicka <jh@suse.cz>
2486
2487 * libgcov.c (__gcov_indirect_call_callee,
2488 __gcov_indirect_call_counters): New global vars.
2489 (__gcov_indirect_call_profiler): replace by ...
2490 (__gcov_indirect_call_profiler_v2) ... this one.
2491
b710ec85 24922013-08-06 Caroline Tice <cmtice@google.com>
2493
62257207 2494 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 2495 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 2496 * configure.ac: Add code to check/set enable_vtable_verify.
2497 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
b710ec85 2498 true.
62257207 2499 * vtv_start_preinit.c: New file.
2500 * vtv_end_preinit.c: New file.
2501 * vtv_start.c: New file.
2502 * vtv_end.c: New file.
2503 * configure: Regenerated.
b710ec85 2504
98997678 25052013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
2506
2507 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
2508 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
2509 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
2510 GPL-3.0-with-GCC-exception.
2511
b26b6f0d 25122013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
2513
2514 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
2515 ISA and up.
2516
e6270f6f 25172013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2518
2519 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
2520 mapping for FPRs when creating the fallback framestate.
2521
fdbf5b19 25222013-07-19 Georg-Johann Lay <avr@gjlay.de>
2523
2524 PR target/57516
2525 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
2526 (__round_s2_const, __round_u2_const)
2527 (__round_s4_const, __round_u4_const, __round_x8):
2528 Saturate result if addition result cannot be represented.
2529
6dcb849c 25302013-07-15 Matthias Klose <doko@ubuntu.com>
2531
2532 * libgcc2.c: Don't include <limits.h>.
2533
16348e18 25342013-07-09 Janis Johnson <janisjo@codesourcery.com>
2535
2536 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
2537
64b5be08 25382013-07-06 Jakub Jelinek <jakub@redhat.com>
2539
2540 PR target/29776
2541 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
2542
68a09193 25432013-06-28 Jakub Jelinek <jakub@redhat.com>
2544
2545 PR middle-end/36041
2546 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
2547 Define.
2548 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
2549 instead of table lookups.
2550 (__popcountDI2): Likewise.
2551
5fe358df 25522013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
2553
2554 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
2555 correctly.
2556
2511e9f1 25572013-06-21 Joseph Myers <joseph@codesourcery.com>
2558
2559 PR other/53317
2560 * soft-fp/adddf3.c: Update from glibc.
2561 * soft-fp/addsf3.c: Likewise.
2562 * soft-fp/addtf3.c: Likewise.
2563 * soft-fp/divdf3.c: Likewise.
2564 * soft-fp/divsf3.c: Likewise.
2565 * soft-fp/divtf3.c: Likewise.
2566 * soft-fp/double.h: Likewise.
2567 * soft-fp/eqdf2.c: Likewise.
2568 * soft-fp/eqsf2.c: Likewise.
2569 * soft-fp/eqtf2.c: Likewise.
2570 * soft-fp/extenddftf2.c: Likewise.
2571 * soft-fp/extended.h: Likewise.
2572 * soft-fp/extendsfdf2.c: Likewise.
2573 * soft-fp/extendsftf2.c: Likewise.
2574 * soft-fp/fixdfdi.c: Likewise.
2575 * soft-fp/fixdfsi.c: Likewise.
2576 * soft-fp/fixsfdi.c: Likewise.
2577 * soft-fp/fixsfsi.c: Likewise.
2578 * soft-fp/fixtfdi.c: Likewise.
2579 * soft-fp/fixtfsi.c: Likewise.
2580 * soft-fp/fixunsdfdi.c: Likewise.
2581 * soft-fp/fixunsdfsi.c: Likewise.
2582 * soft-fp/fixunssfdi.c: Likewise.
2583 * soft-fp/fixunssfsi.c: Likewise.
2584 * soft-fp/fixunstfdi.c: Likewise.
2585 * soft-fp/fixunstfsi.c: Likewise.
2586 * soft-fp/floatdidf.c: Likewise.
2587 * soft-fp/floatdisf.c: Likewise.
2588 * soft-fp/floatditf.c: Likewise.
2589 * soft-fp/floatsidf.c: Likewise.
2590 * soft-fp/floatsisf.c: Likewise.
2591 * soft-fp/floatsitf.c: Likewise.
2592 * soft-fp/floatundidf.c: Likewise.
2593 * soft-fp/floatundisf.c: Likewise.
2594 * soft-fp/floatunditf.c: Likewise.
2595 * soft-fp/floatunsidf.c: Likewise.
2596 * soft-fp/floatunsisf.c: Likewise.
2597 * soft-fp/floatunsitf.c: Likewise.
2598 * soft-fp/gedf2.c: Likewise.
2599 * soft-fp/gesf2.c: Likewise.
2600 * soft-fp/getf2.c: Likewise.
2601 * soft-fp/ledf2.c: Likewise.
2602 * soft-fp/lesf2.c: Likewise.
2603 * soft-fp/letf2.c: Likewise.
2604 * soft-fp/muldf3.c: Likewise.
2605 * soft-fp/mulsf3.c: Likewise.
2606 * soft-fp/multf3.c: Likewise.
2607 * soft-fp/negdf2.c: Likewise.
2608 * soft-fp/negsf2.c: Likewise.
2609 * soft-fp/negtf2.c: Likewise.
2610 * soft-fp/op-1.h: Likewise.
2611 * soft-fp/op-2.h: Likewise.
2612 * soft-fp/op-4.h: Likewise.
2613 * soft-fp/op-8.h: Likewise.
2614 * soft-fp/op-common.h: Likewise.
2615 * soft-fp/quad.h: Likewise.
2616 * soft-fp/single.h: Likewise.
2617 * soft-fp/soft-fp.h: Likewise.
2618 * soft-fp/subdf3.c: Likewise.
2619 * soft-fp/subsf3.c: Likewise.
2620 * soft-fp/subtf3.c: Likewise.
2621 * soft-fp/truncdfsf2.c: Likewise.
2622 * soft-fp/trunctfdf2.c: Likewise.
2623 * soft-fp/trunctfsf2.c: Likewise.
2624 * soft-fp/unorddf2.c: Likewise.
2625 * soft-fp/unordsf2.c: Likewise.
2626 * soft-fp/unordtf2.c: Likewise.
2627 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2628 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2629 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2630 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2631 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2632 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2633 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2634 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2635 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2636 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2637 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2638 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2639
0b4e9fcd 26402013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
2641
2642 * config/mips/lib2funcs.c: New file.
2643 * config/mips/t-mips (LIB2ADD_ST): Add it.
2644
fe9c9e23 26452013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
2646
2647 PR target/6526
2648 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2649 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
2650
1c229e23 26512013-06-08 Walter Lee <walt@tilera.com>
2652
2653 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2654 Replace int64_t with long long. Add __extension__ where
2655 appropriate.
2656 * config/tilepro/atomic.c: Include config.h.
2657
1a7dfb13 26582013-06-06 Douglas B Rupp <rupp@adacore.com>
2659
2660 * config.host (arm-wrs-vxworks): Configure with other soft float.
2661
60b34f30 26622013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
2663
2664 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2665 (mips64r5900el-*-elf*): New configurations.
2666
ebe9cbdb 26672013-06-04 Alan Modra <amodra@gmail.com>
2668
2669 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2670
fbcee6d1 26712013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
2672
2673 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2674
aad33226 26752013-05-28 Eric Botcazou <ebotcazou@adacore.com>
2676
2677 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2678 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2679 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2680
47ab8c10 26812013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2682
2683 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2684 (powerpc-wrs-vxworks): Likewise.
2685
34a60aa2 26862013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2687
2688 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2689 signal frames as well.
2690 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2691 STACK_BIAS to the CFA offset.
2692
be82f7a8 26932013-05-17 Richard Henderson <rth@redhat.com>
2694
2695 PR target/49146
2696 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2697 (execute_cfa_program): Use it when storing to fs->regs.
2698
bd89d2b6 26992013-05-08 Kai Tietz <ktietz@redhat.com>
2700
2701 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2702 (__deregister_frame_info): Likewise.
2703
9e849aff 27042013-05-06 Thomas Schwinge <thomas@codesourcery.com>
2705
dfa9a36a 2706 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2707 NaN's payload.
2708
9e849aff 2709 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2710
d80dc920 27112013-04-25 Alan Modra <amodra@gmail.com>
2712
2713 * config.host: Match little-endian powerpc-linux.
2714
d359df0c 27152013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
2716
2717 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2718 as 'unsigned long long' instead of 'unsigned long'.
2719 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2720 'signed long'.
2721
912507e5 27222013-04-10 Julian Brown <julian@codesourcery.com>
2723
2724 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2725 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2726 unsigned char/unsigned short.
2727 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2728
9dafcef4 27292013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2730
2731 PR other/55274
2732 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2733
11bec6e6 27342013-04-04 Meador Inge <meadori@codesourcery.com>
2735
2736 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2737 computing the location of the link register.
2738 (aeabi_uldivmod): Ditto.
2739
45d13ef4 27402013-03-27 Kai Tietz <ktietz@redhat.com>
2741
2742 * config.host: Add support for cygwin x64 target.
2743 * configure: Regenerated.
2744
cad8262b 27452013-03-26 Walter Lee <walt@tilera.com>
2746
2747 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2748 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2749
d2adc174 27502013-03-25 Kai Tietz <ktietz@redhat.com>
2751
2752 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2753
a5487e41 27542013-03-20 Robert Mason <rbmj@verizon.net>
2755
2756 * config/vxlib-tls.c (__gthread_get_tsd_data,)
2757 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2758 (__gthread_leave_tsd_dtor_context): Add prototypes.
2759 (tls_delete_hook): Update.
2760
ff9c1bc1 27612013-03-20 Catherine Moore <clm@codesourcery.com>
2762 Joseph Myers <joseph@codesourcery.com>
2763 Chao-ying Fu <fu@mips.com>
2764
2765 * config/mips/mips16.S: Don't build for microMIPS.
2766 * config/mips/linux-unwind.h: Handle microMIPS frame.
2767 * config/mips/crtn.S (fini, init): New labels.
2768
228bf2b8 27692013-03-14 Jakub Jelinek <jakub@redhat.com>
2770
2771 PR tree-optimization/53265
2772 * unwind-dw2.c (execute_cfa_program): Avoid
2773 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2774 on targets with DWARF_FRAME_REGISTERS < 32.
2775
bb057878 27762013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
2777
2778 PR target/49880
2779 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2780 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2781
a1b2a524 27822013-03-07 Sriraman Tallam <tmsriram@google.com>
2783
2784 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2785 sandybridge processors.
2786
9fe603c3 27872013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
2788
2789 PR target/56529
2790 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2791 inclusion list.
2792
21ebaa24 27932013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 2794
2795 * config/microblaze/crti.S: Setup stack protection at entry
2796
958069e9 27972013-03-04 Georg-Johann Lay <avr@gjlay.de>
2798
2799 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2800 (__rotldi3): Shift bytewise if applicable.
2801
49be16da 28022013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
2803
2804 * config/aarch64/sync-cache.c
2805 (__aarch64_sync_cache_range): Silence warnings.
2806
ca7a473f 28072013-02-25 Catherine Moore <clm@codesourcery.com>
2808
2809 Revert:
2810 2013-02-24 Catherine Moore <clm@codesourcery.com>
2811 Joseph Myers <joseph@codesourcery.com>
2812 Chao-ying Fu <fu@mips.com>
2813
2814 * config/mips/mips16.S: Don't build for microMIPS.
2815 * config/mips/linux-unwind.h: Handle microMIPS frame.
2816 * config/mips/crtn.S (fini, init): New labels.
2817
7fd93f9c 28182013-02-24 Catherine Moore <clm@codesourcery.com>
2819 Joseph Myers <joseph@codesourcery.com>
2820 Chao-ying Fu <fu@mips.com>
2821
2822 * config/mips/mips16.S: Don't build for microMIPS.
2823 * config/mips/linux-unwind.h: Handle microMIPS frame.
2824 * config/mips/crtn.S (fini, init): New labels.
2825
1859244f 28262012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 2827 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 2828 as dividend.
2829
2a0bfd56 28302013-02-16 Alan Modra <amodra@gmail.com>
2831
2832 PR target/55431
2833 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2834 (ppc_fallback_frame_state): Always set up save locations for fp
2835 and altivec. Don't bother with non-callee-saved regs, r0-r13
2836 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2837
cfbcb7d5 28382013-02-12 Georg-Johann Lay <avr@gjlay.de>
2839
2840 PR target/54222
2841 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2842 _ssmulHA, _ssmulSA.
2843 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2844 _ssmulha3, _usmulusa3, _ssmulsa3.
2845 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2846 (__muldi3): XCALL __muldi3_6 instead of rcall.
2847 (__umulsidi3, __mulsidi3): New functions.
2848 (do_prologue_saves, do_epilogue_restores): New .macros.
2849 (__divdi3_moddi3): Use them.
2850 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2851 (__usmulusa3, __ssmulsa3): New functions.
2852
48b8e70a 28532013-02-11 Iain Sandoe <iain@codesourcery.com>
2854 Jack Howarth <howarth@bromo.med.uc.edu>
2855 Patrick Marlier <patrick.marlier@gmail.com>
2856
2857 PR libitm/55693
2858 * config/darwin-crt-tm.c: Remove dummy functions hack.
2859
eafea251 28602013-02-08 Georg-Johann Lay <avr@gjlay.de>
2861
2862 PR target/54222
2863 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2864 * config/avr/lib2-object.mk: New iterator to build objects from it.
2865 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2866 lib2funcs.c.
2867 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2868 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2869 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2870 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2871 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2872 * config/avr/lib1funcs-fixed.S: Implement them.
2873
64b7b462 28742013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
2875
2876 Update copyright years.
2877
a8af2dd5 28782013-02-01 David Edelsohn <dje.gcc@gmail.com>
2879
2880 PR target/54601
2881 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2882 Add crtcxa to extra_parts.
2883 * config/rs6000/exit.h: New file.
2884 * config/rs6000/cxa_atexit.c: New file.
2885 * config/rs6000/cxa_finalize.c: New file.
2886 * config/rs6000/crtcxa.c: New file.
2887 * config/rs6000/t-aix-cxa: New file.
2888 * config/rs6000/libgcc-aix-cxa.ver: New file.
2889
9a5788ea 28902013-01-31 Nick Clifton <nickc@redhat.com>
2891
2892 * config/v850/lib1funcs.S: Add support for e3v5 architecture
2893 variant.
2894
63c85bd5 28952013-01-29 Georg-Johann Lay <avr@gjlay.de>
2896
2897 PR target/54222
2898 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2899 _mulQQ, _mulHQ, _mulHA, _mulSA,
2900 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2901 _divQQ, _divHQ, _divHA, _divSA,
2902 _divUQQ, _divUHQ, _divUHA, _divUSA.
2903
21ebaa24 29042013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 2905
9a5788ea 2906 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 2907 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2908 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2909 to exclude functions from being built with libgcc.c and use
2910 the microblaze assembly.
2911
21ebaa24 29122013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 2913
2914 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2915 extra_parts.
2916
ee4d7d9e 29172013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
2918
2919 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2920 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2921 __UINTPTR_TYPE__; also cast 'base' to the same type before the
2922 alignment operation.
2923
7deea711 29242013-01-15 Sofiane Naci <sofiane.naci@arm.com>
2925
2926 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2927 loop start address for cache clearing.
2928
0dff9558 29292013-01-14 Georg-Johann Lay <avr@gjlay.de>
2930
2931 * config/avr/lib1funcs.S: Remove trailing blanks.
2932 * config/avr/lib1funcs-fixed.S: Ditto.
2933
d8ff1e9a 29342013-01-14 Georg-Johann Lay <avr@gjlay.de>
2935
2936 * config/avr/avr-lib.h: Add GPL copyright notice.
2937
dd509879 29382013-01-14 Georg-Johann Lay <avr@gjlay.de>
2939
2940 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2941 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2942 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2943 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2944
6e029611 29452013-01-07 Mark Kettenis <kettenis@openbsd.org>
2946
2947 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2948 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 2949
409ad634 29502013-01-04 Nick Clifton <nickc@redhat.com>
2951
2952 * config/v850/lib1funcs.S: Only provide CALLT support functions if
2953 the CALLT instruction is supported.
2954
1d384e02 29552012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2956
2957 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2958 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2959
cc4b03ac 29602012-12-13 John Tytgat <John@bass-software.com>
2961
2962 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2963 is 25.
2964
990457e2 29652012-12-12 Jakub Jelinek <jakub@redhat.com>
2966
2967 PR libgcc/55451
2968 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2969 undefined signed overflows.
2970
db6a9a70 29712012-12-09 Uros Bizjak <ubizjak@gmail.com>
2972
2973 PR target/55344
2974 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2975
038a6cd9 29762012-12-06 Uros Bizjak <ubizjak@gmail.com>
2977
2978 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2979 (FP_TRAPPING_EXCEPTIONS): Define.
2980 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2981 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2982
ef5f15fb 29832012-12-04 Richard Henderson <rth@redhat.com>
2984
2985 PR bootstrap/55571
2986 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2987
09ef8b8d 29882012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2989
038a6cd9 2990 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 2991 (FP_EX_SHIFT): Define.
2992 (FP_TRAPPING_EXCEPTIONS): Define.
2993
1caca546 29942012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2995
2996 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
2997 (FP_ROUNDMODE): Use FP_RND_MASK.
2998 * config/aarch64/sfp-exceptions.c: New.
2999 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3000 Use __sfp_handle_exceptions.
3001
6a11e52b 30022012-12-04 Richard Earnshaw <rearnsha@arm.com>
3003
3004 * config.host: (arm*-*-freebsd*): Remove.
3005 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
3006 (arm*-*-elf*): Remove.
3007 (arm*-*-wince-pe*): Remove.
3008 * arm/unwind-arm.c (struct fpa_reg): Delete.
3009 (struct fpa_regs): Delete.
3010 (phase1_vrs): Remove fpa element.
3011 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
3012 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
3013 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
3014 * ieee754-sf.S (floatundisf): Remove FPA support.
3015 (floatdisf): Likewise.
3016 * ieee75f-df.S (floatundidf): Likewise.
3017 (floatdidf): Likewise.
3018
a92cf445 30192012-11-29 Kai Tietz <ktietz@redhat.com>
3020
3021 PR target/55445
3022 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
3023 * unwind-generic.h: Likewise.
3024 * unwind-seh.c: Likewise.
3025
f0b6dfa6 30262012-11-28 Richard Henderson <rth@redhat.com>
3027
3028 PR libgcc/48076
3029 * emutls.c (__emutls_get_address): Avoid race condition between
3030 obj->loc.offset read and emutls_key initialization.
038a6cd9 3031
c8ec4eb6 30322012-11-22 Georg-Johann Lay <avr@gjlay.de>
3033
3034 Adjust decimal point of signed accum mode to GCC default.
3035
3036 PR target/54222
3037 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
3038 _divqq_helper.
3039 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
3040 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
3041 (__mulha3, __mulsa3)
3042 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 3043 decimal point of signed accum types.
3044
c8ec4eb6 3045 (__mulusa3_round): New function.
3046 (__mulusa3): Use it.
3047 (__divqq_helper): New function.
3048 (__udivuqq3): Use it.
3049
ca8c4cb9 30502012-11-20 Jakub Jelinek <jakub@redhat.com>
3051
3052 PR bootstrap/55370
3053 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
3054
5d2fca09 30552012-11-18 Teresa Johnson <tejohnson@google.com>
3056
3057 PR bootstrap/55051
3058 * libgcov.c (gcov_exit): Remove merged program summary
3059 comparison unless !GCOV_LOCKED.
3060
bfc20a3e 30612012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
3062
3063 * soft-fp: Updated from glibc upstream.
3064
20f6e7a3 30652012-11-06 Ian Lance Taylor <iant@google.com>
3066
3067 * generic-morestack.c (__generic_morestack): Align the returned
3068 stack pointer to a 32 byte boundary.
3069 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
3070 increment the return address until we have decided that we don't
3071 have a varargs function.
3072 (__morestack) [32-bit]: Align stack correctly when calling C
3073 functions.
3074 (__morestack) [64-bit]: Likewise.
3075
97bd2465 30762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3077
3078 * configure: Regenerate.
3079
d152ae90 30802012-11-02 Uros Bizjak <ubizjak@gmail.com>
3081
3082 PR target/55175
3083 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
3084 * config/i386/sfp-machine.h: Guard exception handling
3085 code with _SOFT_FLOAT.
3086 * config/i386/32/sfp-machine.h: Guard rounding handling
3087 code with _SOFT_FLOAT.
3088 * config/i386/64/sfp-machine.h: Ditto.
3089
0cd8c088 30902012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
3091
3092 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
3093 as extra_parts.
3094
113702f6 30952012-10-26 Uros Bizjak <ubizjak@gmail.com>
3096
3097 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
3098 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
3099 when appropriate. Correct structure element types.
3100 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
3101 -minline-all-stringops from compile flags.
3102
00b706f9 31032012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
3104
3105 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
3106
57380e33 31072012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
3108
113702f6 3109 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 3110
a2397d15 31112012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
3112
3113 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
3114 tmake_file.
3115
1b3d2097 31162012-10-23 Ian Bolton <ian.bolton@arm.com>
3117 Jim MacArthur <jim.macarthur@arm.com>
3118 Marcus Shawcroft <marcus.shawcroft@arm.com>
3119 Nigel Stephens <nigel.stephens@arm.com>
3120 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3121 Richard Earnshaw <rearnsha@arm.com>
3122 Sofiane Naci <sofiane.naci@arm.com>
3123 Stephen Thomas <stephen.thomas@arm.com>
3124 Tejas Belagod <tejas.belagod@arm.com>
3125 Yufeng Zhang <yufeng.zhang@arm.com>
3126
3127 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
3128 * config/aarch64/crti.S: New file.
3129 * config/aarch64/crtn.S: New file.
3130 * config/aarch64/linux-unwind.h: New file.
3131 * config/aarch64/sfp-machine.h: New file.
3132 * config/aarch64/sync-cache.c: New file.
3133 * config/aarch64/t-aarch64: New file.
3134 * config/aarch64/t-softfp: New file.
3135
cfdcf688 31362012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
3137
3138 * config/mmix/crti.S: Mark program and data addresses using PRELD.
3139 Remove typo'd and unnecessary alignment-LOC for .data. Remove
3140 no-longer-needed LDBU insns.
3141
598ebe3d 31422012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
3143
3144 * config.host
3145 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
3146 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
3147
530c2b2e 31482012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3149
3150 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
3151
f49eb158 31522012-10-15 Matthias Klose <doko@ubuntu.com>
3153
3154 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
3155
017f22df 31562012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
3157
3158 * configure: Regenerate.
3159 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
3160
da8b7497 31612012-10-10 Uros Bizjak <ubizjak@gmail.com>
3162
3163 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
3164 instructions for 64bit targets only.
3165
19a23012 31662012-10-10 Uros Bizjak <ubizjak@gmail.com>
3167
3168 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3169 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
3170 * config/i386/32/sfp-machine.h: ... here.
3171 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
3172 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
3173 New defines.
3174
a32dc74a 31752012-10-07 Matthias Klose <doko@ubuntu.com>
3176
3177 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
3178 as unused.
3179 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
3180
81ae3d37 31812012-10-06 Mark Kettenis <kettenis@openbsd.org>
3182
3183 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
3184 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
3185 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
3186 (ElfW): Likewise.
3187
4e6a7cfc 31882012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
3189
3190 PR other/53889
3191 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3192 Fix parameter names.
3193
7cc401e3 31942012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
3195
3196 PR target/33135
3197 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
3198 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
3199 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
3200
cfaba078 32012012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
3202
3203 PR target/50457
3204 * config/sh/linux-atomic.S: Delete.
3205 * config/sh/linux-atomic.c: New.
3206 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
3207 linux-atomic.c. Add cflags to disable warnings.
3208
4854adab 32092012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3210
3211 PR other/53889
3212 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
3213 function.
3214 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
3215 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
3216 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
3217 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 3218 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
3219 Likewise.
4854adab 3220 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
3221 Likewise.
3222 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
3223 Likewise.
3224 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
3225 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
3226
07cf7615 32272012-09-19 Mark Kettenis <kettenis@openbsd.org>
3228
cfaba078 3229 * config.host (hppa-*-openbsd*): New target.
3230 * config/pa/t-openbsd: New file.
07cf7615 3231
b4ebb666 32322012-09-15 Georg-Johann Lay <avr@gjlay.de>
3233
3234 PR target/54222
3235 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
3236 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
3237 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
3238 (__divsa3): Use __negsi2 to negate r_quoL.
3239 * config/avr/lib1funcs.S (FALIAS): New macro.
3240 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
3241 (__negsi2): ...this new function.
3242 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
3243 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
3244 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
3245 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
3246 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
3247 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
3248
6e7c6395 32492012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
3250
3251 PR target/54089
3252 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
3253 (lshrsi3): Reimplement as lshrsi3_r0.
3254
5e847ded 32552012-09-10 Andreas Schwab <schwab@linux-m68k.org>
3256
3257 PR target/46191
3258 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
3259 of libgcc.a.
3260
7995ce5f 32612012-09-07 Teresa Johnson <tejohnson@google.com>
3262
cfaba078 3263 PR gcov-profile/54487
7995ce5f 3264 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 3265 differences.
7995ce5f 3266
fd28e216 32672012-09-05 Georg-Johann Lay <avr@gjlay.de>
3268
3269 PR target/54461
3270 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
3271 not configured --with-avrlibc=no.
3272 * config/avr/t-avrlibc: New file.
3273 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
3274 (DPBIT_FUNCS): Ditto.
3275 (TPBIT_FUNCS): Ditto.
3276
2688cb90 32772012-09-04 Teresa Johnson <tejohnson@google.com>
3278
3279 * libgcov.c (struct gcov_summary_buffer): New structure.
3280 (gcov_histogram_insert): New function.
3281 (gcov_compute_histogram): Ditto.
3282 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
3283 histograms during summary merging.
3284
51796b3a 32852012-09-01 Mark Kettenis <kettenis@openbsd.org>
3286
3287 * config.host (x86_64-*-openbsd*): New target.
d152ae90 3288
d36db932 32892012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
3290
3291 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
3292 attribute.
3293
d87654c8 32942012-08-24 Georg-Johann Lay <avr@gjlay.de>
3295
3296 PR target/54222
3297 * config/avr/t-avr (conv_X): Rename to func_X.
3298
017c5b98 32992012-08-24 Georg-Johann Lay <avr@gjlay.de>
3300
3301 PR target/54222
3302 * config/avr/lib1funcs-fixed.S: New file.
3303 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
3304 after they are used.
3305 (neg2, neg4): New macros.
3306 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
3307 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
3308 (__umulhisi3): Speed up MUL variant if there is enough flash.
3309 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
3310 avr-modes.def.
3311 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
3312 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
3313 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
3314 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
3315 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
3316 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
3317 (LIB2FUNCS_EXCLUDE): Add supported functions.
3318
65bcd545 33192012-08-22 Georg-Johann Lay <avr@gjlay.de>
3320
3321 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
3322 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
3323 libgcc-s-objects.
3324 * fixed-obj.mk: Only expand dependency if $o is not in
3325 LIB2FUNCS_EXCLUDE.
3326
39166195 33272012-08-22 H.J. Lu <hongjiu.lu@intel.com>
3328
3329 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
3330
b78f422e 33312012-08-22 Joseph Myers <joseph@codesourcery.com>
3332
3333 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
3334 depend on --enable-shared.
3335 ($(lib1asmfuncs-o)): Use %.vis files independent of
3336 --enable-shared.
3337 * static-object.mk ($(base)$(objext), $(base).vis)
3338 ($(base)_s$(objext)): Use same rules for visibility handling as in
3339 shared-object.mk.
3340
66ef0f44 33412012-08-21 Ian Lance Taylor <iant@google.com>
3342
3343 * config/i386/morestack.S (__morestack_non_split): Increase amount
3344 of space allocated for non-split code stack.
3345
93547515 33462012-08-19 Joseph Myers <joseph@codesourcery.com>
3347
3348 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
3349 even if inhibit_libc.
3350
98d22b3c 33512012-08-17 Julian Brown <julian@codesourcery.com>
3352
3353 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
3354 -fexceptions -fnon-call-exceptions if not defined.
3355 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
3356 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
3357
2076ec4b 33582012-08-17 Andreas Schwab <schwab@linux-m68k.org>
3359
3360 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
3361 type.
3362
c1420b84 33632012-08-16 David Edelsohn <dje.gcc@gmail.com>
3364
3365 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
3366 rs6000/t-slibgcc-aix.
3367
ae5b70d0 33682012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
3369
3370 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
3371
4ff70f1c 33722012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
3373
3374 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
3375
464810a0 33762012-08-03 H.J. Lu <hongjiu.lu@intel.com>
3377
3378 PR driver/54171
3379 * Makefile.in (version): Replace top_srcdir with srcdir.
3380
d2c6da38 33812012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
3382
3383 * Makefile.in (version): set to BASE-VER file from gcc directory.
3384
a575acb2 33852012-08-01 Nick Clifton <nickc@redhat.com>
3386
3387 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
3388 Implements __clrsb for an HImode argument.
3389
3a44f5e6 33902012-07-31 Nick Clifton <nickc@redhat.com>
3391
3392 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
3393 Implements __clrsb for an HImode argument.
3394 * config/stormy16/clrsbhi2.c: New file:
3395 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
3396
56b17dd7 33972012-07-22 Steven Bosscher <steven@gcc.gnu.org>
3398
3399 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
3400
8ad0b530 34012012-07-19 Tristan Gingold <gingold@adacore.com>
3402 Richard Henderson <rth@redhat.com>
3403
3404 * unwind-seh.c: New file.
3405 * unwind-generic.h: Include windows.h for SEH.
3406 (_Unwind_Exception): Use 6 private fields for SEH.
3407 (_GCC_specific_handler): Declare.
3408 * unwind-c.c (__gcc_personality_seh0): New function.
3409 Adjust for SEH.
3410 * config/i386/libgcc-cygming.ver: New file.
3411 * config/i386/t-seh-eh: New file.
3412 * config.host (x86_64-*-mingw*): Default to seh.
3413
017bf976 34142012-07-14 Steven Bosscher <steven@gcc.gnu.org>
3415
3416 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
3417
6f24586e 34182012-06-17 Uros Bizjak <ubizjak@gmail.com>
3419
3420 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
3421 __builtin_expect when checking for exceptions.
3422 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
3423
1927db1f 34242012-06-13 Uros Bizjak <ubizjak@gmail.com>
3425
7b9088d5 3426 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
3427 function declaration.
3428 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3429 (FP_RND_MASK): New.
3430 * config/ia64/sfp-exceptions.c: New.
3431 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 3432
c3576308 34332012-06-13 Uros Bizjak <ubizjak@gmail.com>
3434
3435 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
3436 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
3437 * config/i386/64/sfp-machine: ... (delete here) ...
3438 * config/i386/sfp-machine.h: ... to here.
3439 (FP_EX_MASK): Remove.
3440 (FP_RND_MASK): New.
3441 (FP_INIT_ROUNDMODE): Declare asm as volatile.
3442
725b956c 34432012-06-11 Sriraman Tallam <tmsriram@google.com>
3444
3445 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
3446 * config/i386/libgcc-sol2.ver: Ditto.
3447 * config/i386/libgcc-glibc.ver: Ditto.
3448
026e608e 34492012-06-11 Roland McGrath <mcgrathr@google.com>
3450
3451 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
3452 If __GLIBC__ is defined, refer to __pthread_key_create instead of
3453 pthread_cancel.
3454
2c223cf2 34552012-06-09 Uros Bizjak <ubizjak@gmail.com>
3456
3457 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
3458 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
3459 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
3460 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3461 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
3462 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
3463 * config/i386/64/sfp-machine: ... (delete here) ...
3464 * config/i386/sfp-machine.h: ... to here.
3465 (FP_EX_MASK): New.
3466 (__sfp_handle_exceptions): New function declaration.
3467 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3468 * config/i386/sfp-exceptions.c: New.
3469 * config/i386/t-softfp: New.
3470 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
3471 i386/t-softfp to tmake_file.
3472
620803f2 34732012-06-03 David S. Miller <davem@davemloft.net>
3474
3475 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
3476 change.
3477
38ef0978 34782012-05-31 David S. Miller <davem@davemloft.net>
3479
3480 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
3481 multiply and divide instructions on 32-bit when V9.
3482 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
3483
e1c346e5 34842012-05-29 Joseph Myers <joseph@codesourcery.com>
3485
3486 * config/arm/ieee754-df.S: Fix typos.
3487 * config/arm/ieee754-sf.S: Fix typos.
3488 * config/c6x/libunwind.S: Fix typos.
3489 * config/epiphany/udivsi3-float.c: Fix typos.
3490 * config/microblaze/muldi3_hard.S: Fix typos.
3491 * config/picochip/adddi3.S: Fix typos.
3492 * config/picochip/ashlsi3.S: Fix typos.
3493 * config/picochip/ashrsi3.S: Fix typos.
3494 * config/picochip/clzsi2.S: Fix typos.
3495 * config/picochip/cmpsi2.S: Fix typos.
3496 * config/picochip/divmod15.S: Fix typos.
3497 * config/picochip/divmodhi4.S: Fix typos.
3498 * config/picochip/divmodsi4.S: Fix typos.
3499 * config/picochip/longjmp.S: Fix typos.
3500 * config/picochip/lshrsi3.S: Fix typos.
3501 * config/picochip/parityhi2.S: Fix typos.
3502 * config/picochip/popcounthi2.S: Fix typos.
3503 * config/picochip/setjmp.S: Fix typos.
3504 * config/picochip/subdi3.S: Fix typos.
3505 * config/picochip/ucmpsi2.S: Fix typos.
3506 * config/picochip/udivmodhi4.S: Fix typos.
3507 * config/picochip/udivmodsi4.S: Fix typos.
3508 * config/spu/divv2df3.c: Fix typos.
3509 * config/spu/mfc_multi_tag_release.c: Fix typos.
3510 * config/spu/mfc_tag_release.c: Fix typos.
3511 * configure.ac: Fix typos.
3512 * configure: Regenerate.
3513
4bb0c596 35142012-05-25 Ian Lance Taylor <iant@google.com>
3515
3516 * config/i386/morestack.S (__morestack_non_split): Check whether
3517 caller is varargs and needs %bp to hold the stack frame on return.
3518
05b6028a 35192012-05-25 Olivier Hainque <hainque@adacore.com>
3520
3521 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
3522 sequence in the non pic case on VxWorks.
3523
de055a8b 35242012-05-24 Olivier Hainque <hainque@adacore.com>
3525
05c265fe 3526 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 3527 "install-leaf" to "install".
3528
511797dd 35292012-05-24 Olivier Hainque <hainque@adacore.com>
3530
3531 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
3532 Use a separate command for stamp removals.
3533
c05436a7 35342012-05-21 Andrew Pinski <apinski@cavium.com>
3535
3536 PR bootstrap/53183
3537 * configure.ac: Define the default includes to being none.
3538 * configure: Regenerate.
3539
0e0bcebd 35402012-05-16 Olivier Hainque <hainque@adacore.com>
3541
3542 * Makefile.in (install-unwind_h): Rename into ...
3543 (install-unwind_h-forbuild): New target.
3544 (all): Use it instead of the former install-unwind_h.
3545 (install-unwind_h): Reinstate, copy to user install destination
3546 for include files, not to the internal gcc object directory one.
3547 (install-leaf): Depend on it.
3548
4ea72f7b 35492012-05-15 Olivier Hainque <hainque@adacore.com>
3550
3551 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
3552 register numbers. LR_REGNO replaces R_LR.
3553 (ucontext_for): New, helper for ...
3554 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
3555 and 5.3 of ...
3556 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
3557
98c9b52b 35582012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3559
3560 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
3561 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
3562 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
3563 i386/t-cpuinfo ...
3564 (i[34567]86-*-*, x86_64-*-*): ... here.
3565
3566 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
3567 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
3568
3569 * config/i386/i386-cpuinfo.c: Rename to ...
3570 * config/i386/cpuinfo.c: ... this.
3571 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
3572
3573 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
3574 (libgcc_cv_init_priority): New test.
3575 * configure: Regenerate.
3576 * config.in: New file.
3577 * Makefile.in (clean): Rename config.h to auto-target.h.
3578 (config.h): Likewise.
3579 (stamp-h): Likewise.
3580
3581 * config/i386/cpuinfo.c (auto-target.h): Include.
3582 (CONSTRUCTOR_PRIORITY): Define.
3583 (__cpu_indicator_init): Use it.
3584
a7534247 35852012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * longlong.h: Use a URL instead of an FSF postal address.
3588 Replace spaces with tab.
3589
7b9088d5 35902012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 3591
3592 * libgcov.c (gcov_clear, __gcov_reset): New functions.
3593 (__gcov_dump): Ditto.
3594 (gcov_dump_complete): New global variable.
3595 (gcov_exit): Export hidden to enable use in L_gcov_dump.
3596 (__gcov_flush): Outline functionality now in gcov_clear.
3597 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3598
416e60e6 35992012-04-28 Aurelien Jarno <aurelien@aurel32.net>
3600
4bb0c596 3601 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3602 (mips*-*-linux*): Include mips/t-tpbit when long double is
3603 16 bytes long.
416e60e6 3604
d79cfc15 36052012-04-25 Sriraman Tallam <tmsriram@google.com>
3606
3607 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3608 (get_available_features): New argument. Check for AVX2.
3609 (__cpu_indicator_init): Modify call to get_available_features.
3610
cef20746 36112012-04-25 Alan Modra <amodra@gmail.com>
3612
3613 * config/rs6000/crtsavevr.S: New file.
3614 * config/rs6000/crtrestvr.S: New file.
3615 * config/rs6000/t-savresfgpr: Build the above.
3616 * config/rs6000/t-netbsd: Likewise.
3617
0a166714 36182012-04-24 Sriraman Tallam <tmsriram@google.com>
3619
3620 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3621
f0fd108f 36222012-04-24 Sriraman Tallam <tmsriram@google.com>
3623
3624 * libgcc/config/i386/i386-cpuinfo.c: New file.
3625 * libgcc/config/i386/t-cpuinfo: New file.
3626 * libgcc/config.host: Include t-cpuinfo.
3627 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3628
394bef3f 36292012-04-24 Chao-ying Fu <fu@mips.com>
3630
3631 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3632
5617a3db 36332012-04-20 Thomas Schwinge <thomas@codesourcery.com>
3634
3635 struct siginfo vs. siginfo_t
3636
3637 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3638 siginfo_t instead of struct siginfo.
3639 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3640 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3641 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3642 (ia64_handle_unwabi): Likewise.
3643 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3644 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3645 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3646 (sh_fallback_frame_state): Likewise.
3647 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3648 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3649
49a280b5 36502012-04-02 H.J. Lu <hongjiu.lu@intel.com>
3651
3652 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3653 system call number.
3654
6c760a69 36552012-03-31 Eric Botcazou <ebotcazou@adacore.com>
3656
3657 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3658 if it hasn't been previously saved.
3659
59e4072c 36602012-03-29 H.J. Lu <hongjiu.lu@intel.com>
3661
3662 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3663 only for glibc.
3664
d32d7e3a 36652012-03-28 Georg-Johann Lay <avr@gjlay.de>
3666
3667 PR target/52737
3668 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3669 instead of __AVR_HAVE_8BIT_SP__.
3670
6aadb6e2 36712012-03-26 Tristan Gingold <gingold@adacore.com>
3672
3673 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3674 (unw_table_entry): Use unw_word instead of unsigned long.
3675 (_Unwind_FindTableEntry): Likewise.
3676 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3677 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3678 (_Unwind_FindTableEntry): Likewise.
3679 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3680 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3681 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3682 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3683 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3684 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3685 (uw_init_context_1, uw_install_context): Likewise.
3686 (unw_word): Move to unwind-ia64.h
3687
784576c7 36882012-03-26 Tristan Gingold <gingold@adacore.com>
3689
3690 * config/vms/vms-ucrt0.c: Update copyright years.
3691 Add a sanity check.
3692 (___gcc_main_flags): Declare.
3693 (__main): Check flags to remap argv and exit code.
3694 * config.host (*-*-*vms*): Adjust extra_parts.
3695 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3696 (crt0.o): Add.
3697
483ac460 36982012-03-22 Richard Earnshaw <rearnsha@arm.com>
3699
3700 * arm/lib1funcs.asm (ctzsi2): New function.
3701 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3702 * arm/t-linux (LIB1ASMFUNCS): Likewise.
3703 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3704 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3705 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3706 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3707
bdd1ee48 37082012-03-21 Andreas Tobler <andreast@fgznet.ch>
3709
3710 * config.host: Add bits to support powerpc64-*-freebsd*.
3711 * config/rs6000/freebsd-unwind.h: New file.
3712 * config/rs6000/t-freebsd64: New file.
3713
df85f61c 37142012-03-20 Richard Guenther <rguenther@suse.de>
3715
3716 PR gcov-profile/52627
3717 * libgcov.c (init_mx): Fix mutex name.
3718
46da3ce5 37192012-03-16 Tristan Gingold <gingold@adacore.com>
3720
3721 * config/ia64/vms-unwind.h: Remove ulong (and replace
3722 it by unw_reg where used). Define unw_reg with __int64.
3723
264a5d11 37242012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3725
3726 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3727 Solaris 8 handling.
3728 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3729 Solaris 8 handling.
3730 (sparc_is_sighandler): Likewise.
3731
42b3e3d6 37322012-03-13 H.J. Lu <hongjiu.lu@intel.com>
3733
3734 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3735 <= saved reg size.
3736
c2c4377d 37372012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3738
3739 * config/arm/crtn.S: Fix typo.
3740
3f2da048 37412012-03-13 Richard Guenther <rguenther@suse.de>
3742
3743 * libgcov.c: Remove stdio.h include and NULL un-define.
3744
b4e1521f 37452012-03-13 Richard Guenther <rguenther@suse.de>
3746
3747 PR target/52569
3748 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3749
1d110375 37502012-03-13 Richard Guenther <rguenther@suse.de>
3751
3752 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3753
0e6ad699 37542012-03-13 Richard Guenther <rguenther@suse.de>
3755
3756 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3757 and __gthread_mutex_init_function definitions.
3758
1f7e141e 37592012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3760
3761 * config.host (mips*-*-openbsd*): Remove.
3762
126b6848 37632012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3764
3765 * config.host: Remove alpha*-dec-osf5.1* handling.
3766 * config/alpha/gthr-posix.c: Remove.
3767 * config/alpha/libgcc-osf5.ver: Remove.
3768 * config/alpha/osf5-unwind.h: Remove.
3769 * config/alpha/t-osf-pthread: Remove.
3770 * config/alpha/t-slibgcc-osf: Remove.
3771 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3772 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3773 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3774 * mkmap-flat.awk: Remove osf_export handling.
3775
2e7d9be1 37762012-03-12 Richard Guenther <rguenther@suse.de>
3777
3778 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3779 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3780 (__gthread_mutex_init_function): New function.
3781 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3782
3783 PR gcov/49484
3784 * libgcov.c: Include gthr.h.
3785 (__gcov_flush_mx): New global variable.
3786 (init_mx, init_mx_once): New functions.
3787 (__gcov_flush): Protect self with a mutex.
3788 (__gcov_fork): Re-initialize mutex after forking.
3789 * unwind-dw2-fde.c: Change condition under which to use
3790 __GTHREAD_MUTEX_INIT_FUNCTION.
3791
8f852c44 37922012-03-12 Tristan Gingold <gingold@adacore.com>
3793
3794 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3795 * config/ia64/t-vms: Likewise.
3796
04d5d0ad 37972012-03-11 Michael Hope <michael.hope@linaro.org>
3798
7b9088d5 3799 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3800 for Thumb-2.
04d5d0ad 3801
3d14844b 38022012-03-07 Walter Lee <walt@tilera.com>
3803
3804 * config/tilepro/atomic.c: Rename "atomic_" prefix to
3805 "arch_atomic_".
3806 (atomic_xor): Rename and move definition to
3807 config/tilepro/atomic.h.
3808 (atomic_nand): Ditto.
3809 * config/tilepro/atomic.h: Rename "atomic_" prefix to
3810 "arch_atomic_".
3811 (arch_atomic_xor): Move from config/tilepro/atomic.c.
3812 (arch_atomic_nand): Ditto.
3813
3abce231 38142012-03-07 Georg-Johann Lay <avr@gjlay.de>
3815
3816 PR target/52507
3817 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3818
ee3ce577 38192012-03-07 Georg-Johann Lay <avr@gjlay.de>
3820
3821 PR target/52505
3822 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3823 from RAM.
3824
be20cbdd 38252012-03-07 Georg-Johann Lay <avr@gjlay.de>
3826
3827 PR target/52461
3828 PR target/52508
3829 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3830 if RAMPZ affects reading from RAM.
3831 (__tablejump_elpm__): Ditto.
3832 (.xload): Ditto.
3833 (__movmemx_hi): Ditto.
3834 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3835 (__do_global_dtors): Ditto.
3836 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3837 (__movmemx_hi): Ditto.
3838
e9b46b49 38392012-03-05 Richard Henderson <rth@redhat.com>
3840
3841 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3842 [ARM] (count_trailing_zeros): Use the builtin.
3843
2da7d23a 38442012-03-01 Kai Tietz <ktietz@redhat.com>
3845
3846 * soft-fp: Imported from glibc upstream.
3847
ed67de04 38482012-02-28 Kai Tietz <ktietz@redhat.com>
3849
3850 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3851 for mingw-targets as attribute gcc_struct.
3852
154b49cd 38532012-02-28 Ian Lance Taylor <iant@google.com>
3854
3855 * generic-morestack.c (__splitstack_releasecontext): Correct call
3856 to __morestack_release_segments.
3857
8d2259c8 38582012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3859
3860 PR target/52390
3861 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3862 for __linux__ when removing signals from __morestack_fullmask.
3863
97e18ae2 38642012-02-23 Georg-Johann Lay <avr@gjlay.de>
3865
3866 PR target/52261
3867 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3868
c3dd2023 38692012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3870
3871 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3872 instead of HAVE_INITFINI_ARRAY.
3873 * config/ia64/crtend.S: Likewise.
3874
7ed6dbef 38752012-02-20 Kai Tietz <ktietz@redhat.com>
3876
52cec843 3877 PR libstdc++/52300
3878 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3879
7ed6dbef 3880 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3881 to w32-unwind.h header.
3882
6a8f7b8b 38832012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3884
3885 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3886 (mips*-*-linux*): Remove t-slibgcc-libgcc.
3887 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3888 * config/mips/mips16.S (__mips16_rdhwr): Delete.
3889
7db87803 38902012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3891
3892 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3893
d114e642 38942012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3895
3896 PR libitm/52220
3897 * config/darwin-crt-tm.c: Correct typo.
154b49cd 3898
b8f45854 38992012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3900 Patrick Marlier <patrick.marlier@gmail.com>
3901
3902 PR libitm/52220
3903 * config/darwin-crt-tm.c: Generate dummy functions.
3904
621d0dd2 39052012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3906 Patrick Marlier <patrick.marlier@gmail.com>
3907
3908 PR libitm/52042
3909 * config/darwin-crt-tm.c (getTMCloneTable): New function.
3910 (__doTMRegistrations): Call it.
154b49cd 3911 (__doTMdeRegistrations): Likewise.
621d0dd2 3912
0b6cf66f 39132012-01-15 Georg-Johann Lay <avr@gjlay.de>
3914 Anatoly Sokolov <aesok@post.ru>
3915 Eric Weddington <eric.weddington@atmel.com>
3916
3917 PR target/52261
3918 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3919 (__epilogue_restores__): Ditto.
3920
99e0a0ad 39212012-02-15 Eric Botcazou <ebotcazou@adacore.com>
3922
3923 PR target/51921
3924 PR target/52205
3925 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3926 Solaris 11 and slightly reformat.
3927 (sparc_is_sighandler): Likewise.
3928
7ce78e23 39292012-02-14 Walter Lee <walt@tilera.com>
3930
3931 * config.host: Handle tilegx and tilepro.
3932 * config/tilegx/sfp-machine.h: New file.
3933 * config/tilegx/sfp-machine32.h: New file.
3934 * config/tilegx/sfp-machine64.h: New file.
3935 * config/tilegx/t-crtstuff: New file.
3936 * config/tilegx/t-softfp: New file.
3937 * config/tilegx/t-tilegx: New file.
3938 * config/tilepro/atomic.c: New file.
3939 * config/tilepro/atomic.h: New file.
3940 * config/tilepro/linux-unwind.h: New file.
3941 * config/tilepro/sfp-machine.h: New file.
3942 * config/tilepro/softdivide.c: New file.
3943 * config/tilepro/softmpy.S: New file.
3944 * config/tilepro/t-crtstuff: New file.
3945 * config/tilepro/t-tilepro: New file.
3946
f47763a6 39472012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3948
3949 PR libstdc++/51296
3950 PR libstdc++/51906
3951 * gthr-posix.h: Allow static initializer macros to be disabled.
3952 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3953
674cb359 39542012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3955
3956 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3957 Add t-slibgcc-libgcc to tmake_file.
3958 * config/mips/libgcc-mips16.ver: Revert previous patch.
3959 * config/mips/mips16.S (__mips16_rdhwr): Hide.
3960
b9fdd12b 39612012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3962 Jayant R Sonar <jayant.sonar@kpitcummins.com>
3963
3964 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3965 * config/cr16/crti.S: New file.
3966 * config/cr16/crtlibid.S: New file.
3967 * config/cr16/crtn.S: New file.
3968 * config/cr16/lib1funcs.S: New file.
3969 * config/cr16/t-cr16: New file.
3970 * config/cr16/t-crtlibid: New file.
3971 * config/cr16/unwind-dw2.h: New file.
3972 * config/cr16/unwind-cr16.c: New file.
3973 * config/cr16/divmodhi3.c: New file.
3974
01cdc5b2 39752012-01-25 Alan Modra <amodra@gmail.com>
3976
3977 * config/rs6000/t-linux64: Delete. Move..
3978 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3979 * config/rs6000/t-linux: ..and libgcc flags to here.
3980
af8e12d0 39812012-01-22 Douglas B Rupp <rupp@gnat.com>
3982
3983 * config.host (i[34567]86-*-interix3*):
01cdc5b2 3984 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 3985 * configure: Regenerate.
3986
a657080a 39872012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
3988 Richard Sandiford <rdsandiford@googlemail.com>
3989
3990 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
3991 * config/mips/mips16.S (__mips16_rdhwr): New function.
3992 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
3993
72e76fa0 39942012-01-11 Nathan Sidwell <nathan@acm.org>
3995
3996 * libgcov.c (__gcov_init): Ignore objects with no functions.
3997
ed2541ea 39982012-01-10 Georg-Johann Lay <avr@gjlay.de>
3999
4000 PR target/49868
4001 Extend __pgmx semantics to linearize memory.
4002 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
4003 * config/avr/lib1funcs.S (__xload_1): New function.
4004 (__movmemx_qi, __movmemx_hi): New functions.
4005 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
4006 semantics.
ddf97006 4007
6e647e51 40082012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4009
4010 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
4011 purported sigacthandler address isn't null before dereferencing it.
4012 (sparc_is_sighandler): Likewise.
4013
af185b18 40142012-01-09 Eric Botcazou <ebotcazou@adacore.com>
4015
4016 PR ada/41929
4017 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
4018 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
4019 (sparc_is_sighandler): Likewise.
4020 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
4021
2ff958e6 40222012-01-06 Tristan Gingold <gingold@adacore.com>
4023
4024 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
4025 compatibility thunks...
4026 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
4027 (crtbeginS.o, crtendS.o): ... and these to ...
4028 * config/ia64/t-ia64-elf: ... this new file.
4029 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
4030 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
4031
ce94380e 40322012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4033
4034 * configure: Regenerate.
4035 * config/s390/t-crtstuff: Remove -fPIC.
4036
ca4c7704 40372012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
4038
4039 PR bootstrap/51006
4040 * enable-execute-stack-mprotect.c (getpagesize): Do not define
4041 for NetBSD.
4042
b32bc361 40432012-01-02 Georg-Johann Lay <avr@gjlay.de>
4044
4045 PR target/51345
4046 * config/avr/lib1funcs.S: Remove FIXME comments.
4047 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
4048
83921eda 40492012-01-02 Georg-Johann Lay <avr@gjlay.de>
4050
4051 Implement light-weight DImode support.
4052 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
4053 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
4054 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
4055 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
4056
6071b85b 40572011-12-30 Nathan Sidwell <nathan@acm.org>
4058
4059 * libgcov.c (gcov_crc32): Remove global var.
4060 (free_fn_data): New function.
4061 (buffer_fn_data): Pass in filename, more robust error recovery.
4062 (crc32_unsigned): New function.
4063 (gcov_exit): More robust detection of new program. More robust
4064 error recovery.
4065 (__gcov_init): Do not update program's crc here.
4066
611b540a 40672011-12-21 Tristan Gingold <gingold@adacore.com>
4068
4069 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
4070
ddf97006 40712011-12-21 Ian Lance Taylor <iant@google.com>
4072
4073 * config/i386/morestack.S: Simplify CFI opcodes throughout.
4074
0d84f164 40752011-12-20 Ian Lance Taylor <iant@google.com>
4076
4077 * config/i386/morestack.S (__morestack_non_split): If there is
4078 enough stack space already, don't split. Ask for more stack space
4079 than we required.
4080
d77ac56d 40812011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
4082
4083 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
4084 `sys/sdt.h'.
4085 (_Unwind_DebugHook): New function.
4086 (uw_restore_core_regs): New define.
4087 (unwind_phase2): Use uw_restore_core_regs instead of
4088 restore_core_regs.
4089 (unwind_phase2_forced): Likewise.
4090 (__gnu_Unwind_Resume): Likewise.
4091
80898d14 40922011-12-20 Uros Bizjak <ubizjak@gmail.com>
4093
4094 * config/alpha/linux-unwind.h: Update copyright years.
4095 (MD_FROB_UPDATE_CONTEXT): New define.
4096 (alpha_frob_update_context): New function.
4097
20dbbfaf 40982011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
4099
4100 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
4101 tmake_file rather replacing it.
4102
d42ef213 41032011-12-15 Iain Sandoe <iains@gcc.gnu.org>
4104
4105 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 4106 function is not used for PPC64.
d42ef213 4107 (save_world): Amend comments. Update the VRsave mask to reflect the
4108 saved regs.
4109 (rest_world): Update comments, do not clobber r10, do not use r8.
4110 (eh_rest_world_r10): Amend comments, do not use r8.
4111 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
4112 no longer used, move restore of CR and target address to the end of
4113 the routine.
4114
3efc00f6 41152011-12-14 H.J. Lu <hongjiu.lu@intel.com>
4116
4117 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
4118 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
4119
fa0431fa 41202011-12-14 Georg-Johann Lay <avr@gjlay.de>
4121
4122 PR target/49313
4123 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
4124 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
4125
18e6a060 41262011-12-11 Eric Botcazou <ebotcazou@adacore.com>
4127
4128 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
4129
0dcd7d21 41302011-12-09 Georg-Johann Lay <avr@gjlay.de>
4131
4132 PR target/49313
4133 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
4134 * config/avr/lib1funcs.S (__muldi3): New function.
4135
a41e0f2d 41362011-12-06 Andrew Pinski <apinski@cavium.com>
4137
4138 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
4139 size of func_ptr.
4140 (__frame_dummy_init_array_entry): Likewise.
4141
8c8193e1 41422011-12-06 Georg-Johann Lay <avr@gjlay.de>
4143
4144 Forward-port from gcc-4_6-branch r181936 2011-12-02.
4145
4146 PR target/51345
4147 PR target/51002
4148 * config/avr/lib1funcs.S (__prologue_saves__,
4149 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
4150 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
4151
e2306166 41522011-12-04 Iain Sandoe <iains@gcc.gnu.org>
4153
4154 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
4155
61437698 41562011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4157
4158 PR other/51272
4159 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
4160 (_ITM_deregisterTMCloneTable): Likewise.
4161 (__register_frame_info): Fix unused warning.
4162 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
4163 pthread_default_stacksize_np): Likewise.
4164 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 4165
78e515f7 41662011-11-29 DJ Delorie <dj@redhat.com>
4167
4168 * config.host (rl78-*-elf): New case.
4169 * config/rl78: New directory for the Renesas RL78.
4170
adce431d 41712011-11-29 Bernd Schmidt <bernds@codesourcery.com>
4172
4173 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
4174 formatting.
4175
738c50b8 41762011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4177
4178 PR other/51022
4179 * config/rs6000/t-savresfgpr: New file.
4180 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
4181 $(srcdir)/config/rs6000/eabi.S.
4182 * config/rs6000/t-ppccomm-ldbl: Remove.
4183 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
4184 tmake_file.
4185 (powerpc-*-eabispe*): Likewise.
4186 (powerpc-*-eabi*): Likewise.
4187 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4188 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
4189 to tmake_file, remove rs6000/t-ppccomm-ldbl.
4190 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
4191 tmake_file.
4192 (powerpc-*-eabisim*): Likewise.
4193 (powerpc-*-elf*): Likewise.
4194 (powerpc-*-eabialtivec*): Likewise.
4195 (powerpc-xilinx-eabi*): Likewise.
4196 (powerpc-*-rtems*): Likewise.
4197 (powerpcle-*-elf*): Likewise.
4198 (powerpcle-*-eabisim*): Likewise.
4199 (powerpcle-*-eabi*): Likewise.
4200
bda4944f 42012011-11-27 Ian Lance Taylor <iant@google.com>
4202
4203 * generic-morestack.c (__splitstack_find): Check for NULL old
4204 stack value.
4205 (__splitstack_resetcontext): New function.
4206 (__splitstack_releasecontext): New function.
4207 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4208
00b708da 42092011-11-27 Iain Sandoe <iains@gcc.gnu.org>
4210
4211 * config/darwin-crt-tm.c: Correct comments, use correct licence.
4212
7c66781a 42132011-11-27 Iain Sandoe <iains@gcc.gnu.org>
4214
4215 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
4216
5bb27b7c 42172011-11-26 Richard Henderson <rth@redhat.com>
4218
4219 * config/m68k/linux-atomic.c: New file.
4220 * config/m68k/t-linux: New file.
4221 * config.host (m68k-uclinux, m68k-linux): Use it.
4222
d9ca835b 42232011-11-26 Richard Henderson <rth@redhat.com>
4224
4225 * crtstuff.c (__TMC_LIST__): Mark used not unused.
4226 (__TMC_END__): Only declare if hidden is available; in the definition,
4227 if hidden is unavailable add a null record.
4228 (deregister_tm_clones, register_tm_clones): New.
4229 (__do_global_dtors_aux, frame_dummy): Use them.
4230 (__do_global_dtors, __do_global_ctors_1): Likewise.
4231
8f8ba4fc 42322011-11-22 Iain Sandoe <iains@gcc.gnu.org>
4233
4234 * config/darwin-crt-tm.c: New file.
4235 * config.host (darwin): Build crttms.o crttme.o to provide
4236 startup and shutdown for tm clones.
4237 * config/t-darwin (crttms.o): New build rule.
4238 (crttme.o): Likewise.
4239
e426aa2b 42402011-11-21 Hans-Peter Nilsson <hp@axis.com>
4241
4242 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
4243 et al.
4244
2d171408 42452011-11-21 Richard Henderson <rth@redhat.com>
4246
4247 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
4248 (__TMC_LIST__, __TMC_END__): New.
4249 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
4250 (__do_global_dtors): Likewise.
4251 (frame_dummy): Call _ITM_registerTMCloneTable.
4252 (__do_global_ctors_1): Likewise.
4253
08417926 42542011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4255
4256 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
4257 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4258 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
4259 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
4260 * config/i386/t-darwin64: Remove.
4261 * config/sh/t-netbsd (LIB2ADD): Remove.
4262
cde39152 42632011-11-21 Georg-Johann Lay <avr@gjlay.de>
4264
4265 PR target/49313
4266 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
4267 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
4268 * config/avr/lib1funcs.S (wmov): New assembler macro.
4269 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
4270 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
4271 (__udivmod64): New function.
4272 (__negdi2): New function.
4273
30957bde 42742011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
4275
4276 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
4277 *-*-freebsd*aout*): Remove.
4278
a504f092 42792011-11-20 Hans-Peter Nilsson <hp@axis.com>
4280
4281 * static-object.mk (c_flags-$o): Save c_flags.
4282 ($(base)$(objext)): Use it.
4283
31da0b3d 42842011-11-18 Steve Ellcey <sje@cup.hp.com>
4285
4286 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
4287
5bd39e93 42882011-11-18 Georg-Johann Lay <avr@gjlay.de>
4289
4290 PR target/49868
4291 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
4292 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
4293 New functions.
4294
a3bfd5b2 42952011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
4296
4297 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
4298 functions.
80898d14 4299 (aeabi_uidivmod): Likewise.
a3bfd5b2 4300 (umodsi3): Likewise.
4301 (divsi3): Likewise.
4302 (aeabi_idivmod): Likewise.
4303 (modsi3): Likewise.
4304
3512ee5b 43052011-11-16 Tristan Gingold <gingold@adacore.com>
4306
4307 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
4308
4202ef11 43092011-11-15 Georg-Johann Lay <avr@gjlay.de>
4310
4311 PR target/49868
4312 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
4313 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
4314
ab4fdb3d 43152011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4316
4317 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
4318 tmake_file list.
4319 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
4320 * config/pa/t-stublib64: Delete.
4321
eee57ca7 43222011-11-12 Richard Henderson <rth@redhat.com>
4323
4324 * config/rs6000/linux-unwind.h (frob_update_context): Properly
4325 cast the pointer argument to _Unwind_SetGRPtr.
4326
0c74e0e8 43272011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4328
4329 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
4330
23371076 43312011-11-09 Ian Lance Taylor <iant@google.com>
4332
4333 * generic-morestack.c: Include <string.h>.
4334 (uintptr_type): Define.
4335 (struct initial_sp): Add dont_block_signals field. Reduce size of
4336 extra array by 1.
4337 (allocate_segment): Set prev field to NULL. Don't set
4338 __morestack_current_segment or __morestack_segments.
4339 (__generic_morestack): Update current->prev and *pp after calling
4340 allocate_segment.
4341 (__morestack_block_signals): Don't do anything if
4342 dont_block_signals is set.
4343 (__morestack_unblock_signals): Likewise.
4344 (__generic_findstack): Check for initial_sp == NULL. Add casts to
4345 uintptr_type.
4346 (__splitstack_block_signals): New function.
4347 (enum __splitstack_content_offsets): Define.
4348 (__splitstack_getcontext, __splitstack_setcontext): New functions.
4349 (__splitstack_makecontext): New function.
4350 (__splitstack_block_signals_context): New function.
4351 (__splitstack_find_context): New function.
4352 * config/i386/morestack.S (__morestack_get_guard): New function.
4353 (__morestack_set_guard, __morestack_make_guard): New functions.
4354 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4355
2d00fffd 43562011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4357
4358 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
4359 (i[34567]86-*-mingw*): ... here.
4360 (x86_64-*-mingw*): ... here.
4361
6886ca41 43622011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4363
4364 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
4365
5014df5d 43662011-11-07 Nathan Sidwell <nathan@acm.org>
4367
4368 * libgcov.c (struct gcov_fn_buffer): New struct.
4369 (buffer_fn_data): New helper.
4370 (gcov_exit): Rework for new gcov data structures.
4371
702a5eec 43722011-11-07 Georg-Johann Lay <avr@gjlay.de>
4373
4374 PR target/49313
4375 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
4376
2219274c 43772011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4378
4379 * config.host (tmake_file): Correct comment.
4380 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
4381 t-libgcc-pic.
4382 (bfin*-uclinux*): Likewise.
4383 (bfin*-linux-uclibc*): Likewise.
4384 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
4385
4386 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
4387 assigning.
4388 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4389 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
4390 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4391 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
4392 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4393 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
4394 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
4395 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4396 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
4397 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
4398 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
4399 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
4400 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
4401
4402 * config/bfin/t-elf: Remove.
4403 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
4404
fbb6f195 44052011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4406
4407 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
4408 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
4409 (lm32-*-elf*, lm32-*-rtems*): Split into ...
4410 (lm32-*-elf*): ... this.
4411 (lm32-*-rtems*): ... and this.
4412 Add to tmake_file.
4413 (m32r-*-rtems*): Add to tmake_file.
4414 (moxie-*-rtems*): Likewise.
4415 (sparc-*-rtems*): Likewise.
4416 Remove t-rtems from tmake_file.
4417 (sparc64-*-rtems*): Likewise.
4418 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
4419 instead.
4420
7336fab9 44212011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4422
4423 PR bootstrap/50982
4424 * config/gthr-posix.h: Move ...
4425 * gthr-posix.h: ... here.
4426 * config/gthr-lynx.h: Reflect this.
4427 * config/gthr-vxworks.h: Likewise.
4428 * config/rs6000/gthr-aix.h: Likewise.
4429 * configure.ac (target_thread_file): Likewise.
4430 * configure: Regenerate.
4431
6c10eb68 44322011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
4433
4434 * config.host (arm*-*-rtemseabi*): New target.
4435
3fe1f35b 44362011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4437
4438 PR other/50991
4439 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
4440 extra-parts.
4441
d19f5793 44422011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
4443
4444 * config.host (epiphany-*-elf*): New configuration.
4445 * config/epiphany: New Directory.
4446
02c5dcd9 44472011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
4448
4449 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
4450 * config/avr/t-rtems: New.
4451 Filter out _exit from LIB1ASMFUNCS.
4452
f3223c0b 44532011-11-04 David S. Miller <davem@davemloft.net>
4454
4455 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
4456 * configure: Rebuild.
4457
994652ec 44582011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4459
4460 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
4461 variable.
4462
02d9a2c3 44632011-11-04 Georg-Johann Lay <avr@gjlay.de>
4464
4465 PR target/50931
4466 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
4467 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
4468
81b973fe 44692011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
4470
4471 PR target/50989
4472 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
4473
ae1b140e 44742011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4475
4476 * config/c6x/t-elf (LIB2ADDEH): Set.
4477 * config/c6x/t-c6x-elf: Remove.
4478
0a76a5ff 44792011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4480
4481 * config/i386/sol2-ci.S: Rename to ...
4482 * config/i386/crti.S: ... this.
4483 * config/i386/sol2-cn.S: Rename to ...
4484 * config/i386/crtn.S: ... this.
4485 * config/sparc/sol2-ci.S: Rename to ...
4486 * config/sparc/crti.S: ... this.
4487 * config/sparc/sol2-cn.S: Rename to ...
4488 * config/sparc/crtn.S: ... this.
4489 * config/t-sol2 (CUSTOM_CRTIN): Remove.
4490 (crti.o, crtn.o): Remove.
4491
26f2feff 44922011-11-04 Tristan Gingold <gingold@adacore.com>
4493
4494 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
4495
131667b5 44962011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
4497
4498 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
4499
af64ed6f 45002011-11-03 Hans-Peter Nilsson <hp@axis.com>
4501
4502 * config.host (crisv32-*-none, cris-*-none): Remove.
4503 (crisv32-*-elf): Append to tmake_file, don't just set it.
4504 (cris-*-elf): Add missing t-fdpbit to tmake_file.
4505
4dad46bd 45062011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4507
4508 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
4509 (ecrtn$(objext)): Likewise.
4510 (ncrti$(objext)): Likewise.
4511 (ncrtn$(objext)): Likewise.
4512
37626bf8 45132011-11-03 Andreas Schwab <schwab@redhat.com>
4514
4515 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
4516
95de80bc 45172011-11-02 David S. Miller <davem@davemloft.net>
4518
4519 * configure.ac: Set host_address on sparc too.
4520 * configure: Regenerate.
4521 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
4522 based upon host_address.
4523 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
4524
b5347955 45252011-11-02 Jason Merrill <jason@redhat.com>
4526
4527 * config/rs6000/t-ppccomm: Add missing \.
4528
630d52ca 45292011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4530
4531 * gthr-single.h, gthr.h: New files.
4532 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
4533 config/gthr-vxworks.h, config/i386/gthr-win32.h,
4534 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
4535 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
4536 * config/i386/gthr-win32.c: Include "gthr-win32.h".
4537 * configure.ac (thread_header): New variable.
4538 Set it depending on target_thread_file.
4539 (gthr-default.h): Link from $thread_header.
4540 * configure: Regenerate.
4541 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
4542
022a2799 45432011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4544
4545 * configure.ac (tm_file_): New variable.
4546 Determine from tm_file.
4547 (tm_file, tm_defines): Substitute.
4548 * configure: Regenerate.
4549 * mkheader.sh: New file.
4550 * Makefile.in (clean): Remove libgcc_tm.h.
4551 ($(objects)): Depend on libgcc_tm.h.
4552 (libgcc_tm_defines, libgcc_tm_file): New variables.
4553 (libgcc_tm.h, libgcc_tm.stamp): New targets.
4554 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
4555 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
4556 ($(extra-parts)): Depend on libgcc_tm.h.
4557 * config.host (tm_defines, tm_file): New variable.
4558 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
4559 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
4560 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
4561 (avr-*-rtems*): Likewise.
4562 (avr-*-*): Likewise.
4563 (frv-*-elf): Likewise.
4564 (frv-*-*linux*): Likewise.
4565 (h8300-*-rtems*): Likewise.
4566 (h8300-*-elf*): Likewise.
4567 (i[34567]86-*-darwin*): Likewise.
4568 (x86_64-*-darwin*): Likewise.
4569 (rx-*-elf): Likewise.
4570 (tic6x-*-uclinux): Likewise.
4571 (tic6x-*-elf): Likewise.
4572 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
4573 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
4574 * config/i386/cygming-crtbegin.c: Likewise.
4575 * config/i386/cygming-crtend.c: Likewise.
4576 * config/ia64/fde-vms.c: Likewise.
4577 * config/ia64/unwind-ia64.c: Likewise.
4578 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4579 * config/rs6000/darwin-fallback.c: Likewise.
4580 * config/stormy16/lib2funcs.c: Likewise.
4581 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4582 * crtstuff.c: Likewise.
4583 * dfp-bit.h: Likewise.
4584 * emutls.c: Likewise.
4585 * fixed-bit.c: Likewise.
4586 * fp-bit.c: Likewise.
4587 * generic-morestack-thread.c: Likewise.
4588 * generic-morestack.c: Likewise.
4589 * libgcc2.c: Likewise.
4590 * libgcov.c: Likewise.
4591 * unwind-dw2-fde-dip.c: Likewise.
4592 * unwind-dw2-fde.c: Likewise.
4593 * unwind-dw2.c: Likewise.
4594 * unwind-sjlj.c: Likewise.
4595
4dc4ff49 45962011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4597
4598 * configure.ac: Include ../config/picflag.m4.
4599 (GCC_PICFLAG): Call it.
4600 Substitute.
4601 * configure: Regenerate.
4602 * Makefile.in (gcc_srcdir): Remove.
4603 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4604 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4605 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4606 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4607 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4608 Use $<.
4609 Remove comment.
4610 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4611 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4612 to refer to libgcc2.c.
4613 Use $<.
4614 * config/darwin-64.c: New file.
4615 * config/darwin-crt3.c: Remove comment.
4616 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4617 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4618 config/udivmodsi4.c: New files.
4619 * config/memcmp.c, config/memcpy.c, config/memmove.c,
4620 config/memset.c: New files.
4621 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4622 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4623 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4624 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4625 * config/t-openbsd-thread: New file.
4626 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4627 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4628 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4629 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4630 qrnnd.S.
4631 Adapt filename.
4632 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4633 to refer to gthr-posix.c.
4634 * config/alpha/t-vms (LIB2ADD): Set.
4635 * config/alpha/vms-gcc_shell_handler.c: New file.
4636 * config/arm/bpabi.c, config/arm/fp16.c,
4637 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4638 config/arm/unaligned-funcs.c: New files.
4639 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4640 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4641 * config/arm/t-linux: Likewise.
4642 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4643 * config/arm/t-netbsd: New file.
4644 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4645 * config/arm/t-symbian (LIB2ADD_ST): Set.
4646 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4647 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4648 * config/bfin/t-elf: New file.
4649 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4650 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4651 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4652 config/c6x/ltf.c: New files.
4653 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4654 (HOST_LIBGCC2_CFLAGS): Set.
4655 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4656 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4657 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4658 New files.
4659 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4660 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4661 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4662 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4663 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4664 files.
4665 * config/frv/t-frv (LIB2ADD): Set.
4666 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4667 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4668 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4669 config/h8300/popcounthi2.c: New files.
4670 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4671 * config/i386/gthr-win32.c: New file.
4672 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4673 * config/i386/t-cygwin: Likewise.
4674 * config/i386/t-darwin, config/i386/t-darwin64,
4675 config/i386/t-gthr-win32, config/i386/t-interix: New files.
4676 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4677 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4678 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4679 * config/ia64/quadlib.c: New file.
4680 * config/ia64/t-hpux (LIB2ADD): Set.
4681 * config/ia64/t-ia64: Add comment.
4682 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4683 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4684 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4685 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4686 * config/m32c/t-m32c (LIB2ADD): Set.
4687 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4688 * config/m32r/t-m32r: Likewise.
4689 * config/m68k/fpgnulib.c: New file.
4690 * config/m68k/t-floatlib (LIB2ADD): Set.
4691 (xfgnulib.c): New target.
4692 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4693 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4694 * config/mep/t-mep (LIB2ADD): Set.
4695 * config/microblaze/divsi3.asm: Rename to divsi3.S.
4696 * config/microblaze/moddi3.asm: Rename to moddi3.S.
4697 * config/microblaze/modsi3.asm: Rename to modsi3.S.
4698 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4699 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4700 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4701 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4702 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4703 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4704 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4705 New files.
4706 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4707 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4708 * config/pa/fptr.c, config/pa/lib2funcs.S,
4709 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4710 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4711 (LIB2ADD, LIB2ADD_ST): Set.
4712 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4713 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4714 Set.
4715 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4716 * config/pdp11/t-pdp11: New file.
4717 * config/picochip/libgccExtras/adddi3.S,
4718 config/picochip/libgccExtras/ashlsi3.S,
4719 config/picochip/libgccExtras/ashrsi3.S,
4720 config/picochip/libgccExtras/clzsi2.S,
4721 config/picochip/libgccExtras/cmpsi2.S,
4722 config/picochip/libgccExtras/divmod15.S,
4723 config/picochip/libgccExtras/divmodhi4.S,
4724 config/picochip/libgccExtras/divmodsi4.S,
4725 config/picochip/libgccExtras/lshrsi3.S,
4726 config/picochip/libgccExtras/parityhi2.S,
4727 config/picochip/libgccExtras/popcounthi2.S,
4728 config/picochip/libgccExtras/subdi3.S,
4729 config/picochip/libgccExtras/ucmpsi2.S,
4730 config/picochip/libgccExtras/udivmodhi4.S,
4731 config/picochip/libgccExtras/udivmodsi4.S: New files.
4732 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4733 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4734 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4735 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4736 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4737 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4738 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
4739 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4740 files.
4741 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4742 (HOST_LIBGCC2_CFLAGS): Set.
4743 * config/rs6000/t-darwin64: New file.
4744 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4745 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4746 * config/rs6000/t-ppccomm (LIB2ADD): Add
4747 $(srcdir)/config/rs6000/tramp.S.
4748 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4749 Add $(srcdir)/config/rs6000/eabi.S.
4750 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4751 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4752 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4753 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4754 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4755 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4756 * config/rs6000/tramp.S: New file.
4757 * config/s390/t-tpf: Remove.
4758 * config/sh/linux-atomic.S: New file.
4759 * config/sh/t-linux (LIB2ADD): Set.
4760 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4761 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4762 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4763 to unwind-dw2.c.
4764 (HOST_LIBGCC2_CFLAGS): Set.
4765 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4766 * config/spu/divmodti4.c, config/spu/divv2df3.c,
4767 config/spu/float_disf.c, config/spu/float_unsdidf.c,
4768 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4769 config/spu/mfc_multi_tag_release.c,
4770 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4771 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4772 config/spu/multi3.c: New files.
4773 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4774 (HOST_LIBGCC2_CFLAGS): Set.
4775 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4776 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4777 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4778 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4779 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4780 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4781 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4782 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4783 config/stormy16/umodsi3.c: New files.
4784 * config/xtensa/lib2funcs.S: New file.
4785 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4786 * config/xtensa/t-xtensa (LIB2ADD): Set.
4787 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4788 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4789 Add t-freebsd-thread to tmake_file for posix threads.
4790 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4791 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4792 (*-*-lynxos*): Likewise.
4793 (*-*-netbsd*): Likewise.
4794 (*-*-openbsd*): Likewise.
4795 Add t-openbsd-thread to tmake_file for posix threads.
4796 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4797 (*-*-vxworks*): Set tmake_file.
4798 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4799 (alpha*-*-freebsd*): Likewise.
4800 (alpha*-*-netbsd*): Likewise.
4801 (alpha*-*-openbsd*): Likewise.
4802 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4803 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4804 (alpha*-dec-*vms*): Likewise.
4805 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4806 (bfin*-elf*): Add bfin/t-elf to tmake_file.
4807 (bfin*-uclinux*): Likewise.
4808 (bfin*-linux-uclibc*): Likewise.
4809 (crisv32-*-elf): Add cris/t-cris to tmake_file.
4810 (crisv32-*-none): Likewise.
4811 (cris-*-elf): Likewise.
4812 (cris-*-none): Likewise.
4813 (cris-*-linux*, crisv32-*-linux*): Likewise.
4814 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4815 tmake_file.
4816 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4817 tmake_file.
4818 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4819 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4820 (x86_64-*-elf*): Likewise.
4821 (i[34567]86-*-nto-qnx*): Likewise.
4822 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4823 win32 threads.
4824 (x86_64-*-mingw*): Likewise.
4825 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4826 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4827 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4828 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4829 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4830 tmake_file.
4831 (mipsisa64sr71k-*-elf*): Likewise.
4832 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4833 (mips-*-elf*, mipsel-*-elf*): Likewise.
4834 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4835 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4836 (mips*-*-rtems*): Likewise.
4837 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4838 to tmake_file.
4839 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4840 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4841 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4842 (spu-*-elf*): Likewise.
4843 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4844
9213d2eb 48452011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4846
4847 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4848 $(srcdir) to refer to $(LIB1ASMSRC).
4849 Use $<.
4850 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4851 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4852 config/arm/lib1funcs.S: New files.
4853 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4854 * config/arm/t-arm: New file.
4855 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4856 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4857 config/arm/t-strongarm-elf: New files.
4858 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4859 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4860 * config/avr/lib1funcs.S: New file.
4861 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4862 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4863 * config/c6x/lib1funcs.S: New file.
4864 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4865 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4866 * config/frv/lib1funcs.S: New file.
4867 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4868 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4869 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4870 * config/ia64/__divxf3.asm: Rename to ...
4871 * config/ia64/__divxf3.S: ... this.
4872 Adapt lib1funcs.asm filename.
4873 * config/ia64/_fixtfdi.asm: Rename to ...
4874 * config/ia64/_fixtfdi.S: ... this.
4875 Adapt lib1funcs.asm filename.
4876 * config/ia64/_fixunstfdi.asm: Rename to ...
4877 * config/ia64/_fixunstfdi.S: ... this.
4878 Adapt lib1funcs.asm filename.
4879 * config/ia64/_floatditf.asm: Rename to ...
4880 * config/ia64/_floatditf.S: ... this.
4881 Adapt lib1funcs.asm filename.
4882 * config/ia64/lib1funcs.S: New file.
4883 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4884 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4885 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4886 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4887 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4888 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4889 * config/mep/lib1funcs.S: New file.
4890 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4891 * config/mips/mips16.S: New file.
4892 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4893 * config/pa/milli64.S: New file.
4894 * config/pa/t-linux, config/pa/t-linux64: New files.
4895 * config/picochip/lib1funcs.S: New file.
4896 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4897 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4898 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4899 * config/sh/t-netbsd: New file.
4900 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4901 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4902 * config/sh/t-sh64: New file.
4903 * config/sparc/lb1spc.S: New file.
4904 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4905 filename.
4906 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4907 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4908 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4909 config/xtensa/lib1funcs.S: New files.
4910 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4911 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4912 tmake_file.
4913 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4914 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4915 (arm*-*-linux*): Likewise.
4916 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4917 arm*-*-linux-*eabi, add arm/t-linux otherwise.
4918 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4919 (arm*-*-ecos-elf): Likewise.
4920 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4921 (arm*-*-rtems*): Likewise.
4922 (arm*-*-elf): Likewise.
4923 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4924 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4925 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4926 (bfin*-uclinux*): Likewise.
4927 (bfin*-linux-uclibc*): Likewise.
4928 (bfin*-rtems*): Likewise.
4929 (bfin*-*): Likewise.
4930 (fido-*-elf): Merge into m68k-*-elf*.
4931 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4932 (frv-*-*linux*): Add frv/t-frv to tmake_file.
4933 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4934 (h8300-*-elf*): Likewise.
4935 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4936 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4937 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4938 (i[34567]86-*-mingw*): Likewise.
4939 (x86_64-*-mingw*): Likewise.
4940 (i[34567]86-*-interix3*): Likewise.
4941 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4942 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4943 (m68k-*-elf*): Also handle fido-*-elf.
4944 Add m68k/t-floatlib to tmake_file.
4945 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4946 (m68k-*-linux*): Likewise.
4947 (m68k-*-rtems*): Likewise.
4948 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4949 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4950 sh64*-*-*.
4951 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4952 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4953 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4954 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4955 sh/t-netbsd to tmake_file.
4956 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4957 (sh-*-rtems*): Add sh/t-sh to tmake_file.
4958 (sh-wrs-vxworks): Likewise.
4959 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4960 *-leon[3-9]*.
4961 (v850*-*-*): Add v850/t-v850 to tmake_file.
4962 (vax-*-linux*): Add vax/t-linux to tmake_file.
4963 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4964
237490bf 49652011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4966
4967 * crtstuff.c: New file.
4968 * Makefile.in (CRTSTUFF_CFLAGS): Define.
4969 (CRTSTUFF_T_CFLAGS): Define.
4970 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4971 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4972 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4973 crtstuff.c.
4974 Use $<.
4975 (crtbeginT.o): Use $(objext).
4976 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4977 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4978 (gcc-extra-parts): Remove.
4979 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4980 Set extra_parts.
4981 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4982 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4983 Add t-crtstuff-pic to tmake_file.
4984 (*-*-lynxos*): New case.
4985 Set tmake_file, extra_parts.
4986 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4987 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4988 *-*-netbsdelf[2-9]*.
4989 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
4990 (*-*-rtems*): Set extra_parts.
4991 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
4992 (*-*-uclinux*): New case.
4993 Set extra_parts.
4994 (*-*-vms*): New case.
4995 Set tmake_file, extra_parts.
4996 (*-*-elf): Set extra_parts.
4997 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
4998 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
4999 vms/t-vms64.
5000 Set extra_parts.
5001 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
5002 Set extra_parts.
5003 (arm*-*-freebsd*): Add t-crtin to tmake_file.
5004 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
5005 (arm-wrs-vxworks): Append to tmake_file.
5006 Set extra_parts.
5007 (arm*-*-uclinux*): Set extra_parts.
5008 (arm*-*-ecos-elf): Likewise.
5009 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
5010 arm*-*-eabi*.
5011 (arm*-*-rtems*): Set extra_parts.
5012 (arm*-*-elf): Likewise.
5013 (avr-*-rtems*): Clear extra_parts.
5014 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
5015 Set extra_parts.
5016 (bfin*-uclinux*): Likewise.
5017 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
5018 (bfin*-rtems*): Append to tmake_file.
5019 Set extra_parts.
5020 (bfin*-*): Likewise.
5021 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
5022 (crisv32-*-elf): ... this.
5023 (crisv32-*-none): ... this.
5024 (cris-*-elf, cris-*-none): New cases.
5025 Add cris/t-elfmulti to tmake_file.
5026 (fr30-*-elf): Append to tmake_file.
5027 Set extra_parts.
5028 (frv-*-elf): Append to tmake_file, add frv/t-frv.
5029 Set extra_parts.
5030 (h8300-*-rtems*): Append to tmake_file.
5031 Set extra_parts.
5032 (h8300-*-elf*): Likewise.
5033 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
5034 Set extra_parts.
5035 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
5036 Set extra_parts.
5037 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
5038 (x86_64-*-elf*): Likewise.
5039 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
5040 (x86_64-*-freebsd*): Likewise.
5041 (x86_64-*-netbsd*): Likewise.
5042 (i[34567]86-*-linux*): Likewise.
5043 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5044 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5045 (x86_64-*-linux*): Likewise.
5046 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5047 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
5048 tmake_file.
5049 Set extra_parts.
5050 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
5051 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
5052 Append to extra_parts, remove crtbegin.o, crtend.o.
5053 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
5054 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
5055 crtend.o, crtbeginS.o, crtendS.o.
5056 (ia64*-*-linux*): Comment extra_parts.
5057 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
5058 Set extra_parts.
5059 (iq2000*-*-elf*): Clear extra_parts.
5060 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
5061 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
5062 (m32r-*-elf*, m32r-*-rtems*): Split off ...
5063 (m32r-*-rtems*): ... this.
5064 Add m32r/t-m32r to tmake_file.
5065 (m68k-*-elf*): Add t-crtin to tmake_file.
5066 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
5067 (mcore-*-elf): Likewise.
5068 (microblaze*-*-*): Set extra_parts.
5069 (mips*-sde-elf*): New case.
5070 Set tmake_file, extra_parts.
5071 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
5072 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
5073 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
5074 tmake_file.
5075 Set extra_parts.
5076 (mipsisa64sr71k-*-elf*): Likewise.
5077 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
5078 (mips-*-elf*, mipsel-*-elf*): Likewise.
5079 (mips64-*-elf*, mips64el-*-elf*): Likewise.
5080 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
5081 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
5082 (mips*-*-rtems*): Likewise.
5083 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
5084 (moxie-*-*): Split into ...
5085 (moxie-*-elf, moxie-*-uclinux*): ... this.
5086 Add to extra_parts, remove crtbegin.o, crtend.o.
5087 (moxie-*-rtems*): New case.
5088 Set tmake_file.
5089 Clear extra_parts.
5090 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
5091 Set extra_parts.
5092 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
5093 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
5094 tmake_file.
5095 Set extra_parts.
5096 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
5097 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
5098 Set extra_parts.
5099 (powerpc-*-eabisim*): Likewise.
5100 (powerpc-*-elf*): Likewise.
5101 (powerpc-*-eabialtivec*): Likewise.
5102 (powerpc-xilinx-eabi*): Likewise.
5103 (powerpc-*-eabi*): Likewise.
5104 (powerpc-*-rtems*): Likewise.
5105 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
5106 tmake_file.
5107 Set extra_parts.
5108 (powerpc-*-lynxos*): Add to tmake_file.
5109 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
5110 rs6000/t-crtstuff, t-crtstuff-pic.
5111 Set extra_parts.
5112 (powerpcle-*-eabisim*): Likewise.
5113 (powerpcle-*-eabi*): Likewise.
5114 (rx-*-elf): Remove extra_parts.
5115 (s390x-ibm-tpf*): Set extra_parts.
5116 (score-*-elf): Set extra_parts.
5117 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5118 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5119 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5120 (sh64l*-*-netbsd*): Split into ...
5121 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
5122 Add t-crtstuff-pic to tmake_file.
5123 Set extra_parts.
5124 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
5125 Set extra_parts.
5126 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
5127 (sparc-*-elf*): Remove t-crtin from tmake_file.
5128 Add to extra_parts, remove crtbegin.o, crtend.o.
5129 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
5130 (sparc64-*-linux*): Likewise.
5131 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
5132 Add to extra_parts, remove crtbegin.o, crtend.o.
5133 (sparc64-*-elf*): Remove t-crtin from tmake_file.
5134 Add to extra_parts, remove crtbegin.o, crtend.o.
5135 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
5136 Add to extra_parts, remove crtbegin.o, crtend.o.
5137 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
5138 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
5139 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
5140 Set extra_parts.
5141 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
5142 Set extra_parts.
5143 (tic6x-*-*): Change to ...
5144 (tic6x-*-elf): ... this.
5145 Set extra_parts.
5146 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
5147 Set extra_parts.
5148 (am33_2.0-*-linux*): Add comment.
5149 (mep*-*-*): Add mep/t-mep to tmake_file.
5150 Set extra_parts.
5151 * config/alpha/t-vms: New file.
5152 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
5153 * config/arm/crti.S, config/arm/crtn.S: New files.
5154 * config/bfin/crti.S, config/bfin/crtn.S: New files.
5155 * config/bfin/crtlibid.S: New file.
5156 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
5157 * config/c6x/crti.S, config/c6x/crtn.S: New files.
5158 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
5159 (crti.o, crtin.o): New rules.
5160 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5161 * config/c6x/t-uclinux: New file.
5162 * config/cris/t-elfmulti: New file.
5163 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
5164 * config/fr30/crti.S, config/fr30/crtn.S: New files.
5165 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
5166 * config/frv/t-frv: New file.
5167 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
5168 * config/h8300/crti.S, config/h8300/crtn.S: New files.
5169 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
5170 New files.
5171 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
5172 refer to cygming-crtbegin.c, cygming-crtend.c.
5173 Use $<.
5174 * config/i386/t-nto: New file.
5175 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
5176 * config/ia64/crti.S, config/ia64/crtn.S: New files.
5177 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
5178 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
5179 Use .S extension.
5180 Use $<.
5181 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
5182 (crtinitS.o): New rule.
5183 * config/ia64/vms-crtinit.S: New file.
5184 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
5185 * config/m32r/initfini.c: New file.
5186 * config/m32r/t-linux, config/m32r/t-m32r: New files.
5187 * config/m68k/crti.S, config/m68k/crtn.S: New files.
5188 * config/mcore/crti.S, config/mcore/crtn.S: New files.
5189 * config/mep/t-mep: New file.
5190 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
5191 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
5192 * config/mips/crti.S, config/mips/crtn.S: New files.
5193 * config/mips/t-crtstuff: New file.
5194 * config/mmix/crti.S, config/mmix/crtn.S: New files.
5195 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
5196 (CUSTOM_CRTIN): Set.
5197 ($(T)crti.o, $(T)crtn.o): Remove $(T),
5198 dependencies.
5199 Use $(srcdir) to refer to crti.S, crtn.S.
5200 Use .S extension, $<.
5201 * config/moxie/crti.asm: Rename to ...
5202 * config/moxie/crti.S: ... this.
5203 * config/moxie/crtn.asm: Rename to ...
5204 * config/moxie/crtn.S: ... this.
5205 * config/moxie/t-moxie: Remove.
5206 * config/pa/stublib.c: New file.
5207 * config/pa/t-stublib, config/pa/t-stublib64: New files.
5208 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
5209 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
5210 * config/rs6000/t-crtstuff: New file.
5211 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
5212 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
5213 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
5214 Make output file explicit.
5215 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
5216 Make output file explicit.
5217 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
5218 Make output file explicit.
5219 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
5220 Make output file explicit.
5221 * config/score/crti.S, config/score/crtn.S: New files.
5222 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
5223 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
5224 files.
5225 * config/sh/t-sh, config/sh/t-superh: New files.
5226 * config/sparc/t-linux64: New file.
5227 * config/spu/cache.S, config/spu/cachemgr.c: New files.
5228 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
5229 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
5230 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
5231 * config/t-crtin: Remove.
5232 * config/t-crtstuff-pic: New file.
5233 * config/t-sol2 (CUSTOM_CRTIN): Set.
5234 (crti.o, crtn.o): New rules.
5235 * config/vms/t-vms: New file.
5236 * config/vms/vms-ucrt0.c: New file.
5237 * config/xtensa/t-elf: New file.
5238
a997b0d8 52392011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5240
5241 * Makefile.in (SHLIB_NM_FLAGS): Set.
5242 * mkmap-flat.awk, mkmap-symver.awk: New files.
5243 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
5244 exceptions.
5245 * configure: Regenerate.
5246 * config/libgcc-glibc.ver: New file.
5247 * config/libgcc-libsystem.ver: New file.
5248 * config/t-libunwind (SHLIB_LC): Set.
5249 * config/t-linux: New file.
5250 * config/t-slibgcc (INSTALL_SHLIB): New.
5251 (SHLIB_INSTALL): Use it.
5252 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
5253 to mkmap-symver.awk.
5254 (SHLIB_MAPFILES): Don't append, adapt pathname.
5255 (SHLIB_VERPFX): Set.
5256 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
5257 to mkmap-symver.awk.
5258 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
5259 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
5260 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
5261 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
5262 to mkmap-flat.awk.
5263 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
5264 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
5265 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
5266 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
5267 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
5268 * config/i386/libgcc-darwin.10.4.ver,
5269 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
5270 New files.
5271 * config/i386/t-darwin: Remove.
5272 * config/i386/t-darwin64: Likewise.
5273 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
5274 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
5275 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
5276 * config/i386/t-linux: New file.
5277 * config/i386/t-mingw32: New file.
5278 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
5279 * config/ia64/t-glibc: Rename to ...
5280 * config/ia64/t-linux: ... this.
5281 (SHLIB_MAPFILES): Set.
5282 * config/ia64/t-glibc-libunwind: Rename to ...
5283 * config/ia64/t-linux-libunwind: ... this.
5284 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
5285 * config/ia64/t-slibgcc-hpux: New file.
5286 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
5287 * config/m68k/t-slibgcc-elf-ver: New file.
5288 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
5289 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
5290 to mkmap-flat.awk.
5291 * config/pa/t-slibgcc-hpux: New file.
5292 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
5293 files.
5294 * config/rs6000/libgcc-darwin.10.4.ver,
5295 config/rs6000/libgcc-darwin.10.5.ver: New files.
5296 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
5297 config/rs6000/libgcc-glibc.ver.
5298 * config/rs6000/libgcc-ppc64.ver: Rename to
5299 config/rs6000/libgcc-ibm-ldouble.ver.
5300 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
5301 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
5302 * config/rs6000/t-ldbl128: Rename to ...
5303 * config/rs6000/t-linux: ... this.
5304 (SHLIB_MAPFILES): Adapt filename.
5305 * config/rs6000/t-slibgcc-aix: New file.
5306 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
5307 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
5308 libgcc-excl.ver, libgcc-glibc.ver.
5309 (SHLIB_LINK, SHLIB_INSTALL): Remove.
5310 * config/sparc/libgcc-glibc.ver: New file.
5311 * config/sparc/t-linux: New file.
5312 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
5313 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
5314 t-slibgcc-elf-ver to tmake_file.
5315 Add t-slibgcc-nolc-override to tmake_file for posix threads on
5316 *-*-freebsd[34].
5317 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5318 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
5319 t-slibgcc-elf-ver, t-linux to tmake_file.
5320 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
5321 tmake_file.
5322 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
5323 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
5324 (alpha*-dec-*vms*): Likewise.
5325 (arm*-*-freebsd*): Append to tmake_file.
5326 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
5327 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
5328 arm*-*-linux-*eabi.
5329 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
5330 tmake_file for arm*-*-symbianelf*.
5331 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
5332 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
5333 cris/t-linux.
5334 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
5335 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
5336 pa/t-slibgcc-dwarf-ver to tmake_file.
5337 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
5338 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
5339 (hppa*64*-*-hpux11*): Likewise.
5340 (hppa[12]*-*-hpux11*): Likewise.
5341 (x86_64-*-darwin*): Don't override tmake_file, but only keep
5342 i386/t-crtpc, i386/t-crtfm.
5343 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
5344 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5345 to tmake_file.
5346 Add i386/t-cygwin to tmake_file.
5347 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
5348 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
5349 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5350 to tmake_file.
5351 Add i386/t-mingw32 to tmake_file.
5352 (x86_64-*-mingw*): Likewise.
5353 (ia64*-*-freebsd*): Append to tmake_file.
5354 (ia64*-*-linux*): Append to tmake_file.
5355 Replace ia64/t-glibc by ia64/t-linux.
5356 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
5357 system libunwind.
5358 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
5359 t-slibgcc-hpux to tmake_file.
5360 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
5361 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
5362 (m32rle-*-linux*): Likewise.
5363 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
5364 sjlj exceptions.
5365 (microblaze*-linux*): New case.
5366 Append to tmake_file, add t-slibgcc-nolc-override.
5367 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
5368 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5369 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
5370 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5371 rs6000/t-slibgcc-aix to tmake_file.
5372 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5373 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5374 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5375 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5376 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5377 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
5378 sh*-*-linux*.
5379 (sparc-*-linux*): Append to tmake_file for *-leon*.
5380 Add sparc/t-linux to tmake_file for non-Leon targets.
5381 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
5382 (tic6x-*-uclinux): New case.
5383 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
5384 (tic6x-*-*): Add c6x/t-elf to tmake_file.
5385 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
5386 (am33_2.0-*-linux*): Append to tmake_file.
5387 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5388 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
5389 x86_64-*-kfreebsd*-gnu.
5390 Add i386/t-linux to tmake_file.
5391
638a95a0 53922011-10-28 Ian Lance Taylor <iant@google.com>
5393
5394 * config/i386/morestack.S: Correct CFI information to do proper
5395 returns throughout function. In 32-bit mode, save %ebx so that it
5396 is restored on unwind.
5397
ef785e44 53982011-10-25 Bernd Schmidt <bernds@codesourcery.com>
5399
5400 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
5401 case where B3 isn't the return register.
5402
19b85223 5403 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
5404 logic for doubleword pops.
5405
70f50eb0 54062011-10-25 Andreas Tobler <andreast@fgznet.ch>
5407
5408 * config/rs6000/t-freebsd: Add wildcard.
5409
ec2b386c 54102011-10-21 Paul Brook <paul@codesourcery.com>
5411
5412 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
5413
b09a3f46 54142011-10-16 Uros Bizjak <ubizjak@gmail.com>
5415 Eric Botcazou <ebotcazou@adacore.com>
5416
5417 PR target/50737
5418 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
5419 fs->signal_frame to 1.
5420
8acdf7c6 54212011-10-07 Ian Lance Taylor <iant@google.com>
5422
5423 * generic-morestack-thread.c: #include <errno.h>.
5424
1780e36e 54252011-10-07 Ian Lance Taylor <iant@google.com>
5426
5427 PR target/46093
5428 * generic-morestack.c (__generic_morestack): Make sure the segment
5429 is large enough for both the stack frame and the copied
5430 parameters.
5431
f57fac72 54322011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5433
5434 PR bootstrap/49804
5435 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
5436 extra_parts.
5437
6ef008f9 54382011-09-28 Nick Clifton <nickc@redhat.com>
5439
5440 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
5441 64-bit doubles are not enabled.
5442 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
5443 and floatunsisf functions.
5444
7e5fc0c4 54452011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 5446
7e5fc0c4 5447 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
5448 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
5449 * unwind-arm-common.inc: New file.
5450 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
5451 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
5452 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
5453 * config/c6x/libunwind.S: New file.
5454 * config/c6x/pr-support.c: New file.
5455 * config/c6x/unwind-c6x.c: New file.
5456 * config/c6x/unwind-c6x.h: New file.
5457 * config/c6x/t-c6x-elf: New file.
5458
047a5c56 54592011-08-23 Uros Bizjak <ubizjak@gmail.com>
5460
5461 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
5462 (ASM_DIVZERO): Ditto.
5463 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
5464
985e908e 54652011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
5466
5467 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
5468
c1c81358 54692011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
5470
5471 PR target/50090
5472 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
5473 instead of an assembly one.
5474
7642fc98 54752011-08-12 Paolo Bonzini <bonzini@gnu.org>
5476
5477 PR bootstrap/50047
5478 * Makefile.in (install-unwind_h): Create
5479 $(gcc_objdir)/include/unwind.h atomically.
5480
392bda6f 54812011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5482
5483 * Makefile.in (install-unwind_h): Remove destination file first.
5484
21889c08 54852011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5486
5487 * sync.c: New file.
5488 * config/mips/t-mips16: New file.
5489 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
5490 (mips*-*-linux*): Likewise.
5491 (mips*-sde-elf*): Likewise.
5492 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
5493 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
5494 Add mips/t-mips16 to tmake_file.
5495 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
5496 (mips-*-elf*): Likewise.
5497 (mips64-*-elf*): Likewise.
5498 (mips64orion-*-elf*): Likewise.
5499 (mips*-*-rtems*): Likewise.
5500 (mipstx39-*-elf*): Likewise.
5501 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
5502 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
5503 LIBGCC_SYNC_CFLAGS.
5504 Use $(srcdir) to refer to sync.c.
5505 Use $<.
5506 ($(libgcc-sync-funcs-o)): Likewise.
5507 ($(libgcc-sync-size-funcs-s-o)): Likewise.
5508 ($(libgcc-sync-funcs-s-o)): Likewise.
5509
3569d462 55102011-08-09 Andreas Schwab <schwab@linux-m68k.org>
5511
5512 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
5513 t-libunwind.
5514
e451a093 55152011-08-08 H.J. Lu <hongjiu.lu@intel.com>
5516
5517 PR other/48007
5518 * config/i386/value-unwind.h: New.
5519
ab3bed33 55202011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
5521
5522 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
5523 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
5524 Add to tmake_file rather than overriding it.
5525
84600db5 55262011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5527
5528 * config/t-softfp: Remove.
5529 * soft-fp: Moved from ../gcc/config.
5530 * soft-fp/README: Remove t-softfp reference.
5531 * soft-fp/t-softfp: Move to config/t-softfp.
5532 (softfp_machine_header): Remove.
5533 (softfp_file_list): Remove config subdir.
5534 (soft-fp-objects): New variable.
5535 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
5536 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
5537 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
5538 * config/t-softfp-excl: New file.
5539 * config/t-softfp-sfdf: New file.
5540 * config/t-softfp-tf: New file.
5541 * config/no-sfp-machine.h: New file.
5542 * config/arm/sfp-machine.h: New file.
5543 * config/arm/t-softfp: New file.
5544 * config/c6x/sfp-machine.h: New file.
5545 * config/i386/32/t-fprules-softfp: Rename to ...
5546 * config/i386/32/t-softfp: ... this.
5547 (tifunctions, LIB2ADD): Remove.
5548 (softfp_int_modes): Override.
5549 * config/i386/64/t-softfp-compat (tf-functions): Remove config
5550 subdir.
5551 * config/i386/64/eqtf2.c: Likewise.
5552 * config/i386/64/getf2.c: Likewise.
5553 * config/i386/64/letf2.c: Likewise.
5554 * config/ia64/sft-machine.h: New file.
5555 * config/ia64/t-fprules-softfp: Rename to ...
5556 * config/ia64/t-softfp: ... this.
5557 * config/lm32/sfp-machine.h: New file.
5558 * config/moxie/t-moxie-softfp: Remove.
5559 * config/rs6000/ibm-ldouble-format: New file.
5560 * config/rs6000/ibm-ldouble.c: New file.
5561 * config/rs6000/libgcc-ppc-glibc.ver: New file
5562 * config/rs6000/libgcc-ppc64.ver: New file
5563 * config/rs6000/sfp-machine.h: New file.
5564 * config/rs6000/t-freebsd: New file.
5565 * config/rs6000/t-ibm-ldouble: New file.
5566 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
5567 libgcc-ppc-glibc.ver.
5568 * config/rs6000/t-linux64: New file.
5569 * config/rs6000/t-ppccomm (LIB2ADD): Add
5570 $(srcdir)/config/rs6000/ibm-ldouble.c.
5571 * config/rs6000/t-ppccomm-ldbl: New file.
5572 * config/score/sfp-machine.h: New file.
5573 * config.host (sfp_machine_header): Explain.
5574 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
5575 t-softfp to tmake_file.
5576 (arm*-*-uclinux*): Likewise.
5577 (arm*-*-ecos-elf): Likewise.
5578 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5579 (arm*-*-rtems*): Likewise.
5580 (arm*-*-elf): Likewise.
5581 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5582 in tmake_file.
5583 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5584 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5585 (lm32-*-uclinux*): Likewise.
5586 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5587 t-softfp-excl, t-softfp.
5588 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5589 (powerpc64-*-darwin*): Likewise.
5590 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5591 to tmake_file.
5592 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5593 tmake_file.
5594 (powerpc-*-eabisim*): Likewise.
5595 (powerpc-*-elf*): Likewise.
5596 (powerpc-*-eabialtivec*): Likewise.
5597 (powerpc-xilinx-eabi*): Likewise.
5598 (powerpc-*-rtems*): Likewise.
5599 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5600 t-softfp-excl, t-softfp to tmake_file.
5601 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5602 rs6000/t-ppccomm-ldbl to tmake_file.
5603 (powerpcle-*-elf*): Likewise.
5604 (powerpcle-*-eabisim*): Likewise.
5605 (powerpcle-*-eabi*): Likewise.
5606 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5607 rs6000/t-ibm-ldouble to tmake_file.
5608 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5609 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5610 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5611 (tic6x-*-*): Likewise.
5612 (i[34567]86-*-darwin*, x86_64-*-darwin*,
5613 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5614 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5615 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5616 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5617 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5618 t-softfp to tmake_file.
5619 * configure.ac (sfp_machine_header): Provide default if unset.
5620 Substitute.
5621 Link sfp-machine.h to config/$sfp_machine_header.
5622 * configure: Regenerate.
5623
a23b9c51 56242011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5625
5626 * Makefile.in (double_type_size, long_double_type_size): Set.
5627 Remove $(fpbit-in-libgcc) support.
5628 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5629 (fpbit-src): New variable.
5630 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5631 Compile with -DFLOAT $(FPBIT_CFLAGS).
5632 Use $<.
5633 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5634 Compile with $(FPBIT_CFLAGS).
5635 Use $<.
5636 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5637 Compile with -DFLOAT $(TPBIT_CFLAGS).
5638 Use $<.
5639 * configure.ac (double_type_size, long_double_type_size):
5640 Determine and substitute.
5641 * configure: Regenerate.
5642 * fp-bit.c, fp-bit.h: New files.
5643 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5644 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5645 * config/mips/t-mips: New file.
5646 * config/mips/t-sdemtk: New file.
5647 * config/rs6000/ppc64-fp.c: New file.
5648 * config/rs6000/t-darwin (LIB2ADD): Add
5649 $(srcdir)/config/rs6000/ppc64-fp.c.
5650 * config/rs6000/t-ppc64-fp: New file.
5651 * config/rx/rx-lib.h: New file.
5652 * config/rx/t-rx (FPBIT): Set to true.
5653 ($(gcc_objdir)/fp-bit.c): Remove.
5654 (DPBIT): Set to true only with -m64bit-doubles.
5655 ($(gcc_objdir)/dp-bit.c): Remove.
5656 * config/sparc/t-softfp: Remove.
5657 * config/spu/t-elf: New file.
5658 * config/t-fdpbit, config/t-fpbit: New files.
5659 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5660 (mips*-*-*): Likewise.
5661 (arm-wrs-vxworks): Likewise.
5662 (arm*-*-freebsd*): Likewise.
5663 (avr-*-rtems*): Add t-fpbit to tmake_file.
5664 (avr-*-*): Likewise.
5665 (bfin*-elf*): Add t-fdpbit to tmake_file.
5666 (bfin*-uclinux*): Likewise.
5667 (bfin*-linux-uclibc*): Likewise.
5668 (bfin*-rtems*): New case.
5669 Add t-fdpbit to tmake_file.
5670 (bfin*-*): Add t-fdpbit to tmake_file.
5671 (crisv32-*-elf): Likewise.
5672 (cris-*-linux*): Likewise.
5673 (fr30-*-elf): Likewise.
5674 (frv-*-elf, frv-*-*linux*): Likewise.
5675 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5676 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5677 (m32r-*-elf*): Likewise.
5678 (m32rle-*-elf*): Likewise.
5679 (m32r-*-linux*): Likewise.
5680 (m32rle-*-linux*): Likewise.
5681 (mcore-*-elf): Add t-fdpbit to tmake_file.
5682 (microblaze*-*-*): Likewise.
5683 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5684 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5685 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5686 Fix typo.
5687 Add mips/t-tpbit to tmake-file.
5688 (mips*-*-linux*): Fix typo.
5689 (mips*-sde-elf*): New case
5690 Add mips/t-sdemtk unless using newlib.
5691 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5692 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5693 (mn10300-*-*): Likewise.
5694 (pdp11-*-*): Likewise.
5695 (picochip-*-*): Add t-fpbit to tmake_file.
5696 (powerpc-*-eabisimaltivec*): Likewise.
5697 (powerpc-*-eabisim*): Likewise.
5698 (powerpc-*-elf*): Likewise.
5699 (powerpc-*-eabialtivec*): Likewise.
5700 (powerpc-xilinx-eabi*): New case.
5701 Add t-fdpbit to tmake_file.
5702 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
5703 (powerpc-*-rtems*): Likewise.
5704 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5705 tmake_file.
5706 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5707 tmake_file.
5708 (powerpc-*-lynxos*): Likewise.
5709 (powerpcle-*-elf*): Likewise.
5710 (powerpcle-*-eabisim*): Likewise.
5711 (powerpcle-*-eabi*): Likewise.
5712 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5713 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5714 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5715 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5716 (rx-*-elf): Add t-fdpbit to tmake_file.
5717 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5718 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5719 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5720 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5721 sh*-*-netbsd*.
5722 (sh-*-rtems*): Add t-fdpbit to tmake_file.
5723 (sh-wrs-vxworks): Likewise.
5724 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5725 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5726 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5727 (sparc64-*-rtems*): ... new case.
5728 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5729 (spu-*-elf*): Likewise.
5730 Add spu/t-elf to tmake_file.
5731 (v850*-*-*): Add t-fdpbit to tmake_file.
5732 (xstormy16-*-elf): Likewise.
5733 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5734 (mep*-*-*): Likewise.
5735
e59be7e3 57362011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5737
5738 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5739 variables.
5740 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5741 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5742 (install-unwind_h): New target.
5743 (all): Depend on it.
5744 * config.host (unwind_header): New variable.
5745 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5746 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5747 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5748 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5749 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5750 Set unwind_header.
5751 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5752 Set unwind_header.
5753 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5754 arm*-*-eabi*.
5755 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5756 Set unwind_header.
5757 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5758 (ia64*-*-freebsd*): Likewise.
5759 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5760 tmake_file.
5761 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5762 $with_system_libunwind.
5763 (ia64*-*-hpux*): Set tmake_file.
5764 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5765 (picochip-*-*): Set tmake_file.
5766 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5767 md_unwind_header.
5768 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5769 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5770 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5771 (xtensa*-*-elf*): Set tmake_file.
5772 (xtensa*-*-linux*): Likewise.
5773 * configure.ac: Include ../config/unwind_ipinfo.m4.
5774 Call GCC_CHECK_UNWIND_GETIPINFO.
5775 Link unwind.h to $unwind_header.
5776 * configure: Regenerate.
5777 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5778 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5779 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5780 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5781 * config/unwind-dw2-fde-darwin.c: New file.
5782 * config/arm/libunwind.S, config/arm/pr-support.c,
5783 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5784 config/arm/unwind-arm.h,: New files.
5785 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5786 config/ia64/t-eh-ia64, config/ia64/t-glibc,
5787 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5788 config/ia64/t-vms, config/ia64/unwind-ia64.c,
5789 config/ia64/unwind-ia64.h: New files.
5790 * config/picochip/t-picochip: New file.
5791 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5792 files.
5793 * config/rs6000/t-darwin (LIB2ADDEH): Set.
5794 * config/s390/t-tpf (LIB2ADDEH): Remove.
5795 * config/t-darwin (LIB2ADDEH): Set.
5796 * config/t-eh-dw2-dip: New file.
5797 * config/t-libunwind, config/t-libunwind-elf: New files.
5798 * config/t-sol2 (LIB2ADDEH): Remove.
5799 * config/xtensa/t-xtensa: New file.
5800
b57de711 58012011-08-02 H.J. Lu <hongjiu.lu@intel.com>
5802
5803 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5804 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5805 long long to check rt_sigreturn syscall.
5806
9a4af446 58072011-08-02 Alan Modra <amodra@gmail.com>
5808
5809 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5810 Restore for indirect call bcrtl from correct stack slot, and only
5811 if cfa+40 isn't valid.
5812
bbbe4599 58132011-08-01 Julian Brown <julian@codesourcery.com>
5814
5815 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5816 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5817 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5818
ac34b7db 58192011-08-01 Julian Brown <julian@codesourcery.com>
5820
5821 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5822 (libgcc-std.ver.in): Use above.
5823 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5824 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
5825 throughout file.
5826 * config/t-fixedpoint-gnu-prefix: New file.
5827 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5828 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5829 instead of __PFX__.
5830
2a7dfa04 58312011-07-28 H.J. Lu <hongjiu.lu@intel.com>
5832
5833 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5834 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5835 for x86-64. Properly check __x86_64__ and __LP64__.
5836
a232cb08 58372010-07-28 H.J. Lu <hongjiu.lu@intel.com>
5838
5839 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5840 version.
5841 (_FP_WS_TYPE): Likewise.
5842 (_FP_I_TYPE): Likewise.
5843
c54e2746 58442011-07-28 Alan Modra <amodra@gmail.com>
5845
5846 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5847 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5848 in a plt call stub. Do restore r2 if stopped on bctrl.
5849
4d72c922 58502011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5851
5852 * config.host (i[3456x]86-*-netware*): Remove.
5853 * config/i386/netware-crt0.c, config/i386/t-nwld,
5854 config/i386/t-slibgcc-nwld: Remove.
5855
5aa04b01 58562011-07-15 Bernd Schmidt <bernds@codesourcery.com>
5857
5858 * config.host: Handle tic6x-*-*.
5859 * config/c6x/c6x-abi.h: New file.
5860
ba079bc9 58612011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5862
5863 * config/i386/crtprec.c: New file.
5864 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5865 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5866 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5867 (x86_64-*-darwin*): Likewise.
5868 (i[34567]86-*-solaris2*: Likewise.
5869
1125ba83 58702011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5871
5872 * config/alpha/crtfastmath.c: New file.
5873 * config/i386/crtfastmath.c: New file.
5874 * config/ia64/crtfastmath.c: New file.
5875 * config/mips/crtfastmath.c: New file.
5876 * config/sparc/crtfastmath.c: New file.
5877
5878 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5879 crtfastmath.c.
5880 Add -frandom-seed=gcc-crtfastmath.
5881 * config/alpha/t-crtfm: Remove.
5882 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5883 * config/ia64/t-ia64 (crtfastmath.o): Remove.
5884
5885 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5886 (alpha*-dec-osf5.1*): Likewise.
5887 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5888 Add crtfastmath.o to extra_parts.
5889 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5890 Add crtfastmath.o to extra_parts.
5891 (x86_64-*-darwin*): Likewise.
5892 (x86_64-*-mingw*): Likewise.
5893 (ia64*-*-elf*): Add t-crtfm to tmake_file.
5894 (ia64*-*-freebsd*): Likewise.
5895 (ia64*-*-linux*): Likewise.
5896 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5897 Add crtfastmath.o to extra_parts.
5898
1a4a11f3 58992011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5900
5901 * config/darwin-crt3.o: New file.
5902 * config/rs6000/darwin-crt2.c: New file.
5903 * config/t-darwin: New file.
5904 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5905 (crt2.o): New rule.
5906 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5907 (powerpc-*-darwin*): Add crt2.o to extra_parts.
5908 (powerpc64-*-darwin*): Likewise.
5909
ef3ab47f 59102011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5911
5912 * config/i386/netware-crt0.c: New file.
5913 * config/i386/t-nwld: Rename to ...
5914 * config/i386/t-slibgcc-nwld: ... this.
5915 * config/i386/t-nwld: New file.
5916 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5917 tmake_file.
5918 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5919 extra_parts.
5920
367b55f3 59212011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5922
5923 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5924 i386/t-crtstuff.
5925 * configure: Regenerate.
5926
17aa03f5 59272011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5928
5929 * dfp-bit.c, dfp-bit.h: New files.
5930 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5931 variables.
5932 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5933 ($(d64pbit-o)): Likewise.
5934 ($(d128pbit-o)): Likewise.
5935 * config/t-dfprules: New file.
5936 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5937 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5938 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5939 (x86_64-*-linux*): Likewise.
5940 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5941 (i[34567]86-*-cygwin*): Likewise.
5942 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
5943 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5944
2bc72a9f 59452011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5946
5947 * Makfile.in (LIBGCOV): New variable.
5948 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5949 * libgcov.c: New file.
5950
36a5227d 59512011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5952
5953 * fixed-bit.c, fixed-bit.h: New files.
5954 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5955 refer to fixed-bit.c.
5956
689a8077 59572011-07-07 Joseph Myers <joseph@codesourcery.com>
5958
5959 * config.host (*local*): Remove.
5960
14f27bc6 59612011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5962
5963 PR target/39150
5964 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5965 like i?86-*-solaris2.1[0-9]*.
5966 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5967 * configure.ac (i?86-*-solaris2*): Likewise.
5968 * configure: Regenerate.
5969
fe27820f 59702011-07-06 Thomas Schwinge <thomas@schwinge.name>
5971
5972 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5973 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5974 md_unwind_header by splitting out of...
5975 (i[34567]86-*-linux*): ... this.
5976 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5977 Remove md_unwind_header by splitting out of...
5978 (x86_64-*-linux*): ... this.
5979
934ca5fd 59802011-07-04 Georg-Johann Lay <avr@gjlay.de>
5981
5982 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5983
707238af 59842011-06-28 Nick Clifton <nickc@redhat.com>
5985
5986 * config.host: Recognize all V850 variants.
5987
5125dcef 59882011-06-22 Uros Bizjak <ubizjak@gmail.com>
5989
5990 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
5991
f92b36a5 59922011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5993
5994 * shared-object.mk (c_flags-$o): Save c_flags.
5995 ($(base)$(objext)): Use it.
5996 ($(base)_s$(objext)): Likewise.
5997
d8492bd3 59982011-06-21 Bernd Schmidt <bernds@codesourcery.com>
5999
6000 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
6001 * libgcc-std.ver.in (GCC_4.7.0): New section.
6002
fa72efb7 60032011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 6004
fa72efb7 6005 PR target/49313
6006 PR target/29524
6007 * config/avr/t-avr: Fix line endings.
6008 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
6009 _parityXX2.
6010
adf7c0a1 60112011-06-14 Olivier Hainque <hainque@adacore.com>
6012 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6013
6014 * config/mips/irix6-unwind.h: New file.
6015 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
6016
47529489 60172011-06-10 Eric Botcazou <ebotcazou@adacore.com>
6018
6019 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
6020 (sparc64_fallback_frame_state): Use it.
6021 (sparc64_frob_update_context): Further adjust context.
6022 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
6023 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
6024 * config/sparc/sol2-cn.S: Likewise.
6025
a6f06169 60262011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6027
6028 * enable-execute-stack-empty.c: New file.
6029 * enable-execute-stack-mprotect.c: New file.
6030 * config/i386/enable-execute-stack-mingw32.c: New file.
6031 * config.host (enable_execute_stack): New variable.
6032 Select appropriate variants.
6033 * configure.ac: Link enable-execute-stack.c to
6034 $enable_execute_stack.
6035 * configure: Regenerate.
6036 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
6037 (lib2funcs): Remove _enable_execute_stack.
6038
f9cccfac 60392011-06-09 David S. Miller <davem@davemloft.net>
6040 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6041
6042 * config.host (sparc-*-linux*): Correct md_unwind_header
6043 filename.
6044 (s390x-ibm-tpf*): Fix typo.
6045
ee884cfb 60462011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6047
6048 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
6049 Add crtfastmath.o to extra_parts.
6050 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
6051 mips/t-crtfm.
6052 * config/mips/t-crtfm: Remove.
6053
01cb8ad1 60542011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6055
6056 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
6057
73956a0d 60582011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
6059
6060 * config.host (sh*-*-linux*): Fix typo.
6061
1e53920f 60622011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6063
6064 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
6065 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
6066 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
6067 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
6068 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
6069 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
6070 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
6071 Wrap in !__MINGW64__.
6072 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
6073 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
6074 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
6075 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
6076 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
6077 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
6078 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
6079 Wrap in !__LP64__.
6080 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
6081 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
6082 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
6083 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
6084 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
6085 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
6086 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
6087 * config/no-unwind.h: New file.
6088 * config.host (md_unwind_header): Document.
6089 Define.
6090 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
6091 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
6092 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
6093 hppa[12]*-*-hpux11*): Set md_unwind_header.
6094 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
6095 Set md_unwind_header.
6096 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
6097 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
6098 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
6099 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
6100 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
6101 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
6102 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
6103 md_unwind_header.
6104 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
6105 * configure: Regenerate.
6106
8087ae75 61072011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6108
6109 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
6110 Set tmake_file, extra_parts.
6111 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
6112 Remove O32 support.
6113 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
6114 Remove O32 support.
6115 * config/mips/t-irix6: New file.
6116 * config/mips/t-slibgcc-irix: New file.
6117
506cfbc8 61182011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6119
6120 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
6121 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
6122
541346b9 61232011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6124
6125 * configure.ac (target_thread_file): Determine thread model.
6126 * configure: Regenerate.
6127 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
6128 * config/alpha/t-alpha: New file.
6129 * config/alpha/t-crtfm: Use $<.
6130 * config/alpha/t-ieee: New file.
6131 * config/alpha/t-osf-pthread: New file.
6132 * config/alpha/t-slibgcc-osf: New file.
6133 * config/alpha/libgcc-osf5.ver: New file.
6134
43ae7603 61352011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6136
6137 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
6138 tmake_file.
6139 Add crtfastmath.o to extra_parts.
6140
f0d9a626 61412011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6142
6143 * config/gmon-sol2.c: Reindent.
6144 Cleanup comments.
6145 Remove, correct casts.
6146 Use STDERR_FILENO, NULL.
6147 (BASEADDRESS): Remove.
6148 (minbrk): Remove.
6149 (errno, sbrk): Remove declarations.
6150 (monstartup) [hp300]: Remove.
6151 (mcount): Remove.
6152
63abf89e 61532011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6154
6155 * Makefile.in (cpu_type): Define.
6156 * config.host (i[34567]86-*-rtems*): Handle it.
6157 (i[34567]86-*-solaris2*): Move body ...
6158 (*-*-solaris2*): ... here.
6159 New case, generalize.
6160 (sparc-*-elf*): Handle it.
6161 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
6162 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
6163 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
6164 Fold into ...
6165 (sparc*-*-solaris2*): ... this.
6166 New case.
6167 (sparc64-*-elf*): Handle it.
6168 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
6169 Merge ../gcc/config/i386/gmon-sol2.c.
6170 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
6171 Use C comments.
6172 Merge ../gcc/config/i386/sol2-gc1.asm.
6173 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
6174 Use C comments.
6175 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
6176 Use C comments.
6177 * config/i386/t-crtfm (crtfastmath.o): Use $<.
6178 * config/i386/t-crtstuff: New file.
6179 * config/i386/t-softfp: New file.
6180 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
6181 $(T)crti.o, $(T)crtn.o): Remove.
6182 (gcrt1.o): New rule.
6183 (TARGET_LIBGCC2_CFLAGS): Remove.
6184 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
6185 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
6186 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
6187 * config/sparc/t-sol2: New file.
6188 * config/sparc/t-crtfm: Move to ...
6189 * config/t-crtfm: ... this.
6190 Use $(cpu_type), $<.
6191 * config/t-crtin: New file.
6192 * config/sparc/t-softfp: New file.
6193 * config/sparc/t-softmul: New file.
6194 * config/t-rtems: New file.
6195 * config/t-slibgcc: New file.
6196 * config/t-slibgcc-elf-ver: New file.
6197 * config/t-slibgcc-gld: New file.
6198 * config/t-slibgcc-sld: New file.
6199 * config/t-sol2: New file.
6200 * configure.ac: Include ../config/lib-ld.m4.
6201 Call AC_LIB_PROG_LD_GNU.
6202 Substitute cpu_type.
6203 * configure: Regenerate.
6204
b1da9d72 62052011-05-27 Bernd Schmidt <bernds@codesourcery.com>
6206
6207 PR bootstrap/49173
6208 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
6209 libgcc-std.ver in the build directory.
6210 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
6211 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
6212
f308a9b2 62132011-05-25 Bernd Schmidt <bernds@codesourcery.com>
6214
6215 * libgcc-std.ver.in: New file.
6216 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
6217 variables.
6218 (libgcc-std.ver): New rule.
6219 * config/t-gnu-prefix: New file.
6220
c177b341 62212011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6222
6223 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
6224
8633828c 62252011-05-10 Joseph Myers <joseph@codesourcery.com>
6226
6227 * config/i386/darwin-lib.h: New file.
6228
3be74046 62292011-05-10 Joseph Myers <joseph@codesourcery.com>
6230
6231 * config/arm/symbian-lib.h: New.
6232
5e1a494e 62332011-05-04 Chris Demetriou <cgd@google.com>
6234
6235 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
6236 (__x86.get_pc_thunk.bx): ...this.
6237 (__morestack): Adjust for rename, remove undef of __i686.
6238
0bb50d04 62392011-05-03 Chris Demetriou <cgd@google.com>
6240
6241 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
6242
17b3d2a8 62432011-03-22 Joseph Myers <joseph@codesourcery.com>
6244
6245 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
6246 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
6247 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
6248 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
6249 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
6250 Remove cases.
6251
95525c17 62522011-03-14 Andreas Tobler <andreast@fgznet.ch>
6253
6254 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
6255 Adjust copyright year.
6256
82c96609 62572011-03-07 Ian Lance Taylor <iant@google.com>
6258
6259 * generic-morestack.c (__splitstack_find): Adjust returned stack
6260 pointer to include all registers pushed by __morestack.
6261
abfe0c5b 62622011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
6263
6264 PR target/40125
6265 * configure.ac: Call ACX_NONCANONICAL_TARGET.
6266 (toolexecdir): Calculate and AC_SUBST.
6267 (toolexeclibdir): Likewise.
6268 * Makefile.in (target_noncanonical): Import.
6269 (toolexecdir): Likewise.
6270 (toolexeclibdir): Likewise.
6271 * configure: Regenerate.
6272
48f93ee5 62732010-12-13 Nathan Froyd <froydnj@codesourcery.com>
6274
6275 PR target/46040
6276 * config/arm/bpabi.h: Rename to...
6277 * config/arm/bpabi-lib.h: ...this.
6278
76aa642f 62792010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6280
6281 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
6282 appropriate.
6283 * configure: Regenerate.
6284
e8b06528 62852010-11-24 Nathan Froyd <froydnj@codesourcery.com>
6286
6287 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
6288 __FLOAT_WORD_ORDER__.
6289 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
6290 Delete.
6291
2b7a4d59 62922010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6293
6294 PR other/46202
6295 * Makefile.in (install-strip): New phony target.
6296
457123d6 62972010-11-07 Ian Lance Taylor <iant@google.com>
6298
6299 PR target/46089
6300 * config/i386/morestack.S (__morestack_large_model): New
6301 function.
6302
f6e5e456 63032010-10-23 Nathan Froyd <froydnj@codesourcery.com>
6304
6305 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
6306 Delete.
6307 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
6308
faf175ae 63092010-10-14 Nathan Froyd <froydnj@codesourcery.com>
6310
6311 * config/arm/bpabi.h: New file.
6312 * config/frv/frv-abi.h: New file.
6313
9266176d 63142010-10-01 Ian Lance Taylor <iant@google.com>
6315
6316 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
6317 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
6318
13ba4217 63192010-10-01 H.J. Lu <hongjiu.lu@intel.com>
6320
6321 PR target/45858
6322 * config.host: Add the missing `$'.
6323
d34b0d1e 63242010-09-30 Michael Eager <eager@eagercon.com>
6325
6326 * config.host: Add microblaze*-*-*.
6327 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
6328 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
6329 udivsi3.asm,umodsi3.asm}: New.
6330
78ca2689 63312010-09-28 Ian Lance Taylor <iant@google.com>
6332
6333 * configure.ac: Adjust CFI test to test assembler directly rather
6334 than checking gcc preprocessor macro.
6335 * configure: Rebuild.
6336
c9b3ebc5 63372010-09-27 Ian Lance Taylor <iant@google.com>
6338
6339 * configure.ac: Test whether assembler supports CFI directives.
6340 * config.host: Only add t-stack and i386/t-stack-i386 to
6341 tmake_file if libgcc_cv_cfi is "yes".
6342 * configure: Rebuild.
6343
48b14f50 63442010-09-27 Ian Lance Taylor <iant@google.com>
6345
6346 * generic-morestack.h: New file.
6347 * generic-morestack.c: New file.
6348 * generic-morestack-thread.c: New file.
6349 * config/i386/morestack.S: New file.
6350 * config/t-stack: New file.
6351 * config/i386/t-stack-i386: New file.
6352 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
6353 i386/t-stack-i386 to tmake_file.
6354
fd80c7a1 63552010-09-21 Iain Sandoe <iains@gcc.gnu.org>
6356
6357 * Makefile.in (libgcc-extra-parts): Check for static archives and
6358 invoke ranlib after installing them.
6359 (gcc-extra-parts): Likewise.
6360 (install-leaf): Likewise.
6361
70fbcd6d 63622010-09-14 H.J. Lu <hongjiu.lu@intel.com>
6363
6364 * configure: Regenerated.
6365
19aace05 63662010-09-10 Kai Tietz <kai.tietz@onevision.com>
6367
70fbcd6d 6368 * configure: Regenerated.
19aace05 6369
279dadf5 63702010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
6371 Andrew Pinski <pinskia@gmail.com>
6372
5125dcef 6373 PR target/40959
279dadf5 6374 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
6375
a87eb011 63762010-09-06 H.J. Lu <hongjiu.lu@intel.com>
6377
6378 PR target/45524
6379 * configure: Regenerated.
6380
e6425baf 63812010-09-06 Andreas Schwab <schwab@redhat.com>
6382
6383 * configure: Regenerate.
6384
e88f4c66 63852010-09-03 Uros Bizjak <ubizjak@gmail.com>
6386
6387 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
6388 64bit targets.
6389 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
6390 for 64bit targets.
6391
1d8139cc 63922010-09-03 Uros Bizjak <ubizjak@gmail.com>
6393 Iain Sandoe <iains@gcc.gnu.org>
6394
6395 PR target/45476
6396 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
6397 LIB2FUNCS_EXCLUDE functions.
6398
23340821 63992010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6400
6401 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
6402 Include dfp.m4.
6403 * configure: Regenerate.
6404
278afeb5 64052010-09-01 Uros Bizjak <ubizjak@gmail.com>
6406
6407 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
6408 i386/t-freebsd to tmake_file.
6409 * config/i386/t-freebsd: New file.
6410 * config/i386/libgcc-bsd.ver: New file.
6411
952bf8bb 64122010-07-23 Nathan Froyd <froydnj@codesourcery.com>
6413
6414 * config.host (powerpc*-eabispe*): Set tmake_file.
6415 (powerpc*-eabi*): Likewise.
6416 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
6417 crtbeginS, crtendS, crtbeginT.
6418
283681bb 64192010-06-12 Kazu Hirata <kazu@codesourcery.com>
6420
6421 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
6422 to tmake_file. Add crtfastmath.o to extra_parts.
6423 * config/mips/t-crtfm: New.
6424
a6180b96 64252010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
6426
6427 * config.host (sparc64-*-rtems*): New target.
6428
05157f42 64292010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6430
6431 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6432 assembler syntax.
6433
8a84c748 64342010-04-15 Thomas Schwinge <tschwinge@gnu.org>
6435
6436 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
6437
ed3e1bbc 64382010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6439
6440 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
6441 alpha-dec-osf5.0* support.
6442
f8a8f9d9 64432010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 6444
6445 * config.host: Add lm32-*-rtems*.
6446
20be3c56 64472010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6448 Uros Bizjak <ubizjak@gmail.com>
6449
6450 PR target/39048
6451 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
6452 like other remaining 32-bit x86 OSes.
6453 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6454 assembler syntax.
6455 * config/i386/libgcc-sol2.ver: New file.
6456 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
6457
8f0f72c0 64582010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
6459
6460 PR c/43553
6461 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
6462 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
6463 is used and substitute set_use_emutls.
6464 * configure: Regenerated.
6465
cf842d6a 64662010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
6467
6468 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
6469
4dcd7ab3 64702010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6471
6472 PR target/38085
6473 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
6474 MULTILIB_CFLAGS.
6475 ($(T)gcrt1.o): Likewise.
6476 ($(T)crt1.o): Likewise.
6477 ($(T)crti.o): Likewise.
6478 ($(T)crtn.o): Likewise.
6479
a426f025 64802010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6481
6482 PR other/42980
6483 * Makefile.in (install): Use $(MAKE) string in rule, for
6484 parallel make.
6485
8525326e 64862010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
6487
6488 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
6489 * config/mmix/t-mmix: New file.
6490 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
6491
14a10763 64922010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
6493
6494 PR java/41991
6495 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
6496 SHLIB_MAPFILES.
6497
00301a1a 64982010-01-04 Anthony Green <green@moxielogic.com>
6499
6500 * config/moxie/crti.asm, config/moxie/crtn.asm,
6501 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
6502 config/moxie/t-moxie: New files.
6503 * config.host: Add t-moxie-softfp reference.
6504
d2b1aa3d 65052009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
6506
6507 PR other/39888
6508 * config/t-slibgcc-darwin: Fix embedded rpaths for
6509 --enable-version-specific-runtime-libs, build extension stub
6510 libs exposing features available from current libgcc_s.
6511
f6fe91e8 65122009-11-11 Jon Beniston <jon@beniston.com>
6513
278afeb5 6514 * config.host: Add lm32 targets.
6515 * config/lm32: New directory.
6516 * config/lm32/libgcc_lm32.h: New file.
6517 * config/lm32/_mulsi3.c: New file.
6518 * config/lm32/_udivmodsi4.c: New file.
6519 * config/lm32/_divsi3.c: New file.
6520 * config/lm32/_modsi3.c: New file.
6521 * config/lm32/_udivsi3.c: New file.
6522 * config/lm32/_umodsi3.c: New file.
6523 * config/lm32/_lshrsi3.S: New file.
6524 * config/lm32/_ashrsi3.S: New file.
6525 * config/lm32/_ashlsi3.S: New file.
6526 * config/lm32/crti.S: New file.
6527 * config/lm32/crtn.S: New file.
6528 * config/lm32/t-lm32: New file.
6529 * config/lm32/t-elf: New file.
6530 * config/lm32/t-uclinux: New file.
f6fe91e8 6531
24833e1a 65322009-10-26 Nick Clifton <nickc@redhat.com>
6533
6534 * config.host: Add support for RX target.
6535 * config/rx: New directory.
6536 * config/rx/rx-abi-functions.c: New file. Supplementary
6537 functions for libgcc to support the RX ABI.
6538 * config/rx/rx-abi.h: New file. Supplementary header file for
6539 libgcc RX ABI functions.
6540 * config/rx/t-rx: New file: Makefile fragment for building
6541 libgcc for the RX.
6542
1d7e299f 65432009-10-09 Uros Bizjak <ubizjak@gmail.com>
6544
6545 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
6546 constraint of y0 to "g".
6547
e38fe738 65482009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6549
6550 * config.host: Include the s390 makefile fragments.
6551 * config/s390/32/_fixdfdi.c: New file.
6552 * config/s390/32/_fixsfdi.c: New file.
6553 * config/s390/32/_fixtfdi.c: New file.
6554 * config/s390/32/_fixunsdfdi.c: New file.
6555 * config/s390/32/_fixunssfdi.c: New file.
6556 * config/s390/32/_fixunstfdi.c: New file.
6557 * config/s390/32/t-floattodi: New file.
6558 * config/s390/libgcc-glibc.ver: New file.
6559 * config/s390/t-crtstuff: New file.
6560 * config/s390/t-linux: New file.
6561 * config/s390/t-tpf: New file.
6562
81a71e2b 65632009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6564
6565 * configure.ac (AC_PREREQ): Bump to 2.64.
6566
a1ef431d 65672009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
6568
6569 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
6570
cd9a469c 65712009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6572
6573 * configure: Regenerate.
6574
9b9a2528 65752009-08-09 Douglas B Rupp <rupp@gnat.com>
6576
6577 * config.host (ia64-hp-*vms*): New target.
6578 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6579 with ia64-hp-*vms*.
6580
a2655af1 65812009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6582
6583 * configure.ac: Add snippet for maintainer-mode.
6584 * configure: Regenerate.
6585 * Makefile.in (AUTOCONF, configure_deps): New variables.
6586 ($(srcdir)/configure)): New rule, active only with maintainer
6587 mode turned on.
6588
46222c18 65892009-06-23 DJ Delorie <dj@redhat.com>
6590
6591 Add MeP port.
6592 * config.host: Add mep support.
6593
13dc7657 65942009-06-22 Kai Tietz <kai.tietz@onevision.com>
6595
82a3cc73 6596 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 6597 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 6598
6599 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6600 for mingw targets.
13dc7657 6601 * config/i386/64/_multc3.c: Likewise.
6602 * config/i386/64/_powitf2.c: Likewise.
6603 * config/i386/64/eqtf2.c: Likewise.
6604 * config/i386/64/getf2.c: Likewise.
6605 * config/i386/64/letf2.c: Likewise.
6606 * config/i386/64/letf2.c: Likewise.
82a3cc73 6607 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6608 unsigned long long for x64 mingw targets.
6609 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6610 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 6611
63bfd172 66122009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
6613
6614 * config.host (vax-*-linux*): New.
6615
be52b6d8 66162009-05-31 Anthony Green <green@moxielogic.com>
6617
6618 * config.host: Add moxie support.
6619 * config/moxie/t-moxie: New file.
6620
6471e33b 66212009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6622
6623 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 6624 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 6625
09ec66c8 66262009-04-17 Aurelien Jarno <aurelien@aurel32.net>
6627
6628 * config.host: Add i386/${host_address}/t-fprules-softfp to
6629 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6630
6bc9506f 66312009-04-09 Nick Clifton <nickc@redhat.com>
6632
6633 * config/ia64/tf-signs.c: Change copyright header to refer to
6634 version 3 of the GNU General Public License with version 3.1
6635 of the GCC Runtime Library Exception and to point readers at
6636 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6637 web page.
6638 * config/i386/32/tf-signs.c: Likewise.
6639 * config/libbid/_addsub_dd.c: Likewise.
6640 * config/libbid/_addsub_sd.c: Likewise.
6641 * config/libbid/_addsub_td.c: Likewise.
6642 * config/libbid/_dd_to_df.c: Likewise.
6643 * config/libbid/_dd_to_di.c: Likewise.
6644 * config/libbid/_dd_to_sd.c: Likewise.
6645 * config/libbid/_dd_to_sf.c: Likewise.
6646 * config/libbid/_dd_to_si.c: Likewise.
6647 * config/libbid/_dd_to_td.c: Likewise.
6648 * config/libbid/_dd_to_tf.c: Likewise.
6649 * config/libbid/_dd_to_udi.c: Likewise.
6650 * config/libbid/_dd_to_usi.c: Likewise.
6651 * config/libbid/_dd_to_xf.c: Likewise.
6652 * config/libbid/_df_to_dd.c: Likewise.
6653 * config/libbid/_df_to_sd.c: Likewise.
6654 * config/libbid/_df_to_td.c: Likewise.
6655 * config/libbid/_di_to_dd.c: Likewise.
6656 * config/libbid/_di_to_sd.c: Likewise.
6657 * config/libbid/_di_to_td.c: Likewise.
6658 * config/libbid/_div_dd.c: Likewise.
6659 * config/libbid/_div_sd.c: Likewise.
6660 * config/libbid/_div_td.c: Likewise.
6661 * config/libbid/_eq_dd.c: Likewise.
6662 * config/libbid/_eq_sd.c: Likewise.
6663 * config/libbid/_eq_td.c: Likewise.
6664 * config/libbid/_ge_dd.c: Likewise.
6665 * config/libbid/_ge_sd.c: Likewise.
6666 * config/libbid/_ge_td.c: Likewise.
6667 * config/libbid/_gt_dd.c: Likewise.
6668 * config/libbid/_gt_sd.c: Likewise.
6669 * config/libbid/_gt_td.c: Likewise.
6670 * config/libbid/_isinfd128.c: Likewise.
6671 * config/libbid/_isinfd32.c: Likewise.
6672 * config/libbid/_isinfd64.c: Likewise.
6673 * config/libbid/_le_dd.c: Likewise.
6674 * config/libbid/_le_sd.c: Likewise.
6675 * config/libbid/_le_td.c: Likewise.
6676 * config/libbid/_lt_dd.c: Likewise.
6677 * config/libbid/_lt_sd.c: Likewise.
6678 * config/libbid/_lt_td.c: Likewise.
6679 * config/libbid/_mul_dd.c: Likewise.
6680 * config/libbid/_mul_sd.c: Likewise.
6681 * config/libbid/_mul_td.c: Likewise.
6682 * config/libbid/_ne_dd.c: Likewise.
6683 * config/libbid/_ne_sd.c: Likewise.
6684 * config/libbid/_ne_td.c: Likewise.
6685 * config/libbid/_sd_to_dd.c: Likewise.
6686 * config/libbid/_sd_to_df.c: Likewise.
6687 * config/libbid/_sd_to_di.c: Likewise.
6688 * config/libbid/_sd_to_sf.c: Likewise.
6689 * config/libbid/_sd_to_si.c: Likewise.
6690 * config/libbid/_sd_to_td.c: Likewise.
6691 * config/libbid/_sd_to_tf.c: Likewise.
6692 * config/libbid/_sd_to_udi.c: Likewise.
6693 * config/libbid/_sd_to_usi.c: Likewise.
6694 * config/libbid/_sd_to_xf.c: Likewise.
6695 * config/libbid/_sf_to_dd.c: Likewise.
6696 * config/libbid/_sf_to_sd.c: Likewise.
6697 * config/libbid/_sf_to_td.c: Likewise.
6698 * config/libbid/_si_to_dd.c: Likewise.
6699 * config/libbid/_si_to_sd.c: Likewise.
6700 * config/libbid/_si_to_td.c: Likewise.
6701 * config/libbid/_td_to_dd.c: Likewise.
6702 * config/libbid/_td_to_df.c: Likewise.
6703 * config/libbid/_td_to_di.c: Likewise.
6704 * config/libbid/_td_to_sd.c: Likewise.
6705 * config/libbid/_td_to_sf.c: Likewise.
6706 * config/libbid/_td_to_si.c: Likewise.
6707 * config/libbid/_td_to_tf.c: Likewise.
6708 * config/libbid/_td_to_udi.c: Likewise.
6709 * config/libbid/_td_to_usi.c: Likewise.
6710 * config/libbid/_td_to_xf.c: Likewise.
6711 * config/libbid/_tf_to_dd.c: Likewise.
6712 * config/libbid/_tf_to_sd.c: Likewise.
6713 * config/libbid/_tf_to_td.c: Likewise.
6714 * config/libbid/_udi_to_dd.c: Likewise.
6715 * config/libbid/_udi_to_sd.c: Likewise.
6716 * config/libbid/_udi_to_td.c: Likewise.
6717 * config/libbid/_unord_dd.c: Likewise.
6718 * config/libbid/_unord_sd.c: Likewise.
6719 * config/libbid/_unord_td.c: Likewise.
6720 * config/libbid/_usi_to_dd.c: Likewise.
6721 * config/libbid/_usi_to_sd.c: Likewise.
6722 * config/libbid/_usi_to_td.c: Likewise.
6723 * config/libbid/_xf_to_dd.c: Likewise.
6724 * config/libbid/_xf_to_sd.c: Likewise.
6725 * config/libbid/_xf_to_td.c: Likewise.
6726 * config/libbid/bid128.c: Likewise.
6727 * config/libbid/bid128_2_str.h: Likewise.
6728 * config/libbid/bid128_2_str_macros.h: Likewise.
6729 * config/libbid/bid128_2_str_tables.c: Likewise.
6730 * config/libbid/bid128_add.c: Likewise.
6731 * config/libbid/bid128_compare.c: Likewise.
6732 * config/libbid/bid128_div.c: Likewise.
6733 * config/libbid/bid128_fma.c: Likewise.
6734 * config/libbid/bid128_logb.c: Likewise.
6735 * config/libbid/bid128_minmax.c: Likewise.
6736 * config/libbid/bid128_mul.c: Likewise.
6737 * config/libbid/bid128_next.c: Likewise.
6738 * config/libbid/bid128_noncomp.c: Likewise.
6739 * config/libbid/bid128_quantize.c: Likewise.
6740 * config/libbid/bid128_rem.c: Likewise.
6741 * config/libbid/bid128_round_integral.c: Likewise.
6742 * config/libbid/bid128_scalb.c: Likewise.
6743 * config/libbid/bid128_sqrt.c: Likewise.
6744 * config/libbid/bid128_string.c: Likewise.
6745 * config/libbid/bid128_to_int16.c: Likewise.
6746 * config/libbid/bid128_to_int32.c: Likewise.
6747 * config/libbid/bid128_to_int64.c: Likewise.
6748 * config/libbid/bid128_to_int8.c: Likewise.
6749 * config/libbid/bid128_to_uint16.c: Likewise.
6750 * config/libbid/bid128_to_uint32.c: Likewise.
6751 * config/libbid/bid128_to_uint64.c: Likewise.
6752 * config/libbid/bid128_to_uint8.c: Likewise.
6753 * config/libbid/bid32_to_bid128.c: Likewise.
6754 * config/libbid/bid32_to_bid64.c: Likewise.
6755 * config/libbid/bid64_add.c: Likewise.
6756 * config/libbid/bid64_compare.c: Likewise.
6757 * config/libbid/bid64_div.c: Likewise.
6758 * config/libbid/bid64_fma.c: Likewise.
6759 * config/libbid/bid64_logb.c: Likewise.
6760 * config/libbid/bid64_minmax.c: Likewise.
6761 * config/libbid/bid64_mul.c: Likewise.
6762 * config/libbid/bid64_next.c: Likewise.
6763 * config/libbid/bid64_noncomp.c: Likewise.
6764 * config/libbid/bid64_quantize.c: Likewise.
6765 * config/libbid/bid64_rem.c: Likewise.
6766 * config/libbid/bid64_round_integral.c: Likewise.
6767 * config/libbid/bid64_scalb.c: Likewise.
6768 * config/libbid/bid64_sqrt.c: Likewise.
6769 * config/libbid/bid64_string.c: Likewise.
6770 * config/libbid/bid64_to_bid128.c: Likewise.
6771 * config/libbid/bid64_to_int16.c: Likewise.
6772 * config/libbid/bid64_to_int32.c: Likewise.
6773 * config/libbid/bid64_to_int64.c: Likewise.
6774 * config/libbid/bid64_to_int8.c: Likewise.
6775 * config/libbid/bid64_to_uint16.c: Likewise.
6776 * config/libbid/bid64_to_uint32.c: Likewise.
6777 * config/libbid/bid64_to_uint64.c: Likewise.
6778 * config/libbid/bid64_to_uint8.c: Likewise.
6779 * config/libbid/bid_b2d.h: Likewise.
6780 * config/libbid/bid_binarydecimal.c: Likewise.
6781 * config/libbid/bid_conf.h: Likewise.
6782 * config/libbid/bid_convert_data.c: Likewise.
6783 * config/libbid/bid_decimal_data.c: Likewise.
6784 * config/libbid/bid_decimal_globals.c: Likewise.
6785 * config/libbid/bid_div_macros.h: Likewise.
6786 * config/libbid/bid_dpd.c: Likewise.
6787 * config/libbid/bid_flag_operations.c: Likewise.
6788 * config/libbid/bid_from_int.c: Likewise.
6789 * config/libbid/bid_functions.h: Likewise.
6790 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6791 * config/libbid/bid_inline_add.h: Likewise.
6792 * config/libbid/bid_internal.h: Likewise.
6793 * config/libbid/bid_round.c: Likewise.
6794 * config/libbid/bid_sqrt_macros.h: Likewise.
6795
67962009-04-09 Jakub Jelinek <jakub@redhat.com>
6797
6798 * Makefile.in: Change copyright header to refer to version
6799 3 of the GNU General Public License and to point readers at the
6800 COPYING3 file and the FSF's license web page.
6801 * config.host: Likewise.
6802
4e5e2802 68032009-04-07 Alan Modra <amodra@bigpond.net.au>
6804
6805 * config.host: Reorder and merge to match config.gcc change.
6806
8d40ea45 68072009-04-03 Alan Modra <amodra@bigpond.net.au>
6808
6809 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6810
f2397fc4 68112009-03-28 Joseph Myers <joseph@codesourcery.com>
6812
6813 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6814 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6815 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6816 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6817
24200b28 68182009-02-12 Uros Bizjak <ubizjak@gmail.com>
6819
6820 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6821 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6822
8b21beb2 68232009-02-12 H.J. Lu <hongjiu.lu@intel.com>
6824
24200b28 6825 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6826 ia64/t-softfp-compat to tmake_file.
8b21beb2 6827
6828 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6829
6830 * config/ia64/__divxf3.asm: New.
6831 * config/ia64/_fixtfdi.asm: Likewise.
6832 * config/ia64/_fixunstfdi.asm: Likewise.
6833 * config/ia64/_floatditf.asm: Likewise.
6834 * config/ia64/t-fprules-softfp: Likewise.
6835 * config/ia64/t-softfp-compat: Likewise.
6836 * config/ia64/tf-signs.c: Likewise.
6837
9df8be69 68382009-01-18 Ben Elliston <bje@au.ibm.com>
6839
6840 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6841
f2b540ae 68422009-01-16 Ben Elliston <bje@au.ibm.com>
6843
6844 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6845 to tmake_file.
6846
5790f80a 68472009-01-13 Ben Elliston <bje@au.ibm.com>
6848
6849 * config/t-softfp: New file.
6850 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6851 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6852
b8138586 68532009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
6854
6855 * config.host: Add m32r*-*-rtems*.
6856
7eac0a4e 68572008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
6858
6859 * config.host: Add m32c*-*-rtems*.
6860
03150a33 68612008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6862
6863 PR bootstrap/33100
6864 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6865 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6866 * configure: Regenerate.
6867 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6868 tmake_file here from gcc/config.gcc.
6869 Move extra_parts here from gcc/config.gcc.
6870 * config/i386/t-sol2: Move here from gcc/config/i386.
6871 Use gcc_srcdir instead of srcdir.
6872
77a32a8e 68732008-11-18 Adam Nemet <anemet@caviumnetworks.com>
6874
6875 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6876 case.
6877
1eab96a6 68782008-11-09 Thomas Schwinge <tschwinge@gnu.org>
6879
6880 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6881
74cd9df8 68822008-10-08 Thomas Schwinge <tschwinge@gnu.org>
6883
6884 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6885
8372e9ea 68862008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
6887
6888 Add picoChip port.
6889 * config.host: Add picochip-*-*.
6890
75c7ffbc 68912008-08-06 Bob Wilson <bob.wilson@acm.org>
6892
6893 * config.host: Match more processor names for Xtensa.
6894
fb4830c6 68952008-07-08 H.J. Lu <hongjiu.lu@intel.com>
6896
6897 * config/i386/64/t-softfp-compat: Update comments.
6898
7c92db45 68992008-07-07 H.J. Lu <hongjiu.lu@intel.com>
6900
6901 * config/i386/64/_divtc3-compat.c: Moved to ...
6902 * config/i386/64/_divtc3.c: Here.
6903
6904 * config/i386/64/_multc3-compat.c: Moved to ...
6905 * config/i386/64/_multc3.c: Here.
6906
6907 * config/i386/64/_powitf2-compat.c: Moved to ...
6908 * config/i386/64/_powitf2.c: Here.
6909
6910 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6911 .c suffix instead of -compat.c.
6912
ec2e6a4e 69132008-07-05 Uros Bizjak <ubizjak@gmail.com>
6914
6915 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6916 (_FP_MUL_MEAT_D): Ditto.
6917 (_FP_DIV_MEAT_S): Ditto.
6918 (_FP_DIV_MEAT_D): Ditto.
6919
fdbb505a 69202008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
6921
6922 * Makefile.in: Add support for __sync_* libgcc functions.
6923
310c48f2 69242008-07-03 H.J. Lu <hongjiu.lu@intel.com>
6925
6926 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6927
144633f4 69282008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6929
6930 PR boostrap/36702
6931 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6932 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
6933
6934 * config/i386/64/t-fprules-softfp: Moved to ...
6935 * config/i386/64/t-softfp-compat: This. New.
6936
e25ffafe 69372008-07-02 Uros Bizjak <ubizjak@gmail.com>
6938
6939 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6940 Initialize f with 0.0.
6941
b3fd46a0 69422008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6943
6944 PR target/36669
6945 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6946
6947 * config/i386/64/_divtc3-compat.c: New.
6948 * config/i386/64/_multc3-compat.c: Likewise.
6949 * config/i386/64/_powitf2-compat.c: Likewise.
6950 * config/i386/64/eqtf2.c: Likewise.
6951 * config/i386/64/getf2.c: Likewise.
6952 * config/i386/64/letf2.c: Likewise.
6953 * config/i386/64/t-fprules-softfp: Likewise.
6954
69552008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6956
6957 * config.host: Add i386/${host_address}/t-fprules-softfp to
6958 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 6959 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 6960
6961 * configure.ac: Set host_address to 64 or 32 for x86.
6962 * configure: Regenerated.
6963
6964 * Makefile.in (config.status): Also depend on
6965 $(srcdir)/config.host.
6966
6967 * config/i386/32/t-fprules-softfp: New.
6968 * config/i386/32/tf-signs.c: Likewise.
6969
6970 * config/i386/64/sfp-machine.h: New. Moved from gcc.
6971
69722008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6973 Uros Bizjak <ubizjak@gmail.com>
6974
6975 * config/i386/32/sfp-machine.h: New.
6976
eaef9489 69772008-06-26 Nathan Froyd <froydnj@codesourcery.com>
6978
6979 * config/rs6000/t-ppccomm: Remove rules that conflict with
6980 auto-generated rules.
6981
5b2c7553 69822008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6983
6984 * configure.ac: sinclude override.m4.
6985 * configure: Regenerate.
6986
dde02e56 69872008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
6988
6989 * configure: Regenerate.
6990
4d6f3aad 69912008-06-10 Joseph Myers <joseph@codesourcery.com>
6992
6993 * Makefile.in (DECNUMINC): Remove
6994 -I$(MULTIBUILDTOP)../../libdecnumber.
6995 * gstdint.h: New.
6996
6af9f7ea 69972008-06-07 Joseph Myers <joseph@codesourcery.com>
6998
6999 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
7000 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
7001 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
7002 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
7003 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
7004 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
7005 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
7006 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
7007 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
7008 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
7009 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
7010 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
7011 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
7012 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
7013
ccf1c0f1 70142008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
7015
7016 * config.host (sh2[lbe]*-*-linux*): Allow target.
7017
19872d0b 70182008-04-30 Nathan Froyd <froydnj@codesourcery.com>
7019
7020 * config/rs6000/t-ppccomm: Add build rules for new files.
7021 (LIB2ADD_ST): New variable.
7022
38dd5584 70232008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
7024
7025 PR target/34210
7026 PR target/35508
7027 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
7028 * config/t-avr: New file. Build 16bit libgcc functions.
7029
8e5da69c 70302008-03-02 Jakub Jelinek <jakub@redhat.com>
7031
7032 PR target/35401
7033 * config/t-slibgcc-darwin: Make install-leaf dependent on
7034 install-darwin-libgcc-stubs instead of install.
7035
99c77e32 70362008-01-25 Joseph Myers <joseph@codesourcery.com>
7037
7038 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
7039 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
7040 sh-*-rtemscoff*): Remove cases.
7041
8237872e 70422007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
7043
7044 * Makefile.in (all): Use install-leaf rather than install.
7045 (install): Split most of the rule into...
7046 (install-leaf): ...this new one.
7047
00a05b87 70482007-12-19 Etsushi Kato <ek.kato@gmail.com>
7049 Paolo Bonzini <bonzini@gnu.org>
7050
7051 PR target/30572
e25ffafe 7052 * Makefile.in: Use @shlib_slibdir@ substitution to get
7053 correct install name on darwin.
00a05b87 7054 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 7055
877d7f12 70562007-12-15 Hans-Peter Nilsson <hp@axis.com>
7057
7058 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
7059 cris-*-elf and cris-*-none.
7060 (crisv32-*-linux*): Similar, as cris-*-linux*.
7061
75612461 70622007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
7063
7064 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
7065
f11b4169 70662007-10-27 H.J. Lu <hongjiu.lu@intel.com>
7067
7068 PR regression/33926
7069 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
7070 * configure: Regenerated.
7071
84d1fc49 70722007-09-27 H.J. Lu <hongjiu.lu@intel.com>
7073
7074 * Makefile.in (dfp-filenames): Replace decimal_globals,
7075 decimal_data, binarydecimal and convert_data with
7076 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
7077 and bid_convert_data, respectively.
7078
3ac0842f 70792007-09-17 Chao-ying Fu <fu@mips.com>
7080 Nigel Stephens <nigel@mips.com>
7081
7082 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
7083 * Makefile.in (fixed_point): Define.
7084 Check if fixed_point is yes to build support functions.
7085 * configure.ac: Check for fixed_point support.
7086 * configure: Regenerated.
7087 * gen-fixed.sh: New file to generate lists of fixed-point labels,
7088 funcs, modes, from, to.
7089
8c72b2f9 70902007-09-11 Janis Johnson <janis187@us.ibm.com
7091
7092 * Makefile.in (dfp-filenames): Add bid128_noncomp.
7093
c8ac5d9a 70942007-09-10 Janis Johnson <janis187@us.ibm.com>
7095
7096 * Makefile.in (dfp-filenames): Remove decUtility, add
7097 decDouble, decPacked, decQuad, decSingle.
7098
cc8ebe39 70992007-08-27 Hans Kester <hans.kester@ellips.nl>
7100
7101 * config.host : Add x86_64-elf target.
7102
db1c99de 71032007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7104
7105 * configure.ac (set_have_cc_tls): Add a missing =.
7106 * configure: Regenerated.
7107
e4cbe54f 71082007-07-06 H.J. Lu <hongjiu.lu@intel.com>
7109
7110 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
7111 and x86_64-*-linux*.
7112
7113 * config/t-tls: New file.
7114
1d7e299f 7115 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 7116
7117 * configure.ac: Include ../config/enable.m4 and
7118 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
7119 supports TLS and substitute set_have_cc_tls.
7120 * configure: Regenerated.
7121
9b6b0236 71222007-07-04 H.J. Lu <hongjiu.lu@intel.com>
7123
7124 * Makefile.in: Use libbid for DFP when BID is enabled.
7125
9e51385b 71262007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
7127
7128 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 7129 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 7130 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
7131
8f433c51 71322007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 7133 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 7134
7135 PR target/29498
7136 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
7137 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
7138 * config/i386/t-crtfm: Compile crtfastmath.o with
7139 -minline-all-stringops.
7140
723e1902 71412007-05-10 Richard Sandiford <richard@codesourcery.com>
7142
7143 * config.host (sparc-wrs-vxworks): New target.
7144
278e2fd1 71452007-04-14 Kazu Hirata <kazu@codesourcery.com>
7146
7147 * config.host: Recognize fido.
7148
2968d68c 71492007-04-04 Janis Johnson <janis187@us.ibm.com>
7150
7151 * configure: Check host, not target, for decimal float support.
7152
6d057ce8 71532007-04-03 Uros Bizjak <ubizjak@gmail.com>
7154
7155 * config/i386/t-crtpc: New file.
7156 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 7157 (x86_64-*-linux*): Ditto.
6d057ce8 7158
0bbe9142 71592007-02-30 Kai Tietz <kai.tietz@onevision.com>
7160
7161 * config.host (x86_64-*-mingw*): New target.
7162
10de71e1 71632007-03-23 Michael Meissner <michael.meissner@amd.com>
7164 H.J. Lu <hongjiu.lu@intel.com>
7165
7166 * Makefile.in (enable_decimal_float): New.
7167 (DECNUMINC): Add
7168 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
7169 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
7170 (decbits-filenames): This.
7171 (decbits-objects): New.
7172 (libgcc-objects): Add $(decbits-objects).
7173
7174 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
7175 Substitute enable_decimal_float.
7176 * configure: Regenerated.
7177
7a9b9c95 71782007-03-19 Hans-Peter Nilsson <hp@axis.com>
7179
7180 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
7181
37decb40 71822007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
7183
7184 * Makefile.in (install-info): New dummy target.
7185
bce94ab5 71862007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
7187
7188 * config.host (bfin*-linux-uclibc*): Set extra_parts.
7189
1403bdd1 71902007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
7191
7192 * Makefile.in: Add install-html and install-pdf dummy
7193 targets.
7194
fce64ed4 71952007-02-05 Roger Sayle <roger@eyesopen.com>
7196 Daniel Jacobowitz <dan@codesourcery.com>
7197
7198 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
7199 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
7200 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
7201
4d863ca5 72022007-01-29 Janis Johnson <janis187@us.ibm.com>
7203
7204 * Makefile.in (dec-filenames): Add decExcept.
7205
f0356913 72062007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7207
7208 PR bootstrap/30469
7209 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
7210 -fprofile-use.
7211
bbdcab13 72122007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
7213
7214 * configure.ac: Add --enable-version-specific-runtime-libs.
7215 Correct $slibdir default.
7216 * configure: Regenerated.
7217
3da0fdbc 72182007-01-23 Joseph Myers <joseph@codesourcery.com>
7219
7220 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
7221
cdca0ab7 72222007-01-21 Andrew Pinski <pinskia@gmail.com>
7223
7224 PR target/30519
7225 * config.host (alpha*-*-linux*): Set extra_parts.
7226
97f1a704 72272007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
7228
7229 * config/sh/t-linux: New.
7230 * config.host (sh*-*-linux*): Set tmake_file.
7231
52617116 72322007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
7233
7234 * Makefile.in (install): Handle multilibs.
7235
c0e5c948 72362007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
7237
7238 * Makefile.in: Added .PHONY entry for documentation targets.
7239
d62e2f2f 72402007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
7241
7242 * Makefile.in: Add empty info, html, dvi, pdf targets.
7243
68cf2994 72442007-01-04 Mike Stump <mrs@apple.com>
7245
7246 * Makefile.in (MAKEINFO): Remove.
7247 (PERL): Likewise.
7248
f534b3b3 72492007-01-04 Paolo Bonzini <bonzini@gnu.org>
7250
7251 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
7252 * configure: Regenerate.
7253 * Makefile.in (host_subdir): Substitute it.
1d7e299f 7254 (gcc_objdir): Use it.
f534b3b3 7255
c11c6ae3 72562007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7257
7258 * config.host (ia64*-*-linux*): Set tmake_file.
7259
d272bed8 72602007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7261
7262 * Makefile.in (version): Define.
7263
894a47b4 72642007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7265 Paolo Bonzini <bonzini@gnu.org>
7266
7267 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
7268 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
7269 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
7270 config/sparc/t-crtfm, config/t-slibgcc-darwin,
7271 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
7272 shared-object.mk, siditi-object.mk, static-object.mk: New files.
7273 * configure: Generated.