]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
config.gcc (*-*-cygwin*): Use __cxa_atexit by default.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
1ac83976
YS
12014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
2
3 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
4 declaration syntax.
5
c6f9ea3b
SE
62014-08-13 Steve Ellcey <sellcey@mips.com>
7
8 * crtstuff.c: Undef caddr_t.
9
5b1ea7c5
SE
102014-08-12 Steve Ellcey <sellcey@mips.com>
11
12 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
13
4303c581
NS
142014-08-07 Nathan Sidwell <nathan@acm.org>
15
16 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
17 (LIBGCOV_DRIVER): ... to here.
18 * libgcov.h (gcov_do_dump): New #define.
19 (struct gcov_root): New.
20 (__gcov_root): New declaration.
21 (__gcov_dump_one): Declare.
22 * libgcov-driver.c (gcov_list, gcov_dump_complete,
23 run_accounted): Delete.
24 (gcov_compute_histogram): Add LIST argument, adjust.
25 (compute_summary): Adjust gcov_compute_histogram call.
26 (gcov_do_dump): Not hidden, static in libgcov.
27 (gcov_clear): Move to interface.c.
28 (__gcov_dump_one): New, broken out of ...
29 (gcov_exit): ... here. Make static.
30 (__gcov_root): New.
31 (__gcov_init): Adjust.
32 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
33 declarations.
34 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
35 (gcov_clear): Moved from driver.c. Add LIST argument.
36 (__gcov_reset): Adjust for changed interfaces.
37 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
38
23742a9e
RAR
392014-08-04 Rohit <rohitarulraj@freescale.com>
40
41 PR target/60102
42 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 43 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 44
b98a872b
NS
452014-08-01 Nathan Sidwell <nathan@acm.org>
46
47 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
48 LIBGCOV_INTERFACE): Reformat.
49 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
50 IN_GCOV_TOOL.
51 * libgcov-interface.c: Reformat some comments.
52 (__gcov_flush_mx): Add declaration. Tidy up definition.
53
6adaaa1d
AM
542014-07-31 Alan Modra <amodra@gmail.com>
55 Peter Bergner <bergner@vnet.ibm.com>
56
57 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
58 (pack_ldouble): New function.
59 (__gcc_qadd): Use it.
60 (__gcc_qmul): Likewise.
61 (__gcc_qdiv): Likewise.
62 (__gcc_qneg): Likewise.
63 (__gcc_stoq): Likewise.
64 (__gcc_dtoq): Likewise.
65
87cb0c0c
UW
662014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
67
68 * config/s390/tpf-unwind.h: Include <stdbool.h>.
69 (__tpf_eh_return): Add original return address as second parameter.
70 Handle cases where unwinder routines were called directly, instead
71 of from within the C++ library.
72
19926161
NS
732014-07-29 Nathan Sidwell <nathan@acm.org>
74
75 * libgcov.h: Move renaming of entry points to lib gcov specific
76 portion.
77 (gcov_do_dump): New rename.
78 (gcov_rewrite): Remove inline, make HIDDEN.
79 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
80 (gcov_exit_compute_summary): Rename to ...
81 (compute_summary): ... here. Add LIST argument.
82 (gcov_exit_merge_gcda): Rename to ...
83 (merge_one_data): ... here.
84 (gcov_exit_write_gcda): Rename to ...
85 (write_one_data): ... here.
86 (gcov_exit_merge_summary): Rename to ...
87 (merge_summary): Add RUN_COUNTED argument.
88 (gcov_exit_dump_gcov): Rename to ...
89 (dump_one_gcov): Add RUN_COUNTED argument.
90 (gcov_do_dump): New function, broken out of ...
91 (gcov_exit): ... here. Call it.
92
17522262
AG
932014-07-27 Anthony Green <green@moxielogic.com>
94
95 * config.host: Add moxiebox configuration suppport.
96
6dc33097
NS
972014-07-27 Nathan Sidwell <nathan@acm.org>
98
99 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
100 (struct gcov_filename): ... here. Include buffer and max length
101 fields.
102 (gcov_max_filename): Remove.
103 (gi_filename): Remove.
104 (gcov_exit_compute_summary): Compute max filename here.
105 (gcov_exit_merge_gcda): Add filename parm, adjust.
106 (gcov_exit_merge_summary): Likewise.
107 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
108 (gcov_exit): Likewise.
109 (__gcov_init): Don't calculate max length here.
110 * libgcov_util.c (max_filename_len): Remove.
111 (read_gcda_file): Don't calculate max length here.
112 (gcov_read_profile_dir): Don't propagate here.
113 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
114 struct gcov_filename changes.
115 (gcov_exit_open_gcda_file): Likewise.
116
770f687d
NS
1172014-07-25 Nathan Sidwell <nathan@acm.org>
118
119 * libgcov-driver.c (set_gcov_dump_complete,
120 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
121 functions polluting user's namespace.
122 (gcov_exit): Set variable directly.
123 (gcov_clear): Reset variable directly.
124 * libgcov-interface.c (get_gcov_dymp_complete,
125 reset_gov_dump_complete): Remove declarations.
126 (__gcov_reset, __gcov_dump): Don't call them.
127
fabf71ba
DD
1282014-07-24 DJ Delorie <dj@redhat.com>
129
130 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
131 (__gcc_deregister_frame): Move logic to detect deregister function
132 to ...
133 (__gcc_register_frame): here, so it's consistent with the register
134 logic.
fabf71ba 135
d10ee722
NS
1362014-07-23 Nathan Sidwell <nathan@acm.org>
137
138 * libgcov-driver.c (set_gcov_list): Remove.
139 (gcov_list): Make non-static in GCOV_TOOL.
140 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
141
a4137090
JDA
1422014-07-17 John David Anglin <danglin@gcc.gnu.org>
143
144 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
145 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
146 Don't use SYNC_LOCK_RELEASE for int type.
147
72602c6c
RB
1482014-07-14 Richard Biener <rguenther@suse.de>
149
150 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
151
d5313205
RX
1522014-07-11 Rong Xu <xur@google.com>
153
154 * libgcov-util.c (gcov_max_filename): Fix declartion.
155
c77556a5
RX
1562014-07-10 Rong Xu <xur@google.com>
157
158 Add gcov-tool: an offline gcda profile processing tool
159 Support.
160 * libgcov-driver.c (gcov_max_filename): Make available
161 to gcov-tool.
162 * libgcov-merge.c (__gcov_merge_add): Replace
163 gcov_read_counter() with a Macro.
164 (__gcov_merge_ior): Ditto.
165 (__gcov_merge_time_profile): Ditto.
166 (__gcov_merge_single): Ditto.
167 (__gcov_merge_delta): Ditto.
168 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
169 in the utility functions.
170 (set_fn_ctrs): Utility function for reading gcda files to in-memory
171 gcov_list object link lists.
172 (tag_function): Ditto.
173 (tag_blocks): Ditto.
174 (tag_arcs): Ditto.
175 (tag_lines): Ditto.
176 (tag_counters): Ditto.
177 (tag_summary): Ditto.
178 (read_gcda_finalize): Ditto.
179 (read_gcda_file): Ditto.
180 (ftw_read_file): Ditto.
181 (read_profile_dir_init): Ditto.
182 (gcov_read_profile_dir): Ditto.
183 (gcov_read_counter_mem): Ditto.
184 (gcov_get_merge_weight): Ditto.
185 (merge_wrapper): A wrapper function that calls merging handler.
186 (gcov_merge): Merge two gcov_info objects with weights.
187 (find_match_gcov_info): Find the matched gcov_info in the list.
188 (gcov_profile_merge): Merge two gcov_info object lists.
189 (__gcov_add_counter_op): Process edge profile counter values.
190 (__gcov_ior_counter_op): Process IOR profile counter values.
191 (__gcov_delta_counter_op): Process delta profile counter values.
192 (__gcov_single_counter_op): Process single profile counter values.
193 (fp_scale): Callback function for float-point scaling.
194 (int_scale): Callback function for integer fraction scaling.
195 (gcov_profile_scale): Scaling profile counters.
196 (gcov_profile_normalize): Normalize profile counters.
197 * libgcov.h: Add headers and functions for gcov-tool use.
198 (gcov_get_counter): New.
199 (gcov_get_counter_target): Ditto.
200 (struct gcov_info): Make the functions field mutable in gcov-tool
201 compilation.
202
5c7dac8a
KT
2032014-06-23 Kai Tietz <ktietz@redhat.com>
204
205 PR libgcc/61585
206 * unwind-seh.c (_Unwind_GetGR): Check for proper
207 index range.
208 (_Unwind_SetGR): Likewise.
209
161c9312
NC
2102014-05-22 Nick Clifton <nickc@redhat.com>
211
212 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
213 -mhwmult=none.
214
e3f0315f
TJ
2152014-05-22 Teresa Johnson <tejohnson@google.com>
216
217 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
218 include.
219
dbed5a9b
JM
2202014-05-20 John Marino <gnugcc@marino.st>
221
222 * config.host (*-*-dragonfly*): New target.
223 * crtstuff.c: Make dl_iterate_support generic on *bsd.
224 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
225 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
226 * config/i386/dragonfly-unwind.h: New.
227
1ec380e5
MR
2282014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
229
230 PR libgcc/60166
231 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
232 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
233
54fde020
BE
2342014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
235
236 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
237 implementation.
238
999db125
GJL
2392014-05-12 Georg-Johann Lay <avr@gjlay.de>
240
241 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
242
cceaf54a
RO
2432014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
244
245 PR libgcc/61097
246 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
247 if --enable-shared.
248
e3fe9b5b
BE
2492014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
250
251 Work around for current cygwin32 build problems.
252 * config/i386/cygming-crtbegin.c (__register_frame_info,
253 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
254 functions only for 64-bit systems.
255
54cf37e9
RO
2562014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
257
258 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
259 (sigill_caught, sigill_hdlr): Remove.
260
d9f069ab
RO
2612014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
262
263 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
264 check.
265 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
266 Solaris 9 single-threaded support.
267 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
268 Solaris 9 single-threaded support. Add call_user_handler code
269 sequences.
270 (sparc_is_sighandler): Likewise.
271
59976ef8
AK
2722014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
273
274 * config.host: Append t-floattodi to tmake_file depending on
275 host_address.
276
d02bbcf3
JS
2772014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
278
31466bc0 279 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 280
c2e7e597
UB
2812014-03-10 Uros Bizjak <ubizjak@gmail.com>
282
283 PR libgcc/60472
284 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
285 variable to avoid array subscript is above array bounds warnings.
286 Use __builtin_expect when checking *jcr_list for NULL.
287
227a7dc8
RO
2882014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
289
290 PR libgcc/59339
291 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
292 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
293 vtv_*.o to extra_parts if enable_vtable_verify.
294
df2b279c
NC
2952014-03-06 Nick Clifton <nickc@redhat.com>
296
297 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
298 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
299
dc11d79b
JY
3002014-02-28 Joey Ye <joey.ye@arm.com>
301
302 PR libgcc/60166
303 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
304 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
305 Set to zero.
306
341c653c
WL
3072014-02-24 Walter Lee <walt@tilera.com>
308
309 * config.host: Support "tilegx*" and "tilepro*" triplets.
310 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
311 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
312
95ce7613
CLT
3132014-02-20 Sandra Loosemore <sandra@codesourcery.com>
314 Chung-Lin Tang <cltang@codesourcery.com>
315
316 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
317 * config/nios2/crti.S: Remove .file directive.
318 * config/nios2/crtn.S: Likewise.
319
0bb4fc05
KT
3202014-02-18 Kai Tietz <ktietz@redhat.com>
321 Jonathan Schleifer <js@webkeks.org>
322
323 PR objc/56870
324 * unwind-seh.c (_GCC_specific_handler): Pass proper
325 value to unwind-handler.
326
9acf28f1
JM
3272014-02-12 Joseph Myers <joseph@codesourcery.com>
328
329 * soft-fp/adddf3.c: Update from glibc.
330 * soft-fp/addsf3.c: Likewise.
331 * soft-fp/addtf3.c: Likewise.
332 * soft-fp/divdf3.c: Likewise.
333 * soft-fp/divsf3.c: Likewise.
334 * soft-fp/divtf3.c: Likewise.
335 * soft-fp/double.h: Likewise.
336 * soft-fp/eqdf2.c: Likewise.
337 * soft-fp/eqsf2.c: Likewise.
338 * soft-fp/eqtf2.c: Likewise.
339 * soft-fp/extenddftf2.c: Likewise.
340 * soft-fp/extended.h: Likewise.
341 * soft-fp/extendsfdf2.c: Likewise.
342 * soft-fp/extendsftf2.c: Likewise.
343 * soft-fp/extendxftf2.c: Likewise.
344 * soft-fp/fixdfdi.c: Likewise.
345 * soft-fp/fixdfsi.c: Likewise.
346 * soft-fp/fixdfti.c: Likewise.
347 * soft-fp/fixsfdi.c: Likewise.
348 * soft-fp/fixsfsi.c: Likewise.
349 * soft-fp/fixsfti.c: Likewise.
350 * soft-fp/fixtfdi.c: Likewise.
351 * soft-fp/fixtfsi.c: Likewise.
352 * soft-fp/fixtfti.c: Likewise.
353 * soft-fp/fixunsdfdi.c: Likewise.
354 * soft-fp/fixunsdfsi.c: Likewise.
355 * soft-fp/fixunsdfti.c: Likewise.
356 * soft-fp/fixunssfdi.c: Likewise.
357 * soft-fp/fixunssfsi.c: Likewise.
358 * soft-fp/fixunssfti.c: Likewise.
359 * soft-fp/fixunstfdi.c: Likewise.
360 * soft-fp/fixunstfsi.c: Likewise.
361 * soft-fp/fixunstfti.c: Likewise.
362 * soft-fp/floatdidf.c: Likewise.
363 * soft-fp/floatdisf.c: Likewise.
364 * soft-fp/floatditf.c: Likewise.
365 * soft-fp/floatsidf.c: Likewise.
366 * soft-fp/floatsisf.c: Likewise.
367 * soft-fp/floatsitf.c: Likewise.
368 * soft-fp/floattidf.c: Likewise.
369 * soft-fp/floattisf.c: Likewise.
370 * soft-fp/floattitf.c: Likewise.
371 * soft-fp/floatundidf.c: Likewise.
372 * soft-fp/floatundisf.c: Likewise.
373 * soft-fp/floatunditf.c: Likewise.
374 * soft-fp/floatunsidf.c: Likewise.
375 * soft-fp/floatunsisf.c: Likewise.
376 * soft-fp/floatunsitf.c: Likewise.
377 * soft-fp/floatuntidf.c: Likewise.
378 * soft-fp/floatuntisf.c: Likewise.
379 * soft-fp/floatuntitf.c: Likewise.
380 * soft-fp/gedf2.c: Likewise.
381 * soft-fp/gesf2.c: Likewise.
382 * soft-fp/getf2.c: Likewise.
383 * soft-fp/ledf2.c: Likewise.
384 * soft-fp/lesf2.c: Likewise.
385 * soft-fp/letf2.c: Likewise.
386 * soft-fp/muldf3.c: Likewise.
387 * soft-fp/mulsf3.c: Likewise.
388 * soft-fp/multf3.c: Likewise.
389 * soft-fp/negdf2.c: Likewise.
390 * soft-fp/negsf2.c: Likewise.
391 * soft-fp/negtf2.c: Likewise.
392 * soft-fp/op-1.h: Likewise.
393 * soft-fp/op-2.h: Likewise.
394 * soft-fp/op-4.h: Likewise.
395 * soft-fp/op-8.h: Likewise.
396 * soft-fp/op-common.h: Likewise.
397 * soft-fp/quad.h: Likewise.
398 * soft-fp/single.h: Likewise.
399 * soft-fp/soft-fp.h: Likewise.
400 * soft-fp/subdf3.c: Likewise.
401 * soft-fp/subsf3.c: Likewise.
402 * soft-fp/subtf3.c: Likewise.
403 * soft-fp/truncdfsf2.c: Likewise.
404 * soft-fp/trunctfdf2.c: Likewise.
405 * soft-fp/trunctfsf2.c: Likewise.
406 * soft-fp/trunctfxf2.c: Likewise.
407 * soft-fp/unorddf2.c: Likewise.
408 * soft-fp/unordsf2.c: Likewise.
409 * soft-fp/unordtf2.c: Likewise.
410 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
411 macro.
412 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
413 Likewise.
414 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
415 Likewise.
416 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
417 Likewise.
418 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
419 Likewise.
420 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
421 Likewise.
422 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
423 Likewise.
424 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
425 Likewise.
426 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
427 Likewise.
428 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
429 Likewise.
430 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
431 Likewise.
432 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
433 Likewise.
434 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
435 Likewise.
436 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
437 Likewise.
438 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
439 Likewise.
440 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
441 Likewise.
442
ce245ec6
AK
4432014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
444
445 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
446 cannot be represented.
447 * config/s390/32/_fixsfdi.c: Likewise.
448 * config/s390/32/_fixtfdi.c: Likewise.
449 * config/s390/32/_fixunsdfdi.c: Likewise.
450 * config/s390/32/_fixunssfdi.c: Likewise.
451 * config/s390/32/_fixunstfdi.c: Likewise.
452
1c51d688
RS
4532014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
454
455 * configure.ac (libgcc_cv_mips_hard_float): New.
456 * configure: Regenerate.
457 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
458 t-softfp-sfdf for hard-float targets.
459 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
460 (softfp_float_modes, softfp_int_modes, softfp_extensions)
461 (softfp_truncations, softfp_exclude_libgcc2): New.
462 * config/t-hardfp: New file.
463 * config/t-hardfp-sfdf: Likewise.
464 * config/hardfp.c: Likewise.
465
bbf391db
AK
4662014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
467
468 * config.host: Include t-floattodi also for s390x.
469 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
470 * config/s390/32/_fixsfdi.c: Likewise.
471 * config/s390/32/_fixtfdi.c: Likewise.
472 * config/s390/32/_fixunsdfdi.c: Likewise.
473 * config/s390/32/_fixunssfdi.c: Likewise.
474 * config/s390/32/_fixunstfdi.c: Likewise.
475
91da0481
RO
4762014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
477
478 PR target/59788
479 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
480 (install-libgcc-unwind-map-forbuild): New target.
481 (all): Depend on install-libgcc-unwind-map-forbuild.
482 (install-libgcc-unwind-map): New target.
483 (install): Depend on install-libgcc-unwind-map.
484
02b67731
SL
4852014-02-02 Sandra Loosemore <sandra@codesourcery.com>
486
487 * config/nios2/crti.S (_init): Initialize GOT pointer from
488 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
489
1ea0a651
RS
4902014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
491
492 * configure.ac: Check __mips64 when setting host_address.
493 * configure: Regenerate.
494 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
495 mips/t-mips64 and t-softfp.
496 (mips*-*-linux*): Don't add mips/t-tpbit.
497 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
498 (DPBIT, DPBIT_CFLAGS): Delete.
499 * config/mips/sfp-machine.h: New file.
500 * config/mips/t-mips64: Likewise.
501 * config/mips/t-softfp-tf: Likewise.
502 * config/mips/t-tpbit: Delete.
503
f32b0061
MS
5042014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
505
506 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
507 as long long.
508
a5420aa4
WL
5092014-01-25 Walter Lee <walt@tilera.com>
510
511 * config/tilepro/atomic.c: Include tconfig.h. Don't include
512 config.h or system.h.
513 (bool) Define.
514
24534912
WL
5152014-01-25 Walter Lee <walt@tilera.com>
516
517 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
518 (post_atomic_barrier): Ditto.
519 (__fetch_and_do): New macro.
520 (__atomic_fetch_and_do): Use __fetch_and_do.
521 (__sync_fetch_and_do): New macro.
522 (__sync_fetch_and_add_4): New function.
523 (__sync_fetch_and_sub_4): New function.
524 (__sync_fetch_and_or_4): New function.
525 (__sync_fetch_and_and_4): New function.
526 (__sync_fetch_and_xor_4): New function.
527 (__sync_fetch_and_nand_4): New function.
528 (__sync_fetch_and_add_8): New function.
529 (__sync_fetch_and_sub_8): New function.
530 (__sync_fetch_and_or_8): New function.
531 (__sync_fetch_and_and_8): New function.
532 (__sync_fetch_and_xor_8): New function.
533 (__sync_fetch_and_nand_8): New function.
534 (__do_and_fetch): New macro.
535 (__atomic_do_and_fetch): Use __do_and_fetch.
536 (__sync_do_and_fetch): New macro.
537 (__sync_add_and_fetch_4): New function.
538 (__sync_sub_and_fetch_4): New function.
539 (__sync_or_and_fetch_4): New function.
540 (__sync_and_and_fetch_4): New function.
541 (__sync_xor_and_fetch_4): New function.
542 (__sync_nand_and_fetch_4): New function.
543 (__sync_add_and_fetch_8): New function.
544 (__sync_sub_and_fetch_8): New function.
545 (__sync_or_and_fetch_8): New function.
546 (__sync_and_and_fetch_8): New function.
547 (__sync_xor_and_fetch_8): New function.
548 (__sync_nand_and_fetch_8): New function.
549 (__sync_exchange_methods): New macro.
550 (__sync_val_compare_and_swap_4): New function.
551 (__sync_bool_compare_and_swap_4): New function.
552 (__sync_lock_test_and_test_4): New function.
553 (__sync_val_compare_and_swap_8): New function.
554 (__sync_bool_compare_and_swap_8): New function.
555 (__sync_lock_test_and_test_8): New function.
556 (__subword_cmpxchg_body): New macro.
557 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
558 (__atomic_compare_exchange_2): Ditto.
559 (__sync_subword_cmpxchg): New macro.
560 (__sync_val_compare_and_swap_1): New function.
561 (__sync_bool_compare_and_swap_1): New function.
562 (__sync_val_compare_and_swap_2): New function.
563 (__sync_bool_compare_and_swap_2): New function.
564 (__atomic_subword): Rename to ...
565 (__subword): ... New name.
566 (__atomic_subword_fetch): Use __subword.
567 (__sync_subword_fetch): New macro.
568 (__sync_fetch_and_add_1): New function.
569 (__sync_fetch_and_sub_1): New function.
570 (__sync_fetch_and_or_1): New function.
571 (__sync_fetch_and_and_1): New function.
572 (__sync_fetch_and_xor_1): New function.
573 (__sync_fetch_and_nand_1): New function.
574 (__sync_fetch_and_add_2): New function.
575 (__sync_fetch_and_sub_2): New function.
576 (__sync_fetch_and_or_2): New function.
577 (__sync_fetch_and_and_2): New function.
578 (__sync_fetch_and_xor_2): New function.
579 (__sync_fetch_and_nand_2): New function.
580 (__sync_add_and_fetch_1): New function.
581 (__sync_sub_and_fetch_1): New function.
582 (__sync_or_and_fetch_1): New function.
583 (__sync_and_and_fetch_1): New function.
584 (__sync_xor_and_fetch_1): New function.
585 (__sync_nand_and_fetch_1): New function.
586 (__sync_add_and_fetch_2): New function.
587 (__sync_sub_and_fetch_2): New function.
588 (__sync_or_and_fetch_2): New function.
589 (__sync_and_and_fetch_2): New function.
590 (__sync_xor_and_fetch_2): New function.
591 (__sync_nand_and_fetch_2): New function.
592 (__atomic_subword_lock): Use __subword.
593 (__sync_subword_lock): New macro.
594 (__sync_lock_test_and_set_1): New function.
595 (__sync_lock_test_and_set_2): New function.
596
4d6d3bc5
WL
5972014-01-25 Walter Lee <walt@tilera.com>
598
599 * config/tilepro/atomic.c (BIT_OFFSET): Define.
600 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
601 (__atomic_subword): Ditto.
602
cbd9890e
WL
6032014-01-25 Walter Lee <walt@tilera.com>
604
605 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
606 a prefix op argument.
607 (__atomic_nand_fetch_4): Add prefix op.
608 (__atomic_nand_fetch_8): Ditto.
609
8fc36b15 6102014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
611
612 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
613
46dd1242
L
6142014-01-09 Rong Xu <xur@google.com>
615
616 * libgcov-driver.c (this_prg): make it local to save
617 bss space.
618 (gcov_exit_compute_summary): Ditto.
619 (gcov_exit_merge_gcda): Ditto.
620 (gcov_exit_merge_summary): Ditto.
621 (gcov_exit_dump_gcov): Ditto.
622
40d6b753
RX
6232014-01-08 Rong Xu <xur@google.com>
624
625 * libgcov-driver.c: Use libgcov.h.
626 (buffer_fn_data): Use xmalloc instead of malloc.
627 (gcov_exit_merge_gcda): Ditto.
628 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
629 * libgcov.h: New common header files for libgcov-*.h.
630 * libgcov-interface.c: Use libgcov.h
631 * libgcov-merge.c: Ditto.
632 * libgcov-profiler.c: Ditto.
633 * Makefile.in: Add dependence to libgcov.h
634
a02e7bdd
JM
6352014-01-02 Joseph Myers <joseph@codesourcery.com>
636
637 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
638 case of small numerator and finite nonzero result.
639
ac1dca3c
RS
6402014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
641
642 Update copyright years
643
f9030485
RS
6442014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
645
646 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
647 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
648 config/arc/dp-hack.h, config/arc/fp-hack.h,
649 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
650 config/arc/ieee-754/arc600-dsp/divdf3.S,
651 config/arc/ieee-754/arc600-dsp/divsf3.S,
652 config/arc/ieee-754/arc600-dsp/muldf3.S,
653 config/arc/ieee-754/arc600-dsp/mulsf3.S,
654 config/arc/ieee-754/arc600-mul64/divdf3.S,
655 config/arc/ieee-754/arc600-mul64/divsf3.S,
656 config/arc/ieee-754/arc600-mul64/muldf3.S,
657 config/arc/ieee-754/arc600-mul64/mulsf3.S,
658 config/arc/ieee-754/arc600/divsf3.S,
659 config/arc/ieee-754/arc600/mulsf3.S,
660 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
661 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
662 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
663 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
664 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
665 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
666 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
667 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
668 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
669 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
670 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
671 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
672 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
673 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
674 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
675 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
676 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
677 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
678 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
679 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
680 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
681 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
682 vtv_start_preinit.c: Use the standard form for the copyright notice.
683
e430824f
CLT
6842013-12-31 Sandra Loosemore <sandra@codesourcery.com>
685 Chung-Lin Tang <cltang@codesourcery.com>
686 Based on patches from Altera Corporation
687
688 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
689 * config/nios2/lib2-nios2.h: New file.
690 * config/nios2/lib2-divmod-hi.c: New file.
691 * config/nios2/linux-unwind.h: New file.
692 * config/nios2/lib2-divmod.c: New file.
693 * config/nios2/linux-atomic.c: New file.
694 * config/nios2/t-nios2: New file.
695 * config/nios2/crti.asm: New file.
696 * config/nios2/t-linux: New file.
697 * config/nios2/lib2-divtable.c: New file.
698 * config/nios2/lib2-mul.c: New file.
699 * config/nios2/tramp.c: New file.
700 * config/nios2/crtn.asm: New file.
701
1879e97f
UB
7022013-12-26 Uros Bizjak <ubizjak@gmail.com>
703
704 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
705 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
706 from cpuid.h to check vendor signatures.
707
f4a4bdbb
GG
7082013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
709
c2e7e597 710 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
711 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
712 (get_amd_cpu): Likewise.
713
8d2ae544
L
7142013-12-25 H.J. Lu <hongjiu.lu@intel.com>
715
716 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
717 Haswell.
718
74924838
ASJ
7192013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
720 H.J. Lu <hongjiu.lu@intel.com>
721
0bb52f25
L
722 PR target/59422
723 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
724 and AMD_JAGUAR.
725 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
726 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
727 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
728 FEATURE_XOP and FEATURE_FMA.
729 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
730 AMDFAM15H_BDVER3.
731 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 732 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
733 FEATURE_FMA4 and FEATURE_XOP.
734
d3c11974
L
7352013-12-23 H.J. Lu <hongjiu.lu@intel.com>
736
737 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
738 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
739 (get_intel_cpu): Updated.
740
064c4ff2
ZC
7412013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
742
743 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
744
8b02e720
UB
7452013-12-09 Uros Bizjak <ubizjak@gmail.com>
746
747 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 748 instructions when __SSE_MATH__ is defined.
8b02e720 749
3fa2ccb4
RC
7502013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
751
752 * config.host (microblaze-*-rtems*): New.
753
ecd78fc9
KV
7542013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
755
756 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
757 architectures that do not have hardware divide instruction.
758 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
759
b21fbbd2
RS
7602013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
761
762 * longlong.h: Delete (moved to include/).
763
b03fb8c9
AZ
7642013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765
766 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
767 of normal number and qNaN to not raise an inexact exception.
768
3c716922
UB
7692013-11-28 Uros Bizjak <ubizjak@gmail.com>
770
771 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
772
7732013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
774
775 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
776 for correct opcodes on BE.
777
a3458d22
UB
7782013-11-27 Uros Bizjak <ubizjak@gmail.com>
779
780 * soft-fp/op-4.h: Update from glibc.
781
30b8f78b
KV
7822013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
783
784 * libgcc2.c (__udivmoddi4): Define new implementation when
785 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
786 divide instructions.
787
82552a29
OE
7882013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
789
790 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
791
80e87457
RO
7922013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
793
794 * config/t-softfp (soft-fp-objects-base): New variable.
795 (soft-fp-objects): Use it.
796
44178879
DE
7972013-11-23 David Edelson <dje.gcc@gmail.com>
798 Andrew Dixie <andrewd@gentrack.com>
799
800 PR target/33704
801 * config/rs6000/aixinitfini.c: New file.
802 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
803 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
804 symbols.
805
e5287671
YR
8062013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
807
a3458d22 808 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 809
867c8b03
JH
8102013-11-18 Jan Hubicka <jh@suse.cz>
811
7f369373
JH
812 * libgcov-driver.c (run_accounted): Make global level static.
813 (gcov_exit_merge_summary): Silence warning; do not clear
814 run_accounted here.
815 (gcov_exit): Clear it here.
816
1d0b3334
JH
817 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
818 run_accounted.
819
867c8b03
JH
820 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
821 (all_prg, crc32): Remove static vars.
822 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
823 all_prg.
824 (gcov_exit_merge_gcda): Add crc32 parameter.
825 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
826 do not account run if it was already accounted.
827 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
828 (gcov_exit): Initialize all_prg; update.
829
66204992
AS
8302013-11-15 Andreas Schwab <schwab@linux-m68k.org>
831
832 * configure: Regenerate.
833
b54214fe
UW
8342013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
835 Alan Modra <amodra@gmail.com>
836
837 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
838 (frob_update_context): Use it.
839
8402013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
841 Alan Modra <amodra@gmail.com>
842
843 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
844 (trampoline_initial): Provide ELFv2 variant.
845 (__trampoline_setup): Likewise.
846
847 * config/rs6000/linux-unwind.h (frob_update_context): Do not
848 check for AIX indirect function call sequence if _CALL_ELF == 2.
849
8502013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
851 Alan Modra <amodra@gmail.com>
852
853 * config/rs6000/linux-unwind.h (get_regs): Do not support
854 old kernel versions if _CALL_ELF == 2.
855 (frob_update_context): Do not support PLT stub variants only
856 generated by old linkers if _CALL_ELF == 2.
857
13e0981a
UW
8582013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
859 Alan Modra <amodra@gmail.com>
860
861 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
862 location of CR save area for 64-bit little-endian systems.
863
1a80085d
EB
8642013-11-11 Eric Botcazou <ebotcazou@adacore.com>
865
866 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
867 in tmake_file.
868 * config/arm/t-vxworks: Delete.
869
cabeea52
KT
8702013-11-10 Kai Tietz <ktietz@redhat.com>
871
872 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
873 Increment load-count on use of LIBGCC_SONAME DLL.
874 (hmod_libgcc): New static variable to hold handle of
875 LIBGCC_SONAME DLL.
876 (__gcc_deregister_frame): Decrement load-count of
877 LIBGCC_SONAME DLL.
878
ac088ba1
BRF
8792013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
880
881 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
882 availability.
883 * configure: Regenerate
884
d59a8fcc
UB
8852013-11-07 Uros Bizjak <ubizjak@gmail.com>
886
887 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
888 FP_EX_DENORM. Store result to volatile location after SSE division
889 to close interrupt window. Remove unneeded fwait after x87
890 division since interrupt window will be closed by emitted fstp.
9de84e84 891 Rewrite FP_EX_INEXACT handling.
d59a8fcc 892
9954c743
JM
8932013-11-06 Joseph Myers <joseph@codesourcery.com>
894
895 * soft-fp/README: Update.
896 * soft-fp/adddf3.c: Update from glibc.
897 * soft-fp/addsf3.c: Likewise.
898 * soft-fp/addtf3.c: Likewise.
899 * soft-fp/divdf3.c: Likewise.
900 * soft-fp/divsf3.c: Likewise.
901 * soft-fp/divtf3.c: Likewise.
902 * soft-fp/double.h: Likewise.
903 * soft-fp/eqdf2.c: Likewise.
904 * soft-fp/eqsf2.c: Likewise.
905 * soft-fp/eqtf2.c: Likewise.
906 * soft-fp/extenddftf2.c: Likewise.
907 * soft-fp/extended.h: Likewise.
908 * soft-fp/extendsfdf2.c: Likewise.
909 * soft-fp/extendsftf2.c: Likewise.
910 * soft-fp/extendxftf2.c: Likewise.
911 * soft-fp/fixdfdi.c: Likewise.
912 * soft-fp/fixdfsi.c: Likewise.
913 * soft-fp/fixdfti.c: Likewise.
914 * soft-fp/fixsfdi.c: Likewise.
915 * soft-fp/fixsfsi.c: Likewise.
916 * soft-fp/fixsfti.c: Likewise.
917 * soft-fp/fixtfdi.c: Likewise.
918 * soft-fp/fixtfsi.c: Likewise.
919 * soft-fp/fixtfti.c: Likewise.
920 * soft-fp/fixunsdfdi.c: Likewise.
921 * soft-fp/fixunsdfsi.c: Likewise.
922 * soft-fp/fixunsdfti.c: Likewise.
923 * soft-fp/fixunssfdi.c: Likewise.
924 * soft-fp/fixunssfsi.c: Likewise.
925 * soft-fp/fixunssfti.c: Likewise.
926 * soft-fp/fixunstfdi.c: Likewise.
927 * soft-fp/fixunstfsi.c: Likewise.
928 * soft-fp/fixunstfti.c: Likewise.
929 * soft-fp/floatdidf.c: Likewise.
930 * soft-fp/floatdisf.c: Likewise.
931 * soft-fp/floatditf.c: Likewise.
932 * soft-fp/floatsidf.c: Likewise.
933 * soft-fp/floatsisf.c: Likewise.
934 * soft-fp/floatsitf.c: Likewise.
935 * soft-fp/floattidf.c: Likewise.
936 * soft-fp/floattisf.c: Likewise.
937 * soft-fp/floattitf.c: Likewise.
938 * soft-fp/floatundidf.c: Likewise.
939 * soft-fp/floatundisf.c: Likewise.
940 * soft-fp/floatunditf.c: Likewise.
941 * soft-fp/floatunsidf.c: Likewise.
942 * soft-fp/floatunsisf.c: Likewise.
943 * soft-fp/floatunsitf.c: Likewise.
944 * soft-fp/floatuntidf.c: Likewise.
945 * soft-fp/floatuntisf.c: Likewise.
946 * soft-fp/floatuntitf.c: Likewise.
947 * soft-fp/gedf2.c: Likewise.
948 * soft-fp/gesf2.c: Likewise.
949 * soft-fp/getf2.c: Likewise.
950 * soft-fp/ledf2.c: Likewise.
951 * soft-fp/lesf2.c: Likewise.
952 * soft-fp/letf2.c: Likewise.
953 * soft-fp/muldf3.c: Likewise.
954 * soft-fp/mulsf3.c: Likewise.
955 * soft-fp/multf3.c: Likewise.
956 * soft-fp/negdf2.c: Likewise.
957 * soft-fp/negsf2.c: Likewise.
958 * soft-fp/negtf2.c: Likewise.
959 * soft-fp/op-1.h: Likewise.
960 * soft-fp/op-2.h: Likewise.
961 * soft-fp/op-4.h: Likewise.
962 * soft-fp/op-8.h: Likewise.
963 * soft-fp/op-common.h: Likewise.
964 * soft-fp/quad.h: Likewise.
965 * soft-fp/single.h: Likewise.
966 * soft-fp/soft-fp.h: Likewise.
967 * soft-fp/subdf3.c: Likewise.
968 * soft-fp/subsf3.c: Likewise.
969 * soft-fp/subtf3.c: Likewise.
970 * soft-fp/truncdfsf2.c: Likewise.
971 * soft-fp/trunctfdf2.c: Likewise.
972 * soft-fp/trunctfsf2.c: Likewise.
973 * soft-fp/trunctfxf2.c: Likewise.
974 * soft-fp/unorddf2.c: Likewise.
975 * soft-fp/unordsf2.c: Likewise.
976 * soft-fp/unordtf2.c: Likewise.
977
02ac9503
UB
9782013-11-05 Uros Bizjak <ubizjak@gmail.com>
979
980 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
981 (_FP_MUL_MEAT_D): Ditto.
982 (_FP_DIV_MEAT_S): Ditto.
983 (_FP_DIV_MEAT_D): Ditto.
984 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
985 t-softfp-sfdf and t-softfp to tmake_file.
986
61221141
UB
9872013-11-03 Uros Bizjak <ubizjak@gmail.com>
988
989 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
990 * config/i386/crtprec.c: Ditto.
991
9304f876
CJW
9922013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
993 Shiva Chen <shiva0217@gmail.com>
994
995 * config.host (nds32*-elf*): Add nds32 target.
996 * config/nds32 : New directory and files.
997
0e499e75
HPN
9982013-10-16 Hans-Peter Nilsson <hp@axis.com>
999
1000 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
1001 * config.host (cpu_type) <Setting default>: Add entry for
1002 crisv32-*-*.
1003 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
1004 <crisv32-*-linux*>: Adjust.
1005 * longlong.h: Wrap the whole CRIS section in a single
1006 defined(__CRIS__) conditional. Add comment about add_ssaaaa
1007 and sub_ddmmss.
1008 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
1009 defined.
1010 [__CRIS__] (__umulsidi3): Define.
1011 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
1012 * config/cris/sfp-machine.h: New file.
1013 * config/cris/umulsidi3.S: New file.
1014 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
1015 * config/cris/arit.c (SIGNMULT): New macro.
1016 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
1017 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
1018 saving 3 out of originally 33 cycles from the fastest
1019 path, 3 out of 54 from the medium path and one from the longest
1020 path. Improve comments.
1021
16022041
RS
10222013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
1023
1024 * sync.c: Remove static aliases and define each function directly
1025 under its real name.
1026
69778659
JDA
10272013-10-02 John David Anglin <danglin@gcc.gnu.org>
1028
1029 * config.host (hppa*64*-*-linux*): Define extra_parts.
1030 (hppa*-*-linux*): Likewise.
1031
2deaf8b0
JR
10322013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
1033
1034 * config/arc/crtgend.S: Add 2013 to Copyright years.
1035 * config/arc/gmon/atomic.h: Likewise.
1036 * config/arc/gmon/auxreg.h: Likewise.
1037 * config/arc/gmon/sys/gmon_out.h: Likewise.
1038 * config/arc/gmon/sys/gmon.h: Likewise.
1039 * config/arc/gmon/prof-freq.c: Likewise.
1040 * config/arc/gmon/mcount.c: Likewise.
1041 * config/arc/gmon/prof-freq-stub.S: Likewise.
1042 * config/arc/gmon/gmon.c: Likewise.
1043 * config/arc/gmon/machine-gmon.h: Likewise.
1044 * config/arc/gmon/profil.S: Likewise.
1045 * config/arc/gmon/dcache_linesz.S: Likewise.
1046 * config/arc/crtg.S: Likewise.
1047 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
1048 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
1049 * config/arc/ieee-754/adddf3.S: Likewise.
1050 * config/arc/ieee-754/truncdfsf2.S: Likewise.
1051 * config/arc/ieee-754/fixsfsi.S: Likewise.
1052 * config/arc/ieee-754/gtsf2.S: Likewise.
1053 * config/arc/ieee-754/floatsisf.S: Likewise.
1054 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
1055 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
1056 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
1057 * config/arc/ieee-754/fixdfsi.S: Likewise.
1058 * config/arc/ieee-754/addsf3.S: Likewise.
1059 * config/arc/ieee-754/gesf2.S: Likewise.
1060 * config/arc/ieee-754/floatsidf.S: Likewise.
1061 * config/arc/ieee-754/extendsfdf2.S: Likewise.
1062 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
1063 * config/arc/ieee-754/gtdf2.S: Likewise.
1064 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
1065 * config/arc/ieee-754/uneqdf2.S: Likewise.
1066 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1067 * config/arc/ieee-754/uneqsf2.S: Likewise.
1068 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
1069 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
1070 * config/arc/ieee-754/eqdf2.S: Likewise.
1071 * config/arc/ieee-754/ordsf2.S: Likewise.
1072 * config/arc/ieee-754/divsf3.S: Likewise.
1073 * config/arc/ieee-754/divdf3.S: Likewise.
1074 * config/arc/ieee-754/floatunsidf.S: Likewise.
1075 * config/arc/ieee-754/orddf2.S: Likewise.
1076 * config/arc/ieee-754/eqsf2.S: Likewise.
1077 * config/arc/ieee-754/gedf2.S: Likewise.
1078 * config/arc/crtn.S: Likewise.
1079 * config/arc/crti.S: Likewise.
1080 * config/arc/t-arc700-uClibc: Likewise.
1081 * config/arc/asm.h: Likewise.
1082 * config/arc/libgcc-excl.ver: Likewise.
1083 * config/arc/t-arc-newlib: Likewise.
1084 * config/arc/divtab-arc700.c: Likewise.
1085 * config/arc/initfini.c: Likewise.
1086 * config/arc/fp-hack.h: Likewise.
1087
c8e318b0
JR
10882013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1089 Diego Novillo <dnovillo@google.com>
1090
1091 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
1092 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
1093 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
1094 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 1095
d38a64b4
JR
10962013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1097 Brendan Kehoe <brendan@zen.org>
1098 Simon Cook <simon.cook@embecosm.com>
1099
1100 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
1101 * config/arc: New directory.
1102 * longlong.h [__arc__] (umul_ppmm): Remove.
1103 [__arc__] (__umulsidi3): Define.
1104 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
1105 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
1106
dff717d2
JC
11072013-09-17 Jacek Caban <jacek@codeweavers.com>
1108
1109 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
1110 CreateSemaphoreA.
1111 * config/i386/gthr-win32.h: Likewise.
1112
5c0029de
DD
11132013-09-16 DJ Delorie <dj@redhat.com>
1114
844ad6c6 1115 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
1116 * config/rl78/lib2mul.c: Enable for RL78/G10.
1117 * config/rl78/lib2div.c: Likewise.
1118 * config/rl78/lshrsi3.S: Use vregs.h.
1119 * config/rl78/cmpsi2.S: Likewise.
1120 * config/rl78/trampoline.S: Likewise.
1121 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
1122
ceb2fc49
DD
11232013-09-14 DJ Delorie <dj@redhat.com>
1124 Nick Clifton <nickc@redhat.com>
1125
1126 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
1127 * config/rl78/vregs.h: New.
1128 * config/rl78/signbit.S: New file. Implements signbit function.
1129 * config/rl78/divmodsi.S: New.
1130 * config/rl78/divmodhi.S: New.
1131 * config/rl78/divmodqi.S: New.
1132 * config/rl78/t-rl78: Build them here...
1133 * config/rl78/lib2div.c: ...but not here.
1134
f6a83b4a
DD
11352013-09-12 DJ Delorie <dj@redhat.com>
1136
1137 * config.host (msp*-*-elf): New.
1138 * config/msp430/: New port.
1139
9107b096
IS
11402013-08-18 Iain Sandoe <iain@codesourcery.com>
1141
1142 PR gcov-profile/58127
1143 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1144 __thread var for emulated TLS.
1145 (__gcov_indirect_call_counters): Likewise.
1146
0f9bde1f 11472013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141
UB
1148 Catherine Moore <clm@codesourcery.com>
1149 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
1150
1151 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
1152 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
1153 (CALL_STUB_NO_RET): Likewise.
1154 (CALL_STUB_RET): Likewise.
1155 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
1156 __mips16_ret call/return stub symbols.
1157 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
1158 to tmake_file.
1159
2dc14aac
MR
11602013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
1161
1162 * config.host <mips*-*-linux*>: Remove a stray comment.
1163
748d71f3
JH
11642013-08-10 Jan Hubicka <jh@suse.cz>
1165
1166 Work around binutils PR14342
1167 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
1168 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
1169 (L_gcov_indirect_call_profiler_v2): New.
1170
2fa3d31b
JH
11712013-08-06 Jan Hubicka <jh@suse.cz>
1172
1173 * libgcov.c (__gcov_indirect_call_callee,
1174 __gcov_indirect_call_counters): New global vars.
1175 (__gcov_indirect_call_profiler): replace by ...
1176 (__gcov_indirect_call_profiler_v2) ... this one.
1177
2077db1b
CT
11782013-08-06 Caroline Tice <cmtice@google.com>
1179
d0595b65 1180 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 1181 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
1182 * configure.ac: Add code to check/set enable_vtable_verify.
1183 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 1184 true.
d0595b65
CT
1185 * vtv_start_preinit.c: New file.
1186 * vtv_end_preinit.c: New file.
1187 * vtv_start.c: New file.
1188 * vtv_end.c: New file.
1189 * configure: Regenerated.
2077db1b 1190
46549c20
MK
11912013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
1192
1193 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
1194 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
1195 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
1196 GPL-3.0-with-GCC-exception.
1197
72be589b
MR
11982013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
1199
1200 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
1201 ISA and up.
1202
902a3faf
AK
12032013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1204
1205 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
1206 mapping for FPRs when creating the fallback framestate.
1207
02371798
GJL
12082013-07-19 Georg-Johann Lay <avr@gjlay.de>
1209
1210 PR target/57516
1211 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
1212 (__round_s2_const, __round_u2_const)
1213 (__round_s4_const, __round_u4_const, __round_x8):
1214 Saturate result if addition result cannot be represented.
1215
ab0e8379
MK
12162013-07-15 Matthias Klose <doko@ubuntu.com>
1217
1218 * libgcc2.c: Don't include <limits.h>.
1219
7da38058
JJ
12202013-07-09 Janis Johnson <janisjo@codesourcery.com>
1221
1222 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
1223
1f6eac90
JJ
12242013-07-06 Jakub Jelinek <jakub@redhat.com>
1225
1226 PR target/29776
1227 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
1228
4ea3d774
JJ
12292013-06-28 Jakub Jelinek <jakub@redhat.com>
1230
1231 PR middle-end/36041
1232 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
1233 Define.
1234 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
1235 instead of table lookups.
1236 (__popcountDI2): Likewise.
1237
9d2cdf25
CJW
12382013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
1239
1240 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
1241 correctly.
1242
fa1e55b0
JM
12432013-06-21 Joseph Myers <joseph@codesourcery.com>
1244
1245 PR other/53317
1246 * soft-fp/adddf3.c: Update from glibc.
1247 * soft-fp/addsf3.c: Likewise.
1248 * soft-fp/addtf3.c: Likewise.
1249 * soft-fp/divdf3.c: Likewise.
1250 * soft-fp/divsf3.c: Likewise.
1251 * soft-fp/divtf3.c: Likewise.
1252 * soft-fp/double.h: Likewise.
1253 * soft-fp/eqdf2.c: Likewise.
1254 * soft-fp/eqsf2.c: Likewise.
1255 * soft-fp/eqtf2.c: Likewise.
1256 * soft-fp/extenddftf2.c: Likewise.
1257 * soft-fp/extended.h: Likewise.
1258 * soft-fp/extendsfdf2.c: Likewise.
1259 * soft-fp/extendsftf2.c: Likewise.
1260 * soft-fp/fixdfdi.c: Likewise.
1261 * soft-fp/fixdfsi.c: Likewise.
1262 * soft-fp/fixsfdi.c: Likewise.
1263 * soft-fp/fixsfsi.c: Likewise.
1264 * soft-fp/fixtfdi.c: Likewise.
1265 * soft-fp/fixtfsi.c: Likewise.
1266 * soft-fp/fixunsdfdi.c: Likewise.
1267 * soft-fp/fixunsdfsi.c: Likewise.
1268 * soft-fp/fixunssfdi.c: Likewise.
1269 * soft-fp/fixunssfsi.c: Likewise.
1270 * soft-fp/fixunstfdi.c: Likewise.
1271 * soft-fp/fixunstfsi.c: Likewise.
1272 * soft-fp/floatdidf.c: Likewise.
1273 * soft-fp/floatdisf.c: Likewise.
1274 * soft-fp/floatditf.c: Likewise.
1275 * soft-fp/floatsidf.c: Likewise.
1276 * soft-fp/floatsisf.c: Likewise.
1277 * soft-fp/floatsitf.c: Likewise.
1278 * soft-fp/floatundidf.c: Likewise.
1279 * soft-fp/floatundisf.c: Likewise.
1280 * soft-fp/floatunditf.c: Likewise.
1281 * soft-fp/floatunsidf.c: Likewise.
1282 * soft-fp/floatunsisf.c: Likewise.
1283 * soft-fp/floatunsitf.c: Likewise.
1284 * soft-fp/gedf2.c: Likewise.
1285 * soft-fp/gesf2.c: Likewise.
1286 * soft-fp/getf2.c: Likewise.
1287 * soft-fp/ledf2.c: Likewise.
1288 * soft-fp/lesf2.c: Likewise.
1289 * soft-fp/letf2.c: Likewise.
1290 * soft-fp/muldf3.c: Likewise.
1291 * soft-fp/mulsf3.c: Likewise.
1292 * soft-fp/multf3.c: Likewise.
1293 * soft-fp/negdf2.c: Likewise.
1294 * soft-fp/negsf2.c: Likewise.
1295 * soft-fp/negtf2.c: Likewise.
1296 * soft-fp/op-1.h: Likewise.
1297 * soft-fp/op-2.h: Likewise.
1298 * soft-fp/op-4.h: Likewise.
1299 * soft-fp/op-8.h: Likewise.
1300 * soft-fp/op-common.h: Likewise.
1301 * soft-fp/quad.h: Likewise.
1302 * soft-fp/single.h: Likewise.
1303 * soft-fp/soft-fp.h: Likewise.
1304 * soft-fp/subdf3.c: Likewise.
1305 * soft-fp/subsf3.c: Likewise.
1306 * soft-fp/subtf3.c: Likewise.
1307 * soft-fp/truncdfsf2.c: Likewise.
1308 * soft-fp/trunctfdf2.c: Likewise.
1309 * soft-fp/trunctfsf2.c: Likewise.
1310 * soft-fp/unorddf2.c: Likewise.
1311 * soft-fp/unordsf2.c: Likewise.
1312 * soft-fp/unordtf2.c: Likewise.
1313 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
1314 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1315 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1316 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1317 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1318 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1319 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1320 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1321 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1322 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
1323 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
1324 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
1325
0de86a92
JU
13262013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
1327
1328 * config/mips/lib2funcs.c: New file.
1329 * config/mips/t-mips (LIB2ADD_ST): Add it.
1330
0d008882
OE
13312013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
1332
1333 PR target/6526
1334 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
1335 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
1336
776434d1
WL
13372013-06-08 Walter Lee <walt@tilera.com>
1338
1339 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
1340 Replace int64_t with long long. Add __extension__ where
1341 appropriate.
1342 * config/tilepro/atomic.c: Include config.h.
1343
6ab3ebb4
DR
13442013-06-06 Douglas B Rupp <rupp@adacore.com>
1345
1346 * config.host (arm-wrs-vxworks): Configure with other soft float.
1347
107eea2c
JU
13482013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
1349
1350 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
1351 (mips64r5900el-*-elf*): New configurations.
1352
5cc19c62
AM
13532013-06-04 Alan Modra <amodra@gmail.com>
1354
1355 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
1356
0f1d3965
YR
13572013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
1358
1359 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
1360
0ba045df
EB
13612013-05-28 Eric Botcazou <ebotcazou@adacore.com>
1362
1363 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
1364 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
1365 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
1366
49dcafd4
EB
13672013-05-22 Eric Botcazou <ebotcazou@adacore.com>
1368
1369 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
1370 (powerpc-wrs-vxworks): Likewise.
1371
4fcb5d87
EB
13722013-05-22 Eric Botcazou <ebotcazou@adacore.com>
1373
1374 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
1375 signal frames as well.
1376 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
1377 STACK_BIAS to the CFA offset.
1378
0ec33224
RH
13792013-05-17 Richard Henderson <rth@redhat.com>
1380
1381 PR target/49146
1382 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
1383 (execute_cfa_program): Use it when storing to fs->regs.
1384
492a8029
KT
13852013-05-08 Kai Tietz <ktietz@redhat.com>
1386
1387 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
1388 (__deregister_frame_info): Likewise.
1389
701e2f0a
TS
13902013-05-06 Thomas Schwinge <thomas@codesourcery.com>
1391
e5123d08
TS
1392 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
1393 NaN's payload.
1394
701e2f0a
TS
1395 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
1396
b9a7eb5d
AM
13972013-04-25 Alan Modra <amodra@gmail.com>
1398
1399 * config.host: Match little-endian powerpc-linux.
1400
dfe192f5
YZ
14012013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
1402
1403 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
1404 as 'unsigned long long' instead of 'unsigned long'.
1405 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
1406 'signed long'.
1407
b6b9af2f
JB
14082013-04-10 Julian Brown <julian@codesourcery.com>
1409
1410 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
1411 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
1412 unsigned char/unsigned short.
1413 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
1414
ecabdd00
JDA
14152013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1416
1417 PR other/55274
1418 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
1419
34652576
MI
14202013-04-04 Meador Inge <meadori@codesourcery.com>
1421
1422 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
1423 computing the location of the link register.
1424 (aeabi_uldivmod): Ditto.
1425
e9fd8c19
KT
14262013-03-27 Kai Tietz <ktietz@redhat.com>
1427
1428 * config.host: Add support for cygwin x64 target.
1429 * configure: Regenerated.
1430
a6406324
WL
14312013-03-26 Walter Lee <walt@tilera.com>
1432
1433 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
1434 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
1435
55446c7e
KT
14362013-03-25 Kai Tietz <ktietz@redhat.com>
1437
1438 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
1439
d2ae19d9
RM
14402013-03-20 Robert Mason <rbmj@verizon.net>
1441
1442 * config/vxlib-tls.c (__gthread_get_tsd_data,)
1443 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
1444 (__gthread_leave_tsd_dtor_context): Add prototypes.
1445 (tls_delete_hook): Update.
1446
22c4c869
CM
14472013-03-20 Catherine Moore <clm@codesourcery.com>
1448 Joseph Myers <joseph@codesourcery.com>
1449 Chao-ying Fu <fu@mips.com>
1450
1451 * config/mips/mips16.S: Don't build for microMIPS.
1452 * config/mips/linux-unwind.h: Handle microMIPS frame.
1453 * config/mips/crtn.S (fini, init): New labels.
1454
fbd28bc3
JJ
14552013-03-14 Jakub Jelinek <jakub@redhat.com>
1456
1457 PR tree-optimization/53265
1458 * unwind-dw2.c (execute_cfa_program): Avoid
1459 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
1460 on targets with DWARF_FRAME_REGISTERS < 32.
1461
decc676e
OE
14622013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
1463
1464 PR target/49880
1465 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
1466 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
1467
84ea618a
ST
14682013-03-07 Sriraman Tallam <tmsriram@google.com>
1469
1470 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
1471 sandybridge processors.
1472
8f6d1c86
OE
14732013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
1474
1475 PR target/56529
1476 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
1477 inclusion list.
1478
ecdbd01a 14792013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
1480
1481 * config/microblaze/crti.S: Setup stack protection at entry
1482
0b4ce21b
GJL
14832013-03-04 Georg-Johann Lay <avr@gjlay.de>
1484
1485 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
1486 (__rotldi3): Shift bytewise if applicable.
1487
b7c3f1ca
JG
14882013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
1489
1490 * config/aarch64/sync-cache.c
1491 (__aarch64_sync_cache_range): Silence warnings.
1492
6d65e8f1
CM
14932013-02-25 Catherine Moore <clm@codesourcery.com>
1494
1495 Revert:
1496 2013-02-24 Catherine Moore <clm@codesourcery.com>
1497 Joseph Myers <joseph@codesourcery.com>
1498 Chao-ying Fu <fu@mips.com>
1499
1500 * config/mips/mips16.S: Don't build for microMIPS.
1501 * config/mips/linux-unwind.h: Handle microMIPS frame.
1502 * config/mips/crtn.S (fini, init): New labels.
1503
6941b508
CM
15042013-02-24 Catherine Moore <clm@codesourcery.com>
1505 Joseph Myers <joseph@codesourcery.com>
1506 Chao-ying Fu <fu@mips.com>
1507
1508 * config/mips/mips16.S: Don't build for microMIPS.
1509 * config/mips/linux-unwind.h: Handle microMIPS frame.
1510 * config/mips/crtn.S (fini, init): New labels.
1511
7c422dbb
EI
15122012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
1513 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
1514 as dividend.
1515
110207ad
AM
15162013-02-16 Alan Modra <amodra@gmail.com>
1517
1518 PR target/55431
1519 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
1520 (ppc_fallback_frame_state): Always set up save locations for fp
1521 and altivec. Don't bother with non-callee-saved regs, r0-r13
1522 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
1523
e68a4ef6
GJL
15242013-02-12 Georg-Johann Lay <avr@gjlay.de>
1525
1526 PR target/54222
1527 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
1528 _ssmulHA, _ssmulSA.
1529 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
1530 _ssmulha3, _usmulusa3, _ssmulsa3.
1531 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
1532 (__muldi3): XCALL __muldi3_6 instead of rcall.
1533 (__umulsidi3, __mulsidi3): New functions.
1534 (do_prologue_saves, do_epilogue_restores): New .macros.
1535 (__divdi3_moddi3): Use them.
1536 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
1537 (__usmulusa3, __ssmulsa3): New functions.
1538
6c59ffd1
IS
15392013-02-11 Iain Sandoe <iain@codesourcery.com>
1540 Jack Howarth <howarth@bromo.med.uc.edu>
1541 Patrick Marlier <patrick.marlier@gmail.com>
1542
1543 PR libitm/55693
1544 * config/darwin-crt-tm.c: Remove dummy functions hack.
1545
85d768f3
GJL
15462013-02-08 Georg-Johann Lay <avr@gjlay.de>
1547
1548 PR target/54222
1549 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
1550 * config/avr/lib2-object.mk: New iterator to build objects from it.
1551 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
1552 lib2funcs.c.
1553 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
1554 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
1555 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
1556 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
1557 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
1558 * config/avr/lib1funcs-fixed.S: Implement them.
1559
5d5bf775
RS
15602013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
1561
1562 Update copyright years.
1563
99113dff
DE
15642013-02-01 David Edelsohn <dje.gcc@gmail.com>
1565
1566 PR target/54601
1567 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
1568 Add crtcxa to extra_parts.
1569 * config/rs6000/exit.h: New file.
1570 * config/rs6000/cxa_atexit.c: New file.
1571 * config/rs6000/cxa_finalize.c: New file.
1572 * config/rs6000/crtcxa.c: New file.
1573 * config/rs6000/t-aix-cxa: New file.
1574 * config/rs6000/libgcc-aix-cxa.ver: New file.
1575
dbdbd982
NC
15762013-01-31 Nick Clifton <nickc@redhat.com>
1577
1578 * config/v850/lib1funcs.S: Add support for e3v5 architecture
1579 variant.
1580
5893f158
GJL
15812013-01-29 Georg-Johann Lay <avr@gjlay.de>
1582
1583 PR target/54222
1584 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
1585 _mulQQ, _mulHQ, _mulHA, _mulSA,
1586 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
1587 _divQQ, _divHQ, _divHA, _divSA,
1588 _divUQQ, _divUHQ, _divUHA, _divUSA.
1589
ecdbd01a 15902013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 1591
dbdbd982 1592 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
1593 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
1594 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
1595 to exclude functions from being built with libgcc.c and use
1596 the microblaze assembly.
1597
ecdbd01a 15982013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
1599
1600 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
1601 extra_parts.
1602
922c57d1
YZ
16032013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
1604
1605 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
1606 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
1607 __UINTPTR_TYPE__; also cast 'base' to the same type before the
1608 alignment operation.
1609
e0f8b6a0
SN
16102013-01-15 Sofiane Naci <sofiane.naci@arm.com>
1611
1612 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
1613 loop start address for cache clearing.
1614
00892272
GJL
16152013-01-14 Georg-Johann Lay <avr@gjlay.de>
1616
1617 * config/avr/lib1funcs.S: Remove trailing blanks.
1618 * config/avr/lib1funcs-fixed.S: Ditto.
1619
e59ec5fd
GJL
16202013-01-14 Georg-Johann Lay <avr@gjlay.de>
1621
1622 * config/avr/avr-lib.h: Add GPL copyright notice.
1623
3ffc1958
GJL
16242013-01-14 Georg-Johann Lay <avr@gjlay.de>
1625
1626 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
1627 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
1628 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
1629 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
1630
25c210f9
MK
16312013-01-07 Mark Kettenis <kettenis@openbsd.org>
1632
1633 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
1634 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 1635
db59befb
NC
16362013-01-04 Nick Clifton <nickc@redhat.com>
1637
1638 * config/v850/lib1funcs.S: Only provide CALLT support functions if
1639 the CALLT instruction is supported.
1640
5aa12dbf
JW
16412012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
1642
1643 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
1644 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
1645
65f14117
JT
16462012-12-13 John Tytgat <John@bass-software.com>
1647
1648 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
1649 is 25.
1650
ee3ae4f7
JJ
16512012-12-12 Jakub Jelinek <jakub@redhat.com>
1652
1653 PR libgcc/55451
1654 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
1655 undefined signed overflows.
1656
2fcfba3d
UB
16572012-12-09 Uros Bizjak <ubizjak@gmail.com>
1658
1659 PR target/55344
1660 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
1661
4f2b3dc2
UB
16622012-12-06 Uros Bizjak <ubizjak@gmail.com>
1663
1664 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
1665 (FP_TRAPPING_EXCEPTIONS): Define.
1666 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
1667 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
1668
066161a2
RH
16692012-12-04 Richard Henderson <rth@redhat.com>
1670
1671 PR bootstrap/55571
1672 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
1673
25626181
MS
16742012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1675
4f2b3dc2 1676 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
1677 (FP_EX_SHIFT): Define.
1678 (FP_TRAPPING_EXCEPTIONS): Define.
1679
868395e8
MS
16802012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
1681
1682 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
1683 (FP_ROUNDMODE): Use FP_RND_MASK.
1684 * config/aarch64/sfp-exceptions.c: New.
1685 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1686 Use __sfp_handle_exceptions.
1687
5005fe22
RE
16882012-12-04 Richard Earnshaw <rearnsha@arm.com>
1689
1690 * config.host: (arm*-*-freebsd*): Remove.
1691 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
1692 (arm*-*-elf*): Remove.
1693 (arm*-*-wince-pe*): Remove.
1694 * arm/unwind-arm.c (struct fpa_reg): Delete.
1695 (struct fpa_regs): Delete.
1696 (phase1_vrs): Remove fpa element.
1697 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
1698 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
1699 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
1700 * ieee754-sf.S (floatundisf): Remove FPA support.
1701 (floatdisf): Likewise.
1702 * ieee75f-df.S (floatundidf): Likewise.
1703 (floatdidf): Likewise.
1704
e5a81c8e
KT
17052012-11-29 Kai Tietz <ktietz@redhat.com>
1706
1707 PR target/55445
1708 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
1709 * unwind-generic.h: Likewise.
1710 * unwind-seh.c: Likewise.
1711
f4919e4a
RH
17122012-11-28 Richard Henderson <rth@redhat.com>
1713
1714 PR libgcc/48076
1715 * emutls.c (__emutls_get_address): Avoid race condition between
1716 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 1717
e13d9d5a
GJL
17182012-11-22 Georg-Johann Lay <avr@gjlay.de>
1719
1720 Adjust decimal point of signed accum mode to GCC default.
1721
1722 PR target/54222
1723 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
1724 _divqq_helper.
1725 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
1726 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
1727 (__mulha3, __mulsa3)
1728 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
1729 decimal point of signed accum types.
1730
e13d9d5a
GJL
1731 (__mulusa3_round): New function.
1732 (__mulusa3): Use it.
1733 (__divqq_helper): New function.
1734 (__udivuqq3): Use it.
1735
1b845c6e
JJ
17362012-11-20 Jakub Jelinek <jakub@redhat.com>
1737
1738 PR bootstrap/55370
1739 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
1740
822a258a
TJ
17412012-11-18 Teresa Johnson <tejohnson@google.com>
1742
1743 PR bootstrap/55051
1744 * libgcov.c (gcov_exit): Remove merged program summary
1745 comparison unless !GCOV_LOCKED.
1746
54f4eaf0
MS
17472012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
1748
1749 * soft-fp: Updated from glibc upstream.
1750
e808687a
ILT
17512012-11-06 Ian Lance Taylor <iant@google.com>
1752
1753 * generic-morestack.c (__generic_morestack): Align the returned
1754 stack pointer to a 32 byte boundary.
1755 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
1756 increment the return address until we have decided that we don't
1757 have a varargs function.
1758 (__morestack) [32-bit]: Align stack correctly when calling C
1759 functions.
1760 (__morestack) [64-bit]: Likewise.
1761
460277e0
TS
17622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1763
1764 * configure: Regenerate.
1765
73edb277
UB
17662012-11-02 Uros Bizjak <ubizjak@gmail.com>
1767
1768 PR target/55175
1769 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
1770 * config/i386/sfp-machine.h: Guard exception handling
1771 code with _SOFT_FLOAT.
1772 * config/i386/32/sfp-machine.h: Guard rounding handling
1773 code with _SOFT_FLOAT.
1774 * config/i386/64/sfp-machine.h: Ditto.
1775
c1d4fa04
JS
17762012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
1777
1778 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
1779 as extra_parts.
1780
eff6ca85
UB
17812012-10-26 Uros Bizjak <ubizjak@gmail.com>
1782
1783 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
1784 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
1785 when appropriate. Correct structure element types.
1786 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
1787 -minline-all-stringops from compile flags.
1788
43a8f1a1
RC
17892012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
1790
1791 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
1792
76c78361
RC
17932012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
1794
eff6ca85 1795 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 1796
6f288860
SH
17972012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1798
1799 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
1800 tmake_file.
1801
1e3d5096
IB
18022012-10-23 Ian Bolton <ian.bolton@arm.com>
1803 Jim MacArthur <jim.macarthur@arm.com>
1804 Marcus Shawcroft <marcus.shawcroft@arm.com>
1805 Nigel Stephens <nigel.stephens@arm.com>
1806 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1807 Richard Earnshaw <rearnsha@arm.com>
1808 Sofiane Naci <sofiane.naci@arm.com>
1809 Stephen Thomas <stephen.thomas@arm.com>
1810 Tejas Belagod <tejas.belagod@arm.com>
1811 Yufeng Zhang <yufeng.zhang@arm.com>
1812
1813 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
1814 * config/aarch64/crti.S: New file.
1815 * config/aarch64/crtn.S: New file.
1816 * config/aarch64/linux-unwind.h: New file.
1817 * config/aarch64/sfp-machine.h: New file.
1818 * config/aarch64/sync-cache.c: New file.
1819 * config/aarch64/t-aarch64: New file.
1820 * config/aarch64/t-softfp: New file.
1821
8a740f07
HPN
18222012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
1823
1824 * config/mmix/crti.S: Mark program and data addresses using PRELD.
1825 Remove typo'd and unnecessary alignment-LOC for .data. Remove
1826 no-longer-needed LDBU insns.
1827
153c8397
SH
18282012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
1829
1830 * config.host
1831 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
1832 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
1833
595fefee
MGD
18342012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1835
1836 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
1837
9945a876
MK
18382012-10-15 Matthias Klose <doko@ubuntu.com>
1839
1840 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
1841
1183dc2c
PC
18422012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
1843
1844 * configure: Regenerate.
1845 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
1846
945a9c1f
UB
18472012-10-10 Uros Bizjak <ubizjak@gmail.com>
1848
1849 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1850 instructions for 64bit targets only.
1851
fb8bf47a
UB
18522012-10-10 Uros Bizjak <ubizjak@gmail.com>
1853
1854 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
1855 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
1856 * config/i386/32/sfp-machine.h: ... here.
1857 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1858 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
1859 New defines.
1860
acb72498
MK
18612012-10-07 Matthias Klose <doko@ubuntu.com>
1862
1863 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
1864 as unused.
1865 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
1866
8eaee0f0
MK
18672012-10-06 Mark Kettenis <kettenis@openbsd.org>
1868
1869 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
1870 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
1871 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
1872 (ElfW): Likewise.
1873
5e3e4fe8
JW
18742012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
1875
1876 PR other/53889
1877 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1878 Fix parameter names.
1879
86086376
OE
18802012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
1881
1882 PR target/33135
1883 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
1884 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
1885 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
1886
9597375a
OE
18872012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
1888
1889 PR target/50457
1890 * config/sh/linux-atomic.S: Delete.
1891 * config/sh/linux-atomic.c: New.
1892 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
1893 linux-atomic.c. Add cflags to disable warnings.
1894
1504e3e1
JW
18952012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
1896
1897 PR other/53889
1898 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
1899 function.
1900 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
1901 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
1902 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
1903 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
1904 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
1905 Likewise.
1504e3e1
JW
1906 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
1907 Likewise.
1908 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
1909 Likewise.
1910 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
1911 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
1912
17f293b0
MK
19132012-09-19 Mark Kettenis <kettenis@openbsd.org>
1914
9597375a
OE
1915 * config.host (hppa-*-openbsd*): New target.
1916 * config/pa/t-openbsd: New file.
17f293b0 1917
51526856
GJL
19182012-09-15 Georg-Johann Lay <avr@gjlay.de>
1919
1920 PR target/54222
1921 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
1922 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
1923 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
1924 (__divsa3): Use __negsi2 to negate r_quoL.
1925 * config/avr/lib1funcs.S (FALIAS): New macro.
1926 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
1927 (__negsi2): ...this new function.
1928 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
1929 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
1930 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
1931 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
1932 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
1933 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
1934
aadb5b43
OE
19352012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
1936
1937 PR target/54089
1938 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
1939 (lshrsi3): Reimplement as lshrsi3_r0.
1940
d5d66749
AS
19412012-09-10 Andreas Schwab <schwab@linux-m68k.org>
1942
1943 PR target/46191
1944 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
1945 of libgcc.a.
1946
c6c36e73
TJ
19472012-09-07 Teresa Johnson <tejohnson@google.com>
1948
9597375a 1949 PR gcov-profile/54487
c6c36e73 1950 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 1951 differences.
c6c36e73 1952
b588ae30
GJL
19532012-09-05 Georg-Johann Lay <avr@gjlay.de>
1954
1955 PR target/54461
1956 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
1957 not configured --with-avrlibc=no.
1958 * config/avr/t-avrlibc: New file.
1959 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
1960 (DPBIT_FUNCS): Ditto.
1961 (TPBIT_FUNCS): Ditto.
1962
abd16fb1
TJ
19632012-09-04 Teresa Johnson <tejohnson@google.com>
1964
1965 * libgcov.c (struct gcov_summary_buffer): New structure.
1966 (gcov_histogram_insert): New function.
1967 (gcov_compute_histogram): Ditto.
1968 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
1969 histograms during summary merging.
1970
613061fd
MK
19712012-09-01 Mark Kettenis <kettenis@openbsd.org>
1972
1973 * config.host (x86_64-*-openbsd*): New target.
73edb277 1974
867a8345
CLT
19752012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
1976
1977 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
1978 attribute.
1979
4aeaaca3
GJL
19802012-08-24 Georg-Johann Lay <avr@gjlay.de>
1981
1982 PR target/54222
1983 * config/avr/t-avr (conv_X): Rename to func_X.
1984
e55e4056
GJL
19852012-08-24 Georg-Johann Lay <avr@gjlay.de>
1986
1987 PR target/54222
1988 * config/avr/lib1funcs-fixed.S: New file.
1989 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
1990 after they are used.
1991 (neg2, neg4): New macros.
1992 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
1993 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
1994 (__umulhisi3): Speed up MUL variant if there is enough flash.
1995 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
1996 avr-modes.def.
1997 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
1998 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
1999 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
2000 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
2001 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
2002 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
2003 (LIB2FUNCS_EXCLUDE): Add supported functions.
2004
a147b6d2
GJL
20052012-08-22 Georg-Johann Lay <avr@gjlay.de>
2006
2007 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
2008 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
2009 libgcc-s-objects.
2010 * fixed-obj.mk: Only expand dependency if $o is not in
2011 LIB2FUNCS_EXCLUDE.
2012
c637141a
L
20132012-08-22 H.J. Lu <hongjiu.lu@intel.com>
2014
2015 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
2016
130e00bd
JM
20172012-08-22 Joseph Myers <joseph@codesourcery.com>
2018
2019 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
2020 depend on --enable-shared.
2021 ($(lib1asmfuncs-o)): Use %.vis files independent of
2022 --enable-shared.
2023 * static-object.mk ($(base)$(objext), $(base).vis)
2024 ($(base)_s$(objext)): Use same rules for visibility handling as in
2025 shared-object.mk.
2026
4b1b3788
ILT
20272012-08-21 Ian Lance Taylor <iant@google.com>
2028
2029 * config/i386/morestack.S (__morestack_non_split): Increase amount
2030 of space allocated for non-split code stack.
2031
d2468141
JM
20322012-08-19 Joseph Myers <joseph@codesourcery.com>
2033
2034 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
2035 even if inhibit_libc.
2036
a508e1a8
JB
20372012-08-17 Julian Brown <julian@codesourcery.com>
2038
2039 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
2040 -fexceptions -fnon-call-exceptions if not defined.
2041 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
2042 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
2043
5615a07d
AS
20442012-08-17 Andreas Schwab <schwab@linux-m68k.org>
2045
2046 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
2047 type.
2048
138f5acd
DE
20492012-08-16 David Edelsohn <dje.gcc@gmail.com>
2050
2051 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
2052 rs6000/t-slibgcc-aix.
2053
18efc0dd
SB
20542012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2055
2056 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
2057
6b39bc38
SB
20582012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2059
2060 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2061
cd25dea0
L
20622012-08-03 H.J. Lu <hongjiu.lu@intel.com>
2063
2064 PR driver/54171
2065 * Makefile.in (version): Replace top_srcdir with srcdir.
2066
a3dda30b
JY
20672012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
2068
2069 * Makefile.in (version): set to BASE-VER file from gcc directory.
2070
d04aacfc
NC
20712012-08-01 Nick Clifton <nickc@redhat.com>
2072
2073 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
2074 Implements __clrsb for an HImode argument.
2075
0d13c974
NC
20762012-07-31 Nick Clifton <nickc@redhat.com>
2077
2078 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
2079 Implements __clrsb for an HImode argument.
2080 * config/stormy16/clrsbhi2.c: New file:
2081 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
2082
efbb59b2
SB
20832012-07-22 Steven Bosscher <steven@gcc.gnu.org>
2084
2085 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
2086
bf1431e3
TG
20872012-07-19 Tristan Gingold <gingold@adacore.com>
2088 Richard Henderson <rth@redhat.com>
2089
2090 * unwind-seh.c: New file.
2091 * unwind-generic.h: Include windows.h for SEH.
2092 (_Unwind_Exception): Use 6 private fields for SEH.
2093 (_GCC_specific_handler): Declare.
2094 * unwind-c.c (__gcc_personality_seh0): New function.
2095 Adjust for SEH.
2096 * config/i386/libgcc-cygming.ver: New file.
2097 * config/i386/t-seh-eh: New file.
2098 * config.host (x86_64-*-mingw*): Default to seh.
2099
659140c8
SB
21002012-07-14 Steven Bosscher <steven@gcc.gnu.org>
2101
2102 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
2103
a20d08fd
UB
21042012-06-17 Uros Bizjak <ubizjak@gmail.com>
2105
2106 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
2107 __builtin_expect when checking for exceptions.
2108 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
2109
79261115
UB
21102012-06-13 Uros Bizjak <ubizjak@gmail.com>
2111
4a172156
UB
2112 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
2113 function declaration.
2114 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2115 (FP_RND_MASK): New.
2116 * config/ia64/sfp-exceptions.c: New.
2117 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 2118
bb5c97d4
UB
21192012-06-13 Uros Bizjak <ubizjak@gmail.com>
2120
2121 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
2122 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
2123 * config/i386/64/sfp-machine: ... (delete here) ...
2124 * config/i386/sfp-machine.h: ... to here.
2125 (FP_EX_MASK): Remove.
2126 (FP_RND_MASK): New.
2127 (FP_INIT_ROUNDMODE): Declare asm as volatile.
2128
91fe5efb
ST
21292012-06-11 Sriraman Tallam <tmsriram@google.com>
2130
2131 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2132 * config/i386/libgcc-sol2.ver: Ditto.
2133 * config/i386/libgcc-glibc.ver: Ditto.
2134
67a218c5
RM
21352012-06-11 Roland McGrath <mcgrathr@google.com>
2136
2137 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2138 If __GLIBC__ is defined, refer to __pthread_key_create instead of
2139 pthread_cancel.
2140
492fbea1
UB
21412012-06-09 Uros Bizjak <ubizjak@gmail.com>
2142
2143 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2144 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2145 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2146 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2147 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
2148 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
2149 * config/i386/64/sfp-machine: ... (delete here) ...
2150 * config/i386/sfp-machine.h: ... to here.
2151 (FP_EX_MASK): New.
2152 (__sfp_handle_exceptions): New function declaration.
2153 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2154 * config/i386/sfp-exceptions.c: New.
2155 * config/i386/t-softfp: New.
2156 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
2157 i386/t-softfp to tmake_file.
2158
7b4cf266
DM
21592012-06-03 David S. Miller <davem@davemloft.net>
2160
2161 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
2162 change.
2163
0de0d5c6
DM
21642012-05-31 David S. Miller <davem@davemloft.net>
2165
2166 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
2167 multiply and divide instructions on 32-bit when V9.
2168 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
2169
d8c9d391
JM
21702012-05-29 Joseph Myers <joseph@codesourcery.com>
2171
2172 * config/arm/ieee754-df.S: Fix typos.
2173 * config/arm/ieee754-sf.S: Fix typos.
2174 * config/c6x/libunwind.S: Fix typos.
2175 * config/epiphany/udivsi3-float.c: Fix typos.
2176 * config/microblaze/muldi3_hard.S: Fix typos.
2177 * config/picochip/adddi3.S: Fix typos.
2178 * config/picochip/ashlsi3.S: Fix typos.
2179 * config/picochip/ashrsi3.S: Fix typos.
2180 * config/picochip/clzsi2.S: Fix typos.
2181 * config/picochip/cmpsi2.S: Fix typos.
2182 * config/picochip/divmod15.S: Fix typos.
2183 * config/picochip/divmodhi4.S: Fix typos.
2184 * config/picochip/divmodsi4.S: Fix typos.
2185 * config/picochip/longjmp.S: Fix typos.
2186 * config/picochip/lshrsi3.S: Fix typos.
2187 * config/picochip/parityhi2.S: Fix typos.
2188 * config/picochip/popcounthi2.S: Fix typos.
2189 * config/picochip/setjmp.S: Fix typos.
2190 * config/picochip/subdi3.S: Fix typos.
2191 * config/picochip/ucmpsi2.S: Fix typos.
2192 * config/picochip/udivmodhi4.S: Fix typos.
2193 * config/picochip/udivmodsi4.S: Fix typos.
2194 * config/spu/divv2df3.c: Fix typos.
2195 * config/spu/mfc_multi_tag_release.c: Fix typos.
2196 * config/spu/mfc_tag_release.c: Fix typos.
2197 * configure.ac: Fix typos.
2198 * configure: Regenerate.
2199
31a18a7e
ILT
22002012-05-25 Ian Lance Taylor <iant@google.com>
2201
2202 * config/i386/morestack.S (__morestack_non_split): Check whether
2203 caller is varargs and needs %bp to hold the stack frame on return.
2204
c5768510
OH
22052012-05-25 Olivier Hainque <hainque@adacore.com>
2206
2207 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
2208 sequence in the non pic case on VxWorks.
2209
7c7c339b
OH
22102012-05-24 Olivier Hainque <hainque@adacore.com>
2211
73fb7630 2212 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
2213 "install-leaf" to "install".
2214
fdc1b7d3
OH
22152012-05-24 Olivier Hainque <hainque@adacore.com>
2216
2217 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
2218 Use a separate command for stamp removals.
2219
07ba94b9
AP
22202012-05-21 Andrew Pinski <apinski@cavium.com>
2221
2222 PR bootstrap/53183
2223 * configure.ac: Define the default includes to being none.
2224 * configure: Regenerate.
2225
4677d2eb
OH
22262012-05-16 Olivier Hainque <hainque@adacore.com>
2227
2228 * Makefile.in (install-unwind_h): Rename into ...
2229 (install-unwind_h-forbuild): New target.
2230 (all): Use it instead of the former install-unwind_h.
2231 (install-unwind_h): Reinstate, copy to user install destination
2232 for include files, not to the internal gcc object directory one.
2233 (install-leaf): Depend on it.
2234
7d67c380
OH
22352012-05-15 Olivier Hainque <hainque@adacore.com>
2236
2237 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
2238 register numbers. LR_REGNO replaces R_LR.
2239 (ucontext_for): New, helper for ...
2240 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
2241 and 5.3 of ...
2242 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
2243
aca06c90
RO
22442012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2245
2246 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
2247 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
2248 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
2249 i386/t-cpuinfo ...
2250 (i[34567]86-*-*, x86_64-*-*): ... here.
2251
2252 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
2253 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
2254
2255 * config/i386/i386-cpuinfo.c: Rename to ...
2256 * config/i386/cpuinfo.c: ... this.
2257 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
2258
2259 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
2260 (libgcc_cv_init_priority): New test.
2261 * configure: Regenerate.
2262 * config.in: New file.
2263 * Makefile.in (clean): Rename config.h to auto-target.h.
2264 (config.h): Likewise.
2265 (stamp-h): Likewise.
2266
2267 * config/i386/cpuinfo.c (auto-target.h): Include.
2268 (CONSTRUCTOR_PRIORITY): Define.
2269 (__cpu_indicator_init): Use it.
2270
0d03ac1b
L
22712012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2272
2273 * longlong.h: Use a URL instead of an FSF postal address.
2274 Replace spaces with tab.
2275
4a172156 22762012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
2277
2278 * libgcov.c (gcov_clear, __gcov_reset): New functions.
2279 (__gcov_dump): Ditto.
2280 (gcov_dump_complete): New global variable.
2281 (gcov_exit): Export hidden to enable use in L_gcov_dump.
2282 (__gcov_flush): Outline functionality now in gcov_clear.
2283 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
2284
e4bb767e
AJ
22852012-04-28 Aurelien Jarno <aurelien@aurel32.net>
2286
31a18a7e
ILT
2287 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
2288 (mips*-*-linux*): Include mips/t-tpbit when long double is
2289 16 bytes long.
e4bb767e 2290
5ddecff9
ST
22912012-04-25 Sriraman Tallam <tmsriram@google.com>
2292
2293 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
2294 (get_available_features): New argument. Check for AVX2.
2295 (__cpu_indicator_init): Modify call to get_available_features.
2296
b427dd7a
AM
22972012-04-25 Alan Modra <amodra@gmail.com>
2298
2299 * config/rs6000/crtsavevr.S: New file.
2300 * config/rs6000/crtrestvr.S: New file.
2301 * config/rs6000/t-savresfgpr: Build the above.
2302 * config/rs6000/t-netbsd: Likewise.
2303
ad491329
ST
23042012-04-24 Sriraman Tallam <tmsriram@google.com>
2305
2306 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
2307
792317cc
ST
23082012-04-24 Sriraman Tallam <tmsriram@google.com>
2309
2310 * libgcc/config/i386/i386-cpuinfo.c: New file.
2311 * libgcc/config/i386/t-cpuinfo: New file.
2312 * libgcc/config.host: Include t-cpuinfo.
2313 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
2314
e1be98a4
CF
23152012-04-24 Chao-ying Fu <fu@mips.com>
2316
2317 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
2318
1bde7dab
TS
23192012-04-20 Thomas Schwinge <thomas@codesourcery.com>
2320
2321 struct siginfo vs. siginfo_t
2322
2323 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
2324 siginfo_t instead of struct siginfo.
2325 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
2326 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
2327 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
2328 (ia64_handle_unwabi): Likewise.
2329 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
2330 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
2331 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
2332 (sh_fallback_frame_state): Likewise.
2333 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
2334 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
2335
24590f66
L
23362012-04-02 H.J. Lu <hongjiu.lu@intel.com>
2337
2338 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
2339 system call number.
2340
9a9dcce8
EB
23412012-03-31 Eric Botcazou <ebotcazou@adacore.com>
2342
2343 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
2344 if it hasn't been previously saved.
2345
6401aaf5
L
23462012-03-29 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
2349 only for glibc.
2350
7fd6378e
GJL
23512012-03-28 Georg-Johann Lay <avr@gjlay.de>
2352
2353 PR target/52737
2354 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
2355 instead of __AVR_HAVE_8BIT_SP__.
2356
9e916de7
TG
23572012-03-26 Tristan Gingold <gingold@adacore.com>
2358
2359 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
2360 (unw_table_entry): Use unw_word instead of unsigned long.
2361 (_Unwind_FindTableEntry): Likewise.
2362 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
2363 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
2364 (_Unwind_FindTableEntry): Likewise.
2365 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
2366 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
2367 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
2368 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
2369 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
2370 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
2371 (uw_init_context_1, uw_install_context): Likewise.
2372 (unw_word): Move to unwind-ia64.h
2373
4b12e93d
TG
23742012-03-26 Tristan Gingold <gingold@adacore.com>
2375
2376 * config/vms/vms-ucrt0.c: Update copyright years.
2377 Add a sanity check.
2378 (___gcc_main_flags): Declare.
2379 (__main): Check flags to remap argv and exit code.
2380 * config.host (*-*-*vms*): Adjust extra_parts.
2381 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
2382 (crt0.o): Add.
2383
06ea7371
RE
23842012-03-22 Richard Earnshaw <rearnsha@arm.com>
2385
2386 * arm/lib1funcs.asm (ctzsi2): New function.
2387 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
2388 * arm/t-linux (LIB1ASMFUNCS): Likewise.
2389 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
2390 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
2391 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
2392 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
2393
d82ad50d
AT
23942012-03-21 Andreas Tobler <andreast@fgznet.ch>
2395
2396 * config.host: Add bits to support powerpc64-*-freebsd*.
2397 * config/rs6000/freebsd-unwind.h: New file.
2398 * config/rs6000/t-freebsd64: New file.
2399
b260a8c0
RG
24002012-03-20 Richard Guenther <rguenther@suse.de>
2401
2402 PR gcov-profile/52627
2403 * libgcov.c (init_mx): Fix mutex name.
2404
86286a8a
TG
24052012-03-16 Tristan Gingold <gingold@adacore.com>
2406
2407 * config/ia64/vms-unwind.h: Remove ulong (and replace
2408 it by unw_reg where used). Define unw_reg with __int64.
2409
7888f266
RO
24102012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2411
2412 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
2413 Solaris 8 handling.
2414 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
2415 Solaris 8 handling.
2416 (sparc_is_sighandler): Likewise.
2417
f155bc64
L
24182012-03-13 H.J. Lu <hongjiu.lu@intel.com>
2419
2420 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
2421 <= saved reg size.
2422
d47657bd
RO
24232012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2424
2425 * config/arm/crtn.S: Fix typo.
2426
5bef73a1
RG
24272012-03-13 Richard Guenther <rguenther@suse.de>
2428
2429 * libgcov.c: Remove stdio.h include and NULL un-define.
2430
9c4271f3
RG
24312012-03-13 Richard Guenther <rguenther@suse.de>
2432
2433 PR target/52569
2434 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
2435
c6d10e7c
RG
24362012-03-13 Richard Guenther <rguenther@suse.de>
2437
2438 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
2439
074a385f
RG
24402012-03-13 Richard Guenther <rguenther@suse.de>
2441
2442 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
2443 and __gthread_mutex_init_function definitions.
2444
c4bc5c25
RO
24452012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2446
2447 * config.host (mips*-*-openbsd*): Remove.
2448
5c30094f
RO
24492012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2450
2451 * config.host: Remove alpha*-dec-osf5.1* handling.
2452 * config/alpha/gthr-posix.c: Remove.
2453 * config/alpha/libgcc-osf5.ver: Remove.
2454 * config/alpha/osf5-unwind.h: Remove.
2455 * config/alpha/t-osf-pthread: Remove.
2456 * config/alpha/t-slibgcc-osf: Remove.
2457 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
2458 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
2459 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
2460 * mkmap-flat.awk: Remove osf_export handling.
2461
33e3e24d
RG
24622012-03-12 Richard Guenther <rguenther@suse.de>
2463
2464 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
2465 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2466 (__gthread_mutex_init_function): New function.
2467 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
2468
2469 PR gcov/49484
2470 * libgcov.c: Include gthr.h.
2471 (__gcov_flush_mx): New global variable.
2472 (init_mx, init_mx_once): New functions.
2473 (__gcov_flush): Protect self with a mutex.
2474 (__gcov_fork): Re-initialize mutex after forking.
2475 * unwind-dw2-fde.c: Change condition under which to use
2476 __GTHREAD_MUTEX_INIT_FUNCTION.
2477
d8aba32a
TG
24782012-03-12 Tristan Gingold <gingold@adacore.com>
2479
2480 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
2481 * config/ia64/t-vms: Likewise.
2482
75ffafdc
MH
24832012-03-11 Michael Hope <michael.hope@linaro.org>
2484
4a172156
UB
2485 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
2486 for Thumb-2.
75ffafdc 2487
ef6c2c53
WL
24882012-03-07 Walter Lee <walt@tilera.com>
2489
2490 * config/tilepro/atomic.c: Rename "atomic_" prefix to
2491 "arch_atomic_".
2492 (atomic_xor): Rename and move definition to
2493 config/tilepro/atomic.h.
2494 (atomic_nand): Ditto.
2495 * config/tilepro/atomic.h: Rename "atomic_" prefix to
2496 "arch_atomic_".
2497 (arch_atomic_xor): Move from config/tilepro/atomic.c.
2498 (arch_atomic_nand): Ditto.
2499
4e30d980
GJL
25002012-03-07 Georg-Johann Lay <avr@gjlay.de>
2501
2502 PR target/52507
2503 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
2504
61108225
GJL
25052012-03-07 Georg-Johann Lay <avr@gjlay.de>
2506
2507 PR target/52505
2508 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
2509 from RAM.
2510
b30e10ab
GJL
25112012-03-07 Georg-Johann Lay <avr@gjlay.de>
2512
2513 PR target/52461
2514 PR target/52508
2515 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
2516 if RAMPZ affects reading from RAM.
2517 (__tablejump_elpm__): Ditto.
2518 (.xload): Ditto.
2519 (__movmemx_hi): Ditto.
2520 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
2521 (__do_global_dtors): Ditto.
2522 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
2523 (__movmemx_hi): Ditto.
2524
8993fde4
RH
25252012-03-05 Richard Henderson <rth@redhat.com>
2526
2527 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
2528 [ARM] (count_trailing_zeros): Use the builtin.
2529
b7633ee3
KT
25302012-03-01 Kai Tietz <ktietz@redhat.com>
2531
2532 * soft-fp: Imported from glibc upstream.
2533
fbd3340c
KT
25342012-02-28 Kai Tietz <ktietz@redhat.com>
2535
2536 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
2537 for mingw-targets as attribute gcc_struct.
2538
e9e053eb
ILT
25392012-02-28 Ian Lance Taylor <iant@google.com>
2540
2541 * generic-morestack.c (__splitstack_releasecontext): Correct call
2542 to __morestack_release_segments.
2543
d80c632e
ST
25442012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2545
2546 PR target/52390
2547 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
2548 for __linux__ when removing signals from __morestack_fullmask.
2549
0253a8b1
GJL
25502012-02-23 Georg-Johann Lay <avr@gjlay.de>
2551
2552 PR target/52261
2553 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
2554
e10e461e
UW
25552012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2556
2557 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
2558 instead of HAVE_INITFINI_ARRAY.
2559 * config/ia64/crtend.S: Likewise.
2560
0c0c6398
KT
25612012-02-20 Kai Tietz <ktietz@redhat.com>
2562
d7470374
KT
2563 PR libstdc++/52300
2564 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
2565
0c0c6398
KT
2566 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
2567 to w32-unwind.h header.
2568
78c27266
RS
25692012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
2570
2571 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
2572 (mips*-*-linux*): Remove t-slibgcc-libgcc.
2573 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
2574 * config/mips/mips16.S (__mips16_rdhwr): Delete.
2575
5adeb246
RS
25762012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
2577
2578 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
2579
672ed313
IS
25802012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2581
2582 PR libitm/52220
2583 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 2584
e948a1fb
IS
25852012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2586 Patrick Marlier <patrick.marlier@gmail.com>
2587
2588 PR libitm/52220
2589 * config/darwin-crt-tm.c: Generate dummy functions.
2590
6017aed3
IS
25912012-02-15 Iain Sandoe <iains@gcc.gnu.org>
2592 Patrick Marlier <patrick.marlier@gmail.com>
2593
2594 PR libitm/52042
2595 * config/darwin-crt-tm.c (getTMCloneTable): New function.
2596 (__doTMRegistrations): Call it.
e9e053eb 2597 (__doTMdeRegistrations): Likewise.
6017aed3 2598
2da8c1ad
GJL
25992012-01-15 Georg-Johann Lay <avr@gjlay.de>
2600 Anatoly Sokolov <aesok@post.ru>
2601 Eric Weddington <eric.weddington@atmel.com>
2602
2603 PR target/52261
2604 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
2605 (__epilogue_restores__): Ditto.
2606
0f952eb4
EB
26072012-02-15 Eric Botcazou <ebotcazou@adacore.com>
2608
2609 PR target/51921
2610 PR target/52205
2611 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
2612 Solaris 11 and slightly reformat.
2613 (sparc_is_sighandler): Likewise.
2614
dd552284
WL
26152012-02-14 Walter Lee <walt@tilera.com>
2616
2617 * config.host: Handle tilegx and tilepro.
2618 * config/tilegx/sfp-machine.h: New file.
2619 * config/tilegx/sfp-machine32.h: New file.
2620 * config/tilegx/sfp-machine64.h: New file.
2621 * config/tilegx/t-crtstuff: New file.
2622 * config/tilegx/t-softfp: New file.
2623 * config/tilegx/t-tilegx: New file.
2624 * config/tilepro/atomic.c: New file.
2625 * config/tilepro/atomic.h: New file.
2626 * config/tilepro/linux-unwind.h: New file.
2627 * config/tilepro/sfp-machine.h: New file.
2628 * config/tilepro/softdivide.c: New file.
2629 * config/tilepro/softmpy.S: New file.
2630 * config/tilepro/t-crtstuff: New file.
2631 * config/tilepro/t-tilepro: New file.
2632
b59cbd50
JW
26332012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
2634
2635 PR libstdc++/51296
2636 PR libstdc++/51906
2637 * gthr-posix.h: Allow static initializer macros to be disabled.
2638 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
2639
6caf807f
CLT
26402012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2641
2642 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
2643 Add t-slibgcc-libgcc to tmake_file.
2644 * config/mips/libgcc-mips16.ver: Revert previous patch.
2645 * config/mips/mips16.S (__mips16_rdhwr): Hide.
2646
b25364a0
S
26472012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
2648 Jayant R Sonar <jayant.sonar@kpitcummins.com>
2649
2650 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
2651 * config/cr16/crti.S: New file.
2652 * config/cr16/crtlibid.S: New file.
2653 * config/cr16/crtn.S: New file.
2654 * config/cr16/lib1funcs.S: New file.
2655 * config/cr16/t-cr16: New file.
2656 * config/cr16/t-crtlibid: New file.
2657 * config/cr16/unwind-dw2.h: New file.
2658 * config/cr16/unwind-cr16.c: New file.
2659 * config/cr16/divmodhi3.c: New file.
2660
8ef03aa7
AM
26612012-01-25 Alan Modra <amodra@gmail.com>
2662
2663 * config/rs6000/t-linux64: Delete. Move..
2664 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
2665 * config/rs6000/t-linux: ..and libgcc flags to here.
2666
daecebc8
DR
26672012-01-22 Douglas B Rupp <rupp@gnat.com>
2668
2669 * config.host (i[34567]86-*-interix3*):
8ef03aa7 2670 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
2671 * configure: Regenerate.
2672
ddaf8125
RS
26732012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
2674 Richard Sandiford <rdsandiford@googlemail.com>
2675
2676 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
2677 * config/mips/mips16.S (__mips16_rdhwr): New function.
2678 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
2679
2cd8b32c
NS
26802012-01-11 Nathan Sidwell <nathan@acm.org>
2681
2682 * libgcov.c (__gcov_init): Ignore objects with no functions.
2683
cba300dd
GJL
26842012-01-10 Georg-Johann Lay <avr@gjlay.de>
2685
2686 PR target/49868
2687 Extend __pgmx semantics to linearize memory.
2688 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
2689 * config/avr/lib1funcs.S (__xload_1): New function.
2690 (__movmemx_qi, __movmemx_hi): New functions.
2691 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
2692 semantics.
9ffaf4bc 2693
3d137660
EB
26942012-01-09 Eric Botcazou <ebotcazou@adacore.com>
2695
2696 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
2697 purported sigacthandler address isn't null before dereferencing it.
2698 (sparc_is_sighandler): Likewise.
2699
bf4db96c
EB
27002012-01-09 Eric Botcazou <ebotcazou@adacore.com>
2701
2702 PR ada/41929
2703 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
2704 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
2705 (sparc_is_sighandler): Likewise.
2706 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
2707
1ab3568b
TG
27082012-01-06 Tristan Gingold <gingold@adacore.com>
2709
2710 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
2711 compatibility thunks...
2712 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
2713 (crtbeginS.o, crtendS.o): ... and these to ...
2714 * config/ia64/t-ia64-elf: ... this new file.
2715 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
2716 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
2717
925b0ed8
AK
27182012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2719
2720 * configure: Regenerate.
2721 * config/s390/t-crtstuff: Remove -fPIC.
2722
a99ad737
JW
27232012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2724
2725 PR bootstrap/51006
2726 * enable-execute-stack-mprotect.c (getpagesize): Do not define
2727 for NetBSD.
2728
884f56d1
GJL
27292012-01-02 Georg-Johann Lay <avr@gjlay.de>
2730
2731 PR target/51345
2732 * config/avr/lib1funcs.S: Remove FIXME comments.
2733 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
2734
8c57e547
GJL
27352012-01-02 Georg-Johann Lay <avr@gjlay.de>
2736
2737 Implement light-weight DImode support.
2738 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
2739 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
2740 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
2741 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
2742
04dbc287
NS
27432011-12-30 Nathan Sidwell <nathan@acm.org>
2744
2745 * libgcov.c (gcov_crc32): Remove global var.
2746 (free_fn_data): New function.
2747 (buffer_fn_data): Pass in filename, more robust error recovery.
2748 (crc32_unsigned): New function.
2749 (gcov_exit): More robust detection of new program. More robust
2750 error recovery.
2751 (__gcov_init): Do not update program's crc here.
2752
8e1d97d4
TG
27532011-12-21 Tristan Gingold <gingold@adacore.com>
2754
2755 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
2756
9ffaf4bc
ILT
27572011-12-21 Ian Lance Taylor <iant@google.com>
2758
2759 * config/i386/morestack.S: Simplify CFI opcodes throughout.
2760
a0c8d0c1
ILT
27612011-12-20 Ian Lance Taylor <iant@google.com>
2762
2763 * config/i386/morestack.S (__morestack_non_split): If there is
2764 enough stack space already, don't split. Ask for more stack space
2765 than we required.
2766
69048898
SDJ
27672011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
2768
2769 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
2770 `sys/sdt.h'.
2771 (_Unwind_DebugHook): New function.
2772 (uw_restore_core_regs): New define.
2773 (unwind_phase2): Use uw_restore_core_regs instead of
2774 restore_core_regs.
2775 (unwind_phase2_forced): Likewise.
2776 (__gnu_Unwind_Resume): Likewise.
2777
1bb4b6a3
UB
27782011-12-20 Uros Bizjak <ubizjak@gmail.com>
2779
2780 * config/alpha/linux-unwind.h: Update copyright years.
2781 (MD_FROB_UPDATE_CONTEXT): New define.
2782 (alpha_frob_update_context): New function.
2783
eb028768
RS
27842011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
2785
2786 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
2787 tmake_file rather replacing it.
2788
6a2045bf
IS
27892011-12-15 Iain Sandoe <iains@gcc.gnu.org>
2790
2791 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 2792 function is not used for PPC64.
6a2045bf
IS
2793 (save_world): Amend comments. Update the VRsave mask to reflect the
2794 saved regs.
2795 (rest_world): Update comments, do not clobber r10, do not use r8.
2796 (eh_rest_world_r10): Amend comments, do not use r8.
2797 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
2798 no longer used, move restore of CR and target address to the end of
2799 the routine.
2800
a13780a6
L
28012011-12-14 H.J. Lu <hongjiu.lu@intel.com>
2802
2803 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
2804 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
2805
d7288dfb
GJL
28062011-12-14 Georg-Johann Lay <avr@gjlay.de>
2807
2808 PR target/49313
2809 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
2810 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
2811
8d2c862d
EB
28122011-12-11 Eric Botcazou <ebotcazou@adacore.com>
2813
2814 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
2815
3447cae6
GJL
28162011-12-09 Georg-Johann Lay <avr@gjlay.de>
2817
2818 PR target/49313
2819 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
2820 * config/avr/lib1funcs.S (__muldi3): New function.
2821
806fc6aa
AP
28222011-12-06 Andrew Pinski <apinski@cavium.com>
2823
2824 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
2825 size of func_ptr.
2826 (__frame_dummy_init_array_entry): Likewise.
2827
28c5e6b5
GJL
28282011-12-06 Georg-Johann Lay <avr@gjlay.de>
2829
2830 Forward-port from gcc-4_6-branch r181936 2011-12-02.
2831
2832 PR target/51345
2833 PR target/51002
2834 * config/avr/lib1funcs.S (__prologue_saves__,
2835 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
2836 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
2837
8f90394a
IS
28382011-12-04 Iain Sandoe <iains@gcc.gnu.org>
2839
2840 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
2841
06dd33ac
JDA
28422011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2843
2844 PR other/51272
2845 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
2846 (_ITM_deregisterTMCloneTable): Likewise.
2847 (__register_frame_info): Fix unused warning.
2848 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
2849 pthread_default_stacksize_np): Likewise.
2850 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 2851
85b8555e
DD
28522011-11-29 DJ Delorie <dj@redhat.com>
2853
2854 * config.host (rl78-*-elf): New case.
2855 * config/rl78: New directory for the Renesas RL78.
2856
4d5ae4ea
BS
28572011-11-29 Bernd Schmidt <bernds@codesourcery.com>
2858
2859 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
2860 formatting.
2861
f9c55897
RO
28622011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2863
2864 PR other/51022
2865 * config/rs6000/t-savresfgpr: New file.
2866 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
2867 $(srcdir)/config/rs6000/eabi.S.
2868 * config/rs6000/t-ppccomm-ldbl: Remove.
2869 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
2870 tmake_file.
2871 (powerpc-*-eabispe*): Likewise.
2872 (powerpc-*-eabi*): Likewise.
2873 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2874 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
2875 to tmake_file, remove rs6000/t-ppccomm-ldbl.
2876 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
2877 tmake_file.
2878 (powerpc-*-eabisim*): Likewise.
2879 (powerpc-*-elf*): Likewise.
2880 (powerpc-*-eabialtivec*): Likewise.
2881 (powerpc-xilinx-eabi*): Likewise.
2882 (powerpc-*-rtems*): Likewise.
2883 (powerpcle-*-elf*): Likewise.
2884 (powerpcle-*-eabisim*): Likewise.
2885 (powerpcle-*-eabi*): Likewise.
2886
a01207c4
ILT
28872011-11-27 Ian Lance Taylor <iant@google.com>
2888
2889 * generic-morestack.c (__splitstack_find): Check for NULL old
2890 stack value.
2891 (__splitstack_resetcontext): New function.
2892 (__splitstack_releasecontext): New function.
2893 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
2894
2b0b8ab2
IS
28952011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2896
2897 * config/darwin-crt-tm.c: Correct comments, use correct licence.
2898
c1d8101c
IS
28992011-11-27 Iain Sandoe <iains@gcc.gnu.org>
2900
2901 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
2902
8b281334
RH
29032011-11-26 Richard Henderson <rth@redhat.com>
2904
2905 * config/m68k/linux-atomic.c: New file.
2906 * config/m68k/t-linux: New file.
2907 * config.host (m68k-uclinux, m68k-linux): Use it.
2908
7546aa9d
RH
29092011-11-26 Richard Henderson <rth@redhat.com>
2910
2911 * crtstuff.c (__TMC_LIST__): Mark used not unused.
2912 (__TMC_END__): Only declare if hidden is available; in the definition,
2913 if hidden is unavailable add a null record.
2914 (deregister_tm_clones, register_tm_clones): New.
2915 (__do_global_dtors_aux, frame_dummy): Use them.
2916 (__do_global_dtors, __do_global_ctors_1): Likewise.
2917
e2362f5d
IS
29182011-11-22 Iain Sandoe <iains@gcc.gnu.org>
2919
2920 * config/darwin-crt-tm.c: New file.
2921 * config.host (darwin): Build crttms.o crttme.o to provide
2922 startup and shutdown for tm clones.
2923 * config/t-darwin (crttms.o): New build rule.
2924 (crttme.o): Likewise.
2925
6685dd96
HPN
29262011-11-21 Hans-Peter Nilsson <hp@axis.com>
2927
2928 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
2929 et al.
2930
b0dc7e4c
RH
29312011-11-21 Richard Henderson <rth@redhat.com>
2932
2933 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
2934 (__TMC_LIST__, __TMC_END__): New.
2935 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
2936 (__do_global_dtors): Likewise.
2937 (frame_dummy): Call _ITM_registerTMCloneTable.
2938 (__do_global_ctors_1): Likewise.
2939
d4b4b542
RO
29402011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2941
2942 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
2943 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2944 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
2945 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
2946 * config/i386/t-darwin64: Remove.
2947 * config/sh/t-netbsd (LIB2ADD): Remove.
2948
989bdb74
GJL
29492011-11-21 Georg-Johann Lay <avr@gjlay.de>
2950
2951 PR target/49313
2952 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
2953 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
2954 * config/avr/lib1funcs.S (wmov): New assembler macro.
2955 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
2956 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
2957 (__udivmod64): New function.
2958 (__negdi2): New function.
2959
515a0cfc
GP
29602011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
2961
2962 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
2963 *-*-freebsd*aout*): Remove.
2964
0115d17f
HPN
29652011-11-20 Hans-Peter Nilsson <hp@axis.com>
2966
2967 * static-object.mk (c_flags-$o): Save c_flags.
2968 ($(base)$(objext)): Use it.
2969
93aeb62b
SE
29702011-11-18 Steve Ellcey <sje@cup.hp.com>
2971
2972 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
2973
7bc6df2c
GJL
29742011-11-18 Georg-Johann Lay <avr@gjlay.de>
2975
2976 PR target/49868
2977 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
2978 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
2979 New functions.
2980
425d737b
MGD
29812011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2982
2983 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
2984 functions.
1bb4b6a3 2985 (aeabi_uidivmod): Likewise.
425d737b
MGD
2986 (umodsi3): Likewise.
2987 (divsi3): Likewise.
2988 (aeabi_idivmod): Likewise.
2989 (modsi3): Likewise.
2990
f2a176dc
TG
29912011-11-16 Tristan Gingold <gingold@adacore.com>
2992
2993 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
2994
7c209481
GJL
29952011-11-15 Georg-Johann Lay <avr@gjlay.de>
2996
2997 PR target/49868
2998 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
2999 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
3000
9dfd5832
JDA
30012011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3002
3003 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
3004 tmake_file list.
3005 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
3006 * config/pa/t-stublib64: Delete.
3007
f77dca5d
RH
30082011-11-12 Richard Henderson <rth@redhat.com>
3009
3010 * config/rs6000/linux-unwind.h (frob_update_context): Properly
3011 cast the pointer argument to _Unwind_SetGRPtr.
3012
902828f0
RO
30132011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3014
3015 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
3016
e14304ef
ILT
30172011-11-09 Ian Lance Taylor <iant@google.com>
3018
3019 * generic-morestack.c: Include <string.h>.
3020 (uintptr_type): Define.
3021 (struct initial_sp): Add dont_block_signals field. Reduce size of
3022 extra array by 1.
3023 (allocate_segment): Set prev field to NULL. Don't set
3024 __morestack_current_segment or __morestack_segments.
3025 (__generic_morestack): Update current->prev and *pp after calling
3026 allocate_segment.
3027 (__morestack_block_signals): Don't do anything if
3028 dont_block_signals is set.
3029 (__morestack_unblock_signals): Likewise.
3030 (__generic_findstack): Check for initial_sp == NULL. Add casts to
3031 uintptr_type.
3032 (__splitstack_block_signals): New function.
3033 (enum __splitstack_content_offsets): Define.
3034 (__splitstack_getcontext, __splitstack_setcontext): New functions.
3035 (__splitstack_makecontext): New function.
3036 (__splitstack_block_signals_context): New function.
3037 (__splitstack_find_context): New function.
3038 * config/i386/morestack.S (__morestack_get_guard): New function.
3039 (__morestack_set_guard, __morestack_make_guard): New functions.
3040 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3041
e3d871e4
RO
30422011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3043
3044 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
3045 (i[34567]86-*-mingw*): ... here.
3046 (x86_64-*-mingw*): ... here.
3047
e55cef40
RO
30482011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3049
3050 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
3051
5366b186
NS
30522011-11-07 Nathan Sidwell <nathan@acm.org>
3053
3054 * libgcov.c (struct gcov_fn_buffer): New struct.
3055 (buffer_fn_data): New helper.
3056 (gcov_exit): Rework for new gcov data structures.
3057
74155a6f
GJL
30582011-11-07 Georg-Johann Lay <avr@gjlay.de>
3059
3060 PR target/49313
3061 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
3062
200feb07
RO
30632011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3064
3065 * config.host (tmake_file): Correct comment.
3066 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
3067 t-libgcc-pic.
3068 (bfin*-uclinux*): Likewise.
3069 (bfin*-linux-uclibc*): Likewise.
3070 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
3071
3072 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
3073 assigning.
3074 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3075 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
3076 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3077 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
3078 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3079 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
3080 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
3081 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3082 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
3083 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
3084 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
3085 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
3086 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
3087
3088 * config/bfin/t-elf: Remove.
3089 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
3090
c9cd1a07
RO
30912011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3092
3093 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
3094 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
3095 (lm32-*-elf*, lm32-*-rtems*): Split into ...
3096 (lm32-*-elf*): ... this.
3097 (lm32-*-rtems*): ... and this.
3098 Add to tmake_file.
3099 (m32r-*-rtems*): Add to tmake_file.
3100 (moxie-*-rtems*): Likewise.
3101 (sparc-*-rtems*): Likewise.
3102 Remove t-rtems from tmake_file.
3103 (sparc64-*-rtems*): Likewise.
3104 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
3105 instead.
3106
9fbcc75d
RO
31072011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3108
3109 PR bootstrap/50982
3110 * config/gthr-posix.h: Move ...
3111 * gthr-posix.h: ... here.
3112 * config/gthr-lynx.h: Reflect this.
3113 * config/gthr-vxworks.h: Likewise.
3114 * config/rs6000/gthr-aix.h: Likewise.
3115 * configure.ac (target_thread_file): Likewise.
3116 * configure: Regenerate.
3117
76644b68
SH
31182011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
3119
3120 * config.host (arm*-*-rtemseabi*): New target.
3121
5e490f2a
JDA
31222011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3123
3124 PR other/50991
3125 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
3126 extra-parts.
3127
feeeff5c
JR
31282011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
3129
3130 * config.host (epiphany-*-elf*): New configuration.
3131 * config/epiphany: New Directory.
3132
d618bb2c
RC
31332011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
3134
3135 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3136 * config/avr/t-rtems: New.
3137 Filter out _exit from LIB1ASMFUNCS.
3138
1bb6f778
DM
31392011-11-04 David S. Miller <davem@davemloft.net>
3140
3141 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3142 * configure: Rebuild.
3143
9a7f7422
AK
31442011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3145
3146 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
3147 variable.
3148
e4fe948a
GJL
31492011-11-04 Georg-Johann Lay <avr@gjlay.de>
3150
3151 PR target/50931
3152 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
3153 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
3154
7084e037
JS
31552011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
3156
3157 PR target/50989
3158 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
3159
1a032034
RO
31602011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3161
3162 * config/c6x/t-elf (LIB2ADDEH): Set.
3163 * config/c6x/t-c6x-elf: Remove.
3164
d385f772
RO
31652011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3166
3167 * config/i386/sol2-ci.S: Rename to ...
3168 * config/i386/crti.S: ... this.
3169 * config/i386/sol2-cn.S: Rename to ...
3170 * config/i386/crtn.S: ... this.
3171 * config/sparc/sol2-ci.S: Rename to ...
3172 * config/sparc/crti.S: ... this.
3173 * config/sparc/sol2-cn.S: Rename to ...
3174 * config/sparc/crtn.S: ... this.
3175 * config/t-sol2 (CUSTOM_CRTIN): Remove.
3176 (crti.o, crtn.o): Remove.
3177
1ba878a9
TG
31782011-11-04 Tristan Gingold <gingold@adacore.com>
3179
3180 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
3181
02750c15
KK
31822011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
3183
3184 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
3185
bf86b067
HPN
31862011-11-03 Hans-Peter Nilsson <hp@axis.com>
3187
3188 * config.host (crisv32-*-none, cris-*-none): Remove.
3189 (crisv32-*-elf): Append to tmake_file, don't just set it.
3190 (cris-*-elf): Add missing t-fdpbit to tmake_file.
3191
d0bc53bd
RO
31922011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3193
3194 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
3195 (ecrtn$(objext)): Likewise.
3196 (ncrti$(objext)): Likewise.
3197 (ncrtn$(objext)): Likewise.
3198
036da830
AS
31992011-11-03 Andreas Schwab <schwab@redhat.com>
3200
3201 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
3202
d2a7d041
DM
32032011-11-02 David S. Miller <davem@davemloft.net>
3204
3205 * configure.ac: Set host_address on sparc too.
3206 * configure: Regenerate.
3207 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
3208 based upon host_address.
3209 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
3210
af8ed618
JM
32112011-11-02 Jason Merrill <jason@redhat.com>
3212
3213 * config/rs6000/t-ppccomm: Add missing \.
3214
5d1c8e77
RO
32152011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3216
3217 * gthr-single.h, gthr.h: New files.
3218 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
3219 config/gthr-vxworks.h, config/i386/gthr-win32.h,
3220 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
3221 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
3222 * config/i386/gthr-win32.c: Include "gthr-win32.h".
3223 * configure.ac (thread_header): New variable.
3224 Set it depending on target_thread_file.
3225 (gthr-default.h): Link from $thread_header.
3226 * configure: Regenerate.
3227 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
3228
852b75ed
RO
32292011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3230
3231 * configure.ac (tm_file_): New variable.
3232 Determine from tm_file.
3233 (tm_file, tm_defines): Substitute.
3234 * configure: Regenerate.
3235 * mkheader.sh: New file.
3236 * Makefile.in (clean): Remove libgcc_tm.h.
3237 ($(objects)): Depend on libgcc_tm.h.
3238 (libgcc_tm_defines, libgcc_tm_file): New variables.
3239 (libgcc_tm.h, libgcc_tm.stamp): New targets.
3240 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
3241 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
3242 ($(extra-parts)): Depend on libgcc_tm.h.
3243 * config.host (tm_defines, tm_file): New variable.
3244 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
3245 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
3246 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
3247 (avr-*-rtems*): Likewise.
3248 (avr-*-*): Likewise.
3249 (frv-*-elf): Likewise.
3250 (frv-*-*linux*): Likewise.
3251 (h8300-*-rtems*): Likewise.
3252 (h8300-*-elf*): Likewise.
3253 (i[34567]86-*-darwin*): Likewise.
3254 (x86_64-*-darwin*): Likewise.
3255 (rx-*-elf): Likewise.
3256 (tic6x-*-uclinux): Likewise.
3257 (tic6x-*-elf): Likewise.
3258 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
3259 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
3260 * config/i386/cygming-crtbegin.c: Likewise.
3261 * config/i386/cygming-crtend.c: Likewise.
3262 * config/ia64/fde-vms.c: Likewise.
3263 * config/ia64/unwind-ia64.c: Likewise.
3264 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3265 * config/rs6000/darwin-fallback.c: Likewise.
3266 * config/stormy16/lib2funcs.c: Likewise.
3267 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
3268 * crtstuff.c: Likewise.
3269 * dfp-bit.h: Likewise.
3270 * emutls.c: Likewise.
3271 * fixed-bit.c: Likewise.
3272 * fp-bit.c: Likewise.
3273 * generic-morestack-thread.c: Likewise.
3274 * generic-morestack.c: Likewise.
3275 * libgcc2.c: Likewise.
3276 * libgcov.c: Likewise.
3277 * unwind-dw2-fde-dip.c: Likewise.
3278 * unwind-dw2-fde.c: Likewise.
3279 * unwind-dw2.c: Likewise.
3280 * unwind-sjlj.c: Likewise.
3281
f9989b51
RO
32822011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3283
3284 * configure.ac: Include ../config/picflag.m4.
3285 (GCC_PICFLAG): Call it.
3286 Substitute.
3287 * configure: Regenerate.
3288 * Makefile.in (gcc_srcdir): Remove.
3289 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
3290 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
3291 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
3292 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
3293 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
3294 Use $<.
3295 Remove comment.
3296 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
3297 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
3298 to refer to libgcc2.c.
3299 Use $<.
3300 * config/darwin-64.c: New file.
3301 * config/darwin-crt3.c: Remove comment.
3302 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
3303 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
3304 config/udivmodsi4.c: New files.
3305 * config/memcmp.c, config/memcpy.c, config/memmove.c,
3306 config/memset.c: New files.
3307 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
3308 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
3309 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
3310 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
3311 * config/t-openbsd-thread: New file.
3312 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
3313 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
3314 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
3315 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
3316 qrnnd.S.
3317 Adapt filename.
3318 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
3319 to refer to gthr-posix.c.
3320 * config/alpha/t-vms (LIB2ADD): Set.
3321 * config/alpha/vms-gcc_shell_handler.c: New file.
3322 * config/arm/bpabi.c, config/arm/fp16.c,
3323 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
3324 config/arm/unaligned-funcs.c: New files.
3325 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
3326 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3327 * config/arm/t-linux: Likewise.
3328 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
3329 * config/arm/t-netbsd: New file.
3330 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
3331 * config/arm/t-symbian (LIB2ADD_ST): Set.
3332 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
3333 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3334 * config/bfin/t-elf: New file.
3335 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
3336 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
3337 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
3338 config/c6x/ltf.c: New files.
3339 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
3340 (HOST_LIBGCC2_CFLAGS): Set.
3341 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
3342 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3343 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
3344 New files.
3345 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
3346 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
3347 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
3348 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
3349 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
3350 files.
3351 * config/frv/t-frv (LIB2ADD): Set.
3352 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3353 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
3354 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
3355 config/h8300/popcounthi2.c: New files.
3356 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3357 * config/i386/gthr-win32.c: New file.
3358 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
3359 * config/i386/t-cygwin: Likewise.
3360 * config/i386/t-darwin, config/i386/t-darwin64,
3361 config/i386/t-gthr-win32, config/i386/t-interix: New files.
3362 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
3363 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3364 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3365 * config/ia64/quadlib.c: New file.
3366 * config/ia64/t-hpux (LIB2ADD): Set.
3367 * config/ia64/t-ia64: Add comment.
3368 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
3369 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3370 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
3371 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
3372 * config/m32c/t-m32c (LIB2ADD): Set.
3373 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3374 * config/m32r/t-m32r: Likewise.
3375 * config/m68k/fpgnulib.c: New file.
3376 * config/m68k/t-floatlib (LIB2ADD): Set.
3377 (xfgnulib.c): New target.
3378 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
3379 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
3380 * config/mep/t-mep (LIB2ADD): Set.
3381 * config/microblaze/divsi3.asm: Rename to divsi3.S.
3382 * config/microblaze/moddi3.asm: Rename to moddi3.S.
3383 * config/microblaze/modsi3.asm: Rename to modsi3.S.
3384 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
3385 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
3386 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
3387 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
3388 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
3389 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
3390 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
3391 New files.
3392 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
3393 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
3394 * config/pa/fptr.c, config/pa/lib2funcs.S,
3395 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
3396 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
3397 (LIB2ADD, LIB2ADD_ST): Set.
3398 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
3399 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
3400 Set.
3401 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
3402 * config/pdp11/t-pdp11: New file.
3403 * config/picochip/libgccExtras/adddi3.S,
3404 config/picochip/libgccExtras/ashlsi3.S,
3405 config/picochip/libgccExtras/ashrsi3.S,
3406 config/picochip/libgccExtras/clzsi2.S,
3407 config/picochip/libgccExtras/cmpsi2.S,
3408 config/picochip/libgccExtras/divmod15.S,
3409 config/picochip/libgccExtras/divmodhi4.S,
3410 config/picochip/libgccExtras/divmodsi4.S,
3411 config/picochip/libgccExtras/lshrsi3.S,
3412 config/picochip/libgccExtras/parityhi2.S,
3413 config/picochip/libgccExtras/popcounthi2.S,
3414 config/picochip/libgccExtras/subdi3.S,
3415 config/picochip/libgccExtras/ucmpsi2.S,
3416 config/picochip/libgccExtras/udivmodhi4.S,
3417 config/picochip/libgccExtras/udivmodsi4.S: New files.
3418 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
3419 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
3420 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
3421 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
3422 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
3423 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
3424 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
3425 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
3426 files.
3427 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
3428 (HOST_LIBGCC2_CFLAGS): Set.
3429 * config/rs6000/t-darwin64: New file.
3430 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
3431 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
3432 * config/rs6000/t-ppccomm (LIB2ADD): Add
3433 $(srcdir)/config/rs6000/tramp.S.
3434 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
3435 Add $(srcdir)/config/rs6000/eabi.S.
3436 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
3437 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
3438 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
3439 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
3440 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
3441 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
3442 * config/rs6000/tramp.S: New file.
3443 * config/s390/t-tpf: Remove.
3444 * config/sh/linux-atomic.S: New file.
3445 * config/sh/t-linux (LIB2ADD): Set.
3446 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
3447 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
3448 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
3449 to unwind-dw2.c.
3450 (HOST_LIBGCC2_CFLAGS): Set.
3451 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
3452 * config/spu/divmodti4.c, config/spu/divv2df3.c,
3453 config/spu/float_disf.c, config/spu/float_unsdidf.c,
3454 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
3455 config/spu/mfc_multi_tag_release.c,
3456 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
3457 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
3458 config/spu/multi3.c: New files.
3459 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
3460 (HOST_LIBGCC2_CFLAGS): Set.
3461 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
3462 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
3463 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
3464 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
3465 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
3466 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
3467 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
3468 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
3469 config/stormy16/umodsi3.c: New files.
3470 * config/xtensa/lib2funcs.S: New file.
3471 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
3472 * config/xtensa/t-xtensa (LIB2ADD): Set.
3473 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
3474 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
3475 Add t-freebsd-thread to tmake_file for posix threads.
3476 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
3477 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
3478 (*-*-lynxos*): Likewise.
3479 (*-*-netbsd*): Likewise.
3480 (*-*-openbsd*): Likewise.
3481 Add t-openbsd-thread to tmake_file for posix threads.
3482 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
3483 (*-*-vxworks*): Set tmake_file.
3484 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3485 (alpha*-*-freebsd*): Likewise.
3486 (alpha*-*-netbsd*): Likewise.
3487 (alpha*-*-openbsd*): Likewise.
3488 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
3489 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
3490 (alpha*-dec-*vms*): Likewise.
3491 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
3492 (bfin*-elf*): Add bfin/t-elf to tmake_file.
3493 (bfin*-uclinux*): Likewise.
3494 (bfin*-linux-uclibc*): Likewise.
3495 (crisv32-*-elf): Add cris/t-cris to tmake_file.
3496 (crisv32-*-none): Likewise.
3497 (cris-*-elf): Likewise.
3498 (cris-*-none): Likewise.
3499 (cris-*-linux*, crisv32-*-linux*): Likewise.
3500 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
3501 tmake_file.
3502 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
3503 tmake_file.
3504 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
3505 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
3506 (x86_64-*-elf*): Likewise.
3507 (i[34567]86-*-nto-qnx*): Likewise.
3508 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
3509 win32 threads.
3510 (x86_64-*-mingw*): Likewise.
3511 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
3512 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
3513 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3514 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3515 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
3516 tmake_file.
3517 (mipsisa64sr71k-*-elf*): Likewise.
3518 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3519 (mips-*-elf*, mipsel-*-elf*): Likewise.
3520 (mips64-*-elf*, mips64el-*-elf*): Likewise.
3521 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3522 (mips*-*-rtems*): Likewise.
3523 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
3524 to tmake_file.
3525 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
3526 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
3527 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
3528 (spu-*-elf*): Likewise.
3529 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
3530
45b86625
RO
35312011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3532
3533 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
3534 $(srcdir) to refer to $(LIB1ASMSRC).
3535 Use $<.
3536 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
3537 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
3538 config/arm/lib1funcs.S: New files.
3539 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
3540 * config/arm/t-arm: New file.
3541 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
3542 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
3543 config/arm/t-strongarm-elf: New files.
3544 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
3545 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
3546 * config/avr/lib1funcs.S: New file.
3547 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3548 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
3549 * config/c6x/lib1funcs.S: New file.
3550 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3551 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
3552 * config/frv/lib1funcs.S: New file.
3553 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3554 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
3555 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
3556 * config/ia64/__divxf3.asm: Rename to ...
3557 * config/ia64/__divxf3.S: ... this.
3558 Adapt lib1funcs.asm filename.
3559 * config/ia64/_fixtfdi.asm: Rename to ...
3560 * config/ia64/_fixtfdi.S: ... this.
3561 Adapt lib1funcs.asm filename.
3562 * config/ia64/_fixunstfdi.asm: Rename to ...
3563 * config/ia64/_fixunstfdi.S: ... this.
3564 Adapt lib1funcs.asm filename.
3565 * config/ia64/_floatditf.asm: Rename to ...
3566 * config/ia64/_floatditf.S: ... this.
3567 Adapt lib1funcs.asm filename.
3568 * config/ia64/lib1funcs.S: New file.
3569 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
3570 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3571 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
3572 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
3573 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
3574 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
3575 * config/mep/lib1funcs.S: New file.
3576 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3577 * config/mips/mips16.S: New file.
3578 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3579 * config/pa/milli64.S: New file.
3580 * config/pa/t-linux, config/pa/t-linux64: New files.
3581 * config/picochip/lib1funcs.S: New file.
3582 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3583 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
3584 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
3585 * config/sh/t-netbsd: New file.
3586 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
3587 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
3588 * config/sh/t-sh64: New file.
3589 * config/sparc/lb1spc.S: New file.
3590 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
3591 filename.
3592 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
3593 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
3594 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
3595 config/xtensa/lib1funcs.S: New files.
3596 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
3597 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
3598 tmake_file.
3599 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
3600 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
3601 (arm*-*-linux*): Likewise.
3602 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
3603 arm*-*-linux-*eabi, add arm/t-linux otherwise.
3604 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
3605 (arm*-*-ecos-elf): Likewise.
3606 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3607 (arm*-*-rtems*): Likewise.
3608 (arm*-*-elf): Likewise.
3609 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
3610 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
3611 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
3612 (bfin*-uclinux*): Likewise.
3613 (bfin*-linux-uclibc*): Likewise.
3614 (bfin*-rtems*): Likewise.
3615 (bfin*-*): Likewise.
3616 (fido-*-elf): Merge into m68k-*-elf*.
3617 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
3618 (frv-*-*linux*): Add frv/t-frv to tmake_file.
3619 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
3620 (h8300-*-elf*): Likewise.
3621 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
3622 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
3623 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
3624 (i[34567]86-*-mingw*): Likewise.
3625 (x86_64-*-mingw*): Likewise.
3626 (i[34567]86-*-interix3*): Likewise.
3627 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
3628 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
3629 (m68k-*-elf*): Also handle fido-*-elf.
3630 Add m68k/t-floatlib to tmake_file.
3631 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
3632 (m68k-*-linux*): Likewise.
3633 (m68k-*-rtems*): Likewise.
3634 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
3635 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
3636 sh64*-*-*.
3637 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
3638 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
3639 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
3640 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
3641 sh/t-netbsd to tmake_file.
3642 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
3643 (sh-*-rtems*): Add sh/t-sh to tmake_file.
3644 (sh-wrs-vxworks): Likewise.
3645 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
3646 *-leon[3-9]*.
3647 (v850*-*-*): Add v850/t-v850 to tmake_file.
3648 (vax-*-linux*): Add vax/t-linux to tmake_file.
3649 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
3650
5f73c6cc
RO
36512011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3652
3653 * crtstuff.c: New file.
3654 * Makefile.in (CRTSTUFF_CFLAGS): Define.
3655 (CRTSTUFF_T_CFLAGS): Define.
3656 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
3657 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
3658 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
3659 crtstuff.c.
3660 Use $<.
3661 (crtbeginT.o): Use $(objext).
3662 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
3663 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
3664 (gcc-extra-parts): Remove.
3665 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
3666 Set extra_parts.
3667 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3668 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
3669 Add t-crtstuff-pic to tmake_file.
3670 (*-*-lynxos*): New case.
3671 Set tmake_file, extra_parts.
3672 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
3673 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
3674 *-*-netbsdelf[2-9]*.
3675 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
3676 (*-*-rtems*): Set extra_parts.
3677 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
3678 (*-*-uclinux*): New case.
3679 Set extra_parts.
3680 (*-*-vms*): New case.
3681 Set tmake_file, extra_parts.
3682 (*-*-elf): Set extra_parts.
3683 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
3684 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
3685 vms/t-vms64.
3686 Set extra_parts.
3687 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
3688 Set extra_parts.
3689 (arm*-*-freebsd*): Add t-crtin to tmake_file.
3690 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
3691 (arm-wrs-vxworks): Append to tmake_file.
3692 Set extra_parts.
3693 (arm*-*-uclinux*): Set extra_parts.
3694 (arm*-*-ecos-elf): Likewise.
3695 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
3696 arm*-*-eabi*.
3697 (arm*-*-rtems*): Set extra_parts.
3698 (arm*-*-elf): Likewise.
3699 (avr-*-rtems*): Clear extra_parts.
3700 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
3701 Set extra_parts.
3702 (bfin*-uclinux*): Likewise.
3703 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
3704 (bfin*-rtems*): Append to tmake_file.
3705 Set extra_parts.
3706 (bfin*-*): Likewise.
3707 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
3708 (crisv32-*-elf): ... this.
3709 (crisv32-*-none): ... this.
3710 (cris-*-elf, cris-*-none): New cases.
3711 Add cris/t-elfmulti to tmake_file.
3712 (fr30-*-elf): Append to tmake_file.
3713 Set extra_parts.
3714 (frv-*-elf): Append to tmake_file, add frv/t-frv.
3715 Set extra_parts.
3716 (h8300-*-rtems*): Append to tmake_file.
3717 Set extra_parts.
3718 (h8300-*-elf*): Likewise.
3719 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
3720 Set extra_parts.
3721 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
3722 Set extra_parts.
3723 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
3724 (x86_64-*-elf*): Likewise.
3725 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
3726 (x86_64-*-freebsd*): Likewise.
3727 (x86_64-*-netbsd*): Likewise.
3728 (i[34567]86-*-linux*): Likewise.
3729 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3730 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3731 (x86_64-*-linux*): Likewise.
3732 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3733 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
3734 tmake_file.
3735 Set extra_parts.
3736 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
3737 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
3738 Append to extra_parts, remove crtbegin.o, crtend.o.
3739 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
3740 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
3741 crtend.o, crtbeginS.o, crtendS.o.
3742 (ia64*-*-linux*): Comment extra_parts.
3743 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
3744 Set extra_parts.
3745 (iq2000*-*-elf*): Clear extra_parts.
3746 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
3747 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
3748 (m32r-*-elf*, m32r-*-rtems*): Split off ...
3749 (m32r-*-rtems*): ... this.
3750 Add m32r/t-m32r to tmake_file.
3751 (m68k-*-elf*): Add t-crtin to tmake_file.
3752 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
3753 (mcore-*-elf): Likewise.
3754 (microblaze*-*-*): Set extra_parts.
3755 (mips*-sde-elf*): New case.
3756 Set tmake_file, extra_parts.
3757 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
3758 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
3759 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
3760 tmake_file.
3761 Set extra_parts.
3762 (mipsisa64sr71k-*-elf*): Likewise.
3763 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
3764 (mips-*-elf*, mipsel-*-elf*): Likewise.
3765 (mips64-*-elf*, mips64el-*-elf*): Likewise.
3766 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
3767 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
3768 (mips*-*-rtems*): Likewise.
3769 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
3770 (moxie-*-*): Split into ...
3771 (moxie-*-elf, moxie-*-uclinux*): ... this.
3772 Add to extra_parts, remove crtbegin.o, crtend.o.
3773 (moxie-*-rtems*): New case.
3774 Set tmake_file.
3775 Clear extra_parts.
3776 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
3777 Set extra_parts.
3778 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3779 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
3780 tmake_file.
3781 Set extra_parts.
3782 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
3783 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
3784 Set extra_parts.
3785 (powerpc-*-eabisim*): Likewise.
3786 (powerpc-*-elf*): Likewise.
3787 (powerpc-*-eabialtivec*): Likewise.
3788 (powerpc-xilinx-eabi*): Likewise.
3789 (powerpc-*-eabi*): Likewise.
3790 (powerpc-*-rtems*): Likewise.
3791 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
3792 tmake_file.
3793 Set extra_parts.
3794 (powerpc-*-lynxos*): Add to tmake_file.
3795 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
3796 rs6000/t-crtstuff, t-crtstuff-pic.
3797 Set extra_parts.
3798 (powerpcle-*-eabisim*): Likewise.
3799 (powerpcle-*-eabi*): Likewise.
3800 (rx-*-elf): Remove extra_parts.
3801 (s390x-ibm-tpf*): Set extra_parts.
3802 (score-*-elf): Set extra_parts.
3803 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3804 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3805 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3806 (sh64l*-*-netbsd*): Split into ...
3807 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
3808 Add t-crtstuff-pic to tmake_file.
3809 Set extra_parts.
3810 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
3811 Set extra_parts.
3812 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
3813 (sparc-*-elf*): Remove t-crtin from tmake_file.
3814 Add to extra_parts, remove crtbegin.o, crtend.o.
3815 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
3816 (sparc64-*-linux*): Likewise.
3817 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
3818 Add to extra_parts, remove crtbegin.o, crtend.o.
3819 (sparc64-*-elf*): Remove t-crtin from tmake_file.
3820 Add to extra_parts, remove crtbegin.o, crtend.o.
3821 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
3822 Add to extra_parts, remove crtbegin.o, crtend.o.
3823 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
3824 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
3825 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
3826 Set extra_parts.
3827 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
3828 Set extra_parts.
3829 (tic6x-*-*): Change to ...
3830 (tic6x-*-elf): ... this.
3831 Set extra_parts.
3832 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
3833 Set extra_parts.
3834 (am33_2.0-*-linux*): Add comment.
3835 (mep*-*-*): Add mep/t-mep to tmake_file.
3836 Set extra_parts.
3837 * config/alpha/t-vms: New file.
3838 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
3839 * config/arm/crti.S, config/arm/crtn.S: New files.
3840 * config/bfin/crti.S, config/bfin/crtn.S: New files.
3841 * config/bfin/crtlibid.S: New file.
3842 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
3843 * config/c6x/crti.S, config/c6x/crtn.S: New files.
3844 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
3845 (crti.o, crtin.o): New rules.
3846 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3847 * config/c6x/t-uclinux: New file.
3848 * config/cris/t-elfmulti: New file.
3849 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
3850 * config/fr30/crti.S, config/fr30/crtn.S: New files.
3851 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
3852 * config/frv/t-frv: New file.
3853 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
3854 * config/h8300/crti.S, config/h8300/crtn.S: New files.
3855 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
3856 New files.
3857 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
3858 refer to cygming-crtbegin.c, cygming-crtend.c.
3859 Use $<.
3860 * config/i386/t-nto: New file.
3861 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
3862 * config/ia64/crti.S, config/ia64/crtn.S: New files.
3863 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
3864 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
3865 Use .S extension.
3866 Use $<.
3867 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
3868 (crtinitS.o): New rule.
3869 * config/ia64/vms-crtinit.S: New file.
3870 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
3871 * config/m32r/initfini.c: New file.
3872 * config/m32r/t-linux, config/m32r/t-m32r: New files.
3873 * config/m68k/crti.S, config/m68k/crtn.S: New files.
3874 * config/mcore/crti.S, config/mcore/crtn.S: New files.
3875 * config/mep/t-mep: New file.
3876 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
3877 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
3878 * config/mips/crti.S, config/mips/crtn.S: New files.
3879 * config/mips/t-crtstuff: New file.
3880 * config/mmix/crti.S, config/mmix/crtn.S: New files.
3881 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
3882 (CUSTOM_CRTIN): Set.
3883 ($(T)crti.o, $(T)crtn.o): Remove $(T),
3884 dependencies.
3885 Use $(srcdir) to refer to crti.S, crtn.S.
3886 Use .S extension, $<.
3887 * config/moxie/crti.asm: Rename to ...
3888 * config/moxie/crti.S: ... this.
3889 * config/moxie/crtn.asm: Rename to ...
3890 * config/moxie/crtn.S: ... this.
3891 * config/moxie/t-moxie: Remove.
3892 * config/pa/stublib.c: New file.
3893 * config/pa/t-stublib, config/pa/t-stublib64: New files.
3894 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
3895 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
3896 * config/rs6000/t-crtstuff: New file.
3897 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
3898 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
3899 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
3900 Make output file explicit.
3901 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
3902 Make output file explicit.
3903 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
3904 Make output file explicit.
3905 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
3906 Make output file explicit.
3907 * config/score/crti.S, config/score/crtn.S: New files.
3908 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
3909 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
3910 files.
3911 * config/sh/t-sh, config/sh/t-superh: New files.
3912 * config/sparc/t-linux64: New file.
3913 * config/spu/cache.S, config/spu/cachemgr.c: New files.
3914 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
3915 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
3916 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
3917 * config/t-crtin: Remove.
3918 * config/t-crtstuff-pic: New file.
3919 * config/t-sol2 (CUSTOM_CRTIN): Set.
3920 (crti.o, crtn.o): New rules.
3921 * config/vms/t-vms: New file.
3922 * config/vms/vms-ucrt0.c: New file.
3923 * config/xtensa/t-elf: New file.
3924
b040f2be
RO
39252011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3926
3927 * Makefile.in (SHLIB_NM_FLAGS): Set.
3928 * mkmap-flat.awk, mkmap-symver.awk: New files.
3929 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
3930 exceptions.
3931 * configure: Regenerate.
3932 * config/libgcc-glibc.ver: New file.
3933 * config/libgcc-libsystem.ver: New file.
3934 * config/t-libunwind (SHLIB_LC): Set.
3935 * config/t-linux: New file.
3936 * config/t-slibgcc (INSTALL_SHLIB): New.
3937 (SHLIB_INSTALL): Use it.
3938 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
3939 to mkmap-symver.awk.
3940 (SHLIB_MAPFILES): Don't append, adapt pathname.
3941 (SHLIB_VERPFX): Set.
3942 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
3943 to mkmap-symver.awk.
3944 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
3945 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
3946 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
3947 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
3948 to mkmap-flat.awk.
3949 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
3950 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
3951 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
3952 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
3953 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
3954 * config/i386/libgcc-darwin.10.4.ver,
3955 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
3956 New files.
3957 * config/i386/t-darwin: Remove.
3958 * config/i386/t-darwin64: Likewise.
3959 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
3960 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
3961 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
3962 * config/i386/t-linux: New file.
3963 * config/i386/t-mingw32: New file.
3964 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
3965 * config/ia64/t-glibc: Rename to ...
3966 * config/ia64/t-linux: ... this.
3967 (SHLIB_MAPFILES): Set.
3968 * config/ia64/t-glibc-libunwind: Rename to ...
3969 * config/ia64/t-linux-libunwind: ... this.
3970 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
3971 * config/ia64/t-slibgcc-hpux: New file.
3972 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
3973 * config/m68k/t-slibgcc-elf-ver: New file.
3974 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
3975 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
3976 to mkmap-flat.awk.
3977 * config/pa/t-slibgcc-hpux: New file.
3978 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
3979 files.
3980 * config/rs6000/libgcc-darwin.10.4.ver,
3981 config/rs6000/libgcc-darwin.10.5.ver: New files.
3982 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
3983 config/rs6000/libgcc-glibc.ver.
3984 * config/rs6000/libgcc-ppc64.ver: Rename to
3985 config/rs6000/libgcc-ibm-ldouble.ver.
3986 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
3987 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
3988 * config/rs6000/t-ldbl128: Rename to ...
3989 * config/rs6000/t-linux: ... this.
3990 (SHLIB_MAPFILES): Adapt filename.
3991 * config/rs6000/t-slibgcc-aix: New file.
3992 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
3993 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
3994 libgcc-excl.ver, libgcc-glibc.ver.
3995 (SHLIB_LINK, SHLIB_INSTALL): Remove.
3996 * config/sparc/libgcc-glibc.ver: New file.
3997 * config/sparc/t-linux: New file.
3998 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
3999 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
4000 t-slibgcc-elf-ver to tmake_file.
4001 Add t-slibgcc-nolc-override to tmake_file for posix threads on
4002 *-*-freebsd[34].
4003 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4004 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
4005 t-slibgcc-elf-ver, t-linux to tmake_file.
4006 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
4007 tmake_file.
4008 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
4009 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
4010 (alpha*-dec-*vms*): Likewise.
4011 (arm*-*-freebsd*): Append to tmake_file.
4012 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
4013 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
4014 arm*-*-linux-*eabi.
4015 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
4016 tmake_file for arm*-*-symbianelf*.
4017 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
4018 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
4019 cris/t-linux.
4020 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
4021 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
4022 pa/t-slibgcc-dwarf-ver to tmake_file.
4023 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
4024 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
4025 (hppa*64*-*-hpux11*): Likewise.
4026 (hppa[12]*-*-hpux11*): Likewise.
4027 (x86_64-*-darwin*): Don't override tmake_file, but only keep
4028 i386/t-crtpc, i386/t-crtfm.
4029 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
4030 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4031 to tmake_file.
4032 Add i386/t-cygwin to tmake_file.
4033 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
4034 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
4035 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4036 to tmake_file.
4037 Add i386/t-mingw32 to tmake_file.
4038 (x86_64-*-mingw*): Likewise.
4039 (ia64*-*-freebsd*): Append to tmake_file.
4040 (ia64*-*-linux*): Append to tmake_file.
4041 Replace ia64/t-glibc by ia64/t-linux.
4042 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
4043 system libunwind.
4044 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
4045 t-slibgcc-hpux to tmake_file.
4046 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
4047 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
4048 (m32rle-*-linux*): Likewise.
4049 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
4050 sjlj exceptions.
4051 (microblaze*-linux*): New case.
4052 Append to tmake_file, add t-slibgcc-nolc-override.
4053 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
4054 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4055 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
4056 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4057 rs6000/t-slibgcc-aix to tmake_file.
4058 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4059 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4060 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4061 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4062 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4063 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
4064 sh*-*-linux*.
4065 (sparc-*-linux*): Append to tmake_file for *-leon*.
4066 Add sparc/t-linux to tmake_file for non-Leon targets.
4067 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
4068 (tic6x-*-uclinux): New case.
4069 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
4070 (tic6x-*-*): Add c6x/t-elf to tmake_file.
4071 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
4072 (am33_2.0-*-linux*): Append to tmake_file.
4073 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4074 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
4075 x86_64-*-kfreebsd*-gnu.
4076 Add i386/t-linux to tmake_file.
4077
18b4bd7b
ILT
40782011-10-28 Ian Lance Taylor <iant@google.com>
4079
4080 * config/i386/morestack.S: Correct CFI information to do proper
4081 returns throughout function. In 32-bit mode, save %ebx so that it
4082 is restored on unwind.
4083
5b2d9d90
BS
40842011-10-25 Bernd Schmidt <bernds@codesourcery.com>
4085
4086 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
4087 case where B3 isn't the return register.
4088
0d53e346
BS
4089 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
4090 logic for doubleword pops.
4091
cbffbd59
AT
40922011-10-25 Andreas Tobler <andreast@fgznet.ch>
4093
4094 * config/rs6000/t-freebsd: Add wildcard.
4095
56dc349e
PB
40962011-10-21 Paul Brook <paul@codesourcery.com>
4097
4098 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
4099
1e06b07d
UB
41002011-10-16 Uros Bizjak <ubizjak@gmail.com>
4101 Eric Botcazou <ebotcazou@adacore.com>
4102
4103 PR target/50737
4104 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
4105 fs->signal_frame to 1.
4106
b5204884
ILT
41072011-10-07 Ian Lance Taylor <iant@google.com>
4108
4109 * generic-morestack-thread.c: #include <errno.h>.
4110
91a639a1
ILT
41112011-10-07 Ian Lance Taylor <iant@google.com>
4112
4113 PR target/46093
4114 * generic-morestack.c (__generic_morestack): Make sure the segment
4115 is large enough for both the stack frame and the copied
4116 parameters.
4117
cc49116d
RO
41182011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4119
4120 PR bootstrap/49804
4121 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
4122 extra_parts.
4123
2996d8c3
NC
41242011-09-28 Nick Clifton <nickc@redhat.com>
4125
4126 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
4127 64-bit doubles are not enabled.
4128 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4129 and floatunsisf functions.
4130
1e874273 41312011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 4132
1e874273
PB
4133 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
4134 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4135 * unwind-arm-common.inc: New file.
4136 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4137 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4138 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4139 * config/c6x/libunwind.S: New file.
4140 * config/c6x/pr-support.c: New file.
4141 * config/c6x/unwind-c6x.c: New file.
4142 * config/c6x/unwind-c6x.h: New file.
4143 * config/c6x/t-c6x-elf: New file.
4144
f70c879a
UB
41452011-08-23 Uros Bizjak <ubizjak@gmail.com>
4146
4147 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
4148 (ASM_DIVZERO): Ditto.
4149 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
4150
c55b374b
RS
41512011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
4152
4153 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
4154
1e138510
RS
41552011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
4156
4157 PR target/50090
4158 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
4159 instead of an assembly one.
4160
1563503d
PB
41612011-08-12 Paolo Bonzini <bonzini@gnu.org>
4162
4163 PR bootstrap/50047
4164 * Makefile.in (install-unwind_h): Create
4165 $(gcc_objdir)/include/unwind.h atomically.
4166
3627ac1a
RO
41672011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4168
4169 * Makefile.in (install-unwind_h): Remove destination file first.
4170
c6412d86
RO
41712011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4172
4173 * sync.c: New file.
4174 * config/mips/t-mips16: New file.
4175 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
4176 (mips*-*-linux*): Likewise.
4177 (mips*-sde-elf*): Likewise.
4178 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
4179 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
4180 Add mips/t-mips16 to tmake_file.
4181 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
4182 (mips-*-elf*): Likewise.
4183 (mips64-*-elf*): Likewise.
4184 (mips64orion-*-elf*): Likewise.
4185 (mips*-*-rtems*): Likewise.
4186 (mipstx39-*-elf*): Likewise.
4187 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
4188 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
4189 LIBGCC_SYNC_CFLAGS.
4190 Use $(srcdir) to refer to sync.c.
4191 Use $<.
4192 ($(libgcc-sync-funcs-o)): Likewise.
4193 ($(libgcc-sync-size-funcs-s-o)): Likewise.
4194 ($(libgcc-sync-funcs-s-o)): Likewise.
4195
3cb6e5bd
AS
41962011-08-09 Andreas Schwab <schwab@linux-m68k.org>
4197
4198 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
4199 t-libunwind.
4200
cca2207a
L
42012011-08-08 H.J. Lu <hongjiu.lu@intel.com>
4202
4203 PR other/48007
4204 * config/i386/value-unwind.h: New.
4205
ed39fbad
RS
42062011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
4207
4208 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
4209 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
4210 Add to tmake_file rather than overriding it.
4211
aca0b0b3
RO
42122011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4213
4214 * config/t-softfp: Remove.
4215 * soft-fp: Moved from ../gcc/config.
4216 * soft-fp/README: Remove t-softfp reference.
4217 * soft-fp/t-softfp: Move to config/t-softfp.
4218 (softfp_machine_header): Remove.
4219 (softfp_file_list): Remove config subdir.
4220 (soft-fp-objects): New variable.
4221 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
4222 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
4223 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
4224 * config/t-softfp-excl: New file.
4225 * config/t-softfp-sfdf: New file.
4226 * config/t-softfp-tf: New file.
4227 * config/no-sfp-machine.h: New file.
4228 * config/arm/sfp-machine.h: New file.
4229 * config/arm/t-softfp: New file.
4230 * config/c6x/sfp-machine.h: New file.
4231 * config/i386/32/t-fprules-softfp: Rename to ...
4232 * config/i386/32/t-softfp: ... this.
4233 (tifunctions, LIB2ADD): Remove.
4234 (softfp_int_modes): Override.
4235 * config/i386/64/t-softfp-compat (tf-functions): Remove config
4236 subdir.
4237 * config/i386/64/eqtf2.c: Likewise.
4238 * config/i386/64/getf2.c: Likewise.
4239 * config/i386/64/letf2.c: Likewise.
4240 * config/ia64/sft-machine.h: New file.
4241 * config/ia64/t-fprules-softfp: Rename to ...
4242 * config/ia64/t-softfp: ... this.
4243 * config/lm32/sfp-machine.h: New file.
4244 * config/moxie/t-moxie-softfp: Remove.
4245 * config/rs6000/ibm-ldouble-format: New file.
4246 * config/rs6000/ibm-ldouble.c: New file.
4247 * config/rs6000/libgcc-ppc-glibc.ver: New file
4248 * config/rs6000/libgcc-ppc64.ver: New file
4249 * config/rs6000/sfp-machine.h: New file.
4250 * config/rs6000/t-freebsd: New file.
4251 * config/rs6000/t-ibm-ldouble: New file.
4252 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
4253 libgcc-ppc-glibc.ver.
4254 * config/rs6000/t-linux64: New file.
4255 * config/rs6000/t-ppccomm (LIB2ADD): Add
4256 $(srcdir)/config/rs6000/ibm-ldouble.c.
4257 * config/rs6000/t-ppccomm-ldbl: New file.
4258 * config/score/sfp-machine.h: New file.
4259 * config.host (sfp_machine_header): Explain.
4260 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
4261 t-softfp to tmake_file.
4262 (arm*-*-uclinux*): Likewise.
4263 (arm*-*-ecos-elf): Likewise.
4264 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4265 (arm*-*-rtems*): Likewise.
4266 (arm*-*-elf): Likewise.
4267 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
4268 in tmake_file.
4269 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
4270 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
4271 (lm32-*-uclinux*): Likewise.
4272 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
4273 t-softfp-excl, t-softfp.
4274 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
4275 (powerpc64-*-darwin*): Likewise.
4276 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
4277 to tmake_file.
4278 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
4279 tmake_file.
4280 (powerpc-*-eabisim*): Likewise.
4281 (powerpc-*-elf*): Likewise.
4282 (powerpc-*-eabialtivec*): Likewise.
4283 (powerpc-xilinx-eabi*): Likewise.
4284 (powerpc-*-rtems*): Likewise.
4285 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
4286 t-softfp-excl, t-softfp to tmake_file.
4287 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
4288 rs6000/t-ppccomm-ldbl to tmake_file.
4289 (powerpcle-*-elf*): Likewise.
4290 (powerpcle-*-eabisim*): Likewise.
4291 (powerpcle-*-eabi*): Likewise.
4292 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4293 rs6000/t-ibm-ldouble to tmake_file.
4294 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4295 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4296 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
4297 (tic6x-*-*): Likewise.
4298 (i[34567]86-*-darwin*, x86_64-*-darwin*,
4299 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
4300 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
4301 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
4302 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
4303 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
4304 t-softfp to tmake_file.
4305 * configure.ac (sfp_machine_header): Provide default if unset.
4306 Substitute.
4307 Link sfp-machine.h to config/$sfp_machine_header.
4308 * configure: Regenerate.
4309
569dc494
RO
43102011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4311
4312 * Makefile.in (double_type_size, long_double_type_size): Set.
4313 Remove $(fpbit-in-libgcc) support.
4314 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
4315 (fpbit-src): New variable.
4316 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
4317 Compile with -DFLOAT $(FPBIT_CFLAGS).
4318 Use $<.
4319 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
4320 Compile with $(FPBIT_CFLAGS).
4321 Use $<.
4322 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
4323 Compile with -DFLOAT $(TPBIT_CFLAGS).
4324 Use $<.
4325 * configure.ac (double_type_size, long_double_type_size):
4326 Determine and substitute.
4327 * configure: Regenerate.
4328 * fp-bit.c, fp-bit.h: New files.
4329 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
4330 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
4331 * config/mips/t-mips: New file.
4332 * config/mips/t-sdemtk: New file.
4333 * config/rs6000/ppc64-fp.c: New file.
4334 * config/rs6000/t-darwin (LIB2ADD): Add
4335 $(srcdir)/config/rs6000/ppc64-fp.c.
4336 * config/rs6000/t-ppc64-fp: New file.
4337 * config/rx/rx-lib.h: New file.
4338 * config/rx/t-rx (FPBIT): Set to true.
4339 ($(gcc_objdir)/fp-bit.c): Remove.
4340 (DPBIT): Set to true only with -m64bit-doubles.
4341 ($(gcc_objdir)/dp-bit.c): Remove.
4342 * config/sparc/t-softfp: Remove.
4343 * config/spu/t-elf: New file.
4344 * config/t-fdpbit, config/t-fpbit: New files.
4345 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
4346 (mips*-*-*): Likewise.
4347 (arm-wrs-vxworks): Likewise.
4348 (arm*-*-freebsd*): Likewise.
4349 (avr-*-rtems*): Add t-fpbit to tmake_file.
4350 (avr-*-*): Likewise.
4351 (bfin*-elf*): Add t-fdpbit to tmake_file.
4352 (bfin*-uclinux*): Likewise.
4353 (bfin*-linux-uclibc*): Likewise.
4354 (bfin*-rtems*): New case.
4355 Add t-fdpbit to tmake_file.
4356 (bfin*-*): Add t-fdpbit to tmake_file.
4357 (crisv32-*-elf): Likewise.
4358 (cris-*-linux*): Likewise.
4359 (fr30-*-elf): Likewise.
4360 (frv-*-elf, frv-*-*linux*): Likewise.
4361 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
4362 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
4363 (m32r-*-elf*): Likewise.
4364 (m32rle-*-elf*): Likewise.
4365 (m32r-*-linux*): Likewise.
4366 (m32rle-*-linux*): Likewise.
4367 (mcore-*-elf): Add t-fdpbit to tmake_file.
4368 (microblaze*-*-*): Likewise.
4369 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
4370 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
4371 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
4372 Fix typo.
4373 Add mips/t-tpbit to tmake-file.
4374 (mips*-*-linux*): Fix typo.
4375 (mips*-sde-elf*): New case
4376 Add mips/t-sdemtk unless using newlib.
4377 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
4378 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
4379 (mn10300-*-*): Likewise.
4380 (pdp11-*-*): Likewise.
4381 (picochip-*-*): Add t-fpbit to tmake_file.
4382 (powerpc-*-eabisimaltivec*): Likewise.
4383 (powerpc-*-eabisim*): Likewise.
4384 (powerpc-*-elf*): Likewise.
4385 (powerpc-*-eabialtivec*): Likewise.
4386 (powerpc-xilinx-eabi*): New case.
4387 Add t-fdpbit to tmake_file.
4388 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
4389 (powerpc-*-rtems*): Likewise.
4390 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
4391 tmake_file.
4392 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
4393 tmake_file.
4394 (powerpc-*-lynxos*): Likewise.
4395 (powerpcle-*-elf*): Likewise.
4396 (powerpcle-*-eabisim*): Likewise.
4397 (powerpcle-*-eabi*): Likewise.
4398 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4399 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
4400 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4401 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4402 (rx-*-elf): Add t-fdpbit to tmake_file.
4403 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4404 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4405 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4406 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
4407 sh*-*-netbsd*.
4408 (sh-*-rtems*): Add t-fdpbit to tmake_file.
4409 (sh-wrs-vxworks): Likewise.
4410 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
4411 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
4412 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
4413 (sparc64-*-rtems*): ... new case.
4414 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
4415 (spu-*-elf*): Likewise.
4416 Add spu/t-elf to tmake_file.
4417 (v850*-*-*): Add t-fdpbit to tmake_file.
4418 (xstormy16-*-elf): Likewise.
4419 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
4420 (mep*-*-*): Likewise.
4421
201cdb74
RO
44222011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4423
4424 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
4425 variables.
4426 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
4427 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
4428 (install-unwind_h): New target.
4429 (all): Depend on it.
4430 * config.host (unwind_header): New variable.
4431 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
4432 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4433 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
4434 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
4435 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
4436 Set unwind_header.
4437 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
4438 Set unwind_header.
4439 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
4440 arm*-*-eabi*.
4441 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
4442 Set unwind_header.
4443 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
4444 (ia64*-*-freebsd*): Likewise.
4445 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
4446 tmake_file.
4447 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
4448 $with_system_libunwind.
4449 (ia64*-*-hpux*): Set tmake_file.
4450 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
4451 (picochip-*-*): Set tmake_file.
4452 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
4453 md_unwind_header.
4454 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4455 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4456 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
4457 (xtensa*-*-elf*): Set tmake_file.
4458 (xtensa*-*-linux*): Likewise.
4459 * configure.ac: Include ../config/unwind_ipinfo.m4.
4460 Call GCC_CHECK_UNWIND_GETIPINFO.
4461 Link unwind.h to $unwind_header.
4462 * configure: Regenerate.
4463 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
4464 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
4465 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
4466 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
4467 * config/unwind-dw2-fde-darwin.c: New file.
4468 * config/arm/libunwind.S, config/arm/pr-support.c,
4469 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
4470 config/arm/unwind-arm.h,: New files.
4471 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
4472 config/ia64/t-eh-ia64, config/ia64/t-glibc,
4473 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
4474 config/ia64/t-vms, config/ia64/unwind-ia64.c,
4475 config/ia64/unwind-ia64.h: New files.
4476 * config/picochip/t-picochip: New file.
4477 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
4478 files.
4479 * config/rs6000/t-darwin (LIB2ADDEH): Set.
4480 * config/s390/t-tpf (LIB2ADDEH): Remove.
4481 * config/t-darwin (LIB2ADDEH): Set.
4482 * config/t-eh-dw2-dip: New file.
4483 * config/t-libunwind, config/t-libunwind-elf: New files.
4484 * config/t-sol2 (LIB2ADDEH): Remove.
4485 * config/xtensa/t-xtensa: New file.
4486
40f2f11f
L
44872011-08-02 H.J. Lu <hongjiu.lu@intel.com>
4488
4489 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
4490 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
4491 long long to check rt_sigreturn syscall.
4492
bd15e32c
AM
44932011-08-02 Alan Modra <amodra@gmail.com>
4494
4495 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4496 Restore for indirect call bcrtl from correct stack slot, and only
4497 if cfa+40 isn't valid.
4498
655b30bf
JB
44992011-08-01 Julian Brown <julian@codesourcery.com>
4500
4501 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
4502 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
4503 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
4504
247eb06f
JB
45052011-08-01 Julian Brown <julian@codesourcery.com>
4506
4507 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
4508 (libgcc-std.ver.in): Use above.
4509 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
4510 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
4511 throughout file.
4512 * config/t-fixedpoint-gnu-prefix: New file.
4513 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
4514 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
4515 instead of __PFX__.
4516
02a8fe00
L
45172011-07-28 H.J. Lu <hongjiu.lu@intel.com>
4518
4519 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
4520 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
4521 for x86-64. Properly check __x86_64__ and __LP64__.
4522
5fce9126
L
45232010-07-28 H.J. Lu <hongjiu.lu@intel.com>
4524
4525 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
4526 version.
4527 (_FP_WS_TYPE): Likewise.
4528 (_FP_I_TYPE): Likewise.
4529
2374a88a
AM
45302011-07-28 Alan Modra <amodra@gmail.com>
4531
4532 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
4533 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
4534 in a plt call stub. Do restore r2 if stopped on bctrl.
4535
e44dbbe1
RO
45362011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4537
4538 * config.host (i[3456x]86-*-netware*): Remove.
4539 * config/i386/netware-crt0.c, config/i386/t-nwld,
4540 config/i386/t-slibgcc-nwld: Remove.
4541
bcead286
BS
45422011-07-15 Bernd Schmidt <bernds@codesourcery.com>
4543
4544 * config.host: Handle tic6x-*-*.
4545 * config/c6x/c6x-abi.h: New file.
4546
b3fe1584
RO
45472011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4548
4549 * config/i386/crtprec.c: New file.
4550 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
4551 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
4552 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
4553 (x86_64-*-darwin*): Likewise.
4554 (i[34567]86-*-solaris2*: Likewise.
4555
35d8090d
RO
45562011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4557
4558 * config/alpha/crtfastmath.c: New file.
4559 * config/i386/crtfastmath.c: New file.
4560 * config/ia64/crtfastmath.c: New file.
4561 * config/mips/crtfastmath.c: New file.
4562 * config/sparc/crtfastmath.c: New file.
4563
4564 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
4565 crtfastmath.c.
4566 Add -frandom-seed=gcc-crtfastmath.
4567 * config/alpha/t-crtfm: Remove.
4568 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
4569 * config/ia64/t-ia64 (crtfastmath.o): Remove.
4570
4571 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
4572 (alpha*-dec-osf5.1*): Likewise.
4573 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
4574 Add crtfastmath.o to extra_parts.
4575 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
4576 Add crtfastmath.o to extra_parts.
4577 (x86_64-*-darwin*): Likewise.
4578 (x86_64-*-mingw*): Likewise.
4579 (ia64*-*-elf*): Add t-crtfm to tmake_file.
4580 (ia64*-*-freebsd*): Likewise.
4581 (ia64*-*-linux*): Likewise.
4582 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
4583 Add crtfastmath.o to extra_parts.
4584
e141542e
RO
45852011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4586
4587 * config/darwin-crt3.o: New file.
4588 * config/rs6000/darwin-crt2.c: New file.
4589 * config/t-darwin: New file.
4590 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
4591 (crt2.o): New rule.
4592 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
4593 (powerpc-*-darwin*): Add crt2.o to extra_parts.
4594 (powerpc64-*-darwin*): Likewise.
4595
2d1efe2d
RO
45962011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4597
4598 * config/i386/netware-crt0.c: New file.
4599 * config/i386/t-nwld: Rename to ...
4600 * config/i386/t-slibgcc-nwld: ... this.
4601 * config/i386/t-nwld: New file.
4602 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
4603 tmake_file.
4604 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
4605 extra_parts.
4606
4a8bb046
RO
46072011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4608
4609 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
4610 i386/t-crtstuff.
4611 * configure: Regenerate.
4612
2d8d5935
RO
46132011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4614
4615 * dfp-bit.c, dfp-bit.h: New files.
4616 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
4617 variables.
4618 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
4619 ($(d64pbit-o)): Likewise.
4620 ($(d128pbit-o)): Likewise.
4621 * config/t-dfprules: New file.
4622 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
4623 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
4624 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4625 (x86_64-*-linux*): Likewise.
4626 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4627 (i[34567]86-*-cygwin*): Likewise.
4628 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
4629 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4630
2c50b2c3
RO
46312011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4632
4633 * Makfile.in (LIBGCOV): New variable.
4634 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
4635 * libgcov.c: New file.
4636
a039d7c2
RO
46372011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4638
4639 * fixed-bit.c, fixed-bit.h: New files.
4640 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
4641 refer to fixed-bit.c.
4642
1e4b2746
JM
46432011-07-07 Joseph Myers <joseph@codesourcery.com>
4644
4645 * config.host (*local*): Remove.
4646
fbdd5d87
RO
46472011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4648
4649 PR target/39150
4650 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
4651 like i?86-*-solaris2.1[0-9]*.
4652 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
4653 * configure.ac (i?86-*-solaris2*): Likewise.
4654 * configure: Regenerate.
4655
9e7714f4
TS
46562011-07-06 Thomas Schwinge <thomas@schwinge.name>
4657
4658 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4659 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
4660 md_unwind_header by splitting out of...
4661 (i[34567]86-*-linux*): ... this.
4662 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
4663 Remove md_unwind_header by splitting out of...
4664 (x86_64-*-linux*): ... this.
4665
6dab9931
GJL
46662011-07-04 Georg-Johann Lay <avr@gjlay.de>
4667
4668 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
4669
4be46d19
NC
46702011-06-28 Nick Clifton <nickc@redhat.com>
4671
4672 * config.host: Recognize all V850 variants.
4673
1da9434b
UB
46742011-06-22 Uros Bizjak <ubizjak@gmail.com>
4675
4676 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
4677
e4d48a4d
RO
46782011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4679
4680 * shared-object.mk (c_flags-$o): Save c_flags.
4681 ($(base)$(objext)): Use it.
4682 ($(base)_s$(objext)): Likewise.
4683
3801c801
BS
46842011-06-21 Bernd Schmidt <bernds@codesourcery.com>
4685
4686 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
4687 * libgcc-std.ver.in (GCC_4.7.0): New section.
4688
0ad8bb3b 46892011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 4690
0ad8bb3b
GJL
4691 PR target/49313
4692 PR target/29524
4693 * config/avr/t-avr: Fix line endings.
4694 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
4695 _parityXX2.
4696
ea963999
OH
46972011-06-14 Olivier Hainque <hainque@adacore.com>
4698 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4699
4700 * config/mips/irix6-unwind.h: New file.
4701 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
4702
b11b0904
EB
47032011-06-10 Eric Botcazou <ebotcazou@adacore.com>
4704
4705 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
4706 (sparc64_fallback_frame_state): Use it.
4707 (sparc64_frob_update_context): Further adjust context.
4708 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
4709 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
4710 * config/sparc/sol2-cn.S: Likewise.
4711
10e48e39
RO
47122011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4713
4714 * enable-execute-stack-empty.c: New file.
4715 * enable-execute-stack-mprotect.c: New file.
4716 * config/i386/enable-execute-stack-mingw32.c: New file.
4717 * config.host (enable_execute_stack): New variable.
4718 Select appropriate variants.
4719 * configure.ac: Link enable-execute-stack.c to
4720 $enable_execute_stack.
4721 * configure: Regenerate.
4722 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
4723 (lib2funcs): Remove _enable_execute_stack.
4724
10c4cabc
DM
47252011-06-09 David S. Miller <davem@davemloft.net>
4726 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4727
4728 * config.host (sparc-*-linux*): Correct md_unwind_header
4729 filename.
4730 (s390x-ibm-tpf*): Fix typo.
4731
aa4203e7
RO
47322011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4733
4734 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
4735 Add crtfastmath.o to extra_parts.
4736 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
4737 mips/t-crtfm.
4738 * config/mips/t-crtfm: Remove.
4739
0defd786
JDA
47402011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4741
4742 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
4743
82f247af
KK
47442011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
4745
4746 * config.host (sh*-*-linux*): Fix typo.
4747
58cd1d70
RO
47482011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4749
4750 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
4751 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
4752 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
4753 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
4754 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
4755 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
4756 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
4757 Wrap in !__MINGW64__.
4758 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
4759 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
4760 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
4761 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
4762 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
4763 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
4764 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
4765 Wrap in !__LP64__.
4766 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
4767 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
4768 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
4769 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
4770 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
4771 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
4772 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
4773 * config/no-unwind.h: New file.
4774 * config.host (md_unwind_header): Document.
4775 Define.
4776 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
4777 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
4778 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
4779 hppa[12]*-*-hpux11*): Set md_unwind_header.
4780 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
4781 Set md_unwind_header.
4782 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
4783 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
4784 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
4785 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
4786 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
4787 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
4788 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
4789 md_unwind_header.
4790 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
4791 * configure: Regenerate.
4792
737346fa
RO
47932011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4794
4795 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
4796 Set tmake_file, extra_parts.
4797 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
4798 Remove O32 support.
4799 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
4800 Remove O32 support.
4801 * config/mips/t-irix6: New file.
4802 * config/mips/t-slibgcc-irix: New file.
4803
c192cee6
RO
48042011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4805
4806 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
4807 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
4808
ee33b5f0
RO
48092011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4810
4811 * configure.ac (target_thread_file): Determine thread model.
4812 * configure: Regenerate.
4813 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
4814 * config/alpha/t-alpha: New file.
4815 * config/alpha/t-crtfm: Use $<.
4816 * config/alpha/t-ieee: New file.
4817 * config/alpha/t-osf-pthread: New file.
4818 * config/alpha/t-slibgcc-osf: New file.
4819 * config/alpha/libgcc-osf5.ver: New file.
4820
0699e415
RO
48212011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4822
4823 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
4824 tmake_file.
4825 Add crtfastmath.o to extra_parts.
4826
a3fab9c2
RO
48272011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4828
4829 * config/gmon-sol2.c: Reindent.
4830 Cleanup comments.
4831 Remove, correct casts.
4832 Use STDERR_FILENO, NULL.
4833 (BASEADDRESS): Remove.
4834 (minbrk): Remove.
4835 (errno, sbrk): Remove declarations.
4836 (monstartup) [hp300]: Remove.
4837 (mcount): Remove.
4838
ca24c5ad
RO
48392011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4840
4841 * Makefile.in (cpu_type): Define.
4842 * config.host (i[34567]86-*-rtems*): Handle it.
4843 (i[34567]86-*-solaris2*): Move body ...
4844 (*-*-solaris2*): ... here.
4845 New case, generalize.
4846 (sparc-*-elf*): Handle it.
4847 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
4848 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
4849 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
4850 Fold into ...
4851 (sparc*-*-solaris2*): ... this.
4852 New case.
4853 (sparc64-*-elf*): Handle it.
4854 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
4855 Merge ../gcc/config/i386/gmon-sol2.c.
4856 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
4857 Use C comments.
4858 Merge ../gcc/config/i386/sol2-gc1.asm.
4859 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
4860 Use C comments.
4861 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
4862 Use C comments.
4863 * config/i386/t-crtfm (crtfastmath.o): Use $<.
4864 * config/i386/t-crtstuff: New file.
4865 * config/i386/t-softfp: New file.
4866 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
4867 $(T)crti.o, $(T)crtn.o): Remove.
4868 (gcrt1.o): New rule.
4869 (TARGET_LIBGCC2_CFLAGS): Remove.
4870 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
4871 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
4872 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
4873 * config/sparc/t-sol2: New file.
4874 * config/sparc/t-crtfm: Move to ...
4875 * config/t-crtfm: ... this.
4876 Use $(cpu_type), $<.
4877 * config/t-crtin: New file.
4878 * config/sparc/t-softfp: New file.
4879 * config/sparc/t-softmul: New file.
4880 * config/t-rtems: New file.
4881 * config/t-slibgcc: New file.
4882 * config/t-slibgcc-elf-ver: New file.
4883 * config/t-slibgcc-gld: New file.
4884 * config/t-slibgcc-sld: New file.
4885 * config/t-sol2: New file.
4886 * configure.ac: Include ../config/lib-ld.m4.
4887 Call AC_LIB_PROG_LD_GNU.
4888 Substitute cpu_type.
4889 * configure: Regenerate.
4890
ad5f3d7b
BS
48912011-05-27 Bernd Schmidt <bernds@codesourcery.com>
4892
4893 PR bootstrap/49173
4894 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
4895 libgcc-std.ver in the build directory.
4896 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
4897 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
4898
cdbf4541
BS
48992011-05-25 Bernd Schmidt <bernds@codesourcery.com>
4900
4901 * libgcc-std.ver.in: New file.
4902 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
4903 variables.
4904 (libgcc-std.ver): New rule.
4905 * config/t-gnu-prefix: New file.
4906
c8028650
RO
49072011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4908
4909 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
4910
4a68b4ca
JM
49112011-05-10 Joseph Myers <joseph@codesourcery.com>
4912
4913 * config/i386/darwin-lib.h: New file.
4914
80cf2e08
JM
49152011-05-10 Joseph Myers <joseph@codesourcery.com>
4916
4917 * config/arm/symbian-lib.h: New.
4918
a3330c9d
CD
49192011-05-04 Chris Demetriou <cgd@google.com>
4920
4921 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
4922 (__x86.get_pc_thunk.bx): ...this.
4923 (__morestack): Adjust for rename, remove undef of __i686.
4924
6ace0756
CD
49252011-05-03 Chris Demetriou <cgd@google.com>
4926
4927 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
4928
ebb9f8b0
JM
49292011-03-22 Joseph Myers <joseph@codesourcery.com>
4930
4931 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
4932 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
4933 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
4934 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
4935 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
4936 Remove cases.
4937
9cfa1499
AT
49382011-03-14 Andreas Tobler <andreast@fgznet.ch>
4939
4940 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
4941 Adjust copyright year.
4942
457186f6
ILT
49432011-03-07 Ian Lance Taylor <iant@google.com>
4944
4945 * generic-morestack.c (__splitstack_find): Adjust returned stack
4946 pointer to include all registers pushed by __morestack.
4947
58c741a6
DK
49482011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
4949
4950 PR target/40125
4951 * configure.ac: Call ACX_NONCANONICAL_TARGET.
4952 (toolexecdir): Calculate and AC_SUBST.
4953 (toolexeclibdir): Likewise.
4954 * Makefile.in (target_noncanonical): Import.
4955 (toolexecdir): Likewise.
4956 (toolexeclibdir): Likewise.
4957 * configure: Regenerate.
4958
26716c44
NF
49592010-12-13 Nathan Froyd <froydnj@codesourcery.com>
4960
4961 PR target/46040
4962 * config/arm/bpabi.h: Rename to...
4963 * config/arm/bpabi-lib.h: ...this.
4964
b595b1a1
RO
49652010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4966
4967 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
4968 appropriate.
4969 * configure: Regenerate.
4970
a3abe41c
NF
49712010-11-24 Nathan Froyd <froydnj@codesourcery.com>
4972
4973 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
4974 __FLOAT_WORD_ORDER__.
4975 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
4976 Delete.
4977
455c8f48
RW
49782010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4979
4980 PR other/46202
4981 * Makefile.in (install-strip): New phony target.
4982
f3824a8b
ILT
49832010-11-07 Ian Lance Taylor <iant@google.com>
4984
4985 PR target/46089
4986 * config/i386/morestack.S (__morestack_large_model): New
4987 function.
4988
18ed6ee4
NF
49892010-10-23 Nathan Froyd <froydnj@codesourcery.com>
4990
4991 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
4992 Delete.
4993 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
4994
8ac7fdcb
NF
49952010-10-14 Nathan Froyd <froydnj@codesourcery.com>
4996
4997 * config/arm/bpabi.h: New file.
4998 * config/frv/frv-abi.h: New file.
4999
cdb388c2
ILT
50002010-10-01 Ian Lance Taylor <iant@google.com>
5001
5002 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
5003 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
5004
ef7c141c
L
50052010-10-01 H.J. Lu <hongjiu.lu@intel.com>
5006
5007 PR target/45858
5008 * config.host: Add the missing `$'.
5009
80920132
ME
50102010-09-30 Michael Eager <eager@eagercon.com>
5011
5012 * config.host: Add microblaze*-*-*.
5013 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
5014 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
5015 udivsi3.asm,umodsi3.asm}: New.
5016
6dace308
ILT
50172010-09-28 Ian Lance Taylor <iant@google.com>
5018
5019 * configure.ac: Adjust CFI test to test assembler directly rather
5020 than checking gcc preprocessor macro.
5021 * configure: Rebuild.
5022
b6110d6d
ILT
50232010-09-27 Ian Lance Taylor <iant@google.com>
5024
5025 * configure.ac: Test whether assembler supports CFI directives.
5026 * config.host: Only add t-stack and i386/t-stack-i386 to
5027 tmake_file if libgcc_cv_cfi is "yes".
5028 * configure: Rebuild.
5029
7458026b
ILT
50302010-09-27 Ian Lance Taylor <iant@google.com>
5031
5032 * generic-morestack.h: New file.
5033 * generic-morestack.c: New file.
5034 * generic-morestack-thread.c: New file.
5035 * config/i386/morestack.S: New file.
5036 * config/t-stack: New file.
5037 * config/i386/t-stack-i386: New file.
5038 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
5039 i386/t-stack-i386 to tmake_file.
5040
5b50fc0c
IS
50412010-09-21 Iain Sandoe <iains@gcc.gnu.org>
5042
5043 * Makefile.in (libgcc-extra-parts): Check for static archives and
5044 invoke ranlib after installing them.
5045 (gcc-extra-parts): Likewise.
5046 (install-leaf): Likewise.
5047
b93cf342
L
50482010-09-14 H.J. Lu <hongjiu.lu@intel.com>
5049
5050 * configure: Regenerated.
5051
996b42ef
KT
50522010-09-10 Kai Tietz <kai.tietz@onevision.com>
5053
b93cf342 5054 * configure: Regenerated.
996b42ef 5055
be1c764e
GP
50562010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
5057 Andrew Pinski <pinskia@gmail.com>
5058
1da9434b 5059 PR target/40959
be1c764e
GP
5060 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
5061
cc0ae0ca
L
50622010-09-06 H.J. Lu <hongjiu.lu@intel.com>
5063
5064 PR target/45524
5065 * configure: Regenerated.
5066
84f47d20
AS
50672010-09-06 Andreas Schwab <schwab@redhat.com>
5068
5069 * configure: Regenerate.
5070
4159fb8d
UB
50712010-09-03 Uros Bizjak <ubizjak@gmail.com>
5072
5073 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
5074 64bit targets.
5075 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
5076 for 64bit targets.
5077
0df8fcc8
UB
50782010-09-03 Uros Bizjak <ubizjak@gmail.com>
5079 Iain Sandoe <iains@gcc.gnu.org>
5080
5081 PR target/45476
5082 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
5083 LIB2FUNCS_EXCLUDE functions.
5084
3c39bca6
AK
50852010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5086
5087 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
5088 Include dfp.m4.
5089 * configure: Regenerate.
5090
d78552bd
UB
50912010-09-01 Uros Bizjak <ubizjak@gmail.com>
5092
5093 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
5094 i386/t-freebsd to tmake_file.
5095 * config/i386/t-freebsd: New file.
5096 * config/i386/libgcc-bsd.ver: New file.
5097
c5b79d4e
NF
50982010-07-23 Nathan Froyd <froydnj@codesourcery.com>
5099
5100 * config.host (powerpc*-eabispe*): Set tmake_file.
5101 (powerpc*-eabi*): Likewise.
5102 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
5103 crtbeginS, crtendS, crtbeginT.
5104
48b09a92
KH
51052010-06-12 Kazu Hirata <kazu@codesourcery.com>
5106
5107 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
5108 to tmake_file. Add crtfastmath.o to extra_parts.
5109 * config/mips/t-crtfm: New.
5110
a4389204
JS
51112010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
5112
5113 * config.host (sparc64-*-rtems*): New target.
5114
ed104137
RO
51152010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5116
5117 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5118 assembler syntax.
5119
3f56ef8b
TS
51202010-04-15 Thomas Schwinge <tschwinge@gnu.org>
5121
5122 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
5123
8c200350
RO
51242010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5125
5126 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
5127 alpha-dec-osf5.0* support.
5128
80a61cb4 51292010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
5130
5131 * config.host: Add lm32-*-rtems*.
5132
f128db92
RO
51332010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5134 Uros Bizjak <ubizjak@gmail.com>
5135
5136 PR target/39048
5137 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5138 like other remaining 32-bit x86 OSes.
5139 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5140 assembler syntax.
5141 * config/i386/libgcc-sol2.ver: New file.
5142 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5143
368fabd5
JH
51442010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
5145
5146 PR c/43553
5147 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
5148 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
5149 is used and substitute set_use_emutls.
5150 * configure: Regenerated.
5151
15baf7f8
TG
51522010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
5153
5154 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
5155
7f5441df
RO
51562010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5157
5158 PR target/38085
5159 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
5160 MULTILIB_CFLAGS.
5161 ($(T)gcrt1.o): Likewise.
5162 ($(T)crt1.o): Likewise.
5163 ($(T)crti.o): Likewise.
5164 ($(T)crtn.o): Likewise.
5165
ef74edbd
RW
51662010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5167
5168 PR other/42980
5169 * Makefile.in (install): Use $(MAKE) string in rule, for
5170 parallel make.
5171
e7c914db
HPN
51722010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
5173
5174 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
5175 * config/mmix/t-mmix: New file.
5176 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
5177
1bcb71c4
JH
51782010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
5179
5180 PR java/41991
5181 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
5182 SHLIB_MAPFILES.
5183
e6e50811
AG
51842010-01-04 Anthony Green <green@moxielogic.com>
5185
5186 * config/moxie/crti.asm, config/moxie/crtn.asm,
5187 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
5188 config/moxie/t-moxie: New files.
5189 * config.host: Add t-moxie-softfp reference.
5190
ca8520ad
IS
51912009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
5192
5193 PR other/39888
5194 * config/t-slibgcc-darwin: Fix embedded rpaths for
5195 --enable-version-specific-runtime-libs, build extension stub
5196 libs exposing features available from current libgcc_s.
5197
aa4945c1
JB
51982009-11-11 Jon Beniston <jon@beniston.com>
5199
d78552bd
UB
5200 * config.host: Add lm32 targets.
5201 * config/lm32: New directory.
5202 * config/lm32/libgcc_lm32.h: New file.
5203 * config/lm32/_mulsi3.c: New file.
5204 * config/lm32/_udivmodsi4.c: New file.
5205 * config/lm32/_divsi3.c: New file.
5206 * config/lm32/_modsi3.c: New file.
5207 * config/lm32/_udivsi3.c: New file.
5208 * config/lm32/_umodsi3.c: New file.
5209 * config/lm32/_lshrsi3.S: New file.
5210 * config/lm32/_ashrsi3.S: New file.
5211 * config/lm32/_ashlsi3.S: New file.
5212 * config/lm32/crti.S: New file.
5213 * config/lm32/crtn.S: New file.
5214 * config/lm32/t-lm32: New file.
5215 * config/lm32/t-elf: New file.
5216 * config/lm32/t-uclinux: New file.
aa4945c1 5217
65a324b4
NC
52182009-10-26 Nick Clifton <nickc@redhat.com>
5219
5220 * config.host: Add support for RX target.
5221 * config/rx: New directory.
5222 * config/rx/rx-abi-functions.c: New file. Supplementary
5223 functions for libgcc to support the RX ABI.
5224 * config/rx/rx-abi.h: New file. Supplementary header file for
5225 libgcc RX ABI functions.
5226 * config/rx/t-rx: New file: Makefile fragment for building
5227 libgcc for the RX.
5228
dfb3b0e3
UB
52292009-10-09 Uros Bizjak <ubizjak@gmail.com>
5230
5231 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
5232 constraint of y0 to "g".
5233
81dd9fd7
AK
52342009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5235
5236 * config.host: Include the s390 makefile fragments.
5237 * config/s390/32/_fixdfdi.c: New file.
5238 * config/s390/32/_fixsfdi.c: New file.
5239 * config/s390/32/_fixtfdi.c: New file.
5240 * config/s390/32/_fixunsdfdi.c: New file.
5241 * config/s390/32/_fixunssfdi.c: New file.
5242 * config/s390/32/_fixunstfdi.c: New file.
5243 * config/s390/32/t-floattodi: New file.
5244 * config/s390/libgcc-glibc.ver: New file.
5245 * config/s390/t-crtstuff: New file.
5246 * config/s390/t-linux: New file.
5247 * config/s390/t-tpf: New file.
5248
df58e648
RW
52492009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5250
5251 * configure.ac (AC_PREREQ): Bump to 2.64.
5252
79052be3
KK
52532009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
5254
5255 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
5256
5213506e
RW
52572009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5258
5259 * configure: Regenerate.
5260
a9a25daa
DR
52612009-08-09 Douglas B Rupp <rupp@gnat.com>
5262
5263 * config.host (ia64-hp-*vms*): New target.
5264 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
5265 with ia64-hp-*vms*.
5266
6efbd53f
RW
52672009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5268
5269 * configure.ac: Add snippet for maintainer-mode.
5270 * configure: Regenerate.
5271 * Makefile.in (AUTOCONF, configure_deps): New variables.
5272 ($(srcdir)/configure)): New rule, active only with maintainer
5273 mode turned on.
5274
7acf4da6
DD
52752009-06-23 DJ Delorie <dj@redhat.com>
5276
5277 Add MeP port.
5278 * config.host: Add mep support.
5279
54f549af
KT
52802009-06-22 Kai Tietz <kai.tietz@onevision.com>
5281
34481f28 5282 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 5283 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
5284
5285 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
5286 for mingw targets.
54f549af
KT
5287 * config/i386/64/_multc3.c: Likewise.
5288 * config/i386/64/_powitf2.c: Likewise.
5289 * config/i386/64/eqtf2.c: Likewise.
5290 * config/i386/64/getf2.c: Likewise.
5291 * config/i386/64/letf2.c: Likewise.
5292 * config/i386/64/letf2.c: Likewise.
34481f28
UB
5293 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
5294 unsigned long long for x64 mingw targets.
5295 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
5296 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 5297
fea96e25
MR
52982009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
5299
5300 * config.host (vax-*-linux*): New.
5301
cceb575c
AG
53022009-05-31 Anthony Green <green@moxielogic.com>
5303
5304 * config.host: Add moxie support.
5305 * config/moxie/t-moxie: New file.
5306
e997fb9c
DB
53072009-05-29 David Billinghurst <billingd@gcc.gnu.org>
5308
5309 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 5310 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 5311
532bfb0a
AJ
53122009-04-17 Aurelien Jarno <aurelien@aurel32.net>
5313
5314 * config.host: Add i386/${host_address}/t-fprules-softfp to
5315 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
5316
748086b7
JJ
53172009-04-09 Nick Clifton <nickc@redhat.com>
5318
5319 * config/ia64/tf-signs.c: Change copyright header to refer to
5320 version 3 of the GNU General Public License with version 3.1
5321 of the GCC Runtime Library Exception and to point readers at
5322 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
5323 web page.
5324 * config/i386/32/tf-signs.c: Likewise.
5325 * config/libbid/_addsub_dd.c: Likewise.
5326 * config/libbid/_addsub_sd.c: Likewise.
5327 * config/libbid/_addsub_td.c: Likewise.
5328 * config/libbid/_dd_to_df.c: Likewise.
5329 * config/libbid/_dd_to_di.c: Likewise.
5330 * config/libbid/_dd_to_sd.c: Likewise.
5331 * config/libbid/_dd_to_sf.c: Likewise.
5332 * config/libbid/_dd_to_si.c: Likewise.
5333 * config/libbid/_dd_to_td.c: Likewise.
5334 * config/libbid/_dd_to_tf.c: Likewise.
5335 * config/libbid/_dd_to_udi.c: Likewise.
5336 * config/libbid/_dd_to_usi.c: Likewise.
5337 * config/libbid/_dd_to_xf.c: Likewise.
5338 * config/libbid/_df_to_dd.c: Likewise.
5339 * config/libbid/_df_to_sd.c: Likewise.
5340 * config/libbid/_df_to_td.c: Likewise.
5341 * config/libbid/_di_to_dd.c: Likewise.
5342 * config/libbid/_di_to_sd.c: Likewise.
5343 * config/libbid/_di_to_td.c: Likewise.
5344 * config/libbid/_div_dd.c: Likewise.
5345 * config/libbid/_div_sd.c: Likewise.
5346 * config/libbid/_div_td.c: Likewise.
5347 * config/libbid/_eq_dd.c: Likewise.
5348 * config/libbid/_eq_sd.c: Likewise.
5349 * config/libbid/_eq_td.c: Likewise.
5350 * config/libbid/_ge_dd.c: Likewise.
5351 * config/libbid/_ge_sd.c: Likewise.
5352 * config/libbid/_ge_td.c: Likewise.
5353 * config/libbid/_gt_dd.c: Likewise.
5354 * config/libbid/_gt_sd.c: Likewise.
5355 * config/libbid/_gt_td.c: Likewise.
5356 * config/libbid/_isinfd128.c: Likewise.
5357 * config/libbid/_isinfd32.c: Likewise.
5358 * config/libbid/_isinfd64.c: Likewise.
5359 * config/libbid/_le_dd.c: Likewise.
5360 * config/libbid/_le_sd.c: Likewise.
5361 * config/libbid/_le_td.c: Likewise.
5362 * config/libbid/_lt_dd.c: Likewise.
5363 * config/libbid/_lt_sd.c: Likewise.
5364 * config/libbid/_lt_td.c: Likewise.
5365 * config/libbid/_mul_dd.c: Likewise.
5366 * config/libbid/_mul_sd.c: Likewise.
5367 * config/libbid/_mul_td.c: Likewise.
5368 * config/libbid/_ne_dd.c: Likewise.
5369 * config/libbid/_ne_sd.c: Likewise.
5370 * config/libbid/_ne_td.c: Likewise.
5371 * config/libbid/_sd_to_dd.c: Likewise.
5372 * config/libbid/_sd_to_df.c: Likewise.
5373 * config/libbid/_sd_to_di.c: Likewise.
5374 * config/libbid/_sd_to_sf.c: Likewise.
5375 * config/libbid/_sd_to_si.c: Likewise.
5376 * config/libbid/_sd_to_td.c: Likewise.
5377 * config/libbid/_sd_to_tf.c: Likewise.
5378 * config/libbid/_sd_to_udi.c: Likewise.
5379 * config/libbid/_sd_to_usi.c: Likewise.
5380 * config/libbid/_sd_to_xf.c: Likewise.
5381 * config/libbid/_sf_to_dd.c: Likewise.
5382 * config/libbid/_sf_to_sd.c: Likewise.
5383 * config/libbid/_sf_to_td.c: Likewise.
5384 * config/libbid/_si_to_dd.c: Likewise.
5385 * config/libbid/_si_to_sd.c: Likewise.
5386 * config/libbid/_si_to_td.c: Likewise.
5387 * config/libbid/_td_to_dd.c: Likewise.
5388 * config/libbid/_td_to_df.c: Likewise.
5389 * config/libbid/_td_to_di.c: Likewise.
5390 * config/libbid/_td_to_sd.c: Likewise.
5391 * config/libbid/_td_to_sf.c: Likewise.
5392 * config/libbid/_td_to_si.c: Likewise.
5393 * config/libbid/_td_to_tf.c: Likewise.
5394 * config/libbid/_td_to_udi.c: Likewise.
5395 * config/libbid/_td_to_usi.c: Likewise.
5396 * config/libbid/_td_to_xf.c: Likewise.
5397 * config/libbid/_tf_to_dd.c: Likewise.
5398 * config/libbid/_tf_to_sd.c: Likewise.
5399 * config/libbid/_tf_to_td.c: Likewise.
5400 * config/libbid/_udi_to_dd.c: Likewise.
5401 * config/libbid/_udi_to_sd.c: Likewise.
5402 * config/libbid/_udi_to_td.c: Likewise.
5403 * config/libbid/_unord_dd.c: Likewise.
5404 * config/libbid/_unord_sd.c: Likewise.
5405 * config/libbid/_unord_td.c: Likewise.
5406 * config/libbid/_usi_to_dd.c: Likewise.
5407 * config/libbid/_usi_to_sd.c: Likewise.
5408 * config/libbid/_usi_to_td.c: Likewise.
5409 * config/libbid/_xf_to_dd.c: Likewise.
5410 * config/libbid/_xf_to_sd.c: Likewise.
5411 * config/libbid/_xf_to_td.c: Likewise.
5412 * config/libbid/bid128.c: Likewise.
5413 * config/libbid/bid128_2_str.h: Likewise.
5414 * config/libbid/bid128_2_str_macros.h: Likewise.
5415 * config/libbid/bid128_2_str_tables.c: Likewise.
5416 * config/libbid/bid128_add.c: Likewise.
5417 * config/libbid/bid128_compare.c: Likewise.
5418 * config/libbid/bid128_div.c: Likewise.
5419 * config/libbid/bid128_fma.c: Likewise.
5420 * config/libbid/bid128_logb.c: Likewise.
5421 * config/libbid/bid128_minmax.c: Likewise.
5422 * config/libbid/bid128_mul.c: Likewise.
5423 * config/libbid/bid128_next.c: Likewise.
5424 * config/libbid/bid128_noncomp.c: Likewise.
5425 * config/libbid/bid128_quantize.c: Likewise.
5426 * config/libbid/bid128_rem.c: Likewise.
5427 * config/libbid/bid128_round_integral.c: Likewise.
5428 * config/libbid/bid128_scalb.c: Likewise.
5429 * config/libbid/bid128_sqrt.c: Likewise.
5430 * config/libbid/bid128_string.c: Likewise.
5431 * config/libbid/bid128_to_int16.c: Likewise.
5432 * config/libbid/bid128_to_int32.c: Likewise.
5433 * config/libbid/bid128_to_int64.c: Likewise.
5434 * config/libbid/bid128_to_int8.c: Likewise.
5435 * config/libbid/bid128_to_uint16.c: Likewise.
5436 * config/libbid/bid128_to_uint32.c: Likewise.
5437 * config/libbid/bid128_to_uint64.c: Likewise.
5438 * config/libbid/bid128_to_uint8.c: Likewise.
5439 * config/libbid/bid32_to_bid128.c: Likewise.
5440 * config/libbid/bid32_to_bid64.c: Likewise.
5441 * config/libbid/bid64_add.c: Likewise.
5442 * config/libbid/bid64_compare.c: Likewise.
5443 * config/libbid/bid64_div.c: Likewise.
5444 * config/libbid/bid64_fma.c: Likewise.
5445 * config/libbid/bid64_logb.c: Likewise.
5446 * config/libbid/bid64_minmax.c: Likewise.
5447 * config/libbid/bid64_mul.c: Likewise.
5448 * config/libbid/bid64_next.c: Likewise.
5449 * config/libbid/bid64_noncomp.c: Likewise.
5450 * config/libbid/bid64_quantize.c: Likewise.
5451 * config/libbid/bid64_rem.c: Likewise.
5452 * config/libbid/bid64_round_integral.c: Likewise.
5453 * config/libbid/bid64_scalb.c: Likewise.
5454 * config/libbid/bid64_sqrt.c: Likewise.
5455 * config/libbid/bid64_string.c: Likewise.
5456 * config/libbid/bid64_to_bid128.c: Likewise.
5457 * config/libbid/bid64_to_int16.c: Likewise.
5458 * config/libbid/bid64_to_int32.c: Likewise.
5459 * config/libbid/bid64_to_int64.c: Likewise.
5460 * config/libbid/bid64_to_int8.c: Likewise.
5461 * config/libbid/bid64_to_uint16.c: Likewise.
5462 * config/libbid/bid64_to_uint32.c: Likewise.
5463 * config/libbid/bid64_to_uint64.c: Likewise.
5464 * config/libbid/bid64_to_uint8.c: Likewise.
5465 * config/libbid/bid_b2d.h: Likewise.
5466 * config/libbid/bid_binarydecimal.c: Likewise.
5467 * config/libbid/bid_conf.h: Likewise.
5468 * config/libbid/bid_convert_data.c: Likewise.
5469 * config/libbid/bid_decimal_data.c: Likewise.
5470 * config/libbid/bid_decimal_globals.c: Likewise.
5471 * config/libbid/bid_div_macros.h: Likewise.
5472 * config/libbid/bid_dpd.c: Likewise.
5473 * config/libbid/bid_flag_operations.c: Likewise.
5474 * config/libbid/bid_from_int.c: Likewise.
5475 * config/libbid/bid_functions.h: Likewise.
5476 * config/libbid/bid_gcc_intrinsics.h: Likewise.
5477 * config/libbid/bid_inline_add.h: Likewise.
5478 * config/libbid/bid_internal.h: Likewise.
5479 * config/libbid/bid_round.c: Likewise.
5480 * config/libbid/bid_sqrt_macros.h: Likewise.
5481
54822009-04-09 Jakub Jelinek <jakub@redhat.com>
5483
5484 * Makefile.in: Change copyright header to refer to version
5485 3 of the GNU General Public License and to point readers at the
5486 COPYING3 file and the FSF's license web page.
5487 * config.host: Likewise.
5488
633dd061
AM
54892009-04-07 Alan Modra <amodra@bigpond.net.au>
5490
5491 * config.host: Reorder and merge to match config.gcc change.
5492
457d1d00
AM
54932009-04-03 Alan Modra <amodra@bigpond.net.au>
5494
5495 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
5496
52c0e446
JM
54972009-03-28 Joseph Myers <joseph@codesourcery.com>
5498
5499 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
5500 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
5501 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
5502 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
5503
ba181049
UB
55042009-02-12 Uros Bizjak <ubizjak@gmail.com>
5505
5506 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
5507 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5508
c252db20
L
55092009-02-12 H.J. Lu <hongjiu.lu@intel.com>
5510
ba181049
UB
5511 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
5512 ia64/t-softfp-compat to tmake_file.
c252db20
L
5513
5514 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
5515
5516 * config/ia64/__divxf3.asm: New.
5517 * config/ia64/_fixtfdi.asm: Likewise.
5518 * config/ia64/_fixunstfdi.asm: Likewise.
5519 * config/ia64/_floatditf.asm: Likewise.
5520 * config/ia64/t-fprules-softfp: Likewise.
5521 * config/ia64/t-softfp-compat: Likewise.
5522 * config/ia64/tf-signs.c: Likewise.
5523
c60535f9
BE
55242009-01-18 Ben Elliston <bje@au.ibm.com>
5525
5526 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
5527
ce16861e
BE
55282009-01-16 Ben Elliston <bje@au.ibm.com>
5529
5530 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
5531 to tmake_file.
5532
bcf4713b
BE
55332009-01-13 Ben Elliston <bje@au.ibm.com>
5534
5535 * config/t-softfp: New file.
5536 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
5537 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
5538
2042cb04
JS
55392009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
5540
5541 * config.host: Add m32r*-*-rtems*.
5542
541ed00e
JS
55432008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
5544
5545 * config.host: Add m32c*-*-rtems*.
5546
19523300
RO
55472008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5548
5549 PR bootstrap/33100
5550 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
5551 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
5552 * configure: Regenerate.
5553 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
5554 tmake_file here from gcc/config.gcc.
5555 Move extra_parts here from gcc/config.gcc.
5556 * config/i386/t-sol2: Move here from gcc/config/i386.
5557 Use gcc_srcdir instead of srcdir.
5558
0a4a51c7
AN
55592008-11-18 Adam Nemet <anemet@caviumnetworks.com>
5560
5561 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
5562 case.
5563
2a761e46
TS
55642008-11-09 Thomas Schwinge <tschwinge@gnu.org>
5565
5566 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
5567
c0451df7
TS
55682008-10-08 Thomas Schwinge <tschwinge@gnu.org>
5569
5570 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
5571
358da97e
HS
55722008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
5573
5574 Add picoChip port.
5575 * config.host: Add picochip-*-*.
5576
c660f132
BW
55772008-08-06 Bob Wilson <bob.wilson@acm.org>
5578
5579 * config.host: Match more processor names for Xtensa.
5580
d1349557
L
55812008-07-08 H.J. Lu <hongjiu.lu@intel.com>
5582
5583 * config/i386/64/t-softfp-compat: Update comments.
5584
dd7b73c0
L
55852008-07-07 H.J. Lu <hongjiu.lu@intel.com>
5586
5587 * config/i386/64/_divtc3-compat.c: Moved to ...
5588 * config/i386/64/_divtc3.c: Here.
5589
5590 * config/i386/64/_multc3-compat.c: Moved to ...
5591 * config/i386/64/_multc3.c: Here.
5592
5593 * config/i386/64/_powitf2-compat.c: Moved to ...
5594 * config/i386/64/_powitf2.c: Here.
5595
5596 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
5597 .c suffix instead of -compat.c.
5598
6e1fab3d
UB
55992008-07-05 Uros Bizjak <ubizjak@gmail.com>
5600
5601 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
5602 (_FP_MUL_MEAT_D): Ditto.
5603 (_FP_DIV_MEAT_S): Ditto.
5604 (_FP_DIV_MEAT_D): Ditto.
5605
f92518d7
RS
56062008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
5607
5608 * Makefile.in: Add support for __sync_* libgcc functions.
5609
d0aede14
L
56102008-07-03 H.J. Lu <hongjiu.lu@intel.com>
5611
5612 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
5613
c174f11c
L
56142008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5615
5616 PR boostrap/36702
5617 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
5618 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
5619
5620 * config/i386/64/t-fprules-softfp: Moved to ...
5621 * config/i386/64/t-softfp-compat: This. New.
5622
5f464fa2
UB
56232008-07-02 Uros Bizjak <ubizjak@gmail.com>
5624
5625 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
5626 Initialize f with 0.0.
5627
ff473280
L
56282008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5629
5630 PR target/36669
5631 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
5632
5633 * config/i386/64/_divtc3-compat.c: New.
5634 * config/i386/64/_multc3-compat.c: Likewise.
5635 * config/i386/64/_powitf2-compat.c: Likewise.
5636 * config/i386/64/eqtf2.c: Likewise.
5637 * config/i386/64/getf2.c: Likewise.
5638 * config/i386/64/letf2.c: Likewise.
5639 * config/i386/64/t-fprules-softfp: Likewise.
5640
56412008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5642
5643 * config.host: Add i386/${host_address}/t-fprules-softfp to
5644 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 5645 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
5646
5647 * configure.ac: Set host_address to 64 or 32 for x86.
5648 * configure: Regenerated.
5649
5650 * Makefile.in (config.status): Also depend on
5651 $(srcdir)/config.host.
5652
5653 * config/i386/32/t-fprules-softfp: New.
5654 * config/i386/32/tf-signs.c: Likewise.
5655
5656 * config/i386/64/sfp-machine.h: New. Moved from gcc.
5657
56582008-07-02 H.J. Lu <hongjiu.lu@intel.com>
5659 Uros Bizjak <ubizjak@gmail.com>
5660
5661 * config/i386/32/sfp-machine.h: New.
5662
30551d99
NF
56632008-06-26 Nathan Froyd <froydnj@codesourcery.com>
5664
5665 * config/rs6000/t-ppccomm: Remove rules that conflict with
5666 auto-generated rules.
5667
18c04407
RW
56682008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5669
5670 * configure.ac: sinclude override.m4.
5671 * configure: Regenerate.
5672
10fbe77a
BRF
56732008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
5674
5675 * configure: Regenerate.
5676
bc6d4c3f
JM
56772008-06-10 Joseph Myers <joseph@codesourcery.com>
5678
5679 * Makefile.in (DECNUMINC): Remove
5680 -I$(MULTIBUILDTOP)../../libdecnumber.
5681 * gstdint.h: New.
5682
cd985f66
JM
56832008-06-07 Joseph Myers <joseph@codesourcery.com>
5684
5685 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
5686 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
5687 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
5688 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
5689 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
5690 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
5691 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
5692 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
5693 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
5694 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
5695 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
5696 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
5697 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
5698 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
5699
93fea8d3
AL
57002008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
5701
5702 * config.host (sh2[lbe]*-*-linux*): Allow target.
5703
18724e30
NF
57042008-04-30 Nathan Froyd <froydnj@codesourcery.com>
5705
5706 * config/rs6000/t-ppccomm: Add build rules for new files.
5707 (LIB2ADD_ST): New variable.
5708
47583040
AH
57092008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
5710
5711 PR target/34210
5712 PR target/35508
5713 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
5714 * config/t-avr: New file. Build 16bit libgcc functions.
5715
cf8e67fe
JJ
57162008-03-02 Jakub Jelinek <jakub@redhat.com>
5717
5718 PR target/35401
5719 * config/t-slibgcc-darwin: Make install-leaf dependent on
5720 install-darwin-libgcc-stubs instead of install.
5721
8d8da227
JM
57222008-01-25 Joseph Myers <joseph@codesourcery.com>
5723
5724 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
5725 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
5726 sh-*-rtemscoff*): Remove cases.
5727
edbf8b16
RS
57282007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
5729
5730 * Makefile.in (all): Use install-leaf rather than install.
5731 (install): Split most of the rule into...
5732 (install-leaf): ...this new one.
5733
89deeaff
EK
57342007-12-19 Etsushi Kato <ek.kato@gmail.com>
5735 Paolo Bonzini <bonzini@gnu.org>
5736
5737 PR target/30572
5f464fa2
UB
5738 * Makefile.in: Use @shlib_slibdir@ substitution to get
5739 correct install name on darwin.
89deeaff 5740 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 5741
4081d704
HPN
57422007-12-15 Hans-Peter Nilsson <hp@axis.com>
5743
5744 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
5745 cris-*-elf and cris-*-none.
5746 (crisv32-*-linux*): Similar, as cris-*-linux*.
5747
f43e89a3
RIL
57482007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
5749
5750 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
5751
b4e9c2c6
L
57522007-10-27 H.J. Lu <hongjiu.lu@intel.com>
5753
5754 PR regression/33926
5755 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
5756 * configure: Regenerated.
5757
b2a00c89
L
57582007-09-27 H.J. Lu <hongjiu.lu@intel.com>
5759
5760 * Makefile.in (dfp-filenames): Replace decimal_globals,
5761 decimal_data, binarydecimal and convert_data with
5762 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
5763 and bid_convert_data, respectively.
5764
8d2a9e0e
CF
57652007-09-17 Chao-ying Fu <fu@mips.com>
5766 Nigel Stephens <nigel@mips.com>
5767
5768 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
5769 * Makefile.in (fixed_point): Define.
5770 Check if fixed_point is yes to build support functions.
5771 * configure.ac: Check for fixed_point support.
5772 * configure: Regenerated.
5773 * gen-fixed.sh: New file to generate lists of fixed-point labels,
5774 funcs, modes, from, to.
5775
2b53935d
JJ
57762007-09-11 Janis Johnson <janis187@us.ibm.com
5777
5778 * Makefile.in (dfp-filenames): Add bid128_noncomp.
5779
2533577f
JJ
57802007-09-10 Janis Johnson <janis187@us.ibm.com>
5781
5782 * Makefile.in (dfp-filenames): Remove decUtility, add
5783 decDouble, decPacked, decQuad, decSingle.
5784
3ae3dbd6
HK
57852007-08-27 Hans Kester <hans.kester@ellips.nl>
5786
5787 * config.host : Add x86_64-elf target.
5788
22867d02
L
57892007-07-06 H.J. Lu <hongjiu.lu@intel.com>
5790
5791 * configure.ac (set_have_cc_tls): Add a missing =.
5792 * configure: Regenerated.
5793
6f461e76
L
57942007-07-06 H.J. Lu <hongjiu.lu@intel.com>
5795
5796 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
5797 and x86_64-*-linux*.
5798
5799 * config/t-tls: New file.
5800
dfb3b0e3 5801 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
5802
5803 * configure.ac: Include ../config/enable.m4 and
5804 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
5805 supports TLS and substitute set_have_cc_tls.
5806 * configure: Regenerated.
5807
200359e8
L
58082007-07-04 H.J. Lu <hongjiu.lu@intel.com>
5809
5810 * Makefile.in: Use libbid for DFP when BID is enabled.
5811
76f5e200
DS
58122007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
5813
5814 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 5815 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
5816 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
5817
9bd196f0 58182007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 5819 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
5820
5821 PR target/29498
5822 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
5823 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
5824 * config/i386/t-crtfm: Compile crtfastmath.o with
5825 -minline-all-stringops.
5826
1910440e
RS
58272007-05-10 Richard Sandiford <richard@codesourcery.com>
5828
5829 * config.host (sparc-wrs-vxworks): New target.
5830
7d33c31d
KH
58312007-04-14 Kazu Hirata <kazu@codesourcery.com>
5832
5833 * config.host: Recognize fido.
5834
96fccd0d
JJ
58352007-04-04 Janis Johnson <janis187@us.ibm.com>
5836
5837 * configure: Check host, not target, for decimal float support.
5838
577565f9
UB
58392007-04-03 Uros Bizjak <ubizjak@gmail.com>
5840
5841 * config/i386/t-crtpc: New file.
5842 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 5843 (x86_64-*-linux*): Ditto.
577565f9 5844
ccf8e764
RH
58452007-02-30 Kai Tietz <kai.tietz@onevision.com>
5846
5847 * config.host (x86_64-*-mingw*): New target.
5848
79b87c74
MM
58492007-03-23 Michael Meissner <michael.meissner@amd.com>
5850 H.J. Lu <hongjiu.lu@intel.com>
5851
5852 * Makefile.in (enable_decimal_float): New.
5853 (DECNUMINC): Add
5854 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
5855 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
5856 (decbits-filenames): This.
5857 (decbits-objects): New.
5858 (libgcc-objects): Add $(decbits-objects).
5859
5860 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
5861 Substitute enable_decimal_float.
5862 * configure: Regenerated.
5863
8fce4e31
HPN
58642007-03-19 Hans-Peter Nilsson <hp@axis.com>
5865
5866 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
5867
e8bb4597
BM
58682007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
5869
5870 * Makefile.in (install-info): New dummy target.
5871
344189f9
BS
58722007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
5873
5874 * config.host (bfin*-linux-uclibc*): Set extra_parts.
5875
ac84c172
BM
58762007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
5877
5878 * Makefile.in: Add install-html and install-pdf dummy
5879 targets.
5880
cd5c2357
RS
58812007-02-05 Roger Sayle <roger@eyesopen.com>
5882 Daniel Jacobowitz <dan@codesourcery.com>
5883
5884 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
5885 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
5886 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
5887
d9a66f98
JJ
58882007-01-29 Janis Johnson <janis187@us.ibm.com>
5889
5890 * Makefile.in (dec-filenames): Add decExcept.
5891
9891ec5f
DJ
58922007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
5893
5894 PR bootstrap/30469
5895 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
5896 -fprofile-use.
5897
d6efbf5a
DJ
58982007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
5899
5900 * configure.ac: Add --enable-version-specific-runtime-libs.
5901 Correct $slibdir default.
5902 * configure: Regenerated.
5903
17caeff2
JM
59042007-01-23 Joseph Myers <joseph@codesourcery.com>
5905
5906 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
5907
5ea41e3a
AP
59082007-01-21 Andrew Pinski <pinskia@gmail.com>
5909
5910 PR target/30519
5911 * config.host (alpha*-*-linux*): Set extra_parts.
5912
26900826
KK
59132007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
5914
5915 * config/sh/t-linux: New.
5916 * config.host (sh*-*-linux*): Set tmake_file.
5917
97af925b
DJ
59182007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
5919
5920 * Makefile.in (install): Handle multilibs.
5921
b0088af7
BM
59222007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5923
5924 * Makefile.in: Added .PHONY entry for documentation targets.
5925
e0a9456a
BM
59262007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
5927
5928 * Makefile.in: Add empty info, html, dvi, pdf targets.
5929
7fd453b4
MS
59302007-01-04 Mike Stump <mrs@apple.com>
5931
5932 * Makefile.in (MAKEINFO): Remove.
5933 (PERL): Likewise.
5934
14e8fc8b
PB
59352007-01-04 Paolo Bonzini <bonzini@gnu.org>
5936
5937 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
5938 * configure: Regenerate.
5939 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 5940 (gcc_objdir): Use it.
14e8fc8b 5941
1555beba
DJ
59422007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5943
5944 * config.host (ia64*-*-linux*): Set tmake_file.
5945
79e6eaeb
DJ
59462007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5947
5948 * Makefile.in (version): Define.
5949
fa958513
DJ
59502007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5951 Paolo Bonzini <bonzini@gnu.org>
5952
5953 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
5954 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
5955 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
5956 config/sparc/t-crtfm, config/t-slibgcc-darwin,
5957 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
5958 shared-object.mk, siditi-object.mk, static-object.mk: New files.
5959 * configure: Generated.