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