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