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