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