]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Fix PR66168
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
328976ed 12015-05-27 John Marino <gnugcc@marino.st>
2
3 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4 md_unwind_header
5 * config/i386/freebsd-unwind.h: New.
6
2a8549e0 72015-05-22 Uros Bizjak <ubizjak@gmail.com>
8
9 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
10 i386/t-crtfm to tmake_file.
11 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
12 (set_fast_math): Use set_fast_math_sse for SSE targets.
13 * config/i386/t-crtfm: Remove.
14
b5d18737 152015-05-21 Alan Modra <amodra@gmail.com>
16
17 PR libgcc/66225
18 * config/rs6000/morestack.S: Remove ".abiversion 1".
19
ec3f28c9 202015-05-20 Alan Modra <amodra@gmail.com>
21
22 * config/rs6000/morestack.S: New.
23 * config/rs6000/t-stack-rs6000: New.
24 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
25 to tmake_file.
26 * generic-morestack.c: Don't build for powerpc 32-bit.
27
11087c28 282015-05-19 Eric Botcazou <ebotcazou@adacore.com>
29
30 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
31 Remove useless endif/ifneq ($(enable_shared),yes) pair.
32
ce86a36a 332015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
34
35 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
36 New macros.
37 * config/arm/ieee754-df.S: Add CFI directives.
38 * config/arm/ieee754-sf.S: Add CFI directives.
39
177cc56c 402015-05-13 Eric Botcazou <ebotcazou@adacore.com>
41
42 * configure.ac: Include config/sjlj.m4.
43 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
44 * config.in: Regenerate.
45 * configure: Likewise.
46 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
47
a8a5046c 482015-05-12 Uros Bizjak <ubizjak@gmail.com>
49
50 * libgcov-util.c: Add space between string literal and macro name.
51
1ddaa252 522015-05-06 Sandra Loosemore <sandra@codesourcery.com>
53 Chris Jones <chrisj@nvidia.com>
54 Joshua Conner <jconner@nvidia.com>
55
56 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
57 (arm*-*-uclinux*): Likewise.
58 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
59 * config/arm/crtfastmath.c: New file.
60
162f9d1e 612014-04-29 Bernd Schmidt <bernds@codesourcery.com>
62
63 * Makefile.in (real_host_noncanonical): New variable.
64 (libsubdir): Use it.
65 * configure.ac (real_host_noncanonical): Compute. Remove special
66 case for intelmicemul.
67 * configure: Regenerate.
68
005a5ef5 692015-04-28 Uros Bizjak <ubizjak@gmail.com>
70
71 * config/frv/elf-lib.h: New file.
72 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
73 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
74 to tm_file.
75
762015-04-28 Uros Bizjak <ubizjak@gmail.com>
77
78 * config/frv/frvbengin.c: Do not include defaults.h
79 * config/frv/frvend.c: Ditto.
80
acff2768 812015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
82
83 * config.host: Add h8300-*-linux
84 * config/h8300/t-linux: New file.
85 * config/h8300/lib1funs.s: Change symbol prefix.
86 * config/h8300/sfp-machine.h: 64bit double support.
87
a2e31d06 882015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
89 Szabolcs Nagy <szabolcs.nagy@arm.com>
90
91 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
92 Linux if target provides dl_iterate_phdr.
93
4b5fb32a 942015-04-17 H.J. Lu <hongjiu.lu@intel.com>
95
96 PR target/65612
97 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
98 * config/i386/cpuinfo.c (__cpu_model): Initialize.
99 (__cpu_indicator_init@GCC_4.8.0): New.
100 (__cpu_model@GCC_4.8.0): Likewise.
101 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
102 -DUSE_ELF_SYMVER.
103
e98e1692 1042015-04-16 Nick Clifton <nickc@redhat.com>
105
106 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
107 and __modhi3 functions.
108 * config/rl78/divmodso.S: Add G14 and G13 versions of the
109 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
110
a0093a4f 1112015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
112
113 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
114 do-while loop as macro body to avoid warnings.
115
fb5ccd6d 1162015-04-10 Jakub Jelinek <jakub@redhat.com>
117 Iain Sandoe <iain@codesourcery.com>
118
119 PR target/65351
120 * configure: Regenerate.
121
b1b085e0 1222015-04-07 Jakub Jelinek <jakub@redhat.com>
123 Iain Sandoe <iain@codesourcery.com>
124
125 PR target/65351
126 * configure: Regenerate.
127
7ca58a65 1282015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
129
130 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
131
b89c671b 1322015-03-03 Max Filippov <jcmvbkbc@gmail.com>
7ca58a65 133
b89c671b 134 Implement call0 ABI for xtensa
135 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
136 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
137 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
138 use ret in call0 ABI.
139 * config/xtensa/t-windowed: New file.
140 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
141 * libgcc/configure: Regenerated.
142 * libgcc/configure.ac: Check if xtensa target is configured for
143 windowed ABI and thus needs to use custom unwind code.
144
69831bb2 1452015-02-12 Jonathan Wakely <jwakely@redhat.com>
146
147 PR libgcc/64885
148 * gthr-single.h: Use __unused__ attribute instead of unused.
149 * config/gthr-vxworks.h: Likewise.
150 * config/i386/gthr-win32.h: Likewise.
151
c905381f 1522015-02-27 Kai Tietz <ktietz@redhat.com>
153
154 PR target/65038
155 * config.in: Regenerated.
156 * configure: Likewise.
157 * configure.ac (AC_HEADER_STDC): Added explicit.
158 (AC_CHECK_HEADERS): Check for default headers plus
159 for ftw.h header.
160 * libgcov-util.c (gcov_read_profile_dir): Disable use
161 of ftw-function, if header is not found.
162 (ftw_read_file): Likewise.
163
0853f8db 1642015-02-23 Thomas Schwinge <thomas@codesourcery.com>
165
166 PR target/65181
167 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
168 -Dinhibit_libc.
169
1c55a862 1702015-02-17 Sandra Loosemore <sandra@codesourcery.com>
171
172 * config/arm/bpabi.S (test_div_by_zero): Make label names
173 consistent between thumb2 and arm mode cases. Separate the
174 signed comparison on the high word of the numerator from the
175 unsigned comparison on the low word.
176 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
177 signed comparison.
178
6014aff2 1792015-02-17 Joseph Myers <joseph@codesourcery.com>
180
181 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
182 and <string.h>.
183 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
184
a698bcaa 1852015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
186
187 PR gcov-profile/61889
3083dd2f 188 * libgcov-driver-system.c: undefine clashing macro for mkdir.
a698bcaa 189
889a65e7 1902015-02-02 Nick Clifton <nickc@redhat.com>
191
192 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
193 rounding up the fraction.
194
f3b68f27 1952015-01-31 John David Anglin <danglin@gcc.gnu.org>
196
197 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
198 oldval and newval to const void *. Fix typo.
199 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
200 (FETCH_AND_OP_WORD): Likewise.
201 (OP_AND_FETCH_WORD): Likewise.
202 (COMPARE_AND_SWAP_2): Likewise.
203 (__sync_val_compare_and_swap_4): Likewise.
204 (__sync_lock_test_and_set_4): Likewise.
205 (SYNC_LOCK_RELEASE_2): Likewise.
206 Remove support for long long atomic operations.
207
5be42fa9 2082015-01-27 Caroline Tice <cmtice@google.com>
209
210 Committing VTV Cywin/Ming patch for Patrick Wollgast
211 * Makefile.in: Move rules to build vtv_*.o out of the check
212 for CUSTOM_CRTSTUFF.
213 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
214 i[34567]86-*-mingw*)
215 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
216 enable_vtable_verify.
217
45e05b5a 2182015-01-27 Nick Clifton <nickc@redhat.com>
219
220 * config/rl78/cmpsi2.S: Use function start and end macros.
221 (__gcc_bcmp): New function.
222 * config/rl78/lshrsi3.S: Use function start and end macros.
223 * config/rl78/mulsi3.S: Add support for G10.
224 (__mulqi3): New function for G10.
225 * config/rl78/signbit.S: Use function start and end macros.
226 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
227 fpmath-sf.S.
228 (LIB2FUNCS_EXCLUDE): Define.
229 (LIB2FUNCS_ST): Define.
230 * config/rl78/trampoline.S: Use function start and end macros.
231 * config/rl78/vregs.h (START_FUNC): New macro.
232 (START_ANOTHER_FUNC): New macro.
233 (END_FUNC): New macro.
234 (END_ANOTHER_FUNC): New macro.
235 * config/rl78/bit-count.S: New file. Contains assembler
236 implementations of the bit counting functions: ___clzhi2,
237 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
238 __paritysi2, __popcounthi2 and __popcountsi2.
239 * config/rl78/fpbit-sf.S: New file. Contains assembler
240 implementationas of the math functions: __negsf2, __cmpsf2,
241 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
242 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
243 * config/rl78/fpmath-sf.S: New file. Contains assembler
244 implementations of the math functions: __subsf3, __addsf3,
245 __mulsf3 and __divsf3
246
43cbcd84 2472015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
248
249 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
250 Add i386/elf-lib.h to tm_file.
251 * config/i386/elf-lib.h: Fix comment.
252 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
253 && __sun__ && __svr4__]: Remove workaround.
254
f8956357 2552015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
256
257 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
258 FEATURE_BMI2.
259 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
260
1b738d4d 2612015-01-24 H.J. Lu <hongjiu.lu@intel.com>
262
263 * config/i386/cpuinfo.c (processor_subtypes): Add
264 INTEL_COREI7_BROADWELL.
265 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
266 model numbers.
267
58ca7445 2682015-01-23 Uros Bizjak <ubizjak@gmail.com>
269
270 * config/i386/elf-lib.h: New file.
271 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
272 Wrap definition in #ifdef __i386__.
273 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
274 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
275 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
276 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
277 to tm_file.
278
d4c9c88d 2792015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
280
281 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
282 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
283
c46389f0 2842015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
285
286 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
287 Update rt_sigframe format and address for current Nios II
288 Linux conventions.
289
275d0a7c 2902015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
291
292 * config.host (arm*-*-freebsd*): Add new configuration for
293 arm*-*-freebsd*.
294 * config/arm/freebsd-atomic.c: New file.
295 * config/arm/t-freebsd: Likewise.
296 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
297 'PC-relative indirect' OS's.
298
8992df51 2992015-01-06 Eric Botcazou <ebotcazou@adacore.com>
300
301 * config.host: Add Visium support.
302 * config/visium: New directory.
303
d353bf18 3042015-01-05 Jakub Jelinek <jakub@redhat.com>
305
306 Update copyright years.
307
78645e70 3082014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
309
310 * config.host: Support mipsisa32r6 and mipsisa64r6.
311 * config/mips/mips16.S: Do not build for R6.
312
14cc370b 3132014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
314
315 * config/sh/crt.h: New.
316 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
317 symbols.
318 * config/sh/crt1.S: Likewise.
319
06f29f53 3202014-12-15 Uros Bizjak <ubizjak@gmail.com>
321
322 PR libgcc/63832
323 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
324 func_ptr *dtor_list temporary variable to avoid "array subscript
325 is above array bounds" warnings.
326
5573be4f 3272014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4c87b50c 328
329 * Makefile.in (with_aix_soname): Define.
330 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
331 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
332 * configure: Recreate.
333
c0235a33 3342014-12-05 Olivier Hainque <hainque@adacore.com>
335
336 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
337 now provided by defaults.h.
338
273fffd6 3392014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
340
84cf4824 341 PR target/55351
273fffd6 342 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
343 whether it's defined.
344
ffbfc7c5 3452014-11-27 Ilya Tocar <ilya.tocar@intel.com>
346
347 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
348 * config/i386/cpuinfo.c (get_available_features): Detect it.
349
ae22ef60 3502014-11-27 Tony Wang <tony.wang@arm.com>
351
352 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
353 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
354 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
355
a532bc30 3562014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
357
358 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
359
e88ebd91 3602014-11-24 John David Anglin <danglin@gcc.gnu.org>
361
362 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
363 instead.
364
422aeca3 3652014-11-21 Guy Martin <gmsoft@tuxicoman.be>
366 John David Anglin <danglin@gcc.gnu.org>
367
368 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
369 (FETCH_AND_OP_2): New. Use for subword and double word operations.
370 (OP_AND_FETCH_2): Likewise.
371 (COMPARE_AND_SWAP_2): Likewise.
372 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
373 (SYNC_LOCK_RELEASE_2): Likewise.
374 (SUBWORD_SYNC_OP): Remove.
375 (SUBWORD_VAL_CAS): Likewise.
376 (SUBWORD_BOOL_CAS): Likewise.
377 (FETCH_AND_OP_WORD): Update.
378 Consistently use signed types.
005a5ef5 379
a3d93be3 3802014-11-13 Bernd Schmidt <bernds@codesourcery.com>
381 Thomas Schwinge <thomas@codesourcery.com>
382 Ilya Verbin <ilya.verbin@intel.com>
383 Andrey Turetskiy <andrey.turetskiy@intel.com>
384
385 * Makefile.in (crtoffloadbegin$(objext)): New rule.
386 (crtoffloadend$(objext)): Likewise.
387 * configure: Regenerate.
388 * configure.ac (accel_dir_suffix): Compute new variable.
389 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
390 if enable_offload_targets is not empty.
391 * offloadstuff.c: New file.
392
97a36a5b 3932014-11-13 Nick Clifton <nickc@redhat.com>
394
395 * config/rl78/divmodhi.S: Add support for the G10 architecture.
396 Use START_FUNC and END_FUNC macros to enable linker garbage
397 collection.
398 * config/rl78/divmodqi.S: Likewise.
399 * config/rl78/divmodsi.S: Likewise.
400 * config/rl78/mulsi3.S: Likewise.
401 * config/rl78/lib2div.c: Remove G10 functions.
402 * config/rl78/lib2muls.c: Likewise.
403 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
404 * config/rl78/vregs.h (START_FUNC): New macro.
405 (END_FUNC): New macro.
406
f2b55aea 4072014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
408
409 * config/mips/mips16.S: Set .module when supported. Update O32
410 FP64 calling convention and use for FPXX when possible. Add FPXX
411 calling convention fallback case.
412
8ce80784 4132014-11-06 Bernd Schmidt <bernds@codesourcery.com>
414
415 * config.host: Handle nvptx-*-*.
416 * shared-object.mk (as-flags-$o): Define.
417 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
418 -xassembler-with-cpp.
419 * static-object.mk: Identical changes.
420 * config/nvptx/t-nvptx: New file.
421 * config/nvptx/crt0.s: New file.
422 * config/nvptx/free.asm: New file.
423 * config/nvptx/malloc.asm: New file.
424 * config/nvptx/realloc.c: New file.
425
0e36a0d7 4262014-10-30 Joseph Myers <joseph@codesourcery.com>
427
428 * Makefile.in (libgcc.map.in): New target.
429 (libgcc.map): Use libgcc.map.in.
430 * config/t-softfp (softfp_compat): New variable to be set by
431 users.
432 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
433 variables.
434 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
435 directory.
436 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
437 that use compat symbols and disable all code unless [SHARED].
438 * config/t-softfp-compat: New file.
439 * find-symver.awk: New file.
440 * configure.ac (--with-glibc-version): New configure option.
441 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
442 * configure: Regenerate.
443 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
444 soft-float and e500.
445
d9b5cf5c 4462014-10-29 Joseph Myers <joseph@codesourcery.com>
447
448 * config/t-hardfp (hardfp_exclusions): Document new variable for
449 user to define.
450 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
451 * config/t-softfp (softfp_extras): Document new variable for user
452 to define.
453 (softfp_func_list): Add functions from $(softfp_extras).
454 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
455 * config.host (powerpc*-*-linux*): For e500v1, use
456 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
457 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
458 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
459
2de51200 4602014-10-26 John David Anglin <danglin@gcc.gnu.org>
461
462 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
463 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
464 memory read accesses are ok.
465
fd1eaa27 4662014-10-25 Joseph Myers <joseph@codesourcery.com>
467
468 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
469 * configure: Regenerate.
470 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
471 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
472 of soft-fp for 32-bit classic hard float. Do not use
473 t-softfp-excl for soft float.
474
e707b8cc 4752014-10-22 Joseph Myers <joseph@codesourcery.com>
476
477 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
478 configurations.
479 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
480 Remove variables.
481
6ce12a35 4822014-10-22 Georg-Johann Lay <avr@gjlay.de>
483
484 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
485 introduced with 2014-10-21 trunk r216525.
486
b4e6d2e2 4872014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
488 Vidya Praveen <vidya.praveen@atmel.com>
489 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
490 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
491 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
492
493 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
494 order.
495
496 Updated library functions for AVRTINY arch.
497 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
498 Replaced occurrences of r0/r1 with tmp/zero reg macros.
499 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
500 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
501 wsubi/wadi macors.
502 (__mulsi3_helper): Update stack, preserve callee saved regs and
503 argument from stack. Restore callee save registers.
504 (__mulpsi3): Likewise.
505 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
506 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
6ce12a35 507 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
b4e6d2e2 508 AVRTINY.
509 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
510 (__do_copy_data): Added new definition for AVRTINY.
511 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
512 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
513 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
514 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
515 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
516 macors.
6ce12a35 517 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
b4e6d2e2 518 AVRTINY.
519
6ce12a35 520 Fix broken long multiplication on tiny arch.
b4e6d2e2 521
d9bbc5ef 5222014-10-09 Joseph Myers <joseph@codesourcery.com>
523
524 * soft-fp/double.h: Update from glibc.
525 * soft-fp/eqdf2.c: Likewise.
526 * soft-fp/eqsf2.c: Likewise.
527 * soft-fp/eqtf2.c: Likewise.
528 * soft-fp/extenddftf2.c: Likewise.
529 * soft-fp/extended.h: Likewise.
530 * soft-fp/extendsfdf2.c: Likewise.
531 * soft-fp/extendsftf2.c: Likewise.
532 * soft-fp/extendxftf2.c: Likewise.
533 * soft-fp/gedf2.c: Likewise.
534 * soft-fp/gesf2.c: Likewise.
535 * soft-fp/getf2.c: Likewise.
536 * soft-fp/ledf2.c: Likewise.
537 * soft-fp/lesf2.c: Likewise.
538 * soft-fp/letf2.c: Likewise.
539 * soft-fp/op-1.h: Likewise.
540 * soft-fp/op-2.h: Likewise.
541 * soft-fp/op-4.h: Likewise.
542 * soft-fp/op-8.h: Likewise.
543 * soft-fp/op-common.h: Likewise.
544 * soft-fp/quad.h: Likewise.
545 * soft-fp/single.h: Likewise.
546 * soft-fp/soft-fp.h: Likewise.
547 * soft-fp/unorddf2.c: Likewise.
548 * soft-fp/unordsf2.c: Likewise.
549 * soft-fp/unordtf2.c: Likewise.
550 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
551 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
552 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
553 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
554 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
555 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
556 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
557 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
558 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
559 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
560
26054e0b 5612014-10-08 Rong Xu <xur@google.com>
562
563 * libgcov-util.c (read_gcda_file): Fix format.
564 (find_match_gcov_info): Ditto.
565 (calculate_2_entries): New.
566 (compute_one_gcov): Ditto.
567 (gcov_info_count_all_cold): Ditto.
568 (gcov_info_count_all_zero): Ditto.
569 (extract_file_basename): Ditto.
570 (get_file_basename): Ditto.
571 (set_flag): Ditto.
572 (matched_gcov_info): Ditto.
573 (calculate_overlap): Ditto.
574 (gcov_profile_overlap): Ditto.
575 * libgcov-driver.c (compute_summary): Make
576 it avavilable for external calls.
577
8a8f3988 5782014-10-06 Rong Xu <xur@google.com>
579
580 * Makefile.in: Ditto.
581 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
582 (gcov_sort_icall_topn_counter): Ditto.
583 (gcov_sort_topn_counter_arrays): Ditto.
584 (dump_one_gcov): Sort indirect_call topn counters.
585 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
586 function.
587 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
588 utility function.
589 (__gcov_indirect_call_topn_profiler): New profiler function.
590 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
591 * libgcov.h: New decls.
592
f230ef81 5932014-10-04 Trevor Saunders <tsaunders@mozilla.com>
594
595 * config.host: Remove support for score-*.
596
0cb69d12 5972014-09-22 Joseph Myers <joseph@codesourcery.com>
598
599 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
600 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
601 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
602 __LIBGCC_XF_MANT_DIG__.
603 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
604 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
605 __LIBGCC_TF_MANT_DIG__.
606 * libgcc2.c (NOTRUNC): Define in terms of
607 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
608 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
609
acbb28e9 6102014-09-22 Joseph Myers <joseph@codesourcery.com>
611
612 PR target/63312
613 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
614 New macros.
615
d0eb4a95 6162014-09-22 Hans-Peter Nilsson <hp@axis.com>
617
618 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
619 override USE_PT_GNU_EH_FRAME.
620 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
621 check USE_EH_FRAME_REGISTRY_ALWAYS against
622 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
623 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
624 variable for substituted force_explicit_eh_registry.
625 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
626 * configure.ac (explicit-exception-frame-registration):
627 New AC_ARG_ENABLE.
628 * configure: Regenerate.
629
6c352a95 6302014-09-19 Olivier Hainque <hainque@adacore.com>
631
632 * config.host (powerpc-wrs-vxworksmils): New configuration,
633 same as vxworksae.
634
168dfbf0 6352014-09-18 Joseph Myers <joseph@codesourcery.com>
636
637 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
638
ca6c7c2e 6392014-09-18 Joseph Myers <joseph@codesourcery.com>
640
641 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
642 bits not set bits as indicating trapping exceptions.
643
bc587267 6442014-09-17 Nathan sidwell <nathan@acm.org>
645
646 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
647 (LIBGCOV_DRIVER): ... here.
648 * libgcov-driver.c (gcov_master): New.
649 (gcov_exit): Remove from master chain.
650 (__gcov_init): Add to master chain if version compatible. Don't
651 clear the version.
652 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
653 (gcov_reset_int): Clear master chain, if compatible.
654 (gcov_dump_int): New internal interface. Dump master chain, if
655 compatible.
656 (gcov_dump): Alias for gcov_dump_int.
657 * libgcov.h (struct gcov_root): Add next and prev fields.
658 (struct gcov_master): New struct.
659 (__gcov_master): New.
660 (gcov_dump_int): Declare.
661
0624d0c7 6622014-09-17 Olivier Hainque <hainque@adacore.com>
663
664 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
665 and crtbegin.o + crtend.o to extra_parts.
666
d5957f0d 6672014-09-12 Joseph Myers <joseph@codesourcery.com>
668
669 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
670 __LIBGCC_HAS_SF_MODE__.
671 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
672 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
673 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
674 * config/libbid/bid_gcc_intrinsics.h
675 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
676 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
677 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
678 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
679 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
680 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
681
986b9a67 6822014-09-11 Georg-Johann Lay <avr@gjlay.de>
683
684 PR target/63223
685 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
686 and R24 as needed. Make work for all devices and .text locations.
687 (__do_global_ctors, __do_global_dtors): Use word addresses.
688 (__tablejump__, __tablejump_elpm__): Remove functions.
689 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
690 Add _tablejump2.
691 (XICALL, XIJMP): New macros.
692
8f908dc5 6932014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
694 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
695
696 * config.host (aarch64*): Include crtfastmath.o and
697 t-crtfm.
698 * config/aarch64/crtfastmath.c: New file.
699
f67c2dde 7002014-09-08 Trevor Saunders <tsaunders@mozilla.com>
701
702 * config.host: Remove picochip support.
703 * config/picochip/adddi3.S: Remove.
704 * config/picochip/ashlsi3.S: Remove.
705 * config/picochip/ashlsi3.c: Remove.
706 * config/picochip/ashrsi3.S: Remove.
707 * config/picochip/ashrsi3.c: Remove.
708 * config/picochip/clzsi2.S: Remove.
709 * config/picochip/cmpsi2.S: Remove.
710 * config/picochip/divmod15.S: Remove.
711 * config/picochip/divmodhi4.S: Remove.
712 * config/picochip/divmodsi4.S: Remove.
713 * config/picochip/lib1funcs.S: Remove.
714 * config/picochip/longjmp.S: Remove.
715 * config/picochip/lshrsi3.S: Remove.
716 * config/picochip/lshrsi3.c: Remove.
717 * config/picochip/parityhi2.S: Remove.
718 * config/picochip/popcounthi2.S: Remove.
719 * config/picochip/setjmp.S: Remove.
720 * config/picochip/subdi3.S: Remove.
721 * config/picochip/t-picochip: Remove.
722 * config/picochip/ucmpsi2.S: Remove.
723 * config/picochip/udivmodhi4.S: Remove.
724 * config/picochip/udivmodsi4.S: Remove.
725
b660d3c6 7262014-09-08 Joseph Myers <joseph@codesourcery.com>
727
728 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
729 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
730 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
731 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
732 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
733 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
734 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
735 defined and LIBGCC2_HAS_DF_MODE is defined.
736 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
737 defined and LIBGCC2_HAS_XF_MODE is defined.
738 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
739 defined and LIBGCC2_HAS_TF_MODE is defined.
740
2aeea855 7412014-09-08 Joseph Myers <joseph@codesourcery.com>
742
743 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
744 and ROUND_TOWARDS_ZERO conditionals.
745
a91625a6 7462014-09-07 Nathan sidwell <nathan@acm.org>
747
748 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
749 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
750
325b8c3c 7512014-09-05 Joseph Myers <joseph@codesourcery.com>
752
753 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
754 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
755 uses to __LIBGCC_STACK_POINTER_REGNUM__.
756 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
757 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
758 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
759 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
760 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
761 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
762 (DWARF_FRAME_REGISTERS): Change all uses to
763 __LIBGCC_DWARF_FRAME_REGISTERS__.
764 (EH_RETURN_STACKADJ_RTX): Change all uses to
765 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
766 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
767 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
768 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
769 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
770 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
771 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
772 to __LIBGCC_EH_FRAME_SECTION_NAME__.
773 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
774 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
775 __LIBGCC_STACK_POINTER_REGNUM__.
776 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
777 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
778 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
779 to __LIBGCC_STACK_POINTER_REGNUM__.
780 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
781 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
782 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
783 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
784 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
785 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
786 (STACK_POINTER_REGNUM): Change all uses to
787 __LIBGCC_STACK_POINTER_REGNUM__.
788 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
789 use to __LIBGCC_STACK_POINTER_REGNUM__.
790 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
791 uses to __LIBGCC_STACK_POINTER_REGNUM__.
792 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
793 to __LIBGCC_DWARF_FRAME_REGISTERS__.
794 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
795 to __LIBGCC_DWARF_FRAME_REGISTERS__.
796 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
797 to __LIBGCC_STACK_POINTER_REGNUM__.
798 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
799 Remove conditional definition.
800 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
801 __LIBGCC_TEXT_SECTION_ASM_OP__.
802 (EH_FRAME_SECTION_NAME): Change all uses to
803 __LIBGCC_EH_FRAME_SECTION_NAME__.
804 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
805 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
806 (CTORS_SECTION_ASM_OP): Change all uses to
807 __LIBGCC_CTORS_SECTION_ASM_OP__.
808 (DTORS_SECTION_ASM_OP): Change all uses to
809 __LIBGCC_DTORS_SECTION_ASM_OP__.
810 (JCR_SECTION_NAME): Change all uses to
811 __LIBGCC_JCR_SECTION_NAME__.
812 (INIT_SECTION_ASM_OP): Change all uses to
813 __LIBGCC_INIT_SECTION_ASM_OP__.
814 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
815 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
816 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
817 __LIBGCC_STACK_GROWS_DOWNWARD__.
818 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
819 __LIBGCC_INIT_SECTION_ASM_OP__.
820 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
821 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
822 (EH_FRAME_SECTION_NAME): Change all uses to
823 __LIBGCC_EH_FRAME_SECTION_NAME__.
824 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
825 definitions. Change all uses to
826 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
827 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
828 __LIBGCC_STACK_GROWS_DOWNWARD__.
829 (DWARF_FRAME_REGISTERS): Change all uses to
830 __LIBGCC_DWARF_FRAME_REGISTERS__.
831 (EH_RETURN_STACKADJ_RTX): Change all uses to
832 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
833 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
834 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
835 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
836 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
837 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
838
b12d2330 8392014-09-02 Nathan sidwell <nathan@acm.org>
840
841 * libgcov-interface.c (STRONG_ALIAS): New.
842 (__gcov_flush): Call __gcov_reset_int.
843 (__gcov_reset): Strong alias for ...
844 (__gcov_reset_ing): ... this renamed hidden version.
845 * libgcov.h (__gcov_reset_int): New declaration.
846
827d5daf 8472014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
848
1db4f54b 849 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
850 call from here...
851 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
852 (__dso_handle): Define on Cygwin.
853 * config/i386/t-cygming (crtbeginS.o): New rule.
854 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
855
827d5daf 856 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
857 declaration syntax.
858
e3108d46 8592014-08-13 Steve Ellcey <sellcey@mips.com>
860
861 * crtstuff.c: Undef caddr_t.
862
0898fffa 8632014-08-12 Steve Ellcey <sellcey@mips.com>
864
865 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
866
859fa1a9 8672014-08-07 Nathan Sidwell <nathan@acm.org>
868
869 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
870 (LIBGCOV_DRIVER): ... to here.
871 * libgcov.h (gcov_do_dump): New #define.
872 (struct gcov_root): New.
873 (__gcov_root): New declaration.
874 (__gcov_dump_one): Declare.
875 * libgcov-driver.c (gcov_list, gcov_dump_complete,
876 run_accounted): Delete.
877 (gcov_compute_histogram): Add LIST argument, adjust.
878 (compute_summary): Adjust gcov_compute_histogram call.
879 (gcov_do_dump): Not hidden, static in libgcov.
880 (gcov_clear): Move to interface.c.
881 (__gcov_dump_one): New, broken out of ...
882 (gcov_exit): ... here. Make static.
883 (__gcov_root): New.
884 (__gcov_init): Adjust.
885 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
886 declarations.
887 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
888 (gcov_clear): Moved from driver.c. Add LIST argument.
889 (__gcov_reset): Adjust for changed interfaces.
890 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
891
3fa2798a 8922014-08-04 Rohit <rohitarulraj@freescale.com>
893
894 PR target/60102
895 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
6d88799a 896 based on change in SPE high register numbers and 3 HTM registers.
3fa2798a 897
cb3ea3de 8982014-08-01 Nathan Sidwell <nathan@acm.org>
899
900 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
901 LIBGCOV_INTERFACE): Reformat.
902 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
903 IN_GCOV_TOOL.
904 * libgcov-interface.c: Reformat some comments.
905 (__gcov_flush_mx): Add declaration. Tidy up definition.
906
bfd88f52 9072014-07-31 Alan Modra <amodra@gmail.com>
908 Peter Bergner <bergner@vnet.ibm.com>
909
910 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
911 (pack_ldouble): New function.
912 (__gcc_qadd): Use it.
913 (__gcc_qmul): Likewise.
914 (__gcc_qdiv): Likewise.
915 (__gcc_qneg): Likewise.
916 (__gcc_stoq): Likewise.
917 (__gcc_dtoq): Likewise.
918
bcd3133e 9192014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
920
921 * config/s390/tpf-unwind.h: Include <stdbool.h>.
922 (__tpf_eh_return): Add original return address as second parameter.
923 Handle cases where unwinder routines were called directly, instead
924 of from within the C++ library.
925
1186f97a 9262014-07-29 Nathan Sidwell <nathan@acm.org>
927
928 * libgcov.h: Move renaming of entry points to lib gcov specific
929 portion.
930 (gcov_do_dump): New rename.
931 (gcov_rewrite): Remove inline, make HIDDEN.
932 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
933 (gcov_exit_compute_summary): Rename to ...
934 (compute_summary): ... here. Add LIST argument.
935 (gcov_exit_merge_gcda): Rename to ...
936 (merge_one_data): ... here.
937 (gcov_exit_write_gcda): Rename to ...
938 (write_one_data): ... here.
939 (gcov_exit_merge_summary): Rename to ...
940 (merge_summary): Add RUN_COUNTED argument.
941 (gcov_exit_dump_gcov): Rename to ...
942 (dump_one_gcov): Add RUN_COUNTED argument.
943 (gcov_do_dump): New function, broken out of ...
944 (gcov_exit): ... here. Call it.
945
ab0c4d2e 9462014-07-27 Anthony Green <green@moxielogic.com>
947
948 * config.host: Add moxiebox configuration suppport.
949
6401b74d 9502014-07-27 Nathan Sidwell <nathan@acm.org>
951
952 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
953 (struct gcov_filename): ... here. Include buffer and max length
954 fields.
955 (gcov_max_filename): Remove.
956 (gi_filename): Remove.
957 (gcov_exit_compute_summary): Compute max filename here.
958 (gcov_exit_merge_gcda): Add filename parm, adjust.
959 (gcov_exit_merge_summary): Likewise.
960 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
961 (gcov_exit): Likewise.
962 (__gcov_init): Don't calculate max length here.
963 * libgcov_util.c (max_filename_len): Remove.
964 (read_gcda_file): Don't calculate max length here.
965 (gcov_read_profile_dir): Don't propagate here.
966 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
967 struct gcov_filename changes.
968 (gcov_exit_open_gcda_file): Likewise.
969
0f768e5f 9702014-07-25 Nathan Sidwell <nathan@acm.org>
971
972 * libgcov-driver.c (set_gcov_dump_complete,
973 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
974 functions polluting user's namespace.
975 (gcov_exit): Set variable directly.
976 (gcov_clear): Reset variable directly.
977 * libgcov-interface.c (get_gcov_dymp_complete,
978 reset_gov_dump_complete): Remove declarations.
979 (__gcov_reset, __gcov_dump): Don't call them.
980
2b333d82 9812014-07-24 DJ Delorie <dj@redhat.com>
982
983 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
0f768e5f 984 (__gcc_deregister_frame): Move logic to detect deregister function
985 to ...
986 (__gcc_register_frame): here, so it's consistent with the register
987 logic.
2b333d82 988
145d88ea 9892014-07-23 Nathan Sidwell <nathan@acm.org>
990
991 * libgcov-driver.c (set_gcov_list): Remove.
992 (gcov_list): Make non-static in GCOV_TOOL.
993 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
994
307c2567 9952014-07-17 John David Anglin <danglin@gcc.gnu.org>
996
997 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
998 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
999 Don't use SYNC_LOCK_RELEASE for int type.
1000
3dc22a01 10012014-07-14 Richard Biener <rguenther@suse.de>
1002
1003 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
1004
a60d8a99 10052014-07-11 Rong Xu <xur@google.com>
1006
1007 * libgcov-util.c (gcov_max_filename): Fix declartion.
1008
e76f6040 10092014-07-10 Rong Xu <xur@google.com>
1010
1011 Add gcov-tool: an offline gcda profile processing tool
1012 Support.
1013 * libgcov-driver.c (gcov_max_filename): Make available
1014 to gcov-tool.
1015 * libgcov-merge.c (__gcov_merge_add): Replace
1016 gcov_read_counter() with a Macro.
1017 (__gcov_merge_ior): Ditto.
1018 (__gcov_merge_time_profile): Ditto.
1019 (__gcov_merge_single): Ditto.
1020 (__gcov_merge_delta): Ditto.
1021 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
1022 in the utility functions.
1023 (set_fn_ctrs): Utility function for reading gcda files to in-memory
1024 gcov_list object link lists.
1025 (tag_function): Ditto.
1026 (tag_blocks): Ditto.
1027 (tag_arcs): Ditto.
1028 (tag_lines): Ditto.
1029 (tag_counters): Ditto.
1030 (tag_summary): Ditto.
1031 (read_gcda_finalize): Ditto.
1032 (read_gcda_file): Ditto.
1033 (ftw_read_file): Ditto.
1034 (read_profile_dir_init): Ditto.
1035 (gcov_read_profile_dir): Ditto.
1036 (gcov_read_counter_mem): Ditto.
1037 (gcov_get_merge_weight): Ditto.
1038 (merge_wrapper): A wrapper function that calls merging handler.
1039 (gcov_merge): Merge two gcov_info objects with weights.
1040 (find_match_gcov_info): Find the matched gcov_info in the list.
1041 (gcov_profile_merge): Merge two gcov_info object lists.
1042 (__gcov_add_counter_op): Process edge profile counter values.
1043 (__gcov_ior_counter_op): Process IOR profile counter values.
1044 (__gcov_delta_counter_op): Process delta profile counter values.
1045 (__gcov_single_counter_op): Process single profile counter values.
1046 (fp_scale): Callback function for float-point scaling.
005a5ef5 1047 (int_scale): Callback function for integer fraction scaling.
e76f6040 1048 (gcov_profile_scale): Scaling profile counters.
1049 (gcov_profile_normalize): Normalize profile counters.
1050 * libgcov.h: Add headers and functions for gcov-tool use.
1051 (gcov_get_counter): New.
1052 (gcov_get_counter_target): Ditto.
1053 (struct gcov_info): Make the functions field mutable in gcov-tool
1054 compilation.
1055
761d3cae 10562014-06-23 Kai Tietz <ktietz@redhat.com>
1057
1058 PR libgcc/61585
1059 * unwind-seh.c (_Unwind_GetGR): Check for proper
1060 index range.
1061 (_Unwind_SetGR): Likewise.
1062
b4187486 10632014-05-22 Nick Clifton <nickc@redhat.com>
1064
1065 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
1066 -mhwmult=none.
1067
f1919901 10682014-05-22 Teresa Johnson <tejohnson@google.com>
1069
1070 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
1071 include.
1072
463553db 10732014-05-20 John Marino <gnugcc@marino.st>
1074
1075 * config.host (*-*-dragonfly*): New target.
1076 * crtstuff.c: Make dl_iterate_support generic on *bsd.
1077 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
1078 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
1079 * config/i386/dragonfly-unwind.h: New.
1080
17611fd9 10812014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1082
1083 PR libgcc/60166
1084 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
1085 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
1086
b061dab2 10872014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
1088
1089 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
1090 implementation.
1091
b81ef88d 10922014-05-12 Georg-Johann Lay <avr@gjlay.de>
1093
1094 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
1095
d71975a6 10962014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1097
1098 PR libgcc/61097
1099 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
1100 if --enable-shared.
1101
d3c4b980 11022014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
1103
1104 Work around for current cygwin32 build problems.
1105 * config/i386/cygming-crtbegin.c (__register_frame_info,
1106 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
1107 functions only for 64-bit systems.
1108
1f912f03 11092014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1110
1111 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
1112 (sigill_caught, sigill_hdlr): Remove.
1113
3efb5d22 11142014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1115
1116 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1117 check.
1118 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1119 Solaris 9 single-threaded support.
1120 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1121 Solaris 9 single-threaded support. Add call_user_handler code
1122 sequences.
1123 (sparc_is_sighandler): Likewise.
1124
368b5b2c 11252014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1126
1127 * config.host: Append t-floattodi to tmake_file depending on
1128 host_address.
1129
0cdefccf 11302014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
1131
c7285b71 1132 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
0cdefccf 1133
e5d692d7 11342014-03-10 Uros Bizjak <ubizjak@gmail.com>
1135
1136 PR libgcc/60472
1137 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
06f29f53 1138 variable to avoid "array subscript is above array bounds" warnings.
e5d692d7 1139 Use __builtin_expect when checking *jcr_list for NULL.
1140
ec5f5503 11412014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1142
1143 PR libgcc/59339
1144 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1145 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1146 vtv_*.o to extra_parts if enable_vtable_verify.
1147
6dd4126d 11482014-03-06 Nick Clifton <nickc@redhat.com>
1149
1150 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1151 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1152
c63fabc4 11532014-02-28 Joey Ye <joey.ye@arm.com>
1154
1155 PR libgcc/60166
1156 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1157 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1158 Set to zero.
1159
2da35515 11602014-02-24 Walter Lee <walt@tilera.com>
1161
1162 * config.host: Support "tilegx*" and "tilepro*" triplets.
1163 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1164 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1165
73e15dfc 11662014-02-20 Sandra Loosemore <sandra@codesourcery.com>
1167 Chung-Lin Tang <cltang@codesourcery.com>
1168
1169 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1170 * config/nios2/crti.S: Remove .file directive.
1171 * config/nios2/crtn.S: Likewise.
1172
db5ce3d9 11732014-02-18 Kai Tietz <ktietz@redhat.com>
1174 Jonathan Schleifer <js@webkeks.org>
1175
1176 PR objc/56870
1177 * unwind-seh.c (_GCC_specific_handler): Pass proper
1178 value to unwind-handler.
1179
8f687340 11802014-02-12 Joseph Myers <joseph@codesourcery.com>
1181
1182 * soft-fp/adddf3.c: Update from glibc.
1183 * soft-fp/addsf3.c: Likewise.
1184 * soft-fp/addtf3.c: Likewise.
1185 * soft-fp/divdf3.c: Likewise.
1186 * soft-fp/divsf3.c: Likewise.
1187 * soft-fp/divtf3.c: Likewise.
1188 * soft-fp/double.h: Likewise.
1189 * soft-fp/eqdf2.c: Likewise.
1190 * soft-fp/eqsf2.c: Likewise.
1191 * soft-fp/eqtf2.c: Likewise.
1192 * soft-fp/extenddftf2.c: Likewise.
1193 * soft-fp/extended.h: Likewise.
1194 * soft-fp/extendsfdf2.c: Likewise.
1195 * soft-fp/extendsftf2.c: Likewise.
1196 * soft-fp/extendxftf2.c: Likewise.
1197 * soft-fp/fixdfdi.c: Likewise.
1198 * soft-fp/fixdfsi.c: Likewise.
1199 * soft-fp/fixdfti.c: Likewise.
1200 * soft-fp/fixsfdi.c: Likewise.
1201 * soft-fp/fixsfsi.c: Likewise.
1202 * soft-fp/fixsfti.c: Likewise.
1203 * soft-fp/fixtfdi.c: Likewise.
1204 * soft-fp/fixtfsi.c: Likewise.
1205 * soft-fp/fixtfti.c: Likewise.
1206 * soft-fp/fixunsdfdi.c: Likewise.
1207 * soft-fp/fixunsdfsi.c: Likewise.
1208 * soft-fp/fixunsdfti.c: Likewise.
1209 * soft-fp/fixunssfdi.c: Likewise.
1210 * soft-fp/fixunssfsi.c: Likewise.
1211 * soft-fp/fixunssfti.c: Likewise.
1212 * soft-fp/fixunstfdi.c: Likewise.
1213 * soft-fp/fixunstfsi.c: Likewise.
1214 * soft-fp/fixunstfti.c: Likewise.
1215 * soft-fp/floatdidf.c: Likewise.
1216 * soft-fp/floatdisf.c: Likewise.
1217 * soft-fp/floatditf.c: Likewise.
1218 * soft-fp/floatsidf.c: Likewise.
1219 * soft-fp/floatsisf.c: Likewise.
1220 * soft-fp/floatsitf.c: Likewise.
1221 * soft-fp/floattidf.c: Likewise.
1222 * soft-fp/floattisf.c: Likewise.
1223 * soft-fp/floattitf.c: Likewise.
1224 * soft-fp/floatundidf.c: Likewise.
1225 * soft-fp/floatundisf.c: Likewise.
1226 * soft-fp/floatunditf.c: Likewise.
1227 * soft-fp/floatunsidf.c: Likewise.
1228 * soft-fp/floatunsisf.c: Likewise.
1229 * soft-fp/floatunsitf.c: Likewise.
1230 * soft-fp/floatuntidf.c: Likewise.
1231 * soft-fp/floatuntisf.c: Likewise.
1232 * soft-fp/floatuntitf.c: Likewise.
1233 * soft-fp/gedf2.c: Likewise.
1234 * soft-fp/gesf2.c: Likewise.
1235 * soft-fp/getf2.c: Likewise.
1236 * soft-fp/ledf2.c: Likewise.
1237 * soft-fp/lesf2.c: Likewise.
1238 * soft-fp/letf2.c: Likewise.
1239 * soft-fp/muldf3.c: Likewise.
1240 * soft-fp/mulsf3.c: Likewise.
1241 * soft-fp/multf3.c: Likewise.
1242 * soft-fp/negdf2.c: Likewise.
1243 * soft-fp/negsf2.c: Likewise.
1244 * soft-fp/negtf2.c: Likewise.
1245 * soft-fp/op-1.h: Likewise.
1246 * soft-fp/op-2.h: Likewise.
1247 * soft-fp/op-4.h: Likewise.
1248 * soft-fp/op-8.h: Likewise.
1249 * soft-fp/op-common.h: Likewise.
1250 * soft-fp/quad.h: Likewise.
1251 * soft-fp/single.h: Likewise.
1252 * soft-fp/soft-fp.h: Likewise.
1253 * soft-fp/subdf3.c: Likewise.
1254 * soft-fp/subsf3.c: Likewise.
1255 * soft-fp/subtf3.c: Likewise.
1256 * soft-fp/truncdfsf2.c: Likewise.
1257 * soft-fp/trunctfdf2.c: Likewise.
1258 * soft-fp/trunctfsf2.c: Likewise.
1259 * soft-fp/trunctfxf2.c: Likewise.
1260 * soft-fp/unorddf2.c: Likewise.
1261 * soft-fp/unordsf2.c: Likewise.
1262 * soft-fp/unordtf2.c: Likewise.
1263 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1264 macro.
1265 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1266 Likewise.
1267 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1268 Likewise.
1269 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1270 Likewise.
1271 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1272 Likewise.
1273 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1274 Likewise.
1275 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1276 Likewise.
1277 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1278 Likewise.
1279 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1280 Likewise.
1281 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1282 Likewise.
1283 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1284 Likewise.
1285 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1286 Likewise.
1287 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1288 Likewise.
1289 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1290 Likewise.
1291 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1292 Likewise.
1293 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1294 Likewise.
1295
fc1cd012 12962014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1297
1298 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1299 cannot be represented.
1300 * config/s390/32/_fixsfdi.c: Likewise.
1301 * config/s390/32/_fixtfdi.c: Likewise.
1302 * config/s390/32/_fixunsdfdi.c: Likewise.
1303 * config/s390/32/_fixunssfdi.c: Likewise.
1304 * config/s390/32/_fixunstfdi.c: Likewise.
1305
4b366ca9 13062014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
1307
1308 * configure.ac (libgcc_cv_mips_hard_float): New.
1309 * configure: Regenerate.
1310 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1311 t-softfp-sfdf for hard-float targets.
1312 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1313 (softfp_float_modes, softfp_int_modes, softfp_extensions)
1314 (softfp_truncations, softfp_exclude_libgcc2): New.
1315 * config/t-hardfp: New file.
1316 * config/t-hardfp-sfdf: Likewise.
1317 * config/hardfp.c: Likewise.
1318
896dc54c 13192014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1320
1321 * config.host: Include t-floattodi also for s390x.
1322 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1323 * config/s390/32/_fixsfdi.c: Likewise.
1324 * config/s390/32/_fixtfdi.c: Likewise.
1325 * config/s390/32/_fixunsdfdi.c: Likewise.
1326 * config/s390/32/_fixunssfdi.c: Likewise.
1327 * config/s390/32/_fixunstfdi.c: Likewise.
1328
48118d02 13292014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1330
1331 PR target/59788
1332 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1333 (install-libgcc-unwind-map-forbuild): New target.
1334 (all): Depend on install-libgcc-unwind-map-forbuild.
1335 (install-libgcc-unwind-map): New target.
1336 (install): Depend on install-libgcc-unwind-map.
1337
1fa97c89 13382014-02-02 Sandra Loosemore <sandra@codesourcery.com>
1339
1340 * config/nios2/crti.S (_init): Initialize GOT pointer from
1341 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1342
9bcbf352 13432014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
1344
1345 * configure.ac: Check __mips64 when setting host_address.
1346 * configure: Regenerate.
1347 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1348 mips/t-mips64 and t-softfp.
1349 (mips*-*-linux*): Don't add mips/t-tpbit.
1350 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1351 (DPBIT, DPBIT_CFLAGS): Delete.
1352 * config/mips/sfp-machine.h: New file.
1353 * config/mips/t-mips64: Likewise.
1354 * config/mips/t-softfp-tf: Likewise.
1355 * config/mips/t-tpbit: Delete.
1356
81b83e46 13572014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
1358
1359 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1360 as long long.
1361
41766a5f 13622014-01-25 Walter Lee <walt@tilera.com>
1363
1364 * config/tilepro/atomic.c: Include tconfig.h. Don't include
1365 config.h or system.h.
1366 (bool) Define.
1367
c8d04645 13682014-01-25 Walter Lee <walt@tilera.com>
1369
1370 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1371 (post_atomic_barrier): Ditto.
1372 (__fetch_and_do): New macro.
1373 (__atomic_fetch_and_do): Use __fetch_and_do.
1374 (__sync_fetch_and_do): New macro.
1375 (__sync_fetch_and_add_4): New function.
1376 (__sync_fetch_and_sub_4): New function.
1377 (__sync_fetch_and_or_4): New function.
1378 (__sync_fetch_and_and_4): New function.
1379 (__sync_fetch_and_xor_4): New function.
1380 (__sync_fetch_and_nand_4): New function.
1381 (__sync_fetch_and_add_8): New function.
1382 (__sync_fetch_and_sub_8): New function.
1383 (__sync_fetch_and_or_8): New function.
1384 (__sync_fetch_and_and_8): New function.
1385 (__sync_fetch_and_xor_8): New function.
1386 (__sync_fetch_and_nand_8): New function.
1387 (__do_and_fetch): New macro.
1388 (__atomic_do_and_fetch): Use __do_and_fetch.
1389 (__sync_do_and_fetch): New macro.
1390 (__sync_add_and_fetch_4): New function.
1391 (__sync_sub_and_fetch_4): New function.
1392 (__sync_or_and_fetch_4): New function.
1393 (__sync_and_and_fetch_4): New function.
1394 (__sync_xor_and_fetch_4): New function.
1395 (__sync_nand_and_fetch_4): New function.
1396 (__sync_add_and_fetch_8): New function.
1397 (__sync_sub_and_fetch_8): New function.
1398 (__sync_or_and_fetch_8): New function.
1399 (__sync_and_and_fetch_8): New function.
1400 (__sync_xor_and_fetch_8): New function.
1401 (__sync_nand_and_fetch_8): New function.
1402 (__sync_exchange_methods): New macro.
1403 (__sync_val_compare_and_swap_4): New function.
1404 (__sync_bool_compare_and_swap_4): New function.
1405 (__sync_lock_test_and_test_4): New function.
1406 (__sync_val_compare_and_swap_8): New function.
1407 (__sync_bool_compare_and_swap_8): New function.
1408 (__sync_lock_test_and_test_8): New function.
1409 (__subword_cmpxchg_body): New macro.
1410 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1411 (__atomic_compare_exchange_2): Ditto.
1412 (__sync_subword_cmpxchg): New macro.
1413 (__sync_val_compare_and_swap_1): New function.
1414 (__sync_bool_compare_and_swap_1): New function.
1415 (__sync_val_compare_and_swap_2): New function.
1416 (__sync_bool_compare_and_swap_2): New function.
1417 (__atomic_subword): Rename to ...
1418 (__subword): ... New name.
1419 (__atomic_subword_fetch): Use __subword.
1420 (__sync_subword_fetch): New macro.
1421 (__sync_fetch_and_add_1): New function.
1422 (__sync_fetch_and_sub_1): New function.
1423 (__sync_fetch_and_or_1): New function.
1424 (__sync_fetch_and_and_1): New function.
1425 (__sync_fetch_and_xor_1): New function.
1426 (__sync_fetch_and_nand_1): New function.
1427 (__sync_fetch_and_add_2): New function.
1428 (__sync_fetch_and_sub_2): New function.
1429 (__sync_fetch_and_or_2): New function.
1430 (__sync_fetch_and_and_2): New function.
1431 (__sync_fetch_and_xor_2): New function.
1432 (__sync_fetch_and_nand_2): New function.
1433 (__sync_add_and_fetch_1): New function.
1434 (__sync_sub_and_fetch_1): New function.
1435 (__sync_or_and_fetch_1): New function.
1436 (__sync_and_and_fetch_1): New function.
1437 (__sync_xor_and_fetch_1): New function.
1438 (__sync_nand_and_fetch_1): New function.
1439 (__sync_add_and_fetch_2): New function.
1440 (__sync_sub_and_fetch_2): New function.
1441 (__sync_or_and_fetch_2): New function.
1442 (__sync_and_and_fetch_2): New function.
1443 (__sync_xor_and_fetch_2): New function.
1444 (__sync_nand_and_fetch_2): New function.
1445 (__atomic_subword_lock): Use __subword.
1446 (__sync_subword_lock): New macro.
1447 (__sync_lock_test_and_set_1): New function.
1448 (__sync_lock_test_and_set_2): New function.
1449
47bfa8ec 14502014-01-25 Walter Lee <walt@tilera.com>
1451
1452 * config/tilepro/atomic.c (BIT_OFFSET): Define.
1453 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1454 (__atomic_subword): Ditto.
1455
fcb4fe71 14562014-01-25 Walter Lee <walt@tilera.com>
1457
1458 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1459 a prefix op argument.
1460 (__atomic_nand_fetch_4): Add prefix op.
1461 (__atomic_nand_fetch_8): Ditto.
1462
61364c59 14632014-01-21 Baruch Siach <barch@tkos.co.il>
382e1a72 1464
1465 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1466
9c50d275 14672014-01-09 Rong Xu <xur@google.com>
1468
1469 * libgcov-driver.c (this_prg): make it local to save
1470 bss space.
1471 (gcov_exit_compute_summary): Ditto.
1472 (gcov_exit_merge_gcda): Ditto.
1473 (gcov_exit_merge_summary): Ditto.
1474 (gcov_exit_dump_gcov): Ditto.
1475
005a5ef5 14762014-01-08 Rong Xu <xur@google.com>
67745126 1477
1478 * libgcov-driver.c: Use libgcov.h.
1479 (buffer_fn_data): Use xmalloc instead of malloc.
1480 (gcov_exit_merge_gcda): Ditto.
1481 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1482 * libgcov.h: New common header files for libgcov-*.h.
1483 * libgcov-interface.c: Use libgcov.h
1484 * libgcov-merge.c: Ditto.
1485 * libgcov-profiler.c: Ditto.
1486 * Makefile.in: Add dependence to libgcov.h
1487
acf40e7e 14882014-01-02 Joseph Myers <joseph@codesourcery.com>
1489
1490 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1491 case of small numerator and finite nonzero result.
1492
f9fb6ba0 14932014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1494
1495 Update copyright years
1496
e4f22041 14972014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1498
1499 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1500 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1501 config/arc/dp-hack.h, config/arc/fp-hack.h,
1502 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1503 config/arc/ieee-754/arc600-dsp/divdf3.S,
1504 config/arc/ieee-754/arc600-dsp/divsf3.S,
1505 config/arc/ieee-754/arc600-dsp/muldf3.S,
1506 config/arc/ieee-754/arc600-dsp/mulsf3.S,
1507 config/arc/ieee-754/arc600-mul64/divdf3.S,
1508 config/arc/ieee-754/arc600-mul64/divsf3.S,
1509 config/arc/ieee-754/arc600-mul64/muldf3.S,
1510 config/arc/ieee-754/arc600-mul64/mulsf3.S,
1511 config/arc/ieee-754/arc600/divsf3.S,
1512 config/arc/ieee-754/arc600/mulsf3.S,
1513 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1514 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1515 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1516 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1517 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1518 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1519 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1520 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1521 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1522 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1523 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1524 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1525 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1526 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1527 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1528 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
1529 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
1530 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
1531 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
1532 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
1533 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
1534 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
1535 vtv_start_preinit.c: Use the standard form for the copyright notice.
1536
de65406d 15372013-12-31 Sandra Loosemore <sandra@codesourcery.com>
1538 Chung-Lin Tang <cltang@codesourcery.com>
1539 Based on patches from Altera Corporation
1540
1541 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
1542 * config/nios2/lib2-nios2.h: New file.
1543 * config/nios2/lib2-divmod-hi.c: New file.
1544 * config/nios2/linux-unwind.h: New file.
1545 * config/nios2/lib2-divmod.c: New file.
1546 * config/nios2/linux-atomic.c: New file.
1547 * config/nios2/t-nios2: New file.
1548 * config/nios2/crti.asm: New file.
1549 * config/nios2/t-linux: New file.
1550 * config/nios2/lib2-divtable.c: New file.
1551 * config/nios2/lib2-mul.c: New file.
1552 * config/nios2/tramp.c: New file.
1553 * config/nios2/crtn.asm: New file.
1554
a0f1278f 15552013-12-26 Uros Bizjak <ubizjak@gmail.com>
1556
1557 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
1558 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
1559 from cpuid.h to check vendor signatures.
1560
0337c8ef 15612013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
1562
e5d692d7 1563 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
0337c8ef 1564 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
1565 (get_amd_cpu): Likewise.
1566
03797e66 15672013-12-25 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
1570 Haswell.
1571
8a5280dc 15722013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1573 H.J. Lu <hongjiu.lu@intel.com>
1574
ed1bc9a4 1575 PR target/59422
1576 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
8a5280dc 1577 and AMD_JAGUAR.
1578 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
1579 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
1580 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
1581 FEATURE_XOP and FEATURE_FMA.
1582 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
1583 AMDFAM15H_BDVER3.
1584 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
ed1bc9a4 1585 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
8a5280dc 1586 FEATURE_FMA4 and FEATURE_XOP.
1587
ccc305ff 15882013-12-23 H.J. Lu <hongjiu.lu@intel.com>
1589
1590 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
1591 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
1592 (get_intel_cpu): Updated.
1593
4ef5912a 15942013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
1595
1596 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
1597
62f068c6 15982013-12-09 Uros Bizjak <ubizjak@gmail.com>
1599
1600 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2cc02024 1601 instructions when __SSE_MATH__ is defined.
62f068c6 1602
d742e92d 16032013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
1604
1605 * config.host (microblaze-*-rtems*): New.
1606
706d62f5 16072013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
1608
1609 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
1610 architectures that do not have hardware divide instruction.
1611 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
1612
81927967 16132013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
1614
1615 * longlong.h: Delete (moved to include/).
1616
085d03cc 16172013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1618
1619 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
1620 of normal number and qNaN to not raise an inexact exception.
1621
1f88bc79 16222013-11-28 Uros Bizjak <ubizjak@gmail.com>
1623
1624 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
1625
16262013-11-28 Matthew Leach <matthew.leach@arm.com>
de12de96 1627
1628 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
1629 for correct opcodes on BE.
1630
ea9697c4 16312013-11-27 Uros Bizjak <ubizjak@gmail.com>
1632
1633 * soft-fp/op-4.h: Update from glibc.
1634
b214253d 16352013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
1636
1637 * libgcc2.c (__udivmoddi4): Define new implementation when
1638 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
1639 divide instructions.
1640
334819e8 16412013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
1642
1643 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
1644
2b8d95bc 16452013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1646
1647 * config/t-softfp (soft-fp-objects-base): New variable.
1648 (soft-fp-objects): Use it.
1649
39da7440 16502013-11-23 David Edelson <dje.gcc@gmail.com>
1651 Andrew Dixie <andrewd@gentrack.com>
1652
1653 PR target/33704
1654 * config/rs6000/aixinitfini.c: New file.
1655 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
1656 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
1657 symbols.
1658
b848ffcd 16592013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
1660
ea9697c4 1661 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
b848ffcd 1662
f75db2a8 16632013-11-18 Jan Hubicka <jh@suse.cz>
1664
5dbddbd9 1665 * libgcov-driver.c (run_accounted): Make global level static.
1666 (gcov_exit_merge_summary): Silence warning; do not clear
1667 run_accounted here.
1668 (gcov_exit): Clear it here.
1669
7a45fd9b 1670 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
1671 run_accounted.
1672
f75db2a8 1673 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
1674 (all_prg, crc32): Remove static vars.
1675 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
1676 all_prg.
1677 (gcov_exit_merge_gcda): Add crc32 parameter.
1678 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
1679 do not account run if it was already accounted.
1680 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
1681 (gcov_exit): Initialize all_prg; update.
1682
822f2c1b 16832013-11-15 Andreas Schwab <schwab@linux-m68k.org>
1684
1685 * configure: Regenerate.
1686
238f342d 16872013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1688 Alan Modra <amodra@gmail.com>
1689
1690 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
1691 (frob_update_context): Use it.
1692
16932013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1694 Alan Modra <amodra@gmail.com>
1695
1696 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
1697 (trampoline_initial): Provide ELFv2 variant.
1698 (__trampoline_setup): Likewise.
1699
1700 * config/rs6000/linux-unwind.h (frob_update_context): Do not
1701 check for AIX indirect function call sequence if _CALL_ELF == 2.
1702
17032013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1704 Alan Modra <amodra@gmail.com>
1705
1706 * config/rs6000/linux-unwind.h (get_regs): Do not support
1707 old kernel versions if _CALL_ELF == 2.
1708 (frob_update_context): Do not support PLT stub variants only
1709 generated by old linkers if _CALL_ELF == 2.
1710
771a5362 17112013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1712 Alan Modra <amodra@gmail.com>
1713
1714 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
1715 location of CR save area for 64-bit little-endian systems.
1716
f4f176bd 17172013-11-11 Eric Botcazou <ebotcazou@adacore.com>
1718
1719 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
1720 in tmake_file.
1721 * config/arm/t-vxworks: Delete.
1722
024d645a 17232013-11-10 Kai Tietz <ktietz@redhat.com>
1724
1725 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
1726 Increment load-count on use of LIBGCC_SONAME DLL.
1727 (hmod_libgcc): New static variable to hold handle of
1728 LIBGCC_SONAME DLL.
1729 (__gcc_deregister_frame): Decrement load-count of
1730 LIBGCC_SONAME DLL.
1731
96ddb284 17322013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
1733
1734 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
1735 availability.
1736 * configure: Regenerate
1737
b4ad80db 17382013-11-07 Uros Bizjak <ubizjak@gmail.com>
1739
1740 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
1741 FP_EX_DENORM. Store result to volatile location after SSE division
1742 to close interrupt window. Remove unneeded fwait after x87
1743 division since interrupt window will be closed by emitted fstp.
dc1dacdf 1744 Rewrite FP_EX_INEXACT handling.
b4ad80db 1745
589468a6 17462013-11-06 Joseph Myers <joseph@codesourcery.com>
1747
1748 * soft-fp/README: Update.
1749 * soft-fp/adddf3.c: Update from glibc.
1750 * soft-fp/addsf3.c: Likewise.
1751 * soft-fp/addtf3.c: Likewise.
1752 * soft-fp/divdf3.c: Likewise.
1753 * soft-fp/divsf3.c: Likewise.
1754 * soft-fp/divtf3.c: Likewise.
1755 * soft-fp/double.h: Likewise.
1756 * soft-fp/eqdf2.c: Likewise.
1757 * soft-fp/eqsf2.c: Likewise.
1758 * soft-fp/eqtf2.c: Likewise.
1759 * soft-fp/extenddftf2.c: Likewise.
1760 * soft-fp/extended.h: Likewise.
1761 * soft-fp/extendsfdf2.c: Likewise.
1762 * soft-fp/extendsftf2.c: Likewise.
1763 * soft-fp/extendxftf2.c: Likewise.
1764 * soft-fp/fixdfdi.c: Likewise.
1765 * soft-fp/fixdfsi.c: Likewise.
1766 * soft-fp/fixdfti.c: Likewise.
1767 * soft-fp/fixsfdi.c: Likewise.
1768 * soft-fp/fixsfsi.c: Likewise.
1769 * soft-fp/fixsfti.c: Likewise.
1770 * soft-fp/fixtfdi.c: Likewise.
1771 * soft-fp/fixtfsi.c: Likewise.
1772 * soft-fp/fixtfti.c: Likewise.
1773 * soft-fp/fixunsdfdi.c: Likewise.
1774 * soft-fp/fixunsdfsi.c: Likewise.
1775 * soft-fp/fixunsdfti.c: Likewise.
1776 * soft-fp/fixunssfdi.c: Likewise.
1777 * soft-fp/fixunssfsi.c: Likewise.
1778 * soft-fp/fixunssfti.c: Likewise.
1779 * soft-fp/fixunstfdi.c: Likewise.
1780 * soft-fp/fixunstfsi.c: Likewise.
1781 * soft-fp/fixunstfti.c: Likewise.
1782 * soft-fp/floatdidf.c: Likewise.
1783 * soft-fp/floatdisf.c: Likewise.
1784 * soft-fp/floatditf.c: Likewise.
1785 * soft-fp/floatsidf.c: Likewise.
1786 * soft-fp/floatsisf.c: Likewise.
1787 * soft-fp/floatsitf.c: Likewise.
1788 * soft-fp/floattidf.c: Likewise.
1789 * soft-fp/floattisf.c: Likewise.
1790 * soft-fp/floattitf.c: Likewise.
1791 * soft-fp/floatundidf.c: Likewise.
1792 * soft-fp/floatundisf.c: Likewise.
1793 * soft-fp/floatunditf.c: Likewise.
1794 * soft-fp/floatunsidf.c: Likewise.
1795 * soft-fp/floatunsisf.c: Likewise.
1796 * soft-fp/floatunsitf.c: Likewise.
1797 * soft-fp/floatuntidf.c: Likewise.
1798 * soft-fp/floatuntisf.c: Likewise.
1799 * soft-fp/floatuntitf.c: Likewise.
1800 * soft-fp/gedf2.c: Likewise.
1801 * soft-fp/gesf2.c: Likewise.
1802 * soft-fp/getf2.c: Likewise.
1803 * soft-fp/ledf2.c: Likewise.
1804 * soft-fp/lesf2.c: Likewise.
1805 * soft-fp/letf2.c: Likewise.
1806 * soft-fp/muldf3.c: Likewise.
1807 * soft-fp/mulsf3.c: Likewise.
1808 * soft-fp/multf3.c: Likewise.
1809 * soft-fp/negdf2.c: Likewise.
1810 * soft-fp/negsf2.c: Likewise.
1811 * soft-fp/negtf2.c: Likewise.
1812 * soft-fp/op-1.h: Likewise.
1813 * soft-fp/op-2.h: Likewise.
1814 * soft-fp/op-4.h: Likewise.
1815 * soft-fp/op-8.h: Likewise.
1816 * soft-fp/op-common.h: Likewise.
1817 * soft-fp/quad.h: Likewise.
1818 * soft-fp/single.h: Likewise.
1819 * soft-fp/soft-fp.h: Likewise.
1820 * soft-fp/subdf3.c: Likewise.
1821 * soft-fp/subsf3.c: Likewise.
1822 * soft-fp/subtf3.c: Likewise.
1823 * soft-fp/truncdfsf2.c: Likewise.
1824 * soft-fp/trunctfdf2.c: Likewise.
1825 * soft-fp/trunctfsf2.c: Likewise.
1826 * soft-fp/trunctfxf2.c: Likewise.
1827 * soft-fp/unorddf2.c: Likewise.
1828 * soft-fp/unordsf2.c: Likewise.
1829 * soft-fp/unordtf2.c: Likewise.
1830
8a3edb33 18312013-11-05 Uros Bizjak <ubizjak@gmail.com>
1832
1833 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
1834 (_FP_MUL_MEAT_D): Ditto.
1835 (_FP_DIV_MEAT_S): Ditto.
1836 (_FP_DIV_MEAT_D): Ditto.
1837 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
1838 t-softfp-sfdf and t-softfp to tmake_file.
1839
ea151fae 18402013-11-03 Uros Bizjak <ubizjak@gmail.com>
1841
1842 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
1843 * config/i386/crtprec.c: Ditto.
1844
eae21ed1 18452013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
1846 Shiva Chen <shiva0217@gmail.com>
1847
1848 * config.host (nds32*-elf*): Add nds32 target.
1849 * config/nds32 : New directory and files.
1850
b4294f67 18512013-10-16 Hans-Peter Nilsson <hp@axis.com>
1852
1853 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
1854 * config.host (cpu_type) <Setting default>: Add entry for
1855 crisv32-*-*.
1856 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
1857 <crisv32-*-linux*>: Adjust.
1858 * longlong.h: Wrap the whole CRIS section in a single
1859 defined(__CRIS__) conditional. Add comment about add_ssaaaa
1860 and sub_ddmmss.
1861 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
1862 defined.
1863 [__CRIS__] (__umulsidi3): Define.
1864 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
1865 * config/cris/sfp-machine.h: New file.
1866 * config/cris/umulsidi3.S: New file.
1867 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
1868 * config/cris/arit.c (SIGNMULT): New macro.
1869 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
1870 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
1871 saving 3 out of originally 33 cycles from the fastest
1872 path, 3 out of 54 from the medium path and one from the longest
1873 path. Improve comments.
1874
89432048 18752013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
1876
1877 * sync.c: Remove static aliases and define each function directly
1878 under its real name.
1879
a99f9d91 18802013-10-02 John David Anglin <danglin@gcc.gnu.org>
1881
1882 * config.host (hppa*64*-*-linux*): Define extra_parts.
1883 (hppa*-*-linux*): Likewise.
1884
c6e92c43 18852013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
1886
1887 * config/arc/crtgend.S: Add 2013 to Copyright years.
1888 * config/arc/gmon/atomic.h: Likewise.
1889 * config/arc/gmon/auxreg.h: Likewise.
1890 * config/arc/gmon/sys/gmon_out.h: Likewise.
1891 * config/arc/gmon/sys/gmon.h: Likewise.
1892 * config/arc/gmon/prof-freq.c: Likewise.
1893 * config/arc/gmon/mcount.c: Likewise.
1894 * config/arc/gmon/prof-freq-stub.S: Likewise.
1895 * config/arc/gmon/gmon.c: Likewise.
1896 * config/arc/gmon/machine-gmon.h: Likewise.
1897 * config/arc/gmon/profil.S: Likewise.
1898 * config/arc/gmon/dcache_linesz.S: Likewise.
1899 * config/arc/crtg.S: Likewise.
1900 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
1901 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
1902 * config/arc/ieee-754/adddf3.S: Likewise.
1903 * config/arc/ieee-754/truncdfsf2.S: Likewise.
1904 * config/arc/ieee-754/fixsfsi.S: Likewise.
1905 * config/arc/ieee-754/gtsf2.S: Likewise.
1906 * config/arc/ieee-754/floatsisf.S: Likewise.
1907 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
1908 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
1909 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
1910 * config/arc/ieee-754/fixdfsi.S: Likewise.
1911 * config/arc/ieee-754/addsf3.S: Likewise.
1912 * config/arc/ieee-754/gesf2.S: Likewise.
1913 * config/arc/ieee-754/floatsidf.S: Likewise.
1914 * config/arc/ieee-754/extendsfdf2.S: Likewise.
1915 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
1916 * config/arc/ieee-754/gtdf2.S: Likewise.
1917 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
1918 * config/arc/ieee-754/uneqdf2.S: Likewise.
1919 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1920 * config/arc/ieee-754/uneqsf2.S: Likewise.
1921 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
1922 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
1923 * config/arc/ieee-754/eqdf2.S: Likewise.
1924 * config/arc/ieee-754/ordsf2.S: Likewise.
1925 * config/arc/ieee-754/divsf3.S: Likewise.
1926 * config/arc/ieee-754/divdf3.S: Likewise.
1927 * config/arc/ieee-754/floatunsidf.S: Likewise.
1928 * config/arc/ieee-754/orddf2.S: Likewise.
1929 * config/arc/ieee-754/eqsf2.S: Likewise.
1930 * config/arc/ieee-754/gedf2.S: Likewise.
1931 * config/arc/crtn.S: Likewise.
1932 * config/arc/crti.S: Likewise.
1933 * config/arc/t-arc700-uClibc: Likewise.
1934 * config/arc/asm.h: Likewise.
1935 * config/arc/libgcc-excl.ver: Likewise.
1936 * config/arc/t-arc-newlib: Likewise.
1937 * config/arc/divtab-arc700.c: Likewise.
1938 * config/arc/initfini.c: Likewise.
1939 * config/arc/fp-hack.h: Likewise.
1940
8abf21c0 19412013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1942 Diego Novillo <dnovillo@google.com>
1943
1944 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
29941397 1945 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
1946 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
1947 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
8abf21c0 1948
8eaaaea3 19492013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1950 Brendan Kehoe <brendan@zen.org>
1951 Simon Cook <simon.cook@embecosm.com>
1952
1953 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
1954 * config/arc: New directory.
1955 * longlong.h [__arc__] (umul_ppmm): Remove.
1956 [__arc__] (__umulsidi3): Define.
1957 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
1958 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
1959
5d7073ff 19602013-09-17 Jacek Caban <jacek@codeweavers.com>
1961
1962 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
1963 CreateSemaphoreA.
1964 * config/i386/gthr-win32.h: Likewise.
1965
c5a0ae5e 19662013-09-16 DJ Delorie <dj@redhat.com>
1967
3feee9ae 1968 * config/rl78/vregs.h: Add G10 register definitions.
c5a0ae5e 1969 * config/rl78/lib2mul.c: Enable for RL78/G10.
1970 * config/rl78/lib2div.c: Likewise.
1971 * config/rl78/lshrsi3.S: Use vregs.h.
1972 * config/rl78/cmpsi2.S: Likewise.
1973 * config/rl78/trampoline.S: Likewise.
1974 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
1975
03223f89 19762013-09-14 DJ Delorie <dj@redhat.com>
1977 Nick Clifton <nickc@redhat.com>
1978
1979 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
1980 * config/rl78/vregs.h: New.
1981 * config/rl78/signbit.S: New file. Implements signbit function.
1982 * config/rl78/divmodsi.S: New.
1983 * config/rl78/divmodhi.S: New.
1984 * config/rl78/divmodqi.S: New.
1985 * config/rl78/t-rl78: Build them here...
1986 * config/rl78/lib2div.c: ...but not here.
1987
e4a25868 19882013-09-12 DJ Delorie <dj@redhat.com>
1989
1990 * config.host (msp*-*-elf): New.
1991 * config/msp430/: New port.
1992
f5f1a747 19932013-08-18 Iain Sandoe <iain@codesourcery.com>
1994
1995 PR gcov-profile/58127
1996 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1997 __thread var for emulated TLS.
1998 (__gcov_indirect_call_counters): Likewise.
1999
272552a3 20002013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
ea151fae 2001 Catherine Moore <clm@codesourcery.com>
2002 Richard Sandiford <rdsandiford@googlemail.com>
272552a3 2003
2004 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
2005 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
2006 (CALL_STUB_NO_RET): Likewise.
2007 (CALL_STUB_RET): Likewise.
2008 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
2009 __mips16_ret call/return stub symbols.
2010 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
2011 to tmake_file.
2012
26865d30 20132013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
2014
2015 * config.host <mips*-*-linux*>: Remove a stray comment.
2016
4771c0ac 20172013-08-10 Jan Hubicka <jh@suse.cz>
2018
2019 Work around binutils PR14342
2020 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
2021 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
2022 (L_gcov_indirect_call_profiler_v2): New.
2023
fe37be54 20242013-08-06 Jan Hubicka <jh@suse.cz>
2025
2026 * libgcov.c (__gcov_indirect_call_callee,
2027 __gcov_indirect_call_counters): New global vars.
2028 (__gcov_indirect_call_profiler): replace by ...
2029 (__gcov_indirect_call_profiler_v2) ... this one.
2030
b710ec85 20312013-08-06 Caroline Tice <cmtice@google.com>
2032
62257207 2033 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
b710ec85 2034 vtv_start_preinit.o and vtv_end_preinit.o.
62257207 2035 * configure.ac: Add code to check/set enable_vtable_verify.
2036 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
b710ec85 2037 true.
62257207 2038 * vtv_start_preinit.c: New file.
2039 * vtv_end_preinit.c: New file.
2040 * vtv_start.c: New file.
2041 * vtv_end.c: New file.
2042 * configure: Regenerated.
b710ec85 2043
98997678 20442013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
2045
2046 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
2047 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
2048 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
2049 GPL-3.0-with-GCC-exception.
2050
b26b6f0d 20512013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
2052
2053 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
2054 ISA and up.
2055
e6270f6f 20562013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2057
2058 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
2059 mapping for FPRs when creating the fallback framestate.
2060
fdbf5b19 20612013-07-19 Georg-Johann Lay <avr@gjlay.de>
2062
2063 PR target/57516
2064 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
2065 (__round_s2_const, __round_u2_const)
2066 (__round_s4_const, __round_u4_const, __round_x8):
2067 Saturate result if addition result cannot be represented.
2068
6dcb849c 20692013-07-15 Matthias Klose <doko@ubuntu.com>
2070
2071 * libgcc2.c: Don't include <limits.h>.
2072
16348e18 20732013-07-09 Janis Johnson <janisjo@codesourcery.com>
2074
2075 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
2076
64b5be08 20772013-07-06 Jakub Jelinek <jakub@redhat.com>
2078
2079 PR target/29776
2080 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
2081
68a09193 20822013-06-28 Jakub Jelinek <jakub@redhat.com>
2083
2084 PR middle-end/36041
2085 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
2086 Define.
2087 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
2088 instead of table lookups.
2089 (__popcountDI2): Likewise.
2090
5fe358df 20912013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
2092
2093 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
2094 correctly.
2095
2511e9f1 20962013-06-21 Joseph Myers <joseph@codesourcery.com>
2097
2098 PR other/53317
2099 * soft-fp/adddf3.c: Update from glibc.
2100 * soft-fp/addsf3.c: Likewise.
2101 * soft-fp/addtf3.c: Likewise.
2102 * soft-fp/divdf3.c: Likewise.
2103 * soft-fp/divsf3.c: Likewise.
2104 * soft-fp/divtf3.c: Likewise.
2105 * soft-fp/double.h: Likewise.
2106 * soft-fp/eqdf2.c: Likewise.
2107 * soft-fp/eqsf2.c: Likewise.
2108 * soft-fp/eqtf2.c: Likewise.
2109 * soft-fp/extenddftf2.c: Likewise.
2110 * soft-fp/extended.h: Likewise.
2111 * soft-fp/extendsfdf2.c: Likewise.
2112 * soft-fp/extendsftf2.c: Likewise.
2113 * soft-fp/fixdfdi.c: Likewise.
2114 * soft-fp/fixdfsi.c: Likewise.
2115 * soft-fp/fixsfdi.c: Likewise.
2116 * soft-fp/fixsfsi.c: Likewise.
2117 * soft-fp/fixtfdi.c: Likewise.
2118 * soft-fp/fixtfsi.c: Likewise.
2119 * soft-fp/fixunsdfdi.c: Likewise.
2120 * soft-fp/fixunsdfsi.c: Likewise.
2121 * soft-fp/fixunssfdi.c: Likewise.
2122 * soft-fp/fixunssfsi.c: Likewise.
2123 * soft-fp/fixunstfdi.c: Likewise.
2124 * soft-fp/fixunstfsi.c: Likewise.
2125 * soft-fp/floatdidf.c: Likewise.
2126 * soft-fp/floatdisf.c: Likewise.
2127 * soft-fp/floatditf.c: Likewise.
2128 * soft-fp/floatsidf.c: Likewise.
2129 * soft-fp/floatsisf.c: Likewise.
2130 * soft-fp/floatsitf.c: Likewise.
2131 * soft-fp/floatundidf.c: Likewise.
2132 * soft-fp/floatundisf.c: Likewise.
2133 * soft-fp/floatunditf.c: Likewise.
2134 * soft-fp/floatunsidf.c: Likewise.
2135 * soft-fp/floatunsisf.c: Likewise.
2136 * soft-fp/floatunsitf.c: Likewise.
2137 * soft-fp/gedf2.c: Likewise.
2138 * soft-fp/gesf2.c: Likewise.
2139 * soft-fp/getf2.c: Likewise.
2140 * soft-fp/ledf2.c: Likewise.
2141 * soft-fp/lesf2.c: Likewise.
2142 * soft-fp/letf2.c: Likewise.
2143 * soft-fp/muldf3.c: Likewise.
2144 * soft-fp/mulsf3.c: Likewise.
2145 * soft-fp/multf3.c: Likewise.
2146 * soft-fp/negdf2.c: Likewise.
2147 * soft-fp/negsf2.c: Likewise.
2148 * soft-fp/negtf2.c: Likewise.
2149 * soft-fp/op-1.h: Likewise.
2150 * soft-fp/op-2.h: Likewise.
2151 * soft-fp/op-4.h: Likewise.
2152 * soft-fp/op-8.h: Likewise.
2153 * soft-fp/op-common.h: Likewise.
2154 * soft-fp/quad.h: Likewise.
2155 * soft-fp/single.h: Likewise.
2156 * soft-fp/soft-fp.h: Likewise.
2157 * soft-fp/subdf3.c: Likewise.
2158 * soft-fp/subsf3.c: Likewise.
2159 * soft-fp/subtf3.c: Likewise.
2160 * soft-fp/truncdfsf2.c: Likewise.
2161 * soft-fp/trunctfdf2.c: Likewise.
2162 * soft-fp/trunctfsf2.c: Likewise.
2163 * soft-fp/unorddf2.c: Likewise.
2164 * soft-fp/unordsf2.c: Likewise.
2165 * soft-fp/unordtf2.c: Likewise.
2166 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2167 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2168 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2169 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2170 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2171 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2172 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2173 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2174 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2175 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2176 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2177 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2178
0b4e9fcd 21792013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
2180
2181 * config/mips/lib2funcs.c: New file.
2182 * config/mips/t-mips (LIB2ADD_ST): Add it.
2183
fe9c9e23 21842013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
2185
2186 PR target/6526
2187 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2188 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
2189
1c229e23 21902013-06-08 Walter Lee <walt@tilera.com>
2191
2192 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2193 Replace int64_t with long long. Add __extension__ where
2194 appropriate.
2195 * config/tilepro/atomic.c: Include config.h.
2196
1a7dfb13 21972013-06-06 Douglas B Rupp <rupp@adacore.com>
2198
2199 * config.host (arm-wrs-vxworks): Configure with other soft float.
2200
60b34f30 22012013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
2202
2203 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2204 (mips64r5900el-*-elf*): New configurations.
2205
ebe9cbdb 22062013-06-04 Alan Modra <amodra@gmail.com>
2207
2208 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2209
fbcee6d1 22102013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
2211
2212 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2213
aad33226 22142013-05-28 Eric Botcazou <ebotcazou@adacore.com>
2215
2216 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2217 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2218 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2219
47ab8c10 22202013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2221
2222 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2223 (powerpc-wrs-vxworks): Likewise.
2224
34a60aa2 22252013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2226
2227 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2228 signal frames as well.
2229 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2230 STACK_BIAS to the CFA offset.
2231
be82f7a8 22322013-05-17 Richard Henderson <rth@redhat.com>
2233
2234 PR target/49146
2235 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2236 (execute_cfa_program): Use it when storing to fs->regs.
2237
bd89d2b6 22382013-05-08 Kai Tietz <ktietz@redhat.com>
2239
2240 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2241 (__deregister_frame_info): Likewise.
2242
9e849aff 22432013-05-06 Thomas Schwinge <thomas@codesourcery.com>
2244
dfa9a36a 2245 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2246 NaN's payload.
2247
9e849aff 2248 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2249
d80dc920 22502013-04-25 Alan Modra <amodra@gmail.com>
2251
2252 * config.host: Match little-endian powerpc-linux.
2253
d359df0c 22542013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
2255
2256 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2257 as 'unsigned long long' instead of 'unsigned long'.
2258 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2259 'signed long'.
2260
912507e5 22612013-04-10 Julian Brown <julian@codesourcery.com>
2262
2263 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2264 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2265 unsigned char/unsigned short.
2266 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2267
9dafcef4 22682013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2269
2270 PR other/55274
2271 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2272
11bec6e6 22732013-04-04 Meador Inge <meadori@codesourcery.com>
2274
2275 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2276 computing the location of the link register.
2277 (aeabi_uldivmod): Ditto.
2278
45d13ef4 22792013-03-27 Kai Tietz <ktietz@redhat.com>
2280
2281 * config.host: Add support for cygwin x64 target.
2282 * configure: Regenerated.
2283
cad8262b 22842013-03-26 Walter Lee <walt@tilera.com>
2285
2286 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2287 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2288
d2adc174 22892013-03-25 Kai Tietz <ktietz@redhat.com>
2290
2291 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2292
a5487e41 22932013-03-20 Robert Mason <rbmj@verizon.net>
2294
2295 * config/vxlib-tls.c (__gthread_get_tsd_data,)
2296 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2297 (__gthread_leave_tsd_dtor_context): Add prototypes.
2298 (tls_delete_hook): Update.
2299
ff9c1bc1 23002013-03-20 Catherine Moore <clm@codesourcery.com>
2301 Joseph Myers <joseph@codesourcery.com>
2302 Chao-ying Fu <fu@mips.com>
2303
2304 * config/mips/mips16.S: Don't build for microMIPS.
2305 * config/mips/linux-unwind.h: Handle microMIPS frame.
2306 * config/mips/crtn.S (fini, init): New labels.
2307
228bf2b8 23082013-03-14 Jakub Jelinek <jakub@redhat.com>
2309
2310 PR tree-optimization/53265
2311 * unwind-dw2.c (execute_cfa_program): Avoid
2312 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2313 on targets with DWARF_FRAME_REGISTERS < 32.
2314
bb057878 23152013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
2316
2317 PR target/49880
2318 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2319 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2320
a1b2a524 23212013-03-07 Sriraman Tallam <tmsriram@google.com>
2322
2323 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2324 sandybridge processors.
2325
9fe603c3 23262013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
2327
2328 PR target/56529
2329 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2330 inclusion list.
2331
21ebaa24 23322013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
02f4bd0d 2333
2334 * config/microblaze/crti.S: Setup stack protection at entry
2335
958069e9 23362013-03-04 Georg-Johann Lay <avr@gjlay.de>
2337
2338 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2339 (__rotldi3): Shift bytewise if applicable.
2340
49be16da 23412013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
2342
2343 * config/aarch64/sync-cache.c
2344 (__aarch64_sync_cache_range): Silence warnings.
2345
ca7a473f 23462013-02-25 Catherine Moore <clm@codesourcery.com>
2347
2348 Revert:
2349 2013-02-24 Catherine Moore <clm@codesourcery.com>
2350 Joseph Myers <joseph@codesourcery.com>
2351 Chao-ying Fu <fu@mips.com>
2352
2353 * config/mips/mips16.S: Don't build for microMIPS.
2354 * config/mips/linux-unwind.h: Handle microMIPS frame.
2355 * config/mips/crtn.S (fini, init): New labels.
2356
7fd93f9c 23572013-02-24 Catherine Moore <clm@codesourcery.com>
2358 Joseph Myers <joseph@codesourcery.com>
2359 Chao-ying Fu <fu@mips.com>
2360
2361 * config/mips/mips16.S: Don't build for microMIPS.
2362 * config/mips/linux-unwind.h: Handle microMIPS frame.
2363 * config/mips/crtn.S (fini, init): New labels.
2364
1859244f 23652012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
005a5ef5 2366 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1859244f 2367 as dividend.
2368
2a0bfd56 23692013-02-16 Alan Modra <amodra@gmail.com>
2370
2371 PR target/55431
2372 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2373 (ppc_fallback_frame_state): Always set up save locations for fp
2374 and altivec. Don't bother with non-callee-saved regs, r0-r13
2375 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2376
cfbcb7d5 23772013-02-12 Georg-Johann Lay <avr@gjlay.de>
2378
2379 PR target/54222
2380 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2381 _ssmulHA, _ssmulSA.
2382 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2383 _ssmulha3, _usmulusa3, _ssmulsa3.
2384 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2385 (__muldi3): XCALL __muldi3_6 instead of rcall.
2386 (__umulsidi3, __mulsidi3): New functions.
2387 (do_prologue_saves, do_epilogue_restores): New .macros.
2388 (__divdi3_moddi3): Use them.
2389 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2390 (__usmulusa3, __ssmulsa3): New functions.
2391
48b8e70a 23922013-02-11 Iain Sandoe <iain@codesourcery.com>
2393 Jack Howarth <howarth@bromo.med.uc.edu>
2394 Patrick Marlier <patrick.marlier@gmail.com>
2395
2396 PR libitm/55693
2397 * config/darwin-crt-tm.c: Remove dummy functions hack.
2398
eafea251 23992013-02-08 Georg-Johann Lay <avr@gjlay.de>
2400
2401 PR target/54222
2402 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2403 * config/avr/lib2-object.mk: New iterator to build objects from it.
2404 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2405 lib2funcs.c.
2406 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2407 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2408 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2409 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2410 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2411 * config/avr/lib1funcs-fixed.S: Implement them.
2412
64b7b462 24132013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
2414
2415 Update copyright years.
2416
a8af2dd5 24172013-02-01 David Edelsohn <dje.gcc@gmail.com>
2418
2419 PR target/54601
2420 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2421 Add crtcxa to extra_parts.
2422 * config/rs6000/exit.h: New file.
2423 * config/rs6000/cxa_atexit.c: New file.
2424 * config/rs6000/cxa_finalize.c: New file.
2425 * config/rs6000/crtcxa.c: New file.
2426 * config/rs6000/t-aix-cxa: New file.
2427 * config/rs6000/libgcc-aix-cxa.ver: New file.
2428
9a5788ea 24292013-01-31 Nick Clifton <nickc@redhat.com>
2430
2431 * config/v850/lib1funcs.S: Add support for e3v5 architecture
2432 variant.
2433
63c85bd5 24342013-01-29 Georg-Johann Lay <avr@gjlay.de>
2435
2436 PR target/54222
2437 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2438 _mulQQ, _mulHQ, _mulHA, _mulSA,
2439 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2440 _divQQ, _divHQ, _divHA, _divSA,
2441 _divUQQ, _divUHQ, _divUHA, _divUSA.
2442
21ebaa24 24432013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
c48df545 2444
9a5788ea 2445 * config.host(microblaze*-linux*): tmake_file: Remove
c48df545 2446 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2447 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2448 to exclude functions from being built with libgcc.c and use
2449 the microblaze assembly.
2450
21ebaa24 24512013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
98f2ac05 2452
2453 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2454 extra_parts.
2455
ee4d7d9e 24562013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
2457
2458 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2459 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2460 __UINTPTR_TYPE__; also cast 'base' to the same type before the
2461 alignment operation.
2462
7deea711 24632013-01-15 Sofiane Naci <sofiane.naci@arm.com>
2464
2465 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2466 loop start address for cache clearing.
2467
0dff9558 24682013-01-14 Georg-Johann Lay <avr@gjlay.de>
2469
2470 * config/avr/lib1funcs.S: Remove trailing blanks.
2471 * config/avr/lib1funcs-fixed.S: Ditto.
2472
d8ff1e9a 24732013-01-14 Georg-Johann Lay <avr@gjlay.de>
2474
2475 * config/avr/avr-lib.h: Add GPL copyright notice.
2476
dd509879 24772013-01-14 Georg-Johann Lay <avr@gjlay.de>
2478
2479 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2480 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2481 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2482 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2483
6e029611 24842013-01-07 Mark Kettenis <kettenis@openbsd.org>
2485
2486 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2487 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
51918e06 2488
409ad634 24892013-01-04 Nick Clifton <nickc@redhat.com>
2490
2491 * config/v850/lib1funcs.S: Only provide CALLT support functions if
2492 the CALLT instruction is supported.
2493
1d384e02 24942012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2495
2496 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2497 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2498
cc4b03ac 24992012-12-13 John Tytgat <John@bass-software.com>
2500
2501 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2502 is 25.
2503
990457e2 25042012-12-12 Jakub Jelinek <jakub@redhat.com>
2505
2506 PR libgcc/55451
2507 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2508 undefined signed overflows.
2509
db6a9a70 25102012-12-09 Uros Bizjak <ubizjak@gmail.com>
2511
2512 PR target/55344
2513 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2514
038a6cd9 25152012-12-06 Uros Bizjak <ubizjak@gmail.com>
2516
2517 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2518 (FP_TRAPPING_EXCEPTIONS): Define.
2519 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2520 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2521
ef5f15fb 25222012-12-04 Richard Henderson <rth@redhat.com>
2523
2524 PR bootstrap/55571
2525 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2526
09ef8b8d 25272012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2528
038a6cd9 2529 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
09ef8b8d 2530 (FP_EX_SHIFT): Define.
2531 (FP_TRAPPING_EXCEPTIONS): Define.
2532
1caca546 25332012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2534
2535 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
2536 (FP_ROUNDMODE): Use FP_RND_MASK.
2537 * config/aarch64/sfp-exceptions.c: New.
2538 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2539 Use __sfp_handle_exceptions.
2540
6a11e52b 25412012-12-04 Richard Earnshaw <rearnsha@arm.com>
2542
2543 * config.host: (arm*-*-freebsd*): Remove.
2544 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
2545 (arm*-*-elf*): Remove.
2546 (arm*-*-wince-pe*): Remove.
2547 * arm/unwind-arm.c (struct fpa_reg): Delete.
2548 (struct fpa_regs): Delete.
2549 (phase1_vrs): Remove fpa element.
2550 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
2551 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
2552 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
2553 * ieee754-sf.S (floatundisf): Remove FPA support.
2554 (floatdisf): Likewise.
2555 * ieee75f-df.S (floatundidf): Likewise.
2556 (floatdidf): Likewise.
2557
a92cf445 25582012-11-29 Kai Tietz <ktietz@redhat.com>
2559
2560 PR target/55445
2561 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
2562 * unwind-generic.h: Likewise.
2563 * unwind-seh.c: Likewise.
2564
f0b6dfa6 25652012-11-28 Richard Henderson <rth@redhat.com>
2566
2567 PR libgcc/48076
2568 * emutls.c (__emutls_get_address): Avoid race condition between
2569 obj->loc.offset read and emutls_key initialization.
038a6cd9 2570
c8ec4eb6 25712012-11-22 Georg-Johann Lay <avr@gjlay.de>
2572
2573 Adjust decimal point of signed accum mode to GCC default.
2574
2575 PR target/54222
2576 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
2577 _divqq_helper.
2578 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
2579 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
2580 (__mulha3, __mulsa3)
2581 (__divqq3, __divha3, __divsa3): Adjust to new position of
038a6cd9 2582 decimal point of signed accum types.
2583
c8ec4eb6 2584 (__mulusa3_round): New function.
2585 (__mulusa3): Use it.
2586 (__divqq_helper): New function.
2587 (__udivuqq3): Use it.
2588
ca8c4cb9 25892012-11-20 Jakub Jelinek <jakub@redhat.com>
2590
2591 PR bootstrap/55370
2592 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
2593
5d2fca09 25942012-11-18 Teresa Johnson <tejohnson@google.com>
2595
2596 PR bootstrap/55051
2597 * libgcov.c (gcov_exit): Remove merged program summary
2598 comparison unless !GCOV_LOCKED.
2599
bfc20a3e 26002012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
2601
2602 * soft-fp: Updated from glibc upstream.
2603
20f6e7a3 26042012-11-06 Ian Lance Taylor <iant@google.com>
2605
2606 * generic-morestack.c (__generic_morestack): Align the returned
2607 stack pointer to a 32 byte boundary.
2608 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
2609 increment the return address until we have decided that we don't
2610 have a varargs function.
2611 (__morestack) [32-bit]: Align stack correctly when calling C
2612 functions.
2613 (__morestack) [64-bit]: Likewise.
2614
97bd2465 26152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2616
2617 * configure: Regenerate.
2618
d152ae90 26192012-11-02 Uros Bizjak <ubizjak@gmail.com>
2620
2621 PR target/55175
2622 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
2623 * config/i386/sfp-machine.h: Guard exception handling
2624 code with _SOFT_FLOAT.
2625 * config/i386/32/sfp-machine.h: Guard rounding handling
2626 code with _SOFT_FLOAT.
2627 * config/i386/64/sfp-machine.h: Ditto.
2628
0cd8c088 26292012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
2630
2631 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
2632 as extra_parts.
2633
113702f6 26342012-10-26 Uros Bizjak <ubizjak@gmail.com>
2635
2636 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
2637 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
2638 when appropriate. Correct structure element types.
2639 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
2640 -minline-all-stringops from compile flags.
2641
00b706f9 26422012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
2643
2644 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
2645
57380e33 26462012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
2647
113702f6 2648 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
57380e33 2649
a2397d15 26502012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2651
2652 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
2653 tmake_file.
2654
1b3d2097 26552012-10-23 Ian Bolton <ian.bolton@arm.com>
2656 Jim MacArthur <jim.macarthur@arm.com>
2657 Marcus Shawcroft <marcus.shawcroft@arm.com>
2658 Nigel Stephens <nigel.stephens@arm.com>
2659 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2660 Richard Earnshaw <rearnsha@arm.com>
2661 Sofiane Naci <sofiane.naci@arm.com>
2662 Stephen Thomas <stephen.thomas@arm.com>
2663 Tejas Belagod <tejas.belagod@arm.com>
2664 Yufeng Zhang <yufeng.zhang@arm.com>
2665
2666 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
2667 * config/aarch64/crti.S: New file.
2668 * config/aarch64/crtn.S: New file.
2669 * config/aarch64/linux-unwind.h: New file.
2670 * config/aarch64/sfp-machine.h: New file.
2671 * config/aarch64/sync-cache.c: New file.
2672 * config/aarch64/t-aarch64: New file.
2673 * config/aarch64/t-softfp: New file.
2674
cfdcf688 26752012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
2676
2677 * config/mmix/crti.S: Mark program and data addresses using PRELD.
2678 Remove typo'd and unnecessary alignment-LOC for .data. Remove
2679 no-longer-needed LDBU insns.
2680
598ebe3d 26812012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
2682
2683 * config.host
2684 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
2685 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
2686
530c2b2e 26872012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2688
2689 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
2690
f49eb158 26912012-10-15 Matthias Klose <doko@ubuntu.com>
2692
2693 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
2694
017f22df 26952012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
2696
2697 * configure: Regenerate.
2698 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
2699
da8b7497 27002012-10-10 Uros Bizjak <ubizjak@gmail.com>
2701
2702 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2703 instructions for 64bit targets only.
2704
19a23012 27052012-10-10 Uros Bizjak <ubizjak@gmail.com>
2706
2707 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2708 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
2709 * config/i386/32/sfp-machine.h: ... here.
2710 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2711 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
2712 New defines.
2713
a32dc74a 27142012-10-07 Matthias Klose <doko@ubuntu.com>
2715
2716 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
2717 as unused.
2718 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
2719
81ae3d37 27202012-10-06 Mark Kettenis <kettenis@openbsd.org>
2721
2722 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
2723 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
2724 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
2725 (ElfW): Likewise.
2726
4e6a7cfc 27272012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
2728
2729 PR other/53889
2730 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2731 Fix parameter names.
2732
7cc401e3 27332012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
2734
2735 PR target/33135
2736 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
2737 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
2738 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
2739
cfaba078 27402012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
2741
2742 PR target/50457
2743 * config/sh/linux-atomic.S: Delete.
2744 * config/sh/linux-atomic.c: New.
2745 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
2746 linux-atomic.c. Add cflags to disable warnings.
2747
4854adab 27482012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2749
2750 PR other/53889
2751 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
2752 function.
2753 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
2754 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
2755 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
2756 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
4e6a7cfc 2757 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
2758 Likewise.
4854adab 2759 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2760 Likewise.
2761 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
2762 Likewise.
2763 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
2764 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
2765
07cf7615 27662012-09-19 Mark Kettenis <kettenis@openbsd.org>
2767
cfaba078 2768 * config.host (hppa-*-openbsd*): New target.
2769 * config/pa/t-openbsd: New file.
07cf7615 2770
b4ebb666 27712012-09-15 Georg-Johann Lay <avr@gjlay.de>
2772
2773 PR target/54222
2774 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
2775 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
2776 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
2777 (__divsa3): Use __negsi2 to negate r_quoL.
2778 * config/avr/lib1funcs.S (FALIAS): New macro.
2779 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
2780 (__negsi2): ...this new function.
2781 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
2782 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
2783 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
2784 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
2785 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
2786 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
2787
6e7c6395 27882012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
2789
2790 PR target/54089
2791 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
2792 (lshrsi3): Reimplement as lshrsi3_r0.
2793
5e847ded 27942012-09-10 Andreas Schwab <schwab@linux-m68k.org>
2795
2796 PR target/46191
2797 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
2798 of libgcc.a.
2799
7995ce5f 28002012-09-07 Teresa Johnson <tejohnson@google.com>
2801
cfaba078 2802 PR gcov-profile/54487
7995ce5f 2803 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
cfaba078 2804 differences.
7995ce5f 2805
fd28e216 28062012-09-05 Georg-Johann Lay <avr@gjlay.de>
2807
2808 PR target/54461
2809 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
2810 not configured --with-avrlibc=no.
2811 * config/avr/t-avrlibc: New file.
2812 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
2813 (DPBIT_FUNCS): Ditto.
2814 (TPBIT_FUNCS): Ditto.
2815
2688cb90 28162012-09-04 Teresa Johnson <tejohnson@google.com>
2817
2818 * libgcov.c (struct gcov_summary_buffer): New structure.
2819 (gcov_histogram_insert): New function.
2820 (gcov_compute_histogram): Ditto.
2821 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
2822 histograms during summary merging.
2823
51796b3a 28242012-09-01 Mark Kettenis <kettenis@openbsd.org>
2825
2826 * config.host (x86_64-*-openbsd*): New target.
d152ae90 2827
d36db932 28282012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
2829
2830 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
2831 attribute.
2832
d87654c8 28332012-08-24 Georg-Johann Lay <avr@gjlay.de>
2834
2835 PR target/54222
2836 * config/avr/t-avr (conv_X): Rename to func_X.
2837
017c5b98 28382012-08-24 Georg-Johann Lay <avr@gjlay.de>
2839
2840 PR target/54222
2841 * config/avr/lib1funcs-fixed.S: New file.
2842 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
2843 after they are used.
2844 (neg2, neg4): New macros.
2845 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
2846 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
2847 (__umulhisi3): Speed up MUL variant if there is enough flash.
2848 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
2849 avr-modes.def.
2850 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
2851 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
2852 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
2853 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
2854 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
2855 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
2856 (LIB2FUNCS_EXCLUDE): Add supported functions.
2857
65bcd545 28582012-08-22 Georg-Johann Lay <avr@gjlay.de>
2859
2860 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
2861 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
2862 libgcc-s-objects.
2863 * fixed-obj.mk: Only expand dependency if $o is not in
2864 LIB2FUNCS_EXCLUDE.
2865
39166195 28662012-08-22 H.J. Lu <hongjiu.lu@intel.com>
2867
2868 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
2869
b78f422e 28702012-08-22 Joseph Myers <joseph@codesourcery.com>
2871
2872 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
2873 depend on --enable-shared.
2874 ($(lib1asmfuncs-o)): Use %.vis files independent of
2875 --enable-shared.
2876 * static-object.mk ($(base)$(objext), $(base).vis)
2877 ($(base)_s$(objext)): Use same rules for visibility handling as in
2878 shared-object.mk.
2879
66ef0f44 28802012-08-21 Ian Lance Taylor <iant@google.com>
2881
2882 * config/i386/morestack.S (__morestack_non_split): Increase amount
2883 of space allocated for non-split code stack.
2884
93547515 28852012-08-19 Joseph Myers <joseph@codesourcery.com>
2886
2887 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
2888 even if inhibit_libc.
2889
98d22b3c 28902012-08-17 Julian Brown <julian@codesourcery.com>
2891
2892 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
2893 -fexceptions -fnon-call-exceptions if not defined.
2894 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
2895 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
2896
2076ec4b 28972012-08-17 Andreas Schwab <schwab@linux-m68k.org>
2898
2899 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
2900 type.
2901
c1420b84 29022012-08-16 David Edelsohn <dje.gcc@gmail.com>
2903
2904 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
2905 rs6000/t-slibgcc-aix.
2906
ae5b70d0 29072012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2908
2909 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
2910
4ff70f1c 29112012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2912
2913 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2914
464810a0 29152012-08-03 H.J. Lu <hongjiu.lu@intel.com>
2916
2917 PR driver/54171
2918 * Makefile.in (version): Replace top_srcdir with srcdir.
2919
d2c6da38 29202012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
2921
2922 * Makefile.in (version): set to BASE-VER file from gcc directory.
2923
a575acb2 29242012-08-01 Nick Clifton <nickc@redhat.com>
2925
2926 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
2927 Implements __clrsb for an HImode argument.
2928
3a44f5e6 29292012-07-31 Nick Clifton <nickc@redhat.com>
2930
2931 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
2932 Implements __clrsb for an HImode argument.
2933 * config/stormy16/clrsbhi2.c: New file:
2934 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
2935
56b17dd7 29362012-07-22 Steven Bosscher <steven@gcc.gnu.org>
2937
2938 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
2939
8ad0b530 29402012-07-19 Tristan Gingold <gingold@adacore.com>
2941 Richard Henderson <rth@redhat.com>
2942
2943 * unwind-seh.c: New file.
2944 * unwind-generic.h: Include windows.h for SEH.
2945 (_Unwind_Exception): Use 6 private fields for SEH.
2946 (_GCC_specific_handler): Declare.
2947 * unwind-c.c (__gcc_personality_seh0): New function.
2948 Adjust for SEH.
2949 * config/i386/libgcc-cygming.ver: New file.
2950 * config/i386/t-seh-eh: New file.
2951 * config.host (x86_64-*-mingw*): Default to seh.
2952
017bf976 29532012-07-14 Steven Bosscher <steven@gcc.gnu.org>
2954
2955 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
2956
6f24586e 29572012-06-17 Uros Bizjak <ubizjak@gmail.com>
2958
2959 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
2960 __builtin_expect when checking for exceptions.
2961 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
2962
1927db1f 29632012-06-13 Uros Bizjak <ubizjak@gmail.com>
2964
7b9088d5 2965 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
2966 function declaration.
2967 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2968 (FP_RND_MASK): New.
2969 * config/ia64/sfp-exceptions.c: New.
2970 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
1927db1f 2971
c3576308 29722012-06-13 Uros Bizjak <ubizjak@gmail.com>
2973
2974 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
2975 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
2976 * config/i386/64/sfp-machine: ... (delete here) ...
2977 * config/i386/sfp-machine.h: ... to here.
2978 (FP_EX_MASK): Remove.
2979 (FP_RND_MASK): New.
2980 (FP_INIT_ROUNDMODE): Declare asm as volatile.
2981
725b956c 29822012-06-11 Sriraman Tallam <tmsriram@google.com>
2983
2984 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2985 * config/i386/libgcc-sol2.ver: Ditto.
2986 * config/i386/libgcc-glibc.ver: Ditto.
2987
026e608e 29882012-06-11 Roland McGrath <mcgrathr@google.com>
2989
2990 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2991 If __GLIBC__ is defined, refer to __pthread_key_create instead of
2992 pthread_cancel.
2993
2c223cf2 29942012-06-09 Uros Bizjak <ubizjak@gmail.com>
2995
2996 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2997 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2998 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2999 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3000 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
3001 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
3002 * config/i386/64/sfp-machine: ... (delete here) ...
3003 * config/i386/sfp-machine.h: ... to here.
3004 (FP_EX_MASK): New.
3005 (__sfp_handle_exceptions): New function declaration.
3006 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3007 * config/i386/sfp-exceptions.c: New.
3008 * config/i386/t-softfp: New.
3009 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
3010 i386/t-softfp to tmake_file.
3011
620803f2 30122012-06-03 David S. Miller <davem@davemloft.net>
3013
3014 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
3015 change.
3016
38ef0978 30172012-05-31 David S. Miller <davem@davemloft.net>
3018
3019 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
3020 multiply and divide instructions on 32-bit when V9.
3021 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
3022
e1c346e5 30232012-05-29 Joseph Myers <joseph@codesourcery.com>
3024
3025 * config/arm/ieee754-df.S: Fix typos.
3026 * config/arm/ieee754-sf.S: Fix typos.
3027 * config/c6x/libunwind.S: Fix typos.
3028 * config/epiphany/udivsi3-float.c: Fix typos.
3029 * config/microblaze/muldi3_hard.S: Fix typos.
3030 * config/picochip/adddi3.S: Fix typos.
3031 * config/picochip/ashlsi3.S: Fix typos.
3032 * config/picochip/ashrsi3.S: Fix typos.
3033 * config/picochip/clzsi2.S: Fix typos.
3034 * config/picochip/cmpsi2.S: Fix typos.
3035 * config/picochip/divmod15.S: Fix typos.
3036 * config/picochip/divmodhi4.S: Fix typos.
3037 * config/picochip/divmodsi4.S: Fix typos.
3038 * config/picochip/longjmp.S: Fix typos.
3039 * config/picochip/lshrsi3.S: Fix typos.
3040 * config/picochip/parityhi2.S: Fix typos.
3041 * config/picochip/popcounthi2.S: Fix typos.
3042 * config/picochip/setjmp.S: Fix typos.
3043 * config/picochip/subdi3.S: Fix typos.
3044 * config/picochip/ucmpsi2.S: Fix typos.
3045 * config/picochip/udivmodhi4.S: Fix typos.
3046 * config/picochip/udivmodsi4.S: Fix typos.
3047 * config/spu/divv2df3.c: Fix typos.
3048 * config/spu/mfc_multi_tag_release.c: Fix typos.
3049 * config/spu/mfc_tag_release.c: Fix typos.
3050 * configure.ac: Fix typos.
3051 * configure: Regenerate.
3052
4bb0c596 30532012-05-25 Ian Lance Taylor <iant@google.com>
3054
3055 * config/i386/morestack.S (__morestack_non_split): Check whether
3056 caller is varargs and needs %bp to hold the stack frame on return.
3057
05b6028a 30582012-05-25 Olivier Hainque <hainque@adacore.com>
3059
3060 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
3061 sequence in the non pic case on VxWorks.
3062
de055a8b 30632012-05-24 Olivier Hainque <hainque@adacore.com>
3064
05c265fe 3065 * Makefile.in: Move dependency on install-unwind_h from
de055a8b 3066 "install-leaf" to "install".
3067
511797dd 30682012-05-24 Olivier Hainque <hainque@adacore.com>
3069
3070 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
3071 Use a separate command for stamp removals.
3072
c05436a7 30732012-05-21 Andrew Pinski <apinski@cavium.com>
3074
3075 PR bootstrap/53183
3076 * configure.ac: Define the default includes to being none.
3077 * configure: Regenerate.
3078
0e0bcebd 30792012-05-16 Olivier Hainque <hainque@adacore.com>
3080
3081 * Makefile.in (install-unwind_h): Rename into ...
3082 (install-unwind_h-forbuild): New target.
3083 (all): Use it instead of the former install-unwind_h.
3084 (install-unwind_h): Reinstate, copy to user install destination
3085 for include files, not to the internal gcc object directory one.
3086 (install-leaf): Depend on it.
3087
4ea72f7b 30882012-05-15 Olivier Hainque <hainque@adacore.com>
3089
3090 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
3091 register numbers. LR_REGNO replaces R_LR.
3092 (ucontext_for): New, helper for ...
3093 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
3094 and 5.3 of ...
3095 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
3096
98c9b52b 30972012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3098
3099 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
3100 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
3101 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
3102 i386/t-cpuinfo ...
3103 (i[34567]86-*-*, x86_64-*-*): ... here.
3104
3105 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
3106 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
3107
3108 * config/i386/i386-cpuinfo.c: Rename to ...
3109 * config/i386/cpuinfo.c: ... this.
3110 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
3111
3112 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
3113 (libgcc_cv_init_priority): New test.
3114 * configure: Regenerate.
3115 * config.in: New file.
3116 * Makefile.in (clean): Rename config.h to auto-target.h.
3117 (config.h): Likewise.
3118 (stamp-h): Likewise.
3119
3120 * config/i386/cpuinfo.c (auto-target.h): Include.
3121 (CONSTRUCTOR_PRIORITY): Define.
3122 (__cpu_indicator_init): Use it.
3123
a7534247 31242012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 * longlong.h: Use a URL instead of an FSF postal address.
3127 Replace spaces with tab.
3128
7b9088d5 31292012-05-08 Teresa Johnson <tejohnson@google.com>
4ef7becb 3130
3131 * libgcov.c (gcov_clear, __gcov_reset): New functions.
3132 (__gcov_dump): Ditto.
3133 (gcov_dump_complete): New global variable.
3134 (gcov_exit): Export hidden to enable use in L_gcov_dump.
3135 (__gcov_flush): Outline functionality now in gcov_clear.
3136 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3137
416e60e6 31382012-04-28 Aurelien Jarno <aurelien@aurel32.net>
3139
4bb0c596 3140 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3141 (mips*-*-linux*): Include mips/t-tpbit when long double is
3142 16 bytes long.
416e60e6 3143
d79cfc15 31442012-04-25 Sriraman Tallam <tmsriram@google.com>
3145
3146 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3147 (get_available_features): New argument. Check for AVX2.
3148 (__cpu_indicator_init): Modify call to get_available_features.
3149
cef20746 31502012-04-25 Alan Modra <amodra@gmail.com>
3151
3152 * config/rs6000/crtsavevr.S: New file.
3153 * config/rs6000/crtrestvr.S: New file.
3154 * config/rs6000/t-savresfgpr: Build the above.
3155 * config/rs6000/t-netbsd: Likewise.
3156
0a166714 31572012-04-24 Sriraman Tallam <tmsriram@google.com>
3158
3159 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3160
f0fd108f 31612012-04-24 Sriraman Tallam <tmsriram@google.com>
3162
3163 * libgcc/config/i386/i386-cpuinfo.c: New file.
3164 * libgcc/config/i386/t-cpuinfo: New file.
3165 * libgcc/config.host: Include t-cpuinfo.
3166 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3167
394bef3f 31682012-04-24 Chao-ying Fu <fu@mips.com>
3169
3170 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3171
5617a3db 31722012-04-20 Thomas Schwinge <thomas@codesourcery.com>
3173
3174 struct siginfo vs. siginfo_t
3175
3176 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3177 siginfo_t instead of struct siginfo.
3178 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3179 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3180 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3181 (ia64_handle_unwabi): Likewise.
3182 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3183 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3184 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3185 (sh_fallback_frame_state): Likewise.
3186 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3187 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3188
49a280b5 31892012-04-02 H.J. Lu <hongjiu.lu@intel.com>
3190
3191 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3192 system call number.
3193
6c760a69 31942012-03-31 Eric Botcazou <ebotcazou@adacore.com>
3195
3196 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3197 if it hasn't been previously saved.
3198
59e4072c 31992012-03-29 H.J. Lu <hongjiu.lu@intel.com>
3200
3201 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3202 only for glibc.
3203
d32d7e3a 32042012-03-28 Georg-Johann Lay <avr@gjlay.de>
3205
3206 PR target/52737
3207 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3208 instead of __AVR_HAVE_8BIT_SP__.
3209
6aadb6e2 32102012-03-26 Tristan Gingold <gingold@adacore.com>
3211
3212 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3213 (unw_table_entry): Use unw_word instead of unsigned long.
3214 (_Unwind_FindTableEntry): Likewise.
3215 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3216 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3217 (_Unwind_FindTableEntry): Likewise.
3218 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3219 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3220 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3221 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3222 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3223 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3224 (uw_init_context_1, uw_install_context): Likewise.
3225 (unw_word): Move to unwind-ia64.h
3226
784576c7 32272012-03-26 Tristan Gingold <gingold@adacore.com>
3228
3229 * config/vms/vms-ucrt0.c: Update copyright years.
3230 Add a sanity check.
3231 (___gcc_main_flags): Declare.
3232 (__main): Check flags to remap argv and exit code.
3233 * config.host (*-*-*vms*): Adjust extra_parts.
3234 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3235 (crt0.o): Add.
3236
483ac460 32372012-03-22 Richard Earnshaw <rearnsha@arm.com>
3238
3239 * arm/lib1funcs.asm (ctzsi2): New function.
3240 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3241 * arm/t-linux (LIB1ASMFUNCS): Likewise.
3242 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3243 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3244 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3245 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3246
bdd1ee48 32472012-03-21 Andreas Tobler <andreast@fgznet.ch>
3248
3249 * config.host: Add bits to support powerpc64-*-freebsd*.
3250 * config/rs6000/freebsd-unwind.h: New file.
3251 * config/rs6000/t-freebsd64: New file.
3252
df85f61c 32532012-03-20 Richard Guenther <rguenther@suse.de>
3254
3255 PR gcov-profile/52627
3256 * libgcov.c (init_mx): Fix mutex name.
3257
46da3ce5 32582012-03-16 Tristan Gingold <gingold@adacore.com>
3259
3260 * config/ia64/vms-unwind.h: Remove ulong (and replace
3261 it by unw_reg where used). Define unw_reg with __int64.
3262
264a5d11 32632012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3264
3265 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3266 Solaris 8 handling.
3267 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3268 Solaris 8 handling.
3269 (sparc_is_sighandler): Likewise.
3270
42b3e3d6 32712012-03-13 H.J. Lu <hongjiu.lu@intel.com>
3272
3273 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3274 <= saved reg size.
3275
c2c4377d 32762012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3277
3278 * config/arm/crtn.S: Fix typo.
3279
3f2da048 32802012-03-13 Richard Guenther <rguenther@suse.de>
3281
3282 * libgcov.c: Remove stdio.h include and NULL un-define.
3283
b4e1521f 32842012-03-13 Richard Guenther <rguenther@suse.de>
3285
3286 PR target/52569
3287 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3288
1d110375 32892012-03-13 Richard Guenther <rguenther@suse.de>
3290
3291 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3292
0e6ad699 32932012-03-13 Richard Guenther <rguenther@suse.de>
3294
3295 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3296 and __gthread_mutex_init_function definitions.
3297
1f7e141e 32982012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3299
3300 * config.host (mips*-*-openbsd*): Remove.
3301
126b6848 33022012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3303
3304 * config.host: Remove alpha*-dec-osf5.1* handling.
3305 * config/alpha/gthr-posix.c: Remove.
3306 * config/alpha/libgcc-osf5.ver: Remove.
3307 * config/alpha/osf5-unwind.h: Remove.
3308 * config/alpha/t-osf-pthread: Remove.
3309 * config/alpha/t-slibgcc-osf: Remove.
3310 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3311 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3312 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3313 * mkmap-flat.awk: Remove osf_export handling.
3314
2e7d9be1 33152012-03-12 Richard Guenther <rguenther@suse.de>
3316
3317 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3318 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3319 (__gthread_mutex_init_function): New function.
3320 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3321
3322 PR gcov/49484
3323 * libgcov.c: Include gthr.h.
3324 (__gcov_flush_mx): New global variable.
3325 (init_mx, init_mx_once): New functions.
3326 (__gcov_flush): Protect self with a mutex.
3327 (__gcov_fork): Re-initialize mutex after forking.
3328 * unwind-dw2-fde.c: Change condition under which to use
3329 __GTHREAD_MUTEX_INIT_FUNCTION.
3330
8f852c44 33312012-03-12 Tristan Gingold <gingold@adacore.com>
3332
3333 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3334 * config/ia64/t-vms: Likewise.
3335
04d5d0ad 33362012-03-11 Michael Hope <michael.hope@linaro.org>
3337
7b9088d5 3338 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3339 for Thumb-2.
04d5d0ad 3340
3d14844b 33412012-03-07 Walter Lee <walt@tilera.com>
3342
3343 * config/tilepro/atomic.c: Rename "atomic_" prefix to
3344 "arch_atomic_".
3345 (atomic_xor): Rename and move definition to
3346 config/tilepro/atomic.h.
3347 (atomic_nand): Ditto.
3348 * config/tilepro/atomic.h: Rename "atomic_" prefix to
3349 "arch_atomic_".
3350 (arch_atomic_xor): Move from config/tilepro/atomic.c.
3351 (arch_atomic_nand): Ditto.
3352
3abce231 33532012-03-07 Georg-Johann Lay <avr@gjlay.de>
3354
3355 PR target/52507
3356 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3357
ee3ce577 33582012-03-07 Georg-Johann Lay <avr@gjlay.de>
3359
3360 PR target/52505
3361 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3362 from RAM.
3363
be20cbdd 33642012-03-07 Georg-Johann Lay <avr@gjlay.de>
3365
3366 PR target/52461
3367 PR target/52508
3368 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3369 if RAMPZ affects reading from RAM.
3370 (__tablejump_elpm__): Ditto.
3371 (.xload): Ditto.
3372 (__movmemx_hi): Ditto.
3373 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3374 (__do_global_dtors): Ditto.
3375 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3376 (__movmemx_hi): Ditto.
3377
e9b46b49 33782012-03-05 Richard Henderson <rth@redhat.com>
3379
3380 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3381 [ARM] (count_trailing_zeros): Use the builtin.
3382
2da7d23a 33832012-03-01 Kai Tietz <ktietz@redhat.com>
3384
3385 * soft-fp: Imported from glibc upstream.
3386
ed67de04 33872012-02-28 Kai Tietz <ktietz@redhat.com>
3388
3389 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3390 for mingw-targets as attribute gcc_struct.
3391
154b49cd 33922012-02-28 Ian Lance Taylor <iant@google.com>
3393
3394 * generic-morestack.c (__splitstack_releasecontext): Correct call
3395 to __morestack_release_segments.
3396
8d2259c8 33972012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3398
3399 PR target/52390
3400 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3401 for __linux__ when removing signals from __morestack_fullmask.
3402
97e18ae2 34032012-02-23 Georg-Johann Lay <avr@gjlay.de>
3404
3405 PR target/52261
3406 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3407
c3dd2023 34082012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3409
3410 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3411 instead of HAVE_INITFINI_ARRAY.
3412 * config/ia64/crtend.S: Likewise.
3413
7ed6dbef 34142012-02-20 Kai Tietz <ktietz@redhat.com>
3415
52cec843 3416 PR libstdc++/52300
3417 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3418
7ed6dbef 3419 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3420 to w32-unwind.h header.
3421
6a8f7b8b 34222012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3423
3424 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3425 (mips*-*-linux*): Remove t-slibgcc-libgcc.
3426 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3427 * config/mips/mips16.S (__mips16_rdhwr): Delete.
3428
7db87803 34292012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3430
3431 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3432
d114e642 34332012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3434
3435 PR libitm/52220
3436 * config/darwin-crt-tm.c: Correct typo.
154b49cd 3437
b8f45854 34382012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3439 Patrick Marlier <patrick.marlier@gmail.com>
3440
3441 PR libitm/52220
3442 * config/darwin-crt-tm.c: Generate dummy functions.
3443
621d0dd2 34442012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3445 Patrick Marlier <patrick.marlier@gmail.com>
3446
3447 PR libitm/52042
3448 * config/darwin-crt-tm.c (getTMCloneTable): New function.
3449 (__doTMRegistrations): Call it.
154b49cd 3450 (__doTMdeRegistrations): Likewise.
621d0dd2 3451
0b6cf66f 34522012-01-15 Georg-Johann Lay <avr@gjlay.de>
3453 Anatoly Sokolov <aesok@post.ru>
3454 Eric Weddington <eric.weddington@atmel.com>
3455
3456 PR target/52261
3457 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3458 (__epilogue_restores__): Ditto.
3459
99e0a0ad 34602012-02-15 Eric Botcazou <ebotcazou@adacore.com>
3461
3462 PR target/51921
3463 PR target/52205
3464 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3465 Solaris 11 and slightly reformat.
3466 (sparc_is_sighandler): Likewise.
3467
7ce78e23 34682012-02-14 Walter Lee <walt@tilera.com>
3469
3470 * config.host: Handle tilegx and tilepro.
3471 * config/tilegx/sfp-machine.h: New file.
3472 * config/tilegx/sfp-machine32.h: New file.
3473 * config/tilegx/sfp-machine64.h: New file.
3474 * config/tilegx/t-crtstuff: New file.
3475 * config/tilegx/t-softfp: New file.
3476 * config/tilegx/t-tilegx: New file.
3477 * config/tilepro/atomic.c: New file.
3478 * config/tilepro/atomic.h: New file.
3479 * config/tilepro/linux-unwind.h: New file.
3480 * config/tilepro/sfp-machine.h: New file.
3481 * config/tilepro/softdivide.c: New file.
3482 * config/tilepro/softmpy.S: New file.
3483 * config/tilepro/t-crtstuff: New file.
3484 * config/tilepro/t-tilepro: New file.
3485
f47763a6 34862012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3487
3488 PR libstdc++/51296
3489 PR libstdc++/51906
3490 * gthr-posix.h: Allow static initializer macros to be disabled.
3491 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3492
674cb359 34932012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3494
3495 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3496 Add t-slibgcc-libgcc to tmake_file.
3497 * config/mips/libgcc-mips16.ver: Revert previous patch.
3498 * config/mips/mips16.S (__mips16_rdhwr): Hide.
3499
b9fdd12b 35002012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3501 Jayant R Sonar <jayant.sonar@kpitcummins.com>
3502
3503 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3504 * config/cr16/crti.S: New file.
3505 * config/cr16/crtlibid.S: New file.
3506 * config/cr16/crtn.S: New file.
3507 * config/cr16/lib1funcs.S: New file.
3508 * config/cr16/t-cr16: New file.
3509 * config/cr16/t-crtlibid: New file.
3510 * config/cr16/unwind-dw2.h: New file.
3511 * config/cr16/unwind-cr16.c: New file.
3512 * config/cr16/divmodhi3.c: New file.
3513
01cdc5b2 35142012-01-25 Alan Modra <amodra@gmail.com>
3515
3516 * config/rs6000/t-linux64: Delete. Move..
3517 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3518 * config/rs6000/t-linux: ..and libgcc flags to here.
3519
af8e12d0 35202012-01-22 Douglas B Rupp <rupp@gnat.com>
3521
3522 * config.host (i[34567]86-*-interix3*):
01cdc5b2 3523 Change triplet to i[34567]86-*-interix[3-9]*.
af8e12d0 3524 * configure: Regenerate.
3525
a657080a 35262012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
3527 Richard Sandiford <rdsandiford@googlemail.com>
3528
3529 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
3530 * config/mips/mips16.S (__mips16_rdhwr): New function.
3531 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
3532
72e76fa0 35332012-01-11 Nathan Sidwell <nathan@acm.org>
3534
3535 * libgcov.c (__gcov_init): Ignore objects with no functions.
3536
ed2541ea 35372012-01-10 Georg-Johann Lay <avr@gjlay.de>
3538
3539 PR target/49868
3540 Extend __pgmx semantics to linearize memory.
3541 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
3542 * config/avr/lib1funcs.S (__xload_1): New function.
3543 (__movmemx_qi, __movmemx_hi): New functions.
3544 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
3545 semantics.
ddf97006 3546
6e647e51 35472012-01-09 Eric Botcazou <ebotcazou@adacore.com>
3548
3549 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
3550 purported sigacthandler address isn't null before dereferencing it.
3551 (sparc_is_sighandler): Likewise.
3552
af185b18 35532012-01-09 Eric Botcazou <ebotcazou@adacore.com>
3554
3555 PR ada/41929
3556 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
3557 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
3558 (sparc_is_sighandler): Likewise.
3559 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
3560
2ff958e6 35612012-01-06 Tristan Gingold <gingold@adacore.com>
3562
3563 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
3564 compatibility thunks...
3565 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
3566 (crtbeginS.o, crtendS.o): ... and these to ...
3567 * config/ia64/t-ia64-elf: ... this new file.
3568 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
3569 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
3570
ce94380e 35712012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3572
3573 * configure: Regenerate.
3574 * config/s390/t-crtstuff: Remove -fPIC.
3575
ca4c7704 35762012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3577
3578 PR bootstrap/51006
3579 * enable-execute-stack-mprotect.c (getpagesize): Do not define
3580 for NetBSD.
3581
b32bc361 35822012-01-02 Georg-Johann Lay <avr@gjlay.de>
3583
3584 PR target/51345
3585 * config/avr/lib1funcs.S: Remove FIXME comments.
3586 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
3587
83921eda 35882012-01-02 Georg-Johann Lay <avr@gjlay.de>
3589
3590 Implement light-weight DImode support.
3591 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
3592 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
3593 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
3594 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
3595
6071b85b 35962011-12-30 Nathan Sidwell <nathan@acm.org>
3597
3598 * libgcov.c (gcov_crc32): Remove global var.
3599 (free_fn_data): New function.
3600 (buffer_fn_data): Pass in filename, more robust error recovery.
3601 (crc32_unsigned): New function.
3602 (gcov_exit): More robust detection of new program. More robust
3603 error recovery.
3604 (__gcov_init): Do not update program's crc here.
3605
611b540a 36062011-12-21 Tristan Gingold <gingold@adacore.com>
3607
3608 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
3609
ddf97006 36102011-12-21 Ian Lance Taylor <iant@google.com>
3611
3612 * config/i386/morestack.S: Simplify CFI opcodes throughout.
3613
0d84f164 36142011-12-20 Ian Lance Taylor <iant@google.com>
3615
3616 * config/i386/morestack.S (__morestack_non_split): If there is
3617 enough stack space already, don't split. Ask for more stack space
3618 than we required.
3619
d77ac56d 36202011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
3621
3622 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
3623 `sys/sdt.h'.
3624 (_Unwind_DebugHook): New function.
3625 (uw_restore_core_regs): New define.
3626 (unwind_phase2): Use uw_restore_core_regs instead of
3627 restore_core_regs.
3628 (unwind_phase2_forced): Likewise.
3629 (__gnu_Unwind_Resume): Likewise.
3630
80898d14 36312011-12-20 Uros Bizjak <ubizjak@gmail.com>
3632
3633 * config/alpha/linux-unwind.h: Update copyright years.
3634 (MD_FROB_UPDATE_CONTEXT): New define.
3635 (alpha_frob_update_context): New function.
3636
20dbbfaf 36372011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
3638
3639 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
3640 tmake_file rather replacing it.
3641
d42ef213 36422011-12-15 Iain Sandoe <iains@gcc.gnu.org>
3643
3644 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
80898d14 3645 function is not used for PPC64.
d42ef213 3646 (save_world): Amend comments. Update the VRsave mask to reflect the
3647 saved regs.
3648 (rest_world): Update comments, do not clobber r10, do not use r8.
3649 (eh_rest_world_r10): Amend comments, do not use r8.
3650 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
3651 no longer used, move restore of CR and target address to the end of
3652 the routine.
3653
3efc00f6 36542011-12-14 H.J. Lu <hongjiu.lu@intel.com>
3655
3656 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
3657 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
3658
fa0431fa 36592011-12-14 Georg-Johann Lay <avr@gjlay.de>
3660
3661 PR target/49313
3662 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
3663 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
3664
18e6a060 36652011-12-11 Eric Botcazou <ebotcazou@adacore.com>
3666
3667 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
3668
0dcd7d21 36692011-12-09 Georg-Johann Lay <avr@gjlay.de>
3670
3671 PR target/49313
3672 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
3673 * config/avr/lib1funcs.S (__muldi3): New function.
3674
a41e0f2d 36752011-12-06 Andrew Pinski <apinski@cavium.com>
3676
3677 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
3678 size of func_ptr.
3679 (__frame_dummy_init_array_entry): Likewise.
3680
8c8193e1 36812011-12-06 Georg-Johann Lay <avr@gjlay.de>
3682
3683 Forward-port from gcc-4_6-branch r181936 2011-12-02.
3684
3685 PR target/51345
3686 PR target/51002
3687 * config/avr/lib1funcs.S (__prologue_saves__,
3688 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
3689 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
3690
e2306166 36912011-12-04 Iain Sandoe <iains@gcc.gnu.org>
3692
3693 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
3694
61437698 36952011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3696
3697 PR other/51272
3698 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
3699 (_ITM_deregisterTMCloneTable): Likewise.
3700 (__register_frame_info): Fix unused warning.
3701 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
3702 pthread_default_stacksize_np): Likewise.
3703 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
80898d14 3704
78e515f7 37052011-11-29 DJ Delorie <dj@redhat.com>
3706
3707 * config.host (rl78-*-elf): New case.
3708 * config/rl78: New directory for the Renesas RL78.
3709
adce431d 37102011-11-29 Bernd Schmidt <bernds@codesourcery.com>
3711
3712 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
3713 formatting.
3714
738c50b8 37152011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3716
3717 PR other/51022
3718 * config/rs6000/t-savresfgpr: New file.
3719 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
3720 $(srcdir)/config/rs6000/eabi.S.
3721 * config/rs6000/t-ppccomm-ldbl: Remove.
3722 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
3723 tmake_file.
3724 (powerpc-*-eabispe*): Likewise.
3725 (powerpc-*-eabi*): Likewise.
3726 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3727 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
3728 to tmake_file, remove rs6000/t-ppccomm-ldbl.
3729 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
3730 tmake_file.
3731 (powerpc-*-eabisim*): Likewise.
3732 (powerpc-*-elf*): Likewise.
3733 (powerpc-*-eabialtivec*): Likewise.
3734 (powerpc-xilinx-eabi*): Likewise.
3735 (powerpc-*-rtems*): Likewise.
3736 (powerpcle-*-elf*): Likewise.
3737 (powerpcle-*-eabisim*): Likewise.
3738 (powerpcle-*-eabi*): Likewise.
3739
bda4944f 37402011-11-27 Ian Lance Taylor <iant@google.com>
3741
3742 * generic-morestack.c (__splitstack_find): Check for NULL old
3743 stack value.
3744 (__splitstack_resetcontext): New function.
3745 (__splitstack_releasecontext): New function.
3746 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3747
00b708da 37482011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3749
3750 * config/darwin-crt-tm.c: Correct comments, use correct licence.
3751
7c66781a 37522011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3753
3754 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
3755
5bb27b7c 37562011-11-26 Richard Henderson <rth@redhat.com>
3757
3758 * config/m68k/linux-atomic.c: New file.
3759 * config/m68k/t-linux: New file.
3760 * config.host (m68k-uclinux, m68k-linux): Use it.
3761
d9ca835b 37622011-11-26 Richard Henderson <rth@redhat.com>
3763
3764 * crtstuff.c (__TMC_LIST__): Mark used not unused.
3765 (__TMC_END__): Only declare if hidden is available; in the definition,
3766 if hidden is unavailable add a null record.
3767 (deregister_tm_clones, register_tm_clones): New.
3768 (__do_global_dtors_aux, frame_dummy): Use them.
3769 (__do_global_dtors, __do_global_ctors_1): Likewise.
3770
8f8ba4fc 37712011-11-22 Iain Sandoe <iains@gcc.gnu.org>
3772
3773 * config/darwin-crt-tm.c: New file.
3774 * config.host (darwin): Build crttms.o crttme.o to provide
3775 startup and shutdown for tm clones.
3776 * config/t-darwin (crttms.o): New build rule.
3777 (crttme.o): Likewise.
3778
e426aa2b 37792011-11-21 Hans-Peter Nilsson <hp@axis.com>
3780
3781 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
3782 et al.
3783
2d171408 37842011-11-21 Richard Henderson <rth@redhat.com>
3785
3786 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
3787 (__TMC_LIST__, __TMC_END__): New.
3788 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
3789 (__do_global_dtors): Likewise.
3790 (frame_dummy): Call _ITM_registerTMCloneTable.
3791 (__do_global_ctors_1): Likewise.
3792
08417926 37932011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3794
3795 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
3796 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3797 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
3798 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
3799 * config/i386/t-darwin64: Remove.
3800 * config/sh/t-netbsd (LIB2ADD): Remove.
3801
cde39152 38022011-11-21 Georg-Johann Lay <avr@gjlay.de>
3803
3804 PR target/49313
3805 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
3806 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
3807 * config/avr/lib1funcs.S (wmov): New assembler macro.
3808 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
3809 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
3810 (__udivmod64): New function.
3811 (__negdi2): New function.
3812
30957bde 38132011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
3814
3815 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
3816 *-*-freebsd*aout*): Remove.
3817
a504f092 38182011-11-20 Hans-Peter Nilsson <hp@axis.com>
3819
3820 * static-object.mk (c_flags-$o): Save c_flags.
3821 ($(base)$(objext)): Use it.
3822
31da0b3d 38232011-11-18 Steve Ellcey <sje@cup.hp.com>
3824
3825 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
3826
5bd39e93 38272011-11-18 Georg-Johann Lay <avr@gjlay.de>
3828
3829 PR target/49868
3830 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
3831 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
3832 New functions.
3833
a3bfd5b2 38342011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3835
3836 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
3837 functions.
80898d14 3838 (aeabi_uidivmod): Likewise.
a3bfd5b2 3839 (umodsi3): Likewise.
3840 (divsi3): Likewise.
3841 (aeabi_idivmod): Likewise.
3842 (modsi3): Likewise.
3843
3512ee5b 38442011-11-16 Tristan Gingold <gingold@adacore.com>
3845
3846 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
3847
4202ef11 38482011-11-15 Georg-Johann Lay <avr@gjlay.de>
3849
3850 PR target/49868
3851 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
3852 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
3853
ab4fdb3d 38542011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3855
3856 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
3857 tmake_file list.
3858 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
3859 * config/pa/t-stublib64: Delete.
3860
eee57ca7 38612011-11-12 Richard Henderson <rth@redhat.com>
3862
3863 * config/rs6000/linux-unwind.h (frob_update_context): Properly
3864 cast the pointer argument to _Unwind_SetGRPtr.
3865
0c74e0e8 38662011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3867
3868 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
3869
23371076 38702011-11-09 Ian Lance Taylor <iant@google.com>
3871
3872 * generic-morestack.c: Include <string.h>.
3873 (uintptr_type): Define.
3874 (struct initial_sp): Add dont_block_signals field. Reduce size of
3875 extra array by 1.
3876 (allocate_segment): Set prev field to NULL. Don't set
3877 __morestack_current_segment or __morestack_segments.
3878 (__generic_morestack): Update current->prev and *pp after calling
3879 allocate_segment.
3880 (__morestack_block_signals): Don't do anything if
3881 dont_block_signals is set.
3882 (__morestack_unblock_signals): Likewise.
3883 (__generic_findstack): Check for initial_sp == NULL. Add casts to
3884 uintptr_type.
3885 (__splitstack_block_signals): New function.
3886 (enum __splitstack_content_offsets): Define.
3887 (__splitstack_getcontext, __splitstack_setcontext): New functions.
3888 (__splitstack_makecontext): New function.
3889 (__splitstack_block_signals_context): New function.
3890 (__splitstack_find_context): New function.
3891 * config/i386/morestack.S (__morestack_get_guard): New function.
3892 (__morestack_set_guard, __morestack_make_guard): New functions.
3893 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3894
2d00fffd 38952011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3896
3897 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
3898 (i[34567]86-*-mingw*): ... here.
3899 (x86_64-*-mingw*): ... here.
3900
6886ca41 39012011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3902
3903 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
3904
5014df5d 39052011-11-07 Nathan Sidwell <nathan@acm.org>
3906
3907 * libgcov.c (struct gcov_fn_buffer): New struct.
3908 (buffer_fn_data): New helper.
3909 (gcov_exit): Rework for new gcov data structures.
3910
702a5eec 39112011-11-07 Georg-Johann Lay <avr@gjlay.de>
3912
3913 PR target/49313
3914 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
3915
2219274c 39162011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3917
3918 * config.host (tmake_file): Correct comment.
3919 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
3920 t-libgcc-pic.
3921 (bfin*-uclinux*): Likewise.
3922 (bfin*-linux-uclibc*): Likewise.
3923 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
3924
3925 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
3926 assigning.
3927 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3928 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
3929 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3930 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
3931 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3932 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
3933 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
3934 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3935 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
3936 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
3937 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
3938 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
3939 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
3940
3941 * config/bfin/t-elf: Remove.
3942 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
3943
fbb6f195 39442011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3945
3946 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
3947 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
3948 (lm32-*-elf*, lm32-*-rtems*): Split into ...
3949 (lm32-*-elf*): ... this.
3950 (lm32-*-rtems*): ... and this.
3951 Add to tmake_file.
3952 (m32r-*-rtems*): Add to tmake_file.
3953 (moxie-*-rtems*): Likewise.
3954 (sparc-*-rtems*): Likewise.
3955 Remove t-rtems from tmake_file.
3956 (sparc64-*-rtems*): Likewise.
3957 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
3958 instead.
3959
7336fab9 39602011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3961
3962 PR bootstrap/50982
3963 * config/gthr-posix.h: Move ...
3964 * gthr-posix.h: ... here.
3965 * config/gthr-lynx.h: Reflect this.
3966 * config/gthr-vxworks.h: Likewise.
3967 * config/rs6000/gthr-aix.h: Likewise.
3968 * configure.ac (target_thread_file): Likewise.
3969 * configure: Regenerate.
3970
6c10eb68 39712011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
3972
3973 * config.host (arm*-*-rtemseabi*): New target.
3974
3fe1f35b 39752011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3976
3977 PR other/50991
3978 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
3979 extra-parts.
3980
d19f5793 39812011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
3982
3983 * config.host (epiphany-*-elf*): New configuration.
3984 * config/epiphany: New Directory.
3985
02c5dcd9 39862011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
3987
3988 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3989 * config/avr/t-rtems: New.
3990 Filter out _exit from LIB1ASMFUNCS.
3991
f3223c0b 39922011-11-04 David S. Miller <davem@davemloft.net>
3993
3994 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3995 * configure: Rebuild.
3996
994652ec 39972011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3998
3999 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
4000 variable.
4001
02d9a2c3 40022011-11-04 Georg-Johann Lay <avr@gjlay.de>
4003
4004 PR target/50931
4005 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
4006 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
4007
81b973fe 40082011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
4009
4010 PR target/50989
4011 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
4012
ae1b140e 40132011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4014
4015 * config/c6x/t-elf (LIB2ADDEH): Set.
4016 * config/c6x/t-c6x-elf: Remove.
4017
0a76a5ff 40182011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4019
4020 * config/i386/sol2-ci.S: Rename to ...
4021 * config/i386/crti.S: ... this.
4022 * config/i386/sol2-cn.S: Rename to ...
4023 * config/i386/crtn.S: ... this.
4024 * config/sparc/sol2-ci.S: Rename to ...
4025 * config/sparc/crti.S: ... this.
4026 * config/sparc/sol2-cn.S: Rename to ...
4027 * config/sparc/crtn.S: ... this.
4028 * config/t-sol2 (CUSTOM_CRTIN): Remove.
4029 (crti.o, crtn.o): Remove.
4030
26f2feff 40312011-11-04 Tristan Gingold <gingold@adacore.com>
4032
4033 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
4034
131667b5 40352011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
4036
4037 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
4038
af64ed6f 40392011-11-03 Hans-Peter Nilsson <hp@axis.com>
4040
4041 * config.host (crisv32-*-none, cris-*-none): Remove.
4042 (crisv32-*-elf): Append to tmake_file, don't just set it.
4043 (cris-*-elf): Add missing t-fdpbit to tmake_file.
4044
4dad46bd 40452011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4046
4047 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
4048 (ecrtn$(objext)): Likewise.
4049 (ncrti$(objext)): Likewise.
4050 (ncrtn$(objext)): Likewise.
4051
37626bf8 40522011-11-03 Andreas Schwab <schwab@redhat.com>
4053
4054 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
4055
95de80bc 40562011-11-02 David S. Miller <davem@davemloft.net>
4057
4058 * configure.ac: Set host_address on sparc too.
4059 * configure: Regenerate.
4060 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
4061 based upon host_address.
4062 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
4063
b5347955 40642011-11-02 Jason Merrill <jason@redhat.com>
4065
4066 * config/rs6000/t-ppccomm: Add missing \.
4067
630d52ca 40682011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4069
4070 * gthr-single.h, gthr.h: New files.
4071 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
4072 config/gthr-vxworks.h, config/i386/gthr-win32.h,
4073 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
4074 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
4075 * config/i386/gthr-win32.c: Include "gthr-win32.h".
4076 * configure.ac (thread_header): New variable.
4077 Set it depending on target_thread_file.
4078 (gthr-default.h): Link from $thread_header.
4079 * configure: Regenerate.
4080 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
4081
022a2799 40822011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4083
4084 * configure.ac (tm_file_): New variable.
4085 Determine from tm_file.
4086 (tm_file, tm_defines): Substitute.
4087 * configure: Regenerate.
4088 * mkheader.sh: New file.
4089 * Makefile.in (clean): Remove libgcc_tm.h.
4090 ($(objects)): Depend on libgcc_tm.h.
4091 (libgcc_tm_defines, libgcc_tm_file): New variables.
4092 (libgcc_tm.h, libgcc_tm.stamp): New targets.
4093 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
4094 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
4095 ($(extra-parts)): Depend on libgcc_tm.h.
4096 * config.host (tm_defines, tm_file): New variable.
4097 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
4098 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
4099 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
4100 (avr-*-rtems*): Likewise.
4101 (avr-*-*): Likewise.
4102 (frv-*-elf): Likewise.
4103 (frv-*-*linux*): Likewise.
4104 (h8300-*-rtems*): Likewise.
4105 (h8300-*-elf*): Likewise.
4106 (i[34567]86-*-darwin*): Likewise.
4107 (x86_64-*-darwin*): Likewise.
4108 (rx-*-elf): Likewise.
4109 (tic6x-*-uclinux): Likewise.
4110 (tic6x-*-elf): Likewise.
4111 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
4112 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
4113 * config/i386/cygming-crtbegin.c: Likewise.
4114 * config/i386/cygming-crtend.c: Likewise.
4115 * config/ia64/fde-vms.c: Likewise.
4116 * config/ia64/unwind-ia64.c: Likewise.
4117 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4118 * config/rs6000/darwin-fallback.c: Likewise.
4119 * config/stormy16/lib2funcs.c: Likewise.
4120 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4121 * crtstuff.c: Likewise.
4122 * dfp-bit.h: Likewise.
4123 * emutls.c: Likewise.
4124 * fixed-bit.c: Likewise.
4125 * fp-bit.c: Likewise.
4126 * generic-morestack-thread.c: Likewise.
4127 * generic-morestack.c: Likewise.
4128 * libgcc2.c: Likewise.
4129 * libgcov.c: Likewise.
4130 * unwind-dw2-fde-dip.c: Likewise.
4131 * unwind-dw2-fde.c: Likewise.
4132 * unwind-dw2.c: Likewise.
4133 * unwind-sjlj.c: Likewise.
4134
4dc4ff49 41352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4136
4137 * configure.ac: Include ../config/picflag.m4.
4138 (GCC_PICFLAG): Call it.
4139 Substitute.
4140 * configure: Regenerate.
4141 * Makefile.in (gcc_srcdir): Remove.
4142 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4143 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4144 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4145 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4146 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4147 Use $<.
4148 Remove comment.
4149 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4150 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4151 to refer to libgcc2.c.
4152 Use $<.
4153 * config/darwin-64.c: New file.
4154 * config/darwin-crt3.c: Remove comment.
4155 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4156 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4157 config/udivmodsi4.c: New files.
4158 * config/memcmp.c, config/memcpy.c, config/memmove.c,
4159 config/memset.c: New files.
4160 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4161 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4162 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4163 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4164 * config/t-openbsd-thread: New file.
4165 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4166 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4167 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4168 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4169 qrnnd.S.
4170 Adapt filename.
4171 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4172 to refer to gthr-posix.c.
4173 * config/alpha/t-vms (LIB2ADD): Set.
4174 * config/alpha/vms-gcc_shell_handler.c: New file.
4175 * config/arm/bpabi.c, config/arm/fp16.c,
4176 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4177 config/arm/unaligned-funcs.c: New files.
4178 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4179 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4180 * config/arm/t-linux: Likewise.
4181 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4182 * config/arm/t-netbsd: New file.
4183 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4184 * config/arm/t-symbian (LIB2ADD_ST): Set.
4185 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4186 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4187 * config/bfin/t-elf: New file.
4188 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4189 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4190 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4191 config/c6x/ltf.c: New files.
4192 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4193 (HOST_LIBGCC2_CFLAGS): Set.
4194 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4195 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4196 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4197 New files.
4198 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4199 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4200 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4201 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4202 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4203 files.
4204 * config/frv/t-frv (LIB2ADD): Set.
4205 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4206 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4207 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4208 config/h8300/popcounthi2.c: New files.
4209 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4210 * config/i386/gthr-win32.c: New file.
4211 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4212 * config/i386/t-cygwin: Likewise.
4213 * config/i386/t-darwin, config/i386/t-darwin64,
4214 config/i386/t-gthr-win32, config/i386/t-interix: New files.
4215 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4216 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4217 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4218 * config/ia64/quadlib.c: New file.
4219 * config/ia64/t-hpux (LIB2ADD): Set.
4220 * config/ia64/t-ia64: Add comment.
4221 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4222 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4223 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4224 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4225 * config/m32c/t-m32c (LIB2ADD): Set.
4226 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4227 * config/m32r/t-m32r: Likewise.
4228 * config/m68k/fpgnulib.c: New file.
4229 * config/m68k/t-floatlib (LIB2ADD): Set.
4230 (xfgnulib.c): New target.
4231 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4232 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4233 * config/mep/t-mep (LIB2ADD): Set.
4234 * config/microblaze/divsi3.asm: Rename to divsi3.S.
4235 * config/microblaze/moddi3.asm: Rename to moddi3.S.
4236 * config/microblaze/modsi3.asm: Rename to modsi3.S.
4237 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4238 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4239 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4240 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4241 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4242 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4243 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4244 New files.
4245 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4246 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4247 * config/pa/fptr.c, config/pa/lib2funcs.S,
4248 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4249 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4250 (LIB2ADD, LIB2ADD_ST): Set.
4251 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4252 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4253 Set.
4254 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4255 * config/pdp11/t-pdp11: New file.
4256 * config/picochip/libgccExtras/adddi3.S,
4257 config/picochip/libgccExtras/ashlsi3.S,
4258 config/picochip/libgccExtras/ashrsi3.S,
4259 config/picochip/libgccExtras/clzsi2.S,
4260 config/picochip/libgccExtras/cmpsi2.S,
4261 config/picochip/libgccExtras/divmod15.S,
4262 config/picochip/libgccExtras/divmodhi4.S,
4263 config/picochip/libgccExtras/divmodsi4.S,
4264 config/picochip/libgccExtras/lshrsi3.S,
4265 config/picochip/libgccExtras/parityhi2.S,
4266 config/picochip/libgccExtras/popcounthi2.S,
4267 config/picochip/libgccExtras/subdi3.S,
4268 config/picochip/libgccExtras/ucmpsi2.S,
4269 config/picochip/libgccExtras/udivmodhi4.S,
4270 config/picochip/libgccExtras/udivmodsi4.S: New files.
4271 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4272 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4273 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4274 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4275 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4276 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4277 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
4278 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4279 files.
4280 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4281 (HOST_LIBGCC2_CFLAGS): Set.
4282 * config/rs6000/t-darwin64: New file.
4283 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4284 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4285 * config/rs6000/t-ppccomm (LIB2ADD): Add
4286 $(srcdir)/config/rs6000/tramp.S.
4287 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4288 Add $(srcdir)/config/rs6000/eabi.S.
4289 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4290 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4291 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4292 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4293 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4294 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4295 * config/rs6000/tramp.S: New file.
4296 * config/s390/t-tpf: Remove.
4297 * config/sh/linux-atomic.S: New file.
4298 * config/sh/t-linux (LIB2ADD): Set.
4299 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4300 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4301 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4302 to unwind-dw2.c.
4303 (HOST_LIBGCC2_CFLAGS): Set.
4304 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4305 * config/spu/divmodti4.c, config/spu/divv2df3.c,
4306 config/spu/float_disf.c, config/spu/float_unsdidf.c,
4307 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4308 config/spu/mfc_multi_tag_release.c,
4309 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4310 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4311 config/spu/multi3.c: New files.
4312 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4313 (HOST_LIBGCC2_CFLAGS): Set.
4314 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4315 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4316 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4317 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4318 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4319 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4320 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4321 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4322 config/stormy16/umodsi3.c: New files.
4323 * config/xtensa/lib2funcs.S: New file.
4324 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4325 * config/xtensa/t-xtensa (LIB2ADD): Set.
4326 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4327 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4328 Add t-freebsd-thread to tmake_file for posix threads.
4329 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4330 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4331 (*-*-lynxos*): Likewise.
4332 (*-*-netbsd*): Likewise.
4333 (*-*-openbsd*): Likewise.
4334 Add t-openbsd-thread to tmake_file for posix threads.
4335 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4336 (*-*-vxworks*): Set tmake_file.
4337 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4338 (alpha*-*-freebsd*): Likewise.
4339 (alpha*-*-netbsd*): Likewise.
4340 (alpha*-*-openbsd*): Likewise.
4341 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4342 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4343 (alpha*-dec-*vms*): Likewise.
4344 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4345 (bfin*-elf*): Add bfin/t-elf to tmake_file.
4346 (bfin*-uclinux*): Likewise.
4347 (bfin*-linux-uclibc*): Likewise.
4348 (crisv32-*-elf): Add cris/t-cris to tmake_file.
4349 (crisv32-*-none): Likewise.
4350 (cris-*-elf): Likewise.
4351 (cris-*-none): Likewise.
4352 (cris-*-linux*, crisv32-*-linux*): Likewise.
4353 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4354 tmake_file.
4355 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4356 tmake_file.
4357 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4358 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4359 (x86_64-*-elf*): Likewise.
4360 (i[34567]86-*-nto-qnx*): Likewise.
4361 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4362 win32 threads.
4363 (x86_64-*-mingw*): Likewise.
4364 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4365 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4366 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4367 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4368 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4369 tmake_file.
4370 (mipsisa64sr71k-*-elf*): Likewise.
4371 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4372 (mips-*-elf*, mipsel-*-elf*): Likewise.
4373 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4374 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4375 (mips*-*-rtems*): Likewise.
4376 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4377 to tmake_file.
4378 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4379 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4380 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4381 (spu-*-elf*): Likewise.
4382 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4383
9213d2eb 43842011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4385
4386 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4387 $(srcdir) to refer to $(LIB1ASMSRC).
4388 Use $<.
4389 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4390 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4391 config/arm/lib1funcs.S: New files.
4392 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4393 * config/arm/t-arm: New file.
4394 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4395 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4396 config/arm/t-strongarm-elf: New files.
4397 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4398 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4399 * config/avr/lib1funcs.S: New file.
4400 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4401 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4402 * config/c6x/lib1funcs.S: New file.
4403 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4404 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4405 * config/frv/lib1funcs.S: New file.
4406 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4407 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4408 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4409 * config/ia64/__divxf3.asm: Rename to ...
4410 * config/ia64/__divxf3.S: ... this.
4411 Adapt lib1funcs.asm filename.
4412 * config/ia64/_fixtfdi.asm: Rename to ...
4413 * config/ia64/_fixtfdi.S: ... this.
4414 Adapt lib1funcs.asm filename.
4415 * config/ia64/_fixunstfdi.asm: Rename to ...
4416 * config/ia64/_fixunstfdi.S: ... this.
4417 Adapt lib1funcs.asm filename.
4418 * config/ia64/_floatditf.asm: Rename to ...
4419 * config/ia64/_floatditf.S: ... this.
4420 Adapt lib1funcs.asm filename.
4421 * config/ia64/lib1funcs.S: New file.
4422 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4423 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4424 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4425 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4426 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4427 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4428 * config/mep/lib1funcs.S: New file.
4429 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4430 * config/mips/mips16.S: New file.
4431 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4432 * config/pa/milli64.S: New file.
4433 * config/pa/t-linux, config/pa/t-linux64: New files.
4434 * config/picochip/lib1funcs.S: New file.
4435 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4436 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4437 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4438 * config/sh/t-netbsd: New file.
4439 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4440 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4441 * config/sh/t-sh64: New file.
4442 * config/sparc/lb1spc.S: New file.
4443 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4444 filename.
4445 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4446 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4447 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4448 config/xtensa/lib1funcs.S: New files.
4449 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4450 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4451 tmake_file.
4452 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4453 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4454 (arm*-*-linux*): Likewise.
4455 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4456 arm*-*-linux-*eabi, add arm/t-linux otherwise.
4457 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4458 (arm*-*-ecos-elf): Likewise.
4459 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4460 (arm*-*-rtems*): Likewise.
4461 (arm*-*-elf): Likewise.
4462 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4463 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4464 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4465 (bfin*-uclinux*): Likewise.
4466 (bfin*-linux-uclibc*): Likewise.
4467 (bfin*-rtems*): Likewise.
4468 (bfin*-*): Likewise.
4469 (fido-*-elf): Merge into m68k-*-elf*.
4470 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4471 (frv-*-*linux*): Add frv/t-frv to tmake_file.
4472 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4473 (h8300-*-elf*): Likewise.
4474 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4475 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4476 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4477 (i[34567]86-*-mingw*): Likewise.
4478 (x86_64-*-mingw*): Likewise.
4479 (i[34567]86-*-interix3*): Likewise.
4480 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4481 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4482 (m68k-*-elf*): Also handle fido-*-elf.
4483 Add m68k/t-floatlib to tmake_file.
4484 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4485 (m68k-*-linux*): Likewise.
4486 (m68k-*-rtems*): Likewise.
4487 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4488 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4489 sh64*-*-*.
4490 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4491 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4492 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4493 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4494 sh/t-netbsd to tmake_file.
4495 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4496 (sh-*-rtems*): Add sh/t-sh to tmake_file.
4497 (sh-wrs-vxworks): Likewise.
4498 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4499 *-leon[3-9]*.
4500 (v850*-*-*): Add v850/t-v850 to tmake_file.
4501 (vax-*-linux*): Add vax/t-linux to tmake_file.
4502 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4503
237490bf 45042011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4505
4506 * crtstuff.c: New file.
4507 * Makefile.in (CRTSTUFF_CFLAGS): Define.
4508 (CRTSTUFF_T_CFLAGS): Define.
4509 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4510 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4511 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4512 crtstuff.c.
4513 Use $<.
4514 (crtbeginT.o): Use $(objext).
4515 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4516 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4517 (gcc-extra-parts): Remove.
4518 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4519 Set extra_parts.
4520 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4521 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4522 Add t-crtstuff-pic to tmake_file.
4523 (*-*-lynxos*): New case.
4524 Set tmake_file, extra_parts.
4525 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4526 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4527 *-*-netbsdelf[2-9]*.
4528 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
4529 (*-*-rtems*): Set extra_parts.
4530 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
4531 (*-*-uclinux*): New case.
4532 Set extra_parts.
4533 (*-*-vms*): New case.
4534 Set tmake_file, extra_parts.
4535 (*-*-elf): Set extra_parts.
4536 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
4537 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
4538 vms/t-vms64.
4539 Set extra_parts.
4540 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
4541 Set extra_parts.
4542 (arm*-*-freebsd*): Add t-crtin to tmake_file.
4543 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
4544 (arm-wrs-vxworks): Append to tmake_file.
4545 Set extra_parts.
4546 (arm*-*-uclinux*): Set extra_parts.
4547 (arm*-*-ecos-elf): Likewise.
4548 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
4549 arm*-*-eabi*.
4550 (arm*-*-rtems*): Set extra_parts.
4551 (arm*-*-elf): Likewise.
4552 (avr-*-rtems*): Clear extra_parts.
4553 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
4554 Set extra_parts.
4555 (bfin*-uclinux*): Likewise.
4556 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
4557 (bfin*-rtems*): Append to tmake_file.
4558 Set extra_parts.
4559 (bfin*-*): Likewise.
4560 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
4561 (crisv32-*-elf): ... this.
4562 (crisv32-*-none): ... this.
4563 (cris-*-elf, cris-*-none): New cases.
4564 Add cris/t-elfmulti to tmake_file.
4565 (fr30-*-elf): Append to tmake_file.
4566 Set extra_parts.
4567 (frv-*-elf): Append to tmake_file, add frv/t-frv.
4568 Set extra_parts.
4569 (h8300-*-rtems*): Append to tmake_file.
4570 Set extra_parts.
4571 (h8300-*-elf*): Likewise.
4572 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
4573 Set extra_parts.
4574 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
4575 Set extra_parts.
4576 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
4577 (x86_64-*-elf*): Likewise.
4578 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
4579 (x86_64-*-freebsd*): Likewise.
4580 (x86_64-*-netbsd*): Likewise.
4581 (i[34567]86-*-linux*): Likewise.
4582 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4583 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4584 (x86_64-*-linux*): Likewise.
4585 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4586 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
4587 tmake_file.
4588 Set extra_parts.
4589 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
4590 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
4591 Append to extra_parts, remove crtbegin.o, crtend.o.
4592 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
4593 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
4594 crtend.o, crtbeginS.o, crtendS.o.
4595 (ia64*-*-linux*): Comment extra_parts.
4596 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
4597 Set extra_parts.
4598 (iq2000*-*-elf*): Clear extra_parts.
4599 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
4600 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
4601 (m32r-*-elf*, m32r-*-rtems*): Split off ...
4602 (m32r-*-rtems*): ... this.
4603 Add m32r/t-m32r to tmake_file.
4604 (m68k-*-elf*): Add t-crtin to tmake_file.
4605 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
4606 (mcore-*-elf): Likewise.
4607 (microblaze*-*-*): Set extra_parts.
4608 (mips*-sde-elf*): New case.
4609 Set tmake_file, extra_parts.
4610 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4611 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4612 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
4613 tmake_file.
4614 Set extra_parts.
4615 (mipsisa64sr71k-*-elf*): Likewise.
4616 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4617 (mips-*-elf*, mipsel-*-elf*): Likewise.
4618 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4619 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
4620 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4621 (mips*-*-rtems*): Likewise.
4622 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
4623 (moxie-*-*): Split into ...
4624 (moxie-*-elf, moxie-*-uclinux*): ... this.
4625 Add to extra_parts, remove crtbegin.o, crtend.o.
4626 (moxie-*-rtems*): New case.
4627 Set tmake_file.
4628 Clear extra_parts.
4629 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
4630 Set extra_parts.
4631 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4632 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
4633 tmake_file.
4634 Set extra_parts.
4635 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
4636 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
4637 Set extra_parts.
4638 (powerpc-*-eabisim*): Likewise.
4639 (powerpc-*-elf*): Likewise.
4640 (powerpc-*-eabialtivec*): Likewise.
4641 (powerpc-xilinx-eabi*): Likewise.
4642 (powerpc-*-eabi*): Likewise.
4643 (powerpc-*-rtems*): Likewise.
4644 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
4645 tmake_file.
4646 Set extra_parts.
4647 (powerpc-*-lynxos*): Add to tmake_file.
4648 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
4649 rs6000/t-crtstuff, t-crtstuff-pic.
4650 Set extra_parts.
4651 (powerpcle-*-eabisim*): Likewise.
4652 (powerpcle-*-eabi*): Likewise.
4653 (rx-*-elf): Remove extra_parts.
4654 (s390x-ibm-tpf*): Set extra_parts.
4655 (score-*-elf): Set extra_parts.
4656 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4657 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4658 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4659 (sh64l*-*-netbsd*): Split into ...
4660 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
4661 Add t-crtstuff-pic to tmake_file.
4662 Set extra_parts.
4663 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
4664 Set extra_parts.
4665 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
4666 (sparc-*-elf*): Remove t-crtin from tmake_file.
4667 Add to extra_parts, remove crtbegin.o, crtend.o.
4668 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
4669 (sparc64-*-linux*): Likewise.
4670 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
4671 Add to extra_parts, remove crtbegin.o, crtend.o.
4672 (sparc64-*-elf*): Remove t-crtin from tmake_file.
4673 Add to extra_parts, remove crtbegin.o, crtend.o.
4674 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
4675 Add to extra_parts, remove crtbegin.o, crtend.o.
4676 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
4677 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
4678 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
4679 Set extra_parts.
4680 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
4681 Set extra_parts.
4682 (tic6x-*-*): Change to ...
4683 (tic6x-*-elf): ... this.
4684 Set extra_parts.
4685 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
4686 Set extra_parts.
4687 (am33_2.0-*-linux*): Add comment.
4688 (mep*-*-*): Add mep/t-mep to tmake_file.
4689 Set extra_parts.
4690 * config/alpha/t-vms: New file.
4691 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
4692 * config/arm/crti.S, config/arm/crtn.S: New files.
4693 * config/bfin/crti.S, config/bfin/crtn.S: New files.
4694 * config/bfin/crtlibid.S: New file.
4695 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
4696 * config/c6x/crti.S, config/c6x/crtn.S: New files.
4697 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
4698 (crti.o, crtin.o): New rules.
4699 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4700 * config/c6x/t-uclinux: New file.
4701 * config/cris/t-elfmulti: New file.
4702 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
4703 * config/fr30/crti.S, config/fr30/crtn.S: New files.
4704 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
4705 * config/frv/t-frv: New file.
4706 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
4707 * config/h8300/crti.S, config/h8300/crtn.S: New files.
4708 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
4709 New files.
4710 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
4711 refer to cygming-crtbegin.c, cygming-crtend.c.
4712 Use $<.
4713 * config/i386/t-nto: New file.
4714 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
4715 * config/ia64/crti.S, config/ia64/crtn.S: New files.
4716 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
4717 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
4718 Use .S extension.
4719 Use $<.
4720 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4721 (crtinitS.o): New rule.
4722 * config/ia64/vms-crtinit.S: New file.
4723 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
4724 * config/m32r/initfini.c: New file.
4725 * config/m32r/t-linux, config/m32r/t-m32r: New files.
4726 * config/m68k/crti.S, config/m68k/crtn.S: New files.
4727 * config/mcore/crti.S, config/mcore/crtn.S: New files.
4728 * config/mep/t-mep: New file.
4729 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
4730 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
4731 * config/mips/crti.S, config/mips/crtn.S: New files.
4732 * config/mips/t-crtstuff: New file.
4733 * config/mmix/crti.S, config/mmix/crtn.S: New files.
4734 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
4735 (CUSTOM_CRTIN): Set.
4736 ($(T)crti.o, $(T)crtn.o): Remove $(T),
4737 dependencies.
4738 Use $(srcdir) to refer to crti.S, crtn.S.
4739 Use .S extension, $<.
4740 * config/moxie/crti.asm: Rename to ...
4741 * config/moxie/crti.S: ... this.
4742 * config/moxie/crtn.asm: Rename to ...
4743 * config/moxie/crtn.S: ... this.
4744 * config/moxie/t-moxie: Remove.
4745 * config/pa/stublib.c: New file.
4746 * config/pa/t-stublib, config/pa/t-stublib64: New files.
4747 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
4748 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
4749 * config/rs6000/t-crtstuff: New file.
4750 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
4751 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
4752 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
4753 Make output file explicit.
4754 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
4755 Make output file explicit.
4756 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
4757 Make output file explicit.
4758 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
4759 Make output file explicit.
4760 * config/score/crti.S, config/score/crtn.S: New files.
4761 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
4762 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
4763 files.
4764 * config/sh/t-sh, config/sh/t-superh: New files.
4765 * config/sparc/t-linux64: New file.
4766 * config/spu/cache.S, config/spu/cachemgr.c: New files.
4767 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
4768 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
4769 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
4770 * config/t-crtin: Remove.
4771 * config/t-crtstuff-pic: New file.
4772 * config/t-sol2 (CUSTOM_CRTIN): Set.
4773 (crti.o, crtn.o): New rules.
4774 * config/vms/t-vms: New file.
4775 * config/vms/vms-ucrt0.c: New file.
4776 * config/xtensa/t-elf: New file.
4777
a997b0d8 47782011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4779
4780 * Makefile.in (SHLIB_NM_FLAGS): Set.
4781 * mkmap-flat.awk, mkmap-symver.awk: New files.
4782 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
4783 exceptions.
4784 * configure: Regenerate.
4785 * config/libgcc-glibc.ver: New file.
4786 * config/libgcc-libsystem.ver: New file.
4787 * config/t-libunwind (SHLIB_LC): Set.
4788 * config/t-linux: New file.
4789 * config/t-slibgcc (INSTALL_SHLIB): New.
4790 (SHLIB_INSTALL): Use it.
4791 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
4792 to mkmap-symver.awk.
4793 (SHLIB_MAPFILES): Don't append, adapt pathname.
4794 (SHLIB_VERPFX): Set.
4795 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
4796 to mkmap-symver.awk.
4797 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
4798 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
4799 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
4800 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
4801 to mkmap-flat.awk.
4802 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
4803 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
4804 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
4805 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
4806 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
4807 * config/i386/libgcc-darwin.10.4.ver,
4808 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
4809 New files.
4810 * config/i386/t-darwin: Remove.
4811 * config/i386/t-darwin64: Likewise.
4812 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
4813 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
4814 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
4815 * config/i386/t-linux: New file.
4816 * config/i386/t-mingw32: New file.
4817 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
4818 * config/ia64/t-glibc: Rename to ...
4819 * config/ia64/t-linux: ... this.
4820 (SHLIB_MAPFILES): Set.
4821 * config/ia64/t-glibc-libunwind: Rename to ...
4822 * config/ia64/t-linux-libunwind: ... this.
4823 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
4824 * config/ia64/t-slibgcc-hpux: New file.
4825 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
4826 * config/m68k/t-slibgcc-elf-ver: New file.
4827 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
4828 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
4829 to mkmap-flat.awk.
4830 * config/pa/t-slibgcc-hpux: New file.
4831 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
4832 files.
4833 * config/rs6000/libgcc-darwin.10.4.ver,
4834 config/rs6000/libgcc-darwin.10.5.ver: New files.
4835 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
4836 config/rs6000/libgcc-glibc.ver.
4837 * config/rs6000/libgcc-ppc64.ver: Rename to
4838 config/rs6000/libgcc-ibm-ldouble.ver.
4839 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
4840 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
4841 * config/rs6000/t-ldbl128: Rename to ...
4842 * config/rs6000/t-linux: ... this.
4843 (SHLIB_MAPFILES): Adapt filename.
4844 * config/rs6000/t-slibgcc-aix: New file.
4845 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
4846 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
4847 libgcc-excl.ver, libgcc-glibc.ver.
4848 (SHLIB_LINK, SHLIB_INSTALL): Remove.
4849 * config/sparc/libgcc-glibc.ver: New file.
4850 * config/sparc/t-linux: New file.
4851 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
4852 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
4853 t-slibgcc-elf-ver to tmake_file.
4854 Add t-slibgcc-nolc-override to tmake_file for posix threads on
4855 *-*-freebsd[34].
4856 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4857 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
4858 t-slibgcc-elf-ver, t-linux to tmake_file.
4859 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
4860 tmake_file.
4861 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
4862 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
4863 (alpha*-dec-*vms*): Likewise.
4864 (arm*-*-freebsd*): Append to tmake_file.
4865 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
4866 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
4867 arm*-*-linux-*eabi.
4868 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
4869 tmake_file for arm*-*-symbianelf*.
4870 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
4871 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
4872 cris/t-linux.
4873 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
4874 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
4875 pa/t-slibgcc-dwarf-ver to tmake_file.
4876 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
4877 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
4878 (hppa*64*-*-hpux11*): Likewise.
4879 (hppa[12]*-*-hpux11*): Likewise.
4880 (x86_64-*-darwin*): Don't override tmake_file, but only keep
4881 i386/t-crtpc, i386/t-crtfm.
4882 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
4883 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4884 to tmake_file.
4885 Add i386/t-cygwin to tmake_file.
4886 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
4887 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
4888 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4889 to tmake_file.
4890 Add i386/t-mingw32 to tmake_file.
4891 (x86_64-*-mingw*): Likewise.
4892 (ia64*-*-freebsd*): Append to tmake_file.
4893 (ia64*-*-linux*): Append to tmake_file.
4894 Replace ia64/t-glibc by ia64/t-linux.
4895 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
4896 system libunwind.
4897 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
4898 t-slibgcc-hpux to tmake_file.
4899 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
4900 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
4901 (m32rle-*-linux*): Likewise.
4902 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
4903 sjlj exceptions.
4904 (microblaze*-linux*): New case.
4905 Append to tmake_file, add t-slibgcc-nolc-override.
4906 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
4907 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4908 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
4909 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4910 rs6000/t-slibgcc-aix to tmake_file.
4911 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4912 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4913 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4914 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4915 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4916 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
4917 sh*-*-linux*.
4918 (sparc-*-linux*): Append to tmake_file for *-leon*.
4919 Add sparc/t-linux to tmake_file for non-Leon targets.
4920 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
4921 (tic6x-*-uclinux): New case.
4922 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
4923 (tic6x-*-*): Add c6x/t-elf to tmake_file.
4924 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
4925 (am33_2.0-*-linux*): Append to tmake_file.
4926 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4927 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
4928 x86_64-*-kfreebsd*-gnu.
4929 Add i386/t-linux to tmake_file.
4930
638a95a0 49312011-10-28 Ian Lance Taylor <iant@google.com>
4932
4933 * config/i386/morestack.S: Correct CFI information to do proper
4934 returns throughout function. In 32-bit mode, save %ebx so that it
4935 is restored on unwind.
4936
ef785e44 49372011-10-25 Bernd Schmidt <bernds@codesourcery.com>
4938
4939 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
4940 case where B3 isn't the return register.
4941
19b85223 4942 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
4943 logic for doubleword pops.
4944
70f50eb0 49452011-10-25 Andreas Tobler <andreast@fgznet.ch>
4946
4947 * config/rs6000/t-freebsd: Add wildcard.
4948
ec2b386c 49492011-10-21 Paul Brook <paul@codesourcery.com>
4950
4951 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
4952
b09a3f46 49532011-10-16 Uros Bizjak <ubizjak@gmail.com>
4954 Eric Botcazou <ebotcazou@adacore.com>
4955
4956 PR target/50737
4957 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
4958 fs->signal_frame to 1.
4959
8acdf7c6 49602011-10-07 Ian Lance Taylor <iant@google.com>
4961
4962 * generic-morestack-thread.c: #include <errno.h>.
4963
1780e36e 49642011-10-07 Ian Lance Taylor <iant@google.com>
4965
4966 PR target/46093
4967 * generic-morestack.c (__generic_morestack): Make sure the segment
4968 is large enough for both the stack frame and the copied
4969 parameters.
4970
f57fac72 49712011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4972
4973 PR bootstrap/49804
4974 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
4975 extra_parts.
4976
6ef008f9 49772011-09-28 Nick Clifton <nickc@redhat.com>
4978
4979 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
4980 64-bit doubles are not enabled.
4981 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4982 and floatunsisf functions.
4983
7e5fc0c4 49842011-09-13 Paul Brook <paul@codesourcery.com>
6ef008f9 4985
7e5fc0c4 4986 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
4987 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4988 * unwind-arm-common.inc: New file.
4989 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4990 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4991 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4992 * config/c6x/libunwind.S: New file.
4993 * config/c6x/pr-support.c: New file.
4994 * config/c6x/unwind-c6x.c: New file.
4995 * config/c6x/unwind-c6x.h: New file.
4996 * config/c6x/t-c6x-elf: New file.
4997
047a5c56 49982011-08-23 Uros Bizjak <ubizjak@gmail.com>
4999
5000 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
5001 (ASM_DIVZERO): Ditto.
5002 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
5003
985e908e 50042011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
5005
5006 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
5007
c1c81358 50082011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
5009
5010 PR target/50090
5011 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
5012 instead of an assembly one.
5013
7642fc98 50142011-08-12 Paolo Bonzini <bonzini@gnu.org>
5015
5016 PR bootstrap/50047
5017 * Makefile.in (install-unwind_h): Create
5018 $(gcc_objdir)/include/unwind.h atomically.
5019
392bda6f 50202011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5021
5022 * Makefile.in (install-unwind_h): Remove destination file first.
5023
21889c08 50242011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5025
5026 * sync.c: New file.
5027 * config/mips/t-mips16: New file.
5028 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
5029 (mips*-*-linux*): Likewise.
5030 (mips*-sde-elf*): Likewise.
5031 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
5032 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
5033 Add mips/t-mips16 to tmake_file.
5034 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
5035 (mips-*-elf*): Likewise.
5036 (mips64-*-elf*): Likewise.
5037 (mips64orion-*-elf*): Likewise.
5038 (mips*-*-rtems*): Likewise.
5039 (mipstx39-*-elf*): Likewise.
5040 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
5041 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
5042 LIBGCC_SYNC_CFLAGS.
5043 Use $(srcdir) to refer to sync.c.
5044 Use $<.
5045 ($(libgcc-sync-funcs-o)): Likewise.
5046 ($(libgcc-sync-size-funcs-s-o)): Likewise.
5047 ($(libgcc-sync-funcs-s-o)): Likewise.
5048
3569d462 50492011-08-09 Andreas Schwab <schwab@linux-m68k.org>
5050
5051 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
5052 t-libunwind.
5053
e451a093 50542011-08-08 H.J. Lu <hongjiu.lu@intel.com>
5055
5056 PR other/48007
5057 * config/i386/value-unwind.h: New.
5058
ab3bed33 50592011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
5060
5061 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
5062 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
5063 Add to tmake_file rather than overriding it.
5064
84600db5 50652011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5066
5067 * config/t-softfp: Remove.
5068 * soft-fp: Moved from ../gcc/config.
5069 * soft-fp/README: Remove t-softfp reference.
5070 * soft-fp/t-softfp: Move to config/t-softfp.
5071 (softfp_machine_header): Remove.
5072 (softfp_file_list): Remove config subdir.
5073 (soft-fp-objects): New variable.
5074 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
5075 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
5076 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
5077 * config/t-softfp-excl: New file.
5078 * config/t-softfp-sfdf: New file.
5079 * config/t-softfp-tf: New file.
5080 * config/no-sfp-machine.h: New file.
5081 * config/arm/sfp-machine.h: New file.
5082 * config/arm/t-softfp: New file.
5083 * config/c6x/sfp-machine.h: New file.
5084 * config/i386/32/t-fprules-softfp: Rename to ...
5085 * config/i386/32/t-softfp: ... this.
5086 (tifunctions, LIB2ADD): Remove.
5087 (softfp_int_modes): Override.
5088 * config/i386/64/t-softfp-compat (tf-functions): Remove config
5089 subdir.
5090 * config/i386/64/eqtf2.c: Likewise.
5091 * config/i386/64/getf2.c: Likewise.
5092 * config/i386/64/letf2.c: Likewise.
5093 * config/ia64/sft-machine.h: New file.
5094 * config/ia64/t-fprules-softfp: Rename to ...
5095 * config/ia64/t-softfp: ... this.
5096 * config/lm32/sfp-machine.h: New file.
5097 * config/moxie/t-moxie-softfp: Remove.
5098 * config/rs6000/ibm-ldouble-format: New file.
5099 * config/rs6000/ibm-ldouble.c: New file.
5100 * config/rs6000/libgcc-ppc-glibc.ver: New file
5101 * config/rs6000/libgcc-ppc64.ver: New file
5102 * config/rs6000/sfp-machine.h: New file.
5103 * config/rs6000/t-freebsd: New file.
5104 * config/rs6000/t-ibm-ldouble: New file.
5105 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
5106 libgcc-ppc-glibc.ver.
5107 * config/rs6000/t-linux64: New file.
5108 * config/rs6000/t-ppccomm (LIB2ADD): Add
5109 $(srcdir)/config/rs6000/ibm-ldouble.c.
5110 * config/rs6000/t-ppccomm-ldbl: New file.
5111 * config/score/sfp-machine.h: New file.
5112 * config.host (sfp_machine_header): Explain.
5113 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
5114 t-softfp to tmake_file.
5115 (arm*-*-uclinux*): Likewise.
5116 (arm*-*-ecos-elf): Likewise.
5117 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5118 (arm*-*-rtems*): Likewise.
5119 (arm*-*-elf): Likewise.
5120 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5121 in tmake_file.
5122 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5123 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5124 (lm32-*-uclinux*): Likewise.
5125 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5126 t-softfp-excl, t-softfp.
5127 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5128 (powerpc64-*-darwin*): Likewise.
5129 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5130 to tmake_file.
5131 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5132 tmake_file.
5133 (powerpc-*-eabisim*): Likewise.
5134 (powerpc-*-elf*): Likewise.
5135 (powerpc-*-eabialtivec*): Likewise.
5136 (powerpc-xilinx-eabi*): Likewise.
5137 (powerpc-*-rtems*): Likewise.
5138 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5139 t-softfp-excl, t-softfp to tmake_file.
5140 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5141 rs6000/t-ppccomm-ldbl to tmake_file.
5142 (powerpcle-*-elf*): Likewise.
5143 (powerpcle-*-eabisim*): Likewise.
5144 (powerpcle-*-eabi*): Likewise.
5145 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5146 rs6000/t-ibm-ldouble to tmake_file.
5147 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5148 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5149 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5150 (tic6x-*-*): Likewise.
5151 (i[34567]86-*-darwin*, x86_64-*-darwin*,
5152 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5153 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5154 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5155 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5156 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5157 t-softfp to tmake_file.
5158 * configure.ac (sfp_machine_header): Provide default if unset.
5159 Substitute.
5160 Link sfp-machine.h to config/$sfp_machine_header.
5161 * configure: Regenerate.
5162
a23b9c51 51632011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5164
5165 * Makefile.in (double_type_size, long_double_type_size): Set.
5166 Remove $(fpbit-in-libgcc) support.
5167 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5168 (fpbit-src): New variable.
5169 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5170 Compile with -DFLOAT $(FPBIT_CFLAGS).
5171 Use $<.
5172 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5173 Compile with $(FPBIT_CFLAGS).
5174 Use $<.
5175 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5176 Compile with -DFLOAT $(TPBIT_CFLAGS).
5177 Use $<.
5178 * configure.ac (double_type_size, long_double_type_size):
5179 Determine and substitute.
5180 * configure: Regenerate.
5181 * fp-bit.c, fp-bit.h: New files.
5182 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5183 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5184 * config/mips/t-mips: New file.
5185 * config/mips/t-sdemtk: New file.
5186 * config/rs6000/ppc64-fp.c: New file.
5187 * config/rs6000/t-darwin (LIB2ADD): Add
5188 $(srcdir)/config/rs6000/ppc64-fp.c.
5189 * config/rs6000/t-ppc64-fp: New file.
5190 * config/rx/rx-lib.h: New file.
5191 * config/rx/t-rx (FPBIT): Set to true.
5192 ($(gcc_objdir)/fp-bit.c): Remove.
5193 (DPBIT): Set to true only with -m64bit-doubles.
5194 ($(gcc_objdir)/dp-bit.c): Remove.
5195 * config/sparc/t-softfp: Remove.
5196 * config/spu/t-elf: New file.
5197 * config/t-fdpbit, config/t-fpbit: New files.
5198 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5199 (mips*-*-*): Likewise.
5200 (arm-wrs-vxworks): Likewise.
5201 (arm*-*-freebsd*): Likewise.
5202 (avr-*-rtems*): Add t-fpbit to tmake_file.
5203 (avr-*-*): Likewise.
5204 (bfin*-elf*): Add t-fdpbit to tmake_file.
5205 (bfin*-uclinux*): Likewise.
5206 (bfin*-linux-uclibc*): Likewise.
5207 (bfin*-rtems*): New case.
5208 Add t-fdpbit to tmake_file.
5209 (bfin*-*): Add t-fdpbit to tmake_file.
5210 (crisv32-*-elf): Likewise.
5211 (cris-*-linux*): Likewise.
5212 (fr30-*-elf): Likewise.
5213 (frv-*-elf, frv-*-*linux*): Likewise.
5214 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5215 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5216 (m32r-*-elf*): Likewise.
5217 (m32rle-*-elf*): Likewise.
5218 (m32r-*-linux*): Likewise.
5219 (m32rle-*-linux*): Likewise.
5220 (mcore-*-elf): Add t-fdpbit to tmake_file.
5221 (microblaze*-*-*): Likewise.
5222 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5223 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5224 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5225 Fix typo.
5226 Add mips/t-tpbit to tmake-file.
5227 (mips*-*-linux*): Fix typo.
5228 (mips*-sde-elf*): New case
5229 Add mips/t-sdemtk unless using newlib.
5230 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5231 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5232 (mn10300-*-*): Likewise.
5233 (pdp11-*-*): Likewise.
5234 (picochip-*-*): Add t-fpbit to tmake_file.
5235 (powerpc-*-eabisimaltivec*): Likewise.
5236 (powerpc-*-eabisim*): Likewise.
5237 (powerpc-*-elf*): Likewise.
5238 (powerpc-*-eabialtivec*): Likewise.
5239 (powerpc-xilinx-eabi*): New case.
5240 Add t-fdpbit to tmake_file.
5241 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
5242 (powerpc-*-rtems*): Likewise.
5243 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5244 tmake_file.
5245 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5246 tmake_file.
5247 (powerpc-*-lynxos*): Likewise.
5248 (powerpcle-*-elf*): Likewise.
5249 (powerpcle-*-eabisim*): Likewise.
5250 (powerpcle-*-eabi*): Likewise.
5251 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5252 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5253 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5254 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5255 (rx-*-elf): Add t-fdpbit to tmake_file.
5256 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5257 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5258 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5259 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5260 sh*-*-netbsd*.
5261 (sh-*-rtems*): Add t-fdpbit to tmake_file.
5262 (sh-wrs-vxworks): Likewise.
5263 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5264 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5265 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5266 (sparc64-*-rtems*): ... new case.
5267 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5268 (spu-*-elf*): Likewise.
5269 Add spu/t-elf to tmake_file.
5270 (v850*-*-*): Add t-fdpbit to tmake_file.
5271 (xstormy16-*-elf): Likewise.
5272 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5273 (mep*-*-*): Likewise.
5274
e59be7e3 52752011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5276
5277 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5278 variables.
5279 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5280 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5281 (install-unwind_h): New target.
5282 (all): Depend on it.
5283 * config.host (unwind_header): New variable.
5284 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5285 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5286 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5287 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5288 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5289 Set unwind_header.
5290 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5291 Set unwind_header.
5292 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5293 arm*-*-eabi*.
5294 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5295 Set unwind_header.
5296 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5297 (ia64*-*-freebsd*): Likewise.
5298 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5299 tmake_file.
5300 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5301 $with_system_libunwind.
5302 (ia64*-*-hpux*): Set tmake_file.
5303 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5304 (picochip-*-*): Set tmake_file.
5305 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5306 md_unwind_header.
5307 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5308 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5309 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5310 (xtensa*-*-elf*): Set tmake_file.
5311 (xtensa*-*-linux*): Likewise.
5312 * configure.ac: Include ../config/unwind_ipinfo.m4.
5313 Call GCC_CHECK_UNWIND_GETIPINFO.
5314 Link unwind.h to $unwind_header.
5315 * configure: Regenerate.
5316 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5317 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5318 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5319 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5320 * config/unwind-dw2-fde-darwin.c: New file.
5321 * config/arm/libunwind.S, config/arm/pr-support.c,
5322 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5323 config/arm/unwind-arm.h,: New files.
5324 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5325 config/ia64/t-eh-ia64, config/ia64/t-glibc,
5326 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5327 config/ia64/t-vms, config/ia64/unwind-ia64.c,
5328 config/ia64/unwind-ia64.h: New files.
5329 * config/picochip/t-picochip: New file.
5330 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5331 files.
5332 * config/rs6000/t-darwin (LIB2ADDEH): Set.
5333 * config/s390/t-tpf (LIB2ADDEH): Remove.
5334 * config/t-darwin (LIB2ADDEH): Set.
5335 * config/t-eh-dw2-dip: New file.
5336 * config/t-libunwind, config/t-libunwind-elf: New files.
5337 * config/t-sol2 (LIB2ADDEH): Remove.
5338 * config/xtensa/t-xtensa: New file.
5339
b57de711 53402011-08-02 H.J. Lu <hongjiu.lu@intel.com>
5341
5342 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5343 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5344 long long to check rt_sigreturn syscall.
5345
9a4af446 53462011-08-02 Alan Modra <amodra@gmail.com>
5347
5348 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5349 Restore for indirect call bcrtl from correct stack slot, and only
5350 if cfa+40 isn't valid.
5351
bbbe4599 53522011-08-01 Julian Brown <julian@codesourcery.com>
5353
5354 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5355 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5356 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5357
ac34b7db 53582011-08-01 Julian Brown <julian@codesourcery.com>
5359
5360 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5361 (libgcc-std.ver.in): Use above.
5362 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5363 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
5364 throughout file.
5365 * config/t-fixedpoint-gnu-prefix: New file.
5366 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5367 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5368 instead of __PFX__.
5369
2a7dfa04 53702011-07-28 H.J. Lu <hongjiu.lu@intel.com>
5371
5372 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5373 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5374 for x86-64. Properly check __x86_64__ and __LP64__.
5375
a232cb08 53762010-07-28 H.J. Lu <hongjiu.lu@intel.com>
5377
5378 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5379 version.
5380 (_FP_WS_TYPE): Likewise.
5381 (_FP_I_TYPE): Likewise.
5382
c54e2746 53832011-07-28 Alan Modra <amodra@gmail.com>
5384
5385 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5386 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5387 in a plt call stub. Do restore r2 if stopped on bctrl.
5388
4d72c922 53892011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5390
5391 * config.host (i[3456x]86-*-netware*): Remove.
5392 * config/i386/netware-crt0.c, config/i386/t-nwld,
5393 config/i386/t-slibgcc-nwld: Remove.
5394
5aa04b01 53952011-07-15 Bernd Schmidt <bernds@codesourcery.com>
5396
5397 * config.host: Handle tic6x-*-*.
5398 * config/c6x/c6x-abi.h: New file.
5399
ba079bc9 54002011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5401
5402 * config/i386/crtprec.c: New file.
5403 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5404 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5405 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5406 (x86_64-*-darwin*): Likewise.
5407 (i[34567]86-*-solaris2*: Likewise.
5408
1125ba83 54092011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5410
5411 * config/alpha/crtfastmath.c: New file.
5412 * config/i386/crtfastmath.c: New file.
5413 * config/ia64/crtfastmath.c: New file.
5414 * config/mips/crtfastmath.c: New file.
5415 * config/sparc/crtfastmath.c: New file.
5416
5417 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5418 crtfastmath.c.
5419 Add -frandom-seed=gcc-crtfastmath.
5420 * config/alpha/t-crtfm: Remove.
5421 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5422 * config/ia64/t-ia64 (crtfastmath.o): Remove.
5423
5424 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5425 (alpha*-dec-osf5.1*): Likewise.
5426 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5427 Add crtfastmath.o to extra_parts.
5428 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5429 Add crtfastmath.o to extra_parts.
5430 (x86_64-*-darwin*): Likewise.
5431 (x86_64-*-mingw*): Likewise.
5432 (ia64*-*-elf*): Add t-crtfm to tmake_file.
5433 (ia64*-*-freebsd*): Likewise.
5434 (ia64*-*-linux*): Likewise.
5435 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5436 Add crtfastmath.o to extra_parts.
5437
1a4a11f3 54382011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5439
5440 * config/darwin-crt3.o: New file.
5441 * config/rs6000/darwin-crt2.c: New file.
5442 * config/t-darwin: New file.
5443 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5444 (crt2.o): New rule.
5445 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5446 (powerpc-*-darwin*): Add crt2.o to extra_parts.
5447 (powerpc64-*-darwin*): Likewise.
5448
ef3ab47f 54492011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5450
5451 * config/i386/netware-crt0.c: New file.
5452 * config/i386/t-nwld: Rename to ...
5453 * config/i386/t-slibgcc-nwld: ... this.
5454 * config/i386/t-nwld: New file.
5455 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5456 tmake_file.
5457 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5458 extra_parts.
5459
367b55f3 54602011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5461
5462 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5463 i386/t-crtstuff.
5464 * configure: Regenerate.
5465
17aa03f5 54662011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5467
5468 * dfp-bit.c, dfp-bit.h: New files.
5469 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5470 variables.
5471 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5472 ($(d64pbit-o)): Likewise.
5473 ($(d128pbit-o)): Likewise.
5474 * config/t-dfprules: New file.
5475 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5476 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5477 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5478 (x86_64-*-linux*): Likewise.
5479 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5480 (i[34567]86-*-cygwin*): Likewise.
5481 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
5482 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5483
2bc72a9f 54842011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5485
5486 * Makfile.in (LIBGCOV): New variable.
5487 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5488 * libgcov.c: New file.
5489
36a5227d 54902011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5491
5492 * fixed-bit.c, fixed-bit.h: New files.
5493 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5494 refer to fixed-bit.c.
5495
689a8077 54962011-07-07 Joseph Myers <joseph@codesourcery.com>
5497
5498 * config.host (*local*): Remove.
5499
14f27bc6 55002011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5501
5502 PR target/39150
5503 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5504 like i?86-*-solaris2.1[0-9]*.
5505 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5506 * configure.ac (i?86-*-solaris2*): Likewise.
5507 * configure: Regenerate.
5508
fe27820f 55092011-07-06 Thomas Schwinge <thomas@schwinge.name>
5510
5511 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5512 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5513 md_unwind_header by splitting out of...
5514 (i[34567]86-*-linux*): ... this.
5515 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5516 Remove md_unwind_header by splitting out of...
5517 (x86_64-*-linux*): ... this.
5518
934ca5fd 55192011-07-04 Georg-Johann Lay <avr@gjlay.de>
5520
5521 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5522
707238af 55232011-06-28 Nick Clifton <nickc@redhat.com>
5524
5525 * config.host: Recognize all V850 variants.
5526
5125dcef 55272011-06-22 Uros Bizjak <ubizjak@gmail.com>
5528
5529 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
5530
f92b36a5 55312011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5532
5533 * shared-object.mk (c_flags-$o): Save c_flags.
5534 ($(base)$(objext)): Use it.
5535 ($(base)_s$(objext)): Likewise.
5536
d8492bd3 55372011-06-21 Bernd Schmidt <bernds@codesourcery.com>
5538
5539 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
5540 * libgcc-std.ver.in (GCC_4.7.0): New section.
5541
fa72efb7 55422011-06-16 Georg-Johann Lay <avr@gjlay.de>
5125dcef 5543
fa72efb7 5544 PR target/49313
5545 PR target/29524
5546 * config/avr/t-avr: Fix line endings.
5547 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
5548 _parityXX2.
5549
adf7c0a1 55502011-06-14 Olivier Hainque <hainque@adacore.com>
5551 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5552
5553 * config/mips/irix6-unwind.h: New file.
5554 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
5555
47529489 55562011-06-10 Eric Botcazou <ebotcazou@adacore.com>
5557
5558 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
5559 (sparc64_fallback_frame_state): Use it.
5560 (sparc64_frob_update_context): Further adjust context.
5561 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
5562 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
5563 * config/sparc/sol2-cn.S: Likewise.
5564
a6f06169 55652011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5566
5567 * enable-execute-stack-empty.c: New file.
5568 * enable-execute-stack-mprotect.c: New file.
5569 * config/i386/enable-execute-stack-mingw32.c: New file.
5570 * config.host (enable_execute_stack): New variable.
5571 Select appropriate variants.
5572 * configure.ac: Link enable-execute-stack.c to
5573 $enable_execute_stack.
5574 * configure: Regenerate.
5575 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
5576 (lib2funcs): Remove _enable_execute_stack.
5577
f9cccfac 55782011-06-09 David S. Miller <davem@davemloft.net>
5579 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5580
5581 * config.host (sparc-*-linux*): Correct md_unwind_header
5582 filename.
5583 (s390x-ibm-tpf*): Fix typo.
5584
ee884cfb 55852011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5586
5587 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
5588 Add crtfastmath.o to extra_parts.
5589 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
5590 mips/t-crtfm.
5591 * config/mips/t-crtfm: Remove.
5592
01cb8ad1 55932011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5594
5595 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
5596
73956a0d 55972011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
5598
5599 * config.host (sh*-*-linux*): Fix typo.
5600
1e53920f 56012011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5602
5603 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
5604 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
5605 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
5606 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
5607 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
5608 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
5609 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
5610 Wrap in !__MINGW64__.
5611 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
5612 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
5613 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
5614 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
5615 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
5616 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
5617 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
5618 Wrap in !__LP64__.
5619 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
5620 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
5621 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
5622 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
5623 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
5624 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
5625 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
5626 * config/no-unwind.h: New file.
5627 * config.host (md_unwind_header): Document.
5628 Define.
5629 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
5630 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
5631 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
5632 hppa[12]*-*-hpux11*): Set md_unwind_header.
5633 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
5634 Set md_unwind_header.
5635 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
5636 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
5637 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
5638 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
5639 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
5640 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
5641 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
5642 md_unwind_header.
5643 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
5644 * configure: Regenerate.
5645
8087ae75 56462011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5647
5648 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
5649 Set tmake_file, extra_parts.
5650 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
5651 Remove O32 support.
5652 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
5653 Remove O32 support.
5654 * config/mips/t-irix6: New file.
5655 * config/mips/t-slibgcc-irix: New file.
5656
506cfbc8 56572011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5658
5659 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
5660 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
5661
541346b9 56622011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5663
5664 * configure.ac (target_thread_file): Determine thread model.
5665 * configure: Regenerate.
5666 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
5667 * config/alpha/t-alpha: New file.
5668 * config/alpha/t-crtfm: Use $<.
5669 * config/alpha/t-ieee: New file.
5670 * config/alpha/t-osf-pthread: New file.
5671 * config/alpha/t-slibgcc-osf: New file.
5672 * config/alpha/libgcc-osf5.ver: New file.
5673
43ae7603 56742011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5675
5676 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
5677 tmake_file.
5678 Add crtfastmath.o to extra_parts.
5679
f0d9a626 56802011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5681
5682 * config/gmon-sol2.c: Reindent.
5683 Cleanup comments.
5684 Remove, correct casts.
5685 Use STDERR_FILENO, NULL.
5686 (BASEADDRESS): Remove.
5687 (minbrk): Remove.
5688 (errno, sbrk): Remove declarations.
5689 (monstartup) [hp300]: Remove.
5690 (mcount): Remove.
5691
63abf89e 56922011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5693
5694 * Makefile.in (cpu_type): Define.
5695 * config.host (i[34567]86-*-rtems*): Handle it.
5696 (i[34567]86-*-solaris2*): Move body ...
5697 (*-*-solaris2*): ... here.
5698 New case, generalize.
5699 (sparc-*-elf*): Handle it.
5700 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
5701 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
5702 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
5703 Fold into ...
5704 (sparc*-*-solaris2*): ... this.
5705 New case.
5706 (sparc64-*-elf*): Handle it.
5707 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
5708 Merge ../gcc/config/i386/gmon-sol2.c.
5709 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
5710 Use C comments.
5711 Merge ../gcc/config/i386/sol2-gc1.asm.
5712 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
5713 Use C comments.
5714 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
5715 Use C comments.
5716 * config/i386/t-crtfm (crtfastmath.o): Use $<.
5717 * config/i386/t-crtstuff: New file.
5718 * config/i386/t-softfp: New file.
5719 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
5720 $(T)crti.o, $(T)crtn.o): Remove.
5721 (gcrt1.o): New rule.
5722 (TARGET_LIBGCC2_CFLAGS): Remove.
5723 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
5724 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
5725 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
5726 * config/sparc/t-sol2: New file.
5727 * config/sparc/t-crtfm: Move to ...
5728 * config/t-crtfm: ... this.
5729 Use $(cpu_type), $<.
5730 * config/t-crtin: New file.
5731 * config/sparc/t-softfp: New file.
5732 * config/sparc/t-softmul: New file.
5733 * config/t-rtems: New file.
5734 * config/t-slibgcc: New file.
5735 * config/t-slibgcc-elf-ver: New file.
5736 * config/t-slibgcc-gld: New file.
5737 * config/t-slibgcc-sld: New file.
5738 * config/t-sol2: New file.
5739 * configure.ac: Include ../config/lib-ld.m4.
5740 Call AC_LIB_PROG_LD_GNU.
5741 Substitute cpu_type.
5742 * configure: Regenerate.
5743
b1da9d72 57442011-05-27 Bernd Schmidt <bernds@codesourcery.com>
5745
5746 PR bootstrap/49173
5747 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
5748 libgcc-std.ver in the build directory.
5749 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
5750 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
5751
f308a9b2 57522011-05-25 Bernd Schmidt <bernds@codesourcery.com>
5753
5754 * libgcc-std.ver.in: New file.
5755 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
5756 variables.
5757 (libgcc-std.ver): New rule.
5758 * config/t-gnu-prefix: New file.
5759
c177b341 57602011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5761
5762 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
5763
8633828c 57642011-05-10 Joseph Myers <joseph@codesourcery.com>
5765
5766 * config/i386/darwin-lib.h: New file.
5767
3be74046 57682011-05-10 Joseph Myers <joseph@codesourcery.com>
5769
5770 * config/arm/symbian-lib.h: New.
5771
5e1a494e 57722011-05-04 Chris Demetriou <cgd@google.com>
5773
5774 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
5775 (__x86.get_pc_thunk.bx): ...this.
5776 (__morestack): Adjust for rename, remove undef of __i686.
5777
0bb50d04 57782011-05-03 Chris Demetriou <cgd@google.com>
5779
5780 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
5781
17b3d2a8 57822011-03-22 Joseph Myers <joseph@codesourcery.com>
5783
5784 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
5785 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
5786 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
5787 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
5788 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
5789 Remove cases.
5790
95525c17 57912011-03-14 Andreas Tobler <andreast@fgznet.ch>
5792
5793 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
5794 Adjust copyright year.
5795
82c96609 57962011-03-07 Ian Lance Taylor <iant@google.com>
5797
5798 * generic-morestack.c (__splitstack_find): Adjust returned stack
5799 pointer to include all registers pushed by __morestack.
5800
abfe0c5b 58012011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
5802
5803 PR target/40125
5804 * configure.ac: Call ACX_NONCANONICAL_TARGET.
5805 (toolexecdir): Calculate and AC_SUBST.
5806 (toolexeclibdir): Likewise.
5807 * Makefile.in (target_noncanonical): Import.
5808 (toolexecdir): Likewise.
5809 (toolexeclibdir): Likewise.
5810 * configure: Regenerate.
5811
48f93ee5 58122010-12-13 Nathan Froyd <froydnj@codesourcery.com>
5813
5814 PR target/46040
5815 * config/arm/bpabi.h: Rename to...
5816 * config/arm/bpabi-lib.h: ...this.
5817
76aa642f 58182010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5819
5820 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
5821 appropriate.
5822 * configure: Regenerate.
5823
e8b06528 58242010-11-24 Nathan Froyd <froydnj@codesourcery.com>
5825
5826 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
5827 __FLOAT_WORD_ORDER__.
5828 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
5829 Delete.
5830
2b7a4d59 58312010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5832
5833 PR other/46202
5834 * Makefile.in (install-strip): New phony target.
5835
457123d6 58362010-11-07 Ian Lance Taylor <iant@google.com>
5837
5838 PR target/46089
5839 * config/i386/morestack.S (__morestack_large_model): New
5840 function.
5841
f6e5e456 58422010-10-23 Nathan Froyd <froydnj@codesourcery.com>
5843
5844 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
5845 Delete.
5846 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
5847
faf175ae 58482010-10-14 Nathan Froyd <froydnj@codesourcery.com>
5849
5850 * config/arm/bpabi.h: New file.
5851 * config/frv/frv-abi.h: New file.
5852
9266176d 58532010-10-01 Ian Lance Taylor <iant@google.com>
5854
5855 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
5856 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
5857
13ba4217 58582010-10-01 H.J. Lu <hongjiu.lu@intel.com>
5859
5860 PR target/45858
5861 * config.host: Add the missing `$'.
5862
d34b0d1e 58632010-09-30 Michael Eager <eager@eagercon.com>
5864
5865 * config.host: Add microblaze*-*-*.
5866 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
5867 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
5868 udivsi3.asm,umodsi3.asm}: New.
5869
78ca2689 58702010-09-28 Ian Lance Taylor <iant@google.com>
5871
5872 * configure.ac: Adjust CFI test to test assembler directly rather
5873 than checking gcc preprocessor macro.
5874 * configure: Rebuild.
5875
c9b3ebc5 58762010-09-27 Ian Lance Taylor <iant@google.com>
5877
5878 * configure.ac: Test whether assembler supports CFI directives.
5879 * config.host: Only add t-stack and i386/t-stack-i386 to
5880 tmake_file if libgcc_cv_cfi is "yes".
5881 * configure: Rebuild.
5882
48b14f50 58832010-09-27 Ian Lance Taylor <iant@google.com>
5884
5885 * generic-morestack.h: New file.
5886 * generic-morestack.c: New file.
5887 * generic-morestack-thread.c: New file.
5888 * config/i386/morestack.S: New file.
5889 * config/t-stack: New file.
5890 * config/i386/t-stack-i386: New file.
5891 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
5892 i386/t-stack-i386 to tmake_file.
5893
fd80c7a1 58942010-09-21 Iain Sandoe <iains@gcc.gnu.org>
5895
5896 * Makefile.in (libgcc-extra-parts): Check for static archives and
5897 invoke ranlib after installing them.
5898 (gcc-extra-parts): Likewise.
5899 (install-leaf): Likewise.
5900
70fbcd6d 59012010-09-14 H.J. Lu <hongjiu.lu@intel.com>
5902
5903 * configure: Regenerated.
5904
19aace05 59052010-09-10 Kai Tietz <kai.tietz@onevision.com>
5906
70fbcd6d 5907 * configure: Regenerated.
19aace05 5908
279dadf5 59092010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
5910 Andrew Pinski <pinskia@gmail.com>
5911
5125dcef 5912 PR target/40959
279dadf5 5913 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
5914
a87eb011 59152010-09-06 H.J. Lu <hongjiu.lu@intel.com>
5916
5917 PR target/45524
5918 * configure: Regenerated.
5919
e6425baf 59202010-09-06 Andreas Schwab <schwab@redhat.com>
5921
5922 * configure: Regenerate.
5923
e88f4c66 59242010-09-03 Uros Bizjak <ubizjak@gmail.com>
5925
5926 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
5927 64bit targets.
5928 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
5929 for 64bit targets.
5930
1d8139cc 59312010-09-03 Uros Bizjak <ubizjak@gmail.com>
5932 Iain Sandoe <iains@gcc.gnu.org>
5933
5934 PR target/45476
5935 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
5936 LIB2FUNCS_EXCLUDE functions.
5937
23340821 59382010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5939
5940 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
5941 Include dfp.m4.
5942 * configure: Regenerate.
5943
278afeb5 59442010-09-01 Uros Bizjak <ubizjak@gmail.com>
5945
5946 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
5947 i386/t-freebsd to tmake_file.
5948 * config/i386/t-freebsd: New file.
5949 * config/i386/libgcc-bsd.ver: New file.
5950
952bf8bb 59512010-07-23 Nathan Froyd <froydnj@codesourcery.com>
5952
5953 * config.host (powerpc*-eabispe*): Set tmake_file.
5954 (powerpc*-eabi*): Likewise.
5955 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
5956 crtbeginS, crtendS, crtbeginT.
5957
283681bb 59582010-06-12 Kazu Hirata <kazu@codesourcery.com>
5959
5960 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
5961 to tmake_file. Add crtfastmath.o to extra_parts.
5962 * config/mips/t-crtfm: New.
5963
a6180b96 59642010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
5965
5966 * config.host (sparc64-*-rtems*): New target.
5967
05157f42 59682010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5969
5970 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5971 assembler syntax.
5972
8a84c748 59732010-04-15 Thomas Schwinge <tschwinge@gnu.org>
5974
5975 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
5976
ed3e1bbc 59772010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5978
5979 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
5980 alpha-dec-osf5.0* support.
5981
f8a8f9d9 59822010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
432dd419 5983
5984 * config.host: Add lm32-*-rtems*.
5985
20be3c56 59862010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5987 Uros Bizjak <ubizjak@gmail.com>
5988
5989 PR target/39048
5990 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5991 like other remaining 32-bit x86 OSes.
5992 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5993 assembler syntax.
5994 * config/i386/libgcc-sol2.ver: New file.
5995 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5996
8f0f72c0 59972010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
5998
5999 PR c/43553
6000 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
6001 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
6002 is used and substitute set_use_emutls.
6003 * configure: Regenerated.
6004
cf842d6a 60052010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
6006
6007 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
6008
4dcd7ab3 60092010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6010
6011 PR target/38085
6012 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
6013 MULTILIB_CFLAGS.
6014 ($(T)gcrt1.o): Likewise.
6015 ($(T)crt1.o): Likewise.
6016 ($(T)crti.o): Likewise.
6017 ($(T)crtn.o): Likewise.
6018
a426f025 60192010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6020
6021 PR other/42980
6022 * Makefile.in (install): Use $(MAKE) string in rule, for
6023 parallel make.
6024
8525326e 60252010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
6026
6027 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
6028 * config/mmix/t-mmix: New file.
6029 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
6030
14a10763 60312010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
6032
6033 PR java/41991
6034 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
6035 SHLIB_MAPFILES.
6036
00301a1a 60372010-01-04 Anthony Green <green@moxielogic.com>
6038
6039 * config/moxie/crti.asm, config/moxie/crtn.asm,
6040 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
6041 config/moxie/t-moxie: New files.
6042 * config.host: Add t-moxie-softfp reference.
6043
d2b1aa3d 60442009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
6045
6046 PR other/39888
6047 * config/t-slibgcc-darwin: Fix embedded rpaths for
6048 --enable-version-specific-runtime-libs, build extension stub
6049 libs exposing features available from current libgcc_s.
6050
f6fe91e8 60512009-11-11 Jon Beniston <jon@beniston.com>
6052
278afeb5 6053 * config.host: Add lm32 targets.
6054 * config/lm32: New directory.
6055 * config/lm32/libgcc_lm32.h: New file.
6056 * config/lm32/_mulsi3.c: New file.
6057 * config/lm32/_udivmodsi4.c: New file.
6058 * config/lm32/_divsi3.c: New file.
6059 * config/lm32/_modsi3.c: New file.
6060 * config/lm32/_udivsi3.c: New file.
6061 * config/lm32/_umodsi3.c: New file.
6062 * config/lm32/_lshrsi3.S: New file.
6063 * config/lm32/_ashrsi3.S: New file.
6064 * config/lm32/_ashlsi3.S: New file.
6065 * config/lm32/crti.S: New file.
6066 * config/lm32/crtn.S: New file.
6067 * config/lm32/t-lm32: New file.
6068 * config/lm32/t-elf: New file.
6069 * config/lm32/t-uclinux: New file.
f6fe91e8 6070
24833e1a 60712009-10-26 Nick Clifton <nickc@redhat.com>
6072
6073 * config.host: Add support for RX target.
6074 * config/rx: New directory.
6075 * config/rx/rx-abi-functions.c: New file. Supplementary
6076 functions for libgcc to support the RX ABI.
6077 * config/rx/rx-abi.h: New file. Supplementary header file for
6078 libgcc RX ABI functions.
6079 * config/rx/t-rx: New file: Makefile fragment for building
6080 libgcc for the RX.
6081
1d7e299f 60822009-10-09 Uros Bizjak <ubizjak@gmail.com>
6083
6084 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
6085 constraint of y0 to "g".
6086
e38fe738 60872009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6088
6089 * config.host: Include the s390 makefile fragments.
6090 * config/s390/32/_fixdfdi.c: New file.
6091 * config/s390/32/_fixsfdi.c: New file.
6092 * config/s390/32/_fixtfdi.c: New file.
6093 * config/s390/32/_fixunsdfdi.c: New file.
6094 * config/s390/32/_fixunssfdi.c: New file.
6095 * config/s390/32/_fixunstfdi.c: New file.
6096 * config/s390/32/t-floattodi: New file.
6097 * config/s390/libgcc-glibc.ver: New file.
6098 * config/s390/t-crtstuff: New file.
6099 * config/s390/t-linux: New file.
6100 * config/s390/t-tpf: New file.
6101
81a71e2b 61022009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6103
6104 * configure.ac (AC_PREREQ): Bump to 2.64.
6105
a1ef431d 61062009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
6107
6108 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
6109
cd9a469c 61102009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6111
6112 * configure: Regenerate.
6113
9b9a2528 61142009-08-09 Douglas B Rupp <rupp@gnat.com>
6115
6116 * config.host (ia64-hp-*vms*): New target.
6117 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6118 with ia64-hp-*vms*.
6119
a2655af1 61202009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6121
6122 * configure.ac: Add snippet for maintainer-mode.
6123 * configure: Regenerate.
6124 * Makefile.in (AUTOCONF, configure_deps): New variables.
6125 ($(srcdir)/configure)): New rule, active only with maintainer
6126 mode turned on.
6127
46222c18 61282009-06-23 DJ Delorie <dj@redhat.com>
6129
6130 Add MeP port.
6131 * config.host: Add mep support.
6132
13dc7657 61332009-06-22 Kai Tietz <kai.tietz@onevision.com>
6134
82a3cc73 6135 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 6136 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
82a3cc73 6137
6138 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6139 for mingw targets.
13dc7657 6140 * config/i386/64/_multc3.c: Likewise.
6141 * config/i386/64/_powitf2.c: Likewise.
6142 * config/i386/64/eqtf2.c: Likewise.
6143 * config/i386/64/getf2.c: Likewise.
6144 * config/i386/64/letf2.c: Likewise.
6145 * config/i386/64/letf2.c: Likewise.
82a3cc73 6146 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6147 unsigned long long for x64 mingw targets.
6148 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6149 (_FP_I_TYPE): Define as long long for x64 mingw target.
13dc7657 6150
63bfd172 61512009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
6152
6153 * config.host (vax-*-linux*): New.
6154
be52b6d8 61552009-05-31 Anthony Green <green@moxielogic.com>
6156
6157 * config.host: Add moxie support.
6158 * config/moxie/t-moxie: New file.
6159
6471e33b 61602009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6161
6162 * config.host: Add i386/${host_address}/t-fprules-softfp and
1d7e299f 6163 t-softfp to tmake_file for i[34567]86-*-cygwin*.
6471e33b 6164
09ec66c8 61652009-04-17 Aurelien Jarno <aurelien@aurel32.net>
6166
6167 * config.host: Add i386/${host_address}/t-fprules-softfp to
6168 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6169
6bc9506f 61702009-04-09 Nick Clifton <nickc@redhat.com>
6171
6172 * config/ia64/tf-signs.c: Change copyright header to refer to
6173 version 3 of the GNU General Public License with version 3.1
6174 of the GCC Runtime Library Exception and to point readers at
6175 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6176 web page.
6177 * config/i386/32/tf-signs.c: Likewise.
6178 * config/libbid/_addsub_dd.c: Likewise.
6179 * config/libbid/_addsub_sd.c: Likewise.
6180 * config/libbid/_addsub_td.c: Likewise.
6181 * config/libbid/_dd_to_df.c: Likewise.
6182 * config/libbid/_dd_to_di.c: Likewise.
6183 * config/libbid/_dd_to_sd.c: Likewise.
6184 * config/libbid/_dd_to_sf.c: Likewise.
6185 * config/libbid/_dd_to_si.c: Likewise.
6186 * config/libbid/_dd_to_td.c: Likewise.
6187 * config/libbid/_dd_to_tf.c: Likewise.
6188 * config/libbid/_dd_to_udi.c: Likewise.
6189 * config/libbid/_dd_to_usi.c: Likewise.
6190 * config/libbid/_dd_to_xf.c: Likewise.
6191 * config/libbid/_df_to_dd.c: Likewise.
6192 * config/libbid/_df_to_sd.c: Likewise.
6193 * config/libbid/_df_to_td.c: Likewise.
6194 * config/libbid/_di_to_dd.c: Likewise.
6195 * config/libbid/_di_to_sd.c: Likewise.
6196 * config/libbid/_di_to_td.c: Likewise.
6197 * config/libbid/_div_dd.c: Likewise.
6198 * config/libbid/_div_sd.c: Likewise.
6199 * config/libbid/_div_td.c: Likewise.
6200 * config/libbid/_eq_dd.c: Likewise.
6201 * config/libbid/_eq_sd.c: Likewise.
6202 * config/libbid/_eq_td.c: Likewise.
6203 * config/libbid/_ge_dd.c: Likewise.
6204 * config/libbid/_ge_sd.c: Likewise.
6205 * config/libbid/_ge_td.c: Likewise.
6206 * config/libbid/_gt_dd.c: Likewise.
6207 * config/libbid/_gt_sd.c: Likewise.
6208 * config/libbid/_gt_td.c: Likewise.
6209 * config/libbid/_isinfd128.c: Likewise.
6210 * config/libbid/_isinfd32.c: Likewise.
6211 * config/libbid/_isinfd64.c: Likewise.
6212 * config/libbid/_le_dd.c: Likewise.
6213 * config/libbid/_le_sd.c: Likewise.
6214 * config/libbid/_le_td.c: Likewise.
6215 * config/libbid/_lt_dd.c: Likewise.
6216 * config/libbid/_lt_sd.c: Likewise.
6217 * config/libbid/_lt_td.c: Likewise.
6218 * config/libbid/_mul_dd.c: Likewise.
6219 * config/libbid/_mul_sd.c: Likewise.
6220 * config/libbid/_mul_td.c: Likewise.
6221 * config/libbid/_ne_dd.c: Likewise.
6222 * config/libbid/_ne_sd.c: Likewise.
6223 * config/libbid/_ne_td.c: Likewise.
6224 * config/libbid/_sd_to_dd.c: Likewise.
6225 * config/libbid/_sd_to_df.c: Likewise.
6226 * config/libbid/_sd_to_di.c: Likewise.
6227 * config/libbid/_sd_to_sf.c: Likewise.
6228 * config/libbid/_sd_to_si.c: Likewise.
6229 * config/libbid/_sd_to_td.c: Likewise.
6230 * config/libbid/_sd_to_tf.c: Likewise.
6231 * config/libbid/_sd_to_udi.c: Likewise.
6232 * config/libbid/_sd_to_usi.c: Likewise.
6233 * config/libbid/_sd_to_xf.c: Likewise.
6234 * config/libbid/_sf_to_dd.c: Likewise.
6235 * config/libbid/_sf_to_sd.c: Likewise.
6236 * config/libbid/_sf_to_td.c: Likewise.
6237 * config/libbid/_si_to_dd.c: Likewise.
6238 * config/libbid/_si_to_sd.c: Likewise.
6239 * config/libbid/_si_to_td.c: Likewise.
6240 * config/libbid/_td_to_dd.c: Likewise.
6241 * config/libbid/_td_to_df.c: Likewise.
6242 * config/libbid/_td_to_di.c: Likewise.
6243 * config/libbid/_td_to_sd.c: Likewise.
6244 * config/libbid/_td_to_sf.c: Likewise.
6245 * config/libbid/_td_to_si.c: Likewise.
6246 * config/libbid/_td_to_tf.c: Likewise.
6247 * config/libbid/_td_to_udi.c: Likewise.
6248 * config/libbid/_td_to_usi.c: Likewise.
6249 * config/libbid/_td_to_xf.c: Likewise.
6250 * config/libbid/_tf_to_dd.c: Likewise.
6251 * config/libbid/_tf_to_sd.c: Likewise.
6252 * config/libbid/_tf_to_td.c: Likewise.
6253 * config/libbid/_udi_to_dd.c: Likewise.
6254 * config/libbid/_udi_to_sd.c: Likewise.
6255 * config/libbid/_udi_to_td.c: Likewise.
6256 * config/libbid/_unord_dd.c: Likewise.
6257 * config/libbid/_unord_sd.c: Likewise.
6258 * config/libbid/_unord_td.c: Likewise.
6259 * config/libbid/_usi_to_dd.c: Likewise.
6260 * config/libbid/_usi_to_sd.c: Likewise.
6261 * config/libbid/_usi_to_td.c: Likewise.
6262 * config/libbid/_xf_to_dd.c: Likewise.
6263 * config/libbid/_xf_to_sd.c: Likewise.
6264 * config/libbid/_xf_to_td.c: Likewise.
6265 * config/libbid/bid128.c: Likewise.
6266 * config/libbid/bid128_2_str.h: Likewise.
6267 * config/libbid/bid128_2_str_macros.h: Likewise.
6268 * config/libbid/bid128_2_str_tables.c: Likewise.
6269 * config/libbid/bid128_add.c: Likewise.
6270 * config/libbid/bid128_compare.c: Likewise.
6271 * config/libbid/bid128_div.c: Likewise.
6272 * config/libbid/bid128_fma.c: Likewise.
6273 * config/libbid/bid128_logb.c: Likewise.
6274 * config/libbid/bid128_minmax.c: Likewise.
6275 * config/libbid/bid128_mul.c: Likewise.
6276 * config/libbid/bid128_next.c: Likewise.
6277 * config/libbid/bid128_noncomp.c: Likewise.
6278 * config/libbid/bid128_quantize.c: Likewise.
6279 * config/libbid/bid128_rem.c: Likewise.
6280 * config/libbid/bid128_round_integral.c: Likewise.
6281 * config/libbid/bid128_scalb.c: Likewise.
6282 * config/libbid/bid128_sqrt.c: Likewise.
6283 * config/libbid/bid128_string.c: Likewise.
6284 * config/libbid/bid128_to_int16.c: Likewise.
6285 * config/libbid/bid128_to_int32.c: Likewise.
6286 * config/libbid/bid128_to_int64.c: Likewise.
6287 * config/libbid/bid128_to_int8.c: Likewise.
6288 * config/libbid/bid128_to_uint16.c: Likewise.
6289 * config/libbid/bid128_to_uint32.c: Likewise.
6290 * config/libbid/bid128_to_uint64.c: Likewise.
6291 * config/libbid/bid128_to_uint8.c: Likewise.
6292 * config/libbid/bid32_to_bid128.c: Likewise.
6293 * config/libbid/bid32_to_bid64.c: Likewise.
6294 * config/libbid/bid64_add.c: Likewise.
6295 * config/libbid/bid64_compare.c: Likewise.
6296 * config/libbid/bid64_div.c: Likewise.
6297 * config/libbid/bid64_fma.c: Likewise.
6298 * config/libbid/bid64_logb.c: Likewise.
6299 * config/libbid/bid64_minmax.c: Likewise.
6300 * config/libbid/bid64_mul.c: Likewise.
6301 * config/libbid/bid64_next.c: Likewise.
6302 * config/libbid/bid64_noncomp.c: Likewise.
6303 * config/libbid/bid64_quantize.c: Likewise.
6304 * config/libbid/bid64_rem.c: Likewise.
6305 * config/libbid/bid64_round_integral.c: Likewise.
6306 * config/libbid/bid64_scalb.c: Likewise.
6307 * config/libbid/bid64_sqrt.c: Likewise.
6308 * config/libbid/bid64_string.c: Likewise.
6309 * config/libbid/bid64_to_bid128.c: Likewise.
6310 * config/libbid/bid64_to_int16.c: Likewise.
6311 * config/libbid/bid64_to_int32.c: Likewise.
6312 * config/libbid/bid64_to_int64.c: Likewise.
6313 * config/libbid/bid64_to_int8.c: Likewise.
6314 * config/libbid/bid64_to_uint16.c: Likewise.
6315 * config/libbid/bid64_to_uint32.c: Likewise.
6316 * config/libbid/bid64_to_uint64.c: Likewise.
6317 * config/libbid/bid64_to_uint8.c: Likewise.
6318 * config/libbid/bid_b2d.h: Likewise.
6319 * config/libbid/bid_binarydecimal.c: Likewise.
6320 * config/libbid/bid_conf.h: Likewise.
6321 * config/libbid/bid_convert_data.c: Likewise.
6322 * config/libbid/bid_decimal_data.c: Likewise.
6323 * config/libbid/bid_decimal_globals.c: Likewise.
6324 * config/libbid/bid_div_macros.h: Likewise.
6325 * config/libbid/bid_dpd.c: Likewise.
6326 * config/libbid/bid_flag_operations.c: Likewise.
6327 * config/libbid/bid_from_int.c: Likewise.
6328 * config/libbid/bid_functions.h: Likewise.
6329 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6330 * config/libbid/bid_inline_add.h: Likewise.
6331 * config/libbid/bid_internal.h: Likewise.
6332 * config/libbid/bid_round.c: Likewise.
6333 * config/libbid/bid_sqrt_macros.h: Likewise.
6334
63352009-04-09 Jakub Jelinek <jakub@redhat.com>
6336
6337 * Makefile.in: Change copyright header to refer to version
6338 3 of the GNU General Public License and to point readers at the
6339 COPYING3 file and the FSF's license web page.
6340 * config.host: Likewise.
6341
4e5e2802 63422009-04-07 Alan Modra <amodra@bigpond.net.au>
6343
6344 * config.host: Reorder and merge to match config.gcc change.
6345
8d40ea45 63462009-04-03 Alan Modra <amodra@bigpond.net.au>
6347
6348 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6349
f2397fc4 63502009-03-28 Joseph Myers <joseph@codesourcery.com>
6351
6352 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6353 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6354 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6355 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6356
24200b28 63572009-02-12 Uros Bizjak <ubizjak@gmail.com>
6358
6359 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6360 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6361
8b21beb2 63622009-02-12 H.J. Lu <hongjiu.lu@intel.com>
6363
24200b28 6364 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6365 ia64/t-softfp-compat to tmake_file.
8b21beb2 6366
6367 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6368
6369 * config/ia64/__divxf3.asm: New.
6370 * config/ia64/_fixtfdi.asm: Likewise.
6371 * config/ia64/_fixunstfdi.asm: Likewise.
6372 * config/ia64/_floatditf.asm: Likewise.
6373 * config/ia64/t-fprules-softfp: Likewise.
6374 * config/ia64/t-softfp-compat: Likewise.
6375 * config/ia64/tf-signs.c: Likewise.
6376
9df8be69 63772009-01-18 Ben Elliston <bje@au.ibm.com>
6378
6379 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6380
f2b540ae 63812009-01-16 Ben Elliston <bje@au.ibm.com>
6382
6383 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6384 to tmake_file.
6385
5790f80a 63862009-01-13 Ben Elliston <bje@au.ibm.com>
6387
6388 * config/t-softfp: New file.
6389 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6390 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6391
b8138586 63922009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
6393
6394 * config.host: Add m32r*-*-rtems*.
6395
7eac0a4e 63962008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
6397
6398 * config.host: Add m32c*-*-rtems*.
6399
03150a33 64002008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6401
6402 PR bootstrap/33100
6403 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6404 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6405 * configure: Regenerate.
6406 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6407 tmake_file here from gcc/config.gcc.
6408 Move extra_parts here from gcc/config.gcc.
6409 * config/i386/t-sol2: Move here from gcc/config/i386.
6410 Use gcc_srcdir instead of srcdir.
6411
77a32a8e 64122008-11-18 Adam Nemet <anemet@caviumnetworks.com>
6413
6414 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6415 case.
6416
1eab96a6 64172008-11-09 Thomas Schwinge <tschwinge@gnu.org>
6418
6419 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6420
74cd9df8 64212008-10-08 Thomas Schwinge <tschwinge@gnu.org>
6422
6423 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6424
8372e9ea 64252008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
6426
6427 Add picoChip port.
6428 * config.host: Add picochip-*-*.
6429
75c7ffbc 64302008-08-06 Bob Wilson <bob.wilson@acm.org>
6431
6432 * config.host: Match more processor names for Xtensa.
6433
fb4830c6 64342008-07-08 H.J. Lu <hongjiu.lu@intel.com>
6435
6436 * config/i386/64/t-softfp-compat: Update comments.
6437
7c92db45 64382008-07-07 H.J. Lu <hongjiu.lu@intel.com>
6439
6440 * config/i386/64/_divtc3-compat.c: Moved to ...
6441 * config/i386/64/_divtc3.c: Here.
6442
6443 * config/i386/64/_multc3-compat.c: Moved to ...
6444 * config/i386/64/_multc3.c: Here.
6445
6446 * config/i386/64/_powitf2-compat.c: Moved to ...
6447 * config/i386/64/_powitf2.c: Here.
6448
6449 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6450 .c suffix instead of -compat.c.
6451
ec2e6a4e 64522008-07-05 Uros Bizjak <ubizjak@gmail.com>
6453
6454 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6455 (_FP_MUL_MEAT_D): Ditto.
6456 (_FP_DIV_MEAT_S): Ditto.
6457 (_FP_DIV_MEAT_D): Ditto.
6458
fdbb505a 64592008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
6460
6461 * Makefile.in: Add support for __sync_* libgcc functions.
6462
310c48f2 64632008-07-03 H.J. Lu <hongjiu.lu@intel.com>
6464
6465 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6466
144633f4 64672008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6468
6469 PR boostrap/36702
6470 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6471 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
6472
6473 * config/i386/64/t-fprules-softfp: Moved to ...
6474 * config/i386/64/t-softfp-compat: This. New.
6475
e25ffafe 64762008-07-02 Uros Bizjak <ubizjak@gmail.com>
6477
6478 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6479 Initialize f with 0.0.
6480
b3fd46a0 64812008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6482
6483 PR target/36669
6484 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6485
6486 * config/i386/64/_divtc3-compat.c: New.
6487 * config/i386/64/_multc3-compat.c: Likewise.
6488 * config/i386/64/_powitf2-compat.c: Likewise.
6489 * config/i386/64/eqtf2.c: Likewise.
6490 * config/i386/64/getf2.c: Likewise.
6491 * config/i386/64/letf2.c: Likewise.
6492 * config/i386/64/t-fprules-softfp: Likewise.
6493
64942008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6495
6496 * config.host: Add i386/${host_address}/t-fprules-softfp to
6497 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
1d7e299f 6498 i[34567]86-*-linux*, x86_64-*-linux*.
b3fd46a0 6499
6500 * configure.ac: Set host_address to 64 or 32 for x86.
6501 * configure: Regenerated.
6502
6503 * Makefile.in (config.status): Also depend on
6504 $(srcdir)/config.host.
6505
6506 * config/i386/32/t-fprules-softfp: New.
6507 * config/i386/32/tf-signs.c: Likewise.
6508
6509 * config/i386/64/sfp-machine.h: New. Moved from gcc.
6510
65112008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6512 Uros Bizjak <ubizjak@gmail.com>
6513
6514 * config/i386/32/sfp-machine.h: New.
6515
eaef9489 65162008-06-26 Nathan Froyd <froydnj@codesourcery.com>
6517
6518 * config/rs6000/t-ppccomm: Remove rules that conflict with
6519 auto-generated rules.
6520
5b2c7553 65212008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6522
6523 * configure.ac: sinclude override.m4.
6524 * configure: Regenerate.
6525
dde02e56 65262008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
6527
6528 * configure: Regenerate.
6529
4d6f3aad 65302008-06-10 Joseph Myers <joseph@codesourcery.com>
6531
6532 * Makefile.in (DECNUMINC): Remove
6533 -I$(MULTIBUILDTOP)../../libdecnumber.
6534 * gstdint.h: New.
6535
6af9f7ea 65362008-06-07 Joseph Myers <joseph@codesourcery.com>
6537
6538 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
6539 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
6540 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
6541 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
6542 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
6543 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6544 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
6545 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
6546 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
6547 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
6548 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
6549 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
6550 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
6551 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
6552
ccf1c0f1 65532008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
6554
6555 * config.host (sh2[lbe]*-*-linux*): Allow target.
6556
19872d0b 65572008-04-30 Nathan Froyd <froydnj@codesourcery.com>
6558
6559 * config/rs6000/t-ppccomm: Add build rules for new files.
6560 (LIB2ADD_ST): New variable.
6561
38dd5584 65622008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
6563
6564 PR target/34210
6565 PR target/35508
6566 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
6567 * config/t-avr: New file. Build 16bit libgcc functions.
6568
8e5da69c 65692008-03-02 Jakub Jelinek <jakub@redhat.com>
6570
6571 PR target/35401
6572 * config/t-slibgcc-darwin: Make install-leaf dependent on
6573 install-darwin-libgcc-stubs instead of install.
6574
99c77e32 65752008-01-25 Joseph Myers <joseph@codesourcery.com>
6576
6577 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
6578 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
6579 sh-*-rtemscoff*): Remove cases.
6580
8237872e 65812007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
6582
6583 * Makefile.in (all): Use install-leaf rather than install.
6584 (install): Split most of the rule into...
6585 (install-leaf): ...this new one.
6586
00a05b87 65872007-12-19 Etsushi Kato <ek.kato@gmail.com>
6588 Paolo Bonzini <bonzini@gnu.org>
6589
6590 PR target/30572
e25ffafe 6591 * Makefile.in: Use @shlib_slibdir@ substitution to get
6592 correct install name on darwin.
00a05b87 6593 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
1d7e299f 6594
877d7f12 65952007-12-15 Hans-Peter Nilsson <hp@axis.com>
6596
6597 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
6598 cris-*-elf and cris-*-none.
6599 (crisv32-*-linux*): Similar, as cris-*-linux*.
6600
75612461 66012007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
6602
6603 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
6604
f11b4169 66052007-10-27 H.J. Lu <hongjiu.lu@intel.com>
6606
6607 PR regression/33926
6608 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
6609 * configure: Regenerated.
6610
84d1fc49 66112007-09-27 H.J. Lu <hongjiu.lu@intel.com>
6612
6613 * Makefile.in (dfp-filenames): Replace decimal_globals,
6614 decimal_data, binarydecimal and convert_data with
6615 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
6616 and bid_convert_data, respectively.
6617
3ac0842f 66182007-09-17 Chao-ying Fu <fu@mips.com>
6619 Nigel Stephens <nigel@mips.com>
6620
6621 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
6622 * Makefile.in (fixed_point): Define.
6623 Check if fixed_point is yes to build support functions.
6624 * configure.ac: Check for fixed_point support.
6625 * configure: Regenerated.
6626 * gen-fixed.sh: New file to generate lists of fixed-point labels,
6627 funcs, modes, from, to.
6628
8c72b2f9 66292007-09-11 Janis Johnson <janis187@us.ibm.com
6630
6631 * Makefile.in (dfp-filenames): Add bid128_noncomp.
6632
c8ac5d9a 66332007-09-10 Janis Johnson <janis187@us.ibm.com>
6634
6635 * Makefile.in (dfp-filenames): Remove decUtility, add
6636 decDouble, decPacked, decQuad, decSingle.
6637
cc8ebe39 66382007-08-27 Hans Kester <hans.kester@ellips.nl>
6639
6640 * config.host : Add x86_64-elf target.
6641
db1c99de 66422007-07-06 H.J. Lu <hongjiu.lu@intel.com>
6643
6644 * configure.ac (set_have_cc_tls): Add a missing =.
6645 * configure: Regenerated.
6646
e4cbe54f 66472007-07-06 H.J. Lu <hongjiu.lu@intel.com>
6648
6649 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
6650 and x86_64-*-linux*.
6651
6652 * config/t-tls: New file.
6653
1d7e299f 6654 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
e4cbe54f 6655
6656 * configure.ac: Include ../config/enable.m4 and
6657 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
6658 supports TLS and substitute set_have_cc_tls.
6659 * configure: Regenerated.
6660
9b6b0236 66612007-07-04 H.J. Lu <hongjiu.lu@intel.com>
6662
6663 * Makefile.in: Use libbid for DFP when BID is enabled.
6664
9e51385b 66652007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
6666
6667 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
1d7e299f 6668 extra_parts. Add config/i386/t-cygming to tmake_file.
9e51385b 6669 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
6670
8f433c51 66712007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
9b6b0236 6672 Danny Smith <dannysmith@users.sourceforge.net>
8f433c51 6673
6674 PR target/29498
6675 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
6676 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
6677 * config/i386/t-crtfm: Compile crtfastmath.o with
6678 -minline-all-stringops.
6679
723e1902 66802007-05-10 Richard Sandiford <richard@codesourcery.com>
6681
6682 * config.host (sparc-wrs-vxworks): New target.
6683
278e2fd1 66842007-04-14 Kazu Hirata <kazu@codesourcery.com>
6685
6686 * config.host: Recognize fido.
6687
2968d68c 66882007-04-04 Janis Johnson <janis187@us.ibm.com>
6689
6690 * configure: Check host, not target, for decimal float support.
6691
6d057ce8 66922007-04-03 Uros Bizjak <ubizjak@gmail.com>
6693
6694 * config/i386/t-crtpc: New file.
6695 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
e25ffafe 6696 (x86_64-*-linux*): Ditto.
6d057ce8 6697
0bbe9142 66982007-02-30 Kai Tietz <kai.tietz@onevision.com>
6699
6700 * config.host (x86_64-*-mingw*): New target.
6701
10de71e1 67022007-03-23 Michael Meissner <michael.meissner@amd.com>
6703 H.J. Lu <hongjiu.lu@intel.com>
6704
6705 * Makefile.in (enable_decimal_float): New.
6706 (DECNUMINC): Add
6707 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
6708 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
6709 (decbits-filenames): This.
6710 (decbits-objects): New.
6711 (libgcc-objects): Add $(decbits-objects).
6712
6713 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
6714 Substitute enable_decimal_float.
6715 * configure: Regenerated.
6716
7a9b9c95 67172007-03-19 Hans-Peter Nilsson <hp@axis.com>
6718
6719 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
6720
37decb40 67212007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
6722
6723 * Makefile.in (install-info): New dummy target.
6724
bce94ab5 67252007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
6726
6727 * config.host (bfin*-linux-uclibc*): Set extra_parts.
6728
1403bdd1 67292007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
6730
6731 * Makefile.in: Add install-html and install-pdf dummy
6732 targets.
6733
fce64ed4 67342007-02-05 Roger Sayle <roger@eyesopen.com>
6735 Daniel Jacobowitz <dan@codesourcery.com>
6736
6737 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
6738 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
6739 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
6740
4d863ca5 67412007-01-29 Janis Johnson <janis187@us.ibm.com>
6742
6743 * Makefile.in (dec-filenames): Add decExcept.
6744
f0356913 67452007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6746
6747 PR bootstrap/30469
6748 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
6749 -fprofile-use.
6750
bbdcab13 67512007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
6752
6753 * configure.ac: Add --enable-version-specific-runtime-libs.
6754 Correct $slibdir default.
6755 * configure: Regenerated.
6756
3da0fdbc 67572007-01-23 Joseph Myers <joseph@codesourcery.com>
6758
6759 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
6760
cdca0ab7 67612007-01-21 Andrew Pinski <pinskia@gmail.com>
6762
6763 PR target/30519
6764 * config.host (alpha*-*-linux*): Set extra_parts.
6765
97f1a704 67662007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
6767
6768 * config/sh/t-linux: New.
6769 * config.host (sh*-*-linux*): Set tmake_file.
6770
52617116 67712007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
6772
6773 * Makefile.in (install): Handle multilibs.
6774
c0e5c948 67752007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6776
6777 * Makefile.in: Added .PHONY entry for documentation targets.
6778
d62e2f2f 67792007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6780
6781 * Makefile.in: Add empty info, html, dvi, pdf targets.
6782
68cf2994 67832007-01-04 Mike Stump <mrs@apple.com>
6784
6785 * Makefile.in (MAKEINFO): Remove.
6786 (PERL): Likewise.
6787
f534b3b3 67882007-01-04 Paolo Bonzini <bonzini@gnu.org>
6789
6790 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
6791 * configure: Regenerate.
6792 * Makefile.in (host_subdir): Substitute it.
1d7e299f 6793 (gcc_objdir): Use it.
f534b3b3 6794
c11c6ae3 67952007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6796
6797 * config.host (ia64*-*-linux*): Set tmake_file.
6798
d272bed8 67992007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6800
6801 * Makefile.in (version): Define.
6802
894a47b4 68032007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
6804 Paolo Bonzini <bonzini@gnu.org>
6805
6806 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
6807 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
6808 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
6809 config/sparc/t-crtfm, config/t-slibgcc-darwin,
6810 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
6811 shared-object.mk, siditi-object.mk, static-object.mk: New files.
6812 * configure: Generated.