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