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