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