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