]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
install.texi (Downloading the source): Mark up contrib/download_prerequisites properl...
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
4efab402
SH
12015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2
3 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4 (__GTHREAD_HAS_COND): Likewise.
5 (__gthread_t): Likewise.
6 (__gthread_cond_t): Likewise.
7 (__gthread_time_t): Likewise.
8 (__GTHREAD_MUTEX_INIT): Likewise.
9 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
10 (__GTHREAD_COND_INIT): Likewise.
11 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
12 (__GTHREAD_TIME_INIT): Likewise.
13 (__gthread_create): Likewise.
14 (__gthread_join): Likewise.
15 (__gthread_detach): Likewise.
16 (__gthread_equal): Likewise.
17 (__gthread_self): Likewise.
18 (__gthread_yield): Likewise.
19 (__gthread_cond_broadcast): Likewise.
20 (__gthread_cond_signal): Likewise.
21 (__gthread_cond_wait): Likewise.
22 (__gthread_cond_timedwait): Likewise.
23 (__gthread_cond_wait_recursive): Likewise.
24 (__gthread_cond_destroy): Likewise.
25 (rtems_gxx_once): Delete.
26 (rtems_gxx_key_create): Likewise.
27 (rtems_gxx_key_delete): Likewise.
28 (rtems_gxx_getspecific): Likewise.
29 (rtems_gxx_setspecific): Likewise.
30 (rtems_gxx_mutex_init): Likewise.
31 (rtems_gxx_mutex_destroy): Likewise.
32 (rtems_gxx_mutex_lock): Likewise.
33 (rtems_gxx_mutex_trylock): Likewise.
34 (rtems_gxx_mutex_unlock): Likewise.
35 (rtems_gxx_recursive_mutex_init): Likewise.
36 (rtems_gxx_recursive_mutex_lock): Likewise.
37 (rtems_gxx_recursive_mutex_trylock): Likewise.
38 (rtems_gxx_recursive_mutex_unlock): Likewise.
39 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
40 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
41 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
42 (__gthread_once): Likewise.
43 (__gthread_key_create): Likewise.
44 (__gthread_key_delete): Likewise.
45 (__gthread_getspecific): Likewise.
46 (__gthread_setspecific): Likewise.
47 (__gthread_key_t): Use <pthread.h> type.
48 (__gthread_once_t): Likewise
49 (__gthread_mutex_t): Use <sys/lock.h> type.
50 (__gthread_recursive_mutex_t): Likewise
51 (__gthread_mutex_lock): Use <sys/lock.h> function.
52 (__gthread_mutex_trylock): Likewise.
53 (__gthread_mutex_timedlock): Likewise.
54 (__gthread_mutex_unlock): Likewise.
55 (__gthread_mutex_destroy): Likewise.
56 (__gthread_recursive_mutex_lock): Likewise.
57 (__gthread_recursive_mutex_trylock): Likewise.
58 (__gthread_recursive_mutex_timedlock): Likewise.
59 (__gthread_recursive_mutex_unlock): Likewise.
60 (__gthread_recursive_mutex_destroy): Likewise.
61
991995c4
MF
622015-08-18 Max Filippov <jcmvbkbc@gmail.com>
63
64 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
65 context->sp instead of context->cfa.
66
0e19db59
MF
672015-08-18 Max Filippov <jcmvbkbc@gmail.com>
68
69 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
70 with unwind-dw2-fde-dip.
71
b6ac5f62
MF
722015-08-18 Max Filippov <jcmvbkbc@gmail.com>
73
74 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
75 CALL12 followed by series of ENTRY to spill windowed registers.
76 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
77 instead of making linux spill syscall.
78
3e0f3349
YR
792015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
80
81 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
82 (get_intel_cpu): Likewise.
83
51c728b1
L
842015-08-12 H.J. Lu <hongjiu.lu@intel.com>
85
86 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
87 (get_intel_cpu): Add Knights Landing support.
88
aff4eeac
UB
892015-08-11 Uros Bizjak <ubizjak@gmail.com>
90
91 PR target/66954
92 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
93 (get_available_features): Handle FEATURE_PCLMUL.
94
736e56da
L
952015-08-10 H.J. Lu <hongjiu.lu@intel.com>
96
97 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
98 Broadwell.
99
54d22142
UB
1002015-07-22 Uros Bizjak <ubizjak@gmail.com>
101
102 PR target/66954
103 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
104 (get_available_features): Handle FEATURE_AES.
105
20ca17e4
CLT
1062015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
107
108 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
109 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
110
ebe4a560
NS
1112015-07-17 Nathan Sidwell <nathan@codesourcery.com>
112
113 * offloadstuff.c: Constify host data.
114
180744c0
JB
1152015-07-17 Jan Beulich <jbeulich@suse.com>
116
117 * config/t-softfp: Split up "else ifneq".
118
a03c6ae3
SL
1192015-07-14 Sandra Loosemore <sandra@codesourcery.com>
120 Cesar Philippidis <cesar@codesourcery.com>
121 Chung-Lin Tang <cltang@codesourcery.com>
122
123 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
124 for __nios2_arch__ level.
125
73358db5
JM
1262015-07-13 John Marino <gnugcc@marino.st>
127
128 * config/i386/t-dragonfly: New.
129
f9a12f7b
JDA
1302015-07-01 John David Anglin <danglin@gcc.gnu.org>
131
132 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
133 better match light-weight syscall argument order.
134 (__kernel_cmpxchg2): Likewise.
135 Adjust callers.
136
cb78b51c
L
1372015-06-30 H.J. Lu <hongjiu.lu@intel.com>
138
139 * config.host: Support i[34567]86-*-elfiamcu target.
140 * config/t-softfp-sfdftf: New file.
141 * config/i386/32/t-iamcu: Likewise.
142 * configure: Regenerated.
143
4fa0f9ea
JL
1442015-06-23 James Lemke <jwlemke@codesourcery.com>
145
146 libgcc/config/arm/
147 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
148
428b3812
L
1492015-05-27 H.J. Lu <hongjiu.lu@intel.com>
150
151 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
152
89c54dd3
JM
1532015-05-27 John Marino <gnugcc@marino.st>
154
155 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
156 md_unwind_header
157 * config/i386/freebsd-unwind.h: New.
158
9b789cc1
UB
1592015-05-22 Uros Bizjak <ubizjak@gmail.com>
160
161 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
162 i386/t-crtfm to tmake_file.
163 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
164 (set_fast_math): Use set_fast_math_sse for SSE targets.
165 * config/i386/t-crtfm: Remove.
166
3dafb220
AM
1672015-05-21 Alan Modra <amodra@gmail.com>
168
169 PR libgcc/66225
170 * config/rs6000/morestack.S: Remove ".abiversion 1".
171
0f0fd745
AM
1722015-05-20 Alan Modra <amodra@gmail.com>
173
174 * config/rs6000/morestack.S: New.
175 * config/rs6000/t-stack-rs6000: New.
176 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
177 to tmake_file.
178 * generic-morestack.c: Don't build for powerpc 32-bit.
179
515ae71b
EB
1802015-05-19 Eric Botcazou <ebotcazou@adacore.com>
181
182 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
183 Remove useless endif/ifneq ($(enable_shared),yes) pair.
184
36805406
JL
1852015-05-16 James Bowman <james.bowman@ftdichip.com>
186
187 * config.host: FT32 target added.
188 * config/ft32/*: New files for FT32 target.
189
ff935d0c
MG
1902015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
191
192 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
193 New macros.
194 * config/arm/ieee754-df.S: Add CFI directives.
195 * config/arm/ieee754-sf.S: Add CFI directives.
196
9b92a9f3
EB
1972015-05-13 Eric Botcazou <ebotcazou@adacore.com>
198
199 * configure.ac: Include config/sjlj.m4.
200 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
201 * config.in: Regenerate.
202 * configure: Likewise.
203 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
204
98b5dc61
UB
2052015-05-12 Uros Bizjak <ubizjak@gmail.com>
206
207 * libgcov-util.c: Add space between string literal and macro name.
208
5a0ff57c
SL
2092015-05-06 Sandra Loosemore <sandra@codesourcery.com>
210 Chris Jones <chrisj@nvidia.com>
211 Joshua Conner <jconner@nvidia.com>
212
213 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
214 (arm*-*-uclinux*): Likewise.
215 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
216 * config/arm/crtfastmath.c: New file.
217
d28ad5d4
BS
2182014-04-29 Bernd Schmidt <bernds@codesourcery.com>
219
220 * Makefile.in (real_host_noncanonical): New variable.
221 (libsubdir): Use it.
222 * configure.ac (real_host_noncanonical): Compute. Remove special
223 case for intelmicemul.
224 * configure: Regenerate.
225
cc86234f
UB
2262015-04-28 Uros Bizjak <ubizjak@gmail.com>
227
228 * config/frv/elf-lib.h: New file.
229 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
230 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
231 to tm_file.
232
2332015-04-28 Uros Bizjak <ubizjak@gmail.com>
234
235 * config/frv/frvbengin.c: Do not include defaults.h
236 * config/frv/frvend.c: Ditto.
237
2f6bd6eb
YS
2382015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
239
240 * config.host: Add h8300-*-linux
241 * config/h8300/t-linux: New file.
242 * config/h8300/lib1funs.s: Change symbol prefix.
243 * config/h8300/sfp-machine.h: 64bit double support.
244
15aa7b44
GR
2452015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
246 Szabolcs Nagy <szabolcs.nagy@arm.com>
247
248 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
249 Linux if target provides dl_iterate_phdr.
250
abd0cdc9
L
2512015-04-17 H.J. Lu <hongjiu.lu@intel.com>
252
253 PR target/65612
254 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
255 * config/i386/cpuinfo.c (__cpu_model): Initialize.
256 (__cpu_indicator_init@GCC_4.8.0): New.
257 (__cpu_model@GCC_4.8.0): Likewise.
258 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
259 -DUSE_ELF_SYMVER.
260
72ed1126
NC
2612015-04-16 Nick Clifton <nickc@redhat.com>
262
263 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
264 and __modhi3 functions.
265 * config/rl78/divmodso.S: Add G14 and G13 versions of the
266 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
267
d26b2237
CG
2682015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
269
270 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
271 do-while loop as macro body to avoid warnings.
272
cacf1f59
JJ
2732015-04-10 Jakub Jelinek <jakub@redhat.com>
274 Iain Sandoe <iain@codesourcery.com>
275
276 PR target/65351
277 * configure: Regenerate.
278
e8a4ed3b
JJ
2792015-04-07 Jakub Jelinek <jakub@redhat.com>
280 Iain Sandoe <iain@codesourcery.com>
281
282 PR target/65351
283 * configure: Regenerate.
284
0341335e
CLT
2852015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
286
287 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
288
590e2636 2892015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 290
590e2636
MF
291 Implement call0 ABI for xtensa
292 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
293 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
294 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
295 use ret in call0 ABI.
296 * config/xtensa/t-windowed: New file.
297 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
298 * libgcc/configure: Regenerated.
299 * libgcc/configure.ac: Check if xtensa target is configured for
300 windowed ABI and thus needs to use custom unwind code.
301
7727f8f2
JW
3022015-02-12 Jonathan Wakely <jwakely@redhat.com>
303
304 PR libgcc/64885
305 * gthr-single.h: Use __unused__ attribute instead of unused.
306 * config/gthr-vxworks.h: Likewise.
307 * config/i386/gthr-win32.h: Likewise.
308
0e4a0def
KT
3092015-02-27 Kai Tietz <ktietz@redhat.com>
310
311 PR target/65038
312 * config.in: Regenerated.
313 * configure: Likewise.
314 * configure.ac (AC_HEADER_STDC): Added explicit.
315 (AC_CHECK_HEADERS): Check for default headers plus
316 for ftw.h header.
317 * libgcov-util.c (gcov_read_profile_dir): Disable use
318 of ftw-function, if header is not found.
319 (ftw_read_file): Likewise.
320
b6530d0a
TS
3212015-02-23 Thomas Schwinge <thomas@codesourcery.com>
322
323 PR target/65181
324 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
325 -Dinhibit_libc.
326
53cfb467
SL
3272015-02-17 Sandra Loosemore <sandra@codesourcery.com>
328
329 * config/arm/bpabi.S (test_div_by_zero): Make label names
330 consistent between thumb2 and arm mode cases. Separate the
331 signed comparison on the high word of the numerator from the
332 unsigned comparison on the low word.
333 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
334 signed comparison.
335
77d10a1b
JM
3362015-02-17 Joseph Myers <joseph@codesourcery.com>
337
338 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
339 and <string.h>.
340 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
341
98174188
RE
3422015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
343
344 PR gcov-profile/61889
471274de 345 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 346
771bef14
NC
3472015-02-02 Nick Clifton <nickc@redhat.com>
348
349 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
350 rounding up the fraction.
351
40702893
JDA
3522015-01-31 John David Anglin <danglin@gcc.gnu.org>
353
354 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
355 oldval and newval to const void *. Fix typo.
356 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
357 (FETCH_AND_OP_WORD): Likewise.
358 (OP_AND_FETCH_WORD): Likewise.
359 (COMPARE_AND_SWAP_2): Likewise.
360 (__sync_val_compare_and_swap_4): Likewise.
361 (__sync_lock_test_and_set_4): Likewise.
362 (SYNC_LOCK_RELEASE_2): Likewise.
363 Remove support for long long atomic operations.
364
f7f049fa
CT
3652015-01-27 Caroline Tice <cmtice@google.com>
366
367 Committing VTV Cywin/Ming patch for Patrick Wollgast
368 * Makefile.in: Move rules to build vtv_*.o out of the check
369 for CUSTOM_CRTSTUFF.
370 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
371 i[34567]86-*-mingw*)
372 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
373 enable_vtable_verify.
374
8410904a
NC
3752015-01-27 Nick Clifton <nickc@redhat.com>
376
377 * config/rl78/cmpsi2.S: Use function start and end macros.
378 (__gcc_bcmp): New function.
379 * config/rl78/lshrsi3.S: Use function start and end macros.
380 * config/rl78/mulsi3.S: Add support for G10.
381 (__mulqi3): New function for G10.
382 * config/rl78/signbit.S: Use function start and end macros.
383 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
384 fpmath-sf.S.
385 (LIB2FUNCS_EXCLUDE): Define.
386 (LIB2FUNCS_ST): Define.
387 * config/rl78/trampoline.S: Use function start and end macros.
388 * config/rl78/vregs.h (START_FUNC): New macro.
389 (START_ANOTHER_FUNC): New macro.
390 (END_FUNC): New macro.
391 (END_ANOTHER_FUNC): New macro.
392 * config/rl78/bit-count.S: New file. Contains assembler
393 implementations of the bit counting functions: ___clzhi2,
394 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
395 __paritysi2, __popcounthi2 and __popcountsi2.
396 * config/rl78/fpbit-sf.S: New file. Contains assembler
397 implementationas of the math functions: __negsf2, __cmpsf2,
398 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
399 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
400 * config/rl78/fpmath-sf.S: New file. Contains assembler
401 implementations of the math functions: __subsf3, __addsf3,
402 __mulsf3 and __divsf3
403
f962fbf1
RO
4042015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
405
406 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
407 Add i386/elf-lib.h to tm_file.
408 * config/i386/elf-lib.h: Fix comment.
409 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
410 && __sun__ && __svr4__]: Remove workaround.
411
939911c5
ASJ
4122015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
413
414 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
415 FEATURE_BMI2.
416 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
417
c8f2dff2
L
4182015-01-24 H.J. Lu <hongjiu.lu@intel.com>
419
420 * config/i386/cpuinfo.c (processor_subtypes): Add
421 INTEL_COREI7_BROADWELL.
422 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
423 model numbers.
424
7bbf9734
UB
4252015-01-23 Uros Bizjak <ubizjak@gmail.com>
426
427 * config/i386/elf-lib.h: New file.
428 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
429 Wrap definition in #ifdef __i386__.
430 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
431 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
432 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
433 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
434 to tm_file.
435
324820f1
CG
4362015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
437
438 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
439 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
440
a9ce4e4a
CLT
4412015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
442
443 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
444 Update rt_sigframe format and address for current Nios II
445 Linux conventions.
446
82a19768
AT
4472015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
448
449 * config.host (arm*-*-freebsd*): Add new configuration for
450 arm*-*-freebsd*.
451 * config/arm/freebsd-atomic.c: New file.
452 * config/arm/t-freebsd: Likewise.
453 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
454 'PC-relative indirect' OS's.
455
0969ec7d
EB
4562015-01-06 Eric Botcazou <ebotcazou@adacore.com>
457
458 * config.host: Add Visium support.
459 * config/visium: New directory.
460
5624e564
JJ
4612015-01-05 Jakub Jelinek <jakub@redhat.com>
462
463 Update copyright years.
464
82f84ecb
MF
4652014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
466
467 * config.host: Support mipsisa32r6 and mipsisa64r6.
468 * config/mips/mips16.S: Do not build for R6.
469
69044fa9
OE
4702014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
471
472 * config/sh/crt.h: New.
473 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
474 symbols.
475 * config/sh/crt1.S: Likewise.
476
2405e0ea
UB
4772014-12-15 Uros Bizjak <ubizjak@gmail.com>
478
479 PR libgcc/63832
480 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
481 func_ptr *dtor_list temporary variable to avoid "array subscript
482 is above array bounds" warnings.
483
3f6ad8df 4842014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
485
486 * Makefile.in (with_aix_soname): Define.
487 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
488 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
489 * configure: Recreate.
490
a66272f6
OH
4912014-12-05 Olivier Hainque <hainque@adacore.com>
492
493 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
494 now provided by defaults.h.
495
6342b2c5
OE
4962014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
497
7d0ee249 498 PR target/55351
6342b2c5
OE
499 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
500 whether it's defined.
501
c17eac85
IT
5022014-11-27 Ilya Tocar <ilya.tocar@intel.com>
503
504 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
505 * config/i386/cpuinfo.c (get_available_features): Detect it.
506
1025cb6c
TW
5072014-11-27 Tony Wang <tony.wang@arm.com>
508
509 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
510 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
511 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
512
d19f2e38
SB
5132014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
514
515 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
516
17f6e9a3
JDA
5172014-11-24 John David Anglin <danglin@gcc.gnu.org>
518
519 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
520 instead.
521
0cd7c672
GM
5222014-11-21 Guy Martin <gmsoft@tuxicoman.be>
523 John David Anglin <danglin@gcc.gnu.org>
524
525 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
526 (FETCH_AND_OP_2): New. Use for subword and double word operations.
527 (OP_AND_FETCH_2): Likewise.
528 (COMPARE_AND_SWAP_2): Likewise.
529 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
530 (SYNC_LOCK_RELEASE_2): Likewise.
531 (SUBWORD_SYNC_OP): Remove.
532 (SUBWORD_VAL_CAS): Likewise.
533 (SUBWORD_BOOL_CAS): Likewise.
534 (FETCH_AND_OP_WORD): Update.
535 Consistently use signed types.
cc86234f 536
85c64bbe
BS
5372014-11-13 Bernd Schmidt <bernds@codesourcery.com>
538 Thomas Schwinge <thomas@codesourcery.com>
539 Ilya Verbin <ilya.verbin@intel.com>
540 Andrey Turetskiy <andrey.turetskiy@intel.com>
541
542 * Makefile.in (crtoffloadbegin$(objext)): New rule.
543 (crtoffloadend$(objext)): Likewise.
544 * configure: Regenerate.
545 * configure.ac (accel_dir_suffix): Compute new variable.
546 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
547 if enable_offload_targets is not empty.
548 * offloadstuff.c: New file.
549
52a1ff8b
NC
5502014-11-13 Nick Clifton <nickc@redhat.com>
551
552 * config/rl78/divmodhi.S: Add support for the G10 architecture.
553 Use START_FUNC and END_FUNC macros to enable linker garbage
554 collection.
555 * config/rl78/divmodqi.S: Likewise.
556 * config/rl78/divmodsi.S: Likewise.
557 * config/rl78/mulsi3.S: Likewise.
558 * config/rl78/lib2div.c: Remove G10 functions.
559 * config/rl78/lib2muls.c: Likewise.
560 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
561 * config/rl78/vregs.h (START_FUNC): New macro.
562 (END_FUNC): New macro.
563
050af144
MF
5642014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
565
566 * config/mips/mips16.S: Set .module when supported. Update O32
567 FP64 calling convention and use for FPXX when possible. Add FPXX
568 calling convention fallback case.
569
738f2522
BS
5702014-11-06 Bernd Schmidt <bernds@codesourcery.com>
571
572 * config.host: Handle nvptx-*-*.
573 * shared-object.mk (as-flags-$o): Define.
574 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
575 -xassembler-with-cpp.
576 * static-object.mk: Identical changes.
577 * config/nvptx/t-nvptx: New file.
578 * config/nvptx/crt0.s: New file.
579 * config/nvptx/free.asm: New file.
580 * config/nvptx/malloc.asm: New file.
581 * config/nvptx/realloc.c: New file.
582
e610393c
JM
5832014-10-30 Joseph Myers <joseph@codesourcery.com>
584
585 * Makefile.in (libgcc.map.in): New target.
586 (libgcc.map): Use libgcc.map.in.
587 * config/t-softfp (softfp_compat): New variable to be set by
588 users.
589 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
590 variables.
591 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
592 directory.
593 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
594 that use compat symbols and disable all code unless [SHARED].
595 * config/t-softfp-compat: New file.
596 * find-symver.awk: New file.
597 * configure.ac (--with-glibc-version): New configure option.
598 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
599 * configure: Regenerate.
600 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
601 soft-float and e500.
602
bc1b3a88
JM
6032014-10-29 Joseph Myers <joseph@codesourcery.com>
604
605 * config/t-hardfp (hardfp_exclusions): Document new variable for
606 user to define.
607 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
608 * config/t-softfp (softfp_extras): Document new variable for user
609 to define.
610 (softfp_func_list): Add functions from $(softfp_extras).
611 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
612 * config.host (powerpc*-*-linux*): For e500v1, use
613 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
614 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
615 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
616
ef2810c1
JDA
6172014-10-26 John David Anglin <danglin@gcc.gnu.org>
618
619 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
620 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
621 memory read accesses are ok.
622
d80c2bea
JM
6232014-10-25 Joseph Myers <joseph@codesourcery.com>
624
625 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
626 * configure: Regenerate.
627 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
628 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
629 of soft-fp for 32-bit classic hard float. Do not use
630 t-softfp-excl for soft float.
631
693b297b
JM
6322014-10-22 Joseph Myers <joseph@codesourcery.com>
633
634 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
635 configurations.
636 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
637 Remove variables.
638
18a3415e
GJL
6392014-10-22 Georg-Johann Lay <avr@gjlay.de>
640
641 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
642 introduced with 2014-10-21 trunk r216525.
643
c1dd9790
JR
6442014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
645 Vidya Praveen <vidya.praveen@atmel.com>
646 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
647 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
648 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
649
650 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
651 order.
652
653 Updated library functions for AVRTINY arch.
654 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
655 Replaced occurrences of r0/r1 with tmp/zero reg macros.
656 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
657 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
658 wsubi/wadi macors.
659 (__mulsi3_helper): Update stack, preserve callee saved regs and
660 argument from stack. Restore callee save registers.
661 (__mulpsi3): Likewise.
662 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
663 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 664 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
665 AVRTINY.
666 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
667 (__do_copy_data): Added new definition for AVRTINY.
668 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
669 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
670 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
671 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
672 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
673 macors.
18a3415e 674 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
675 AVRTINY.
676
18a3415e 677 Fix broken long multiplication on tiny arch.
c1dd9790 678
5f606431
JM
6792014-10-09 Joseph Myers <joseph@codesourcery.com>
680
681 * soft-fp/double.h: Update from glibc.
682 * soft-fp/eqdf2.c: Likewise.
683 * soft-fp/eqsf2.c: Likewise.
684 * soft-fp/eqtf2.c: Likewise.
685 * soft-fp/extenddftf2.c: Likewise.
686 * soft-fp/extended.h: Likewise.
687 * soft-fp/extendsfdf2.c: Likewise.
688 * soft-fp/extendsftf2.c: Likewise.
689 * soft-fp/extendxftf2.c: Likewise.
690 * soft-fp/gedf2.c: Likewise.
691 * soft-fp/gesf2.c: Likewise.
692 * soft-fp/getf2.c: Likewise.
693 * soft-fp/ledf2.c: Likewise.
694 * soft-fp/lesf2.c: Likewise.
695 * soft-fp/letf2.c: Likewise.
696 * soft-fp/op-1.h: Likewise.
697 * soft-fp/op-2.h: Likewise.
698 * soft-fp/op-4.h: Likewise.
699 * soft-fp/op-8.h: Likewise.
700 * soft-fp/op-common.h: Likewise.
701 * soft-fp/quad.h: Likewise.
702 * soft-fp/single.h: Likewise.
703 * soft-fp/soft-fp.h: Likewise.
704 * soft-fp/unorddf2.c: Likewise.
705 * soft-fp/unordsf2.c: Likewise.
706 * soft-fp/unordtf2.c: Likewise.
707 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
708 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
709 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
710 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
711 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
712 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
713 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
714 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
715 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
716 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
717
9b84e7a8
RX
7182014-10-08 Rong Xu <xur@google.com>
719
720 * libgcov-util.c (read_gcda_file): Fix format.
721 (find_match_gcov_info): Ditto.
722 (calculate_2_entries): New.
723 (compute_one_gcov): Ditto.
724 (gcov_info_count_all_cold): Ditto.
725 (gcov_info_count_all_zero): Ditto.
726 (extract_file_basename): Ditto.
727 (get_file_basename): Ditto.
728 (set_flag): Ditto.
729 (matched_gcov_info): Ditto.
730 (calculate_overlap): Ditto.
731 (gcov_profile_overlap): Ditto.
732 * libgcov-driver.c (compute_summary): Make
733 it avavilable for external calls.
734
fe1090c1
RX
7352014-10-06 Rong Xu <xur@google.com>
736
737 * Makefile.in: Ditto.
738 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
739 (gcov_sort_icall_topn_counter): Ditto.
740 (gcov_sort_topn_counter_arrays): Ditto.
741 (dump_one_gcov): Sort indirect_call topn counters.
742 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
743 function.
744 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
745 utility function.
746 (__gcov_indirect_call_topn_profiler): New profiler function.
747 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
748 * libgcov.h: New decls.
749
3daa7bbf
TS
7502014-10-04 Trevor Saunders <tsaunders@mozilla.com>
751
752 * config.host: Remove support for score-*.
753
9a79452d
JM
7542014-09-22 Joseph Myers <joseph@codesourcery.com>
755
756 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
757 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
758 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
759 __LIBGCC_XF_MANT_DIG__.
760 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
761 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
762 __LIBGCC_TF_MANT_DIG__.
763 * libgcc2.c (NOTRUNC): Define in terms of
764 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
765 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
766
1a849e50
JM
7672014-09-22 Joseph Myers <joseph@codesourcery.com>
768
769 PR target/63312
770 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
771 New macros.
772
598a1586
HPN
7732014-09-22 Hans-Peter Nilsson <hp@axis.com>
774
775 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
776 override USE_PT_GNU_EH_FRAME.
777 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
778 check USE_EH_FRAME_REGISTRY_ALWAYS against
779 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
780 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
781 variable for substituted force_explicit_eh_registry.
782 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
783 * configure.ac (explicit-exception-frame-registration):
784 New AC_ARG_ENABLE.
785 * configure: Regenerate.
786
3a8fe7c6
OH
7872014-09-19 Olivier Hainque <hainque@adacore.com>
788
789 * config.host (powerpc-wrs-vxworksmils): New configuration,
790 same as vxworksae.
791
dd69f047
JM
7922014-09-18 Joseph Myers <joseph@codesourcery.com>
793
794 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
795
e770bfd9
JM
7962014-09-18 Joseph Myers <joseph@codesourcery.com>
797
798 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
799 bits not set bits as indicating trapping exceptions.
800
cadb2b96
NS
8012014-09-17 Nathan sidwell <nathan@acm.org>
802
803 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
804 (LIBGCOV_DRIVER): ... here.
805 * libgcov-driver.c (gcov_master): New.
806 (gcov_exit): Remove from master chain.
807 (__gcov_init): Add to master chain if version compatible. Don't
808 clear the version.
809 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
810 (gcov_reset_int): Clear master chain, if compatible.
811 (gcov_dump_int): New internal interface. Dump master chain, if
812 compatible.
813 (gcov_dump): Alias for gcov_dump_int.
814 * libgcov.h (struct gcov_root): Add next and prev fields.
815 (struct gcov_master): New struct.
816 (__gcov_master): New.
817 (gcov_dump_int): Declare.
818
580d22a3
OH
8192014-09-17 Olivier Hainque <hainque@adacore.com>
820
821 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
822 and crtbegin.o + crtend.o to extra_parts.
823
8cc4b7a2
JM
8242014-09-12 Joseph Myers <joseph@codesourcery.com>
825
826 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
827 __LIBGCC_HAS_SF_MODE__.
828 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
829 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
830 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
831 * config/libbid/bid_gcc_intrinsics.h
832 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
833 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
834 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
835 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
836 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
837 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
838
ea3f2b24
GJL
8392014-09-11 Georg-Johann Lay <avr@gjlay.de>
840
841 PR target/63223
842 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
843 and R24 as needed. Make work for all devices and .text locations.
844 (__do_global_ctors, __do_global_dtors): Use word addresses.
845 (__tablejump__, __tablejump_elpm__): Remove functions.
846 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
847 Add _tablejump2.
848 (XICALL, XIJMP): New macros.
849
b677236a
MS
8502014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
851 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
852
853 * config.host (aarch64*): Include crtfastmath.o and
854 t-crtfm.
855 * config/aarch64/crtfastmath.c: New file.
856
157e859f
TS
8572014-09-08 Trevor Saunders <tsaunders@mozilla.com>
858
859 * config.host: Remove picochip support.
860 * config/picochip/adddi3.S: Remove.
861 * config/picochip/ashlsi3.S: Remove.
862 * config/picochip/ashlsi3.c: Remove.
863 * config/picochip/ashrsi3.S: Remove.
864 * config/picochip/ashrsi3.c: Remove.
865 * config/picochip/clzsi2.S: Remove.
866 * config/picochip/cmpsi2.S: Remove.
867 * config/picochip/divmod15.S: Remove.
868 * config/picochip/divmodhi4.S: Remove.
869 * config/picochip/divmodsi4.S: Remove.
870 * config/picochip/lib1funcs.S: Remove.
871 * config/picochip/longjmp.S: Remove.
872 * config/picochip/lshrsi3.S: Remove.
873 * config/picochip/lshrsi3.c: Remove.
874 * config/picochip/parityhi2.S: Remove.
875 * config/picochip/popcounthi2.S: Remove.
876 * config/picochip/setjmp.S: Remove.
877 * config/picochip/subdi3.S: Remove.
878 * config/picochip/t-picochip: Remove.
879 * config/picochip/ucmpsi2.S: Remove.
880 * config/picochip/udivmodhi4.S: Remove.
881 * config/picochip/udivmodsi4.S: Remove.
882
66bb34c0
JM
8832014-09-08 Joseph Myers <joseph@codesourcery.com>
884
885 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
886 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
887 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
888 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
889 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
890 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
891 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
892 defined and LIBGCC2_HAS_DF_MODE is defined.
893 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
894 defined and LIBGCC2_HAS_XF_MODE is defined.
895 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
896 defined and LIBGCC2_HAS_TF_MODE is defined.
897
9686a2e6
JM
8982014-09-08 Joseph Myers <joseph@codesourcery.com>
899
900 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
901 and ROUND_TOWARDS_ZERO conditionals.
902
71c3e2ef
NS
9032014-09-07 Nathan sidwell <nathan@acm.org>
904
905 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
906 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
907
53d68b9f
JM
9082014-09-05 Joseph Myers <joseph@codesourcery.com>
909
910 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
911 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
912 uses to __LIBGCC_STACK_POINTER_REGNUM__.
913 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
914 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
915 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
916 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
917 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
918 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
919 (DWARF_FRAME_REGISTERS): Change all uses to
920 __LIBGCC_DWARF_FRAME_REGISTERS__.
921 (EH_RETURN_STACKADJ_RTX): Change all uses to
922 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
923 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
924 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
925 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
926 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
927 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
928 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
929 to __LIBGCC_EH_FRAME_SECTION_NAME__.
930 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
931 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
932 __LIBGCC_STACK_POINTER_REGNUM__.
933 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
934 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
935 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
936 to __LIBGCC_STACK_POINTER_REGNUM__.
937 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
938 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
939 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
940 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
941 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
942 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
943 (STACK_POINTER_REGNUM): Change all uses to
944 __LIBGCC_STACK_POINTER_REGNUM__.
945 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
946 use to __LIBGCC_STACK_POINTER_REGNUM__.
947 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
948 uses to __LIBGCC_STACK_POINTER_REGNUM__.
949 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
950 to __LIBGCC_DWARF_FRAME_REGISTERS__.
951 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
952 to __LIBGCC_DWARF_FRAME_REGISTERS__.
953 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
954 to __LIBGCC_STACK_POINTER_REGNUM__.
955 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
956 Remove conditional definition.
957 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
958 __LIBGCC_TEXT_SECTION_ASM_OP__.
959 (EH_FRAME_SECTION_NAME): Change all uses to
960 __LIBGCC_EH_FRAME_SECTION_NAME__.
961 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
962 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
963 (CTORS_SECTION_ASM_OP): Change all uses to
964 __LIBGCC_CTORS_SECTION_ASM_OP__.
965 (DTORS_SECTION_ASM_OP): Change all uses to
966 __LIBGCC_DTORS_SECTION_ASM_OP__.
967 (JCR_SECTION_NAME): Change all uses to
968 __LIBGCC_JCR_SECTION_NAME__.
969 (INIT_SECTION_ASM_OP): Change all uses to
970 __LIBGCC_INIT_SECTION_ASM_OP__.
971 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
972 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
973 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
974 __LIBGCC_STACK_GROWS_DOWNWARD__.
975 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
976 __LIBGCC_INIT_SECTION_ASM_OP__.
977 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
978 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
979 (EH_FRAME_SECTION_NAME): Change all uses to
980 __LIBGCC_EH_FRAME_SECTION_NAME__.
981 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
982 definitions. Change all uses to
983 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
984 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
985 __LIBGCC_STACK_GROWS_DOWNWARD__.
986 (DWARF_FRAME_REGISTERS): Change all uses to
987 __LIBGCC_DWARF_FRAME_REGISTERS__.
988 (EH_RETURN_STACKADJ_RTX): Change all uses to
989 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
990 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
991 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
992 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
993 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
994 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
995
b20ee094
NS
9962014-09-02 Nathan sidwell <nathan@acm.org>
997
998 * libgcov-interface.c (STRONG_ALIAS): New.
999 (__gcov_flush): Call __gcov_reset_int.
1000 (__gcov_reset): Strong alias for ...
1001 (__gcov_reset_ing): ... this renamed hidden version.
1002 * libgcov.h (__gcov_reset_int): New declaration.
1003
1ac83976
YS
10042014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
1005
25efdb9f
YS
1006 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
1007 call from here...
1008 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
1009 (__dso_handle): Define on Cygwin.
1010 * config/i386/t-cygming (crtbeginS.o): New rule.
1011 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
1012
1ac83976
YS
1013 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
1014 declaration syntax.
1015
c6f9ea3b
SE
10162014-08-13 Steve Ellcey <sellcey@mips.com>
1017
1018 * crtstuff.c: Undef caddr_t.
1019
5b1ea7c5
SE
10202014-08-12 Steve Ellcey <sellcey@mips.com>
1021
1022 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
1023
4303c581
NS
10242014-08-07 Nathan Sidwell <nathan@acm.org>
1025
1026 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
1027 (LIBGCOV_DRIVER): ... to here.
1028 * libgcov.h (gcov_do_dump): New #define.
1029 (struct gcov_root): New.
1030 (__gcov_root): New declaration.
1031 (__gcov_dump_one): Declare.
1032 * libgcov-driver.c (gcov_list, gcov_dump_complete,
1033 run_accounted): Delete.
1034 (gcov_compute_histogram): Add LIST argument, adjust.
1035 (compute_summary): Adjust gcov_compute_histogram call.
1036 (gcov_do_dump): Not hidden, static in libgcov.
1037 (gcov_clear): Move to interface.c.
1038 (__gcov_dump_one): New, broken out of ...
1039 (gcov_exit): ... here. Make static.
1040 (__gcov_root): New.
1041 (__gcov_init): Adjust.
1042 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
1043 declarations.
1044 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
1045 (gcov_clear): Moved from driver.c. Add LIST argument.
1046 (__gcov_reset): Adjust for changed interfaces.
1047 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
1048
23742a9e
RAR
10492014-08-04 Rohit <rohitarulraj@freescale.com>
1050
1051 PR target/60102
1052 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 1053 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 1054
b98a872b
NS
10552014-08-01 Nathan Sidwell <nathan@acm.org>
1056
1057 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
1058 LIBGCOV_INTERFACE): Reformat.
1059 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
1060 IN_GCOV_TOOL.
1061 * libgcov-interface.c: Reformat some comments.
1062 (__gcov_flush_mx): Add declaration. Tidy up definition.
1063
6adaaa1d
AM
10642014-07-31 Alan Modra <amodra@gmail.com>
1065 Peter Bergner <bergner@vnet.ibm.com>
1066
1067 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
1068 (pack_ldouble): New function.
1069 (__gcc_qadd): Use it.
1070 (__gcc_qmul): Likewise.
1071 (__gcc_qdiv): Likewise.
1072 (__gcc_qneg): Likewise.
1073 (__gcc_stoq): Likewise.
1074 (__gcc_dtoq): Likewise.
1075
87cb0c0c
UW
10762014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
1077
1078 * config/s390/tpf-unwind.h: Include <stdbool.h>.
1079 (__tpf_eh_return): Add original return address as second parameter.
1080 Handle cases where unwinder routines were called directly, instead
1081 of from within the C++ library.
1082
19926161
NS
10832014-07-29 Nathan Sidwell <nathan@acm.org>
1084
1085 * libgcov.h: Move renaming of entry points to lib gcov specific
1086 portion.
1087 (gcov_do_dump): New rename.
1088 (gcov_rewrite): Remove inline, make HIDDEN.
1089 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
1090 (gcov_exit_compute_summary): Rename to ...
1091 (compute_summary): ... here. Add LIST argument.
1092 (gcov_exit_merge_gcda): Rename to ...
1093 (merge_one_data): ... here.
1094 (gcov_exit_write_gcda): Rename to ...
1095 (write_one_data): ... here.
1096 (gcov_exit_merge_summary): Rename to ...
1097 (merge_summary): Add RUN_COUNTED argument.
1098 (gcov_exit_dump_gcov): Rename to ...
1099 (dump_one_gcov): Add RUN_COUNTED argument.
1100 (gcov_do_dump): New function, broken out of ...
1101 (gcov_exit): ... here. Call it.
1102
17522262
AG
11032014-07-27 Anthony Green <green@moxielogic.com>
1104
1105 * config.host: Add moxiebox configuration suppport.
1106
6dc33097
NS
11072014-07-27 Nathan Sidwell <nathan@acm.org>
1108
1109 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
1110 (struct gcov_filename): ... here. Include buffer and max length
1111 fields.
1112 (gcov_max_filename): Remove.
1113 (gi_filename): Remove.
1114 (gcov_exit_compute_summary): Compute max filename here.
1115 (gcov_exit_merge_gcda): Add filename parm, adjust.
1116 (gcov_exit_merge_summary): Likewise.
1117 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
1118 (gcov_exit): Likewise.
1119 (__gcov_init): Don't calculate max length here.
1120 * libgcov_util.c (max_filename_len): Remove.
1121 (read_gcda_file): Don't calculate max length here.
1122 (gcov_read_profile_dir): Don't propagate here.
1123 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
1124 struct gcov_filename changes.
1125 (gcov_exit_open_gcda_file): Likewise.
1126
770f687d
NS
11272014-07-25 Nathan Sidwell <nathan@acm.org>
1128
1129 * libgcov-driver.c (set_gcov_dump_complete,
1130 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
1131 functions polluting user's namespace.
1132 (gcov_exit): Set variable directly.
1133 (gcov_clear): Reset variable directly.
1134 * libgcov-interface.c (get_gcov_dymp_complete,
1135 reset_gov_dump_complete): Remove declarations.
1136 (__gcov_reset, __gcov_dump): Don't call them.
1137
fabf71ba
DD
11382014-07-24 DJ Delorie <dj@redhat.com>
1139
1140 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
1141 (__gcc_deregister_frame): Move logic to detect deregister function
1142 to ...
1143 (__gcc_register_frame): here, so it's consistent with the register
1144 logic.
fabf71ba 1145
d10ee722
NS
11462014-07-23 Nathan Sidwell <nathan@acm.org>
1147
1148 * libgcov-driver.c (set_gcov_list): Remove.
1149 (gcov_list): Make non-static in GCOV_TOOL.
1150 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
1151
a4137090
JDA
11522014-07-17 John David Anglin <danglin@gcc.gnu.org>
1153
1154 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
1155 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
1156 Don't use SYNC_LOCK_RELEASE for int type.
1157
72602c6c
RB
11582014-07-14 Richard Biener <rguenther@suse.de>
1159
1160 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
1161
d5313205
RX
11622014-07-11 Rong Xu <xur@google.com>
1163
1164 * libgcov-util.c (gcov_max_filename): Fix declartion.
1165
c77556a5
RX
11662014-07-10 Rong Xu <xur@google.com>
1167
1168 Add gcov-tool: an offline gcda profile processing tool
1169 Support.
1170 * libgcov-driver.c (gcov_max_filename): Make available
1171 to gcov-tool.
1172 * libgcov-merge.c (__gcov_merge_add): Replace
1173 gcov_read_counter() with a Macro.
1174 (__gcov_merge_ior): Ditto.
1175 (__gcov_merge_time_profile): Ditto.
1176 (__gcov_merge_single): Ditto.
1177 (__gcov_merge_delta): Ditto.
1178 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
1179 in the utility functions.
1180 (set_fn_ctrs): Utility function for reading gcda files to in-memory
1181 gcov_list object link lists.
1182 (tag_function): Ditto.
1183 (tag_blocks): Ditto.
1184 (tag_arcs): Ditto.
1185 (tag_lines): Ditto.
1186 (tag_counters): Ditto.
1187 (tag_summary): Ditto.
1188 (read_gcda_finalize): Ditto.
1189 (read_gcda_file): Ditto.
1190 (ftw_read_file): Ditto.
1191 (read_profile_dir_init): Ditto.
1192 (gcov_read_profile_dir): Ditto.
1193 (gcov_read_counter_mem): Ditto.
1194 (gcov_get_merge_weight): Ditto.
1195 (merge_wrapper): A wrapper function that calls merging handler.
1196 (gcov_merge): Merge two gcov_info objects with weights.
1197 (find_match_gcov_info): Find the matched gcov_info in the list.
1198 (gcov_profile_merge): Merge two gcov_info object lists.
1199 (__gcov_add_counter_op): Process edge profile counter values.
1200 (__gcov_ior_counter_op): Process IOR profile counter values.
1201 (__gcov_delta_counter_op): Process delta profile counter values.
1202 (__gcov_single_counter_op): Process single profile counter values.
1203 (fp_scale): Callback function for float-point scaling.
cc86234f 1204 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
1205 (gcov_profile_scale): Scaling profile counters.
1206 (gcov_profile_normalize): Normalize profile counters.
1207 * libgcov.h: Add headers and functions for gcov-tool use.
1208 (gcov_get_counter): New.
1209 (gcov_get_counter_target): Ditto.
1210 (struct gcov_info): Make the functions field mutable in gcov-tool
1211 compilation.
1212
5c7dac8a
KT
12132014-06-23 Kai Tietz <ktietz@redhat.com>
1214
1215 PR libgcc/61585
1216 * unwind-seh.c (_Unwind_GetGR): Check for proper
1217 index range.
1218 (_Unwind_SetGR): Likewise.
1219
161c9312
NC
12202014-05-22 Nick Clifton <nickc@redhat.com>
1221
1222 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
1223 -mhwmult=none.
1224
e3f0315f
TJ
12252014-05-22 Teresa Johnson <tejohnson@google.com>
1226
1227 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
1228 include.
1229
dbed5a9b
JM
12302014-05-20 John Marino <gnugcc@marino.st>
1231
1232 * config.host (*-*-dragonfly*): New target.
1233 * crtstuff.c: Make dl_iterate_support generic on *bsd.
1234 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
1235 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
1236 * config/i386/dragonfly-unwind.h: New.
1237
1ec380e5
MR
12382014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1239
1240 PR libgcc/60166
1241 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
1242 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
1243
54fde020
BE
12442014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
1245
1246 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
1247 implementation.
1248
999db125
GJL
12492014-05-12 Georg-Johann Lay <avr@gjlay.de>
1250
1251 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
1252
cceaf54a
RO
12532014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1254
1255 PR libgcc/61097
1256 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
1257 if --enable-shared.
1258
e3fe9b5b
BE
12592014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
1260
1261 Work around for current cygwin32 build problems.
1262 * config/i386/cygming-crtbegin.c (__register_frame_info,
1263 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
1264 functions only for 64-bit systems.
1265
54cf37e9
RO
12662014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1267
1268 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
1269 (sigill_caught, sigill_hdlr): Remove.
1270
d9f069ab
RO
12712014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1272
1273 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
1274 check.
1275 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1276 Solaris 9 single-threaded support.
1277 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
1278 Solaris 9 single-threaded support. Add call_user_handler code
1279 sequences.
1280 (sparc_is_sighandler): Likewise.
1281
59976ef8
AK
12822014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1283
1284 * config.host: Append t-floattodi to tmake_file depending on
1285 host_address.
1286
d02bbcf3
JS
12872014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
1288
31466bc0 1289 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 1290
c2e7e597
UB
12912014-03-10 Uros Bizjak <ubizjak@gmail.com>
1292
1293 PR libgcc/60472
1294 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 1295 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
1296 Use __builtin_expect when checking *jcr_list for NULL.
1297
227a7dc8
RO
12982014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1299
1300 PR libgcc/59339
1301 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1302 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1303 vtv_*.o to extra_parts if enable_vtable_verify.
1304
df2b279c
NC
13052014-03-06 Nick Clifton <nickc@redhat.com>
1306
1307 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1308 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1309
dc11d79b
JY
13102014-02-28 Joey Ye <joey.ye@arm.com>
1311
1312 PR libgcc/60166
1313 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1314 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1315 Set to zero.
1316
341c653c
WL
13172014-02-24 Walter Lee <walt@tilera.com>
1318
1319 * config.host: Support "tilegx*" and "tilepro*" triplets.
1320 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1321 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1322
95ce7613
CLT
13232014-02-20 Sandra Loosemore <sandra@codesourcery.com>
1324 Chung-Lin Tang <cltang@codesourcery.com>
1325
1326 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1327 * config/nios2/crti.S: Remove .file directive.
1328 * config/nios2/crtn.S: Likewise.
1329
0bb4fc05
KT
13302014-02-18 Kai Tietz <ktietz@redhat.com>
1331 Jonathan Schleifer <js@webkeks.org>
1332
1333 PR objc/56870
1334 * unwind-seh.c (_GCC_specific_handler): Pass proper
1335 value to unwind-handler.
1336
9acf28f1
JM
13372014-02-12 Joseph Myers <joseph@codesourcery.com>
1338
1339 * soft-fp/adddf3.c: Update from glibc.
1340 * soft-fp/addsf3.c: Likewise.
1341 * soft-fp/addtf3.c: Likewise.
1342 * soft-fp/divdf3.c: Likewise.
1343 * soft-fp/divsf3.c: Likewise.
1344 * soft-fp/divtf3.c: Likewise.
1345 * soft-fp/double.h: Likewise.
1346 * soft-fp/eqdf2.c: Likewise.
1347 * soft-fp/eqsf2.c: Likewise.
1348 * soft-fp/eqtf2.c: Likewise.
1349 * soft-fp/extenddftf2.c: Likewise.
1350 * soft-fp/extended.h: Likewise.
1351 * soft-fp/extendsfdf2.c: Likewise.
1352 * soft-fp/extendsftf2.c: Likewise.
1353 * soft-fp/extendxftf2.c: Likewise.
1354 * soft-fp/fixdfdi.c: Likewise.
1355 * soft-fp/fixdfsi.c: Likewise.
1356 * soft-fp/fixdfti.c: Likewise.
1357 * soft-fp/fixsfdi.c: Likewise.
1358 * soft-fp/fixsfsi.c: Likewise.
1359 * soft-fp/fixsfti.c: Likewise.
1360 * soft-fp/fixtfdi.c: Likewise.
1361 * soft-fp/fixtfsi.c: Likewise.
1362 * soft-fp/fixtfti.c: Likewise.
1363 * soft-fp/fixunsdfdi.c: Likewise.
1364 * soft-fp/fixunsdfsi.c: Likewise.
1365 * soft-fp/fixunsdfti.c: Likewise.
1366 * soft-fp/fixunssfdi.c: Likewise.
1367 * soft-fp/fixunssfsi.c: Likewise.
1368 * soft-fp/fixunssfti.c: Likewise.
1369 * soft-fp/fixunstfdi.c: Likewise.
1370 * soft-fp/fixunstfsi.c: Likewise.
1371 * soft-fp/fixunstfti.c: Likewise.
1372 * soft-fp/floatdidf.c: Likewise.
1373 * soft-fp/floatdisf.c: Likewise.
1374 * soft-fp/floatditf.c: Likewise.
1375 * soft-fp/floatsidf.c: Likewise.
1376 * soft-fp/floatsisf.c: Likewise.
1377 * soft-fp/floatsitf.c: Likewise.
1378 * soft-fp/floattidf.c: Likewise.
1379 * soft-fp/floattisf.c: Likewise.
1380 * soft-fp/floattitf.c: Likewise.
1381 * soft-fp/floatundidf.c: Likewise.
1382 * soft-fp/floatundisf.c: Likewise.
1383 * soft-fp/floatunditf.c: Likewise.
1384 * soft-fp/floatunsidf.c: Likewise.
1385 * soft-fp/floatunsisf.c: Likewise.
1386 * soft-fp/floatunsitf.c: Likewise.
1387 * soft-fp/floatuntidf.c: Likewise.
1388 * soft-fp/floatuntisf.c: Likewise.
1389 * soft-fp/floatuntitf.c: Likewise.
1390 * soft-fp/gedf2.c: Likewise.
1391 * soft-fp/gesf2.c: Likewise.
1392 * soft-fp/getf2.c: Likewise.
1393 * soft-fp/ledf2.c: Likewise.
1394 * soft-fp/lesf2.c: Likewise.
1395 * soft-fp/letf2.c: Likewise.
1396 * soft-fp/muldf3.c: Likewise.
1397 * soft-fp/mulsf3.c: Likewise.
1398 * soft-fp/multf3.c: Likewise.
1399 * soft-fp/negdf2.c: Likewise.
1400 * soft-fp/negsf2.c: Likewise.
1401 * soft-fp/negtf2.c: Likewise.
1402 * soft-fp/op-1.h: Likewise.
1403 * soft-fp/op-2.h: Likewise.
1404 * soft-fp/op-4.h: Likewise.
1405 * soft-fp/op-8.h: Likewise.
1406 * soft-fp/op-common.h: Likewise.
1407 * soft-fp/quad.h: Likewise.
1408 * soft-fp/single.h: Likewise.
1409 * soft-fp/soft-fp.h: Likewise.
1410 * soft-fp/subdf3.c: Likewise.
1411 * soft-fp/subsf3.c: Likewise.
1412 * soft-fp/subtf3.c: Likewise.
1413 * soft-fp/truncdfsf2.c: Likewise.
1414 * soft-fp/trunctfdf2.c: Likewise.
1415 * soft-fp/trunctfsf2.c: Likewise.
1416 * soft-fp/trunctfxf2.c: Likewise.
1417 * soft-fp/unorddf2.c: Likewise.
1418 * soft-fp/unordsf2.c: Likewise.
1419 * soft-fp/unordtf2.c: Likewise.
1420 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1421 macro.
1422 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1423 Likewise.
1424 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1425 Likewise.
1426 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1427 Likewise.
1428 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1429 Likewise.
1430 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1431 Likewise.
1432 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1433 Likewise.
1434 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1435 Likewise.
1436 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1437 Likewise.
1438 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1439 Likewise.
1440 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1441 Likewise.
1442 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1443 Likewise.
1444 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1445 Likewise.
1446 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1447 Likewise.
1448 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1449 Likewise.
1450 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1451 Likewise.
1452
ce245ec6
AK
14532014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1454
1455 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1456 cannot be represented.
1457 * config/s390/32/_fixsfdi.c: Likewise.
1458 * config/s390/32/_fixtfdi.c: Likewise.
1459 * config/s390/32/_fixunsdfdi.c: Likewise.
1460 * config/s390/32/_fixunssfdi.c: Likewise.
1461 * config/s390/32/_fixunstfdi.c: Likewise.
1462
1c51d688
RS
14632014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
1464
1465 * configure.ac (libgcc_cv_mips_hard_float): New.
1466 * configure: Regenerate.
1467 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1468 t-softfp-sfdf for hard-float targets.
1469 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1470 (softfp_float_modes, softfp_int_modes, softfp_extensions)
1471 (softfp_truncations, softfp_exclude_libgcc2): New.
1472 * config/t-hardfp: New file.
1473 * config/t-hardfp-sfdf: Likewise.
1474 * config/hardfp.c: Likewise.
1475
bbf391db
AK
14762014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1477
1478 * config.host: Include t-floattodi also for s390x.
1479 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1480 * config/s390/32/_fixsfdi.c: Likewise.
1481 * config/s390/32/_fixtfdi.c: Likewise.
1482 * config/s390/32/_fixunsdfdi.c: Likewise.
1483 * config/s390/32/_fixunssfdi.c: Likewise.
1484 * config/s390/32/_fixunstfdi.c: Likewise.
1485
91da0481
RO
14862014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1487
1488 PR target/59788
1489 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1490 (install-libgcc-unwind-map-forbuild): New target.
1491 (all): Depend on install-libgcc-unwind-map-forbuild.
1492 (install-libgcc-unwind-map): New target.
1493 (install): Depend on install-libgcc-unwind-map.
1494
02b67731
SL
14952014-02-02 Sandra Loosemore <sandra@codesourcery.com>
1496
1497 * config/nios2/crti.S (_init): Initialize GOT pointer from
1498 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1499
1ea0a651
RS
15002014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
1501
1502 * configure.ac: Check __mips64 when setting host_address.
1503 * configure: Regenerate.
1504 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1505 mips/t-mips64 and t-softfp.
1506 (mips*-*-linux*): Don't add mips/t-tpbit.
1507 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1508 (DPBIT, DPBIT_CFLAGS): Delete.
1509 * config/mips/sfp-machine.h: New file.
1510 * config/mips/t-mips64: Likewise.
1511 * config/mips/t-softfp-tf: Likewise.
1512 * config/mips/t-tpbit: Delete.
1513
f32b0061
MS
15142014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
1515
1516 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1517 as long long.
1518
a5420aa4
WL
15192014-01-25 Walter Lee <walt@tilera.com>
1520
1521 * config/tilepro/atomic.c: Include tconfig.h. Don't include
1522 config.h or system.h.
1523 (bool) Define.
1524
24534912
WL
15252014-01-25 Walter Lee <walt@tilera.com>
1526
1527 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1528 (post_atomic_barrier): Ditto.
1529 (__fetch_and_do): New macro.
1530 (__atomic_fetch_and_do): Use __fetch_and_do.
1531 (__sync_fetch_and_do): New macro.
1532 (__sync_fetch_and_add_4): New function.
1533 (__sync_fetch_and_sub_4): New function.
1534 (__sync_fetch_and_or_4): New function.
1535 (__sync_fetch_and_and_4): New function.
1536 (__sync_fetch_and_xor_4): New function.
1537 (__sync_fetch_and_nand_4): New function.
1538 (__sync_fetch_and_add_8): New function.
1539 (__sync_fetch_and_sub_8): New function.
1540 (__sync_fetch_and_or_8): New function.
1541 (__sync_fetch_and_and_8): New function.
1542 (__sync_fetch_and_xor_8): New function.
1543 (__sync_fetch_and_nand_8): New function.
1544 (__do_and_fetch): New macro.
1545 (__atomic_do_and_fetch): Use __do_and_fetch.
1546 (__sync_do_and_fetch): New macro.
1547 (__sync_add_and_fetch_4): New function.
1548 (__sync_sub_and_fetch_4): New function.
1549 (__sync_or_and_fetch_4): New function.
1550 (__sync_and_and_fetch_4): New function.
1551 (__sync_xor_and_fetch_4): New function.
1552 (__sync_nand_and_fetch_4): New function.
1553 (__sync_add_and_fetch_8): New function.
1554 (__sync_sub_and_fetch_8): New function.
1555 (__sync_or_and_fetch_8): New function.
1556 (__sync_and_and_fetch_8): New function.
1557 (__sync_xor_and_fetch_8): New function.
1558 (__sync_nand_and_fetch_8): New function.
1559 (__sync_exchange_methods): New macro.
1560 (__sync_val_compare_and_swap_4): New function.
1561 (__sync_bool_compare_and_swap_4): New function.
1562 (__sync_lock_test_and_test_4): New function.
1563 (__sync_val_compare_and_swap_8): New function.
1564 (__sync_bool_compare_and_swap_8): New function.
1565 (__sync_lock_test_and_test_8): New function.
1566 (__subword_cmpxchg_body): New macro.
1567 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1568 (__atomic_compare_exchange_2): Ditto.
1569 (__sync_subword_cmpxchg): New macro.
1570 (__sync_val_compare_and_swap_1): New function.
1571 (__sync_bool_compare_and_swap_1): New function.
1572 (__sync_val_compare_and_swap_2): New function.
1573 (__sync_bool_compare_and_swap_2): New function.
1574 (__atomic_subword): Rename to ...
1575 (__subword): ... New name.
1576 (__atomic_subword_fetch): Use __subword.
1577 (__sync_subword_fetch): New macro.
1578 (__sync_fetch_and_add_1): New function.
1579 (__sync_fetch_and_sub_1): New function.
1580 (__sync_fetch_and_or_1): New function.
1581 (__sync_fetch_and_and_1): New function.
1582 (__sync_fetch_and_xor_1): New function.
1583 (__sync_fetch_and_nand_1): New function.
1584 (__sync_fetch_and_add_2): New function.
1585 (__sync_fetch_and_sub_2): New function.
1586 (__sync_fetch_and_or_2): New function.
1587 (__sync_fetch_and_and_2): New function.
1588 (__sync_fetch_and_xor_2): New function.
1589 (__sync_fetch_and_nand_2): New function.
1590 (__sync_add_and_fetch_1): New function.
1591 (__sync_sub_and_fetch_1): New function.
1592 (__sync_or_and_fetch_1): New function.
1593 (__sync_and_and_fetch_1): New function.
1594 (__sync_xor_and_fetch_1): New function.
1595 (__sync_nand_and_fetch_1): New function.
1596 (__sync_add_and_fetch_2): New function.
1597 (__sync_sub_and_fetch_2): New function.
1598 (__sync_or_and_fetch_2): New function.
1599 (__sync_and_and_fetch_2): New function.
1600 (__sync_xor_and_fetch_2): New function.
1601 (__sync_nand_and_fetch_2): New function.
1602 (__atomic_subword_lock): Use __subword.
1603 (__sync_subword_lock): New macro.
1604 (__sync_lock_test_and_set_1): New function.
1605 (__sync_lock_test_and_set_2): New function.
1606
4d6d3bc5
WL
16072014-01-25 Walter Lee <walt@tilera.com>
1608
1609 * config/tilepro/atomic.c (BIT_OFFSET): Define.
1610 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1611 (__atomic_subword): Ditto.
1612
cbd9890e
WL
16132014-01-25 Walter Lee <walt@tilera.com>
1614
1615 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1616 a prefix op argument.
1617 (__atomic_nand_fetch_4): Add prefix op.
1618 (__atomic_nand_fetch_8): Ditto.
1619
8fc36b15 16202014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
1621
1622 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1623
46dd1242
L
16242014-01-09 Rong Xu <xur@google.com>
1625
1626 * libgcov-driver.c (this_prg): make it local to save
1627 bss space.
1628 (gcov_exit_compute_summary): Ditto.
1629 (gcov_exit_merge_gcda): Ditto.
1630 (gcov_exit_merge_summary): Ditto.
1631 (gcov_exit_dump_gcov): Ditto.
1632
cc86234f 16332014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
1634
1635 * libgcov-driver.c: Use libgcov.h.
1636 (buffer_fn_data): Use xmalloc instead of malloc.
1637 (gcov_exit_merge_gcda): Ditto.
1638 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1639 * libgcov.h: New common header files for libgcov-*.h.
1640 * libgcov-interface.c: Use libgcov.h
1641 * libgcov-merge.c: Ditto.
1642 * libgcov-profiler.c: Ditto.
1643 * Makefile.in: Add dependence to libgcov.h
1644
a02e7bdd
JM
16452014-01-02 Joseph Myers <joseph@codesourcery.com>
1646
1647 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1648 case of small numerator and finite nonzero result.
1649
ac1dca3c
RS
16502014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1651
1652 Update copyright years
1653
f9030485
RS
16542014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1655
1656 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1657 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1658 config/arc/dp-hack.h, config/arc/fp-hack.h,
1659 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1660 config/arc/ieee-754/arc600-dsp/divdf3.S,
1661 config/arc/ieee-754/arc600-dsp/divsf3.S,
1662 config/arc/ieee-754/arc600-dsp/muldf3.S,
1663 config/arc/ieee-754/arc600-dsp/mulsf3.S,
1664 config/arc/ieee-754/arc600-mul64/divdf3.S,
1665 config/arc/ieee-754/arc600-mul64/divsf3.S,
1666 config/arc/ieee-754/arc600-mul64/muldf3.S,
1667 config/arc/ieee-754/arc600-mul64/mulsf3.S,
1668 config/arc/ieee-754/arc600/divsf3.S,
1669 config/arc/ieee-754/arc600/mulsf3.S,
1670 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1671 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1672 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1673 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1674 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1675 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1676 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1677 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1678 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1679 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1680 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1681 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1682 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1683 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1684 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1685 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
1686 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
1687 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
1688 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
1689 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
1690 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
1691 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
1692 vtv_start_preinit.c: Use the standard form for the copyright notice.
1693
e430824f
CLT
16942013-12-31 Sandra Loosemore <sandra@codesourcery.com>
1695 Chung-Lin Tang <cltang@codesourcery.com>
1696 Based on patches from Altera Corporation
1697
1698 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
1699 * config/nios2/lib2-nios2.h: New file.
1700 * config/nios2/lib2-divmod-hi.c: New file.
1701 * config/nios2/linux-unwind.h: New file.
1702 * config/nios2/lib2-divmod.c: New file.
1703 * config/nios2/linux-atomic.c: New file.
1704 * config/nios2/t-nios2: New file.
1705 * config/nios2/crti.asm: New file.
1706 * config/nios2/t-linux: New file.
1707 * config/nios2/lib2-divtable.c: New file.
1708 * config/nios2/lib2-mul.c: New file.
1709 * config/nios2/tramp.c: New file.
1710 * config/nios2/crtn.asm: New file.
1711
1879e97f
UB
17122013-12-26 Uros Bizjak <ubizjak@gmail.com>
1713
1714 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
1715 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
1716 from cpuid.h to check vendor signatures.
1717
f4a4bdbb
GG
17182013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
1719
c2e7e597 1720 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
1721 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
1722 (get_amd_cpu): Likewise.
1723
8d2ae544
L
17242013-12-25 H.J. Lu <hongjiu.lu@intel.com>
1725
1726 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
1727 Haswell.
1728
74924838
ASJ
17292013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1730 H.J. Lu <hongjiu.lu@intel.com>
1731
0bb52f25
L
1732 PR target/59422
1733 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
1734 and AMD_JAGUAR.
1735 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
1736 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
1737 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
1738 FEATURE_XOP and FEATURE_FMA.
1739 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
1740 AMDFAM15H_BDVER3.
1741 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 1742 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
1743 FEATURE_FMA4 and FEATURE_XOP.
1744
d3c11974
L
17452013-12-23 H.J. Lu <hongjiu.lu@intel.com>
1746
1747 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
1748 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
1749 (get_intel_cpu): Updated.
1750
064c4ff2
ZC
17512013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
1752
1753 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
1754
8b02e720
UB
17552013-12-09 Uros Bizjak <ubizjak@gmail.com>
1756
1757 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 1758 instructions when __SSE_MATH__ is defined.
8b02e720 1759
3fa2ccb4
RC
17602013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
1761
1762 * config.host (microblaze-*-rtems*): New.
1763
ecd78fc9
KV
17642013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
1765
1766 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
1767 architectures that do not have hardware divide instruction.
1768 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
1769
b21fbbd2
RS
17702013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
1771
1772 * longlong.h: Delete (moved to include/).
1773
b03fb8c9
AZ
17742013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1775
1776 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
1777 of normal number and qNaN to not raise an inexact exception.
1778
3c716922
UB
17792013-11-28 Uros Bizjak <ubizjak@gmail.com>
1780
1781 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
1782
17832013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
1784
1785 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
1786 for correct opcodes on BE.
1787
a3458d22
UB
17882013-11-27 Uros Bizjak <ubizjak@gmail.com>
1789
1790 * soft-fp/op-4.h: Update from glibc.
1791
30b8f78b
KV
17922013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
1793
1794 * libgcc2.c (__udivmoddi4): Define new implementation when
1795 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
1796 divide instructions.
1797
82552a29
OE
17982013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
1799
1800 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
1801
80e87457
RO
18022013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1803
1804 * config/t-softfp (soft-fp-objects-base): New variable.
1805 (soft-fp-objects): Use it.
1806
44178879
DE
18072013-11-23 David Edelson <dje.gcc@gmail.com>
1808 Andrew Dixie <andrewd@gentrack.com>
1809
1810 PR target/33704
1811 * config/rs6000/aixinitfini.c: New file.
1812 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
1813 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
1814 symbols.
1815
e5287671
YR
18162013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
1817
a3458d22 1818 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 1819
867c8b03
JH
18202013-11-18 Jan Hubicka <jh@suse.cz>
1821
7f369373
JH
1822 * libgcov-driver.c (run_accounted): Make global level static.
1823 (gcov_exit_merge_summary): Silence warning; do not clear
1824 run_accounted here.
1825 (gcov_exit): Clear it here.
1826
1d0b3334
JH
1827 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
1828 run_accounted.
1829
867c8b03
JH
1830 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
1831 (all_prg, crc32): Remove static vars.
1832 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
1833 all_prg.
1834 (gcov_exit_merge_gcda): Add crc32 parameter.
1835 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
1836 do not account run if it was already accounted.
1837 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
1838 (gcov_exit): Initialize all_prg; update.
1839
66204992
AS
18402013-11-15 Andreas Schwab <schwab@linux-m68k.org>
1841
1842 * configure: Regenerate.
1843
b54214fe
UW
18442013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1845 Alan Modra <amodra@gmail.com>
1846
1847 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
1848 (frob_update_context): Use it.
1849
18502013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1851 Alan Modra <amodra@gmail.com>
1852
1853 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
1854 (trampoline_initial): Provide ELFv2 variant.
1855 (__trampoline_setup): Likewise.
1856
1857 * config/rs6000/linux-unwind.h (frob_update_context): Do not
1858 check for AIX indirect function call sequence if _CALL_ELF == 2.
1859
18602013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1861 Alan Modra <amodra@gmail.com>
1862
1863 * config/rs6000/linux-unwind.h (get_regs): Do not support
1864 old kernel versions if _CALL_ELF == 2.
1865 (frob_update_context): Do not support PLT stub variants only
1866 generated by old linkers if _CALL_ELF == 2.
1867
13e0981a
UW
18682013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1869 Alan Modra <amodra@gmail.com>
1870
1871 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
1872 location of CR save area for 64-bit little-endian systems.
1873
1a80085d
EB
18742013-11-11 Eric Botcazou <ebotcazou@adacore.com>
1875
1876 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
1877 in tmake_file.
1878 * config/arm/t-vxworks: Delete.
1879
cabeea52
KT
18802013-11-10 Kai Tietz <ktietz@redhat.com>
1881
1882 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
1883 Increment load-count on use of LIBGCC_SONAME DLL.
1884 (hmod_libgcc): New static variable to hold handle of
1885 LIBGCC_SONAME DLL.
1886 (__gcc_deregister_frame): Decrement load-count of
1887 LIBGCC_SONAME DLL.
1888
ac088ba1
BRF
18892013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
1890
1891 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
1892 availability.
1893 * configure: Regenerate
1894
d59a8fcc
UB
18952013-11-07 Uros Bizjak <ubizjak@gmail.com>
1896
1897 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
1898 FP_EX_DENORM. Store result to volatile location after SSE division
1899 to close interrupt window. Remove unneeded fwait after x87
1900 division since interrupt window will be closed by emitted fstp.
9de84e84 1901 Rewrite FP_EX_INEXACT handling.
d59a8fcc 1902
9954c743
JM
19032013-11-06 Joseph Myers <joseph@codesourcery.com>
1904
1905 * soft-fp/README: Update.
1906 * soft-fp/adddf3.c: Update from glibc.
1907 * soft-fp/addsf3.c: Likewise.
1908 * soft-fp/addtf3.c: Likewise.
1909 * soft-fp/divdf3.c: Likewise.
1910 * soft-fp/divsf3.c: Likewise.
1911 * soft-fp/divtf3.c: Likewise.
1912 * soft-fp/double.h: Likewise.
1913 * soft-fp/eqdf2.c: Likewise.
1914 * soft-fp/eqsf2.c: Likewise.
1915 * soft-fp/eqtf2.c: Likewise.
1916 * soft-fp/extenddftf2.c: Likewise.
1917 * soft-fp/extended.h: Likewise.
1918 * soft-fp/extendsfdf2.c: Likewise.
1919 * soft-fp/extendsftf2.c: Likewise.
1920 * soft-fp/extendxftf2.c: Likewise.
1921 * soft-fp/fixdfdi.c: Likewise.
1922 * soft-fp/fixdfsi.c: Likewise.
1923 * soft-fp/fixdfti.c: Likewise.
1924 * soft-fp/fixsfdi.c: Likewise.
1925 * soft-fp/fixsfsi.c: Likewise.
1926 * soft-fp/fixsfti.c: Likewise.
1927 * soft-fp/fixtfdi.c: Likewise.
1928 * soft-fp/fixtfsi.c: Likewise.
1929 * soft-fp/fixtfti.c: Likewise.
1930 * soft-fp/fixunsdfdi.c: Likewise.
1931 * soft-fp/fixunsdfsi.c: Likewise.
1932 * soft-fp/fixunsdfti.c: Likewise.
1933 * soft-fp/fixunssfdi.c: Likewise.
1934 * soft-fp/fixunssfsi.c: Likewise.
1935 * soft-fp/fixunssfti.c: Likewise.
1936 * soft-fp/fixunstfdi.c: Likewise.
1937 * soft-fp/fixunstfsi.c: Likewise.
1938 * soft-fp/fixunstfti.c: Likewise.
1939 * soft-fp/floatdidf.c: Likewise.
1940 * soft-fp/floatdisf.c: Likewise.
1941 * soft-fp/floatditf.c: Likewise.
1942 * soft-fp/floatsidf.c: Likewise.
1943 * soft-fp/floatsisf.c: Likewise.
1944 * soft-fp/floatsitf.c: Likewise.
1945 * soft-fp/floattidf.c: Likewise.
1946 * soft-fp/floattisf.c: Likewise.
1947 * soft-fp/floattitf.c: Likewise.
1948 * soft-fp/floatundidf.c: Likewise.
1949 * soft-fp/floatundisf.c: Likewise.
1950 * soft-fp/floatunditf.c: Likewise.
1951 * soft-fp/floatunsidf.c: Likewise.
1952 * soft-fp/floatunsisf.c: Likewise.
1953 * soft-fp/floatunsitf.c: Likewise.
1954 * soft-fp/floatuntidf.c: Likewise.
1955 * soft-fp/floatuntisf.c: Likewise.
1956 * soft-fp/floatuntitf.c: Likewise.
1957 * soft-fp/gedf2.c: Likewise.
1958 * soft-fp/gesf2.c: Likewise.
1959 * soft-fp/getf2.c: Likewise.
1960 * soft-fp/ledf2.c: Likewise.
1961 * soft-fp/lesf2.c: Likewise.
1962 * soft-fp/letf2.c: Likewise.
1963 * soft-fp/muldf3.c: Likewise.
1964 * soft-fp/mulsf3.c: Likewise.
1965 * soft-fp/multf3.c: Likewise.
1966 * soft-fp/negdf2.c: Likewise.
1967 * soft-fp/negsf2.c: Likewise.
1968 * soft-fp/negtf2.c: Likewise.
1969 * soft-fp/op-1.h: Likewise.
1970 * soft-fp/op-2.h: Likewise.
1971 * soft-fp/op-4.h: Likewise.
1972 * soft-fp/op-8.h: Likewise.
1973 * soft-fp/op-common.h: Likewise.
1974 * soft-fp/quad.h: Likewise.
1975 * soft-fp/single.h: Likewise.
1976 * soft-fp/soft-fp.h: Likewise.
1977 * soft-fp/subdf3.c: Likewise.
1978 * soft-fp/subsf3.c: Likewise.
1979 * soft-fp/subtf3.c: Likewise.
1980 * soft-fp/truncdfsf2.c: Likewise.
1981 * soft-fp/trunctfdf2.c: Likewise.
1982 * soft-fp/trunctfsf2.c: Likewise.
1983 * soft-fp/trunctfxf2.c: Likewise.
1984 * soft-fp/unorddf2.c: Likewise.
1985 * soft-fp/unordsf2.c: Likewise.
1986 * soft-fp/unordtf2.c: Likewise.
1987
02ac9503
UB
19882013-11-05 Uros Bizjak <ubizjak@gmail.com>
1989
1990 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
1991 (_FP_MUL_MEAT_D): Ditto.
1992 (_FP_DIV_MEAT_S): Ditto.
1993 (_FP_DIV_MEAT_D): Ditto.
1994 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
1995 t-softfp-sfdf and t-softfp to tmake_file.
1996
61221141
UB
19972013-11-03 Uros Bizjak <ubizjak@gmail.com>
1998
1999 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
2000 * config/i386/crtprec.c: Ditto.
2001
9304f876
CJW
20022013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
2003 Shiva Chen <shiva0217@gmail.com>
2004
2005 * config.host (nds32*-elf*): Add nds32 target.
2006 * config/nds32 : New directory and files.
2007
0e499e75
HPN
20082013-10-16 Hans-Peter Nilsson <hp@axis.com>
2009
2010 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
2011 * config.host (cpu_type) <Setting default>: Add entry for
2012 crisv32-*-*.
2013 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
2014 <crisv32-*-linux*>: Adjust.
2015 * longlong.h: Wrap the whole CRIS section in a single
2016 defined(__CRIS__) conditional. Add comment about add_ssaaaa
2017 and sub_ddmmss.
2018 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
2019 defined.
2020 [__CRIS__] (__umulsidi3): Define.
2021 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
2022 * config/cris/sfp-machine.h: New file.
2023 * config/cris/umulsidi3.S: New file.
2024 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
2025 * config/cris/arit.c (SIGNMULT): New macro.
2026 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
2027 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
2028 saving 3 out of originally 33 cycles from the fastest
2029 path, 3 out of 54 from the medium path and one from the longest
2030 path. Improve comments.
2031
16022041
RS
20322013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
2033
2034 * sync.c: Remove static aliases and define each function directly
2035 under its real name.
2036
69778659
JDA
20372013-10-02 John David Anglin <danglin@gcc.gnu.org>
2038
2039 * config.host (hppa*64*-*-linux*): Define extra_parts.
2040 (hppa*-*-linux*): Likewise.
2041
2deaf8b0
JR
20422013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
2043
2044 * config/arc/crtgend.S: Add 2013 to Copyright years.
2045 * config/arc/gmon/atomic.h: Likewise.
2046 * config/arc/gmon/auxreg.h: Likewise.
2047 * config/arc/gmon/sys/gmon_out.h: Likewise.
2048 * config/arc/gmon/sys/gmon.h: Likewise.
2049 * config/arc/gmon/prof-freq.c: Likewise.
2050 * config/arc/gmon/mcount.c: Likewise.
2051 * config/arc/gmon/prof-freq-stub.S: Likewise.
2052 * config/arc/gmon/gmon.c: Likewise.
2053 * config/arc/gmon/machine-gmon.h: Likewise.
2054 * config/arc/gmon/profil.S: Likewise.
2055 * config/arc/gmon/dcache_linesz.S: Likewise.
2056 * config/arc/crtg.S: Likewise.
2057 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
2058 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
2059 * config/arc/ieee-754/adddf3.S: Likewise.
2060 * config/arc/ieee-754/truncdfsf2.S: Likewise.
2061 * config/arc/ieee-754/fixsfsi.S: Likewise.
2062 * config/arc/ieee-754/gtsf2.S: Likewise.
2063 * config/arc/ieee-754/floatsisf.S: Likewise.
2064 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
2065 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
2066 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
2067 * config/arc/ieee-754/fixdfsi.S: Likewise.
2068 * config/arc/ieee-754/addsf3.S: Likewise.
2069 * config/arc/ieee-754/gesf2.S: Likewise.
2070 * config/arc/ieee-754/floatsidf.S: Likewise.
2071 * config/arc/ieee-754/extendsfdf2.S: Likewise.
2072 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
2073 * config/arc/ieee-754/gtdf2.S: Likewise.
2074 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
2075 * config/arc/ieee-754/uneqdf2.S: Likewise.
2076 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
2077 * config/arc/ieee-754/uneqsf2.S: Likewise.
2078 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
2079 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
2080 * config/arc/ieee-754/eqdf2.S: Likewise.
2081 * config/arc/ieee-754/ordsf2.S: Likewise.
2082 * config/arc/ieee-754/divsf3.S: Likewise.
2083 * config/arc/ieee-754/divdf3.S: Likewise.
2084 * config/arc/ieee-754/floatunsidf.S: Likewise.
2085 * config/arc/ieee-754/orddf2.S: Likewise.
2086 * config/arc/ieee-754/eqsf2.S: Likewise.
2087 * config/arc/ieee-754/gedf2.S: Likewise.
2088 * config/arc/crtn.S: Likewise.
2089 * config/arc/crti.S: Likewise.
2090 * config/arc/t-arc700-uClibc: Likewise.
2091 * config/arc/asm.h: Likewise.
2092 * config/arc/libgcc-excl.ver: Likewise.
2093 * config/arc/t-arc-newlib: Likewise.
2094 * config/arc/divtab-arc700.c: Likewise.
2095 * config/arc/initfini.c: Likewise.
2096 * config/arc/fp-hack.h: Likewise.
2097
c8e318b0
JR
20982013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
2099 Diego Novillo <dnovillo@google.com>
2100
2101 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
2102 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
2103 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
2104 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 2105
d38a64b4
JR
21062013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
2107 Brendan Kehoe <brendan@zen.org>
2108 Simon Cook <simon.cook@embecosm.com>
2109
2110 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
2111 * config/arc: New directory.
2112 * longlong.h [__arc__] (umul_ppmm): Remove.
2113 [__arc__] (__umulsidi3): Define.
2114 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
2115 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
2116
dff717d2
JC
21172013-09-17 Jacek Caban <jacek@codeweavers.com>
2118
2119 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
2120 CreateSemaphoreA.
2121 * config/i386/gthr-win32.h: Likewise.
2122
5c0029de
DD
21232013-09-16 DJ Delorie <dj@redhat.com>
2124
844ad6c6 2125 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
2126 * config/rl78/lib2mul.c: Enable for RL78/G10.
2127 * config/rl78/lib2div.c: Likewise.
2128 * config/rl78/lshrsi3.S: Use vregs.h.
2129 * config/rl78/cmpsi2.S: Likewise.
2130 * config/rl78/trampoline.S: Likewise.
2131 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
2132
ceb2fc49
DD
21332013-09-14 DJ Delorie <dj@redhat.com>
2134 Nick Clifton <nickc@redhat.com>
2135
2136 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
2137 * config/rl78/vregs.h: New.
2138 * config/rl78/signbit.S: New file. Implements signbit function.
2139 * config/rl78/divmodsi.S: New.
2140 * config/rl78/divmodhi.S: New.
2141 * config/rl78/divmodqi.S: New.
2142 * config/rl78/t-rl78: Build them here...
2143 * config/rl78/lib2div.c: ...but not here.
2144
f6a83b4a
DD
21452013-09-12 DJ Delorie <dj@redhat.com>
2146
2147 * config.host (msp*-*-elf): New.
2148 * config/msp430/: New port.
2149
9107b096
IS
21502013-08-18 Iain Sandoe <iain@codesourcery.com>
2151
2152 PR gcov-profile/58127
2153 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
2154 __thread var for emulated TLS.
2155 (__gcov_indirect_call_counters): Likewise.
2156
0f9bde1f 21572013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141
UB
2158 Catherine Moore <clm@codesourcery.com>
2159 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
2160
2161 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
2162 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
2163 (CALL_STUB_NO_RET): Likewise.
2164 (CALL_STUB_RET): Likewise.
2165 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
2166 __mips16_ret call/return stub symbols.
2167 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
2168 to tmake_file.
2169
2dc14aac
MR
21702013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
2171
2172 * config.host <mips*-*-linux*>: Remove a stray comment.
2173
748d71f3
JH
21742013-08-10 Jan Hubicka <jh@suse.cz>
2175
2176 Work around binutils PR14342
2177 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
2178 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
2179 (L_gcov_indirect_call_profiler_v2): New.
2180
2fa3d31b
JH
21812013-08-06 Jan Hubicka <jh@suse.cz>
2182
2183 * libgcov.c (__gcov_indirect_call_callee,
2184 __gcov_indirect_call_counters): New global vars.
2185 (__gcov_indirect_call_profiler): replace by ...
2186 (__gcov_indirect_call_profiler_v2) ... this one.
2187
2077db1b
CT
21882013-08-06 Caroline Tice <cmtice@google.com>
2189
d0595b65 2190 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 2191 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
2192 * configure.ac: Add code to check/set enable_vtable_verify.
2193 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 2194 true.
d0595b65
CT
2195 * vtv_start_preinit.c: New file.
2196 * vtv_end_preinit.c: New file.
2197 * vtv_start.c: New file.
2198 * vtv_end.c: New file.
2199 * configure: Regenerated.
2077db1b 2200
46549c20
MK
22012013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
2202
2203 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
2204 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
2205 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
2206 GPL-3.0-with-GCC-exception.
2207
72be589b
MR
22082013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
2209
2210 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
2211 ISA and up.
2212
902a3faf
AK
22132013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2214
2215 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
2216 mapping for FPRs when creating the fallback framestate.
2217
02371798
GJL
22182013-07-19 Georg-Johann Lay <avr@gjlay.de>
2219
2220 PR target/57516
2221 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
2222 (__round_s2_const, __round_u2_const)
2223 (__round_s4_const, __round_u4_const, __round_x8):
2224 Saturate result if addition result cannot be represented.
2225
ab0e8379
MK
22262013-07-15 Matthias Klose <doko@ubuntu.com>
2227
2228 * libgcc2.c: Don't include <limits.h>.
2229
7da38058
JJ
22302013-07-09 Janis Johnson <janisjo@codesourcery.com>
2231
2232 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
2233
1f6eac90
JJ
22342013-07-06 Jakub Jelinek <jakub@redhat.com>
2235
2236 PR target/29776
2237 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
2238
4ea3d774
JJ
22392013-06-28 Jakub Jelinek <jakub@redhat.com>
2240
2241 PR middle-end/36041
2242 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
2243 Define.
2244 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
2245 instead of table lookups.
2246 (__popcountDI2): Likewise.
2247
9d2cdf25
CJW
22482013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
2249
2250 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
2251 correctly.
2252
fa1e55b0
JM
22532013-06-21 Joseph Myers <joseph@codesourcery.com>
2254
2255 PR other/53317
2256 * soft-fp/adddf3.c: Update from glibc.
2257 * soft-fp/addsf3.c: Likewise.
2258 * soft-fp/addtf3.c: Likewise.
2259 * soft-fp/divdf3.c: Likewise.
2260 * soft-fp/divsf3.c: Likewise.
2261 * soft-fp/divtf3.c: Likewise.
2262 * soft-fp/double.h: Likewise.
2263 * soft-fp/eqdf2.c: Likewise.
2264 * soft-fp/eqsf2.c: Likewise.
2265 * soft-fp/eqtf2.c: Likewise.
2266 * soft-fp/extenddftf2.c: Likewise.
2267 * soft-fp/extended.h: Likewise.
2268 * soft-fp/extendsfdf2.c: Likewise.
2269 * soft-fp/extendsftf2.c: Likewise.
2270 * soft-fp/fixdfdi.c: Likewise.
2271 * soft-fp/fixdfsi.c: Likewise.
2272 * soft-fp/fixsfdi.c: Likewise.
2273 * soft-fp/fixsfsi.c: Likewise.
2274 * soft-fp/fixtfdi.c: Likewise.
2275 * soft-fp/fixtfsi.c: Likewise.
2276 * soft-fp/fixunsdfdi.c: Likewise.
2277 * soft-fp/fixunsdfsi.c: Likewise.
2278 * soft-fp/fixunssfdi.c: Likewise.
2279 * soft-fp/fixunssfsi.c: Likewise.
2280 * soft-fp/fixunstfdi.c: Likewise.
2281 * soft-fp/fixunstfsi.c: Likewise.
2282 * soft-fp/floatdidf.c: Likewise.
2283 * soft-fp/floatdisf.c: Likewise.
2284 * soft-fp/floatditf.c: Likewise.
2285 * soft-fp/floatsidf.c: Likewise.
2286 * soft-fp/floatsisf.c: Likewise.
2287 * soft-fp/floatsitf.c: Likewise.
2288 * soft-fp/floatundidf.c: Likewise.
2289 * soft-fp/floatundisf.c: Likewise.
2290 * soft-fp/floatunditf.c: Likewise.
2291 * soft-fp/floatunsidf.c: Likewise.
2292 * soft-fp/floatunsisf.c: Likewise.
2293 * soft-fp/floatunsitf.c: Likewise.
2294 * soft-fp/gedf2.c: Likewise.
2295 * soft-fp/gesf2.c: Likewise.
2296 * soft-fp/getf2.c: Likewise.
2297 * soft-fp/ledf2.c: Likewise.
2298 * soft-fp/lesf2.c: Likewise.
2299 * soft-fp/letf2.c: Likewise.
2300 * soft-fp/muldf3.c: Likewise.
2301 * soft-fp/mulsf3.c: Likewise.
2302 * soft-fp/multf3.c: Likewise.
2303 * soft-fp/negdf2.c: Likewise.
2304 * soft-fp/negsf2.c: Likewise.
2305 * soft-fp/negtf2.c: Likewise.
2306 * soft-fp/op-1.h: Likewise.
2307 * soft-fp/op-2.h: Likewise.
2308 * soft-fp/op-4.h: Likewise.
2309 * soft-fp/op-8.h: Likewise.
2310 * soft-fp/op-common.h: Likewise.
2311 * soft-fp/quad.h: Likewise.
2312 * soft-fp/single.h: Likewise.
2313 * soft-fp/soft-fp.h: Likewise.
2314 * soft-fp/subdf3.c: Likewise.
2315 * soft-fp/subsf3.c: Likewise.
2316 * soft-fp/subtf3.c: Likewise.
2317 * soft-fp/truncdfsf2.c: Likewise.
2318 * soft-fp/trunctfdf2.c: Likewise.
2319 * soft-fp/trunctfsf2.c: Likewise.
2320 * soft-fp/unorddf2.c: Likewise.
2321 * soft-fp/unordsf2.c: Likewise.
2322 * soft-fp/unordtf2.c: Likewise.
2323 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2324 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2325 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2326 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2327 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2328 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2329 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2330 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2331 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2332 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2333 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2334 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2335
0de86a92
JU
23362013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
2337
2338 * config/mips/lib2funcs.c: New file.
2339 * config/mips/t-mips (LIB2ADD_ST): Add it.
2340
0d008882
OE
23412013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
2342
2343 PR target/6526
2344 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2345 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
2346
776434d1
WL
23472013-06-08 Walter Lee <walt@tilera.com>
2348
2349 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2350 Replace int64_t with long long. Add __extension__ where
2351 appropriate.
2352 * config/tilepro/atomic.c: Include config.h.
2353
6ab3ebb4
DR
23542013-06-06 Douglas B Rupp <rupp@adacore.com>
2355
2356 * config.host (arm-wrs-vxworks): Configure with other soft float.
2357
107eea2c
JU
23582013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
2359
2360 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2361 (mips64r5900el-*-elf*): New configurations.
2362
5cc19c62
AM
23632013-06-04 Alan Modra <amodra@gmail.com>
2364
2365 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2366
0f1d3965
YR
23672013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
2368
2369 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2370
0ba045df
EB
23712013-05-28 Eric Botcazou <ebotcazou@adacore.com>
2372
2373 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2374 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2375 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2376
49dcafd4
EB
23772013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2378
2379 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2380 (powerpc-wrs-vxworks): Likewise.
2381
4fcb5d87
EB
23822013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2383
2384 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2385 signal frames as well.
2386 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2387 STACK_BIAS to the CFA offset.
2388
0ec33224
RH
23892013-05-17 Richard Henderson <rth@redhat.com>
2390
2391 PR target/49146
2392 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2393 (execute_cfa_program): Use it when storing to fs->regs.
2394
492a8029
KT
23952013-05-08 Kai Tietz <ktietz@redhat.com>
2396
2397 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2398 (__deregister_frame_info): Likewise.
2399
701e2f0a
TS
24002013-05-06 Thomas Schwinge <thomas@codesourcery.com>
2401
e5123d08
TS
2402 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2403 NaN's payload.
2404
701e2f0a
TS
2405 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2406
b9a7eb5d
AM
24072013-04-25 Alan Modra <amodra@gmail.com>
2408
2409 * config.host: Match little-endian powerpc-linux.
2410
dfe192f5
YZ
24112013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
2412
2413 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2414 as 'unsigned long long' instead of 'unsigned long'.
2415 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2416 'signed long'.
2417
b6b9af2f
JB
24182013-04-10 Julian Brown <julian@codesourcery.com>
2419
2420 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2421 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2422 unsigned char/unsigned short.
2423 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2424
ecabdd00
JDA
24252013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2426
2427 PR other/55274
2428 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2429
34652576
MI
24302013-04-04 Meador Inge <meadori@codesourcery.com>
2431
2432 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2433 computing the location of the link register.
2434 (aeabi_uldivmod): Ditto.
2435
e9fd8c19
KT
24362013-03-27 Kai Tietz <ktietz@redhat.com>
2437
2438 * config.host: Add support for cygwin x64 target.
2439 * configure: Regenerated.
2440
a6406324
WL
24412013-03-26 Walter Lee <walt@tilera.com>
2442
2443 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2444 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2445
55446c7e
KT
24462013-03-25 Kai Tietz <ktietz@redhat.com>
2447
2448 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2449
d2ae19d9
RM
24502013-03-20 Robert Mason <rbmj@verizon.net>
2451
2452 * config/vxlib-tls.c (__gthread_get_tsd_data,)
2453 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2454 (__gthread_leave_tsd_dtor_context): Add prototypes.
2455 (tls_delete_hook): Update.
2456
22c4c869
CM
24572013-03-20 Catherine Moore <clm@codesourcery.com>
2458 Joseph Myers <joseph@codesourcery.com>
2459 Chao-ying Fu <fu@mips.com>
2460
2461 * config/mips/mips16.S: Don't build for microMIPS.
2462 * config/mips/linux-unwind.h: Handle microMIPS frame.
2463 * config/mips/crtn.S (fini, init): New labels.
2464
fbd28bc3
JJ
24652013-03-14 Jakub Jelinek <jakub@redhat.com>
2466
2467 PR tree-optimization/53265
2468 * unwind-dw2.c (execute_cfa_program): Avoid
2469 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2470 on targets with DWARF_FRAME_REGISTERS < 32.
2471
decc676e
OE
24722013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
2473
2474 PR target/49880
2475 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2476 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2477
84ea618a
ST
24782013-03-07 Sriraman Tallam <tmsriram@google.com>
2479
2480 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2481 sandybridge processors.
2482
8f6d1c86
OE
24832013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
2484
2485 PR target/56529
2486 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2487 inclusion list.
2488
ecdbd01a 24892013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
2490
2491 * config/microblaze/crti.S: Setup stack protection at entry
2492
0b4ce21b
GJL
24932013-03-04 Georg-Johann Lay <avr@gjlay.de>
2494
2495 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2496 (__rotldi3): Shift bytewise if applicable.
2497
b7c3f1ca
JG
24982013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
2499
2500 * config/aarch64/sync-cache.c
2501 (__aarch64_sync_cache_range): Silence warnings.
2502
6d65e8f1
CM
25032013-02-25 Catherine Moore <clm@codesourcery.com>
2504
2505 Revert:
2506 2013-02-24 Catherine Moore <clm@codesourcery.com>
2507 Joseph Myers <joseph@codesourcery.com>
2508 Chao-ying Fu <fu@mips.com>
2509
2510 * config/mips/mips16.S: Don't build for microMIPS.
2511 * config/mips/linux-unwind.h: Handle microMIPS frame.
2512 * config/mips/crtn.S (fini, init): New labels.
2513
6941b508
CM
25142013-02-24 Catherine Moore <clm@codesourcery.com>
2515 Joseph Myers <joseph@codesourcery.com>
2516 Chao-ying Fu <fu@mips.com>
2517
2518 * config/mips/mips16.S: Don't build for microMIPS.
2519 * config/mips/linux-unwind.h: Handle microMIPS frame.
2520 * config/mips/crtn.S (fini, init): New labels.
2521
7c422dbb 25222012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 2523 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
2524 as dividend.
2525
110207ad
AM
25262013-02-16 Alan Modra <amodra@gmail.com>
2527
2528 PR target/55431
2529 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2530 (ppc_fallback_frame_state): Always set up save locations for fp
2531 and altivec. Don't bother with non-callee-saved regs, r0-r13
2532 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2533
e68a4ef6
GJL
25342013-02-12 Georg-Johann Lay <avr@gjlay.de>
2535
2536 PR target/54222
2537 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2538 _ssmulHA, _ssmulSA.
2539 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2540 _ssmulha3, _usmulusa3, _ssmulsa3.
2541 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2542 (__muldi3): XCALL __muldi3_6 instead of rcall.
2543 (__umulsidi3, __mulsidi3): New functions.
2544 (do_prologue_saves, do_epilogue_restores): New .macros.
2545 (__divdi3_moddi3): Use them.
2546 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2547 (__usmulusa3, __ssmulsa3): New functions.
2548
6c59ffd1
IS
25492013-02-11 Iain Sandoe <iain@codesourcery.com>
2550 Jack Howarth <howarth@bromo.med.uc.edu>
2551 Patrick Marlier <patrick.marlier@gmail.com>
2552
2553 PR libitm/55693
2554 * config/darwin-crt-tm.c: Remove dummy functions hack.
2555
85d768f3
GJL
25562013-02-08 Georg-Johann Lay <avr@gjlay.de>
2557
2558 PR target/54222
2559 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2560 * config/avr/lib2-object.mk: New iterator to build objects from it.
2561 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2562 lib2funcs.c.
2563 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2564 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2565 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2566 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2567 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2568 * config/avr/lib1funcs-fixed.S: Implement them.
2569
5d5bf775
RS
25702013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
2571
2572 Update copyright years.
2573
99113dff
DE
25742013-02-01 David Edelsohn <dje.gcc@gmail.com>
2575
2576 PR target/54601
2577 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2578 Add crtcxa to extra_parts.
2579 * config/rs6000/exit.h: New file.
2580 * config/rs6000/cxa_atexit.c: New file.
2581 * config/rs6000/cxa_finalize.c: New file.
2582 * config/rs6000/crtcxa.c: New file.
2583 * config/rs6000/t-aix-cxa: New file.
2584 * config/rs6000/libgcc-aix-cxa.ver: New file.
2585
dbdbd982
NC
25862013-01-31 Nick Clifton <nickc@redhat.com>
2587
2588 * config/v850/lib1funcs.S: Add support for e3v5 architecture
2589 variant.
2590
5893f158
GJL
25912013-01-29 Georg-Johann Lay <avr@gjlay.de>
2592
2593 PR target/54222
2594 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2595 _mulQQ, _mulHQ, _mulHA, _mulSA,
2596 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2597 _divQQ, _divHQ, _divHA, _divSA,
2598 _divUQQ, _divUHQ, _divUHA, _divUSA.
2599
ecdbd01a 26002013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 2601
dbdbd982 2602 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
2603 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2604 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2605 to exclude functions from being built with libgcc.c and use
2606 the microblaze assembly.
2607
ecdbd01a 26082013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
2609
2610 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2611 extra_parts.
2612
922c57d1
YZ
26132013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
2614
2615 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2616 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2617 __UINTPTR_TYPE__; also cast 'base' to the same type before the
2618 alignment operation.
2619
e0f8b6a0
SN
26202013-01-15 Sofiane Naci <sofiane.naci@arm.com>
2621
2622 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2623 loop start address for cache clearing.
2624
00892272
GJL
26252013-01-14 Georg-Johann Lay <avr@gjlay.de>
2626
2627 * config/avr/lib1funcs.S: Remove trailing blanks.
2628 * config/avr/lib1funcs-fixed.S: Ditto.
2629
e59ec5fd
GJL
26302013-01-14 Georg-Johann Lay <avr@gjlay.de>
2631
2632 * config/avr/avr-lib.h: Add GPL copyright notice.
2633
3ffc1958
GJL
26342013-01-14 Georg-Johann Lay <avr@gjlay.de>
2635
2636 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2637 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2638 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2639 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2640
25c210f9
MK
26412013-01-07 Mark Kettenis <kettenis@openbsd.org>
2642
2643 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2644 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 2645
db59befb
NC
26462013-01-04 Nick Clifton <nickc@redhat.com>
2647
2648 * config/v850/lib1funcs.S: Only provide CALLT support functions if
2649 the CALLT instruction is supported.
2650
5aa12dbf
JW
26512012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2652
2653 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2654 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2655
65f14117
JT
26562012-12-13 John Tytgat <John@bass-software.com>
2657
2658 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2659 is 25.
2660
ee3ae4f7
JJ
26612012-12-12 Jakub Jelinek <jakub@redhat.com>
2662
2663 PR libgcc/55451
2664 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2665 undefined signed overflows.
2666
2fcfba3d
UB
26672012-12-09 Uros Bizjak <ubizjak@gmail.com>
2668
2669 PR target/55344
2670 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2671
4f2b3dc2
UB
26722012-12-06 Uros Bizjak <ubizjak@gmail.com>
2673
2674 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2675 (FP_TRAPPING_EXCEPTIONS): Define.
2676 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2677 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2678
066161a2
RH
26792012-12-04 Richard Henderson <rth@redhat.com>
2680
2681 PR bootstrap/55571
2682 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2683
25626181
MS
26842012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2685
4f2b3dc2 2686 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
2687 (FP_EX_SHIFT): Define.
2688 (FP_TRAPPING_EXCEPTIONS): Define.
2689
868395e8
MS
26902012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2691
2692 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
2693 (FP_ROUNDMODE): Use FP_RND_MASK.
2694 * config/aarch64/sfp-exceptions.c: New.
2695 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2696 Use __sfp_handle_exceptions.
2697
5005fe22
RE
26982012-12-04 Richard Earnshaw <rearnsha@arm.com>
2699
2700 * config.host: (arm*-*-freebsd*): Remove.
2701 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
2702 (arm*-*-elf*): Remove.
2703 (arm*-*-wince-pe*): Remove.
2704 * arm/unwind-arm.c (struct fpa_reg): Delete.
2705 (struct fpa_regs): Delete.
2706 (phase1_vrs): Remove fpa element.
2707 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
2708 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
2709 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
2710 * ieee754-sf.S (floatundisf): Remove FPA support.
2711 (floatdisf): Likewise.
2712 * ieee75f-df.S (floatundidf): Likewise.
2713 (floatdidf): Likewise.
2714
e5a81c8e
KT
27152012-11-29 Kai Tietz <ktietz@redhat.com>
2716
2717 PR target/55445
2718 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
2719 * unwind-generic.h: Likewise.
2720 * unwind-seh.c: Likewise.
2721
f4919e4a
RH
27222012-11-28 Richard Henderson <rth@redhat.com>
2723
2724 PR libgcc/48076
2725 * emutls.c (__emutls_get_address): Avoid race condition between
2726 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 2727
e13d9d5a
GJL
27282012-11-22 Georg-Johann Lay <avr@gjlay.de>
2729
2730 Adjust decimal point of signed accum mode to GCC default.
2731
2732 PR target/54222
2733 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
2734 _divqq_helper.
2735 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
2736 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
2737 (__mulha3, __mulsa3)
2738 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
2739 decimal point of signed accum types.
2740
e13d9d5a
GJL
2741 (__mulusa3_round): New function.
2742 (__mulusa3): Use it.
2743 (__divqq_helper): New function.
2744 (__udivuqq3): Use it.
2745
1b845c6e
JJ
27462012-11-20 Jakub Jelinek <jakub@redhat.com>
2747
2748 PR bootstrap/55370
2749 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
2750
822a258a
TJ
27512012-11-18 Teresa Johnson <tejohnson@google.com>
2752
2753 PR bootstrap/55051
2754 * libgcov.c (gcov_exit): Remove merged program summary
2755 comparison unless !GCOV_LOCKED.
2756
54f4eaf0
MS
27572012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
2758
2759 * soft-fp: Updated from glibc upstream.
2760
e808687a
ILT
27612012-11-06 Ian Lance Taylor <iant@google.com>
2762
2763 * generic-morestack.c (__generic_morestack): Align the returned
2764 stack pointer to a 32 byte boundary.
2765 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
2766 increment the return address until we have decided that we don't
2767 have a varargs function.
2768 (__morestack) [32-bit]: Align stack correctly when calling C
2769 functions.
2770 (__morestack) [64-bit]: Likewise.
2771
460277e0
TS
27722012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2773
2774 * configure: Regenerate.
2775
73edb277
UB
27762012-11-02 Uros Bizjak <ubizjak@gmail.com>
2777
2778 PR target/55175
2779 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
2780 * config/i386/sfp-machine.h: Guard exception handling
2781 code with _SOFT_FLOAT.
2782 * config/i386/32/sfp-machine.h: Guard rounding handling
2783 code with _SOFT_FLOAT.
2784 * config/i386/64/sfp-machine.h: Ditto.
2785
c1d4fa04
JS
27862012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
2787
2788 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
2789 as extra_parts.
2790
eff6ca85
UB
27912012-10-26 Uros Bizjak <ubizjak@gmail.com>
2792
2793 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
2794 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
2795 when appropriate. Correct structure element types.
2796 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
2797 -minline-all-stringops from compile flags.
2798
43a8f1a1
RC
27992012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
2800
2801 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
2802
76c78361
RC
28032012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
2804
eff6ca85 2805 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 2806
6f288860
SH
28072012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2808
2809 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
2810 tmake_file.
2811
1e3d5096
IB
28122012-10-23 Ian Bolton <ian.bolton@arm.com>
2813 Jim MacArthur <jim.macarthur@arm.com>
2814 Marcus Shawcroft <marcus.shawcroft@arm.com>
2815 Nigel Stephens <nigel.stephens@arm.com>
2816 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2817 Richard Earnshaw <rearnsha@arm.com>
2818 Sofiane Naci <sofiane.naci@arm.com>
2819 Stephen Thomas <stephen.thomas@arm.com>
2820 Tejas Belagod <tejas.belagod@arm.com>
2821 Yufeng Zhang <yufeng.zhang@arm.com>
2822
2823 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
2824 * config/aarch64/crti.S: New file.
2825 * config/aarch64/crtn.S: New file.
2826 * config/aarch64/linux-unwind.h: New file.
2827 * config/aarch64/sfp-machine.h: New file.
2828 * config/aarch64/sync-cache.c: New file.
2829 * config/aarch64/t-aarch64: New file.
2830 * config/aarch64/t-softfp: New file.
2831
8a740f07
HPN
28322012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
2833
2834 * config/mmix/crti.S: Mark program and data addresses using PRELD.
2835 Remove typo'd and unnecessary alignment-LOC for .data. Remove
2836 no-longer-needed LDBU insns.
2837
153c8397
SH
28382012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
2839
2840 * config.host
2841 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
2842 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
2843
595fefee
MGD
28442012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2845
2846 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
2847
9945a876
MK
28482012-10-15 Matthias Klose <doko@ubuntu.com>
2849
2850 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
2851
1183dc2c
PC
28522012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
2853
2854 * configure: Regenerate.
2855 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
2856
945a9c1f
UB
28572012-10-10 Uros Bizjak <ubizjak@gmail.com>
2858
2859 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2860 instructions for 64bit targets only.
2861
fb8bf47a
UB
28622012-10-10 Uros Bizjak <ubizjak@gmail.com>
2863
2864 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2865 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
2866 * config/i386/32/sfp-machine.h: ... here.
2867 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2868 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
2869 New defines.
2870
acb72498
MK
28712012-10-07 Matthias Klose <doko@ubuntu.com>
2872
2873 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
2874 as unused.
2875 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
2876
8eaee0f0
MK
28772012-10-06 Mark Kettenis <kettenis@openbsd.org>
2878
2879 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
2880 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
2881 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
2882 (ElfW): Likewise.
2883
5e3e4fe8
JW
28842012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
2885
2886 PR other/53889
2887 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2888 Fix parameter names.
2889
86086376
OE
28902012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
2891
2892 PR target/33135
2893 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
2894 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
2895 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
2896
9597375a
OE
28972012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
2898
2899 PR target/50457
2900 * config/sh/linux-atomic.S: Delete.
2901 * config/sh/linux-atomic.c: New.
2902 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
2903 linux-atomic.c. Add cflags to disable warnings.
2904
1504e3e1
JW
29052012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2906
2907 PR other/53889
2908 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
2909 function.
2910 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
2911 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
2912 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
2913 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
2914 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
2915 Likewise.
1504e3e1
JW
2916 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2917 Likewise.
2918 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
2919 Likewise.
2920 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
2921 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
2922
17f293b0
MK
29232012-09-19 Mark Kettenis <kettenis@openbsd.org>
2924
9597375a
OE
2925 * config.host (hppa-*-openbsd*): New target.
2926 * config/pa/t-openbsd: New file.
17f293b0 2927
51526856
GJL
29282012-09-15 Georg-Johann Lay <avr@gjlay.de>
2929
2930 PR target/54222
2931 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
2932 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
2933 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
2934 (__divsa3): Use __negsi2 to negate r_quoL.
2935 * config/avr/lib1funcs.S (FALIAS): New macro.
2936 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
2937 (__negsi2): ...this new function.
2938 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
2939 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
2940 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
2941 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
2942 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
2943 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
2944
aadb5b43
OE
29452012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
2946
2947 PR target/54089
2948 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
2949 (lshrsi3): Reimplement as lshrsi3_r0.
2950
d5d66749
AS
29512012-09-10 Andreas Schwab <schwab@linux-m68k.org>
2952
2953 PR target/46191
2954 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
2955 of libgcc.a.
2956
c6c36e73
TJ
29572012-09-07 Teresa Johnson <tejohnson@google.com>
2958
9597375a 2959 PR gcov-profile/54487
c6c36e73 2960 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 2961 differences.
c6c36e73 2962
b588ae30
GJL
29632012-09-05 Georg-Johann Lay <avr@gjlay.de>
2964
2965 PR target/54461
2966 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
2967 not configured --with-avrlibc=no.
2968 * config/avr/t-avrlibc: New file.
2969 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
2970 (DPBIT_FUNCS): Ditto.
2971 (TPBIT_FUNCS): Ditto.
2972
abd16fb1
TJ
29732012-09-04 Teresa Johnson <tejohnson@google.com>
2974
2975 * libgcov.c (struct gcov_summary_buffer): New structure.
2976 (gcov_histogram_insert): New function.
2977 (gcov_compute_histogram): Ditto.
2978 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
2979 histograms during summary merging.
2980
613061fd
MK
29812012-09-01 Mark Kettenis <kettenis@openbsd.org>
2982
2983 * config.host (x86_64-*-openbsd*): New target.
73edb277 2984
867a8345
CLT
29852012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
2986
2987 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
2988 attribute.
2989
4aeaaca3
GJL
29902012-08-24 Georg-Johann Lay <avr@gjlay.de>
2991
2992 PR target/54222
2993 * config/avr/t-avr (conv_X): Rename to func_X.
2994
e55e4056
GJL
29952012-08-24 Georg-Johann Lay <avr@gjlay.de>
2996
2997 PR target/54222
2998 * config/avr/lib1funcs-fixed.S: New file.
2999 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
3000 after they are used.
3001 (neg2, neg4): New macros.
3002 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
3003 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
3004 (__umulhisi3): Speed up MUL variant if there is enough flash.
3005 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
3006 avr-modes.def.
3007 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
3008 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
3009 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
3010 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
3011 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
3012 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
3013 (LIB2FUNCS_EXCLUDE): Add supported functions.
3014
a147b6d2
GJL
30152012-08-22 Georg-Johann Lay <avr@gjlay.de>
3016
3017 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
3018 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
3019 libgcc-s-objects.
3020 * fixed-obj.mk: Only expand dependency if $o is not in
3021 LIB2FUNCS_EXCLUDE.
3022
c637141a
L
30232012-08-22 H.J. Lu <hongjiu.lu@intel.com>
3024
3025 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
3026
130e00bd
JM
30272012-08-22 Joseph Myers <joseph@codesourcery.com>
3028
3029 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
3030 depend on --enable-shared.
3031 ($(lib1asmfuncs-o)): Use %.vis files independent of
3032 --enable-shared.
3033 * static-object.mk ($(base)$(objext), $(base).vis)
3034 ($(base)_s$(objext)): Use same rules for visibility handling as in
3035 shared-object.mk.
3036
4b1b3788
ILT
30372012-08-21 Ian Lance Taylor <iant@google.com>
3038
3039 * config/i386/morestack.S (__morestack_non_split): Increase amount
3040 of space allocated for non-split code stack.
3041
d2468141
JM
30422012-08-19 Joseph Myers <joseph@codesourcery.com>
3043
3044 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
3045 even if inhibit_libc.
3046
a508e1a8
JB
30472012-08-17 Julian Brown <julian@codesourcery.com>
3048
3049 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
3050 -fexceptions -fnon-call-exceptions if not defined.
3051 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
3052 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
3053
5615a07d
AS
30542012-08-17 Andreas Schwab <schwab@linux-m68k.org>
3055
3056 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
3057 type.
3058
138f5acd
DE
30592012-08-16 David Edelsohn <dje.gcc@gmail.com>
3060
3061 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
3062 rs6000/t-slibgcc-aix.
3063
18efc0dd
SB
30642012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
3065
3066 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
3067
6b39bc38
SB
30682012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
3069
3070 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
3071
cd25dea0
L
30722012-08-03 H.J. Lu <hongjiu.lu@intel.com>
3073
3074 PR driver/54171
3075 * Makefile.in (version): Replace top_srcdir with srcdir.
3076
a3dda30b
JY
30772012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
3078
3079 * Makefile.in (version): set to BASE-VER file from gcc directory.
3080
d04aacfc
NC
30812012-08-01 Nick Clifton <nickc@redhat.com>
3082
3083 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
3084 Implements __clrsb for an HImode argument.
3085
0d13c974
NC
30862012-07-31 Nick Clifton <nickc@redhat.com>
3087
3088 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
3089 Implements __clrsb for an HImode argument.
3090 * config/stormy16/clrsbhi2.c: New file:
3091 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
3092
efbb59b2
SB
30932012-07-22 Steven Bosscher <steven@gcc.gnu.org>
3094
3095 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
3096
bf1431e3
TG
30972012-07-19 Tristan Gingold <gingold@adacore.com>
3098 Richard Henderson <rth@redhat.com>
3099
3100 * unwind-seh.c: New file.
3101 * unwind-generic.h: Include windows.h for SEH.
3102 (_Unwind_Exception): Use 6 private fields for SEH.
3103 (_GCC_specific_handler): Declare.
3104 * unwind-c.c (__gcc_personality_seh0): New function.
3105 Adjust for SEH.
3106 * config/i386/libgcc-cygming.ver: New file.
3107 * config/i386/t-seh-eh: New file.
3108 * config.host (x86_64-*-mingw*): Default to seh.
3109
659140c8
SB
31102012-07-14 Steven Bosscher <steven@gcc.gnu.org>
3111
3112 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
3113
a20d08fd
UB
31142012-06-17 Uros Bizjak <ubizjak@gmail.com>
3115
3116 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
3117 __builtin_expect when checking for exceptions.
3118 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
3119
79261115
UB
31202012-06-13 Uros Bizjak <ubizjak@gmail.com>
3121
4a172156
UB
3122 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
3123 function declaration.
3124 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3125 (FP_RND_MASK): New.
3126 * config/ia64/sfp-exceptions.c: New.
3127 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 3128
bb5c97d4
UB
31292012-06-13 Uros Bizjak <ubizjak@gmail.com>
3130
3131 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
3132 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
3133 * config/i386/64/sfp-machine: ... (delete here) ...
3134 * config/i386/sfp-machine.h: ... to here.
3135 (FP_EX_MASK): Remove.
3136 (FP_RND_MASK): New.
3137 (FP_INIT_ROUNDMODE): Declare asm as volatile.
3138
91fe5efb
ST
31392012-06-11 Sriraman Tallam <tmsriram@google.com>
3140
3141 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
3142 * config/i386/libgcc-sol2.ver: Ditto.
3143 * config/i386/libgcc-glibc.ver: Ditto.
3144
67a218c5
RM
31452012-06-11 Roland McGrath <mcgrathr@google.com>
3146
3147 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
3148 If __GLIBC__ is defined, refer to __pthread_key_create instead of
3149 pthread_cancel.
3150
492fbea1
UB
31512012-06-09 Uros Bizjak <ubizjak@gmail.com>
3152
3153 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
3154 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
3155 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
3156 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
3157 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
3158 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
3159 * config/i386/64/sfp-machine: ... (delete here) ...
3160 * config/i386/sfp-machine.h: ... to here.
3161 (FP_EX_MASK): New.
3162 (__sfp_handle_exceptions): New function declaration.
3163 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
3164 * config/i386/sfp-exceptions.c: New.
3165 * config/i386/t-softfp: New.
3166 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
3167 i386/t-softfp to tmake_file.
3168
7b4cf266
DM
31692012-06-03 David S. Miller <davem@davemloft.net>
3170
3171 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
3172 change.
3173
0de0d5c6
DM
31742012-05-31 David S. Miller <davem@davemloft.net>
3175
3176 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
3177 multiply and divide instructions on 32-bit when V9.
3178 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
3179
d8c9d391
JM
31802012-05-29 Joseph Myers <joseph@codesourcery.com>
3181
3182 * config/arm/ieee754-df.S: Fix typos.
3183 * config/arm/ieee754-sf.S: Fix typos.
3184 * config/c6x/libunwind.S: Fix typos.
3185 * config/epiphany/udivsi3-float.c: Fix typos.
3186 * config/microblaze/muldi3_hard.S: Fix typos.
3187 * config/picochip/adddi3.S: Fix typos.
3188 * config/picochip/ashlsi3.S: Fix typos.
3189 * config/picochip/ashrsi3.S: Fix typos.
3190 * config/picochip/clzsi2.S: Fix typos.
3191 * config/picochip/cmpsi2.S: Fix typos.
3192 * config/picochip/divmod15.S: Fix typos.
3193 * config/picochip/divmodhi4.S: Fix typos.
3194 * config/picochip/divmodsi4.S: Fix typos.
3195 * config/picochip/longjmp.S: Fix typos.
3196 * config/picochip/lshrsi3.S: Fix typos.
3197 * config/picochip/parityhi2.S: Fix typos.
3198 * config/picochip/popcounthi2.S: Fix typos.
3199 * config/picochip/setjmp.S: Fix typos.
3200 * config/picochip/subdi3.S: Fix typos.
3201 * config/picochip/ucmpsi2.S: Fix typos.
3202 * config/picochip/udivmodhi4.S: Fix typos.
3203 * config/picochip/udivmodsi4.S: Fix typos.
3204 * config/spu/divv2df3.c: Fix typos.
3205 * config/spu/mfc_multi_tag_release.c: Fix typos.
3206 * config/spu/mfc_tag_release.c: Fix typos.
3207 * configure.ac: Fix typos.
3208 * configure: Regenerate.
3209
31a18a7e
ILT
32102012-05-25 Ian Lance Taylor <iant@google.com>
3211
3212 * config/i386/morestack.S (__morestack_non_split): Check whether
3213 caller is varargs and needs %bp to hold the stack frame on return.
3214
c5768510
OH
32152012-05-25 Olivier Hainque <hainque@adacore.com>
3216
3217 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
3218 sequence in the non pic case on VxWorks.
3219
7c7c339b
OH
32202012-05-24 Olivier Hainque <hainque@adacore.com>
3221
73fb7630 3222 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
3223 "install-leaf" to "install".
3224
fdc1b7d3
OH
32252012-05-24 Olivier Hainque <hainque@adacore.com>
3226
3227 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
3228 Use a separate command for stamp removals.
3229
07ba94b9
AP
32302012-05-21 Andrew Pinski <apinski@cavium.com>
3231
3232 PR bootstrap/53183
3233 * configure.ac: Define the default includes to being none.
3234 * configure: Regenerate.
3235
4677d2eb
OH
32362012-05-16 Olivier Hainque <hainque@adacore.com>
3237
3238 * Makefile.in (install-unwind_h): Rename into ...
3239 (install-unwind_h-forbuild): New target.
3240 (all): Use it instead of the former install-unwind_h.
3241 (install-unwind_h): Reinstate, copy to user install destination
3242 for include files, not to the internal gcc object directory one.
3243 (install-leaf): Depend on it.
3244
7d67c380
OH
32452012-05-15 Olivier Hainque <hainque@adacore.com>
3246
3247 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
3248 register numbers. LR_REGNO replaces R_LR.
3249 (ucontext_for): New, helper for ...
3250 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
3251 and 5.3 of ...
3252 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
3253
aca06c90
RO
32542012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3255
3256 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
3257 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
3258 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
3259 i386/t-cpuinfo ...
3260 (i[34567]86-*-*, x86_64-*-*): ... here.
3261
3262 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
3263 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
3264
3265 * config/i386/i386-cpuinfo.c: Rename to ...
3266 * config/i386/cpuinfo.c: ... this.
3267 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
3268
3269 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
3270 (libgcc_cv_init_priority): New test.
3271 * configure: Regenerate.
3272 * config.in: New file.
3273 * Makefile.in (clean): Rename config.h to auto-target.h.
3274 (config.h): Likewise.
3275 (stamp-h): Likewise.
3276
3277 * config/i386/cpuinfo.c (auto-target.h): Include.
3278 (CONSTRUCTOR_PRIORITY): Define.
3279 (__cpu_indicator_init): Use it.
3280
0d03ac1b
L
32812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3282
3283 * longlong.h: Use a URL instead of an FSF postal address.
3284 Replace spaces with tab.
3285
4a172156 32862012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
3287
3288 * libgcov.c (gcov_clear, __gcov_reset): New functions.
3289 (__gcov_dump): Ditto.
3290 (gcov_dump_complete): New global variable.
3291 (gcov_exit): Export hidden to enable use in L_gcov_dump.
3292 (__gcov_flush): Outline functionality now in gcov_clear.
3293 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
3294
e4bb767e
AJ
32952012-04-28 Aurelien Jarno <aurelien@aurel32.net>
3296
31a18a7e
ILT
3297 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
3298 (mips*-*-linux*): Include mips/t-tpbit when long double is
3299 16 bytes long.
e4bb767e 3300
5ddecff9
ST
33012012-04-25 Sriraman Tallam <tmsriram@google.com>
3302
3303 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3304 (get_available_features): New argument. Check for AVX2.
3305 (__cpu_indicator_init): Modify call to get_available_features.
3306
b427dd7a
AM
33072012-04-25 Alan Modra <amodra@gmail.com>
3308
3309 * config/rs6000/crtsavevr.S: New file.
3310 * config/rs6000/crtrestvr.S: New file.
3311 * config/rs6000/t-savresfgpr: Build the above.
3312 * config/rs6000/t-netbsd: Likewise.
3313
ad491329
ST
33142012-04-24 Sriraman Tallam <tmsriram@google.com>
3315
3316 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3317
792317cc
ST
33182012-04-24 Sriraman Tallam <tmsriram@google.com>
3319
3320 * libgcc/config/i386/i386-cpuinfo.c: New file.
3321 * libgcc/config/i386/t-cpuinfo: New file.
3322 * libgcc/config.host: Include t-cpuinfo.
3323 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3324
e1be98a4
CF
33252012-04-24 Chao-ying Fu <fu@mips.com>
3326
3327 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3328
1bde7dab
TS
33292012-04-20 Thomas Schwinge <thomas@codesourcery.com>
3330
3331 struct siginfo vs. siginfo_t
3332
3333 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3334 siginfo_t instead of struct siginfo.
3335 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3336 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3337 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3338 (ia64_handle_unwabi): Likewise.
3339 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3340 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3341 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3342 (sh_fallback_frame_state): Likewise.
3343 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3344 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3345
24590f66
L
33462012-04-02 H.J. Lu <hongjiu.lu@intel.com>
3347
3348 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3349 system call number.
3350
9a9dcce8
EB
33512012-03-31 Eric Botcazou <ebotcazou@adacore.com>
3352
3353 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3354 if it hasn't been previously saved.
3355
6401aaf5
L
33562012-03-29 H.J. Lu <hongjiu.lu@intel.com>
3357
3358 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3359 only for glibc.
3360
7fd6378e
GJL
33612012-03-28 Georg-Johann Lay <avr@gjlay.de>
3362
3363 PR target/52737
3364 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3365 instead of __AVR_HAVE_8BIT_SP__.
3366
9e916de7
TG
33672012-03-26 Tristan Gingold <gingold@adacore.com>
3368
3369 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3370 (unw_table_entry): Use unw_word instead of unsigned long.
3371 (_Unwind_FindTableEntry): Likewise.
3372 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3373 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3374 (_Unwind_FindTableEntry): Likewise.
3375 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3376 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3377 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3378 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3379 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3380 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3381 (uw_init_context_1, uw_install_context): Likewise.
3382 (unw_word): Move to unwind-ia64.h
3383
4b12e93d
TG
33842012-03-26 Tristan Gingold <gingold@adacore.com>
3385
3386 * config/vms/vms-ucrt0.c: Update copyright years.
3387 Add a sanity check.
3388 (___gcc_main_flags): Declare.
3389 (__main): Check flags to remap argv and exit code.
3390 * config.host (*-*-*vms*): Adjust extra_parts.
3391 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3392 (crt0.o): Add.
3393
06ea7371
RE
33942012-03-22 Richard Earnshaw <rearnsha@arm.com>
3395
3396 * arm/lib1funcs.asm (ctzsi2): New function.
3397 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3398 * arm/t-linux (LIB1ASMFUNCS): Likewise.
3399 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3400 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3401 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3402 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3403
d82ad50d
AT
34042012-03-21 Andreas Tobler <andreast@fgznet.ch>
3405
3406 * config.host: Add bits to support powerpc64-*-freebsd*.
3407 * config/rs6000/freebsd-unwind.h: New file.
3408 * config/rs6000/t-freebsd64: New file.
3409
b260a8c0
RG
34102012-03-20 Richard Guenther <rguenther@suse.de>
3411
3412 PR gcov-profile/52627
3413 * libgcov.c (init_mx): Fix mutex name.
3414
86286a8a
TG
34152012-03-16 Tristan Gingold <gingold@adacore.com>
3416
3417 * config/ia64/vms-unwind.h: Remove ulong (and replace
3418 it by unw_reg where used). Define unw_reg with __int64.
3419
7888f266
RO
34202012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3421
3422 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3423 Solaris 8 handling.
3424 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3425 Solaris 8 handling.
3426 (sparc_is_sighandler): Likewise.
3427
f155bc64
L
34282012-03-13 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3431 <= saved reg size.
3432
d47657bd
RO
34332012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3434
3435 * config/arm/crtn.S: Fix typo.
3436
5bef73a1
RG
34372012-03-13 Richard Guenther <rguenther@suse.de>
3438
3439 * libgcov.c: Remove stdio.h include and NULL un-define.
3440
9c4271f3
RG
34412012-03-13 Richard Guenther <rguenther@suse.de>
3442
3443 PR target/52569
3444 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3445
c6d10e7c
RG
34462012-03-13 Richard Guenther <rguenther@suse.de>
3447
3448 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3449
074a385f
RG
34502012-03-13 Richard Guenther <rguenther@suse.de>
3451
3452 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3453 and __gthread_mutex_init_function definitions.
3454
c4bc5c25
RO
34552012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3456
3457 * config.host (mips*-*-openbsd*): Remove.
3458
5c30094f
RO
34592012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3460
3461 * config.host: Remove alpha*-dec-osf5.1* handling.
3462 * config/alpha/gthr-posix.c: Remove.
3463 * config/alpha/libgcc-osf5.ver: Remove.
3464 * config/alpha/osf5-unwind.h: Remove.
3465 * config/alpha/t-osf-pthread: Remove.
3466 * config/alpha/t-slibgcc-osf: Remove.
3467 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3468 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3469 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3470 * mkmap-flat.awk: Remove osf_export handling.
3471
33e3e24d
RG
34722012-03-12 Richard Guenther <rguenther@suse.de>
3473
3474 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3475 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3476 (__gthread_mutex_init_function): New function.
3477 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3478
3479 PR gcov/49484
3480 * libgcov.c: Include gthr.h.
3481 (__gcov_flush_mx): New global variable.
3482 (init_mx, init_mx_once): New functions.
3483 (__gcov_flush): Protect self with a mutex.
3484 (__gcov_fork): Re-initialize mutex after forking.
3485 * unwind-dw2-fde.c: Change condition under which to use
3486 __GTHREAD_MUTEX_INIT_FUNCTION.
3487
d8aba32a
TG
34882012-03-12 Tristan Gingold <gingold@adacore.com>
3489
3490 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3491 * config/ia64/t-vms: Likewise.
3492
75ffafdc
MH
34932012-03-11 Michael Hope <michael.hope@linaro.org>
3494
4a172156
UB
3495 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3496 for Thumb-2.
75ffafdc 3497
ef6c2c53
WL
34982012-03-07 Walter Lee <walt@tilera.com>
3499
3500 * config/tilepro/atomic.c: Rename "atomic_" prefix to
3501 "arch_atomic_".
3502 (atomic_xor): Rename and move definition to
3503 config/tilepro/atomic.h.
3504 (atomic_nand): Ditto.
3505 * config/tilepro/atomic.h: Rename "atomic_" prefix to
3506 "arch_atomic_".
3507 (arch_atomic_xor): Move from config/tilepro/atomic.c.
3508 (arch_atomic_nand): Ditto.
3509
4e30d980
GJL
35102012-03-07 Georg-Johann Lay <avr@gjlay.de>
3511
3512 PR target/52507
3513 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3514
61108225
GJL
35152012-03-07 Georg-Johann Lay <avr@gjlay.de>
3516
3517 PR target/52505
3518 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3519 from RAM.
3520
b30e10ab
GJL
35212012-03-07 Georg-Johann Lay <avr@gjlay.de>
3522
3523 PR target/52461
3524 PR target/52508
3525 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3526 if RAMPZ affects reading from RAM.
3527 (__tablejump_elpm__): Ditto.
3528 (.xload): Ditto.
3529 (__movmemx_hi): Ditto.
3530 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3531 (__do_global_dtors): Ditto.
3532 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3533 (__movmemx_hi): Ditto.
3534
8993fde4
RH
35352012-03-05 Richard Henderson <rth@redhat.com>
3536
3537 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3538 [ARM] (count_trailing_zeros): Use the builtin.
3539
b7633ee3
KT
35402012-03-01 Kai Tietz <ktietz@redhat.com>
3541
3542 * soft-fp: Imported from glibc upstream.
3543
fbd3340c
KT
35442012-02-28 Kai Tietz <ktietz@redhat.com>
3545
3546 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3547 for mingw-targets as attribute gcc_struct.
3548
e9e053eb
ILT
35492012-02-28 Ian Lance Taylor <iant@google.com>
3550
3551 * generic-morestack.c (__splitstack_releasecontext): Correct call
3552 to __morestack_release_segments.
3553
d80c632e
ST
35542012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3555
3556 PR target/52390
3557 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3558 for __linux__ when removing signals from __morestack_fullmask.
3559
0253a8b1
GJL
35602012-02-23 Georg-Johann Lay <avr@gjlay.de>
3561
3562 PR target/52261
3563 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3564
e10e461e
UW
35652012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3566
3567 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3568 instead of HAVE_INITFINI_ARRAY.
3569 * config/ia64/crtend.S: Likewise.
3570
0c0c6398
KT
35712012-02-20 Kai Tietz <ktietz@redhat.com>
3572
d7470374
KT
3573 PR libstdc++/52300
3574 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3575
0c0c6398
KT
3576 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3577 to w32-unwind.h header.
3578
78c27266
RS
35792012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3580
3581 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3582 (mips*-*-linux*): Remove t-slibgcc-libgcc.
3583 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3584 * config/mips/mips16.S (__mips16_rdhwr): Delete.
3585
5adeb246
RS
35862012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3587
3588 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3589
672ed313
IS
35902012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3591
3592 PR libitm/52220
3593 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 3594
e948a1fb
IS
35952012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3596 Patrick Marlier <patrick.marlier@gmail.com>
3597
3598 PR libitm/52220
3599 * config/darwin-crt-tm.c: Generate dummy functions.
3600
6017aed3
IS
36012012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3602 Patrick Marlier <patrick.marlier@gmail.com>
3603
3604 PR libitm/52042
3605 * config/darwin-crt-tm.c (getTMCloneTable): New function.
3606 (__doTMRegistrations): Call it.
e9e053eb 3607 (__doTMdeRegistrations): Likewise.
6017aed3 3608
2da8c1ad
GJL
36092012-01-15 Georg-Johann Lay <avr@gjlay.de>
3610 Anatoly Sokolov <aesok@post.ru>
3611 Eric Weddington <eric.weddington@atmel.com>
3612
3613 PR target/52261
3614 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3615 (__epilogue_restores__): Ditto.
3616
0f952eb4
EB
36172012-02-15 Eric Botcazou <ebotcazou@adacore.com>
3618
3619 PR target/51921
3620 PR target/52205
3621 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3622 Solaris 11 and slightly reformat.
3623 (sparc_is_sighandler): Likewise.
3624
dd552284
WL
36252012-02-14 Walter Lee <walt@tilera.com>
3626
3627 * config.host: Handle tilegx and tilepro.
3628 * config/tilegx/sfp-machine.h: New file.
3629 * config/tilegx/sfp-machine32.h: New file.
3630 * config/tilegx/sfp-machine64.h: New file.
3631 * config/tilegx/t-crtstuff: New file.
3632 * config/tilegx/t-softfp: New file.
3633 * config/tilegx/t-tilegx: New file.
3634 * config/tilepro/atomic.c: New file.
3635 * config/tilepro/atomic.h: New file.
3636 * config/tilepro/linux-unwind.h: New file.
3637 * config/tilepro/sfp-machine.h: New file.
3638 * config/tilepro/softdivide.c: New file.
3639 * config/tilepro/softmpy.S: New file.
3640 * config/tilepro/t-crtstuff: New file.
3641 * config/tilepro/t-tilepro: New file.
3642
b59cbd50
JW
36432012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3644
3645 PR libstdc++/51296
3646 PR libstdc++/51906
3647 * gthr-posix.h: Allow static initializer macros to be disabled.
3648 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3649
6caf807f
CLT
36502012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3651
3652 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3653 Add t-slibgcc-libgcc to tmake_file.
3654 * config/mips/libgcc-mips16.ver: Revert previous patch.
3655 * config/mips/mips16.S (__mips16_rdhwr): Hide.
3656
b25364a0
S
36572012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3658 Jayant R Sonar <jayant.sonar@kpitcummins.com>
3659
3660 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3661 * config/cr16/crti.S: New file.
3662 * config/cr16/crtlibid.S: New file.
3663 * config/cr16/crtn.S: New file.
3664 * config/cr16/lib1funcs.S: New file.
3665 * config/cr16/t-cr16: New file.
3666 * config/cr16/t-crtlibid: New file.
3667 * config/cr16/unwind-dw2.h: New file.
3668 * config/cr16/unwind-cr16.c: New file.
3669 * config/cr16/divmodhi3.c: New file.
3670
8ef03aa7
AM
36712012-01-25 Alan Modra <amodra@gmail.com>
3672
3673 * config/rs6000/t-linux64: Delete. Move..
3674 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3675 * config/rs6000/t-linux: ..and libgcc flags to here.
3676
daecebc8
DR
36772012-01-22 Douglas B Rupp <rupp@gnat.com>
3678
3679 * config.host (i[34567]86-*-interix3*):
8ef03aa7 3680 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
3681 * configure: Regenerate.
3682
ddaf8125
RS
36832012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
3684 Richard Sandiford <rdsandiford@googlemail.com>
3685
3686 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
3687 * config/mips/mips16.S (__mips16_rdhwr): New function.
3688 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
3689
2cd8b32c
NS
36902012-01-11 Nathan Sidwell <nathan@acm.org>
3691
3692 * libgcov.c (__gcov_init): Ignore objects with no functions.
3693
cba300dd
GJL
36942012-01-10 Georg-Johann Lay <avr@gjlay.de>
3695
3696 PR target/49868
3697 Extend __pgmx semantics to linearize memory.
3698 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
3699 * config/avr/lib1funcs.S (__xload_1): New function.
3700 (__movmemx_qi, __movmemx_hi): New functions.
3701 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
3702 semantics.
9ffaf4bc 3703
3d137660
EB
37042012-01-09 Eric Botcazou <ebotcazou@adacore.com>
3705
3706 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
3707 purported sigacthandler address isn't null before dereferencing it.
3708 (sparc_is_sighandler): Likewise.
3709
bf4db96c
EB
37102012-01-09 Eric Botcazou <ebotcazou@adacore.com>
3711
3712 PR ada/41929
3713 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
3714 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
3715 (sparc_is_sighandler): Likewise.
3716 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
3717
1ab3568b
TG
37182012-01-06 Tristan Gingold <gingold@adacore.com>
3719
3720 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
3721 compatibility thunks...
3722 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
3723 (crtbeginS.o, crtendS.o): ... and these to ...
3724 * config/ia64/t-ia64-elf: ... this new file.
3725 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
3726 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
3727
925b0ed8
AK
37282012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3729
3730 * configure: Regenerate.
3731 * config/s390/t-crtstuff: Remove -fPIC.
3732
a99ad737
JW
37332012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3734
3735 PR bootstrap/51006
3736 * enable-execute-stack-mprotect.c (getpagesize): Do not define
3737 for NetBSD.
3738
884f56d1
GJL
37392012-01-02 Georg-Johann Lay <avr@gjlay.de>
3740
3741 PR target/51345
3742 * config/avr/lib1funcs.S: Remove FIXME comments.
3743 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
3744
8c57e547
GJL
37452012-01-02 Georg-Johann Lay <avr@gjlay.de>
3746
3747 Implement light-weight DImode support.
3748 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
3749 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
3750 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
3751 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
3752
04dbc287
NS
37532011-12-30 Nathan Sidwell <nathan@acm.org>
3754
3755 * libgcov.c (gcov_crc32): Remove global var.
3756 (free_fn_data): New function.
3757 (buffer_fn_data): Pass in filename, more robust error recovery.
3758 (crc32_unsigned): New function.
3759 (gcov_exit): More robust detection of new program. More robust
3760 error recovery.
3761 (__gcov_init): Do not update program's crc here.
3762
8e1d97d4
TG
37632011-12-21 Tristan Gingold <gingold@adacore.com>
3764
3765 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
3766
9ffaf4bc
ILT
37672011-12-21 Ian Lance Taylor <iant@google.com>
3768
3769 * config/i386/morestack.S: Simplify CFI opcodes throughout.
3770
a0c8d0c1
ILT
37712011-12-20 Ian Lance Taylor <iant@google.com>
3772
3773 * config/i386/morestack.S (__morestack_non_split): If there is
3774 enough stack space already, don't split. Ask for more stack space
3775 than we required.
3776
69048898
SDJ
37772011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
3778
3779 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
3780 `sys/sdt.h'.
3781 (_Unwind_DebugHook): New function.
3782 (uw_restore_core_regs): New define.
3783 (unwind_phase2): Use uw_restore_core_regs instead of
3784 restore_core_regs.
3785 (unwind_phase2_forced): Likewise.
3786 (__gnu_Unwind_Resume): Likewise.
3787
1bb4b6a3
UB
37882011-12-20 Uros Bizjak <ubizjak@gmail.com>
3789
3790 * config/alpha/linux-unwind.h: Update copyright years.
3791 (MD_FROB_UPDATE_CONTEXT): New define.
3792 (alpha_frob_update_context): New function.
3793
eb028768
RS
37942011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
3795
3796 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
3797 tmake_file rather replacing it.
3798
6a2045bf
IS
37992011-12-15 Iain Sandoe <iains@gcc.gnu.org>
3800
3801 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 3802 function is not used for PPC64.
6a2045bf
IS
3803 (save_world): Amend comments. Update the VRsave mask to reflect the
3804 saved regs.
3805 (rest_world): Update comments, do not clobber r10, do not use r8.
3806 (eh_rest_world_r10): Amend comments, do not use r8.
3807 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
3808 no longer used, move restore of CR and target address to the end of
3809 the routine.
3810
a13780a6
L
38112011-12-14 H.J. Lu <hongjiu.lu@intel.com>
3812
3813 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
3814 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
3815
d7288dfb
GJL
38162011-12-14 Georg-Johann Lay <avr@gjlay.de>
3817
3818 PR target/49313
3819 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
3820 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
3821
8d2c862d
EB
38222011-12-11 Eric Botcazou <ebotcazou@adacore.com>
3823
3824 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
3825
3447cae6
GJL
38262011-12-09 Georg-Johann Lay <avr@gjlay.de>
3827
3828 PR target/49313
3829 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
3830 * config/avr/lib1funcs.S (__muldi3): New function.
3831
806fc6aa
AP
38322011-12-06 Andrew Pinski <apinski@cavium.com>
3833
3834 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
3835 size of func_ptr.
3836 (__frame_dummy_init_array_entry): Likewise.
3837
28c5e6b5
GJL
38382011-12-06 Georg-Johann Lay <avr@gjlay.de>
3839
3840 Forward-port from gcc-4_6-branch r181936 2011-12-02.
3841
3842 PR target/51345
3843 PR target/51002
3844 * config/avr/lib1funcs.S (__prologue_saves__,
3845 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
3846 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
3847
8f90394a
IS
38482011-12-04 Iain Sandoe <iains@gcc.gnu.org>
3849
3850 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
3851
06dd33ac
JDA
38522011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3853
3854 PR other/51272
3855 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
3856 (_ITM_deregisterTMCloneTable): Likewise.
3857 (__register_frame_info): Fix unused warning.
3858 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
3859 pthread_default_stacksize_np): Likewise.
3860 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 3861
85b8555e
DD
38622011-11-29 DJ Delorie <dj@redhat.com>
3863
3864 * config.host (rl78-*-elf): New case.
3865 * config/rl78: New directory for the Renesas RL78.
3866
4d5ae4ea
BS
38672011-11-29 Bernd Schmidt <bernds@codesourcery.com>
3868
3869 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
3870 formatting.
3871
f9c55897
RO
38722011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3873
3874 PR other/51022
3875 * config/rs6000/t-savresfgpr: New file.
3876 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
3877 $(srcdir)/config/rs6000/eabi.S.
3878 * config/rs6000/t-ppccomm-ldbl: Remove.
3879 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
3880 tmake_file.
3881 (powerpc-*-eabispe*): Likewise.
3882 (powerpc-*-eabi*): Likewise.
3883 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3884 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
3885 to tmake_file, remove rs6000/t-ppccomm-ldbl.
3886 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
3887 tmake_file.
3888 (powerpc-*-eabisim*): Likewise.
3889 (powerpc-*-elf*): Likewise.
3890 (powerpc-*-eabialtivec*): Likewise.
3891 (powerpc-xilinx-eabi*): Likewise.
3892 (powerpc-*-rtems*): Likewise.
3893 (powerpcle-*-elf*): Likewise.
3894 (powerpcle-*-eabisim*): Likewise.
3895 (powerpcle-*-eabi*): Likewise.
3896
a01207c4
ILT
38972011-11-27 Ian Lance Taylor <iant@google.com>
3898
3899 * generic-morestack.c (__splitstack_find): Check for NULL old
3900 stack value.
3901 (__splitstack_resetcontext): New function.
3902 (__splitstack_releasecontext): New function.
3903 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3904
2b0b8ab2
IS
39052011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3906
3907 * config/darwin-crt-tm.c: Correct comments, use correct licence.
3908
c1d8101c
IS
39092011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3910
3911 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
3912
8b281334
RH
39132011-11-26 Richard Henderson <rth@redhat.com>
3914
3915 * config/m68k/linux-atomic.c: New file.
3916 * config/m68k/t-linux: New file.
3917 * config.host (m68k-uclinux, m68k-linux): Use it.
3918
7546aa9d
RH
39192011-11-26 Richard Henderson <rth@redhat.com>
3920
3921 * crtstuff.c (__TMC_LIST__): Mark used not unused.
3922 (__TMC_END__): Only declare if hidden is available; in the definition,
3923 if hidden is unavailable add a null record.
3924 (deregister_tm_clones, register_tm_clones): New.
3925 (__do_global_dtors_aux, frame_dummy): Use them.
3926 (__do_global_dtors, __do_global_ctors_1): Likewise.
3927
e2362f5d
IS
39282011-11-22 Iain Sandoe <iains@gcc.gnu.org>
3929
3930 * config/darwin-crt-tm.c: New file.
3931 * config.host (darwin): Build crttms.o crttme.o to provide
3932 startup and shutdown for tm clones.
3933 * config/t-darwin (crttms.o): New build rule.
3934 (crttme.o): Likewise.
3935
6685dd96
HPN
39362011-11-21 Hans-Peter Nilsson <hp@axis.com>
3937
3938 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
3939 et al.
3940
b0dc7e4c
RH
39412011-11-21 Richard Henderson <rth@redhat.com>
3942
3943 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
3944 (__TMC_LIST__, __TMC_END__): New.
3945 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
3946 (__do_global_dtors): Likewise.
3947 (frame_dummy): Call _ITM_registerTMCloneTable.
3948 (__do_global_ctors_1): Likewise.
3949
d4b4b542
RO
39502011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3951
3952 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
3953 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3954 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
3955 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
3956 * config/i386/t-darwin64: Remove.
3957 * config/sh/t-netbsd (LIB2ADD): Remove.
3958
989bdb74
GJL
39592011-11-21 Georg-Johann Lay <avr@gjlay.de>
3960
3961 PR target/49313
3962 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
3963 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
3964 * config/avr/lib1funcs.S (wmov): New assembler macro.
3965 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
3966 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
3967 (__udivmod64): New function.
3968 (__negdi2): New function.
3969
515a0cfc
GP
39702011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
3971
3972 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
3973 *-*-freebsd*aout*): Remove.
3974
0115d17f
HPN
39752011-11-20 Hans-Peter Nilsson <hp@axis.com>
3976
3977 * static-object.mk (c_flags-$o): Save c_flags.
3978 ($(base)$(objext)): Use it.
3979
93aeb62b
SE
39802011-11-18 Steve Ellcey <sje@cup.hp.com>
3981
3982 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
3983
7bc6df2c
GJL
39842011-11-18 Georg-Johann Lay <avr@gjlay.de>
3985
3986 PR target/49868
3987 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
3988 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
3989 New functions.
3990
425d737b
MGD
39912011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3992
3993 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
3994 functions.
1bb4b6a3 3995 (aeabi_uidivmod): Likewise.
425d737b
MGD
3996 (umodsi3): Likewise.
3997 (divsi3): Likewise.
3998 (aeabi_idivmod): Likewise.
3999 (modsi3): Likewise.
4000
f2a176dc
TG
40012011-11-16 Tristan Gingold <gingold@adacore.com>
4002
4003 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
4004
7c209481
GJL
40052011-11-15 Georg-Johann Lay <avr@gjlay.de>
4006
4007 PR target/49868
4008 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
4009 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
4010
9dfd5832
JDA
40112011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4012
4013 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
4014 tmake_file list.
4015 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
4016 * config/pa/t-stublib64: Delete.
4017
f77dca5d
RH
40182011-11-12 Richard Henderson <rth@redhat.com>
4019
4020 * config/rs6000/linux-unwind.h (frob_update_context): Properly
4021 cast the pointer argument to _Unwind_SetGRPtr.
4022
902828f0
RO
40232011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4024
4025 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
4026
e14304ef
ILT
40272011-11-09 Ian Lance Taylor <iant@google.com>
4028
4029 * generic-morestack.c: Include <string.h>.
4030 (uintptr_type): Define.
4031 (struct initial_sp): Add dont_block_signals field. Reduce size of
4032 extra array by 1.
4033 (allocate_segment): Set prev field to NULL. Don't set
4034 __morestack_current_segment or __morestack_segments.
4035 (__generic_morestack): Update current->prev and *pp after calling
4036 allocate_segment.
4037 (__morestack_block_signals): Don't do anything if
4038 dont_block_signals is set.
4039 (__morestack_unblock_signals): Likewise.
4040 (__generic_findstack): Check for initial_sp == NULL. Add casts to
4041 uintptr_type.
4042 (__splitstack_block_signals): New function.
4043 (enum __splitstack_content_offsets): Define.
4044 (__splitstack_getcontext, __splitstack_setcontext): New functions.
4045 (__splitstack_makecontext): New function.
4046 (__splitstack_block_signals_context): New function.
4047 (__splitstack_find_context): New function.
4048 * config/i386/morestack.S (__morestack_get_guard): New function.
4049 (__morestack_set_guard, __morestack_make_guard): New functions.
4050 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
4051
e3d871e4
RO
40522011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4053
4054 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
4055 (i[34567]86-*-mingw*): ... here.
4056 (x86_64-*-mingw*): ... here.
4057
e55cef40
RO
40582011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4059
4060 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
4061
5366b186
NS
40622011-11-07 Nathan Sidwell <nathan@acm.org>
4063
4064 * libgcov.c (struct gcov_fn_buffer): New struct.
4065 (buffer_fn_data): New helper.
4066 (gcov_exit): Rework for new gcov data structures.
4067
74155a6f
GJL
40682011-11-07 Georg-Johann Lay <avr@gjlay.de>
4069
4070 PR target/49313
4071 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
4072
200feb07
RO
40732011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4074
4075 * config.host (tmake_file): Correct comment.
4076 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
4077 t-libgcc-pic.
4078 (bfin*-uclinux*): Likewise.
4079 (bfin*-linux-uclibc*): Likewise.
4080 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
4081
4082 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
4083 assigning.
4084 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4085 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
4086 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4087 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
4088 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4089 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
4090 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
4091 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
4092 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
4093 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
4094 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
4095 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
4096 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
4097
4098 * config/bfin/t-elf: Remove.
4099 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
4100
c9cd1a07
RO
41012011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4102
4103 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
4104 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
4105 (lm32-*-elf*, lm32-*-rtems*): Split into ...
4106 (lm32-*-elf*): ... this.
4107 (lm32-*-rtems*): ... and this.
4108 Add to tmake_file.
4109 (m32r-*-rtems*): Add to tmake_file.
4110 (moxie-*-rtems*): Likewise.
4111 (sparc-*-rtems*): Likewise.
4112 Remove t-rtems from tmake_file.
4113 (sparc64-*-rtems*): Likewise.
4114 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
4115 instead.
4116
9fbcc75d
RO
41172011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4118
4119 PR bootstrap/50982
4120 * config/gthr-posix.h: Move ...
4121 * gthr-posix.h: ... here.
4122 * config/gthr-lynx.h: Reflect this.
4123 * config/gthr-vxworks.h: Likewise.
4124 * config/rs6000/gthr-aix.h: Likewise.
4125 * configure.ac (target_thread_file): Likewise.
4126 * configure: Regenerate.
4127
76644b68
SH
41282011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
4129
4130 * config.host (arm*-*-rtemseabi*): New target.
4131
5e490f2a
JDA
41322011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4133
4134 PR other/50991
4135 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
4136 extra-parts.
4137
feeeff5c
JR
41382011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
4139
4140 * config.host (epiphany-*-elf*): New configuration.
4141 * config/epiphany: New Directory.
4142
d618bb2c
RC
41432011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
4144
4145 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
4146 * config/avr/t-rtems: New.
4147 Filter out _exit from LIB1ASMFUNCS.
4148
1bb6f778
DM
41492011-11-04 David S. Miller <davem@davemloft.net>
4150
4151 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
4152 * configure: Rebuild.
4153
9a7f7422
AK
41542011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4155
4156 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
4157 variable.
4158
e4fe948a
GJL
41592011-11-04 Georg-Johann Lay <avr@gjlay.de>
4160
4161 PR target/50931
4162 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
4163 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
4164
7084e037
JS
41652011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
4166
4167 PR target/50989
4168 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
4169
1a032034
RO
41702011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4171
4172 * config/c6x/t-elf (LIB2ADDEH): Set.
4173 * config/c6x/t-c6x-elf: Remove.
4174
d385f772
RO
41752011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4176
4177 * config/i386/sol2-ci.S: Rename to ...
4178 * config/i386/crti.S: ... this.
4179 * config/i386/sol2-cn.S: Rename to ...
4180 * config/i386/crtn.S: ... this.
4181 * config/sparc/sol2-ci.S: Rename to ...
4182 * config/sparc/crti.S: ... this.
4183 * config/sparc/sol2-cn.S: Rename to ...
4184 * config/sparc/crtn.S: ... this.
4185 * config/t-sol2 (CUSTOM_CRTIN): Remove.
4186 (crti.o, crtn.o): Remove.
4187
1ba878a9
TG
41882011-11-04 Tristan Gingold <gingold@adacore.com>
4189
4190 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
4191
02750c15
KK
41922011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
4193
4194 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
4195
bf86b067
HPN
41962011-11-03 Hans-Peter Nilsson <hp@axis.com>
4197
4198 * config.host (crisv32-*-none, cris-*-none): Remove.
4199 (crisv32-*-elf): Append to tmake_file, don't just set it.
4200 (cris-*-elf): Add missing t-fdpbit to tmake_file.
4201
d0bc53bd
RO
42022011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4203
4204 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
4205 (ecrtn$(objext)): Likewise.
4206 (ncrti$(objext)): Likewise.
4207 (ncrtn$(objext)): Likewise.
4208
036da830
AS
42092011-11-03 Andreas Schwab <schwab@redhat.com>
4210
4211 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
4212
d2a7d041
DM
42132011-11-02 David S. Miller <davem@davemloft.net>
4214
4215 * configure.ac: Set host_address on sparc too.
4216 * configure: Regenerate.
4217 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
4218 based upon host_address.
4219 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
4220
af8ed618
JM
42212011-11-02 Jason Merrill <jason@redhat.com>
4222
4223 * config/rs6000/t-ppccomm: Add missing \.
4224
5d1c8e77
RO
42252011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4226
4227 * gthr-single.h, gthr.h: New files.
4228 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
4229 config/gthr-vxworks.h, config/i386/gthr-win32.h,
4230 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
4231 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
4232 * config/i386/gthr-win32.c: Include "gthr-win32.h".
4233 * configure.ac (thread_header): New variable.
4234 Set it depending on target_thread_file.
4235 (gthr-default.h): Link from $thread_header.
4236 * configure: Regenerate.
4237 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
4238
852b75ed
RO
42392011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4240
4241 * configure.ac (tm_file_): New variable.
4242 Determine from tm_file.
4243 (tm_file, tm_defines): Substitute.
4244 * configure: Regenerate.
4245 * mkheader.sh: New file.
4246 * Makefile.in (clean): Remove libgcc_tm.h.
4247 ($(objects)): Depend on libgcc_tm.h.
4248 (libgcc_tm_defines, libgcc_tm_file): New variables.
4249 (libgcc_tm.h, libgcc_tm.stamp): New targets.
4250 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
4251 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
4252 ($(extra-parts)): Depend on libgcc_tm.h.
4253 * config.host (tm_defines, tm_file): New variable.
4254 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
4255 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
4256 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
4257 (avr-*-rtems*): Likewise.
4258 (avr-*-*): Likewise.
4259 (frv-*-elf): Likewise.
4260 (frv-*-*linux*): Likewise.
4261 (h8300-*-rtems*): Likewise.
4262 (h8300-*-elf*): Likewise.
4263 (i[34567]86-*-darwin*): Likewise.
4264 (x86_64-*-darwin*): Likewise.
4265 (rx-*-elf): Likewise.
4266 (tic6x-*-uclinux): Likewise.
4267 (tic6x-*-elf): Likewise.
4268 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
4269 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
4270 * config/i386/cygming-crtbegin.c: Likewise.
4271 * config/i386/cygming-crtend.c: Likewise.
4272 * config/ia64/fde-vms.c: Likewise.
4273 * config/ia64/unwind-ia64.c: Likewise.
4274 * config/libbid/bid_gcc_intrinsics.h: Likewise.
4275 * config/rs6000/darwin-fallback.c: Likewise.
4276 * config/stormy16/lib2funcs.c: Likewise.
4277 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
4278 * crtstuff.c: Likewise.
4279 * dfp-bit.h: Likewise.
4280 * emutls.c: Likewise.
4281 * fixed-bit.c: Likewise.
4282 * fp-bit.c: Likewise.
4283 * generic-morestack-thread.c: Likewise.
4284 * generic-morestack.c: Likewise.
4285 * libgcc2.c: Likewise.
4286 * libgcov.c: Likewise.
4287 * unwind-dw2-fde-dip.c: Likewise.
4288 * unwind-dw2-fde.c: Likewise.
4289 * unwind-dw2.c: Likewise.
4290 * unwind-sjlj.c: Likewise.
4291
f9989b51
RO
42922011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4293
4294 * configure.ac: Include ../config/picflag.m4.
4295 (GCC_PICFLAG): Call it.
4296 Substitute.
4297 * configure: Regenerate.
4298 * Makefile.in (gcc_srcdir): Remove.
4299 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
4300 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4301 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4302 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4303 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4304 Use $<.
4305 Remove comment.
4306 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4307 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4308 to refer to libgcc2.c.
4309 Use $<.
4310 * config/darwin-64.c: New file.
4311 * config/darwin-crt3.c: Remove comment.
4312 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4313 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4314 config/udivmodsi4.c: New files.
4315 * config/memcmp.c, config/memcpy.c, config/memmove.c,
4316 config/memset.c: New files.
4317 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4318 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4319 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4320 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4321 * config/t-openbsd-thread: New file.
4322 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4323 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4324 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4325 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4326 qrnnd.S.
4327 Adapt filename.
4328 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4329 to refer to gthr-posix.c.
4330 * config/alpha/t-vms (LIB2ADD): Set.
4331 * config/alpha/vms-gcc_shell_handler.c: New file.
4332 * config/arm/bpabi.c, config/arm/fp16.c,
4333 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4334 config/arm/unaligned-funcs.c: New files.
4335 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4336 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4337 * config/arm/t-linux: Likewise.
4338 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4339 * config/arm/t-netbsd: New file.
4340 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4341 * config/arm/t-symbian (LIB2ADD_ST): Set.
4342 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4343 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4344 * config/bfin/t-elf: New file.
4345 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4346 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4347 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4348 config/c6x/ltf.c: New files.
4349 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4350 (HOST_LIBGCC2_CFLAGS): Set.
4351 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4352 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4353 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4354 New files.
4355 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4356 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4357 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4358 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4359 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4360 files.
4361 * config/frv/t-frv (LIB2ADD): Set.
4362 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4363 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4364 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4365 config/h8300/popcounthi2.c: New files.
4366 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4367 * config/i386/gthr-win32.c: New file.
4368 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4369 * config/i386/t-cygwin: Likewise.
4370 * config/i386/t-darwin, config/i386/t-darwin64,
4371 config/i386/t-gthr-win32, config/i386/t-interix: New files.
4372 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4373 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4374 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4375 * config/ia64/quadlib.c: New file.
4376 * config/ia64/t-hpux (LIB2ADD): Set.
4377 * config/ia64/t-ia64: Add comment.
4378 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4379 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4380 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4381 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4382 * config/m32c/t-m32c (LIB2ADD): Set.
4383 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4384 * config/m32r/t-m32r: Likewise.
4385 * config/m68k/fpgnulib.c: New file.
4386 * config/m68k/t-floatlib (LIB2ADD): Set.
4387 (xfgnulib.c): New target.
4388 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4389 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4390 * config/mep/t-mep (LIB2ADD): Set.
4391 * config/microblaze/divsi3.asm: Rename to divsi3.S.
4392 * config/microblaze/moddi3.asm: Rename to moddi3.S.
4393 * config/microblaze/modsi3.asm: Rename to modsi3.S.
4394 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4395 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4396 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4397 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4398 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4399 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4400 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4401 New files.
4402 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4403 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4404 * config/pa/fptr.c, config/pa/lib2funcs.S,
4405 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4406 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4407 (LIB2ADD, LIB2ADD_ST): Set.
4408 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4409 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4410 Set.
4411 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4412 * config/pdp11/t-pdp11: New file.
4413 * config/picochip/libgccExtras/adddi3.S,
4414 config/picochip/libgccExtras/ashlsi3.S,
4415 config/picochip/libgccExtras/ashrsi3.S,
4416 config/picochip/libgccExtras/clzsi2.S,
4417 config/picochip/libgccExtras/cmpsi2.S,
4418 config/picochip/libgccExtras/divmod15.S,
4419 config/picochip/libgccExtras/divmodhi4.S,
4420 config/picochip/libgccExtras/divmodsi4.S,
4421 config/picochip/libgccExtras/lshrsi3.S,
4422 config/picochip/libgccExtras/parityhi2.S,
4423 config/picochip/libgccExtras/popcounthi2.S,
4424 config/picochip/libgccExtras/subdi3.S,
4425 config/picochip/libgccExtras/ucmpsi2.S,
4426 config/picochip/libgccExtras/udivmodhi4.S,
4427 config/picochip/libgccExtras/udivmodsi4.S: New files.
4428 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4429 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4430 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4431 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4432 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4433 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4434 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
4435 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4436 files.
4437 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4438 (HOST_LIBGCC2_CFLAGS): Set.
4439 * config/rs6000/t-darwin64: New file.
4440 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4441 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4442 * config/rs6000/t-ppccomm (LIB2ADD): Add
4443 $(srcdir)/config/rs6000/tramp.S.
4444 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4445 Add $(srcdir)/config/rs6000/eabi.S.
4446 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4447 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4448 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4449 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4450 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4451 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4452 * config/rs6000/tramp.S: New file.
4453 * config/s390/t-tpf: Remove.
4454 * config/sh/linux-atomic.S: New file.
4455 * config/sh/t-linux (LIB2ADD): Set.
4456 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4457 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4458 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4459 to unwind-dw2.c.
4460 (HOST_LIBGCC2_CFLAGS): Set.
4461 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4462 * config/spu/divmodti4.c, config/spu/divv2df3.c,
4463 config/spu/float_disf.c, config/spu/float_unsdidf.c,
4464 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4465 config/spu/mfc_multi_tag_release.c,
4466 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4467 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4468 config/spu/multi3.c: New files.
4469 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4470 (HOST_LIBGCC2_CFLAGS): Set.
4471 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4472 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4473 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4474 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4475 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4476 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4477 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4478 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4479 config/stormy16/umodsi3.c: New files.
4480 * config/xtensa/lib2funcs.S: New file.
4481 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4482 * config/xtensa/t-xtensa (LIB2ADD): Set.
4483 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4484 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4485 Add t-freebsd-thread to tmake_file for posix threads.
4486 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4487 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4488 (*-*-lynxos*): Likewise.
4489 (*-*-netbsd*): Likewise.
4490 (*-*-openbsd*): Likewise.
4491 Add t-openbsd-thread to tmake_file for posix threads.
4492 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4493 (*-*-vxworks*): Set tmake_file.
4494 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4495 (alpha*-*-freebsd*): Likewise.
4496 (alpha*-*-netbsd*): Likewise.
4497 (alpha*-*-openbsd*): Likewise.
4498 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4499 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4500 (alpha*-dec-*vms*): Likewise.
4501 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4502 (bfin*-elf*): Add bfin/t-elf to tmake_file.
4503 (bfin*-uclinux*): Likewise.
4504 (bfin*-linux-uclibc*): Likewise.
4505 (crisv32-*-elf): Add cris/t-cris to tmake_file.
4506 (crisv32-*-none): Likewise.
4507 (cris-*-elf): Likewise.
4508 (cris-*-none): Likewise.
4509 (cris-*-linux*, crisv32-*-linux*): Likewise.
4510 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4511 tmake_file.
4512 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4513 tmake_file.
4514 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4515 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4516 (x86_64-*-elf*): Likewise.
4517 (i[34567]86-*-nto-qnx*): Likewise.
4518 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4519 win32 threads.
4520 (x86_64-*-mingw*): Likewise.
4521 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4522 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4523 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4524 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4525 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4526 tmake_file.
4527 (mipsisa64sr71k-*-elf*): Likewise.
4528 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4529 (mips-*-elf*, mipsel-*-elf*): Likewise.
4530 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4531 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4532 (mips*-*-rtems*): Likewise.
4533 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4534 to tmake_file.
4535 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4536 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4537 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4538 (spu-*-elf*): Likewise.
4539 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4540
45b86625
RO
45412011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4542
4543 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4544 $(srcdir) to refer to $(LIB1ASMSRC).
4545 Use $<.
4546 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4547 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4548 config/arm/lib1funcs.S: New files.
4549 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4550 * config/arm/t-arm: New file.
4551 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4552 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4553 config/arm/t-strongarm-elf: New files.
4554 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4555 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4556 * config/avr/lib1funcs.S: New file.
4557 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4558 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4559 * config/c6x/lib1funcs.S: New file.
4560 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4561 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4562 * config/frv/lib1funcs.S: New file.
4563 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4564 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4565 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4566 * config/ia64/__divxf3.asm: Rename to ...
4567 * config/ia64/__divxf3.S: ... this.
4568 Adapt lib1funcs.asm filename.
4569 * config/ia64/_fixtfdi.asm: Rename to ...
4570 * config/ia64/_fixtfdi.S: ... this.
4571 Adapt lib1funcs.asm filename.
4572 * config/ia64/_fixunstfdi.asm: Rename to ...
4573 * config/ia64/_fixunstfdi.S: ... this.
4574 Adapt lib1funcs.asm filename.
4575 * config/ia64/_floatditf.asm: Rename to ...
4576 * config/ia64/_floatditf.S: ... this.
4577 Adapt lib1funcs.asm filename.
4578 * config/ia64/lib1funcs.S: New file.
4579 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4580 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4581 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4582 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4583 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4584 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4585 * config/mep/lib1funcs.S: New file.
4586 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4587 * config/mips/mips16.S: New file.
4588 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4589 * config/pa/milli64.S: New file.
4590 * config/pa/t-linux, config/pa/t-linux64: New files.
4591 * config/picochip/lib1funcs.S: New file.
4592 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4593 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4594 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4595 * config/sh/t-netbsd: New file.
4596 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4597 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4598 * config/sh/t-sh64: New file.
4599 * config/sparc/lb1spc.S: New file.
4600 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4601 filename.
4602 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4603 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4604 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4605 config/xtensa/lib1funcs.S: New files.
4606 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4607 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4608 tmake_file.
4609 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4610 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4611 (arm*-*-linux*): Likewise.
4612 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4613 arm*-*-linux-*eabi, add arm/t-linux otherwise.
4614 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4615 (arm*-*-ecos-elf): Likewise.
4616 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4617 (arm*-*-rtems*): Likewise.
4618 (arm*-*-elf): Likewise.
4619 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4620 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4621 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4622 (bfin*-uclinux*): Likewise.
4623 (bfin*-linux-uclibc*): Likewise.
4624 (bfin*-rtems*): Likewise.
4625 (bfin*-*): Likewise.
4626 (fido-*-elf): Merge into m68k-*-elf*.
4627 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4628 (frv-*-*linux*): Add frv/t-frv to tmake_file.
4629 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4630 (h8300-*-elf*): Likewise.
4631 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4632 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4633 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4634 (i[34567]86-*-mingw*): Likewise.
4635 (x86_64-*-mingw*): Likewise.
4636 (i[34567]86-*-interix3*): Likewise.
4637 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4638 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4639 (m68k-*-elf*): Also handle fido-*-elf.
4640 Add m68k/t-floatlib to tmake_file.
4641 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4642 (m68k-*-linux*): Likewise.
4643 (m68k-*-rtems*): Likewise.
4644 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4645 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4646 sh64*-*-*.
4647 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4648 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4649 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4650 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4651 sh/t-netbsd to tmake_file.
4652 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4653 (sh-*-rtems*): Add sh/t-sh to tmake_file.
4654 (sh-wrs-vxworks): Likewise.
4655 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4656 *-leon[3-9]*.
4657 (v850*-*-*): Add v850/t-v850 to tmake_file.
4658 (vax-*-linux*): Add vax/t-linux to tmake_file.
4659 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4660
5f73c6cc
RO
46612011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4662
4663 * crtstuff.c: New file.
4664 * Makefile.in (CRTSTUFF_CFLAGS): Define.
4665 (CRTSTUFF_T_CFLAGS): Define.
4666 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4667 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4668 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4669 crtstuff.c.
4670 Use $<.
4671 (crtbeginT.o): Use $(objext).
4672 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4673 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4674 (gcc-extra-parts): Remove.
4675 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4676 Set extra_parts.
4677 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4678 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4679 Add t-crtstuff-pic to tmake_file.
4680 (*-*-lynxos*): New case.
4681 Set tmake_file, extra_parts.
4682 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4683 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4684 *-*-netbsdelf[2-9]*.
4685 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
4686 (*-*-rtems*): Set extra_parts.
4687 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
4688 (*-*-uclinux*): New case.
4689 Set extra_parts.
4690 (*-*-vms*): New case.
4691 Set tmake_file, extra_parts.
4692 (*-*-elf): Set extra_parts.
4693 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
4694 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
4695 vms/t-vms64.
4696 Set extra_parts.
4697 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
4698 Set extra_parts.
4699 (arm*-*-freebsd*): Add t-crtin to tmake_file.
4700 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
4701 (arm-wrs-vxworks): Append to tmake_file.
4702 Set extra_parts.
4703 (arm*-*-uclinux*): Set extra_parts.
4704 (arm*-*-ecos-elf): Likewise.
4705 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
4706 arm*-*-eabi*.
4707 (arm*-*-rtems*): Set extra_parts.
4708 (arm*-*-elf): Likewise.
4709 (avr-*-rtems*): Clear extra_parts.
4710 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
4711 Set extra_parts.
4712 (bfin*-uclinux*): Likewise.
4713 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
4714 (bfin*-rtems*): Append to tmake_file.
4715 Set extra_parts.
4716 (bfin*-*): Likewise.
4717 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
4718 (crisv32-*-elf): ... this.
4719 (crisv32-*-none): ... this.
4720 (cris-*-elf, cris-*-none): New cases.
4721 Add cris/t-elfmulti to tmake_file.
4722 (fr30-*-elf): Append to tmake_file.
4723 Set extra_parts.
4724 (frv-*-elf): Append to tmake_file, add frv/t-frv.
4725 Set extra_parts.
4726 (h8300-*-rtems*): Append to tmake_file.
4727 Set extra_parts.
4728 (h8300-*-elf*): Likewise.
4729 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
4730 Set extra_parts.
4731 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
4732 Set extra_parts.
4733 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
4734 (x86_64-*-elf*): Likewise.
4735 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
4736 (x86_64-*-freebsd*): Likewise.
4737 (x86_64-*-netbsd*): Likewise.
4738 (i[34567]86-*-linux*): Likewise.
4739 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4740 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4741 (x86_64-*-linux*): Likewise.
4742 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4743 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
4744 tmake_file.
4745 Set extra_parts.
4746 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
4747 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
4748 Append to extra_parts, remove crtbegin.o, crtend.o.
4749 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
4750 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
4751 crtend.o, crtbeginS.o, crtendS.o.
4752 (ia64*-*-linux*): Comment extra_parts.
4753 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
4754 Set extra_parts.
4755 (iq2000*-*-elf*): Clear extra_parts.
4756 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
4757 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
4758 (m32r-*-elf*, m32r-*-rtems*): Split off ...
4759 (m32r-*-rtems*): ... this.
4760 Add m32r/t-m32r to tmake_file.
4761 (m68k-*-elf*): Add t-crtin to tmake_file.
4762 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
4763 (mcore-*-elf): Likewise.
4764 (microblaze*-*-*): Set extra_parts.
4765 (mips*-sde-elf*): New case.
4766 Set tmake_file, extra_parts.
4767 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4768 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4769 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
4770 tmake_file.
4771 Set extra_parts.
4772 (mipsisa64sr71k-*-elf*): Likewise.
4773 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4774 (mips-*-elf*, mipsel-*-elf*): Likewise.
4775 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4776 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
4777 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4778 (mips*-*-rtems*): Likewise.
4779 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
4780 (moxie-*-*): Split into ...
4781 (moxie-*-elf, moxie-*-uclinux*): ... this.
4782 Add to extra_parts, remove crtbegin.o, crtend.o.
4783 (moxie-*-rtems*): New case.
4784 Set tmake_file.
4785 Clear extra_parts.
4786 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
4787 Set extra_parts.
4788 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4789 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
4790 tmake_file.
4791 Set extra_parts.
4792 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
4793 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
4794 Set extra_parts.
4795 (powerpc-*-eabisim*): Likewise.
4796 (powerpc-*-elf*): Likewise.
4797 (powerpc-*-eabialtivec*): Likewise.
4798 (powerpc-xilinx-eabi*): Likewise.
4799 (powerpc-*-eabi*): Likewise.
4800 (powerpc-*-rtems*): Likewise.
4801 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
4802 tmake_file.
4803 Set extra_parts.
4804 (powerpc-*-lynxos*): Add to tmake_file.
4805 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
4806 rs6000/t-crtstuff, t-crtstuff-pic.
4807 Set extra_parts.
4808 (powerpcle-*-eabisim*): Likewise.
4809 (powerpcle-*-eabi*): Likewise.
4810 (rx-*-elf): Remove extra_parts.
4811 (s390x-ibm-tpf*): Set extra_parts.
4812 (score-*-elf): Set extra_parts.
4813 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4814 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4815 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4816 (sh64l*-*-netbsd*): Split into ...
4817 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
4818 Add t-crtstuff-pic to tmake_file.
4819 Set extra_parts.
4820 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
4821 Set extra_parts.
4822 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
4823 (sparc-*-elf*): Remove t-crtin from tmake_file.
4824 Add to extra_parts, remove crtbegin.o, crtend.o.
4825 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
4826 (sparc64-*-linux*): Likewise.
4827 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
4828 Add to extra_parts, remove crtbegin.o, crtend.o.
4829 (sparc64-*-elf*): Remove t-crtin from tmake_file.
4830 Add to extra_parts, remove crtbegin.o, crtend.o.
4831 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
4832 Add to extra_parts, remove crtbegin.o, crtend.o.
4833 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
4834 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
4835 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
4836 Set extra_parts.
4837 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
4838 Set extra_parts.
4839 (tic6x-*-*): Change to ...
4840 (tic6x-*-elf): ... this.
4841 Set extra_parts.
4842 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
4843 Set extra_parts.
4844 (am33_2.0-*-linux*): Add comment.
4845 (mep*-*-*): Add mep/t-mep to tmake_file.
4846 Set extra_parts.
4847 * config/alpha/t-vms: New file.
4848 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
4849 * config/arm/crti.S, config/arm/crtn.S: New files.
4850 * config/bfin/crti.S, config/bfin/crtn.S: New files.
4851 * config/bfin/crtlibid.S: New file.
4852 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
4853 * config/c6x/crti.S, config/c6x/crtn.S: New files.
4854 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
4855 (crti.o, crtin.o): New rules.
4856 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4857 * config/c6x/t-uclinux: New file.
4858 * config/cris/t-elfmulti: New file.
4859 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
4860 * config/fr30/crti.S, config/fr30/crtn.S: New files.
4861 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
4862 * config/frv/t-frv: New file.
4863 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
4864 * config/h8300/crti.S, config/h8300/crtn.S: New files.
4865 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
4866 New files.
4867 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
4868 refer to cygming-crtbegin.c, cygming-crtend.c.
4869 Use $<.
4870 * config/i386/t-nto: New file.
4871 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
4872 * config/ia64/crti.S, config/ia64/crtn.S: New files.
4873 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
4874 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
4875 Use .S extension.
4876 Use $<.
4877 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4878 (crtinitS.o): New rule.
4879 * config/ia64/vms-crtinit.S: New file.
4880 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
4881 * config/m32r/initfini.c: New file.
4882 * config/m32r/t-linux, config/m32r/t-m32r: New files.
4883 * config/m68k/crti.S, config/m68k/crtn.S: New files.
4884 * config/mcore/crti.S, config/mcore/crtn.S: New files.
4885 * config/mep/t-mep: New file.
4886 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
4887 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
4888 * config/mips/crti.S, config/mips/crtn.S: New files.
4889 * config/mips/t-crtstuff: New file.
4890 * config/mmix/crti.S, config/mmix/crtn.S: New files.
4891 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
4892 (CUSTOM_CRTIN): Set.
4893 ($(T)crti.o, $(T)crtn.o): Remove $(T),
4894 dependencies.
4895 Use $(srcdir) to refer to crti.S, crtn.S.
4896 Use .S extension, $<.
4897 * config/moxie/crti.asm: Rename to ...
4898 * config/moxie/crti.S: ... this.
4899 * config/moxie/crtn.asm: Rename to ...
4900 * config/moxie/crtn.S: ... this.
4901 * config/moxie/t-moxie: Remove.
4902 * config/pa/stublib.c: New file.
4903 * config/pa/t-stublib, config/pa/t-stublib64: New files.
4904 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
4905 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
4906 * config/rs6000/t-crtstuff: New file.
4907 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
4908 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
4909 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
4910 Make output file explicit.
4911 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
4912 Make output file explicit.
4913 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
4914 Make output file explicit.
4915 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
4916 Make output file explicit.
4917 * config/score/crti.S, config/score/crtn.S: New files.
4918 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
4919 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
4920 files.
4921 * config/sh/t-sh, config/sh/t-superh: New files.
4922 * config/sparc/t-linux64: New file.
4923 * config/spu/cache.S, config/spu/cachemgr.c: New files.
4924 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
4925 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
4926 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
4927 * config/t-crtin: Remove.
4928 * config/t-crtstuff-pic: New file.
4929 * config/t-sol2 (CUSTOM_CRTIN): Set.
4930 (crti.o, crtn.o): New rules.
4931 * config/vms/t-vms: New file.
4932 * config/vms/vms-ucrt0.c: New file.
4933 * config/xtensa/t-elf: New file.
4934
b040f2be
RO
49352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4936
4937 * Makefile.in (SHLIB_NM_FLAGS): Set.
4938 * mkmap-flat.awk, mkmap-symver.awk: New files.
4939 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
4940 exceptions.
4941 * configure: Regenerate.
4942 * config/libgcc-glibc.ver: New file.
4943 * config/libgcc-libsystem.ver: New file.
4944 * config/t-libunwind (SHLIB_LC): Set.
4945 * config/t-linux: New file.
4946 * config/t-slibgcc (INSTALL_SHLIB): New.
4947 (SHLIB_INSTALL): Use it.
4948 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
4949 to mkmap-symver.awk.
4950 (SHLIB_MAPFILES): Don't append, adapt pathname.
4951 (SHLIB_VERPFX): Set.
4952 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
4953 to mkmap-symver.awk.
4954 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
4955 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
4956 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
4957 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
4958 to mkmap-flat.awk.
4959 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
4960 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
4961 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
4962 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
4963 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
4964 * config/i386/libgcc-darwin.10.4.ver,
4965 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
4966 New files.
4967 * config/i386/t-darwin: Remove.
4968 * config/i386/t-darwin64: Likewise.
4969 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
4970 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
4971 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
4972 * config/i386/t-linux: New file.
4973 * config/i386/t-mingw32: New file.
4974 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
4975 * config/ia64/t-glibc: Rename to ...
4976 * config/ia64/t-linux: ... this.
4977 (SHLIB_MAPFILES): Set.
4978 * config/ia64/t-glibc-libunwind: Rename to ...
4979 * config/ia64/t-linux-libunwind: ... this.
4980 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
4981 * config/ia64/t-slibgcc-hpux: New file.
4982 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
4983 * config/m68k/t-slibgcc-elf-ver: New file.
4984 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
4985 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
4986 to mkmap-flat.awk.
4987 * config/pa/t-slibgcc-hpux: New file.
4988 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
4989 files.
4990 * config/rs6000/libgcc-darwin.10.4.ver,
4991 config/rs6000/libgcc-darwin.10.5.ver: New files.
4992 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
4993 config/rs6000/libgcc-glibc.ver.
4994 * config/rs6000/libgcc-ppc64.ver: Rename to
4995 config/rs6000/libgcc-ibm-ldouble.ver.
4996 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
4997 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
4998 * config/rs6000/t-ldbl128: Rename to ...
4999 * config/rs6000/t-linux: ... this.
5000 (SHLIB_MAPFILES): Adapt filename.
5001 * config/rs6000/t-slibgcc-aix: New file.
5002 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
5003 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
5004 libgcc-excl.ver, libgcc-glibc.ver.
5005 (SHLIB_LINK, SHLIB_INSTALL): Remove.
5006 * config/sparc/libgcc-glibc.ver: New file.
5007 * config/sparc/t-linux: New file.
5008 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
5009 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
5010 t-slibgcc-elf-ver to tmake_file.
5011 Add t-slibgcc-nolc-override to tmake_file for posix threads on
5012 *-*-freebsd[34].
5013 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5014 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
5015 t-slibgcc-elf-ver, t-linux to tmake_file.
5016 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
5017 tmake_file.
5018 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
5019 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
5020 (alpha*-dec-*vms*): Likewise.
5021 (arm*-*-freebsd*): Append to tmake_file.
5022 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
5023 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
5024 arm*-*-linux-*eabi.
5025 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
5026 tmake_file for arm*-*-symbianelf*.
5027 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
5028 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
5029 cris/t-linux.
5030 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
5031 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
5032 pa/t-slibgcc-dwarf-ver to tmake_file.
5033 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
5034 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
5035 (hppa*64*-*-hpux11*): Likewise.
5036 (hppa[12]*-*-hpux11*): Likewise.
5037 (x86_64-*-darwin*): Don't override tmake_file, but only keep
5038 i386/t-crtpc, i386/t-crtfm.
5039 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
5040 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5041 to tmake_file.
5042 Add i386/t-cygwin to tmake_file.
5043 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
5044 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
5045 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
5046 to tmake_file.
5047 Add i386/t-mingw32 to tmake_file.
5048 (x86_64-*-mingw*): Likewise.
5049 (ia64*-*-freebsd*): Append to tmake_file.
5050 (ia64*-*-linux*): Append to tmake_file.
5051 Replace ia64/t-glibc by ia64/t-linux.
5052 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
5053 system libunwind.
5054 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
5055 t-slibgcc-hpux to tmake_file.
5056 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
5057 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
5058 (m32rle-*-linux*): Likewise.
5059 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
5060 sjlj exceptions.
5061 (microblaze*-linux*): New case.
5062 Append to tmake_file, add t-slibgcc-nolc-override.
5063 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
5064 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5065 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
5066 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5067 rs6000/t-slibgcc-aix to tmake_file.
5068 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5069 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5070 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5071 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5072 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5073 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
5074 sh*-*-linux*.
5075 (sparc-*-linux*): Append to tmake_file for *-leon*.
5076 Add sparc/t-linux to tmake_file for non-Leon targets.
5077 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
5078 (tic6x-*-uclinux): New case.
5079 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
5080 (tic6x-*-*): Add c6x/t-elf to tmake_file.
5081 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
5082 (am33_2.0-*-linux*): Append to tmake_file.
5083 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
5084 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
5085 x86_64-*-kfreebsd*-gnu.
5086 Add i386/t-linux to tmake_file.
5087
18b4bd7b
ILT
50882011-10-28 Ian Lance Taylor <iant@google.com>
5089
5090 * config/i386/morestack.S: Correct CFI information to do proper
5091 returns throughout function. In 32-bit mode, save %ebx so that it
5092 is restored on unwind.
5093
5b2d9d90
BS
50942011-10-25 Bernd Schmidt <bernds@codesourcery.com>
5095
5096 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
5097 case where B3 isn't the return register.
5098
0d53e346
BS
5099 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
5100 logic for doubleword pops.
5101
cbffbd59
AT
51022011-10-25 Andreas Tobler <andreast@fgznet.ch>
5103
5104 * config/rs6000/t-freebsd: Add wildcard.
5105
56dc349e
PB
51062011-10-21 Paul Brook <paul@codesourcery.com>
5107
5108 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
5109
1e06b07d
UB
51102011-10-16 Uros Bizjak <ubizjak@gmail.com>
5111 Eric Botcazou <ebotcazou@adacore.com>
5112
5113 PR target/50737
5114 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
5115 fs->signal_frame to 1.
5116
b5204884
ILT
51172011-10-07 Ian Lance Taylor <iant@google.com>
5118
5119 * generic-morestack-thread.c: #include <errno.h>.
5120
91a639a1
ILT
51212011-10-07 Ian Lance Taylor <iant@google.com>
5122
5123 PR target/46093
5124 * generic-morestack.c (__generic_morestack): Make sure the segment
5125 is large enough for both the stack frame and the copied
5126 parameters.
5127
cc49116d
RO
51282011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5129
5130 PR bootstrap/49804
5131 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
5132 extra_parts.
5133
2996d8c3
NC
51342011-09-28 Nick Clifton <nickc@redhat.com>
5135
5136 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
5137 64-bit doubles are not enabled.
5138 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
5139 and floatunsisf functions.
5140
1e874273 51412011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 5142
1e874273
PB
5143 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
5144 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
5145 * unwind-arm-common.inc: New file.
5146 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
5147 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
5148 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
5149 * config/c6x/libunwind.S: New file.
5150 * config/c6x/pr-support.c: New file.
5151 * config/c6x/unwind-c6x.c: New file.
5152 * config/c6x/unwind-c6x.h: New file.
5153 * config/c6x/t-c6x-elf: New file.
5154
f70c879a
UB
51552011-08-23 Uros Bizjak <ubizjak@gmail.com>
5156
5157 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
5158 (ASM_DIVZERO): Ditto.
5159 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
5160
c55b374b
RS
51612011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
5162
5163 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
5164
1e138510
RS
51652011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
5166
5167 PR target/50090
5168 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
5169 instead of an assembly one.
5170
1563503d
PB
51712011-08-12 Paolo Bonzini <bonzini@gnu.org>
5172
5173 PR bootstrap/50047
5174 * Makefile.in (install-unwind_h): Create
5175 $(gcc_objdir)/include/unwind.h atomically.
5176
3627ac1a
RO
51772011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5178
5179 * Makefile.in (install-unwind_h): Remove destination file first.
5180
c6412d86
RO
51812011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5182
5183 * sync.c: New file.
5184 * config/mips/t-mips16: New file.
5185 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
5186 (mips*-*-linux*): Likewise.
5187 (mips*-sde-elf*): Likewise.
5188 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
5189 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
5190 Add mips/t-mips16 to tmake_file.
5191 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
5192 (mips-*-elf*): Likewise.
5193 (mips64-*-elf*): Likewise.
5194 (mips64orion-*-elf*): Likewise.
5195 (mips*-*-rtems*): Likewise.
5196 (mipstx39-*-elf*): Likewise.
5197 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
5198 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
5199 LIBGCC_SYNC_CFLAGS.
5200 Use $(srcdir) to refer to sync.c.
5201 Use $<.
5202 ($(libgcc-sync-funcs-o)): Likewise.
5203 ($(libgcc-sync-size-funcs-s-o)): Likewise.
5204 ($(libgcc-sync-funcs-s-o)): Likewise.
5205
3cb6e5bd
AS
52062011-08-09 Andreas Schwab <schwab@linux-m68k.org>
5207
5208 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
5209 t-libunwind.
5210
cca2207a
L
52112011-08-08 H.J. Lu <hongjiu.lu@intel.com>
5212
5213 PR other/48007
5214 * config/i386/value-unwind.h: New.
5215
ed39fbad
RS
52162011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
5217
5218 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
5219 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
5220 Add to tmake_file rather than overriding it.
5221
aca0b0b3
RO
52222011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5223
5224 * config/t-softfp: Remove.
5225 * soft-fp: Moved from ../gcc/config.
5226 * soft-fp/README: Remove t-softfp reference.
5227 * soft-fp/t-softfp: Move to config/t-softfp.
5228 (softfp_machine_header): Remove.
5229 (softfp_file_list): Remove config subdir.
5230 (soft-fp-objects): New variable.
5231 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
5232 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
5233 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
5234 * config/t-softfp-excl: New file.
5235 * config/t-softfp-sfdf: New file.
5236 * config/t-softfp-tf: New file.
5237 * config/no-sfp-machine.h: New file.
5238 * config/arm/sfp-machine.h: New file.
5239 * config/arm/t-softfp: New file.
5240 * config/c6x/sfp-machine.h: New file.
5241 * config/i386/32/t-fprules-softfp: Rename to ...
5242 * config/i386/32/t-softfp: ... this.
5243 (tifunctions, LIB2ADD): Remove.
5244 (softfp_int_modes): Override.
5245 * config/i386/64/t-softfp-compat (tf-functions): Remove config
5246 subdir.
5247 * config/i386/64/eqtf2.c: Likewise.
5248 * config/i386/64/getf2.c: Likewise.
5249 * config/i386/64/letf2.c: Likewise.
5250 * config/ia64/sft-machine.h: New file.
5251 * config/ia64/t-fprules-softfp: Rename to ...
5252 * config/ia64/t-softfp: ... this.
5253 * config/lm32/sfp-machine.h: New file.
5254 * config/moxie/t-moxie-softfp: Remove.
5255 * config/rs6000/ibm-ldouble-format: New file.
5256 * config/rs6000/ibm-ldouble.c: New file.
5257 * config/rs6000/libgcc-ppc-glibc.ver: New file
5258 * config/rs6000/libgcc-ppc64.ver: New file
5259 * config/rs6000/sfp-machine.h: New file.
5260 * config/rs6000/t-freebsd: New file.
5261 * config/rs6000/t-ibm-ldouble: New file.
5262 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
5263 libgcc-ppc-glibc.ver.
5264 * config/rs6000/t-linux64: New file.
5265 * config/rs6000/t-ppccomm (LIB2ADD): Add
5266 $(srcdir)/config/rs6000/ibm-ldouble.c.
5267 * config/rs6000/t-ppccomm-ldbl: New file.
5268 * config/score/sfp-machine.h: New file.
5269 * config.host (sfp_machine_header): Explain.
5270 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
5271 t-softfp to tmake_file.
5272 (arm*-*-uclinux*): Likewise.
5273 (arm*-*-ecos-elf): Likewise.
5274 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
5275 (arm*-*-rtems*): Likewise.
5276 (arm*-*-elf): Likewise.
5277 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
5278 in tmake_file.
5279 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
5280 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
5281 (lm32-*-uclinux*): Likewise.
5282 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
5283 t-softfp-excl, t-softfp.
5284 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
5285 (powerpc64-*-darwin*): Likewise.
5286 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
5287 to tmake_file.
5288 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
5289 tmake_file.
5290 (powerpc-*-eabisim*): Likewise.
5291 (powerpc-*-elf*): Likewise.
5292 (powerpc-*-eabialtivec*): Likewise.
5293 (powerpc-xilinx-eabi*): Likewise.
5294 (powerpc-*-rtems*): Likewise.
5295 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
5296 t-softfp-excl, t-softfp to tmake_file.
5297 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
5298 rs6000/t-ppccomm-ldbl to tmake_file.
5299 (powerpcle-*-elf*): Likewise.
5300 (powerpcle-*-eabisim*): Likewise.
5301 (powerpcle-*-eabi*): Likewise.
5302 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5303 rs6000/t-ibm-ldouble to tmake_file.
5304 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5305 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5306 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5307 (tic6x-*-*): Likewise.
5308 (i[34567]86-*-darwin*, x86_64-*-darwin*,
5309 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5310 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5311 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5312 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5313 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5314 t-softfp to tmake_file.
5315 * configure.ac (sfp_machine_header): Provide default if unset.
5316 Substitute.
5317 Link sfp-machine.h to config/$sfp_machine_header.
5318 * configure: Regenerate.
5319
569dc494
RO
53202011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5321
5322 * Makefile.in (double_type_size, long_double_type_size): Set.
5323 Remove $(fpbit-in-libgcc) support.
5324 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5325 (fpbit-src): New variable.
5326 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5327 Compile with -DFLOAT $(FPBIT_CFLAGS).
5328 Use $<.
5329 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5330 Compile with $(FPBIT_CFLAGS).
5331 Use $<.
5332 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5333 Compile with -DFLOAT $(TPBIT_CFLAGS).
5334 Use $<.
5335 * configure.ac (double_type_size, long_double_type_size):
5336 Determine and substitute.
5337 * configure: Regenerate.
5338 * fp-bit.c, fp-bit.h: New files.
5339 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5340 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5341 * config/mips/t-mips: New file.
5342 * config/mips/t-sdemtk: New file.
5343 * config/rs6000/ppc64-fp.c: New file.
5344 * config/rs6000/t-darwin (LIB2ADD): Add
5345 $(srcdir)/config/rs6000/ppc64-fp.c.
5346 * config/rs6000/t-ppc64-fp: New file.
5347 * config/rx/rx-lib.h: New file.
5348 * config/rx/t-rx (FPBIT): Set to true.
5349 ($(gcc_objdir)/fp-bit.c): Remove.
5350 (DPBIT): Set to true only with -m64bit-doubles.
5351 ($(gcc_objdir)/dp-bit.c): Remove.
5352 * config/sparc/t-softfp: Remove.
5353 * config/spu/t-elf: New file.
5354 * config/t-fdpbit, config/t-fpbit: New files.
5355 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5356 (mips*-*-*): Likewise.
5357 (arm-wrs-vxworks): Likewise.
5358 (arm*-*-freebsd*): Likewise.
5359 (avr-*-rtems*): Add t-fpbit to tmake_file.
5360 (avr-*-*): Likewise.
5361 (bfin*-elf*): Add t-fdpbit to tmake_file.
5362 (bfin*-uclinux*): Likewise.
5363 (bfin*-linux-uclibc*): Likewise.
5364 (bfin*-rtems*): New case.
5365 Add t-fdpbit to tmake_file.
5366 (bfin*-*): Add t-fdpbit to tmake_file.
5367 (crisv32-*-elf): Likewise.
5368 (cris-*-linux*): Likewise.
5369 (fr30-*-elf): Likewise.
5370 (frv-*-elf, frv-*-*linux*): Likewise.
5371 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5372 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5373 (m32r-*-elf*): Likewise.
5374 (m32rle-*-elf*): Likewise.
5375 (m32r-*-linux*): Likewise.
5376 (m32rle-*-linux*): Likewise.
5377 (mcore-*-elf): Add t-fdpbit to tmake_file.
5378 (microblaze*-*-*): Likewise.
5379 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5380 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5381 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5382 Fix typo.
5383 Add mips/t-tpbit to tmake-file.
5384 (mips*-*-linux*): Fix typo.
5385 (mips*-sde-elf*): New case
5386 Add mips/t-sdemtk unless using newlib.
5387 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5388 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5389 (mn10300-*-*): Likewise.
5390 (pdp11-*-*): Likewise.
5391 (picochip-*-*): Add t-fpbit to tmake_file.
5392 (powerpc-*-eabisimaltivec*): Likewise.
5393 (powerpc-*-eabisim*): Likewise.
5394 (powerpc-*-elf*): Likewise.
5395 (powerpc-*-eabialtivec*): Likewise.
5396 (powerpc-xilinx-eabi*): New case.
5397 Add t-fdpbit to tmake_file.
5398 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
5399 (powerpc-*-rtems*): Likewise.
5400 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5401 tmake_file.
5402 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5403 tmake_file.
5404 (powerpc-*-lynxos*): Likewise.
5405 (powerpcle-*-elf*): Likewise.
5406 (powerpcle-*-eabisim*): Likewise.
5407 (powerpcle-*-eabi*): Likewise.
5408 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5409 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5410 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5411 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5412 (rx-*-elf): Add t-fdpbit to tmake_file.
5413 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5414 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5415 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5416 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5417 sh*-*-netbsd*.
5418 (sh-*-rtems*): Add t-fdpbit to tmake_file.
5419 (sh-wrs-vxworks): Likewise.
5420 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5421 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5422 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5423 (sparc64-*-rtems*): ... new case.
5424 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5425 (spu-*-elf*): Likewise.
5426 Add spu/t-elf to tmake_file.
5427 (v850*-*-*): Add t-fdpbit to tmake_file.
5428 (xstormy16-*-elf): Likewise.
5429 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5430 (mep*-*-*): Likewise.
5431
201cdb74
RO
54322011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5433
5434 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5435 variables.
5436 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5437 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5438 (install-unwind_h): New target.
5439 (all): Depend on it.
5440 * config.host (unwind_header): New variable.
5441 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5442 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5443 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5444 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5445 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5446 Set unwind_header.
5447 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5448 Set unwind_header.
5449 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5450 arm*-*-eabi*.
5451 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5452 Set unwind_header.
5453 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5454 (ia64*-*-freebsd*): Likewise.
5455 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5456 tmake_file.
5457 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5458 $with_system_libunwind.
5459 (ia64*-*-hpux*): Set tmake_file.
5460 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5461 (picochip-*-*): Set tmake_file.
5462 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5463 md_unwind_header.
5464 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5465 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5466 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5467 (xtensa*-*-elf*): Set tmake_file.
5468 (xtensa*-*-linux*): Likewise.
5469 * configure.ac: Include ../config/unwind_ipinfo.m4.
5470 Call GCC_CHECK_UNWIND_GETIPINFO.
5471 Link unwind.h to $unwind_header.
5472 * configure: Regenerate.
5473 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5474 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5475 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5476 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5477 * config/unwind-dw2-fde-darwin.c: New file.
5478 * config/arm/libunwind.S, config/arm/pr-support.c,
5479 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5480 config/arm/unwind-arm.h,: New files.
5481 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5482 config/ia64/t-eh-ia64, config/ia64/t-glibc,
5483 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5484 config/ia64/t-vms, config/ia64/unwind-ia64.c,
5485 config/ia64/unwind-ia64.h: New files.
5486 * config/picochip/t-picochip: New file.
5487 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5488 files.
5489 * config/rs6000/t-darwin (LIB2ADDEH): Set.
5490 * config/s390/t-tpf (LIB2ADDEH): Remove.
5491 * config/t-darwin (LIB2ADDEH): Set.
5492 * config/t-eh-dw2-dip: New file.
5493 * config/t-libunwind, config/t-libunwind-elf: New files.
5494 * config/t-sol2 (LIB2ADDEH): Remove.
5495 * config/xtensa/t-xtensa: New file.
5496
40f2f11f
L
54972011-08-02 H.J. Lu <hongjiu.lu@intel.com>
5498
5499 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5500 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5501 long long to check rt_sigreturn syscall.
5502
bd15e32c
AM
55032011-08-02 Alan Modra <amodra@gmail.com>
5504
5505 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5506 Restore for indirect call bcrtl from correct stack slot, and only
5507 if cfa+40 isn't valid.
5508
655b30bf
JB
55092011-08-01 Julian Brown <julian@codesourcery.com>
5510
5511 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5512 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5513 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5514
247eb06f
JB
55152011-08-01 Julian Brown <julian@codesourcery.com>
5516
5517 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5518 (libgcc-std.ver.in): Use above.
5519 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5520 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
5521 throughout file.
5522 * config/t-fixedpoint-gnu-prefix: New file.
5523 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5524 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5525 instead of __PFX__.
5526
02a8fe00
L
55272011-07-28 H.J. Lu <hongjiu.lu@intel.com>
5528
5529 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5530 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5531 for x86-64. Properly check __x86_64__ and __LP64__.
5532
5fce9126
L
55332010-07-28 H.J. Lu <hongjiu.lu@intel.com>
5534
5535 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5536 version.
5537 (_FP_WS_TYPE): Likewise.
5538 (_FP_I_TYPE): Likewise.
5539
2374a88a
AM
55402011-07-28 Alan Modra <amodra@gmail.com>
5541
5542 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5543 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5544 in a plt call stub. Do restore r2 if stopped on bctrl.
5545
e44dbbe1
RO
55462011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5547
5548 * config.host (i[3456x]86-*-netware*): Remove.
5549 * config/i386/netware-crt0.c, config/i386/t-nwld,
5550 config/i386/t-slibgcc-nwld: Remove.
5551
bcead286
BS
55522011-07-15 Bernd Schmidt <bernds@codesourcery.com>
5553
5554 * config.host: Handle tic6x-*-*.
5555 * config/c6x/c6x-abi.h: New file.
5556
b3fe1584
RO
55572011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5558
5559 * config/i386/crtprec.c: New file.
5560 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5561 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5562 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5563 (x86_64-*-darwin*): Likewise.
5564 (i[34567]86-*-solaris2*: Likewise.
5565
35d8090d
RO
55662011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5567
5568 * config/alpha/crtfastmath.c: New file.
5569 * config/i386/crtfastmath.c: New file.
5570 * config/ia64/crtfastmath.c: New file.
5571 * config/mips/crtfastmath.c: New file.
5572 * config/sparc/crtfastmath.c: New file.
5573
5574 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5575 crtfastmath.c.
5576 Add -frandom-seed=gcc-crtfastmath.
5577 * config/alpha/t-crtfm: Remove.
5578 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5579 * config/ia64/t-ia64 (crtfastmath.o): Remove.
5580
5581 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5582 (alpha*-dec-osf5.1*): Likewise.
5583 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5584 Add crtfastmath.o to extra_parts.
5585 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5586 Add crtfastmath.o to extra_parts.
5587 (x86_64-*-darwin*): Likewise.
5588 (x86_64-*-mingw*): Likewise.
5589 (ia64*-*-elf*): Add t-crtfm to tmake_file.
5590 (ia64*-*-freebsd*): Likewise.
5591 (ia64*-*-linux*): Likewise.
5592 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5593 Add crtfastmath.o to extra_parts.
5594
e141542e
RO
55952011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5596
5597 * config/darwin-crt3.o: New file.
5598 * config/rs6000/darwin-crt2.c: New file.
5599 * config/t-darwin: New file.
5600 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5601 (crt2.o): New rule.
5602 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5603 (powerpc-*-darwin*): Add crt2.o to extra_parts.
5604 (powerpc64-*-darwin*): Likewise.
5605
2d1efe2d
RO
56062011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5607
5608 * config/i386/netware-crt0.c: New file.
5609 * config/i386/t-nwld: Rename to ...
5610 * config/i386/t-slibgcc-nwld: ... this.
5611 * config/i386/t-nwld: New file.
5612 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5613 tmake_file.
5614 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5615 extra_parts.
5616
4a8bb046
RO
56172011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5618
5619 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5620 i386/t-crtstuff.
5621 * configure: Regenerate.
5622
2d8d5935
RO
56232011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5624
5625 * dfp-bit.c, dfp-bit.h: New files.
5626 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5627 variables.
5628 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5629 ($(d64pbit-o)): Likewise.
5630 ($(d128pbit-o)): Likewise.
5631 * config/t-dfprules: New file.
5632 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5633 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5634 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5635 (x86_64-*-linux*): Likewise.
5636 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5637 (i[34567]86-*-cygwin*): Likewise.
5638 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
5639 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5640
2c50b2c3
RO
56412011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5642
5643 * Makfile.in (LIBGCOV): New variable.
5644 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5645 * libgcov.c: New file.
5646
a039d7c2
RO
56472011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5648
5649 * fixed-bit.c, fixed-bit.h: New files.
5650 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5651 refer to fixed-bit.c.
5652
1e4b2746
JM
56532011-07-07 Joseph Myers <joseph@codesourcery.com>
5654
5655 * config.host (*local*): Remove.
5656
fbdd5d87
RO
56572011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5658
5659 PR target/39150
5660 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5661 like i?86-*-solaris2.1[0-9]*.
5662 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5663 * configure.ac (i?86-*-solaris2*): Likewise.
5664 * configure: Regenerate.
5665
9e7714f4
TS
56662011-07-06 Thomas Schwinge <thomas@schwinge.name>
5667
5668 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5669 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5670 md_unwind_header by splitting out of...
5671 (i[34567]86-*-linux*): ... this.
5672 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5673 Remove md_unwind_header by splitting out of...
5674 (x86_64-*-linux*): ... this.
5675
6dab9931
GJL
56762011-07-04 Georg-Johann Lay <avr@gjlay.de>
5677
5678 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5679
4be46d19
NC
56802011-06-28 Nick Clifton <nickc@redhat.com>
5681
5682 * config.host: Recognize all V850 variants.
5683
1da9434b
UB
56842011-06-22 Uros Bizjak <ubizjak@gmail.com>
5685
5686 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
5687
e4d48a4d
RO
56882011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5689
5690 * shared-object.mk (c_flags-$o): Save c_flags.
5691 ($(base)$(objext)): Use it.
5692 ($(base)_s$(objext)): Likewise.
5693
3801c801
BS
56942011-06-21 Bernd Schmidt <bernds@codesourcery.com>
5695
5696 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
5697 * libgcc-std.ver.in (GCC_4.7.0): New section.
5698
0ad8bb3b 56992011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 5700
0ad8bb3b
GJL
5701 PR target/49313
5702 PR target/29524
5703 * config/avr/t-avr: Fix line endings.
5704 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
5705 _parityXX2.
5706
ea963999
OH
57072011-06-14 Olivier Hainque <hainque@adacore.com>
5708 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5709
5710 * config/mips/irix6-unwind.h: New file.
5711 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
5712
b11b0904
EB
57132011-06-10 Eric Botcazou <ebotcazou@adacore.com>
5714
5715 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
5716 (sparc64_fallback_frame_state): Use it.
5717 (sparc64_frob_update_context): Further adjust context.
5718 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
5719 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
5720 * config/sparc/sol2-cn.S: Likewise.
5721
10e48e39
RO
57222011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5723
5724 * enable-execute-stack-empty.c: New file.
5725 * enable-execute-stack-mprotect.c: New file.
5726 * config/i386/enable-execute-stack-mingw32.c: New file.
5727 * config.host (enable_execute_stack): New variable.
5728 Select appropriate variants.
5729 * configure.ac: Link enable-execute-stack.c to
5730 $enable_execute_stack.
5731 * configure: Regenerate.
5732 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
5733 (lib2funcs): Remove _enable_execute_stack.
5734
10c4cabc
DM
57352011-06-09 David S. Miller <davem@davemloft.net>
5736 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5737
5738 * config.host (sparc-*-linux*): Correct md_unwind_header
5739 filename.
5740 (s390x-ibm-tpf*): Fix typo.
5741
aa4203e7
RO
57422011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5743
5744 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
5745 Add crtfastmath.o to extra_parts.
5746 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
5747 mips/t-crtfm.
5748 * config/mips/t-crtfm: Remove.
5749
0defd786
JDA
57502011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5751
5752 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
5753
82f247af
KK
57542011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
5755
5756 * config.host (sh*-*-linux*): Fix typo.
5757
58cd1d70
RO
57582011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5759
5760 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
5761 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
5762 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
5763 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
5764 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
5765 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
5766 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
5767 Wrap in !__MINGW64__.
5768 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
5769 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
5770 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
5771 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
5772 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
5773 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
5774 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
5775 Wrap in !__LP64__.
5776 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
5777 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
5778 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
5779 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
5780 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
5781 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
5782 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
5783 * config/no-unwind.h: New file.
5784 * config.host (md_unwind_header): Document.
5785 Define.
5786 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
5787 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
5788 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
5789 hppa[12]*-*-hpux11*): Set md_unwind_header.
5790 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
5791 Set md_unwind_header.
5792 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
5793 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
5794 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
5795 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
5796 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
5797 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
5798 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
5799 md_unwind_header.
5800 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
5801 * configure: Regenerate.
5802
737346fa
RO
58032011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5804
5805 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
5806 Set tmake_file, extra_parts.
5807 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
5808 Remove O32 support.
5809 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
5810 Remove O32 support.
5811 * config/mips/t-irix6: New file.
5812 * config/mips/t-slibgcc-irix: New file.
5813
c192cee6
RO
58142011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5815
5816 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
5817 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
5818
ee33b5f0
RO
58192011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5820
5821 * configure.ac (target_thread_file): Determine thread model.
5822 * configure: Regenerate.
5823 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
5824 * config/alpha/t-alpha: New file.
5825 * config/alpha/t-crtfm: Use $<.
5826 * config/alpha/t-ieee: New file.
5827 * config/alpha/t-osf-pthread: New file.
5828 * config/alpha/t-slibgcc-osf: New file.
5829 * config/alpha/libgcc-osf5.ver: New file.
5830
0699e415
RO
58312011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5832
5833 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
5834 tmake_file.
5835 Add crtfastmath.o to extra_parts.
5836
a3fab9c2
RO
58372011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5838
5839 * config/gmon-sol2.c: Reindent.
5840 Cleanup comments.
5841 Remove, correct casts.
5842 Use STDERR_FILENO, NULL.
5843 (BASEADDRESS): Remove.
5844 (minbrk): Remove.
5845 (errno, sbrk): Remove declarations.
5846 (monstartup) [hp300]: Remove.
5847 (mcount): Remove.
5848
ca24c5ad
RO
58492011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5850
5851 * Makefile.in (cpu_type): Define.
5852 * config.host (i[34567]86-*-rtems*): Handle it.
5853 (i[34567]86-*-solaris2*): Move body ...
5854 (*-*-solaris2*): ... here.
5855 New case, generalize.
5856 (sparc-*-elf*): Handle it.
5857 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
5858 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
5859 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
5860 Fold into ...
5861 (sparc*-*-solaris2*): ... this.
5862 New case.
5863 (sparc64-*-elf*): Handle it.
5864 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
5865 Merge ../gcc/config/i386/gmon-sol2.c.
5866 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
5867 Use C comments.
5868 Merge ../gcc/config/i386/sol2-gc1.asm.
5869 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
5870 Use C comments.
5871 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
5872 Use C comments.
5873 * config/i386/t-crtfm (crtfastmath.o): Use $<.
5874 * config/i386/t-crtstuff: New file.
5875 * config/i386/t-softfp: New file.
5876 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
5877 $(T)crti.o, $(T)crtn.o): Remove.
5878 (gcrt1.o): New rule.
5879 (TARGET_LIBGCC2_CFLAGS): Remove.
5880 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
5881 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
5882 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
5883 * config/sparc/t-sol2: New file.
5884 * config/sparc/t-crtfm: Move to ...
5885 * config/t-crtfm: ... this.
5886 Use $(cpu_type), $<.
5887 * config/t-crtin: New file.
5888 * config/sparc/t-softfp: New file.
5889 * config/sparc/t-softmul: New file.
5890 * config/t-rtems: New file.
5891 * config/t-slibgcc: New file.
5892 * config/t-slibgcc-elf-ver: New file.
5893 * config/t-slibgcc-gld: New file.
5894 * config/t-slibgcc-sld: New file.
5895 * config/t-sol2: New file.
5896 * configure.ac: Include ../config/lib-ld.m4.
5897 Call AC_LIB_PROG_LD_GNU.
5898 Substitute cpu_type.
5899 * configure: Regenerate.
5900
ad5f3d7b
BS
59012011-05-27 Bernd Schmidt <bernds@codesourcery.com>
5902
5903 PR bootstrap/49173
5904 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
5905 libgcc-std.ver in the build directory.
5906 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
5907 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
5908
cdbf4541
BS
59092011-05-25 Bernd Schmidt <bernds@codesourcery.com>
5910
5911 * libgcc-std.ver.in: New file.
5912 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
5913 variables.
5914 (libgcc-std.ver): New rule.
5915 * config/t-gnu-prefix: New file.
5916
c8028650
RO
59172011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5918
5919 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
5920
4a68b4ca
JM
59212011-05-10 Joseph Myers <joseph@codesourcery.com>
5922
5923 * config/i386/darwin-lib.h: New file.
5924
80cf2e08
JM
59252011-05-10 Joseph Myers <joseph@codesourcery.com>
5926
5927 * config/arm/symbian-lib.h: New.
5928
a3330c9d
CD
59292011-05-04 Chris Demetriou <cgd@google.com>
5930
5931 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
5932 (__x86.get_pc_thunk.bx): ...this.
5933 (__morestack): Adjust for rename, remove undef of __i686.
5934
6ace0756
CD
59352011-05-03 Chris Demetriou <cgd@google.com>
5936
5937 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
5938
ebb9f8b0
JM
59392011-03-22 Joseph Myers <joseph@codesourcery.com>
5940
5941 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
5942 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
5943 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
5944 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
5945 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
5946 Remove cases.
5947
9cfa1499
AT
59482011-03-14 Andreas Tobler <andreast@fgznet.ch>
5949
5950 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
5951 Adjust copyright year.
5952
457186f6
ILT
59532011-03-07 Ian Lance Taylor <iant@google.com>
5954
5955 * generic-morestack.c (__splitstack_find): Adjust returned stack
5956 pointer to include all registers pushed by __morestack.
5957
58c741a6
DK
59582011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
5959
5960 PR target/40125
5961 * configure.ac: Call ACX_NONCANONICAL_TARGET.
5962 (toolexecdir): Calculate and AC_SUBST.
5963 (toolexeclibdir): Likewise.
5964 * Makefile.in (target_noncanonical): Import.
5965 (toolexecdir): Likewise.
5966 (toolexeclibdir): Likewise.
5967 * configure: Regenerate.
5968
26716c44
NF
59692010-12-13 Nathan Froyd <froydnj@codesourcery.com>
5970
5971 PR target/46040
5972 * config/arm/bpabi.h: Rename to...
5973 * config/arm/bpabi-lib.h: ...this.
5974
b595b1a1
RO
59752010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5976
5977 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
5978 appropriate.
5979 * configure: Regenerate.
5980
a3abe41c
NF
59812010-11-24 Nathan Froyd <froydnj@codesourcery.com>
5982
5983 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
5984 __FLOAT_WORD_ORDER__.
5985 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
5986 Delete.
5987
455c8f48
RW
59882010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5989
5990 PR other/46202
5991 * Makefile.in (install-strip): New phony target.
5992
f3824a8b
ILT
59932010-11-07 Ian Lance Taylor <iant@google.com>
5994
5995 PR target/46089
5996 * config/i386/morestack.S (__morestack_large_model): New
5997 function.
5998
18ed6ee4
NF
59992010-10-23 Nathan Froyd <froydnj@codesourcery.com>
6000
6001 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
6002 Delete.
6003 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
6004
8ac7fdcb
NF
60052010-10-14 Nathan Froyd <froydnj@codesourcery.com>
6006
6007 * config/arm/bpabi.h: New file.
6008 * config/frv/frv-abi.h: New file.
6009
cdb388c2
ILT
60102010-10-01 Ian Lance Taylor <iant@google.com>
6011
6012 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
6013 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
6014
ef7c141c
L
60152010-10-01 H.J. Lu <hongjiu.lu@intel.com>
6016
6017 PR target/45858
6018 * config.host: Add the missing `$'.
6019
80920132
ME
60202010-09-30 Michael Eager <eager@eagercon.com>
6021
6022 * config.host: Add microblaze*-*-*.
6023 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
6024 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
6025 udivsi3.asm,umodsi3.asm}: New.
6026
6dace308
ILT
60272010-09-28 Ian Lance Taylor <iant@google.com>
6028
6029 * configure.ac: Adjust CFI test to test assembler directly rather
6030 than checking gcc preprocessor macro.
6031 * configure: Rebuild.
6032
b6110d6d
ILT
60332010-09-27 Ian Lance Taylor <iant@google.com>
6034
6035 * configure.ac: Test whether assembler supports CFI directives.
6036 * config.host: Only add t-stack and i386/t-stack-i386 to
6037 tmake_file if libgcc_cv_cfi is "yes".
6038 * configure: Rebuild.
6039
7458026b
ILT
60402010-09-27 Ian Lance Taylor <iant@google.com>
6041
6042 * generic-morestack.h: New file.
6043 * generic-morestack.c: New file.
6044 * generic-morestack-thread.c: New file.
6045 * config/i386/morestack.S: New file.
6046 * config/t-stack: New file.
6047 * config/i386/t-stack-i386: New file.
6048 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
6049 i386/t-stack-i386 to tmake_file.
6050
5b50fc0c
IS
60512010-09-21 Iain Sandoe <iains@gcc.gnu.org>
6052
6053 * Makefile.in (libgcc-extra-parts): Check for static archives and
6054 invoke ranlib after installing them.
6055 (gcc-extra-parts): Likewise.
6056 (install-leaf): Likewise.
6057
b93cf342
L
60582010-09-14 H.J. Lu <hongjiu.lu@intel.com>
6059
6060 * configure: Regenerated.
6061
996b42ef
KT
60622010-09-10 Kai Tietz <kai.tietz@onevision.com>
6063
b93cf342 6064 * configure: Regenerated.
996b42ef 6065
be1c764e
GP
60662010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
6067 Andrew Pinski <pinskia@gmail.com>
6068
1da9434b 6069 PR target/40959
be1c764e
GP
6070 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
6071
cc0ae0ca
L
60722010-09-06 H.J. Lu <hongjiu.lu@intel.com>
6073
6074 PR target/45524
6075 * configure: Regenerated.
6076
84f47d20
AS
60772010-09-06 Andreas Schwab <schwab@redhat.com>
6078
6079 * configure: Regenerate.
6080
4159fb8d
UB
60812010-09-03 Uros Bizjak <ubizjak@gmail.com>
6082
6083 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
6084 64bit targets.
6085 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
6086 for 64bit targets.
6087
0df8fcc8
UB
60882010-09-03 Uros Bizjak <ubizjak@gmail.com>
6089 Iain Sandoe <iains@gcc.gnu.org>
6090
6091 PR target/45476
6092 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
6093 LIB2FUNCS_EXCLUDE functions.
6094
3c39bca6
AK
60952010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6096
6097 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
6098 Include dfp.m4.
6099 * configure: Regenerate.
6100
d78552bd
UB
61012010-09-01 Uros Bizjak <ubizjak@gmail.com>
6102
6103 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
6104 i386/t-freebsd to tmake_file.
6105 * config/i386/t-freebsd: New file.
6106 * config/i386/libgcc-bsd.ver: New file.
6107
c5b79d4e
NF
61082010-07-23 Nathan Froyd <froydnj@codesourcery.com>
6109
6110 * config.host (powerpc*-eabispe*): Set tmake_file.
6111 (powerpc*-eabi*): Likewise.
6112 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
6113 crtbeginS, crtendS, crtbeginT.
6114
48b09a92
KH
61152010-06-12 Kazu Hirata <kazu@codesourcery.com>
6116
6117 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
6118 to tmake_file. Add crtfastmath.o to extra_parts.
6119 * config/mips/t-crtfm: New.
6120
a4389204
JS
61212010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
6122
6123 * config.host (sparc64-*-rtems*): New target.
6124
ed104137
RO
61252010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6126
6127 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6128 assembler syntax.
6129
3f56ef8b
TS
61302010-04-15 Thomas Schwinge <tschwinge@gnu.org>
6131
6132 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
6133
8c200350
RO
61342010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6135
6136 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
6137 alpha-dec-osf5.0* support.
6138
80a61cb4 61392010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
6140
6141 * config.host: Add lm32-*-rtems*.
6142
f128db92
RO
61432010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6144 Uros Bizjak <ubizjak@gmail.com>
6145
6146 PR target/39048
6147 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
6148 like other remaining 32-bit x86 OSes.
6149 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
6150 assembler syntax.
6151 * config/i386/libgcc-sol2.ver: New file.
6152 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
6153
368fabd5
JH
61542010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
6155
6156 PR c/43553
6157 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
6158 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
6159 is used and substitute set_use_emutls.
6160 * configure: Regenerated.
6161
15baf7f8
TG
61622010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
6163
6164 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
6165
7f5441df
RO
61662010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6167
6168 PR target/38085
6169 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
6170 MULTILIB_CFLAGS.
6171 ($(T)gcrt1.o): Likewise.
6172 ($(T)crt1.o): Likewise.
6173 ($(T)crti.o): Likewise.
6174 ($(T)crtn.o): Likewise.
6175
ef74edbd
RW
61762010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6177
6178 PR other/42980
6179 * Makefile.in (install): Use $(MAKE) string in rule, for
6180 parallel make.
6181
e7c914db
HPN
61822010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
6183
6184 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
6185 * config/mmix/t-mmix: New file.
6186 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
6187
1bcb71c4
JH
61882010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
6189
6190 PR java/41991
6191 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
6192 SHLIB_MAPFILES.
6193
e6e50811
AG
61942010-01-04 Anthony Green <green@moxielogic.com>
6195
6196 * config/moxie/crti.asm, config/moxie/crtn.asm,
6197 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
6198 config/moxie/t-moxie: New files.
6199 * config.host: Add t-moxie-softfp reference.
6200
ca8520ad
IS
62012009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
6202
6203 PR other/39888
6204 * config/t-slibgcc-darwin: Fix embedded rpaths for
6205 --enable-version-specific-runtime-libs, build extension stub
6206 libs exposing features available from current libgcc_s.
6207
aa4945c1
JB
62082009-11-11 Jon Beniston <jon@beniston.com>
6209
d78552bd
UB
6210 * config.host: Add lm32 targets.
6211 * config/lm32: New directory.
6212 * config/lm32/libgcc_lm32.h: New file.
6213 * config/lm32/_mulsi3.c: New file.
6214 * config/lm32/_udivmodsi4.c: New file.
6215 * config/lm32/_divsi3.c: New file.
6216 * config/lm32/_modsi3.c: New file.
6217 * config/lm32/_udivsi3.c: New file.
6218 * config/lm32/_umodsi3.c: New file.
6219 * config/lm32/_lshrsi3.S: New file.
6220 * config/lm32/_ashrsi3.S: New file.
6221 * config/lm32/_ashlsi3.S: New file.
6222 * config/lm32/crti.S: New file.
6223 * config/lm32/crtn.S: New file.
6224 * config/lm32/t-lm32: New file.
6225 * config/lm32/t-elf: New file.
6226 * config/lm32/t-uclinux: New file.
aa4945c1 6227
65a324b4
NC
62282009-10-26 Nick Clifton <nickc@redhat.com>
6229
6230 * config.host: Add support for RX target.
6231 * config/rx: New directory.
6232 * config/rx/rx-abi-functions.c: New file. Supplementary
6233 functions for libgcc to support the RX ABI.
6234 * config/rx/rx-abi.h: New file. Supplementary header file for
6235 libgcc RX ABI functions.
6236 * config/rx/t-rx: New file: Makefile fragment for building
6237 libgcc for the RX.
6238
dfb3b0e3
UB
62392009-10-09 Uros Bizjak <ubizjak@gmail.com>
6240
6241 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
6242 constraint of y0 to "g".
6243
81dd9fd7
AK
62442009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6245
6246 * config.host: Include the s390 makefile fragments.
6247 * config/s390/32/_fixdfdi.c: New file.
6248 * config/s390/32/_fixsfdi.c: New file.
6249 * config/s390/32/_fixtfdi.c: New file.
6250 * config/s390/32/_fixunsdfdi.c: New file.
6251 * config/s390/32/_fixunssfdi.c: New file.
6252 * config/s390/32/_fixunstfdi.c: New file.
6253 * config/s390/32/t-floattodi: New file.
6254 * config/s390/libgcc-glibc.ver: New file.
6255 * config/s390/t-crtstuff: New file.
6256 * config/s390/t-linux: New file.
6257 * config/s390/t-tpf: New file.
6258
df58e648
RW
62592009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6260
6261 * configure.ac (AC_PREREQ): Bump to 2.64.
6262
79052be3
KK
62632009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
6264
6265 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
6266
5213506e
RW
62672009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6268
6269 * configure: Regenerate.
6270
a9a25daa
DR
62712009-08-09 Douglas B Rupp <rupp@gnat.com>
6272
6273 * config.host (ia64-hp-*vms*): New target.
6274 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
6275 with ia64-hp-*vms*.
6276
6efbd53f
RW
62772009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6278
6279 * configure.ac: Add snippet for maintainer-mode.
6280 * configure: Regenerate.
6281 * Makefile.in (AUTOCONF, configure_deps): New variables.
6282 ($(srcdir)/configure)): New rule, active only with maintainer
6283 mode turned on.
6284
7acf4da6
DD
62852009-06-23 DJ Delorie <dj@redhat.com>
6286
6287 Add MeP port.
6288 * config.host: Add mep support.
6289
54f549af
KT
62902009-06-22 Kai Tietz <kai.tietz@onevision.com>
6291
34481f28 6292 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 6293 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
6294
6295 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
6296 for mingw targets.
54f549af
KT
6297 * config/i386/64/_multc3.c: Likewise.
6298 * config/i386/64/_powitf2.c: Likewise.
6299 * config/i386/64/eqtf2.c: Likewise.
6300 * config/i386/64/getf2.c: Likewise.
6301 * config/i386/64/letf2.c: Likewise.
6302 * config/i386/64/letf2.c: Likewise.
34481f28
UB
6303 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6304 unsigned long long for x64 mingw targets.
6305 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6306 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 6307
fea96e25
MR
63082009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
6309
6310 * config.host (vax-*-linux*): New.
6311
cceb575c
AG
63122009-05-31 Anthony Green <green@moxielogic.com>
6313
6314 * config.host: Add moxie support.
6315 * config/moxie/t-moxie: New file.
6316
e997fb9c
DB
63172009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6318
6319 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 6320 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 6321
532bfb0a
AJ
63222009-04-17 Aurelien Jarno <aurelien@aurel32.net>
6323
6324 * config.host: Add i386/${host_address}/t-fprules-softfp to
6325 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6326
748086b7
JJ
63272009-04-09 Nick Clifton <nickc@redhat.com>
6328
6329 * config/ia64/tf-signs.c: Change copyright header to refer to
6330 version 3 of the GNU General Public License with version 3.1
6331 of the GCC Runtime Library Exception and to point readers at
6332 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6333 web page.
6334 * config/i386/32/tf-signs.c: Likewise.
6335 * config/libbid/_addsub_dd.c: Likewise.
6336 * config/libbid/_addsub_sd.c: Likewise.
6337 * config/libbid/_addsub_td.c: Likewise.
6338 * config/libbid/_dd_to_df.c: Likewise.
6339 * config/libbid/_dd_to_di.c: Likewise.
6340 * config/libbid/_dd_to_sd.c: Likewise.
6341 * config/libbid/_dd_to_sf.c: Likewise.
6342 * config/libbid/_dd_to_si.c: Likewise.
6343 * config/libbid/_dd_to_td.c: Likewise.
6344 * config/libbid/_dd_to_tf.c: Likewise.
6345 * config/libbid/_dd_to_udi.c: Likewise.
6346 * config/libbid/_dd_to_usi.c: Likewise.
6347 * config/libbid/_dd_to_xf.c: Likewise.
6348 * config/libbid/_df_to_dd.c: Likewise.
6349 * config/libbid/_df_to_sd.c: Likewise.
6350 * config/libbid/_df_to_td.c: Likewise.
6351 * config/libbid/_di_to_dd.c: Likewise.
6352 * config/libbid/_di_to_sd.c: Likewise.
6353 * config/libbid/_di_to_td.c: Likewise.
6354 * config/libbid/_div_dd.c: Likewise.
6355 * config/libbid/_div_sd.c: Likewise.
6356 * config/libbid/_div_td.c: Likewise.
6357 * config/libbid/_eq_dd.c: Likewise.
6358 * config/libbid/_eq_sd.c: Likewise.
6359 * config/libbid/_eq_td.c: Likewise.
6360 * config/libbid/_ge_dd.c: Likewise.
6361 * config/libbid/_ge_sd.c: Likewise.
6362 * config/libbid/_ge_td.c: Likewise.
6363 * config/libbid/_gt_dd.c: Likewise.
6364 * config/libbid/_gt_sd.c: Likewise.
6365 * config/libbid/_gt_td.c: Likewise.
6366 * config/libbid/_isinfd128.c: Likewise.
6367 * config/libbid/_isinfd32.c: Likewise.
6368 * config/libbid/_isinfd64.c: Likewise.
6369 * config/libbid/_le_dd.c: Likewise.
6370 * config/libbid/_le_sd.c: Likewise.
6371 * config/libbid/_le_td.c: Likewise.
6372 * config/libbid/_lt_dd.c: Likewise.
6373 * config/libbid/_lt_sd.c: Likewise.
6374 * config/libbid/_lt_td.c: Likewise.
6375 * config/libbid/_mul_dd.c: Likewise.
6376 * config/libbid/_mul_sd.c: Likewise.
6377 * config/libbid/_mul_td.c: Likewise.
6378 * config/libbid/_ne_dd.c: Likewise.
6379 * config/libbid/_ne_sd.c: Likewise.
6380 * config/libbid/_ne_td.c: Likewise.
6381 * config/libbid/_sd_to_dd.c: Likewise.
6382 * config/libbid/_sd_to_df.c: Likewise.
6383 * config/libbid/_sd_to_di.c: Likewise.
6384 * config/libbid/_sd_to_sf.c: Likewise.
6385 * config/libbid/_sd_to_si.c: Likewise.
6386 * config/libbid/_sd_to_td.c: Likewise.
6387 * config/libbid/_sd_to_tf.c: Likewise.
6388 * config/libbid/_sd_to_udi.c: Likewise.
6389 * config/libbid/_sd_to_usi.c: Likewise.
6390 * config/libbid/_sd_to_xf.c: Likewise.
6391 * config/libbid/_sf_to_dd.c: Likewise.
6392 * config/libbid/_sf_to_sd.c: Likewise.
6393 * config/libbid/_sf_to_td.c: Likewise.
6394 * config/libbid/_si_to_dd.c: Likewise.
6395 * config/libbid/_si_to_sd.c: Likewise.
6396 * config/libbid/_si_to_td.c: Likewise.
6397 * config/libbid/_td_to_dd.c: Likewise.
6398 * config/libbid/_td_to_df.c: Likewise.
6399 * config/libbid/_td_to_di.c: Likewise.
6400 * config/libbid/_td_to_sd.c: Likewise.
6401 * config/libbid/_td_to_sf.c: Likewise.
6402 * config/libbid/_td_to_si.c: Likewise.
6403 * config/libbid/_td_to_tf.c: Likewise.
6404 * config/libbid/_td_to_udi.c: Likewise.
6405 * config/libbid/_td_to_usi.c: Likewise.
6406 * config/libbid/_td_to_xf.c: Likewise.
6407 * config/libbid/_tf_to_dd.c: Likewise.
6408 * config/libbid/_tf_to_sd.c: Likewise.
6409 * config/libbid/_tf_to_td.c: Likewise.
6410 * config/libbid/_udi_to_dd.c: Likewise.
6411 * config/libbid/_udi_to_sd.c: Likewise.
6412 * config/libbid/_udi_to_td.c: Likewise.
6413 * config/libbid/_unord_dd.c: Likewise.
6414 * config/libbid/_unord_sd.c: Likewise.
6415 * config/libbid/_unord_td.c: Likewise.
6416 * config/libbid/_usi_to_dd.c: Likewise.
6417 * config/libbid/_usi_to_sd.c: Likewise.
6418 * config/libbid/_usi_to_td.c: Likewise.
6419 * config/libbid/_xf_to_dd.c: Likewise.
6420 * config/libbid/_xf_to_sd.c: Likewise.
6421 * config/libbid/_xf_to_td.c: Likewise.
6422 * config/libbid/bid128.c: Likewise.
6423 * config/libbid/bid128_2_str.h: Likewise.
6424 * config/libbid/bid128_2_str_macros.h: Likewise.
6425 * config/libbid/bid128_2_str_tables.c: Likewise.
6426 * config/libbid/bid128_add.c: Likewise.
6427 * config/libbid/bid128_compare.c: Likewise.
6428 * config/libbid/bid128_div.c: Likewise.
6429 * config/libbid/bid128_fma.c: Likewise.
6430 * config/libbid/bid128_logb.c: Likewise.
6431 * config/libbid/bid128_minmax.c: Likewise.
6432 * config/libbid/bid128_mul.c: Likewise.
6433 * config/libbid/bid128_next.c: Likewise.
6434 * config/libbid/bid128_noncomp.c: Likewise.
6435 * config/libbid/bid128_quantize.c: Likewise.
6436 * config/libbid/bid128_rem.c: Likewise.
6437 * config/libbid/bid128_round_integral.c: Likewise.
6438 * config/libbid/bid128_scalb.c: Likewise.
6439 * config/libbid/bid128_sqrt.c: Likewise.
6440 * config/libbid/bid128_string.c: Likewise.
6441 * config/libbid/bid128_to_int16.c: Likewise.
6442 * config/libbid/bid128_to_int32.c: Likewise.
6443 * config/libbid/bid128_to_int64.c: Likewise.
6444 * config/libbid/bid128_to_int8.c: Likewise.
6445 * config/libbid/bid128_to_uint16.c: Likewise.
6446 * config/libbid/bid128_to_uint32.c: Likewise.
6447 * config/libbid/bid128_to_uint64.c: Likewise.
6448 * config/libbid/bid128_to_uint8.c: Likewise.
6449 * config/libbid/bid32_to_bid128.c: Likewise.
6450 * config/libbid/bid32_to_bid64.c: Likewise.
6451 * config/libbid/bid64_add.c: Likewise.
6452 * config/libbid/bid64_compare.c: Likewise.
6453 * config/libbid/bid64_div.c: Likewise.
6454 * config/libbid/bid64_fma.c: Likewise.
6455 * config/libbid/bid64_logb.c: Likewise.
6456 * config/libbid/bid64_minmax.c: Likewise.
6457 * config/libbid/bid64_mul.c: Likewise.
6458 * config/libbid/bid64_next.c: Likewise.
6459 * config/libbid/bid64_noncomp.c: Likewise.
6460 * config/libbid/bid64_quantize.c: Likewise.
6461 * config/libbid/bid64_rem.c: Likewise.
6462 * config/libbid/bid64_round_integral.c: Likewise.
6463 * config/libbid/bid64_scalb.c: Likewise.
6464 * config/libbid/bid64_sqrt.c: Likewise.
6465 * config/libbid/bid64_string.c: Likewise.
6466 * config/libbid/bid64_to_bid128.c: Likewise.
6467 * config/libbid/bid64_to_int16.c: Likewise.
6468 * config/libbid/bid64_to_int32.c: Likewise.
6469 * config/libbid/bid64_to_int64.c: Likewise.
6470 * config/libbid/bid64_to_int8.c: Likewise.
6471 * config/libbid/bid64_to_uint16.c: Likewise.
6472 * config/libbid/bid64_to_uint32.c: Likewise.
6473 * config/libbid/bid64_to_uint64.c: Likewise.
6474 * config/libbid/bid64_to_uint8.c: Likewise.
6475 * config/libbid/bid_b2d.h: Likewise.
6476 * config/libbid/bid_binarydecimal.c: Likewise.
6477 * config/libbid/bid_conf.h: Likewise.
6478 * config/libbid/bid_convert_data.c: Likewise.
6479 * config/libbid/bid_decimal_data.c: Likewise.
6480 * config/libbid/bid_decimal_globals.c: Likewise.
6481 * config/libbid/bid_div_macros.h: Likewise.
6482 * config/libbid/bid_dpd.c: Likewise.
6483 * config/libbid/bid_flag_operations.c: Likewise.
6484 * config/libbid/bid_from_int.c: Likewise.
6485 * config/libbid/bid_functions.h: Likewise.
6486 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6487 * config/libbid/bid_inline_add.h: Likewise.
6488 * config/libbid/bid_internal.h: Likewise.
6489 * config/libbid/bid_round.c: Likewise.
6490 * config/libbid/bid_sqrt_macros.h: Likewise.
6491
64922009-04-09 Jakub Jelinek <jakub@redhat.com>
6493
6494 * Makefile.in: Change copyright header to refer to version
6495 3 of the GNU General Public License and to point readers at the
6496 COPYING3 file and the FSF's license web page.
6497 * config.host: Likewise.
6498
633dd061
AM
64992009-04-07 Alan Modra <amodra@bigpond.net.au>
6500
6501 * config.host: Reorder and merge to match config.gcc change.
6502
457d1d00
AM
65032009-04-03 Alan Modra <amodra@bigpond.net.au>
6504
6505 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6506
52c0e446
JM
65072009-03-28 Joseph Myers <joseph@codesourcery.com>
6508
6509 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6510 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6511 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6512 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6513
ba181049
UB
65142009-02-12 Uros Bizjak <ubizjak@gmail.com>
6515
6516 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6517 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6518
c252db20
L
65192009-02-12 H.J. Lu <hongjiu.lu@intel.com>
6520
ba181049
UB
6521 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6522 ia64/t-softfp-compat to tmake_file.
c252db20
L
6523
6524 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6525
6526 * config/ia64/__divxf3.asm: New.
6527 * config/ia64/_fixtfdi.asm: Likewise.
6528 * config/ia64/_fixunstfdi.asm: Likewise.
6529 * config/ia64/_floatditf.asm: Likewise.
6530 * config/ia64/t-fprules-softfp: Likewise.
6531 * config/ia64/t-softfp-compat: Likewise.
6532 * config/ia64/tf-signs.c: Likewise.
6533
c60535f9
BE
65342009-01-18 Ben Elliston <bje@au.ibm.com>
6535
6536 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6537
ce16861e
BE
65382009-01-16 Ben Elliston <bje@au.ibm.com>
6539
6540 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6541 to tmake_file.
6542
bcf4713b
BE
65432009-01-13 Ben Elliston <bje@au.ibm.com>
6544
6545 * config/t-softfp: New file.
6546 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6547 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6548
2042cb04
JS
65492009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
6550
6551 * config.host: Add m32r*-*-rtems*.
6552
541ed00e
JS
65532008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
6554
6555 * config.host: Add m32c*-*-rtems*.
6556
19523300
RO
65572008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6558
6559 PR bootstrap/33100
6560 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6561 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6562 * configure: Regenerate.
6563 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6564 tmake_file here from gcc/config.gcc.
6565 Move extra_parts here from gcc/config.gcc.
6566 * config/i386/t-sol2: Move here from gcc/config/i386.
6567 Use gcc_srcdir instead of srcdir.
6568
0a4a51c7
AN
65692008-11-18 Adam Nemet <anemet@caviumnetworks.com>
6570
6571 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6572 case.
6573
2a761e46
TS
65742008-11-09 Thomas Schwinge <tschwinge@gnu.org>
6575
6576 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6577
c0451df7
TS
65782008-10-08 Thomas Schwinge <tschwinge@gnu.org>
6579
6580 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6581
358da97e
HS
65822008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
6583
6584 Add picoChip port.
6585 * config.host: Add picochip-*-*.
6586
c660f132
BW
65872008-08-06 Bob Wilson <bob.wilson@acm.org>
6588
6589 * config.host: Match more processor names for Xtensa.
6590
d1349557
L
65912008-07-08 H.J. Lu <hongjiu.lu@intel.com>
6592
6593 * config/i386/64/t-softfp-compat: Update comments.
6594
dd7b73c0
L
65952008-07-07 H.J. Lu <hongjiu.lu@intel.com>
6596
6597 * config/i386/64/_divtc3-compat.c: Moved to ...
6598 * config/i386/64/_divtc3.c: Here.
6599
6600 * config/i386/64/_multc3-compat.c: Moved to ...
6601 * config/i386/64/_multc3.c: Here.
6602
6603 * config/i386/64/_powitf2-compat.c: Moved to ...
6604 * config/i386/64/_powitf2.c: Here.
6605
6606 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6607 .c suffix instead of -compat.c.
6608
6e1fab3d
UB
66092008-07-05 Uros Bizjak <ubizjak@gmail.com>
6610
6611 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6612 (_FP_MUL_MEAT_D): Ditto.
6613 (_FP_DIV_MEAT_S): Ditto.
6614 (_FP_DIV_MEAT_D): Ditto.
6615
f92518d7
RS
66162008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
6617
6618 * Makefile.in: Add support for __sync_* libgcc functions.
6619
d0aede14
L
66202008-07-03 H.J. Lu <hongjiu.lu@intel.com>
6621
6622 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6623
c174f11c
L
66242008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6625
6626 PR boostrap/36702
6627 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6628 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
6629
6630 * config/i386/64/t-fprules-softfp: Moved to ...
6631 * config/i386/64/t-softfp-compat: This. New.
6632
5f464fa2
UB
66332008-07-02 Uros Bizjak <ubizjak@gmail.com>
6634
6635 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6636 Initialize f with 0.0.
6637
ff473280
L
66382008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6639
6640 PR target/36669
6641 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6642
6643 * config/i386/64/_divtc3-compat.c: New.
6644 * config/i386/64/_multc3-compat.c: Likewise.
6645 * config/i386/64/_powitf2-compat.c: Likewise.
6646 * config/i386/64/eqtf2.c: Likewise.
6647 * config/i386/64/getf2.c: Likewise.
6648 * config/i386/64/letf2.c: Likewise.
6649 * config/i386/64/t-fprules-softfp: Likewise.
6650
66512008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6652
6653 * config.host: Add i386/${host_address}/t-fprules-softfp to
6654 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 6655 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
6656
6657 * configure.ac: Set host_address to 64 or 32 for x86.
6658 * configure: Regenerated.
6659
6660 * Makefile.in (config.status): Also depend on
6661 $(srcdir)/config.host.
6662
6663 * config/i386/32/t-fprules-softfp: New.
6664 * config/i386/32/tf-signs.c: Likewise.
6665
6666 * config/i386/64/sfp-machine.h: New. Moved from gcc.
6667
66682008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6669 Uros Bizjak <ubizjak@gmail.com>
6670
6671 * config/i386/32/sfp-machine.h: New.
6672
30551d99
NF
66732008-06-26 Nathan Froyd <froydnj@codesourcery.com>
6674
6675 * config/rs6000/t-ppccomm: Remove rules that conflict with
6676 auto-generated rules.
6677
18c04407
RW
66782008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6679
6680 * configure.ac: sinclude override.m4.
6681 * configure: Regenerate.
6682
10fbe77a
BRF
66832008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
6684
6685 * configure: Regenerate.
6686
bc6d4c3f
JM
66872008-06-10 Joseph Myers <joseph@codesourcery.com>
6688
6689 * Makefile.in (DECNUMINC): Remove
6690 -I$(MULTIBUILDTOP)../../libdecnumber.
6691 * gstdint.h: New.
6692
cd985f66
JM
66932008-06-07 Joseph Myers <joseph@codesourcery.com>
6694
6695 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
6696 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
6697 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
6698 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
6699 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
6700 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6701 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
6702 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
6703 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
6704 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
6705 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
6706 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
6707 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
6708 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
6709
93fea8d3
AL
67102008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
6711
6712 * config.host (sh2[lbe]*-*-linux*): Allow target.
6713
18724e30
NF
67142008-04-30 Nathan Froyd <froydnj@codesourcery.com>
6715
6716 * config/rs6000/t-ppccomm: Add build rules for new files.
6717 (LIB2ADD_ST): New variable.
6718
47583040
AH
67192008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
6720
6721 PR target/34210
6722 PR target/35508
6723 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
6724 * config/t-avr: New file. Build 16bit libgcc functions.
6725
cf8e67fe
JJ
67262008-03-02 Jakub Jelinek <jakub@redhat.com>
6727
6728 PR target/35401
6729 * config/t-slibgcc-darwin: Make install-leaf dependent on
6730 install-darwin-libgcc-stubs instead of install.
6731
8d8da227
JM
67322008-01-25 Joseph Myers <joseph@codesourcery.com>
6733
6734 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
6735 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
6736 sh-*-rtemscoff*): Remove cases.
6737
edbf8b16
RS
67382007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
6739
6740 * Makefile.in (all): Use install-leaf rather than install.
6741 (install): Split most of the rule into...
6742 (install-leaf): ...this new one.
6743
89deeaff
EK
67442007-12-19 Etsushi Kato <ek.kato@gmail.com>
6745 Paolo Bonzini <bonzini@gnu.org>
6746
6747 PR target/30572
5f464fa2
UB
6748 * Makefile.in: Use @shlib_slibdir@ substitution to get
6749 correct install name on darwin.
89deeaff 6750 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 6751
4081d704
HPN
67522007-12-15 Hans-Peter Nilsson <hp@axis.com>
6753
6754 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
6755 cris-*-elf and cris-*-none.
6756 (crisv32-*-linux*): Similar, as cris-*-linux*.
6757
f43e89a3
RIL
67582007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
6759
6760 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
6761
b4e9c2c6
L
67622007-10-27 H.J. Lu <hongjiu.lu@intel.com>
6763
6764 PR regression/33926
6765 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
6766 * configure: Regenerated.
6767
b2a00c89
L
67682007-09-27 H.J. Lu <hongjiu.lu@intel.com>
6769
6770 * Makefile.in (dfp-filenames): Replace decimal_globals,
6771 decimal_data, binarydecimal and convert_data with
6772 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
6773 and bid_convert_data, respectively.
6774
8d2a9e0e
CF
67752007-09-17 Chao-ying Fu <fu@mips.com>
6776 Nigel Stephens <nigel@mips.com>
6777
6778 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
6779 * Makefile.in (fixed_point): Define.
6780 Check if fixed_point is yes to build support functions.
6781 * configure.ac: Check for fixed_point support.
6782 * configure: Regenerated.
6783 * gen-fixed.sh: New file to generate lists of fixed-point labels,
6784 funcs, modes, from, to.
6785
2b53935d
JJ
67862007-09-11 Janis Johnson <janis187@us.ibm.com
6787
6788 * Makefile.in (dfp-filenames): Add bid128_noncomp.
6789
2533577f
JJ
67902007-09-10 Janis Johnson <janis187@us.ibm.com>
6791
6792 * Makefile.in (dfp-filenames): Remove decUtility, add
6793 decDouble, decPacked, decQuad, decSingle.
6794
3ae3dbd6
HK
67952007-08-27 Hans Kester <hans.kester@ellips.nl>
6796
6797 * config.host : Add x86_64-elf target.
6798
22867d02
L
67992007-07-06 H.J. Lu <hongjiu.lu@intel.com>
6800
6801 * configure.ac (set_have_cc_tls): Add a missing =.
6802 * configure: Regenerated.
6803
6f461e76
L
68042007-07-06 H.J. Lu <hongjiu.lu@intel.com>
6805
6806 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
6807 and x86_64-*-linux*.
6808
6809 * config/t-tls: New file.
6810
dfb3b0e3 6811 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
6812
6813 * configure.ac: Include ../config/enable.m4 and
6814 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
6815 supports TLS and substitute set_have_cc_tls.
6816 * configure: Regenerated.
6817
200359e8
L
68182007-07-04 H.J. Lu <hongjiu.lu@intel.com>
6819
6820 * Makefile.in: Use libbid for DFP when BID is enabled.
6821
76f5e200
DS
68222007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
6823
6824 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 6825 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
6826 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
6827
9bd196f0 68282007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 6829 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
6830
6831 PR target/29498
6832 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
6833 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
6834 * config/i386/t-crtfm: Compile crtfastmath.o with
6835 -minline-all-stringops.
6836
1910440e
RS
68372007-05-10 Richard Sandiford <richard@codesourcery.com>
6838
6839 * config.host (sparc-wrs-vxworks): New target.
6840
7d33c31d
KH
68412007-04-14 Kazu Hirata <kazu@codesourcery.com>
6842
6843 * config.host: Recognize fido.
6844
96fccd0d
JJ
68452007-04-04 Janis Johnson <janis187@us.ibm.com>
6846
6847 * configure: Check host, not target, for decimal float support.
6848
577565f9
UB
68492007-04-03 Uros Bizjak <ubizjak@gmail.com>
6850
6851 * config/i386/t-crtpc: New file.
6852 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 6853 (x86_64-*-linux*): Ditto.
577565f9 6854
ccf8e764
RH
68552007-02-30 Kai Tietz <kai.tietz@onevision.com>
6856
6857 * config.host (x86_64-*-mingw*): New target.
6858
79b87c74
MM
68592007-03-23 Michael Meissner <michael.meissner@amd.com>
6860 H.J. Lu <hongjiu.lu@intel.com>
6861
6862 * Makefile.in (enable_decimal_float): New.
6863 (DECNUMINC): Add
6864 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
6865 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
6866 (decbits-filenames): This.
6867 (decbits-objects): New.
6868 (libgcc-objects): Add $(decbits-objects).
6869
6870 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
6871 Substitute enable_decimal_float.
6872 * configure: Regenerated.
6873
8fce4e31
HPN
68742007-03-19 Hans-Peter Nilsson <hp@axis.com>
6875
6876 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
6877
e8bb4597
BM
68782007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
6879
6880 * Makefile.in (install-info): New dummy target.
6881
344189f9
BS
68822007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
6883
6884 * config.host (bfin*-linux-uclibc*): Set extra_parts.
6885
ac84c172
BM
68862007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
6887
6888 * Makefile.in: Add install-html and install-pdf dummy
6889 targets.
6890
cd5c2357
RS
68912007-02-05 Roger Sayle <roger@eyesopen.com>
6892 Daniel Jacobowitz <dan@codesourcery.com>
6893
6894 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
6895 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
6896 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
6897
d9a66f98
JJ
68982007-01-29 Janis Johnson <janis187@us.ibm.com>
6899
6900 * Makefile.in (dec-filenames): Add decExcept.
6901
9891ec5f
DJ
69022007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6903
6904 PR bootstrap/30469
6905 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
6906 -fprofile-use.
6907
d6efbf5a
DJ
69082007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
6909
6910 * configure.ac: Add --enable-version-specific-runtime-libs.
6911 Correct $slibdir default.
6912 * configure: Regenerated.
6913
17caeff2
JM
69142007-01-23 Joseph Myers <joseph@codesourcery.com>
6915
6916 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
6917
5ea41e3a
AP
69182007-01-21 Andrew Pinski <pinskia@gmail.com>
6919
6920 PR target/30519
6921 * config.host (alpha*-*-linux*): Set extra_parts.
6922
26900826
KK
69232007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
6924
6925 * config/sh/t-linux: New.
6926 * config.host (sh*-*-linux*): Set tmake_file.
6927
97af925b
DJ
69282007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
6929
6930 * Makefile.in (install): Handle multilibs.
6931
b0088af7
BM
69322007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6933
6934 * Makefile.in: Added .PHONY entry for documentation targets.
6935
e0a9456a
BM
69362007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6937
6938 * Makefile.in: Add empty info, html, dvi, pdf targets.
6939
7fd453b4
MS
69402007-01-04 Mike Stump <mrs@apple.com>
6941
6942 * Makefile.in (MAKEINFO): Remove.
6943 (PERL): Likewise.
6944
14e8fc8b
PB
69452007-01-04 Paolo Bonzini <bonzini@gnu.org>
6946
6947 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
6948 * configure: Regenerate.
6949 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 6950 (gcc_objdir): Use it.
14e8fc8b 6951
1555beba
DJ
69522007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6953
6954 * config.host (ia64*-*-linux*): Set tmake_file.
6955
79e6eaeb
DJ
69562007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6957
6958 * Makefile.in (version): Define.
6959
fa958513
DJ
69602007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
6961 Paolo Bonzini <bonzini@gnu.org>
6962
6963 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
6964 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
6965 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
6966 config/sparc/t-crtfm, config/t-slibgcc-darwin,
6967 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
6968 shared-object.mk, siditi-object.mk, static-object.mk: New files.
6969 * configure: Generated.