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