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