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