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