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