ChangeLog revision 1.1.1.4 1 2014-02-28 Joey Ye <joey.ye (a] arm.com>
2
3 Backport from mainline r208229
4 2014-02-28 Joey Ye <joey.ye (a] arm.com>
5
6 PR libgcc/60166
7 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
8 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
9 Set to zero.
10
11 2014-02-18 Kai Tietz <ktietz (a] redhat.com>
12 Jonathan Schleifer <js (a] webkeks.org>
13
14 PR objc/56870
15 * unwind-seh.c (_GCC_specific_handler): Pass proper
16 value to unwind-handler.
17
18 2014-01-25 Walter Lee <walt (a] tilera.com>
19
20 Backport from mainline
21 2014-01-25 Walter Lee <walt (a] tilera.com>
22
23 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
24 (post_atomic_barrier): Ditto.
25 (__fetch_and_do): New macro.
26 (__atomic_fetch_and_do): Use __fetch_and_do.
27 (__sync_fetch_and_do): New macro.
28 (__sync_fetch_and_add_4): New function.
29 (__sync_fetch_and_sub_4): New function.
30 (__sync_fetch_and_or_4): New function.
31 (__sync_fetch_and_and_4): New function.
32 (__sync_fetch_and_xor_4): New function.
33 (__sync_fetch_and_nand_4): New function.
34 (__sync_fetch_and_add_8): New function.
35 (__sync_fetch_and_sub_8): New function.
36 (__sync_fetch_and_or_8): New function.
37 (__sync_fetch_and_and_8): New function.
38 (__sync_fetch_and_xor_8): New function.
39 (__sync_fetch_and_nand_8): New function.
40 (__do_and_fetch): New macro.
41 (__atomic_do_and_fetch): Use __do_and_fetch.
42 (__sync_do_and_fetch): New macro.
43 (__sync_add_and_fetch_4): New function.
44 (__sync_sub_and_fetch_4): New function.
45 (__sync_or_and_fetch_4): New function.
46 (__sync_and_and_fetch_4): New function.
47 (__sync_xor_and_fetch_4): New function.
48 (__sync_nand_and_fetch_4): New function.
49 (__sync_add_and_fetch_8): New function.
50 (__sync_sub_and_fetch_8): New function.
51 (__sync_or_and_fetch_8): New function.
52 (__sync_and_and_fetch_8): New function.
53 (__sync_xor_and_fetch_8): New function.
54 (__sync_nand_and_fetch_8): New function.
55 (__sync_exchange_methods): New macro.
56 (__sync_val_compare_and_swap_4): New function.
57 (__sync_bool_compare_and_swap_4): New function.
58 (__sync_lock_test_and_test_4): New function.
59 (__sync_val_compare_and_swap_8): New function.
60 (__sync_bool_compare_and_swap_8): New function.
61 (__sync_lock_test_and_test_8): New function.
62 (__subword_cmpxchg_body): New macro.
63 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
64 (__atomic_compare_exchange_2): Ditto.
65 (__sync_subword_cmpxchg): New macro.
66 (__sync_val_compare_and_swap_1): New function.
67 (__sync_bool_compare_and_swap_1): New function.
68 (__sync_val_compare_and_swap_2): New function.
69 (__sync_bool_compare_and_swap_2): New function.
70 (__atomic_subword): Rename to ...
71 (__subword): ... New name.
72 (__atomic_subword_fetch): Use __subword.
73 (__sync_subword_fetch): New macro.
74 (__sync_fetch_and_add_1): New function.
75 (__sync_fetch_and_sub_1): New function.
76 (__sync_fetch_and_or_1): New function.
77 (__sync_fetch_and_and_1): New function.
78 (__sync_fetch_and_xor_1): New function.
79 (__sync_fetch_and_nand_1): New function.
80 (__sync_fetch_and_add_2): New function.
81 (__sync_fetch_and_sub_2): New function.
82 (__sync_fetch_and_or_2): New function.
83 (__sync_fetch_and_and_2): New function.
84 (__sync_fetch_and_xor_2): New function.
85 (__sync_fetch_and_nand_2): New function.
86 (__sync_add_and_fetch_1): New function.
87 (__sync_sub_and_fetch_1): New function.
88 (__sync_or_and_fetch_1): New function.
89 (__sync_and_and_fetch_1): New function.
90 (__sync_xor_and_fetch_1): New function.
91 (__sync_nand_and_fetch_1): New function.
92 (__sync_add_and_fetch_2): New function.
93 (__sync_sub_and_fetch_2): New function.
94 (__sync_or_and_fetch_2): New function.
95 (__sync_and_and_fetch_2): New function.
96 (__sync_xor_and_fetch_2): New function.
97 (__sync_nand_and_fetch_2): New function.
98 (__atomic_subword_lock): Use __subword.
99 (__sync_subword_lock): New macro.
100 (__sync_lock_test_and_set_1): New function.
101 (__sync_lock_test_and_set_2): New function.
102
103 2014-01-25 Walter Lee <walt (a] tilera.com>
104
105 Backport from mainline
106 2014-01-25 Walter Lee <walt (a] tilera.com>
107
108 * config/tilepro/atomic.c (BIT_OFFSET): Define.
109 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
110 (__atomic_subword): Ditto.
111
112 2014-01-25 Walter Lee <walt (a] tilera.com>
113
114 Backport from mainline
115 2014-01-25 Walter Lee <walt (a] tilera.com>
116
117 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
118 a prefix op argument.
119 (__atomic_nand_fetch_4): Add prefix op.
120 (__atomic_nand_fetch_8): Ditto.
121
122 2014-01-21 Baruch Siach <barch (a] tkos.co.il>
123
124 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
125
126 2014-01-03 Joseph Myers <joseph (a] codesourcery.com>
127
128 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
129 case of small numerator and finite nonzero result.
130
131 2013-12-12 Zhenqiang Chen <zhenqiang.chen (a] arm.com>
132
133 Backport from trunk r205917.
134 2013-12-12 Zhenqiang Chen <zhenqiang.chen (a] arm.com>
135 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
136
137 2013-12-10 Uros Bizjak <ubizjak (a] gmail.com>
138
139 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
140 instructions when __SSE_MATH__ is defined.
141
142 2013-12-06 Ralf Corspius <ralf.corsepius (a] rtems.org>
143
144 * config.host (microblaze-*-rtems*): New.
145
146 2013-11-10 Kai Tietz <ktietz (a] redhat.com>
147
148 Back-merged from trunk
149 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
150 Increment load-count on use of LIBGCC_SONAME DLL.
151 (hmod_libgcc): New static variable to hold handle of
152 LIBGCC_SONAME DLL.
153 (__gcc_deregister_frame): Decrement load-count of
154 LIBGCC_SONAME DLL.
155
156 2013-11-07 Uros Bizjak <ubizjak (a] gmail.com>
157
158 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
159 FP_EX_DENORM. Store result to volatile location after SSE division
160 to close interrupt window. Remove unneeded fwait after x87
161 division since interrupt window will be closed by emitted fstp.
162 Rewrite FP_EX_INEXACT handling.
163
164 2013-10-16 Release Manager
165
166 * GCC 4.8.2 released.
167
168 2013-08-01 Maxim Kuvyrkov <maxim (a] kugelworks.com>
169
170 Backport from trunk: Fix licenses on several libgcc files.
171
172 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
173 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
174 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
175 GPL-3.0-with-GCC-exception.
176
177 2013-07-19 Georg-Johann Lay <avr (a] gjlay.de>
178
179 Backport from 2013-07-19 trunk r201051.
180
181 PR target/57516
182 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
183 (__round_s2_const, __round_u2_const)
184 (__round_s4_const, __round_u4_const, __round_x8):
185 Saturate result if addition result cannot be represented.
186
187 2013-07-09 Janis Johnson <janisjo (a] codesourcery.com>
188
189 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
190
191 2013-06-19 Alan Modra <amodra (a] gmail.com>
192
193 Apply mainline patches
194 2013-06-04 Alan Modra <amodra (a] gmail.com>
195 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
196
197 2013-04-25 Alan Modra <amodra (a] gmail.com>
198 * config.host: Match little-endian powerpc-linux.
199
200 2013-06-08 Walter Lee <walt (a] tilera.com>
201
202 Backport from mainline:
203 2013-06-08 Walter Lee <walt (a] tilera.com>
204
205 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
206 Replace int64_t with long long. Add __extension__ where
207 appropriate.
208
209 2013-06-06 Douglas B Rupp <rupp (a] adacore.com>
210
211 * config.host (arm-wrs-vxworks): Configure with other soft float.
212
213 2013-05-31 Richard Henderson <rth (a] redhat.com>
214
215 PR target/49146
216 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
217 (execute_cfa_program): Use it when storing to fs->regs.
218
219 2013-05-31 Release Manager
220
221 * GCC 4.8.1 released.
222
223 2013-04-11 Julian Brown <julian (a] codesourcery.com>
224
225 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
226 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
227 unsigned char/unsigned short.
228 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
229
230 2013-04-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
231
232 PR other/55274
233 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
234
235 2013-03-26 Robert Mason <rbmj (a] verizon.net>
236
237 PR target/54805
238
239 Backport from mainline:
240 2013-03-20 Robert Mason <rbmj (a] verizon.net>
241
242 * config/vxlib-tls.c (__gthread_get_tsd_data,)
243 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
244 (__gthread_leave_tsd_dtor_context): Add prototypes.
245 (tls_delete_hook): Update.
246
247 2013-03-26 Walter Lee <walt (a] tilera.com>
248
249 Backport from mainline:
250 2013-03-26 Walter Lee <walt (a] tilera.com>
251
252 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
253 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
254
255 2013-03-22 Release Manager
256
257 * GCC 4.8.0 released.
258
259 2013-03-14 Jakub Jelinek <jakub (a] redhat.com>
260
261 PR tree-optimization/53265
262 * unwind-dw2.c (execute_cfa_program): Avoid
263 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
264 on targets with DWARF_FRAME_REGISTERS < 32.
265
266 2013-03-13 Oleg Endo <olegendo (a] gcc.gnu.org>
267
268 PR target/49880
269 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
270 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
271
272 2013-03-07 Sriraman Tallam <tmsriram (a] google.com>
273
274 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
275 sandybridge processors.
276
277 2013-03-06 Oleg Endo <olegendo (a] gcc.gnu.org>
278
279 PR target/56529
280 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
281 inclusion list.
282
283 2013-03-04 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
284
285 * config/microblaze/crti.S: Setup stack protection at entry
286
287 2013-03-04 Georg-Johann Lay <avr (a] gjlay.de>
288
289 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
290 (__rotldi3): Shift bytewise if applicable.
291
292 2013-03-01 James Greenhalgh <james.greenhalgh (a] arm.com>
293
294 * config/aarch64/sync-cache.c
295 (__aarch64_sync_cache_range): Silence warnings.
296
297 2013-02-25 Catherine Moore <clm (a] codesourcery.com>
298
299 Revert:
300 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
301 Joseph Myers <joseph (a] codesourcery.com>
302 Chao-ying Fu <fu (a] mips.com>
303
304 * config/mips/mips16.S: Don't build for microMIPS.
305 * config/mips/linux-unwind.h: Handle microMIPS frame.
306 * config/mips/crtn.S (fini, init): New labels.
307
308 2013-02-24 Catherine Moore <clm (a] codesourcery.com>
309 Joseph Myers <joseph (a] codesourcery.com>
310 Chao-ying Fu <fu (a] mips.com>
311
312 * config/mips/mips16.S: Don't build for microMIPS.
313 * config/mips/linux-unwind.h: Handle microMIPS frame.
314 * config/mips/crtn.S (fini, init): New labels.
315
316 2012-02-19 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
317 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
318 as dividend.
319
320 2013-02-16 Alan Modra <amodra (a] gmail.com>
321
322 PR target/55431
323 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
324 (ppc_fallback_frame_state): Always set up save locations for fp
325 and altivec. Don't bother with non-callee-saved regs, r0-r13
326 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
327
328 2013-02-12 Georg-Johann Lay <avr (a] gjlay.de>
329
330 PR target/54222
331 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
332 _ssmulHA, _ssmulSA.
333 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
334 _ssmulha3, _usmulusa3, _ssmulsa3.
335 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
336 (__muldi3): XCALL __muldi3_6 instead of rcall.
337 (__umulsidi3, __mulsidi3): New functions.
338 (do_prologue_saves, do_epilogue_restores): New .macros.
339 (__divdi3_moddi3): Use them.
340 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
341 (__usmulusa3, __ssmulsa3): New functions.
342
343 2013-02-11 Iain Sandoe <iain (a] codesourcery.com>
344 Jack Howarth <howarth (a] bromo.med.uc.edu>
345 Patrick Marlier <patrick.marlier (a] gmail.com>
346
347 PR libitm/55693
348 * config/darwin-crt-tm.c: Remove dummy functions hack.
349
350 2013-02-08 Georg-Johann Lay <avr (a] gjlay.de>
351
352 PR target/54222
353 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
354 * config/avr/lib2-object.mk: New iterator to build objects from it.
355 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
356 lib2funcs.c.
357 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
358 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
359 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
360 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
361 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
362 * config/avr/lib1funcs-fixed.S: Implement them.
363
364 2013-02-04 Richard Sandiford <rdsandiford (a] googlemail.com>
365
366 Update copyright years.
367
368 2013-02-01 David Edelsohn <dje.gcc (a] gmail.com>
369
370 PR target/54601
371 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
372 Add crtcxa to extra_parts.
373 * config/rs6000/exit.h: New file.
374 * config/rs6000/cxa_atexit.c: New file.
375 * config/rs6000/cxa_finalize.c: New file.
376 * config/rs6000/crtcxa.c: New file.
377 * config/rs6000/t-aix-cxa: New file.
378 * config/rs6000/libgcc-aix-cxa.ver: New file.
379
380 2013-01-31 Nick Clifton <nickc (a] redhat.com>
381
382 * config/v850/lib1funcs.S: Add support for e3v5 architecture
383 variant.
384
385 2013-01-29 Georg-Johann Lay <avr (a] gjlay.de>
386
387 PR target/54222
388 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
389 _mulQQ, _mulHQ, _mulHA, _mulSA,
390 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
391 _divQQ, _divHQ, _divHA, _divSA,
392 _divUQQ, _divUHQ, _divUHA, _divUSA.
393
394 2013-01-26 David Holsgrove <david.holsgrove (a] xilinx.com>
395
396 * config.host(microblaze*-linux*): tmake_file: Remove
397 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
398 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
399 to exclude functions from being built with libgcc.c and use
400 the microblaze assembly.
401
402 2013-01-26 Edgar E. Iglesias <edgar.iglesias (a] gmail.com>
403
404 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
405 extra_parts.
406
407 2013-01-17 Yufeng Zhang <yufeng.zhang (a] arm.com>
408
409 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
410 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
411 __UINTPTR_TYPE__; also cast 'base' to the same type before the
412 alignment operation.
413
414 2013-01-15 Sofiane Naci <sofiane.naci (a] arm.com>
415
416 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
417 loop start address for cache clearing.
418
419 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
420
421 * config/avr/lib1funcs.S: Remove trailing blanks.
422 * config/avr/lib1funcs-fixed.S: Ditto.
423
424 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
425
426 * config/avr/avr-lib.h: Add GPL copyright notice.
427
428 2013-01-14 Georg-Johann Lay <avr (a] gjlay.de>
429
430 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
431 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
432 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
433 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
434
435 2013-01-07 Mark Kettenis <kettenis (a] openbsd.org>
436
437 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
438 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
439
440 2013-01-04 Nick Clifton <nickc (a] redhat.com>
441
442 * config/v850/lib1funcs.S: Only provide CALLT support functions if
443 the CALLT instruction is supported.
444
445 2012-12-20 Jonathan Wakely <jwakely.gcc (a] gmail.com>
446
447 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
448 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
449
450 2012-12-13 John Tytgat <John (a] bass-software.com>
451
452 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
453 is 25.
454
455 2012-12-12 Jakub Jelinek <jakub (a] redhat.com>
456
457 PR libgcc/55451
458 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
459 undefined signed overflows.
460
461 2012-12-09 Uros Bizjak <ubizjak (a] gmail.com>
462
463 PR target/55344
464 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
465
466 2012-12-06 Uros Bizjak <ubizjak (a] gmail.com>
467
468 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
469 (FP_TRAPPING_EXCEPTIONS): Define.
470 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
471 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
472
473 2012-12-04 Richard Henderson <rth (a] redhat.com>
474
475 PR bootstrap/55571
476 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
477
478 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
479
480 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
481 (FP_EX_SHIFT): Define.
482 (FP_TRAPPING_EXCEPTIONS): Define.
483
484 2012-12-04 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
485
486 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
487 (FP_ROUNDMODE): Use FP_RND_MASK.
488 * config/aarch64/sfp-exceptions.c: New.
489 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
490 Use __sfp_handle_exceptions.
491
492 2012-12-04 Richard Earnshaw <rearnsha (a] arm.com>
493
494 * config.host: (arm*-*-freebsd*): Remove.
495 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
496 (arm*-*-elf*): Remove.
497 (arm*-*-wince-pe*): Remove.
498 * arm/unwind-arm.c (struct fpa_reg): Delete.
499 (struct fpa_regs): Delete.
500 (phase1_vrs): Remove fpa element.
501 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
502 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
503 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
504 * ieee754-sf.S (floatundisf): Remove FPA support.
505 (floatdisf): Likewise.
506 * ieee75f-df.S (floatundidf): Likewise.
507 (floatdidf): Likewise.
508
509 2012-11-29 Kai Tietz <ktietz (a] redhat.com>
510
511 PR target/55445
512 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
513 * unwind-generic.h: Likewise.
514 * unwind-seh.c: Likewise.
515
516 2012-11-28 Richard Henderson <rth (a] redhat.com>
517
518 PR libgcc/48076
519 * emutls.c (__emutls_get_address): Avoid race condition between
520 obj->loc.offset read and emutls_key initialization.
521
522 2012-11-22 Georg-Johann Lay <avr (a] gjlay.de>
523
524 Adjust decimal point of signed accum mode to GCC default.
525
526 PR target/54222
527 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
528 _divqq_helper.
529 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
530 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
531 (__mulha3, __mulsa3)
532 (__divqq3, __divha3, __divsa3): Adjust to new position of
533 decimal point of signed accum types.
534
535 (__mulusa3_round): New function.
536 (__mulusa3): Use it.
537 (__divqq_helper): New function.
538 (__udivuqq3): Use it.
539
540 2012-11-20 Jakub Jelinek <jakub (a] redhat.com>
541
542 PR bootstrap/55370
543 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
544
545 2012-11-18 Teresa Johnson <tejohnson (a] google.com>
546
547 PR bootstrap/55051
548 * libgcov.c (gcov_exit): Remove merged program summary
549 comparison unless !GCOV_LOCKED.
550
551 2012-11-15 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
552
553 * soft-fp: Updated from glibc upstream.
554
555 2012-11-06 Ian Lance Taylor <iant (a] google.com>
556
557 * generic-morestack.c (__generic_morestack): Align the returned
558 stack pointer to a 32 byte boundary.
559 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
560 increment the return address until we have decided that we don't
561 have a varargs function.
562 (__morestack) [32-bit]: Align stack correctly when calling C
563 functions.
564 (__morestack) [64-bit]: Likewise.
565
566 2012-11-04 Thomas Schwinge <thomas (a] codesourcery.com>
567
568 * configure: Regenerate.
569
570 2012-11-02 Uros Bizjak <ubizjak (a] gmail.com>
571
572 PR target/55175
573 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
574 * config/i386/sfp-machine.h: Guard exception handling
575 code with _SOFT_FLOAT.
576 * config/i386/32/sfp-machine.h: Guard rounding handling
577 code with _SOFT_FLOAT.
578 * config/i386/64/sfp-machine.h: Ditto.
579
580 2012-10-31 Joel Sherrill <joel.sherrill (a] oarcorp.com>
581
582 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
583 as extra_parts.
584
585 2012-10-26 Uros Bizjak <ubizjak (a] gmail.com>
586
587 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
588 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
589 when appropriate. Correct structure element types.
590 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
591 -minline-all-stringops from compile flags.
592
593 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
594
595 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
596
597 2012-10-25 Ralf Corspius <ralf.corsepius (a] rtems.org>
598
599 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
600
601 2012-10-25 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
602
603 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
604 tmake_file.
605
606 2012-10-23 Ian Bolton <ian.bolton (a] arm.com>
607 Jim MacArthur <jim.macarthur (a] arm.com>
608 Marcus Shawcroft <marcus.shawcroft (a] arm.com>
609 Nigel Stephens <nigel.stephens (a] arm.com>
610 Ramana Radhakrishnan <ramana.radhakrishnan (a] arm.com>
611 Richard Earnshaw <rearnsha (a] arm.com>
612 Sofiane Naci <sofiane.naci (a] arm.com>
613 Stephen Thomas <stephen.thomas (a] arm.com>
614 Tejas Belagod <tejas.belagod (a] arm.com>
615 Yufeng Zhang <yufeng.zhang (a] arm.com>
616
617 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
618 * config/aarch64/crti.S: New file.
619 * config/aarch64/crtn.S: New file.
620 * config/aarch64/linux-unwind.h: New file.
621 * config/aarch64/sfp-machine.h: New file.
622 * config/aarch64/sync-cache.c: New file.
623 * config/aarch64/t-aarch64: New file.
624 * config/aarch64/t-softfp: New file.
625
626 2012-10-21 Hans-Peter Nilsson <hp (a] bitrange.com>
627
628 * config/mmix/crti.S: Mark program and data addresses using PRELD.
629 Remove typo'd and unnecessary alignment-LOC for .data. Remove
630 no-longer-needed LDBU insns.
631
632 2012-10-18 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
633
634 * config.host
635 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
636 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
637
638 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
639
640 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
641
642 2012-10-15 Matthias Klose <doko (a] ubuntu.com>
643
644 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
645
646 2012-10-15 Pavel Chupin <pavel.v.chupin (a] intel.com>
647
648 * configure: Regenerate.
649 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
650
651 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
652
653 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
654 instructions for 64bit targets only.
655
656 2012-10-10 Uros Bizjak <ubizjak (a] gmail.com>
657
658 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
659 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
660 * config/i386/32/sfp-machine.h: ... here.
661 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
662 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
663 New defines.
664
665 2012-10-07 Matthias Klose <doko (a] ubuntu.com>
666
667 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
668 as unused.
669 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
670
671 2012-10-06 Mark Kettenis <kettenis (a] openbsd.org>
672
673 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
674 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
675 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
676 (ElfW): Likewise.
677
678 2012-10-05 Jonathan Wakely <jwakely.gcc (a] gmail.com>
679
680 PR other/53889
681 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
682 Fix parameter names.
683
684 2012-10-04 Oleg Endo <olegendo (a] gcc.gnu.org>
685
686 PR target/33135
687 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
688 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
689 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
690
691 2012-10-03 Oleg Endo <olegendo (a] gcc.gnu.org>
692
693 PR target/50457
694 * config/sh/linux-atomic.S: Delete.
695 * config/sh/linux-atomic.c: New.
696 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
697 linux-atomic.c. Add cflags to disable warnings.
698
699 2012-10-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
700
701 PR other/53889
702 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
703 function.
704 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
705 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
706 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
707 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
708 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
709 Likewise.
710 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
711 Likewise.
712 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
713 Likewise.
714 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
715 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
716
717 2012-09-19 Mark Kettenis <kettenis (a] openbsd.org>
718
719 * config.host (hppa-*-openbsd*): New target.
720 * config/pa/t-openbsd: New file.
721
722 2012-09-15 Georg-Johann Lay <avr (a] gjlay.de>
723
724 PR target/54222
725 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
726 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
727 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
728 (__divsa3): Use __negsi2 to negate r_quoL.
729 * config/avr/lib1funcs.S (FALIAS): New macro.
730 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
731 (__negsi2): ...this new function.
732 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
733 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
734 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
735 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
736 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
737 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
738
739 2012-09-10 Oleg Endo <olegendo (a] gcc.gnu.org>
740
741 PR target/54089
742 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
743 (lshrsi3): Reimplement as lshrsi3_r0.
744
745 2012-09-10 Andreas Schwab <schwab (a] linux-m68k.org>
746
747 PR target/46191
748 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
749 of libgcc.a.
750
751 2012-09-07 Teresa Johnson <tejohnson (a] google.com>
752
753 PR gcov-profile/54487
754 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
755 differences.
756
757 2012-09-05 Georg-Johann Lay <avr (a] gjlay.de>
758
759 PR target/54461
760 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
761 not configured --with-avrlibc=no.
762 * config/avr/t-avrlibc: New file.
763 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
764 (DPBIT_FUNCS): Ditto.
765 (TPBIT_FUNCS): Ditto.
766
767 2012-09-04 Teresa Johnson <tejohnson (a] google.com>
768
769 * libgcov.c (struct gcov_summary_buffer): New structure.
770 (gcov_histogram_insert): New function.
771 (gcov_compute_histogram): Ditto.
772 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
773 histograms during summary merging.
774
775 2012-09-01 Mark Kettenis <kettenis (a] openbsd.org>
776
777 * config.host (x86_64-*-openbsd*): New target.
778
779 2012-08-29 Chung-Lin Tang <cltang (a] codesourcery.com>
780
781 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
782 attribute.
783
784 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
785
786 PR target/54222
787 * config/avr/t-avr (conv_X): Rename to func_X.
788
789 2012-08-24 Georg-Johann Lay <avr (a] gjlay.de>
790
791 PR target/54222
792 * config/avr/lib1funcs-fixed.S: New file.
793 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
794 after they are used.
795 (neg2, neg4): New macros.
796 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
797 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
798 (__umulhisi3): Speed up MUL variant if there is enough flash.
799 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
800 avr-modes.def.
801 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
802 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
803 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
804 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
805 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
806 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
807 (LIB2FUNCS_EXCLUDE): Add supported functions.
808
809 2012-08-22 Georg-Johann Lay <avr (a] gjlay.de>
810
811 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
812 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
813 libgcc-s-objects.
814 * fixed-obj.mk: Only expand dependency if $o is not in
815 LIB2FUNCS_EXCLUDE.
816
817 2012-08-22 H.J. Lu <hongjiu.lu (a] intel.com>
818
819 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
820
821 2012-08-22 Joseph Myers <joseph (a] codesourcery.com>
822
823 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
824 depend on --enable-shared.
825 ($(lib1asmfuncs-o)): Use %.vis files independent of
826 --enable-shared.
827 * static-object.mk ($(base)$(objext), $(base).vis)
828 ($(base)_s$(objext)): Use same rules for visibility handling as in
829 shared-object.mk.
830
831 2012-08-21 Ian Lance Taylor <iant (a] google.com>
832
833 * config/i386/morestack.S (__morestack_non_split): Increase amount
834 of space allocated for non-split code stack.
835
836 2012-08-19 Joseph Myers <joseph (a] codesourcery.com>
837
838 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
839 even if inhibit_libc.
840
841 2012-08-17 Julian Brown <julian (a] codesourcery.com>
842
843 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
844 -fexceptions -fnon-call-exceptions if not defined.
845 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
846 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
847
848 2012-08-17 Andreas Schwab <schwab (a] linux-m68k.org>
849
850 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
851 type.
852
853 2012-08-16 David Edelsohn <dje.gcc (a] gmail.com>
854
855 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
856 rs6000/t-slibgcc-aix.
857
858 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
859
860 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
861
862 2012-08-15 Segher Boessenkool <segher (a] kernel.crashing.org>
863
864 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
865
866 2012-08-03 H.J. Lu <hongjiu.lu (a] intel.com>
867
868 PR driver/54171
869 * Makefile.in (version): Replace top_srcdir with srcdir.
870
871 2012-08-03 Jonathan Yong <jon_y (a] users.sourceforge.net>
872
873 * Makefile.in (version): set to BASE-VER file from gcc directory.
874
875 2012-08-01 Nick Clifton <nickc (a] redhat.com>
876
877 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
878 Implements __clrsb for an HImode argument.
879
880 2012-07-31 Nick Clifton <nickc (a] redhat.com>
881
882 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
883 Implements __clrsb for an HImode argument.
884 * config/stormy16/clrsbhi2.c: New file:
885 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
886
887 2012-07-22 Steven Bosscher <steven (a] gcc.gnu.org>
888
889 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
890
891 2012-07-19 Tristan Gingold <gingold (a] adacore.com>
892 Richard Henderson <rth (a] redhat.com>
893
894 * unwind-seh.c: New file.
895 * unwind-generic.h: Include windows.h for SEH.
896 (_Unwind_Exception): Use 6 private fields for SEH.
897 (_GCC_specific_handler): Declare.
898 * unwind-c.c (__gcc_personality_seh0): New function.
899 Adjust for SEH.
900 * config/i386/libgcc-cygming.ver: New file.
901 * config/i386/t-seh-eh: New file.
902 * config.host (x86_64-*-mingw*): Default to seh.
903
904 2012-07-14 Steven Bosscher <steven (a] gcc.gnu.org>
905
906 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
907
908 2012-06-17 Uros Bizjak <ubizjak (a] gmail.com>
909
910 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
911 __builtin_expect when checking for exceptions.
912 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
913
914 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
915
916 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
917 function declaration.
918 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
919 (FP_RND_MASK): New.
920 * config/ia64/sfp-exceptions.c: New.
921 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
922
923 2012-06-13 Uros Bizjak <ubizjak (a] gmail.com>
924
925 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
926 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
927 * config/i386/64/sfp-machine: ... (delete here) ...
928 * config/i386/sfp-machine.h: ... to here.
929 (FP_EX_MASK): Remove.
930 (FP_RND_MASK): New.
931 (FP_INIT_ROUNDMODE): Declare asm as volatile.
932
933 2012-06-11 Sriraman Tallam <tmsriram (a] google.com>
934
935 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
936 * config/i386/libgcc-sol2.ver: Ditto.
937 * config/i386/libgcc-glibc.ver: Ditto.
938
939 2012-06-11 Roland McGrath <mcgrathr (a] google.com>
940
941 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
942 If __GLIBC__ is defined, refer to __pthread_key_create instead of
943 pthread_cancel.
944
945 2012-06-09 Uros Bizjak <ubizjak (a] gmail.com>
946
947 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
948 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
949 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
950 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
951 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
952 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
953 * config/i386/64/sfp-machine: ... (delete here) ...
954 * config/i386/sfp-machine.h: ... to here.
955 (FP_EX_MASK): New.
956 (__sfp_handle_exceptions): New function declaration.
957 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
958 * config/i386/sfp-exceptions.c: New.
959 * config/i386/t-softfp: New.
960 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
961 i386/t-softfp to tmake_file.
962
963 2012-06-03 David S. Miller <davem (a] davemloft.net>
964
965 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
966 change.
967
968 2012-05-31 David S. Miller <davem (a] davemloft.net>
969
970 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
971 multiply and divide instructions on 32-bit when V9.
972 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
973
974 2012-05-29 Joseph Myers <joseph (a] codesourcery.com>
975
976 * config/arm/ieee754-df.S: Fix typos.
977 * config/arm/ieee754-sf.S: Fix typos.
978 * config/c6x/libunwind.S: Fix typos.
979 * config/epiphany/udivsi3-float.c: Fix typos.
980 * config/microblaze/muldi3_hard.S: Fix typos.
981 * config/picochip/adddi3.S: Fix typos.
982 * config/picochip/ashlsi3.S: Fix typos.
983 * config/picochip/ashrsi3.S: Fix typos.
984 * config/picochip/clzsi2.S: Fix typos.
985 * config/picochip/cmpsi2.S: Fix typos.
986 * config/picochip/divmod15.S: Fix typos.
987 * config/picochip/divmodhi4.S: Fix typos.
988 * config/picochip/divmodsi4.S: Fix typos.
989 * config/picochip/longjmp.S: Fix typos.
990 * config/picochip/lshrsi3.S: Fix typos.
991 * config/picochip/parityhi2.S: Fix typos.
992 * config/picochip/popcounthi2.S: Fix typos.
993 * config/picochip/setjmp.S: Fix typos.
994 * config/picochip/subdi3.S: Fix typos.
995 * config/picochip/ucmpsi2.S: Fix typos.
996 * config/picochip/udivmodhi4.S: Fix typos.
997 * config/picochip/udivmodsi4.S: Fix typos.
998 * config/spu/divv2df3.c: Fix typos.
999 * config/spu/mfc_multi_tag_release.c: Fix typos.
1000 * config/spu/mfc_tag_release.c: Fix typos.
1001 * configure.ac: Fix typos.
1002 * configure: Regenerate.
1003
1004 2012-05-25 Ian Lance Taylor <iant (a] google.com>
1005
1006 * config/i386/morestack.S (__morestack_non_split): Check whether
1007 caller is varargs and needs %bp to hold the stack frame on return.
1008
1009 2012-05-25 Olivier Hainque <hainque (a] adacore.com>
1010
1011 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
1012 sequence in the non pic case on VxWorks.
1013
1014 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
1015
1016 * Makefile.in: Move dependency on install-unwind_h from
1017 "install-leaf" to "install".
1018
1019 2012-05-24 Olivier Hainque <hainque (a] adacore.com>
1020
1021 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
1022 Use a separate command for stamp removals.
1023
1024 2012-05-21 Andrew Pinski <apinski (a] cavium.com>
1025
1026 PR bootstrap/53183
1027 * configure.ac: Define the default includes to being none.
1028 * configure: Regenerate.
1029
1030 2012-05-16 Olivier Hainque <hainque (a] adacore.com>
1031
1032 * Makefile.in (install-unwind_h): Rename into ...
1033 (install-unwind_h-forbuild): New target.
1034 (all): Use it instead of the former install-unwind_h.
1035 (install-unwind_h): Reinstate, copy to user install destination
1036 for include files, not to the internal gcc object directory one.
1037 (install-leaf): Depend on it.
1038
1039 2012-05-15 Olivier Hainque <hainque (a] adacore.com>
1040
1041 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
1042 register numbers. LR_REGNO replaces R_LR.
1043 (ucontext_for): New, helper for ...
1044 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
1045 and 5.3 of ...
1046 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
1047
1048 2012-05-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1049
1050 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
1051 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
1052 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
1053 i386/t-cpuinfo ...
1054 (i[34567]86-*-*, x86_64-*-*): ... here.
1055
1056 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
1057 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
1058
1059 * config/i386/i386-cpuinfo.c: Rename to ...
1060 * config/i386/cpuinfo.c: ... this.
1061 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
1062
1063 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
1064 (libgcc_cv_init_priority): New test.
1065 * configure: Regenerate.
1066 * config.in: New file.
1067 * Makefile.in (clean): Rename config.h to auto-target.h.
1068 (config.h): Likewise.
1069 (stamp-h): Likewise.
1070
1071 * config/i386/cpuinfo.c (auto-target.h): Include.
1072 (CONSTRUCTOR_PRIORITY): Define.
1073 (__cpu_indicator_init): Use it.
1074
1075 2012-05-09 H.J. Lu <hongjiu.lu (a] intel.com>
1076
1077 * longlong.h: Use a URL instead of an FSF postal address.
1078 Replace spaces with tab.
1079
1080 2012-05-08 Teresa Johnson <tejohnson (a] google.com>
1081
1082 * libgcov.c (gcov_clear, __gcov_reset): New functions.
1083 (__gcov_dump): Ditto.
1084 (gcov_dump_complete): New global variable.
1085 (gcov_exit): Export hidden to enable use in L_gcov_dump.
1086 (__gcov_flush): Outline functionality now in gcov_clear.
1087 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
1088
1089 2012-04-28 Aurelien Jarno <aurelien (a] aurel32.net>
1090
1091 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
1092 (mips*-*-linux*): Include mips/t-tpbit when long double is
1093 16 bytes long.
1094
1095 2012-04-25 Sriraman Tallam <tmsriram (a] google.com>
1096
1097 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
1098 (get_available_features): New argument. Check for AVX2.
1099 (__cpu_indicator_init): Modify call to get_available_features.
1100
1101 2012-04-25 Alan Modra <amodra (a] gmail.com>
1102
1103 * config/rs6000/crtsavevr.S: New file.
1104 * config/rs6000/crtrestvr.S: New file.
1105 * config/rs6000/t-savresfgpr: Build the above.
1106 * config/rs6000/t-netbsd: Likewise.
1107
1108 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
1109
1110 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
1111
1112 2012-04-24 Sriraman Tallam <tmsriram (a] google.com>
1113
1114 * libgcc/config/i386/i386-cpuinfo.c: New file.
1115 * libgcc/config/i386/t-cpuinfo: New file.
1116 * libgcc/config.host: Include t-cpuinfo.
1117 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
1118
1119 2012-04-24 Chao-ying Fu <fu (a] mips.com>
1120
1121 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
1122
1123 2012-04-20 Thomas Schwinge <thomas (a] codesourcery.com>
1124
1125 struct siginfo vs. siginfo_t
1126
1127 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
1128 siginfo_t instead of struct siginfo.
1129 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
1130 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
1131 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
1132 (ia64_handle_unwabi): Likewise.
1133 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
1134 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
1135 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
1136 (sh_fallback_frame_state): Likewise.
1137 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
1138 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
1139
1140 2012-04-02 H.J. Lu <hongjiu.lu (a] intel.com>
1141
1142 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
1143 system call number.
1144
1145 2012-03-31 Eric Botcazou <ebotcazou (a] adacore.com>
1146
1147 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
1148 if it hasn't been previously saved.
1149
1150 2012-03-29 H.J. Lu <hongjiu.lu (a] intel.com>
1151
1152 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
1153 only for glibc.
1154
1155 2012-03-28 Georg-Johann Lay <avr (a] gjlay.de>
1156
1157 PR target/52737
1158 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
1159 instead of __AVR_HAVE_8BIT_SP__.
1160
1161 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
1162
1163 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
1164 (unw_table_entry): Use unw_word instead of unsigned long.
1165 (_Unwind_FindTableEntry): Likewise.
1166 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
1167 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
1168 (_Unwind_FindTableEntry): Likewise.
1169 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
1170 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
1171 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
1172 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
1173 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
1174 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
1175 (uw_init_context_1, uw_install_context): Likewise.
1176 (unw_word): Move to unwind-ia64.h
1177
1178 2012-03-26 Tristan Gingold <gingold (a] adacore.com>
1179
1180 * config/vms/vms-ucrt0.c: Update copyright years.
1181 Add a sanity check.
1182 (___gcc_main_flags): Declare.
1183 (__main): Check flags to remap argv and exit code.
1184 * config.host (*-*-*vms*): Adjust extra_parts.
1185 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
1186 (crt0.o): Add.
1187
1188 2012-03-22 Richard Earnshaw <rearnsha (a] arm.com>
1189
1190 * arm/lib1funcs.asm (ctzsi2): New function.
1191 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
1192 * arm/t-linux (LIB1ASMFUNCS): Likewise.
1193 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
1194 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
1195 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
1196 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
1197
1198 2012-03-21 Andreas Tobler <andreast (a] fgznet.ch>
1199
1200 * config.host: Add bits to support powerpc64-*-freebsd*.
1201 * config/rs6000/freebsd-unwind.h: New file.
1202 * config/rs6000/t-freebsd64: New file.
1203
1204 2012-03-20 Richard Guenther <rguenther (a] suse.de>
1205
1206 PR gcov-profile/52627
1207 * libgcov.c (init_mx): Fix mutex name.
1208
1209 2012-03-16 Tristan Gingold <gingold (a] adacore.com>
1210
1211 * config/ia64/vms-unwind.h: Remove ulong (and replace
1212 it by unw_reg where used). Define unw_reg with __int64.
1213
1214 2012-03-14 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1215
1216 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1217 Solaris 8 handling.
1218 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1219 Solaris 8 handling.
1220 (sparc_is_sighandler): Likewise.
1221
1222 2012-03-13 H.J. Lu <hongjiu.lu (a] intel.com>
1223
1224 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
1225 <= saved reg size.
1226
1227 2012-03-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1228
1229 * config/arm/crtn.S: Fix typo.
1230
1231 2012-03-13 Richard Guenther <rguenther (a] suse.de>
1232
1233 * libgcov.c: Remove stdio.h include and NULL un-define.
1234
1235 2012-03-13 Richard Guenther <rguenther (a] suse.de>
1236
1237 PR target/52569
1238 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
1239
1240 2012-03-13 Richard Guenther <rguenther (a] suse.de>
1241
1242 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
1243
1244 2012-03-13 Richard Guenther <rguenther (a] suse.de>
1245
1246 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
1247 and __gthread_mutex_init_function definitions.
1248
1249 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1250
1251 * config.host (mips*-*-openbsd*): Remove.
1252
1253 2012-03-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1254
1255 * config.host: Remove alpha*-dec-osf5.1* handling.
1256 * config/alpha/gthr-posix.c: Remove.
1257 * config/alpha/libgcc-osf5.ver: Remove.
1258 * config/alpha/osf5-unwind.h: Remove.
1259 * config/alpha/t-osf-pthread: Remove.
1260 * config/alpha/t-slibgcc-osf: Remove.
1261 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
1262 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
1263 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
1264 * mkmap-flat.awk: Remove osf_export handling.
1265
1266 2012-03-12 Richard Guenther <rguenther (a] suse.de>
1267
1268 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
1269 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1270 (__gthread_mutex_init_function): New function.
1271 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
1272
1273 PR gcov/49484
1274 * libgcov.c: Include gthr.h.
1275 (__gcov_flush_mx): New global variable.
1276 (init_mx, init_mx_once): New functions.
1277 (__gcov_flush): Protect self with a mutex.
1278 (__gcov_fork): Re-initialize mutex after forking.
1279 * unwind-dw2-fde.c: Change condition under which to use
1280 __GTHREAD_MUTEX_INIT_FUNCTION.
1281
1282 2012-03-12 Tristan Gingold <gingold (a] adacore.com>
1283
1284 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
1285 * config/ia64/t-vms: Likewise.
1286
1287 2012-03-11 Michael Hope <michael.hope (a] linaro.org>
1288
1289 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
1290 for Thumb-2.
1291
1292 2012-03-07 Walter Lee <walt (a] tilera.com>
1293
1294 * config/tilepro/atomic.c: Rename "atomic_" prefix to
1295 "arch_atomic_".
1296 (atomic_xor): Rename and move definition to
1297 config/tilepro/atomic.h.
1298 (atomic_nand): Ditto.
1299 * config/tilepro/atomic.h: Rename "atomic_" prefix to
1300 "arch_atomic_".
1301 (arch_atomic_xor): Move from config/tilepro/atomic.c.
1302 (arch_atomic_nand): Ditto.
1303
1304 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
1305
1306 PR target/52507
1307 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
1308
1309 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
1310
1311 PR target/52505
1312 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
1313 from RAM.
1314
1315 2012-03-07 Georg-Johann Lay <avr (a] gjlay.de>
1316
1317 PR target/52461
1318 PR target/52508
1319 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
1320 if RAMPZ affects reading from RAM.
1321 (__tablejump_elpm__): Ditto.
1322 (.xload): Ditto.
1323 (__movmemx_hi): Ditto.
1324 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
1325 (__do_global_dtors): Ditto.
1326 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
1327 (__movmemx_hi): Ditto.
1328
1329 2012-03-05 Richard Henderson <rth (a] redhat.com>
1330
1331 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
1332 [ARM] (count_trailing_zeros): Use the builtin.
1333
1334 2012-03-01 Kai Tietz <ktietz (a] redhat.com>
1335
1336 * soft-fp: Imported from glibc upstream.
1337
1338 2012-02-28 Kai Tietz <ktietz (a] redhat.com>
1339
1340 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
1341 for mingw-targets as attribute gcc_struct.
1342
1343 2012-02-28 Ian Lance Taylor <iant (a] google.com>
1344
1345 * generic-morestack.c (__splitstack_releasecontext): Correct call
1346 to __morestack_release_segments.
1347
1348 2012-02-27 Samuel Thibault <samuel.thibault (a] ens-lyon.org>
1349
1350 PR target/52390
1351 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
1352 for __linux__ when removing signals from __morestack_fullmask.
1353
1354 2012-02-23 Georg-Johann Lay <avr (a] gjlay.de>
1355
1356 PR target/52261
1357 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
1358
1359 2012-02-23 Ulrich Weigand <Ulrich.Weigand (a] de.ibm.com>
1360
1361 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
1362 instead of HAVE_INITFINI_ARRAY.
1363 * config/ia64/crtend.S: Likewise.
1364
1365 2012-02-20 Kai Tietz <ktietz (a] redhat.com>
1366
1367 PR libstdc++/52300
1368 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
1369
1370 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
1371 to w32-unwind.h header.
1372
1373 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
1374
1375 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
1376 (mips*-*-linux*): Remove t-slibgcc-libgcc.
1377 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
1378 * config/mips/mips16.S (__mips16_rdhwr): Delete.
1379
1380 2012-02-19 Richard Sandiford <rdsandiford (a] googlemail.com>
1381
1382 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
1383
1384 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
1385
1386 PR libitm/52220
1387 * config/darwin-crt-tm.c: Correct typo.
1388
1389 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
1390 Patrick Marlier <patrick.marlier (a] gmail.com>
1391
1392 PR libitm/52220
1393 * config/darwin-crt-tm.c: Generate dummy functions.
1394
1395 2012-02-15 Iain Sandoe <iains (a] gcc.gnu.org>
1396 Patrick Marlier <patrick.marlier (a] gmail.com>
1397
1398 PR libitm/52042
1399 * config/darwin-crt-tm.c (getTMCloneTable): New function.
1400 (__doTMRegistrations): Call it.
1401 (__doTMdeRegistrations): Likewise.
1402
1403 2012-01-15 Georg-Johann Lay <avr (a] gjlay.de>
1404 Anatoly Sokolov <aesok (a] post.ru>
1405 Eric Weddington <eric.weddington (a] atmel.com>
1406
1407 PR target/52261
1408 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
1409 (__epilogue_restores__): Ditto.
1410
1411 2012-02-15 Eric Botcazou <ebotcazou (a] adacore.com>
1412
1413 PR target/51921
1414 PR target/52205
1415 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
1416 Solaris 11 and slightly reformat.
1417 (sparc_is_sighandler): Likewise.
1418
1419 2012-02-14 Walter Lee <walt (a] tilera.com>
1420
1421 * config.host: Handle tilegx and tilepro.
1422 * config/tilegx/sfp-machine.h: New file.
1423 * config/tilegx/sfp-machine32.h: New file.
1424 * config/tilegx/sfp-machine64.h: New file.
1425 * config/tilegx/t-crtstuff: New file.
1426 * config/tilegx/t-softfp: New file.
1427 * config/tilegx/t-tilegx: New file.
1428 * config/tilepro/atomic.c: New file.
1429 * config/tilepro/atomic.h: New file.
1430 * config/tilepro/linux-unwind.h: New file.
1431 * config/tilepro/sfp-machine.h: New file.
1432 * config/tilepro/softdivide.c: New file.
1433 * config/tilepro/softmpy.S: New file.
1434 * config/tilepro/t-crtstuff: New file.
1435 * config/tilepro/t-tilepro: New file.
1436
1437 2012-02-07 Jonathan Wakely <jwakely.gcc (a] gmail.com>
1438
1439 PR libstdc++/51296
1440 PR libstdc++/51906
1441 * gthr-posix.h: Allow static initializer macros to be disabled.
1442 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
1443
1444 2012-02-05 Chung-Lin Tang <cltang (a] codesourcery.com>
1445
1446 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
1447 Add t-slibgcc-libgcc to tmake_file.
1448 * config/mips/libgcc-mips16.ver: Revert previous patch.
1449 * config/mips/mips16.S (__mips16_rdhwr): Hide.
1450
1451 2012-02-02 Sumanth G <sumanth.gundapaneni (a] kpitcummins.com>
1452 Jayant R Sonar <jayant.sonar (a] kpitcummins.com>
1453
1454 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
1455 * config/cr16/crti.S: New file.
1456 * config/cr16/crtlibid.S: New file.
1457 * config/cr16/crtn.S: New file.
1458 * config/cr16/lib1funcs.S: New file.
1459 * config/cr16/t-cr16: New file.
1460 * config/cr16/t-crtlibid: New file.
1461 * config/cr16/unwind-dw2.h: New file.
1462 * config/cr16/unwind-cr16.c: New file.
1463 * config/cr16/divmodhi3.c: New file.
1464
1465 2012-01-25 Alan Modra <amodra (a] gmail.com>
1466
1467 * config/rs6000/t-linux64: Delete. Move..
1468 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
1469 * config/rs6000/t-linux: ..and libgcc flags to here.
1470
1471 2012-01-22 Douglas B Rupp <rupp (a] gnat.com>
1472
1473 * config.host (i[34567]86-*-interix3*):
1474 Change triplet to i[34567]86-*-interix[3-9]*.
1475 * configure: Regenerate.
1476
1477 2012-01-15 Chung-Lin Tang <cltang (a] codesourcery.com>
1478 Richard Sandiford <rdsandiford (a] googlemail.com>
1479
1480 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
1481 * config/mips/mips16.S (__mips16_rdhwr): New function.
1482 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
1483
1484 2012-01-11 Nathan Sidwell <nathan (a] acm.org>
1485
1486 * libgcov.c (__gcov_init): Ignore objects with no functions.
1487
1488 2012-01-10 Georg-Johann Lay <avr (a] gjlay.de>
1489
1490 PR target/49868
1491 Extend __pgmx semantics to linearize memory.
1492 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
1493 * config/avr/lib1funcs.S (__xload_1): New function.
1494 (__movmemx_qi, __movmemx_hi): New functions.
1495 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
1496 semantics.
1497
1498 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
1499
1500 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
1501 purported sigacthandler address isn't null before dereferencing it.
1502 (sparc_is_sighandler): Likewise.
1503
1504 2012-01-09 Eric Botcazou <ebotcazou (a] adacore.com>
1505
1506 PR ada/41929
1507 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
1508 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
1509 (sparc_is_sighandler): Likewise.
1510 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
1511
1512 2012-01-06 Tristan Gingold <gingold (a] adacore.com>
1513
1514 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
1515 compatibility thunks...
1516 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
1517 (crtbeginS.o, crtendS.o): ... and these to ...
1518 * config/ia64/t-ia64-elf: ... this new file.
1519 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
1520 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
1521
1522 2012-01-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
1523
1524 * configure: Regenerate.
1525 * config/s390/t-crtstuff: Remove -fPIC.
1526
1527 2012-01-02 Jonathan Wakely <jwakely.gcc (a] gmail.com>
1528
1529 PR bootstrap/51006
1530 * enable-execute-stack-mprotect.c (getpagesize): Do not define
1531 for NetBSD.
1532
1533 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
1534
1535 PR target/51345
1536 * config/avr/lib1funcs.S: Remove FIXME comments.
1537 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
1538
1539 2012-01-02 Georg-Johann Lay <avr (a] gjlay.de>
1540
1541 Implement light-weight DImode support.
1542 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
1543 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
1544 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
1545 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
1546
1547 2011-12-30 Nathan Sidwell <nathan (a] acm.org>
1548
1549 * libgcov.c (gcov_crc32): Remove global var.
1550 (free_fn_data): New function.
1551 (buffer_fn_data): Pass in filename, more robust error recovery.
1552 (crc32_unsigned): New function.
1553 (gcov_exit): More robust detection of new program. More robust
1554 error recovery.
1555 (__gcov_init): Do not update program's crc here.
1556
1557 2011-12-21 Tristan Gingold <gingold (a] adacore.com>
1558
1559 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
1560
1561 2011-12-21 Ian Lance Taylor <iant (a] google.com>
1562
1563 * config/i386/morestack.S: Simplify CFI opcodes throughout.
1564
1565 2011-12-20 Ian Lance Taylor <iant (a] google.com>
1566
1567 * config/i386/morestack.S (__morestack_non_split): If there is
1568 enough stack space already, don't split. Ask for more stack space
1569 than we required.
1570
1571 2011-12-20 Sergio Durigan Junior <sergiodj (a] redhat.com>
1572
1573 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
1574 `sys/sdt.h'.
1575 (_Unwind_DebugHook): New function.
1576 (uw_restore_core_regs): New define.
1577 (unwind_phase2): Use uw_restore_core_regs instead of
1578 restore_core_regs.
1579 (unwind_phase2_forced): Likewise.
1580 (__gnu_Unwind_Resume): Likewise.
1581
1582 2011-12-20 Uros Bizjak <ubizjak (a] gmail.com>
1583
1584 * config/alpha/linux-unwind.h: Update copyright years.
1585 (MD_FROB_UPDATE_CONTEXT): New define.
1586 (alpha_frob_update_context): New function.
1587
1588 2011-12-17 Richard Sandiford <rdsandiford (a] googlemail.com>
1589
1590 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
1591 tmake_file rather replacing it.
1592
1593 2011-12-15 Iain Sandoe <iains (a] gcc.gnu.org>
1594
1595 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1596 function is not used for PPC64.
1597 (save_world): Amend comments. Update the VRsave mask to reflect the
1598 saved regs.
1599 (rest_world): Update comments, do not clobber r10, do not use r8.
1600 (eh_rest_world_r10): Amend comments, do not use r8.
1601 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
1602 no longer used, move restore of CR and target address to the end of
1603 the routine.
1604
1605 2011-12-14 H.J. Lu <hongjiu.lu (a] intel.com>
1606
1607 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
1608 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
1609
1610 2011-12-14 Georg-Johann Lay <avr (a] gjlay.de>
1611
1612 PR target/49313
1613 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
1614 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
1615
1616 2011-12-11 Eric Botcazou <ebotcazou (a] adacore.com>
1617
1618 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
1619
1620 2011-12-09 Georg-Johann Lay <avr (a] gjlay.de>
1621
1622 PR target/49313
1623 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
1624 * config/avr/lib1funcs.S (__muldi3): New function.
1625
1626 2011-12-06 Andrew Pinski <apinski (a] cavium.com>
1627
1628 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
1629 size of func_ptr.
1630 (__frame_dummy_init_array_entry): Likewise.
1631
1632 2011-12-06 Georg-Johann Lay <avr (a] gjlay.de>
1633
1634 Forward-port from gcc-4_6-branch r181936 2011-12-02.
1635
1636 PR target/51345
1637 PR target/51002
1638 * config/avr/lib1funcs.S (__prologue_saves__,
1639 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
1640 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
1641
1642 2011-12-04 Iain Sandoe <iains (a] gcc.gnu.org>
1643
1644 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
1645
1646 2011-11-30 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
1647
1648 PR other/51272
1649 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
1650 (_ITM_deregisterTMCloneTable): Likewise.
1651 (__register_frame_info): Fix unused warning.
1652 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
1653 pthread_default_stacksize_np): Likewise.
1654 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1655
1656 2011-11-29 DJ Delorie <dj (a] redhat.com>
1657
1658 * config.host (rl78-*-elf): New case.
1659 * config/rl78: New directory for the Renesas RL78.
1660
1661 2011-11-29 Bernd Schmidt <bernds (a] codesourcery.com>
1662
1663 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
1664 formatting.
1665
1666 2011-11-28 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1667
1668 PR other/51022
1669 * config/rs6000/t-savresfgpr: New file.
1670 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
1671 $(srcdir)/config/rs6000/eabi.S.
1672 * config/rs6000/t-ppccomm-ldbl: Remove.
1673 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
1674 tmake_file.
1675 (powerpc-*-eabispe*): Likewise.
1676 (powerpc-*-eabi*): Likewise.
1677 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
1678 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
1679 to tmake_file, remove rs6000/t-ppccomm-ldbl.
1680 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
1681 tmake_file.
1682 (powerpc-*-eabisim*): Likewise.
1683 (powerpc-*-elf*): Likewise.
1684 (powerpc-*-eabialtivec*): Likewise.
1685 (powerpc-xilinx-eabi*): Likewise.
1686 (powerpc-*-rtems*): Likewise.
1687 (powerpcle-*-elf*): Likewise.
1688 (powerpcle-*-eabisim*): Likewise.
1689 (powerpcle-*-eabi*): Likewise.
1690
1691 2011-11-27 Ian Lance Taylor <iant (a] google.com>
1692
1693 * generic-morestack.c (__splitstack_find): Check for NULL old
1694 stack value.
1695 (__splitstack_resetcontext): New function.
1696 (__splitstack_releasecontext): New function.
1697 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1698
1699 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
1700
1701 * config/darwin-crt-tm.c: Correct comments, use correct licence.
1702
1703 2011-11-27 Iain Sandoe <iains (a] gcc.gnu.org>
1704
1705 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
1706
1707 2011-11-26 Richard Henderson <rth (a] redhat.com>
1708
1709 * config/m68k/linux-atomic.c: New file.
1710 * config/m68k/t-linux: New file.
1711 * config.host (m68k-uclinux, m68k-linux): Use it.
1712
1713 2011-11-26 Richard Henderson <rth (a] redhat.com>
1714
1715 * crtstuff.c (__TMC_LIST__): Mark used not unused.
1716 (__TMC_END__): Only declare if hidden is available; in the definition,
1717 if hidden is unavailable add a null record.
1718 (deregister_tm_clones, register_tm_clones): New.
1719 (__do_global_dtors_aux, frame_dummy): Use them.
1720 (__do_global_dtors, __do_global_ctors_1): Likewise.
1721
1722 2011-11-22 Iain Sandoe <iains (a] gcc.gnu.org>
1723
1724 * config/darwin-crt-tm.c: New file.
1725 * config.host (darwin): Build crttms.o crttme.o to provide
1726 startup and shutdown for tm clones.
1727 * config/t-darwin (crttms.o): New build rule.
1728 (crttme.o): Likewise.
1729
1730 2011-11-21 Hans-Peter Nilsson <hp (a] axis.com>
1731
1732 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
1733 et al.
1734
1735 2011-11-21 Richard Henderson <rth (a] redhat.com>
1736
1737 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
1738 (__TMC_LIST__, __TMC_END__): New.
1739 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
1740 (__do_global_dtors): Likewise.
1741 (frame_dummy): Call _ITM_registerTMCloneTable.
1742 (__do_global_ctors_1): Likewise.
1743
1744 2011-11-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1745
1746 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
1747 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
1748 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
1749 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
1750 * config/i386/t-darwin64: Remove.
1751 * config/sh/t-netbsd (LIB2ADD): Remove.
1752
1753 2011-11-21 Georg-Johann Lay <avr (a] gjlay.de>
1754
1755 PR target/49313
1756 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
1757 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
1758 * config/avr/lib1funcs.S (wmov): New assembler macro.
1759 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
1760 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
1761 (__udivmod64): New function.
1762 (__negdi2): New function.
1763
1764 2011-11-21 Gerald Pfeifer <gerald (a] pfeifer.com>
1765
1766 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
1767 *-*-freebsd*aout*): Remove.
1768
1769 2011-11-20 Hans-Peter Nilsson <hp (a] axis.com>
1770
1771 * static-object.mk (c_flags-$o): Save c_flags.
1772 ($(base)$(objext)): Use it.
1773
1774 2011-11-18 Steve Ellcey <sje (a] cup.hp.com>
1775
1776 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
1777
1778 2011-11-18 Georg-Johann Lay <avr (a] gjlay.de>
1779
1780 PR target/49868
1781 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
1782 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
1783 New functions.
1784
1785 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
1786
1787 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
1788 functions.
1789 (aeabi_uidivmod): Likewise.
1790 (umodsi3): Likewise.
1791 (divsi3): Likewise.
1792 (aeabi_idivmod): Likewise.
1793 (modsi3): Likewise.
1794
1795 2011-11-16 Tristan Gingold <gingold (a] adacore.com>
1796
1797 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
1798
1799 2011-11-15 Georg-Johann Lay <avr (a] gjlay.de>
1800
1801 PR target/49868
1802 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
1803 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
1804
1805 2011-11-13 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
1806
1807 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
1808 tmake_file list.
1809 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
1810 * config/pa/t-stublib64: Delete.
1811
1812 2011-11-12 Richard Henderson <rth (a] redhat.com>
1813
1814 * config/rs6000/linux-unwind.h (frob_update_context): Properly
1815 cast the pointer argument to _Unwind_SetGRPtr.
1816
1817 2011-11-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1818
1819 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
1820
1821 2011-11-09 Ian Lance Taylor <iant (a] google.com>
1822
1823 * generic-morestack.c: Include <string.h>.
1824 (uintptr_type): Define.
1825 (struct initial_sp): Add dont_block_signals field. Reduce size of
1826 extra array by 1.
1827 (allocate_segment): Set prev field to NULL. Don't set
1828 __morestack_current_segment or __morestack_segments.
1829 (__generic_morestack): Update current->prev and *pp after calling
1830 allocate_segment.
1831 (__morestack_block_signals): Don't do anything if
1832 dont_block_signals is set.
1833 (__morestack_unblock_signals): Likewise.
1834 (__generic_findstack): Check for initial_sp == NULL. Add casts to
1835 uintptr_type.
1836 (__splitstack_block_signals): New function.
1837 (enum __splitstack_content_offsets): Define.
1838 (__splitstack_getcontext, __splitstack_setcontext): New functions.
1839 (__splitstack_makecontext): New function.
1840 (__splitstack_block_signals_context): New function.
1841 (__splitstack_find_context): New function.
1842 * config/i386/morestack.S (__morestack_get_guard): New function.
1843 (__morestack_set_guard, __morestack_make_guard): New functions.
1844 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
1845
1846 2011-11-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1847
1848 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
1849 (i[34567]86-*-mingw*): ... here.
1850 (x86_64-*-mingw*): ... here.
1851
1852 2011-11-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1853
1854 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
1855
1856 2011-11-07 Nathan Sidwell <nathan (a] acm.org>
1857
1858 * libgcov.c (struct gcov_fn_buffer): New struct.
1859 (buffer_fn_data): New helper.
1860 (gcov_exit): Rework for new gcov data structures.
1861
1862 2011-11-07 Georg-Johann Lay <avr (a] gjlay.de>
1863
1864 PR target/49313
1865 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
1866
1867 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1868
1869 * config.host (tmake_file): Correct comment.
1870 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
1871 t-libgcc-pic.
1872 (bfin*-uclinux*): Likewise.
1873 (bfin*-linux-uclibc*): Likewise.
1874 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
1875
1876 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
1877 assigning.
1878 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1879 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
1880 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1881 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
1882 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1883 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
1884 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
1885 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
1886 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
1887 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
1888 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
1889 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
1890 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
1891
1892 * config/bfin/t-elf: Remove.
1893 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
1894
1895 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1896
1897 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
1898 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
1899 (lm32-*-elf*, lm32-*-rtems*): Split into ...
1900 (lm32-*-elf*): ... this.
1901 (lm32-*-rtems*): ... and this.
1902 Add to tmake_file.
1903 (m32r-*-rtems*): Add to tmake_file.
1904 (moxie-*-rtems*): Likewise.
1905 (sparc-*-rtems*): Likewise.
1906 Remove t-rtems from tmake_file.
1907 (sparc64-*-rtems*): Likewise.
1908 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
1909 instead.
1910
1911 2011-11-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1912
1913 PR bootstrap/50982
1914 * config/gthr-posix.h: Move ...
1915 * gthr-posix.h: ... here.
1916 * config/gthr-lynx.h: Reflect this.
1917 * config/gthr-vxworks.h: Likewise.
1918 * config/rs6000/gthr-aix.h: Likewise.
1919 * configure.ac (target_thread_file): Likewise.
1920 * configure: Regenerate.
1921
1922 2011-11-06 Sebastian Huber <sebastian.huber (a] embedded-brains.de>
1923
1924 * config.host (arm*-*-rtemseabi*): New target.
1925
1926 2011-11-06 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
1927
1928 PR other/50991
1929 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
1930 extra-parts.
1931
1932 2011-11-05 Joern Rennecke <joern.rennecke (a] embecosm.com>
1933
1934 * config.host (epiphany-*-elf*): New configuration.
1935 * config/epiphany: New Directory.
1936
1937 2011-11-05 Ralf Corspius <ralf.corsepius (a] rtems.org>
1938
1939 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
1940 * config/avr/t-rtems: New.
1941 Filter out _exit from LIB1ASMFUNCS.
1942
1943 2011-11-04 David S. Miller <davem (a] davemloft.net>
1944
1945 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
1946 * configure: Rebuild.
1947
1948 2011-11-04 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
1949
1950 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
1951 variable.
1952
1953 2011-11-04 Georg-Johann Lay <avr (a] gjlay.de>
1954
1955 PR target/50931
1956 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
1957 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
1958
1959 2011-11-04 Joel Sherrill <joel.sherrill (a] oarcorp.com>
1960
1961 PR target/50989
1962 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
1963
1964 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1965
1966 * config/c6x/t-elf (LIB2ADDEH): Set.
1967 * config/c6x/t-c6x-elf: Remove.
1968
1969 2011-11-04 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1970
1971 * config/i386/sol2-ci.S: Rename to ...
1972 * config/i386/crti.S: ... this.
1973 * config/i386/sol2-cn.S: Rename to ...
1974 * config/i386/crtn.S: ... this.
1975 * config/sparc/sol2-ci.S: Rename to ...
1976 * config/sparc/crti.S: ... this.
1977 * config/sparc/sol2-cn.S: Rename to ...
1978 * config/sparc/crtn.S: ... this.
1979 * config/t-sol2 (CUSTOM_CRTIN): Remove.
1980 (crti.o, crtn.o): Remove.
1981
1982 2011-11-04 Tristan Gingold <gingold (a] adacore.com>
1983
1984 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
1985
1986 2011-11-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
1987
1988 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
1989
1990 2011-11-03 Hans-Peter Nilsson <hp (a] axis.com>
1991
1992 * config.host (crisv32-*-none, cris-*-none): Remove.
1993 (crisv32-*-elf): Append to tmake_file, don't just set it.
1994 (cris-*-elf): Add missing t-fdpbit to tmake_file.
1995
1996 2011-11-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
1997
1998 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
1999 (ecrtn$(objext)): Likewise.
2000 (ncrti$(objext)): Likewise.
2001 (ncrtn$(objext)): Likewise.
2002
2003 2011-11-03 Andreas Schwab <schwab (a] redhat.com>
2004
2005 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
2006
2007 2011-11-02 David S. Miller <davem (a] davemloft.net>
2008
2009 * configure.ac: Set host_address on sparc too.
2010 * configure: Regenerate.
2011 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
2012 based upon host_address.
2013 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
2014
2015 2011-11-02 Jason Merrill <jason (a] redhat.com>
2016
2017 * config/rs6000/t-ppccomm: Add missing \.
2018
2019 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2020
2021 * gthr-single.h, gthr.h: New files.
2022 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
2023 config/gthr-vxworks.h, config/i386/gthr-win32.h,
2024 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
2025 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
2026 * config/i386/gthr-win32.c: Include "gthr-win32.h".
2027 * configure.ac (thread_header): New variable.
2028 Set it depending on target_thread_file.
2029 (gthr-default.h): Link from $thread_header.
2030 * configure: Regenerate.
2031 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
2032
2033 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2034
2035 * configure.ac (tm_file_): New variable.
2036 Determine from tm_file.
2037 (tm_file, tm_defines): Substitute.
2038 * configure: Regenerate.
2039 * mkheader.sh: New file.
2040 * Makefile.in (clean): Remove libgcc_tm.h.
2041 ($(objects)): Depend on libgcc_tm.h.
2042 (libgcc_tm_defines, libgcc_tm_file): New variables.
2043 (libgcc_tm.h, libgcc_tm.stamp): New targets.
2044 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
2045 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
2046 ($(extra-parts)): Depend on libgcc_tm.h.
2047 * config.host (tm_defines, tm_file): New variable.
2048 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
2049 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
2050 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
2051 (avr-*-rtems*): Likewise.
2052 (avr-*-*): Likewise.
2053 (frv-*-elf): Likewise.
2054 (frv-*-*linux*): Likewise.
2055 (h8300-*-rtems*): Likewise.
2056 (h8300-*-elf*): Likewise.
2057 (i[34567]86-*-darwin*): Likewise.
2058 (x86_64-*-darwin*): Likewise.
2059 (rx-*-elf): Likewise.
2060 (tic6x-*-uclinux): Likewise.
2061 (tic6x-*-elf): Likewise.
2062 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
2063 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
2064 * config/i386/cygming-crtbegin.c: Likewise.
2065 * config/i386/cygming-crtend.c: Likewise.
2066 * config/ia64/fde-vms.c: Likewise.
2067 * config/ia64/unwind-ia64.c: Likewise.
2068 * config/libbid/bid_gcc_intrinsics.h: Likewise.
2069 * config/rs6000/darwin-fallback.c: Likewise.
2070 * config/stormy16/lib2funcs.c: Likewise.
2071 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
2072 * crtstuff.c: Likewise.
2073 * dfp-bit.h: Likewise.
2074 * emutls.c: Likewise.
2075 * fixed-bit.c: Likewise.
2076 * fp-bit.c: Likewise.
2077 * generic-morestack-thread.c: Likewise.
2078 * generic-morestack.c: Likewise.
2079 * libgcc2.c: Likewise.
2080 * libgcov.c: Likewise.
2081 * unwind-dw2-fde-dip.c: Likewise.
2082 * unwind-dw2-fde.c: Likewise.
2083 * unwind-dw2.c: Likewise.
2084 * unwind-sjlj.c: Likewise.
2085
2086 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2087
2088 * configure.ac: Include ../config/picflag.m4.
2089 (GCC_PICFLAG): Call it.
2090 Substitute.
2091 * configure: Regenerate.
2092 * Makefile.in (gcc_srcdir): Remove.
2093 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
2094 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
2095 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
2096 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
2097 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
2098 Use $<.
2099 Remove comment.
2100 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
2101 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
2102 to refer to libgcc2.c.
2103 Use $<.
2104 * config/darwin-64.c: New file.
2105 * config/darwin-crt3.c: Remove comment.
2106 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
2107 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
2108 config/udivmodsi4.c: New files.
2109 * config/memcmp.c, config/memcpy.c, config/memmove.c,
2110 config/memset.c: New files.
2111 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
2112 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
2113 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
2114 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
2115 * config/t-openbsd-thread: New file.
2116 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
2117 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
2118 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
2119 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
2120 qrnnd.S.
2121 Adapt filename.
2122 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
2123 to refer to gthr-posix.c.
2124 * config/alpha/t-vms (LIB2ADD): Set.
2125 * config/alpha/vms-gcc_shell_handler.c: New file.
2126 * config/arm/bpabi.c, config/arm/fp16.c,
2127 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
2128 config/arm/unaligned-funcs.c: New files.
2129 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
2130 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2131 * config/arm/t-linux: Likewise.
2132 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
2133 * config/arm/t-netbsd: New file.
2134 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
2135 * config/arm/t-symbian (LIB2ADD_ST): Set.
2136 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
2137 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2138 * config/bfin/t-elf: New file.
2139 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
2140 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
2141 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
2142 config/c6x/ltf.c: New files.
2143 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
2144 (HOST_LIBGCC2_CFLAGS): Set.
2145 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
2146 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2147 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
2148 New files.
2149 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
2150 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
2151 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
2152 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
2153 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
2154 files.
2155 * config/frv/t-frv (LIB2ADD): Set.
2156 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2157 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
2158 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
2159 config/h8300/popcounthi2.c: New files.
2160 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2161 * config/i386/gthr-win32.c: New file.
2162 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
2163 * config/i386/t-cygwin: Likewise.
2164 * config/i386/t-darwin, config/i386/t-darwin64,
2165 config/i386/t-gthr-win32, config/i386/t-interix: New files.
2166 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
2167 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2168 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2169 * config/ia64/quadlib.c: New file.
2170 * config/ia64/t-hpux (LIB2ADD): Set.
2171 * config/ia64/t-ia64: Add comment.
2172 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
2173 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2174 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
2175 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
2176 * config/m32c/t-m32c (LIB2ADD): Set.
2177 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2178 * config/m32r/t-m32r: Likewise.
2179 * config/m68k/fpgnulib.c: New file.
2180 * config/m68k/t-floatlib (LIB2ADD): Set.
2181 (xfgnulib.c): New target.
2182 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
2183 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
2184 * config/mep/t-mep (LIB2ADD): Set.
2185 * config/microblaze/divsi3.asm: Rename to divsi3.S.
2186 * config/microblaze/moddi3.asm: Rename to moddi3.S.
2187 * config/microblaze/modsi3.asm: Rename to modsi3.S.
2188 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
2189 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
2190 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
2191 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
2192 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
2193 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
2194 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
2195 New files.
2196 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
2197 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
2198 * config/pa/fptr.c, config/pa/lib2funcs.S,
2199 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
2200 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
2201 (LIB2ADD, LIB2ADD_ST): Set.
2202 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
2203 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
2204 Set.
2205 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
2206 * config/pdp11/t-pdp11: New file.
2207 * config/picochip/libgccExtras/adddi3.S,
2208 config/picochip/libgccExtras/ashlsi3.S,
2209 config/picochip/libgccExtras/ashrsi3.S,
2210 config/picochip/libgccExtras/clzsi2.S,
2211 config/picochip/libgccExtras/cmpsi2.S,
2212 config/picochip/libgccExtras/divmod15.S,
2213 config/picochip/libgccExtras/divmodhi4.S,
2214 config/picochip/libgccExtras/divmodsi4.S,
2215 config/picochip/libgccExtras/lshrsi3.S,
2216 config/picochip/libgccExtras/parityhi2.S,
2217 config/picochip/libgccExtras/popcounthi2.S,
2218 config/picochip/libgccExtras/subdi3.S,
2219 config/picochip/libgccExtras/ucmpsi2.S,
2220 config/picochip/libgccExtras/udivmodhi4.S,
2221 config/picochip/libgccExtras/udivmodsi4.S: New files.
2222 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
2223 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
2224 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
2225 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
2226 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
2227 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
2228 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
2229 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
2230 files.
2231 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
2232 (HOST_LIBGCC2_CFLAGS): Set.
2233 * config/rs6000/t-darwin64: New file.
2234 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
2235 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
2236 * config/rs6000/t-ppccomm (LIB2ADD): Add
2237 $(srcdir)/config/rs6000/tramp.S.
2238 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
2239 Add $(srcdir)/config/rs6000/eabi.S.
2240 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
2241 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
2242 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
2243 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
2244 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
2245 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
2246 * config/rs6000/tramp.S: New file.
2247 * config/s390/t-tpf: Remove.
2248 * config/sh/linux-atomic.S: New file.
2249 * config/sh/t-linux (LIB2ADD): Set.
2250 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
2251 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
2252 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
2253 to unwind-dw2.c.
2254 (HOST_LIBGCC2_CFLAGS): Set.
2255 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
2256 * config/spu/divmodti4.c, config/spu/divv2df3.c,
2257 config/spu/float_disf.c, config/spu/float_unsdidf.c,
2258 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
2259 config/spu/mfc_multi_tag_release.c,
2260 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
2261 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
2262 config/spu/multi3.c: New files.
2263 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
2264 (HOST_LIBGCC2_CFLAGS): Set.
2265 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
2266 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
2267 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
2268 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
2269 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
2270 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
2271 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
2272 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
2273 config/stormy16/umodsi3.c: New files.
2274 * config/xtensa/lib2funcs.S: New file.
2275 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
2276 * config/xtensa/t-xtensa (LIB2ADD): Set.
2277 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
2278 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
2279 Add t-freebsd-thread to tmake_file for posix threads.
2280 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
2281 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
2282 (*-*-lynxos*): Likewise.
2283 (*-*-netbsd*): Likewise.
2284 (*-*-openbsd*): Likewise.
2285 Add t-openbsd-thread to tmake_file for posix threads.
2286 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
2287 (*-*-vxworks*): Set tmake_file.
2288 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2289 (alpha*-*-freebsd*): Likewise.
2290 (alpha*-*-netbsd*): Likewise.
2291 (alpha*-*-openbsd*): Likewise.
2292 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
2293 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
2294 (alpha*-dec-*vms*): Likewise.
2295 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
2296 (bfin*-elf*): Add bfin/t-elf to tmake_file.
2297 (bfin*-uclinux*): Likewise.
2298 (bfin*-linux-uclibc*): Likewise.
2299 (crisv32-*-elf): Add cris/t-cris to tmake_file.
2300 (crisv32-*-none): Likewise.
2301 (cris-*-elf): Likewise.
2302 (cris-*-none): Likewise.
2303 (cris-*-linux*, crisv32-*-linux*): Likewise.
2304 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
2305 tmake_file.
2306 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
2307 tmake_file.
2308 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
2309 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
2310 (x86_64-*-elf*): Likewise.
2311 (i[34567]86-*-nto-qnx*): Likewise.
2312 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
2313 win32 threads.
2314 (x86_64-*-mingw*): Likewise.
2315 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
2316 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
2317 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2318 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2319 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
2320 tmake_file.
2321 (mipsisa64sr71k-*-elf*): Likewise.
2322 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2323 (mips-*-elf*, mipsel-*-elf*): Likewise.
2324 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2325 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2326 (mips*-*-rtems*): Likewise.
2327 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
2328 to tmake_file.
2329 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
2330 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
2331 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
2332 (spu-*-elf*): Likewise.
2333 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
2334
2335 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2336
2337 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
2338 $(srcdir) to refer to $(LIB1ASMSRC).
2339 Use $<.
2340 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
2341 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
2342 config/arm/lib1funcs.S: New files.
2343 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
2344 * config/arm/t-arm: New file.
2345 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
2346 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
2347 config/arm/t-strongarm-elf: New files.
2348 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
2349 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
2350 * config/avr/lib1funcs.S: New file.
2351 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2352 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
2353 * config/c6x/lib1funcs.S: New file.
2354 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2355 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
2356 * config/frv/lib1funcs.S: New file.
2357 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2358 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
2359 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
2360 * config/ia64/__divxf3.asm: Rename to ...
2361 * config/ia64/__divxf3.S: ... this.
2362 Adapt lib1funcs.asm filename.
2363 * config/ia64/_fixtfdi.asm: Rename to ...
2364 * config/ia64/_fixtfdi.S: ... this.
2365 Adapt lib1funcs.asm filename.
2366 * config/ia64/_fixunstfdi.asm: Rename to ...
2367 * config/ia64/_fixunstfdi.S: ... this.
2368 Adapt lib1funcs.asm filename.
2369 * config/ia64/_floatditf.asm: Rename to ...
2370 * config/ia64/_floatditf.S: ... this.
2371 Adapt lib1funcs.asm filename.
2372 * config/ia64/lib1funcs.S: New file.
2373 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
2374 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2375 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
2376 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
2377 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
2378 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
2379 * config/mep/lib1funcs.S: New file.
2380 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2381 * config/mips/mips16.S: New file.
2382 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2383 * config/pa/milli64.S: New file.
2384 * config/pa/t-linux, config/pa/t-linux64: New files.
2385 * config/picochip/lib1funcs.S: New file.
2386 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2387 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
2388 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
2389 * config/sh/t-netbsd: New file.
2390 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
2391 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
2392 * config/sh/t-sh64: New file.
2393 * config/sparc/lb1spc.S: New file.
2394 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
2395 filename.
2396 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
2397 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
2398 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
2399 config/xtensa/lib1funcs.S: New files.
2400 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
2401 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
2402 tmake_file.
2403 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
2404 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
2405 (arm*-*-linux*): Likewise.
2406 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
2407 arm*-*-linux-*eabi, add arm/t-linux otherwise.
2408 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
2409 (arm*-*-ecos-elf): Likewise.
2410 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
2411 (arm*-*-rtems*): Likewise.
2412 (arm*-*-elf): Likewise.
2413 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
2414 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
2415 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
2416 (bfin*-uclinux*): Likewise.
2417 (bfin*-linux-uclibc*): Likewise.
2418 (bfin*-rtems*): Likewise.
2419 (bfin*-*): Likewise.
2420 (fido-*-elf): Merge into m68k-*-elf*.
2421 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
2422 (frv-*-*linux*): Add frv/t-frv to tmake_file.
2423 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
2424 (h8300-*-elf*): Likewise.
2425 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
2426 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
2427 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
2428 (i[34567]86-*-mingw*): Likewise.
2429 (x86_64-*-mingw*): Likewise.
2430 (i[34567]86-*-interix3*): Likewise.
2431 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
2432 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
2433 (m68k-*-elf*): Also handle fido-*-elf.
2434 Add m68k/t-floatlib to tmake_file.
2435 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
2436 (m68k-*-linux*): Likewise.
2437 (m68k-*-rtems*): Likewise.
2438 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
2439 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
2440 sh64*-*-*.
2441 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
2442 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
2443 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
2444 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
2445 sh/t-netbsd to tmake_file.
2446 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
2447 (sh-*-rtems*): Add sh/t-sh to tmake_file.
2448 (sh-wrs-vxworks): Likewise.
2449 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
2450 *-leon[3-9]*.
2451 (v850*-*-*): Add v850/t-v850 to tmake_file.
2452 (vax-*-linux*): Add vax/t-linux to tmake_file.
2453 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
2454
2455 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2456
2457 * crtstuff.c: New file.
2458 * Makefile.in (CRTSTUFF_CFLAGS): Define.
2459 (CRTSTUFF_T_CFLAGS): Define.
2460 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
2461 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
2462 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
2463 crtstuff.c.
2464 Use $<.
2465 (crtbeginT.o): Use $(objext).
2466 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
2467 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
2468 (gcc-extra-parts): Remove.
2469 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
2470 Set extra_parts.
2471 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2472 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
2473 Add t-crtstuff-pic to tmake_file.
2474 (*-*-lynxos*): New case.
2475 Set tmake_file, extra_parts.
2476 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
2477 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
2478 *-*-netbsdelf[2-9]*.
2479 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
2480 (*-*-rtems*): Set extra_parts.
2481 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
2482 (*-*-uclinux*): New case.
2483 Set extra_parts.
2484 (*-*-vms*): New case.
2485 Set tmake_file, extra_parts.
2486 (*-*-elf): Set extra_parts.
2487 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
2488 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
2489 vms/t-vms64.
2490 Set extra_parts.
2491 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
2492 Set extra_parts.
2493 (arm*-*-freebsd*): Add t-crtin to tmake_file.
2494 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
2495 (arm-wrs-vxworks): Append to tmake_file.
2496 Set extra_parts.
2497 (arm*-*-uclinux*): Set extra_parts.
2498 (arm*-*-ecos-elf): Likewise.
2499 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
2500 arm*-*-eabi*.
2501 (arm*-*-rtems*): Set extra_parts.
2502 (arm*-*-elf): Likewise.
2503 (avr-*-rtems*): Clear extra_parts.
2504 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
2505 Set extra_parts.
2506 (bfin*-uclinux*): Likewise.
2507 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
2508 (bfin*-rtems*): Append to tmake_file.
2509 Set extra_parts.
2510 (bfin*-*): Likewise.
2511 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
2512 (crisv32-*-elf): ... this.
2513 (crisv32-*-none): ... this.
2514 (cris-*-elf, cris-*-none): New cases.
2515 Add cris/t-elfmulti to tmake_file.
2516 (fr30-*-elf): Append to tmake_file.
2517 Set extra_parts.
2518 (frv-*-elf): Append to tmake_file, add frv/t-frv.
2519 Set extra_parts.
2520 (h8300-*-rtems*): Append to tmake_file.
2521 Set extra_parts.
2522 (h8300-*-elf*): Likewise.
2523 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
2524 Set extra_parts.
2525 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
2526 Set extra_parts.
2527 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
2528 (x86_64-*-elf*): Likewise.
2529 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
2530 (x86_64-*-freebsd*): Likewise.
2531 (x86_64-*-netbsd*): Likewise.
2532 (i[34567]86-*-linux*): Likewise.
2533 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
2534 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
2535 (x86_64-*-linux*): Likewise.
2536 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
2537 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
2538 tmake_file.
2539 Set extra_parts.
2540 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
2541 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
2542 Append to extra_parts, remove crtbegin.o, crtend.o.
2543 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
2544 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
2545 crtend.o, crtbeginS.o, crtendS.o.
2546 (ia64*-*-linux*): Comment extra_parts.
2547 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
2548 Set extra_parts.
2549 (iq2000*-*-elf*): Clear extra_parts.
2550 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
2551 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
2552 (m32r-*-elf*, m32r-*-rtems*): Split off ...
2553 (m32r-*-rtems*): ... this.
2554 Add m32r/t-m32r to tmake_file.
2555 (m68k-*-elf*): Add t-crtin to tmake_file.
2556 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
2557 (mcore-*-elf): Likewise.
2558 (microblaze*-*-*): Set extra_parts.
2559 (mips*-sde-elf*): New case.
2560 Set tmake_file, extra_parts.
2561 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
2562 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
2563 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
2564 tmake_file.
2565 Set extra_parts.
2566 (mipsisa64sr71k-*-elf*): Likewise.
2567 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
2568 (mips-*-elf*, mipsel-*-elf*): Likewise.
2569 (mips64-*-elf*, mips64el-*-elf*): Likewise.
2570 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
2571 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
2572 (mips*-*-rtems*): Likewise.
2573 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
2574 (moxie-*-*): Split into ...
2575 (moxie-*-elf, moxie-*-uclinux*): ... this.
2576 Add to extra_parts, remove crtbegin.o, crtend.o.
2577 (moxie-*-rtems*): New case.
2578 Set tmake_file.
2579 Clear extra_parts.
2580 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
2581 Set extra_parts.
2582 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
2583 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
2584 tmake_file.
2585 Set extra_parts.
2586 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
2587 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
2588 Set extra_parts.
2589 (powerpc-*-eabisim*): Likewise.
2590 (powerpc-*-elf*): Likewise.
2591 (powerpc-*-eabialtivec*): Likewise.
2592 (powerpc-xilinx-eabi*): Likewise.
2593 (powerpc-*-eabi*): Likewise.
2594 (powerpc-*-rtems*): Likewise.
2595 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
2596 tmake_file.
2597 Set extra_parts.
2598 (powerpc-*-lynxos*): Add to tmake_file.
2599 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
2600 rs6000/t-crtstuff, t-crtstuff-pic.
2601 Set extra_parts.
2602 (powerpcle-*-eabisim*): Likewise.
2603 (powerpcle-*-eabi*): Likewise.
2604 (rx-*-elf): Remove extra_parts.
2605 (s390x-ibm-tpf*): Set extra_parts.
2606 (score-*-elf): Set extra_parts.
2607 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2608 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2609 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2610 (sh64l*-*-netbsd*): Split into ...
2611 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
2612 Add t-crtstuff-pic to tmake_file.
2613 Set extra_parts.
2614 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
2615 Set extra_parts.
2616 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
2617 (sparc-*-elf*): Remove t-crtin from tmake_file.
2618 Add to extra_parts, remove crtbegin.o, crtend.o.
2619 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
2620 (sparc64-*-linux*): Likewise.
2621 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
2622 Add to extra_parts, remove crtbegin.o, crtend.o.
2623 (sparc64-*-elf*): Remove t-crtin from tmake_file.
2624 Add to extra_parts, remove crtbegin.o, crtend.o.
2625 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
2626 Add to extra_parts, remove crtbegin.o, crtend.o.
2627 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
2628 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
2629 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
2630 Set extra_parts.
2631 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
2632 Set extra_parts.
2633 (tic6x-*-*): Change to ...
2634 (tic6x-*-elf): ... this.
2635 Set extra_parts.
2636 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
2637 Set extra_parts.
2638 (am33_2.0-*-linux*): Add comment.
2639 (mep*-*-*): Add mep/t-mep to tmake_file.
2640 Set extra_parts.
2641 * config/alpha/t-vms: New file.
2642 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
2643 * config/arm/crti.S, config/arm/crtn.S: New files.
2644 * config/bfin/crti.S, config/bfin/crtn.S: New files.
2645 * config/bfin/crtlibid.S: New file.
2646 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
2647 * config/c6x/crti.S, config/c6x/crtn.S: New files.
2648 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
2649 (crti.o, crtin.o): New rules.
2650 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2651 * config/c6x/t-uclinux: New file.
2652 * config/cris/t-elfmulti: New file.
2653 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
2654 * config/fr30/crti.S, config/fr30/crtn.S: New files.
2655 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
2656 * config/frv/t-frv: New file.
2657 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
2658 * config/h8300/crti.S, config/h8300/crtn.S: New files.
2659 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
2660 New files.
2661 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
2662 refer to cygming-crtbegin.c, cygming-crtend.c.
2663 Use $<.
2664 * config/i386/t-nto: New file.
2665 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
2666 * config/ia64/crti.S, config/ia64/crtn.S: New files.
2667 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
2668 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
2669 Use .S extension.
2670 Use $<.
2671 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
2672 (crtinitS.o): New rule.
2673 * config/ia64/vms-crtinit.S: New file.
2674 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
2675 * config/m32r/initfini.c: New file.
2676 * config/m32r/t-linux, config/m32r/t-m32r: New files.
2677 * config/m68k/crti.S, config/m68k/crtn.S: New files.
2678 * config/mcore/crti.S, config/mcore/crtn.S: New files.
2679 * config/mep/t-mep: New file.
2680 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
2681 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
2682 * config/mips/crti.S, config/mips/crtn.S: New files.
2683 * config/mips/t-crtstuff: New file.
2684 * config/mmix/crti.S, config/mmix/crtn.S: New files.
2685 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
2686 (CUSTOM_CRTIN): Set.
2687 ($(T)crti.o, $(T)crtn.o): Remove $(T),
2688 dependencies.
2689 Use $(srcdir) to refer to crti.S, crtn.S.
2690 Use .S extension, $<.
2691 * config/moxie/crti.asm: Rename to ...
2692 * config/moxie/crti.S: ... this.
2693 * config/moxie/crtn.asm: Rename to ...
2694 * config/moxie/crtn.S: ... this.
2695 * config/moxie/t-moxie: Remove.
2696 * config/pa/stublib.c: New file.
2697 * config/pa/t-stublib, config/pa/t-stublib64: New files.
2698 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
2699 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
2700 * config/rs6000/t-crtstuff: New file.
2701 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
2702 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
2703 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
2704 Make output file explicit.
2705 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
2706 Make output file explicit.
2707 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
2708 Make output file explicit.
2709 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
2710 Make output file explicit.
2711 * config/score/crti.S, config/score/crtn.S: New files.
2712 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
2713 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
2714 files.
2715 * config/sh/t-sh, config/sh/t-superh: New files.
2716 * config/sparc/t-linux64: New file.
2717 * config/spu/cache.S, config/spu/cachemgr.c: New files.
2718 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
2719 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
2720 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
2721 * config/t-crtin: Remove.
2722 * config/t-crtstuff-pic: New file.
2723 * config/t-sol2 (CUSTOM_CRTIN): Set.
2724 (crti.o, crtn.o): New rules.
2725 * config/vms/t-vms: New file.
2726 * config/vms/vms-ucrt0.c: New file.
2727 * config/xtensa/t-elf: New file.
2728
2729 2011-11-02 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2730
2731 * Makefile.in (SHLIB_NM_FLAGS): Set.
2732 * mkmap-flat.awk, mkmap-symver.awk: New files.
2733 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
2734 exceptions.
2735 * configure: Regenerate.
2736 * config/libgcc-glibc.ver: New file.
2737 * config/libgcc-libsystem.ver: New file.
2738 * config/t-libunwind (SHLIB_LC): Set.
2739 * config/t-linux: New file.
2740 * config/t-slibgcc (INSTALL_SHLIB): New.
2741 (SHLIB_INSTALL): Use it.
2742 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
2743 to mkmap-symver.awk.
2744 (SHLIB_MAPFILES): Don't append, adapt pathname.
2745 (SHLIB_VERPFX): Set.
2746 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
2747 to mkmap-symver.awk.
2748 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
2749 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
2750 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
2751 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
2752 to mkmap-flat.awk.
2753 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
2754 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
2755 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
2756 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
2757 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
2758 * config/i386/libgcc-darwin.10.4.ver,
2759 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
2760 New files.
2761 * config/i386/t-darwin: Remove.
2762 * config/i386/t-darwin64: Likewise.
2763 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
2764 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
2765 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
2766 * config/i386/t-linux: New file.
2767 * config/i386/t-mingw32: New file.
2768 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
2769 * config/ia64/t-glibc: Rename to ...
2770 * config/ia64/t-linux: ... this.
2771 (SHLIB_MAPFILES): Set.
2772 * config/ia64/t-glibc-libunwind: Rename to ...
2773 * config/ia64/t-linux-libunwind: ... this.
2774 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
2775 * config/ia64/t-slibgcc-hpux: New file.
2776 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
2777 * config/m68k/t-slibgcc-elf-ver: New file.
2778 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
2779 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
2780 to mkmap-flat.awk.
2781 * config/pa/t-slibgcc-hpux: New file.
2782 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
2783 files.
2784 * config/rs6000/libgcc-darwin.10.4.ver,
2785 config/rs6000/libgcc-darwin.10.5.ver: New files.
2786 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
2787 config/rs6000/libgcc-glibc.ver.
2788 * config/rs6000/libgcc-ppc64.ver: Rename to
2789 config/rs6000/libgcc-ibm-ldouble.ver.
2790 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
2791 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
2792 * config/rs6000/t-ldbl128: Rename to ...
2793 * config/rs6000/t-linux: ... this.
2794 (SHLIB_MAPFILES): Adapt filename.
2795 * config/rs6000/t-slibgcc-aix: New file.
2796 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
2797 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
2798 libgcc-excl.ver, libgcc-glibc.ver.
2799 (SHLIB_LINK, SHLIB_INSTALL): Remove.
2800 * config/sparc/libgcc-glibc.ver: New file.
2801 * config/sparc/t-linux: New file.
2802 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
2803 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
2804 t-slibgcc-elf-ver to tmake_file.
2805 Add t-slibgcc-nolc-override to tmake_file for posix threads on
2806 *-*-freebsd[34].
2807 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
2808 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
2809 t-slibgcc-elf-ver, t-linux to tmake_file.
2810 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
2811 tmake_file.
2812 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
2813 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
2814 (alpha*-dec-*vms*): Likewise.
2815 (arm*-*-freebsd*): Append to tmake_file.
2816 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
2817 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
2818 arm*-*-linux-*eabi.
2819 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
2820 tmake_file for arm*-*-symbianelf*.
2821 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
2822 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
2823 cris/t-linux.
2824 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
2825 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
2826 pa/t-slibgcc-dwarf-ver to tmake_file.
2827 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
2828 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
2829 (hppa*64*-*-hpux11*): Likewise.
2830 (hppa[12]*-*-hpux11*): Likewise.
2831 (x86_64-*-darwin*): Don't override tmake_file, but only keep
2832 i386/t-crtpc, i386/t-crtfm.
2833 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
2834 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2835 to tmake_file.
2836 Add i386/t-cygwin to tmake_file.
2837 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
2838 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
2839 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
2840 to tmake_file.
2841 Add i386/t-mingw32 to tmake_file.
2842 (x86_64-*-mingw*): Likewise.
2843 (ia64*-*-freebsd*): Append to tmake_file.
2844 (ia64*-*-linux*): Append to tmake_file.
2845 Replace ia64/t-glibc by ia64/t-linux.
2846 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
2847 system libunwind.
2848 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
2849 t-slibgcc-hpux to tmake_file.
2850 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
2851 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
2852 (m32rle-*-linux*): Likewise.
2853 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
2854 sjlj exceptions.
2855 (microblaze*-linux*): New case.
2856 Append to tmake_file, add t-slibgcc-nolc-override.
2857 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
2858 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
2859 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
2860 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
2861 rs6000/t-slibgcc-aix to tmake_file.
2862 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
2863 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
2864 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
2865 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
2866 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
2867 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
2868 sh*-*-linux*.
2869 (sparc-*-linux*): Append to tmake_file for *-leon*.
2870 Add sparc/t-linux to tmake_file for non-Leon targets.
2871 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
2872 (tic6x-*-uclinux): New case.
2873 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
2874 (tic6x-*-*): Add c6x/t-elf to tmake_file.
2875 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
2876 (am33_2.0-*-linux*): Append to tmake_file.
2877 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
2878 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
2879 x86_64-*-kfreebsd*-gnu.
2880 Add i386/t-linux to tmake_file.
2881
2882 2011-10-28 Ian Lance Taylor <iant (a] google.com>
2883
2884 * config/i386/morestack.S: Correct CFI information to do proper
2885 returns throughout function. In 32-bit mode, save %ebx so that it
2886 is restored on unwind.
2887
2888 2011-10-25 Bernd Schmidt <bernds (a] codesourcery.com>
2889
2890 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
2891 case where B3 isn't the return register.
2892
2893 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
2894 logic for doubleword pops.
2895
2896 2011-10-25 Andreas Tobler <andreast (a] fgznet.ch>
2897
2898 * config/rs6000/t-freebsd: Add wildcard.
2899
2900 2011-10-21 Paul Brook <paul (a] codesourcery.com>
2901
2902 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
2903
2904 2011-10-16 Uros Bizjak <ubizjak (a] gmail.com>
2905 Eric Botcazou <ebotcazou (a] adacore.com>
2906
2907 PR target/50737
2908 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
2909 fs->signal_frame to 1.
2910
2911 2011-10-07 Ian Lance Taylor <iant (a] google.com>
2912
2913 * generic-morestack-thread.c: #include <errno.h>.
2914
2915 2011-10-07 Ian Lance Taylor <iant (a] google.com>
2916
2917 PR target/46093
2918 * generic-morestack.c (__generic_morestack): Make sure the segment
2919 is large enough for both the stack frame and the copied
2920 parameters.
2921
2922 2011-10-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2923
2924 PR bootstrap/49804
2925 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
2926 extra_parts.
2927
2928 2011-09-28 Nick Clifton <nickc (a] redhat.com>
2929
2930 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
2931 64-bit doubles are not enabled.
2932 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
2933 and floatunsisf functions.
2934
2935 2011-09-13 Paul Brook <paul (a] codesourcery.com>
2936
2937 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
2938 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
2939 * unwind-arm-common.inc: New file.
2940 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
2941 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
2942 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
2943 * config/c6x/libunwind.S: New file.
2944 * config/c6x/pr-support.c: New file.
2945 * config/c6x/unwind-c6x.c: New file.
2946 * config/c6x/unwind-c6x.h: New file.
2947 * config/c6x/t-c6x-elf: New file.
2948
2949 2011-08-23 Uros Bizjak <ubizjak (a] gmail.com>
2950
2951 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
2952 (ASM_DIVZERO): Ditto.
2953 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
2954
2955 2011-08-18 Richard Sandiford <richard.sandiford (a] linaro.org>
2956
2957 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
2958
2959 2011-08-17 Richard Sandiford <richard.sandiford (a] linaro.org>
2960
2961 PR target/50090
2962 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
2963 instead of an assembly one.
2964
2965 2011-08-12 Paolo Bonzini <bonzini (a] gnu.org>
2966
2967 PR bootstrap/50047
2968 * Makefile.in (install-unwind_h): Create
2969 $(gcc_objdir)/include/unwind.h atomically.
2970
2971 2011-08-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2972
2973 * Makefile.in (install-unwind_h): Remove destination file first.
2974
2975 2011-08-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
2976
2977 * sync.c: New file.
2978 * config/mips/t-mips16: New file.
2979 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
2980 (mips*-*-linux*): Likewise.
2981 (mips*-sde-elf*): Likewise.
2982 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
2983 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
2984 Add mips/t-mips16 to tmake_file.
2985 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
2986 (mips-*-elf*): Likewise.
2987 (mips64-*-elf*): Likewise.
2988 (mips64orion-*-elf*): Likewise.
2989 (mips*-*-rtems*): Likewise.
2990 (mipstx39-*-elf*): Likewise.
2991 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
2992 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
2993 LIBGCC_SYNC_CFLAGS.
2994 Use $(srcdir) to refer to sync.c.
2995 Use $<.
2996 ($(libgcc-sync-funcs-o)): Likewise.
2997 ($(libgcc-sync-size-funcs-s-o)): Likewise.
2998 ($(libgcc-sync-funcs-s-o)): Likewise.
2999
3000 2011-08-09 Andreas Schwab <schwab (a] linux-m68k.org>
3001
3002 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
3003 t-libunwind.
3004
3005 2011-08-08 H.J. Lu <hongjiu.lu (a] intel.com>
3006
3007 PR other/48007
3008 * config/i386/value-unwind.h: New.
3009
3010 2011-08-06 Richard Sandiford <rdsandiford (a] googlemail.com>
3011
3012 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
3013 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
3014 Add to tmake_file rather than overriding it.
3015
3016 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3017
3018 * config/t-softfp: Remove.
3019 * soft-fp: Moved from ../gcc/config.
3020 * soft-fp/README: Remove t-softfp reference.
3021 * soft-fp/t-softfp: Move to config/t-softfp.
3022 (softfp_machine_header): Remove.
3023 (softfp_file_list): Remove config subdir.
3024 (soft-fp-objects): New variable.
3025 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
3026 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
3027 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
3028 * config/t-softfp-excl: New file.
3029 * config/t-softfp-sfdf: New file.
3030 * config/t-softfp-tf: New file.
3031 * config/no-sfp-machine.h: New file.
3032 * config/arm/sfp-machine.h: New file.
3033 * config/arm/t-softfp: New file.
3034 * config/c6x/sfp-machine.h: New file.
3035 * config/i386/32/t-fprules-softfp: Rename to ...
3036 * config/i386/32/t-softfp: ... this.
3037 (tifunctions, LIB2ADD): Remove.
3038 (softfp_int_modes): Override.
3039 * config/i386/64/t-softfp-compat (tf-functions): Remove config
3040 subdir.
3041 * config/i386/64/eqtf2.c: Likewise.
3042 * config/i386/64/getf2.c: Likewise.
3043 * config/i386/64/letf2.c: Likewise.
3044 * config/ia64/sft-machine.h: New file.
3045 * config/ia64/t-fprules-softfp: Rename to ...
3046 * config/ia64/t-softfp: ... this.
3047 * config/lm32/sfp-machine.h: New file.
3048 * config/moxie/t-moxie-softfp: Remove.
3049 * config/rs6000/ibm-ldouble-format: New file.
3050 * config/rs6000/ibm-ldouble.c: New file.
3051 * config/rs6000/libgcc-ppc-glibc.ver: New file
3052 * config/rs6000/libgcc-ppc64.ver: New file
3053 * config/rs6000/sfp-machine.h: New file.
3054 * config/rs6000/t-freebsd: New file.
3055 * config/rs6000/t-ibm-ldouble: New file.
3056 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
3057 libgcc-ppc-glibc.ver.
3058 * config/rs6000/t-linux64: New file.
3059 * config/rs6000/t-ppccomm (LIB2ADD): Add
3060 $(srcdir)/config/rs6000/ibm-ldouble.c.
3061 * config/rs6000/t-ppccomm-ldbl: New file.
3062 * config/score/sfp-machine.h: New file.
3063 * config.host (sfp_machine_header): Explain.
3064 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
3065 t-softfp to tmake_file.
3066 (arm*-*-uclinux*): Likewise.
3067 (arm*-*-ecos-elf): Likewise.
3068 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
3069 (arm*-*-rtems*): Likewise.
3070 (arm*-*-elf): Likewise.
3071 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
3072 in tmake_file.
3073 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
3074 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
3075 (lm32-*-uclinux*): Likewise.
3076 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
3077 t-softfp-excl, t-softfp.
3078 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
3079 (powerpc64-*-darwin*): Likewise.
3080 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
3081 to tmake_file.
3082 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
3083 tmake_file.
3084 (powerpc-*-eabisim*): Likewise.
3085 (powerpc-*-elf*): Likewise.
3086 (powerpc-*-eabialtivec*): Likewise.
3087 (powerpc-xilinx-eabi*): Likewise.
3088 (powerpc-*-rtems*): Likewise.
3089 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
3090 t-softfp-excl, t-softfp to tmake_file.
3091 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
3092 rs6000/t-ppccomm-ldbl to tmake_file.
3093 (powerpcle-*-elf*): Likewise.
3094 (powerpcle-*-eabisim*): Likewise.
3095 (powerpcle-*-eabi*): Likewise.
3096 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3097 rs6000/t-ibm-ldouble to tmake_file.
3098 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3099 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3100 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
3101 (tic6x-*-*): Likewise.
3102 (i[34567]86-*-darwin*, x86_64-*-darwin*,
3103 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
3104 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
3105 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
3106 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
3107 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
3108 t-softfp to tmake_file.
3109 * configure.ac (sfp_machine_header): Provide default if unset.
3110 Substitute.
3111 Link sfp-machine.h to config/$sfp_machine_header.
3112 * configure: Regenerate.
3113
3114 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3115
3116 * Makefile.in (double_type_size, long_double_type_size): Set.
3117 Remove $(fpbit-in-libgcc) support.
3118 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
3119 (fpbit-src): New variable.
3120 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
3121 Compile with -DFLOAT $(FPBIT_CFLAGS).
3122 Use $<.
3123 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
3124 Compile with $(FPBIT_CFLAGS).
3125 Use $<.
3126 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
3127 Compile with -DFLOAT $(TPBIT_CFLAGS).
3128 Use $<.
3129 * configure.ac (double_type_size, long_double_type_size):
3130 Determine and substitute.
3131 * configure: Regenerate.
3132 * fp-bit.c, fp-bit.h: New files.
3133 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
3134 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
3135 * config/mips/t-mips: New file.
3136 * config/mips/t-sdemtk: New file.
3137 * config/rs6000/ppc64-fp.c: New file.
3138 * config/rs6000/t-darwin (LIB2ADD): Add
3139 $(srcdir)/config/rs6000/ppc64-fp.c.
3140 * config/rs6000/t-ppc64-fp: New file.
3141 * config/rx/rx-lib.h: New file.
3142 * config/rx/t-rx (FPBIT): Set to true.
3143 ($(gcc_objdir)/fp-bit.c): Remove.
3144 (DPBIT): Set to true only with -m64bit-doubles.
3145 ($(gcc_objdir)/dp-bit.c): Remove.
3146 * config/sparc/t-softfp: Remove.
3147 * config/spu/t-elf: New file.
3148 * config/t-fdpbit, config/t-fpbit: New files.
3149 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
3150 (mips*-*-*): Likewise.
3151 (arm-wrs-vxworks): Likewise.
3152 (arm*-*-freebsd*): Likewise.
3153 (avr-*-rtems*): Add t-fpbit to tmake_file.
3154 (avr-*-*): Likewise.
3155 (bfin*-elf*): Add t-fdpbit to tmake_file.
3156 (bfin*-uclinux*): Likewise.
3157 (bfin*-linux-uclibc*): Likewise.
3158 (bfin*-rtems*): New case.
3159 Add t-fdpbit to tmake_file.
3160 (bfin*-*): Add t-fdpbit to tmake_file.
3161 (crisv32-*-elf): Likewise.
3162 (cris-*-linux*): Likewise.
3163 (fr30-*-elf): Likewise.
3164 (frv-*-elf, frv-*-*linux*): Likewise.
3165 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
3166 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
3167 (m32r-*-elf*): Likewise.
3168 (m32rle-*-elf*): Likewise.
3169 (m32r-*-linux*): Likewise.
3170 (m32rle-*-linux*): Likewise.
3171 (mcore-*-elf): Add t-fdpbit to tmake_file.
3172 (microblaze*-*-*): Likewise.
3173 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
3174 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
3175 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
3176 Fix typo.
3177 Add mips/t-tpbit to tmake-file.
3178 (mips*-*-linux*): Fix typo.
3179 (mips*-sde-elf*): New case
3180 Add mips/t-sdemtk unless using newlib.
3181 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
3182 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
3183 (mn10300-*-*): Likewise.
3184 (pdp11-*-*): Likewise.
3185 (picochip-*-*): Add t-fpbit to tmake_file.
3186 (powerpc-*-eabisimaltivec*): Likewise.
3187 (powerpc-*-eabisim*): Likewise.
3188 (powerpc-*-elf*): Likewise.
3189 (powerpc-*-eabialtivec*): Likewise.
3190 (powerpc-xilinx-eabi*): New case.
3191 Add t-fdpbit to tmake_file.
3192 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
3193 (powerpc-*-rtems*): Likewise.
3194 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
3195 tmake_file.
3196 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
3197 tmake_file.
3198 (powerpc-*-lynxos*): Likewise.
3199 (powerpcle-*-elf*): Likewise.
3200 (powerpcle-*-eabisim*): Likewise.
3201 (powerpcle-*-eabi*): Likewise.
3202 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
3203 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
3204 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3205 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3206 (rx-*-elf): Add t-fdpbit to tmake_file.
3207 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
3208 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
3209 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
3210 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
3211 sh*-*-netbsd*.
3212 (sh-*-rtems*): Add t-fdpbit to tmake_file.
3213 (sh-wrs-vxworks): Likewise.
3214 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
3215 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
3216 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
3217 (sparc64-*-rtems*): ... new case.
3218 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
3219 (spu-*-elf*): Likewise.
3220 Add spu/t-elf to tmake_file.
3221 (v850*-*-*): Add t-fdpbit to tmake_file.
3222 (xstormy16-*-elf): Likewise.
3223 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
3224 (mep*-*-*): Likewise.
3225
3226 2011-08-05 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3227
3228 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
3229 variables.
3230 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
3231 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
3232 (install-unwind_h): New target.
3233 (all): Depend on it.
3234 * config.host (unwind_header): New variable.
3235 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
3236 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
3237 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
3238 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
3239 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
3240 Set unwind_header.
3241 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
3242 Set unwind_header.
3243 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
3244 arm*-*-eabi*.
3245 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
3246 Set unwind_header.
3247 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
3248 (ia64*-*-freebsd*): Likewise.
3249 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
3250 tmake_file.
3251 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
3252 $with_system_libunwind.
3253 (ia64*-*-hpux*): Set tmake_file.
3254 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
3255 (picochip-*-*): Set tmake_file.
3256 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
3257 md_unwind_header.
3258 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
3259 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
3260 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
3261 (xtensa*-*-elf*): Set tmake_file.
3262 (xtensa*-*-linux*): Likewise.
3263 * configure.ac: Include ../config/unwind_ipinfo.m4.
3264 Call GCC_CHECK_UNWIND_GETIPINFO.
3265 Link unwind.h to $unwind_header.
3266 * configure: Regenerate.
3267 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
3268 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
3269 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
3270 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
3271 * config/unwind-dw2-fde-darwin.c: New file.
3272 * config/arm/libunwind.S, config/arm/pr-support.c,
3273 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
3274 config/arm/unwind-arm.h,: New files.
3275 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
3276 config/ia64/t-eh-ia64, config/ia64/t-glibc,
3277 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
3278 config/ia64/t-vms, config/ia64/unwind-ia64.c,
3279 config/ia64/unwind-ia64.h: New files.
3280 * config/picochip/t-picochip: New file.
3281 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
3282 files.
3283 * config/rs6000/t-darwin (LIB2ADDEH): Set.
3284 * config/s390/t-tpf (LIB2ADDEH): Remove.
3285 * config/t-darwin (LIB2ADDEH): Set.
3286 * config/t-eh-dw2-dip: New file.
3287 * config/t-libunwind, config/t-libunwind-elf: New files.
3288 * config/t-sol2 (LIB2ADDEH): Remove.
3289 * config/xtensa/t-xtensa: New file.
3290
3291 2011-08-02 H.J. Lu <hongjiu.lu (a] intel.com>
3292
3293 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
3294 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
3295 long long to check rt_sigreturn syscall.
3296
3297 2011-08-02 Alan Modra <amodra (a] gmail.com>
3298
3299 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3300 Restore for indirect call bcrtl from correct stack slot, and only
3301 if cfa+40 isn't valid.
3302
3303 2011-08-01 Julian Brown <julian (a] codesourcery.com>
3304
3305 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
3306 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
3307 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
3308
3309 2011-08-01 Julian Brown <julian (a] codesourcery.com>
3310
3311 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
3312 (libgcc-std.ver.in): Use above.
3313 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
3314 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
3315 throughout file.
3316 * config/t-fixedpoint-gnu-prefix: New file.
3317 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
3318 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
3319 instead of __PFX__.
3320
3321 2011-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
3322
3323 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
3324 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
3325 for x86-64. Properly check __x86_64__ and __LP64__.
3326
3327 2010-07-28 H.J. Lu <hongjiu.lu (a] intel.com>
3328
3329 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
3330 version.
3331 (_FP_WS_TYPE): Likewise.
3332 (_FP_I_TYPE): Likewise.
3333
3334 2011-07-28 Alan Modra <amodra (a] gmail.com>
3335
3336 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
3337 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
3338 in a plt call stub. Do restore r2 if stopped on bctrl.
3339
3340 2011-07-18 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3341
3342 * config.host (i[3456x]86-*-netware*): Remove.
3343 * config/i386/netware-crt0.c, config/i386/t-nwld,
3344 config/i386/t-slibgcc-nwld: Remove.
3345
3346 2011-07-15 Bernd Schmidt <bernds (a] codesourcery.com>
3347
3348 * config.host: Handle tic6x-*-*.
3349 * config/c6x/c6x-abi.h: New file.
3350
3351 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3352
3353 * config/i386/crtprec.c: New file.
3354 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
3355 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
3356 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
3357 (x86_64-*-darwin*): Likewise.
3358 (i[34567]86-*-solaris2*: Likewise.
3359
3360 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3361
3362 * config/alpha/crtfastmath.c: New file.
3363 * config/i386/crtfastmath.c: New file.
3364 * config/ia64/crtfastmath.c: New file.
3365 * config/mips/crtfastmath.c: New file.
3366 * config/sparc/crtfastmath.c: New file.
3367
3368 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
3369 crtfastmath.c.
3370 Add -frandom-seed=gcc-crtfastmath.
3371 * config/alpha/t-crtfm: Remove.
3372 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
3373 * config/ia64/t-ia64 (crtfastmath.o): Remove.
3374
3375 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
3376 (alpha*-dec-osf5.1*): Likewise.
3377 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
3378 Add crtfastmath.o to extra_parts.
3379 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
3380 Add crtfastmath.o to extra_parts.
3381 (x86_64-*-darwin*): Likewise.
3382 (x86_64-*-mingw*): Likewise.
3383 (ia64*-*-elf*): Add t-crtfm to tmake_file.
3384 (ia64*-*-freebsd*): Likewise.
3385 (ia64*-*-linux*): Likewise.
3386 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
3387 Add crtfastmath.o to extra_parts.
3388
3389 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3390
3391 * config/darwin-crt3.o: New file.
3392 * config/rs6000/darwin-crt2.c: New file.
3393 * config/t-darwin: New file.
3394 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
3395 (crt2.o): New rule.
3396 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
3397 (powerpc-*-darwin*): Add crt2.o to extra_parts.
3398 (powerpc64-*-darwin*): Likewise.
3399
3400 2011-07-13 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3401
3402 * config/i386/netware-crt0.c: New file.
3403 * config/i386/t-nwld: Rename to ...
3404 * config/i386/t-slibgcc-nwld: ... this.
3405 * config/i386/t-nwld: New file.
3406 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
3407 tmake_file.
3408 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
3409 extra_parts.
3410
3411 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3412
3413 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
3414 i386/t-crtstuff.
3415 * configure: Regenerate.
3416
3417 2011-07-11 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3418
3419 * dfp-bit.c, dfp-bit.h: New files.
3420 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
3421 variables.
3422 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
3423 ($(d64pbit-o)): Likewise.
3424 ($(d128pbit-o)): Likewise.
3425 * config/t-dfprules: New file.
3426 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
3427 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
3428 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
3429 (x86_64-*-linux*): Likewise.
3430 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
3431 (i[34567]86-*-cygwin*): Likewise.
3432 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
3433 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3434
3435 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3436
3437 * Makfile.in (LIBGCOV): New variable.
3438 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
3439 * libgcov.c: New file.
3440
3441 2011-07-08 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3442
3443 * fixed-bit.c, fixed-bit.h: New files.
3444 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
3445 refer to fixed-bit.c.
3446
3447 2011-07-07 Joseph Myers <joseph (a] codesourcery.com>
3448
3449 * config.host (*local*): Remove.
3450
3451 2011-07-07 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3452
3453 PR target/39150
3454 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
3455 like i?86-*-solaris2.1[0-9]*.
3456 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
3457 * configure.ac (i?86-*-solaris2*): Likewise.
3458 * configure: Regenerate.
3459
3460 2011-07-06 Thomas Schwinge <thomas (a] schwinge.name>
3461
3462 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
3463 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
3464 md_unwind_header by splitting out of...
3465 (i[34567]86-*-linux*): ... this.
3466 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
3467 Remove md_unwind_header by splitting out of...
3468 (x86_64-*-linux*): ... this.
3469
3470 2011-07-04 Georg-Johann Lay <avr (a] gjlay.de>
3471
3472 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
3473
3474 2011-06-28 Nick Clifton <nickc (a] redhat.com>
3475
3476 * config.host: Recognize all V850 variants.
3477
3478 2011-06-22 Uros Bizjak <ubizjak (a] gmail.com>
3479
3480 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
3481
3482 2011-06-21 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3483
3484 * shared-object.mk (c_flags-$o): Save c_flags.
3485 ($(base)$(objext)): Use it.
3486 ($(base)_s$(objext)): Likewise.
3487
3488 2011-06-21 Bernd Schmidt <bernds (a] codesourcery.com>
3489
3490 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
3491 * libgcc-std.ver.in (GCC_4.7.0): New section.
3492
3493 2011-06-16 Georg-Johann Lay <avr (a] gjlay.de>
3494
3495 PR target/49313
3496 PR target/29524
3497 * config/avr/t-avr: Fix line endings.
3498 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
3499 _parityXX2.
3500
3501 2011-06-14 Olivier Hainque <hainque (a] adacore.com>
3502 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3503
3504 * config/mips/irix6-unwind.h: New file.
3505 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
3506
3507 2011-06-10 Eric Botcazou <ebotcazou (a] adacore.com>
3508
3509 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
3510 (sparc64_fallback_frame_state): Use it.
3511 (sparc64_frob_update_context): Further adjust context.
3512 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
3513 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
3514 * config/sparc/sol2-cn.S: Likewise.
3515
3516 2011-06-09 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3517
3518 * enable-execute-stack-empty.c: New file.
3519 * enable-execute-stack-mprotect.c: New file.
3520 * config/i386/enable-execute-stack-mingw32.c: New file.
3521 * config.host (enable_execute_stack): New variable.
3522 Select appropriate variants.
3523 * configure.ac: Link enable-execute-stack.c to
3524 $enable_execute_stack.
3525 * configure: Regenerate.
3526 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
3527 (lib2funcs): Remove _enable_execute_stack.
3528
3529 2011-06-09 David S. Miller <davem (a] davemloft.net>
3530 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3531
3532 * config.host (sparc-*-linux*): Correct md_unwind_header
3533 filename.
3534 (s390x-ibm-tpf*): Fix typo.
3535
3536 2011-06-06 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3537
3538 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
3539 Add crtfastmath.o to extra_parts.
3540 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
3541 mips/t-crtfm.
3542 * config/mips/t-crtfm: Remove.
3543
3544 2011-06-04 John David Anglin <dave.anglin (a] nrc-cnrc.gc.ca>
3545
3546 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
3547
3548 2011-06-04 Kaz Kojima <kkojima (a] gcc.gnu.org>
3549
3550 * config.host (sh*-*-linux*): Fix typo.
3551
3552 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3553
3554 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
3555 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
3556 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
3557 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
3558 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
3559 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
3560 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
3561 Wrap in !__MINGW64__.
3562 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
3563 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
3564 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
3565 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
3566 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
3567 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
3568 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
3569 Wrap in !__LP64__.
3570 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
3571 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
3572 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
3573 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
3574 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
3575 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
3576 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
3577 * config/no-unwind.h: New file.
3578 * config.host (md_unwind_header): Document.
3579 Define.
3580 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
3581 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
3582 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
3583 hppa[12]*-*-hpux11*): Set md_unwind_header.
3584 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
3585 Set md_unwind_header.
3586 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
3587 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
3588 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
3589 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
3590 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
3591 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
3592 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
3593 md_unwind_header.
3594 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
3595 * configure: Regenerate.
3596
3597 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3598
3599 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
3600 Set tmake_file, extra_parts.
3601 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
3602 Remove O32 support.
3603 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
3604 Remove O32 support.
3605 * config/mips/t-irix6: New file.
3606 * config/mips/t-slibgcc-irix: New file.
3607
3608 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3609
3610 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
3611 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
3612
3613 2011-06-03 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3614
3615 * configure.ac (target_thread_file): Determine thread model.
3616 * configure: Regenerate.
3617 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
3618 * config/alpha/t-alpha: New file.
3619 * config/alpha/t-crtfm: Use $<.
3620 * config/alpha/t-ieee: New file.
3621 * config/alpha/t-osf-pthread: New file.
3622 * config/alpha/t-slibgcc-osf: New file.
3623 * config/alpha/libgcc-osf5.ver: New file.
3624
3625 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3626
3627 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
3628 tmake_file.
3629 Add crtfastmath.o to extra_parts.
3630
3631 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3632
3633 * config/gmon-sol2.c: Reindent.
3634 Cleanup comments.
3635 Remove, correct casts.
3636 Use STDERR_FILENO, NULL.
3637 (BASEADDRESS): Remove.
3638 (minbrk): Remove.
3639 (errno, sbrk): Remove declarations.
3640 (monstartup) [hp300]: Remove.
3641 (mcount): Remove.
3642
3643 2011-06-01 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3644
3645 * Makefile.in (cpu_type): Define.
3646 * config.host (i[34567]86-*-rtems*): Handle it.
3647 (i[34567]86-*-solaris2*): Move body ...
3648 (*-*-solaris2*): ... here.
3649 New case, generalize.
3650 (sparc-*-elf*): Handle it.
3651 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
3652 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
3653 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
3654 Fold into ...
3655 (sparc*-*-solaris2*): ... this.
3656 New case.
3657 (sparc64-*-elf*): Handle it.
3658 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
3659 Merge ../gcc/config/i386/gmon-sol2.c.
3660 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
3661 Use C comments.
3662 Merge ../gcc/config/i386/sol2-gc1.asm.
3663 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
3664 Use C comments.
3665 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
3666 Use C comments.
3667 * config/i386/t-crtfm (crtfastmath.o): Use $<.
3668 * config/i386/t-crtstuff: New file.
3669 * config/i386/t-softfp: New file.
3670 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
3671 $(T)crti.o, $(T)crtn.o): Remove.
3672 (gcrt1.o): New rule.
3673 (TARGET_LIBGCC2_CFLAGS): Remove.
3674 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
3675 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
3676 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
3677 * config/sparc/t-sol2: New file.
3678 * config/sparc/t-crtfm: Move to ...
3679 * config/t-crtfm: ... this.
3680 Use $(cpu_type), $<.
3681 * config/t-crtin: New file.
3682 * config/sparc/t-softfp: New file.
3683 * config/sparc/t-softmul: New file.
3684 * config/t-rtems: New file.
3685 * config/t-slibgcc: New file.
3686 * config/t-slibgcc-elf-ver: New file.
3687 * config/t-slibgcc-gld: New file.
3688 * config/t-slibgcc-sld: New file.
3689 * config/t-sol2: New file.
3690 * configure.ac: Include ../config/lib-ld.m4.
3691 Call AC_LIB_PROG_LD_GNU.
3692 Substitute cpu_type.
3693 * configure: Regenerate.
3694
3695 2011-05-27 Bernd Schmidt <bernds (a] codesourcery.com>
3696
3697 PR bootstrap/49173
3698 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
3699 libgcc-std.ver in the build directory.
3700 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
3701 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
3702
3703 2011-05-25 Bernd Schmidt <bernds (a] codesourcery.com>
3704
3705 * libgcc-std.ver.in: New file.
3706 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
3707 variables.
3708 (libgcc-std.ver): New rule.
3709 * config/t-gnu-prefix: New file.
3710
3711 2011-05-23 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3712
3713 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
3714
3715 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
3716
3717 * config/i386/darwin-lib.h: New file.
3718
3719 2011-05-10 Joseph Myers <joseph (a] codesourcery.com>
3720
3721 * config/arm/symbian-lib.h: New.
3722
3723 2011-05-04 Chris Demetriou <cgd (a] google.com>
3724
3725 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
3726 (__x86.get_pc_thunk.bx): ...this.
3727 (__morestack): Adjust for rename, remove undef of __i686.
3728
3729 2011-05-03 Chris Demetriou <cgd (a] google.com>
3730
3731 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
3732
3733 2011-03-22 Joseph Myers <joseph (a] codesourcery.com>
3734
3735 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
3736 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
3737 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
3738 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
3739 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
3740 Remove cases.
3741
3742 2011-03-14 Andreas Tobler <andreast (a] fgznet.ch>
3743
3744 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
3745 Adjust copyright year.
3746
3747 2011-03-07 Ian Lance Taylor <iant (a] google.com>
3748
3749 * generic-morestack.c (__splitstack_find): Adjust returned stack
3750 pointer to include all registers pushed by __morestack.
3751
3752 2011-01-26 Dave Korn <dave.korn.cygwin (a] gmail.com>
3753
3754 PR target/40125
3755 * configure.ac: Call ACX_NONCANONICAL_TARGET.
3756 (toolexecdir): Calculate and AC_SUBST.
3757 (toolexeclibdir): Likewise.
3758 * Makefile.in (target_noncanonical): Import.
3759 (toolexecdir): Likewise.
3760 (toolexeclibdir): Likewise.
3761 * configure: Regenerate.
3762
3763 2010-12-13 Nathan Froyd <froydnj (a] codesourcery.com>
3764
3765 PR target/46040
3766 * config/arm/bpabi.h: Rename to...
3767 * config/arm/bpabi-lib.h: ...this.
3768
3769 2010-12-10 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3770
3771 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
3772 appropriate.
3773 * configure: Regenerate.
3774
3775 2010-11-24 Nathan Froyd <froydnj (a] codesourcery.com>
3776
3777 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
3778 __FLOAT_WORD_ORDER__.
3779 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
3780 Delete.
3781
3782 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3783
3784 PR other/46202
3785 * Makefile.in (install-strip): New phony target.
3786
3787 2010-11-07 Ian Lance Taylor <iant (a] google.com>
3788
3789 PR target/46089
3790 * config/i386/morestack.S (__morestack_large_model): New
3791 function.
3792
3793 2010-10-23 Nathan Froyd <froydnj (a] codesourcery.com>
3794
3795 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
3796 Delete.
3797 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
3798
3799 2010-10-14 Nathan Froyd <froydnj (a] codesourcery.com>
3800
3801 * config/arm/bpabi.h: New file.
3802 * config/frv/frv-abi.h: New file.
3803
3804 2010-10-01 Ian Lance Taylor <iant (a] google.com>
3805
3806 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
3807 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
3808
3809 2010-10-01 H.J. Lu <hongjiu.lu (a] intel.com>
3810
3811 PR target/45858
3812 * config.host: Add the missing `$'.
3813
3814 2010-09-30 Michael Eager <eager (a] eagercon.com>
3815
3816 * config.host: Add microblaze*-*-*.
3817 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
3818 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
3819 udivsi3.asm,umodsi3.asm}: New.
3820
3821 2010-09-28 Ian Lance Taylor <iant (a] google.com>
3822
3823 * configure.ac: Adjust CFI test to test assembler directly rather
3824 than checking gcc preprocessor macro.
3825 * configure: Rebuild.
3826
3827 2010-09-27 Ian Lance Taylor <iant (a] google.com>
3828
3829 * configure.ac: Test whether assembler supports CFI directives.
3830 * config.host: Only add t-stack and i386/t-stack-i386 to
3831 tmake_file if libgcc_cv_cfi is "yes".
3832 * configure: Rebuild.
3833
3834 2010-09-27 Ian Lance Taylor <iant (a] google.com>
3835
3836 * generic-morestack.h: New file.
3837 * generic-morestack.c: New file.
3838 * generic-morestack-thread.c: New file.
3839 * config/i386/morestack.S: New file.
3840 * config/t-stack: New file.
3841 * config/i386/t-stack-i386: New file.
3842 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
3843 i386/t-stack-i386 to tmake_file.
3844
3845 2010-09-21 Iain Sandoe <iains (a] gcc.gnu.org>
3846
3847 * Makefile.in (libgcc-extra-parts): Check for static archives and
3848 invoke ranlib after installing them.
3849 (gcc-extra-parts): Likewise.
3850 (install-leaf): Likewise.
3851
3852 2010-09-14 H.J. Lu <hongjiu.lu (a] intel.com>
3853
3854 * configure: Regenerated.
3855
3856 2010-09-10 Kai Tietz <kai.tietz (a] onevision.com>
3857
3858 * configure: Regenerated.
3859
3860 2010-09-09 Gerald Pfeifer <gerald (a] pfeifer.com>
3861 Andrew Pinski <pinskia (a] gmail.com>
3862
3863 PR target/40959
3864 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
3865
3866 2010-09-06 H.J. Lu <hongjiu.lu (a] intel.com>
3867
3868 PR target/45524
3869 * configure: Regenerated.
3870
3871 2010-09-06 Andreas Schwab <schwab (a] redhat.com>
3872
3873 * configure: Regenerate.
3874
3875 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
3876
3877 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
3878 64bit targets.
3879 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
3880 for 64bit targets.
3881
3882 2010-09-03 Uros Bizjak <ubizjak (a] gmail.com>
3883 Iain Sandoe <iains (a] gcc.gnu.org>
3884
3885 PR target/45476
3886 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
3887 LIB2FUNCS_EXCLUDE functions.
3888
3889 2010-09-03 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
3890
3891 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
3892 Include dfp.m4.
3893 * configure: Regenerate.
3894
3895 2010-09-01 Uros Bizjak <ubizjak (a] gmail.com>
3896
3897 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
3898 i386/t-freebsd to tmake_file.
3899 * config/i386/t-freebsd: New file.
3900 * config/i386/libgcc-bsd.ver: New file.
3901
3902 2010-07-23 Nathan Froyd <froydnj (a] codesourcery.com>
3903
3904 * config.host (powerpc*-eabispe*): Set tmake_file.
3905 (powerpc*-eabi*): Likewise.
3906 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
3907 crtbeginS, crtendS, crtbeginT.
3908
3909 2010-06-12 Kazu Hirata <kazu (a] codesourcery.com>
3910
3911 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
3912 to tmake_file. Add crtfastmath.o to extra_parts.
3913 * config/mips/t-crtfm: New.
3914
3915 2010-05-19 Joel Sherrill <joel.sherrill (a] oarcorp.com>
3916
3917 * config.host (sparc64-*-rtems*): New target.
3918
3919 2010-05-19 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3920
3921 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3922 assembler syntax.
3923
3924 2010-04-15 Thomas Schwinge <tschwinge (a] gnu.org>
3925
3926 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
3927
3928 2010-04-12 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3929
3930 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
3931 alpha-dec-osf5.0* support.
3932
3933 2010-04-01 Ralf Corspius <ralf.corsepius (a] rtems.org>
3934
3935 * config.host: Add lm32-*-rtems*.
3936
3937 2010-03-31 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3938 Uros Bizjak <ubizjak (a] gmail.com>
3939
3940 PR target/39048
3941 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
3942 like other remaining 32-bit x86 OSes.
3943 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
3944 assembler syntax.
3945 * config/i386/libgcc-sol2.ver: New file.
3946 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
3947
3948 2010-03-30 Jack Howarth <howarth (a] bromo.med.uc.edu>
3949
3950 PR c/43553
3951 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
3952 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
3953 is used and substitute set_use_emutls.
3954 * configure: Regenerated.
3955
3956 2010-03-30 Tarik Graba <tarik.graba (a] telecom-paristech.fr>
3957
3958 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
3959
3960 2010-03-22 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
3961
3962 PR target/38085
3963 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
3964 MULTILIB_CFLAGS.
3965 ($(T)gcrt1.o): Likewise.
3966 ($(T)crt1.o): Likewise.
3967 ($(T)crti.o): Likewise.
3968 ($(T)crtn.o): Likewise.
3969
3970 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
3971
3972 PR other/42980
3973 * Makefile.in (install): Use $(MAKE) string in rule, for
3974 parallel make.
3975
3976 2010-02-22 Hans-Peter Nilsson <hp (a] bitrange.com>
3977
3978 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
3979 * config/mmix/t-mmix: New file.
3980 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
3981
3982 2010-02-02 Jack Howarth <howarth (a] bromo.med.uc.edu>
3983
3984 PR java/41991
3985 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
3986 SHLIB_MAPFILES.
3987
3988 2010-01-04 Anthony Green <green (a] moxielogic.com>
3989
3990 * config/moxie/crti.asm, config/moxie/crtn.asm,
3991 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
3992 config/moxie/t-moxie: New files.
3993 * config.host: Add t-moxie-softfp reference.
3994
3995 2009-11-18 Iain Sandoe <iain.sandoe (a] sandoe-acoustics.co.uk>
3996
3997 PR other/39888
3998 * config/t-slibgcc-darwin: Fix embedded rpaths for
3999 --enable-version-specific-runtime-libs, build extension stub
4000 libs exposing features available from current libgcc_s.
4001
4002 2009-11-11 Jon Beniston <jon (a] beniston.com>
4003
4004 * config.host: Add lm32 targets.
4005 * config/lm32: New directory.
4006 * config/lm32/libgcc_lm32.h: New file.
4007 * config/lm32/_mulsi3.c: New file.
4008 * config/lm32/_udivmodsi4.c: New file.
4009 * config/lm32/_divsi3.c: New file.
4010 * config/lm32/_modsi3.c: New file.
4011 * config/lm32/_udivsi3.c: New file.
4012 * config/lm32/_umodsi3.c: New file.
4013 * config/lm32/_lshrsi3.S: New file.
4014 * config/lm32/_ashrsi3.S: New file.
4015 * config/lm32/_ashlsi3.S: New file.
4016 * config/lm32/crti.S: New file.
4017 * config/lm32/crtn.S: New file.
4018 * config/lm32/t-lm32: New file.
4019 * config/lm32/t-elf: New file.
4020 * config/lm32/t-uclinux: New file.
4021
4022 2009-10-26 Nick Clifton <nickc (a] redhat.com>
4023
4024 * config.host: Add support for RX target.
4025 * config/rx: New directory.
4026 * config/rx/rx-abi-functions.c: New file. Supplementary
4027 functions for libgcc to support the RX ABI.
4028 * config/rx/rx-abi.h: New file. Supplementary header file for
4029 libgcc RX ABI functions.
4030 * config/rx/t-rx: New file: Makefile fragment for building
4031 libgcc for the RX.
4032
4033 2009-10-09 Uros Bizjak <ubizjak (a] gmail.com>
4034
4035 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
4036 constraint of y0 to "g".
4037
4038 2009-10-07 Andreas Krebbel <Andreas.Krebbel (a] de.ibm.com>
4039
4040 * config.host: Include the s390 makefile fragments.
4041 * config/s390/32/_fixdfdi.c: New file.
4042 * config/s390/32/_fixsfdi.c: New file.
4043 * config/s390/32/_fixtfdi.c: New file.
4044 * config/s390/32/_fixunsdfdi.c: New file.
4045 * config/s390/32/_fixunssfdi.c: New file.
4046 * config/s390/32/_fixunstfdi.c: New file.
4047 * config/s390/32/t-floattodi: New file.
4048 * config/s390/libgcc-glibc.ver: New file.
4049 * config/s390/t-crtstuff: New file.
4050 * config/s390/t-linux: New file.
4051 * config/s390/t-tpf: New file.
4052
4053 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
4054
4055 * configure.ac (AC_PREREQ): Bump to 2.64.
4056
4057 2009-08-22 Kaz Kojima <kkojima (a] gcc.gnu.org>
4058
4059 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
4060
4061 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
4062
4063 * configure: Regenerate.
4064
4065 2009-08-09 Douglas B Rupp <rupp (a] gnat.com>
4066
4067 * config.host (ia64-hp-*vms*): New target.
4068 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
4069 with ia64-hp-*vms*.
4070
4071 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
4072
4073 * configure.ac: Add snippet for maintainer-mode.
4074 * configure: Regenerate.
4075 * Makefile.in (AUTOCONF, configure_deps): New variables.
4076 ($(srcdir)/configure)): New rule, active only with maintainer
4077 mode turned on.
4078
4079 2009-06-23 DJ Delorie <dj (a] redhat.com>
4080
4081 Add MeP port.
4082 * config.host: Add mep support.
4083
4084 2009-06-22 Kai Tietz <kai.tietz (a] onevision.com>
4085
4086 * config.host: Add i386/${host_address}/t-fprules-softfp and
4087 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
4088
4089 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
4090 for mingw targets.
4091 * config/i386/64/_multc3.c: Likewise.
4092 * config/i386/64/_powitf2.c: Likewise.
4093 * config/i386/64/eqtf2.c: Likewise.
4094 * config/i386/64/getf2.c: Likewise.
4095 * config/i386/64/letf2.c: Likewise.
4096 * config/i386/64/letf2.c: Likewise.
4097 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
4098 unsigned long long for x64 mingw targets.
4099 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
4100 (_FP_I_TYPE): Define as long long for x64 mingw target.
4101
4102 2009-06-10 Maciej W. Rozycki <macro (a] linux-mips.org>
4103
4104 * config.host (vax-*-linux*): New.
4105
4106 2009-05-31 Anthony Green <green (a] moxielogic.com>
4107
4108 * config.host: Add moxie support.
4109 * config/moxie/t-moxie: New file.
4110
4111 2009-05-29 David Billinghurst <billingd (a] gcc.gnu.org>
4112
4113 * config.host: Add i386/${host_address}/t-fprules-softfp and
4114 t-softfp to tmake_file for i[34567]86-*-cygwin*.
4115
4116 2009-04-17 Aurelien Jarno <aurelien (a] aurel32.net>
4117
4118 * config.host: Add i386/${host_address}/t-fprules-softfp to
4119 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
4120
4121 2009-04-09 Nick Clifton <nickc (a] redhat.com>
4122
4123 * config/ia64/tf-signs.c: Change copyright header to refer to
4124 version 3 of the GNU General Public License with version 3.1
4125 of the GCC Runtime Library Exception and to point readers at
4126 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
4127 web page.
4128 * config/i386/32/tf-signs.c: Likewise.
4129 * config/libbid/_addsub_dd.c: Likewise.
4130 * config/libbid/_addsub_sd.c: Likewise.
4131 * config/libbid/_addsub_td.c: Likewise.
4132 * config/libbid/_dd_to_df.c: Likewise.
4133 * config/libbid/_dd_to_di.c: Likewise.
4134 * config/libbid/_dd_to_sd.c: Likewise.
4135 * config/libbid/_dd_to_sf.c: Likewise.
4136 * config/libbid/_dd_to_si.c: Likewise.
4137 * config/libbid/_dd_to_td.c: Likewise.
4138 * config/libbid/_dd_to_tf.c: Likewise.
4139 * config/libbid/_dd_to_udi.c: Likewise.
4140 * config/libbid/_dd_to_usi.c: Likewise.
4141 * config/libbid/_dd_to_xf.c: Likewise.
4142 * config/libbid/_df_to_dd.c: Likewise.
4143 * config/libbid/_df_to_sd.c: Likewise.
4144 * config/libbid/_df_to_td.c: Likewise.
4145 * config/libbid/_di_to_dd.c: Likewise.
4146 * config/libbid/_di_to_sd.c: Likewise.
4147 * config/libbid/_di_to_td.c: Likewise.
4148 * config/libbid/_div_dd.c: Likewise.
4149 * config/libbid/_div_sd.c: Likewise.
4150 * config/libbid/_div_td.c: Likewise.
4151 * config/libbid/_eq_dd.c: Likewise.
4152 * config/libbid/_eq_sd.c: Likewise.
4153 * config/libbid/_eq_td.c: Likewise.
4154 * config/libbid/_ge_dd.c: Likewise.
4155 * config/libbid/_ge_sd.c: Likewise.
4156 * config/libbid/_ge_td.c: Likewise.
4157 * config/libbid/_gt_dd.c: Likewise.
4158 * config/libbid/_gt_sd.c: Likewise.
4159 * config/libbid/_gt_td.c: Likewise.
4160 * config/libbid/_isinfd128.c: Likewise.
4161 * config/libbid/_isinfd32.c: Likewise.
4162 * config/libbid/_isinfd64.c: Likewise.
4163 * config/libbid/_le_dd.c: Likewise.
4164 * config/libbid/_le_sd.c: Likewise.
4165 * config/libbid/_le_td.c: Likewise.
4166 * config/libbid/_lt_dd.c: Likewise.
4167 * config/libbid/_lt_sd.c: Likewise.
4168 * config/libbid/_lt_td.c: Likewise.
4169 * config/libbid/_mul_dd.c: Likewise.
4170 * config/libbid/_mul_sd.c: Likewise.
4171 * config/libbid/_mul_td.c: Likewise.
4172 * config/libbid/_ne_dd.c: Likewise.
4173 * config/libbid/_ne_sd.c: Likewise.
4174 * config/libbid/_ne_td.c: Likewise.
4175 * config/libbid/_sd_to_dd.c: Likewise.
4176 * config/libbid/_sd_to_df.c: Likewise.
4177 * config/libbid/_sd_to_di.c: Likewise.
4178 * config/libbid/_sd_to_sf.c: Likewise.
4179 * config/libbid/_sd_to_si.c: Likewise.
4180 * config/libbid/_sd_to_td.c: Likewise.
4181 * config/libbid/_sd_to_tf.c: Likewise.
4182 * config/libbid/_sd_to_udi.c: Likewise.
4183 * config/libbid/_sd_to_usi.c: Likewise.
4184 * config/libbid/_sd_to_xf.c: Likewise.
4185 * config/libbid/_sf_to_dd.c: Likewise.
4186 * config/libbid/_sf_to_sd.c: Likewise.
4187 * config/libbid/_sf_to_td.c: Likewise.
4188 * config/libbid/_si_to_dd.c: Likewise.
4189 * config/libbid/_si_to_sd.c: Likewise.
4190 * config/libbid/_si_to_td.c: Likewise.
4191 * config/libbid/_td_to_dd.c: Likewise.
4192 * config/libbid/_td_to_df.c: Likewise.
4193 * config/libbid/_td_to_di.c: Likewise.
4194 * config/libbid/_td_to_sd.c: Likewise.
4195 * config/libbid/_td_to_sf.c: Likewise.
4196 * config/libbid/_td_to_si.c: Likewise.
4197 * config/libbid/_td_to_tf.c: Likewise.
4198 * config/libbid/_td_to_udi.c: Likewise.
4199 * config/libbid/_td_to_usi.c: Likewise.
4200 * config/libbid/_td_to_xf.c: Likewise.
4201 * config/libbid/_tf_to_dd.c: Likewise.
4202 * config/libbid/_tf_to_sd.c: Likewise.
4203 * config/libbid/_tf_to_td.c: Likewise.
4204 * config/libbid/_udi_to_dd.c: Likewise.
4205 * config/libbid/_udi_to_sd.c: Likewise.
4206 * config/libbid/_udi_to_td.c: Likewise.
4207 * config/libbid/_unord_dd.c: Likewise.
4208 * config/libbid/_unord_sd.c: Likewise.
4209 * config/libbid/_unord_td.c: Likewise.
4210 * config/libbid/_usi_to_dd.c: Likewise.
4211 * config/libbid/_usi_to_sd.c: Likewise.
4212 * config/libbid/_usi_to_td.c: Likewise.
4213 * config/libbid/_xf_to_dd.c: Likewise.
4214 * config/libbid/_xf_to_sd.c: Likewise.
4215 * config/libbid/_xf_to_td.c: Likewise.
4216 * config/libbid/bid128.c: Likewise.
4217 * config/libbid/bid128_2_str.h: Likewise.
4218 * config/libbid/bid128_2_str_macros.h: Likewise.
4219 * config/libbid/bid128_2_str_tables.c: Likewise.
4220 * config/libbid/bid128_add.c: Likewise.
4221 * config/libbid/bid128_compare.c: Likewise.
4222 * config/libbid/bid128_div.c: Likewise.
4223 * config/libbid/bid128_fma.c: Likewise.
4224 * config/libbid/bid128_logb.c: Likewise.
4225 * config/libbid/bid128_minmax.c: Likewise.
4226 * config/libbid/bid128_mul.c: Likewise.
4227 * config/libbid/bid128_next.c: Likewise.
4228 * config/libbid/bid128_noncomp.c: Likewise.
4229 * config/libbid/bid128_quantize.c: Likewise.
4230 * config/libbid/bid128_rem.c: Likewise.
4231 * config/libbid/bid128_round_integral.c: Likewise.
4232 * config/libbid/bid128_scalb.c: Likewise.
4233 * config/libbid/bid128_sqrt.c: Likewise.
4234 * config/libbid/bid128_string.c: Likewise.
4235 * config/libbid/bid128_to_int16.c: Likewise.
4236 * config/libbid/bid128_to_int32.c: Likewise.
4237 * config/libbid/bid128_to_int64.c: Likewise.
4238 * config/libbid/bid128_to_int8.c: Likewise.
4239 * config/libbid/bid128_to_uint16.c: Likewise.
4240 * config/libbid/bid128_to_uint32.c: Likewise.
4241 * config/libbid/bid128_to_uint64.c: Likewise.
4242 * config/libbid/bid128_to_uint8.c: Likewise.
4243 * config/libbid/bid32_to_bid128.c: Likewise.
4244 * config/libbid/bid32_to_bid64.c: Likewise.
4245 * config/libbid/bid64_add.c: Likewise.
4246 * config/libbid/bid64_compare.c: Likewise.
4247 * config/libbid/bid64_div.c: Likewise.
4248 * config/libbid/bid64_fma.c: Likewise.
4249 * config/libbid/bid64_logb.c: Likewise.
4250 * config/libbid/bid64_minmax.c: Likewise.
4251 * config/libbid/bid64_mul.c: Likewise.
4252 * config/libbid/bid64_next.c: Likewise.
4253 * config/libbid/bid64_noncomp.c: Likewise.
4254 * config/libbid/bid64_quantize.c: Likewise.
4255 * config/libbid/bid64_rem.c: Likewise.
4256 * config/libbid/bid64_round_integral.c: Likewise.
4257 * config/libbid/bid64_scalb.c: Likewise.
4258 * config/libbid/bid64_sqrt.c: Likewise.
4259 * config/libbid/bid64_string.c: Likewise.
4260 * config/libbid/bid64_to_bid128.c: Likewise.
4261 * config/libbid/bid64_to_int16.c: Likewise.
4262 * config/libbid/bid64_to_int32.c: Likewise.
4263 * config/libbid/bid64_to_int64.c: Likewise.
4264 * config/libbid/bid64_to_int8.c: Likewise.
4265 * config/libbid/bid64_to_uint16.c: Likewise.
4266 * config/libbid/bid64_to_uint32.c: Likewise.
4267 * config/libbid/bid64_to_uint64.c: Likewise.
4268 * config/libbid/bid64_to_uint8.c: Likewise.
4269 * config/libbid/bid_b2d.h: Likewise.
4270 * config/libbid/bid_binarydecimal.c: Likewise.
4271 * config/libbid/bid_conf.h: Likewise.
4272 * config/libbid/bid_convert_data.c: Likewise.
4273 * config/libbid/bid_decimal_data.c: Likewise.
4274 * config/libbid/bid_decimal_globals.c: Likewise.
4275 * config/libbid/bid_div_macros.h: Likewise.
4276 * config/libbid/bid_dpd.c: Likewise.
4277 * config/libbid/bid_flag_operations.c: Likewise.
4278 * config/libbid/bid_from_int.c: Likewise.
4279 * config/libbid/bid_functions.h: Likewise.
4280 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4281 * config/libbid/bid_inline_add.h: Likewise.
4282 * config/libbid/bid_internal.h: Likewise.
4283 * config/libbid/bid_round.c: Likewise.
4284 * config/libbid/bid_sqrt_macros.h: Likewise.
4285
4286 2009-04-09 Jakub Jelinek <jakub (a] redhat.com>
4287
4288 * Makefile.in: Change copyright header to refer to version
4289 3 of the GNU General Public License and to point readers at the
4290 COPYING3 file and the FSF's license web page.
4291 * config.host: Likewise.
4292
4293 2009-04-07 Alan Modra <amodra (a] bigpond.net.au>
4294
4295 * config.host: Reorder and merge to match config.gcc change.
4296
4297 2009-04-03 Alan Modra <amodra (a] bigpond.net.au>
4298
4299 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
4300
4301 2009-03-28 Joseph Myers <joseph (a] codesourcery.com>
4302
4303 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
4304 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
4305 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
4306 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
4307
4308 2009-02-12 Uros Bizjak <ubizjak (a] gmail.com>
4309
4310 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
4311 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4312
4313 2009-02-12 H.J. Lu <hongjiu.lu (a] intel.com>
4314
4315 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
4316 ia64/t-softfp-compat to tmake_file.
4317
4318 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
4319
4320 * config/ia64/__divxf3.asm: New.
4321 * config/ia64/_fixtfdi.asm: Likewise.
4322 * config/ia64/_fixunstfdi.asm: Likewise.
4323 * config/ia64/_floatditf.asm: Likewise.
4324 * config/ia64/t-fprules-softfp: Likewise.
4325 * config/ia64/t-softfp-compat: Likewise.
4326 * config/ia64/tf-signs.c: Likewise.
4327
4328 2009-01-18 Ben Elliston <bje (a] au.ibm.com>
4329
4330 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
4331
4332 2009-01-16 Ben Elliston <bje (a] au.ibm.com>
4333
4334 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
4335 to tmake_file.
4336
4337 2009-01-13 Ben Elliston <bje (a] au.ibm.com>
4338
4339 * config/t-softfp: New file.
4340 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
4341 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
4342
4343 2009-01-05 Joel Sherrill <joel.sherrill (a] oarcorp.com>
4344
4345 * config.host: Add m32r*-*-rtems*.
4346
4347 2008-12-01 Joel Sherrill <joel.sherrill (a] oarcorp.com>
4348
4349 * config.host: Add m32c*-*-rtems*.
4350
4351 2008-11-20 Rainer Orth <ro (a] TechFak.Uni-Bielefeld.DE>
4352
4353 PR bootstrap/33100
4354 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
4355 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
4356 * configure: Regenerate.
4357 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
4358 tmake_file here from gcc/config.gcc.
4359 Move extra_parts here from gcc/config.gcc.
4360 * config/i386/t-sol2: Move here from gcc/config/i386.
4361 Use gcc_srcdir instead of srcdir.
4362
4363 2008-11-18 Adam Nemet <anemet (a] caviumnetworks.com>
4364
4365 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
4366 case.
4367
4368 2008-11-09 Thomas Schwinge <tschwinge (a] gnu.org>
4369
4370 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
4371
4372 2008-10-08 Thomas Schwinge <tschwinge (a] gnu.org>
4373
4374 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
4375
4376 2008-09-03 Hari Sandanagobalane <hariharan (a] picochip.com>
4377
4378 Add picoChip port.
4379 * config.host: Add picochip-*-*.
4380
4381 2008-08-06 Bob Wilson <bob.wilson (a] acm.org>
4382
4383 * config.host: Match more processor names for Xtensa.
4384
4385 2008-07-08 H.J. Lu <hongjiu.lu (a] intel.com>
4386
4387 * config/i386/64/t-softfp-compat: Update comments.
4388
4389 2008-07-07 H.J. Lu <hongjiu.lu (a] intel.com>
4390
4391 * config/i386/64/_divtc3-compat.c: Moved to ...
4392 * config/i386/64/_divtc3.c: Here.
4393
4394 * config/i386/64/_multc3-compat.c: Moved to ...
4395 * config/i386/64/_multc3.c: Here.
4396
4397 * config/i386/64/_powitf2-compat.c: Moved to ...
4398 * config/i386/64/_powitf2.c: Here.
4399
4400 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
4401 .c suffix instead of -compat.c.
4402
4403 2008-07-05 Uros Bizjak <ubizjak (a] gmail.com>
4404
4405 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
4406 (_FP_MUL_MEAT_D): Ditto.
4407 (_FP_DIV_MEAT_S): Ditto.
4408 (_FP_DIV_MEAT_D): Ditto.
4409
4410 2008-07-03 Richard Sandiford <rdsandiford (a] googlemail.com>
4411
4412 * Makefile.in: Add support for __sync_* libgcc functions.
4413
4414 2008-07-03 H.J. Lu <hongjiu.lu (a] intel.com>
4415
4416 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
4417
4418 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
4419
4420 PR boostrap/36702
4421 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
4422 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
4423
4424 * config/i386/64/t-fprules-softfp: Moved to ...
4425 * config/i386/64/t-softfp-compat: This. New.
4426
4427 2008-07-02 Uros Bizjak <ubizjak (a] gmail.com>
4428
4429 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
4430 Initialize f with 0.0.
4431
4432 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
4433
4434 PR target/36669
4435 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
4436
4437 * config/i386/64/_divtc3-compat.c: New.
4438 * config/i386/64/_multc3-compat.c: Likewise.
4439 * config/i386/64/_powitf2-compat.c: Likewise.
4440 * config/i386/64/eqtf2.c: Likewise.
4441 * config/i386/64/getf2.c: Likewise.
4442 * config/i386/64/letf2.c: Likewise.
4443 * config/i386/64/t-fprules-softfp: Likewise.
4444
4445 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
4446
4447 * config.host: Add i386/${host_address}/t-fprules-softfp to
4448 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
4449 i[34567]86-*-linux*, x86_64-*-linux*.
4450
4451 * configure.ac: Set host_address to 64 or 32 for x86.
4452 * configure: Regenerated.
4453
4454 * Makefile.in (config.status): Also depend on
4455 $(srcdir)/config.host.
4456
4457 * config/i386/32/t-fprules-softfp: New.
4458 * config/i386/32/tf-signs.c: Likewise.
4459
4460 * config/i386/64/sfp-machine.h: New. Moved from gcc.
4461
4462 2008-07-02 H.J. Lu <hongjiu.lu (a] intel.com>
4463 Uros Bizjak <ubizjak (a] gmail.com>
4464
4465 * config/i386/32/sfp-machine.h: New.
4466
4467 2008-06-26 Nathan Froyd <froydnj (a] codesourcery.com>
4468
4469 * config/rs6000/t-ppccomm: Remove rules that conflict with
4470 auto-generated rules.
4471
4472 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de>
4473
4474 * configure.ac: sinclude override.m4.
4475 * configure: Regenerate.
4476
4477 2008-06-11 Bernhard Fischer <aldot (a] gcc.gnu.org>
4478
4479 * configure: Regenerate.
4480
4481 2008-06-10 Joseph Myers <joseph (a] codesourcery.com>
4482
4483 * Makefile.in (DECNUMINC): Remove
4484 -I$(MULTIBUILDTOP)../../libdecnumber.
4485 * gstdint.h: New.
4486
4487 2008-06-07 Joseph Myers <joseph (a] codesourcery.com>
4488
4489 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
4490 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
4491 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
4492 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
4493 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
4494 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
4495 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
4496 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
4497 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
4498 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
4499 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
4500 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
4501 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
4502 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
4503
4504 2008-05-25 Arthur Loiret <arthur.loiret (a] u-psud.fr>
4505
4506 * config.host (sh2[lbe]*-*-linux*): Allow target.
4507
4508 2008-04-30 Nathan Froyd <froydnj (a] codesourcery.com>
4509
4510 * config/rs6000/t-ppccomm: Add build rules for new files.
4511 (LIB2ADD_ST): New variable.
4512
4513 2008-04-07 Andy Hutchinson <hutchinsonandy (a] aim.com>
4514
4515 PR target/34210
4516 PR target/35508
4517 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
4518 * config/t-avr: New file. Build 16bit libgcc functions.
4519
4520 2008-03-02 Jakub Jelinek <jakub (a] redhat.com>
4521
4522 PR target/35401
4523 * config/t-slibgcc-darwin: Make install-leaf dependent on
4524 install-darwin-libgcc-stubs instead of install.
4525
4526 2008-01-25 Joseph Myers <joseph (a] codesourcery.com>
4527
4528 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
4529 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
4530 sh-*-rtemscoff*): Remove cases.
4531
4532 2007-12-27 Richard Sandiford <rsandifo (a] nildram.co.uk>
4533
4534 * Makefile.in (all): Use install-leaf rather than install.
4535 (install): Split most of the rule into...
4536 (install-leaf): ...this new one.
4537
4538 2007-12-19 Etsushi Kato <ek.kato (a] gmail.com>
4539 Paolo Bonzini <bonzini (a] gnu.org>
4540
4541 PR target/30572
4542 * Makefile.in: Use @shlib_slibdir@ substitution to get
4543 correct install name on darwin.
4544 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
4545
4546 2007-12-15 Hans-Peter Nilsson <hp (a] axis.com>
4547
4548 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
4549 cris-*-elf and cris-*-none.
4550 (crisv32-*-linux*): Similar, as cris-*-linux*.
4551
4552 2007-11-20 Rask Ingemann Lambertsen <rask (a] sygehus.dk>
4553
4554 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
4555
4556 2007-10-27 H.J. Lu <hongjiu.lu (a] intel.com>
4557
4558 PR regression/33926
4559 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
4560 * configure: Regenerated.
4561
4562 2007-09-27 H.J. Lu <hongjiu.lu (a] intel.com>
4563
4564 * Makefile.in (dfp-filenames): Replace decimal_globals,
4565 decimal_data, binarydecimal and convert_data with
4566 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
4567 and bid_convert_data, respectively.
4568
4569 2007-09-17 Chao-ying Fu <fu (a] mips.com>
4570 Nigel Stephens <nigel (a] mips.com>
4571
4572 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
4573 * Makefile.in (fixed_point): Define.
4574 Check if fixed_point is yes to build support functions.
4575 * configure.ac: Check for fixed_point support.
4576 * configure: Regenerated.
4577 * gen-fixed.sh: New file to generate lists of fixed-point labels,
4578 funcs, modes, from, to.
4579
4580 2007-09-11 Janis Johnson <janis187 (a] us.ibm.com
4581
4582 * Makefile.in (dfp-filenames): Add bid128_noncomp.
4583
4584 2007-09-10 Janis Johnson <janis187 (a] us.ibm.com>
4585
4586 * Makefile.in (dfp-filenames): Remove decUtility, add
4587 decDouble, decPacked, decQuad, decSingle.
4588
4589 2007-08-27 Hans Kester <hans.kester (a] ellips.nl>
4590
4591 * config.host : Add x86_64-elf target.
4592
4593 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
4594
4595 * configure.ac (set_have_cc_tls): Add a missing =.
4596 * configure: Regenerated.
4597
4598 2007-07-06 H.J. Lu <hongjiu.lu (a] intel.com>
4599
4600 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
4601 and x86_64-*-linux*.
4602
4603 * config/t-tls: New file.
4604
4605 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
4606
4607 * configure.ac: Include ../config/enable.m4 and
4608 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
4609 supports TLS and substitute set_have_cc_tls.
4610 * configure: Regenerated.
4611
4612 2007-07-04 H.J. Lu <hongjiu.lu (a] intel.com>
4613
4614 * Makefile.in: Use libbid for DFP when BID is enabled.
4615
4616 2007-06-14 Danny Smith <dannysmith (a] users.sourceforge.net>
4617
4618 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
4619 extra_parts. Add config/i386/t-cygming to tmake_file.
4620 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
4621
4622 2007-05-29 Zuxy Meng <zuxy.meng (a] gmail.com>
4623 Danny Smith <dannysmith (a] users.sourceforge.net>
4624
4625 PR target/29498
4626 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
4627 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
4628 * config/i386/t-crtfm: Compile crtfastmath.o with
4629 -minline-all-stringops.
4630
4631 2007-05-10 Richard Sandiford <richard (a] codesourcery.com>
4632
4633 * config.host (sparc-wrs-vxworks): New target.
4634
4635 2007-04-14 Kazu Hirata <kazu (a] codesourcery.com>
4636
4637 * config.host: Recognize fido.
4638
4639 2007-04-04 Janis Johnson <janis187 (a] us.ibm.com>
4640
4641 * configure: Check host, not target, for decimal float support.
4642
4643 2007-04-03 Uros Bizjak <ubizjak (a] gmail.com>
4644
4645 * config/i386/t-crtpc: New file.
4646 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
4647 (x86_64-*-linux*): Ditto.
4648
4649 2007-02-30 Kai Tietz <kai.tietz (a] onevision.com>
4650
4651 * config.host (x86_64-*-mingw*): New target.
4652
4653 2007-03-23 Michael Meissner <michael.meissner (a] amd.com>
4654 H.J. Lu <hongjiu.lu (a] intel.com>
4655
4656 * Makefile.in (enable_decimal_float): New.
4657 (DECNUMINC): Add
4658 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
4659 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
4660 (decbits-filenames): This.
4661 (decbits-objects): New.
4662 (libgcc-objects): Add $(decbits-objects).
4663
4664 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
4665 Substitute enable_decimal_float.
4666 * configure: Regenerated.
4667
4668 2007-03-19 Hans-Peter Nilsson <hp (a] axis.com>
4669
4670 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
4671
4672 2007-03-12 Brooks Moses <brooks.moses (a] codesourcery.com>
4673
4674 * Makefile.in (install-info): New dummy target.
4675
4676 2007-03-05 Bernd Schmidt <bernd.schmidt (a] analog.com>
4677
4678 * config.host (bfin*-linux-uclibc*): Set extra_parts.
4679
4680 2007-03-01 Brooks Moses <brooks.moses (a] codesourcery.com>
4681
4682 * Makefile.in: Add install-html and install-pdf dummy
4683 targets.
4684
4685 2007-02-05 Roger Sayle <roger (a] eyesopen.com>
4686 Daniel Jacobowitz <dan (a] codesourcery.com>
4687
4688 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
4689 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
4690 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
4691
4692 2007-01-29 Janis Johnson <janis187 (a] us.ibm.com>
4693
4694 * Makefile.in (dec-filenames): Add decExcept.
4695
4696 2007-01-28 Daniel Jacobowitz <dan (a] codesourcery.com>
4697
4698 PR bootstrap/30469
4699 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
4700 -fprofile-use.
4701
4702 2007-01-25 Daniel Jacobowitz <dan (a] codesourcery.com>
4703
4704 * configure.ac: Add --enable-version-specific-runtime-libs.
4705 Correct $slibdir default.
4706 * configure: Regenerated.
4707
4708 2007-01-23 Joseph Myers <joseph (a] codesourcery.com>
4709
4710 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
4711
4712 2007-01-21 Andrew Pinski <pinskia (a] gmail.com>
4713
4714 PR target/30519
4715 * config.host (alpha*-*-linux*): Set extra_parts.
4716
4717 2007-01-09 Kaz Kojima <kkojima (a] gcc.gnu.org>
4718
4719 * config/sh/t-linux: New.
4720 * config.host (sh*-*-linux*): Set tmake_file.
4721
4722 2007-01-05 Daniel Jacobowitz <dan (a] codesourcery.com>
4723
4724 * Makefile.in (install): Handle multilibs.
4725
4726 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
4727
4728 * Makefile.in: Added .PHONY entry for documentation targets.
4729
4730 2007-01-04 Brooks Moses <brooks.moses (a] codesourcery.com>
4731
4732 * Makefile.in: Add empty info, html, dvi, pdf targets.
4733
4734 2007-01-04 Mike Stump <mrs (a] apple.com>
4735
4736 * Makefile.in (MAKEINFO): Remove.
4737 (PERL): Likewise.
4738
4739 2007-01-04 Paolo Bonzini <bonzini (a] gnu.org>
4740
4741 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
4742 * configure: Regenerate.
4743 * Makefile.in (host_subdir): Substitute it.
4744 (gcc_objdir): Use it.
4745
4746 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
4747
4748 * config.host (ia64*-*-linux*): Set tmake_file.
4749
4750 2007-01-04 Daniel Jacobowitz <dan (a] codesourcery.com>
4751
4752 * Makefile.in (version): Define.
4753
4754 2007-01-03 Daniel Jacobowitz <dan (a] codesourcery.com>
4755 Paolo Bonzini <bonzini (a] gnu.org>
4756
4757 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
4758 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
4759 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
4760 config/sparc/t-crtfm, config/t-slibgcc-darwin,
4761 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
4762 shared-object.mk, siditi-object.mk, static-object.mk: New files.
4763 * configure: Generated.
4764