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