]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
re PR ipa/65287 (Current trunk ICE in address_matters_p, at symtab.c:1908)
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
7727f8f2
JW
12015-02-12 Jonathan Wakely <jwakely@redhat.com>
2
3 PR libgcc/64885
4 * gthr-single.h: Use __unused__ attribute instead of unused.
5 * config/gthr-vxworks.h: Likewise.
6 * config/i386/gthr-win32.h: Likewise.
7
0e4a0def
KT
82015-02-27 Kai Tietz <ktietz@redhat.com>
9
10 PR target/65038
11 * config.in: Regenerated.
12 * configure: Likewise.
13 * configure.ac (AC_HEADER_STDC): Added explicit.
14 (AC_CHECK_HEADERS): Check for default headers plus
15 for ftw.h header.
16 * libgcov-util.c (gcov_read_profile_dir): Disable use
17 of ftw-function, if header is not found.
18 (ftw_read_file): Likewise.
19
b6530d0a
TS
202015-02-23 Thomas Schwinge <thomas@codesourcery.com>
21
22 PR target/65181
23 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
24 -Dinhibit_libc.
25
53cfb467
SL
262015-02-17 Sandra Loosemore <sandra@codesourcery.com>
27
28 * config/arm/bpabi.S (test_div_by_zero): Make label names
29 consistent between thumb2 and arm mode cases. Separate the
30 signed comparison on the high word of the numerator from the
31 unsigned comparison on the low word.
32 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
33 signed comparison.
34
77d10a1b
JM
352015-02-17 Joseph Myers <joseph@codesourcery.com>
36
37 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
38 and <string.h>.
39 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
40
98174188
RE
412015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
42
43 PR gcov-profile/61889
471274de 44 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 45
771bef14
NC
462015-02-02 Nick Clifton <nickc@redhat.com>
47
48 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
49 rounding up the fraction.
50
40702893
JDA
512015-01-31 John David Anglin <danglin@gcc.gnu.org>
52
53 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
54 oldval and newval to const void *. Fix typo.
55 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
56 (FETCH_AND_OP_WORD): Likewise.
57 (OP_AND_FETCH_WORD): Likewise.
58 (COMPARE_AND_SWAP_2): Likewise.
59 (__sync_val_compare_and_swap_4): Likewise.
60 (__sync_lock_test_and_set_4): Likewise.
61 (SYNC_LOCK_RELEASE_2): Likewise.
62 Remove support for long long atomic operations.
63
f7f049fa
CT
642015-01-27 Caroline Tice <cmtice@google.com>
65
66 Committing VTV Cywin/Ming patch for Patrick Wollgast
67 * Makefile.in: Move rules to build vtv_*.o out of the check
68 for CUSTOM_CRTSTUFF.
69 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
70 i[34567]86-*-mingw*)
71 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
72 enable_vtable_verify.
73
8410904a
NC
742015-01-27 Nick Clifton <nickc@redhat.com>
75
76 * config/rl78/cmpsi2.S: Use function start and end macros.
77 (__gcc_bcmp): New function.
78 * config/rl78/lshrsi3.S: Use function start and end macros.
79 * config/rl78/mulsi3.S: Add support for G10.
80 (__mulqi3): New function for G10.
81 * config/rl78/signbit.S: Use function start and end macros.
82 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
83 fpmath-sf.S.
84 (LIB2FUNCS_EXCLUDE): Define.
85 (LIB2FUNCS_ST): Define.
86 * config/rl78/trampoline.S: Use function start and end macros.
87 * config/rl78/vregs.h (START_FUNC): New macro.
88 (START_ANOTHER_FUNC): New macro.
89 (END_FUNC): New macro.
90 (END_ANOTHER_FUNC): New macro.
91 * config/rl78/bit-count.S: New file. Contains assembler
92 implementations of the bit counting functions: ___clzhi2,
93 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
94 __paritysi2, __popcounthi2 and __popcountsi2.
95 * config/rl78/fpbit-sf.S: New file. Contains assembler
96 implementationas of the math functions: __negsf2, __cmpsf2,
97 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
98 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
99 * config/rl78/fpmath-sf.S: New file. Contains assembler
100 implementations of the math functions: __subsf3, __addsf3,
101 __mulsf3 and __divsf3
102
f962fbf1
RO
1032015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
104
105 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
106 Add i386/elf-lib.h to tm_file.
107 * config/i386/elf-lib.h: Fix comment.
108 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
109 && __sun__ && __svr4__]: Remove workaround.
110
939911c5
ASJ
1112015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
112
113 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
114 FEATURE_BMI2.
115 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
116
c8f2dff2
L
1172015-01-24 H.J. Lu <hongjiu.lu@intel.com>
118
119 * config/i386/cpuinfo.c (processor_subtypes): Add
120 INTEL_COREI7_BROADWELL.
121 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
122 model numbers.
123
7bbf9734
UB
1242015-01-23 Uros Bizjak <ubizjak@gmail.com>
125
126 * config/i386/elf-lib.h: New file.
127 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
128 Wrap definition in #ifdef __i386__.
129 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
130 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
131 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
132 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
133 to tm_file.
134
324820f1
CG
1352015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
136
137 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
138 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
139
a9ce4e4a
CLT
1402015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
141
142 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
143 Update rt_sigframe format and address for current Nios II
144 Linux conventions.
145
82a19768
AT
1462015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
147
148 * config.host (arm*-*-freebsd*): Add new configuration for
149 arm*-*-freebsd*.
150 * config/arm/freebsd-atomic.c: New file.
151 * config/arm/t-freebsd: Likewise.
152 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
153 'PC-relative indirect' OS's.
154
0969ec7d
EB
1552015-01-06 Eric Botcazou <ebotcazou@adacore.com>
156
157 * config.host: Add Visium support.
158 * config/visium: New directory.
159
5624e564
JJ
1602015-01-05 Jakub Jelinek <jakub@redhat.com>
161
162 Update copyright years.
163
82f84ecb
MF
1642014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
165
166 * config.host: Support mipsisa32r6 and mipsisa64r6.
167 * config/mips/mips16.S: Do not build for R6.
168
69044fa9
OE
1692014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
170
171 * config/sh/crt.h: New.
172 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
173 symbols.
174 * config/sh/crt1.S: Likewise.
175
2405e0ea
UB
1762014-12-15 Uros Bizjak <ubizjak@gmail.com>
177
178 PR libgcc/63832
179 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
180 func_ptr *dtor_list temporary variable to avoid "array subscript
181 is above array bounds" warnings.
182
3f6ad8df 1832014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
184
185 * Makefile.in (with_aix_soname): Define.
186 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
187 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
188 * configure: Recreate.
189
a66272f6
OH
1902014-12-05 Olivier Hainque <hainque@adacore.com>
191
192 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
193 now provided by defaults.h.
194
6342b2c5
OE
1952014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
196
7d0ee249 197 PR target/55351
6342b2c5
OE
198 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
199 whether it's defined.
200
c17eac85
IT
2012014-11-27 Ilya Tocar <ilya.tocar@intel.com>
202
203 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
204 * config/i386/cpuinfo.c (get_available_features): Detect it.
205
1025cb6c
TW
2062014-11-27 Tony Wang <tony.wang@arm.com>
207
208 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
209 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
210 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
211
d19f2e38
SB
2122014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
213
214 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
215
17f6e9a3
JDA
2162014-11-24 John David Anglin <danglin@gcc.gnu.org>
217
218 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
219 instead.
220
0cd7c672
GM
2212014-11-21 Guy Martin <gmsoft@tuxicoman.be>
222 John David Anglin <danglin@gcc.gnu.org>
223
224 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
225 (FETCH_AND_OP_2): New. Use for subword and double word operations.
226 (OP_AND_FETCH_2): Likewise.
227 (COMPARE_AND_SWAP_2): Likewise.
228 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
229 (SYNC_LOCK_RELEASE_2): Likewise.
230 (SUBWORD_SYNC_OP): Remove.
231 (SUBWORD_VAL_CAS): Likewise.
232 (SUBWORD_BOOL_CAS): Likewise.
233 (FETCH_AND_OP_WORD): Update.
234 Consistently use signed types.
235
85c64bbe
BS
2362014-11-13 Bernd Schmidt <bernds@codesourcery.com>
237 Thomas Schwinge <thomas@codesourcery.com>
238 Ilya Verbin <ilya.verbin@intel.com>
239 Andrey Turetskiy <andrey.turetskiy@intel.com>
240
241 * Makefile.in (crtoffloadbegin$(objext)): New rule.
242 (crtoffloadend$(objext)): Likewise.
243 * configure: Regenerate.
244 * configure.ac (accel_dir_suffix): Compute new variable.
245 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
246 if enable_offload_targets is not empty.
247 * offloadstuff.c: New file.
248
52a1ff8b
NC
2492014-11-13 Nick Clifton <nickc@redhat.com>
250
251 * config/rl78/divmodhi.S: Add support for the G10 architecture.
252 Use START_FUNC and END_FUNC macros to enable linker garbage
253 collection.
254 * config/rl78/divmodqi.S: Likewise.
255 * config/rl78/divmodsi.S: Likewise.
256 * config/rl78/mulsi3.S: Likewise.
257 * config/rl78/lib2div.c: Remove G10 functions.
258 * config/rl78/lib2muls.c: Likewise.
259 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
260 * config/rl78/vregs.h (START_FUNC): New macro.
261 (END_FUNC): New macro.
262
050af144
MF
2632014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
264
265 * config/mips/mips16.S: Set .module when supported. Update O32
266 FP64 calling convention and use for FPXX when possible. Add FPXX
267 calling convention fallback case.
268
738f2522
BS
2692014-11-06 Bernd Schmidt <bernds@codesourcery.com>
270
271 * config.host: Handle nvptx-*-*.
272 * shared-object.mk (as-flags-$o): Define.
273 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
274 -xassembler-with-cpp.
275 * static-object.mk: Identical changes.
276 * config/nvptx/t-nvptx: New file.
277 * config/nvptx/crt0.s: New file.
278 * config/nvptx/free.asm: New file.
279 * config/nvptx/malloc.asm: New file.
280 * config/nvptx/realloc.c: New file.
281
e610393c
JM
2822014-10-30 Joseph Myers <joseph@codesourcery.com>
283
284 * Makefile.in (libgcc.map.in): New target.
285 (libgcc.map): Use libgcc.map.in.
286 * config/t-softfp (softfp_compat): New variable to be set by
287 users.
288 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
289 variables.
290 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
291 directory.
292 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
293 that use compat symbols and disable all code unless [SHARED].
294 * config/t-softfp-compat: New file.
295 * find-symver.awk: New file.
296 * configure.ac (--with-glibc-version): New configure option.
297 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
298 * configure: Regenerate.
299 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
300 soft-float and e500.
301
bc1b3a88
JM
3022014-10-29 Joseph Myers <joseph@codesourcery.com>
303
304 * config/t-hardfp (hardfp_exclusions): Document new variable for
305 user to define.
306 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
307 * config/t-softfp (softfp_extras): Document new variable for user
308 to define.
309 (softfp_func_list): Add functions from $(softfp_extras).
310 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
311 * config.host (powerpc*-*-linux*): For e500v1, use
312 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
313 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
314 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
315
ef2810c1
JDA
3162014-10-26 John David Anglin <danglin@gcc.gnu.org>
317
318 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
319 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
320 memory read accesses are ok.
321
d80c2bea
JM
3222014-10-25 Joseph Myers <joseph@codesourcery.com>
323
324 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
325 * configure: Regenerate.
326 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
327 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
328 of soft-fp for 32-bit classic hard float. Do not use
329 t-softfp-excl for soft float.
330
693b297b
JM
3312014-10-22 Joseph Myers <joseph@codesourcery.com>
332
333 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
334 configurations.
335 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
336 Remove variables.
337
18a3415e
GJL
3382014-10-22 Georg-Johann Lay <avr@gjlay.de>
339
340 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
341 introduced with 2014-10-21 trunk r216525.
342
c1dd9790
JR
3432014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
344 Vidya Praveen <vidya.praveen@atmel.com>
345 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
346 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
347 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
348
349 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
350 order.
351
352 Updated library functions for AVRTINY arch.
353 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
354 Replaced occurrences of r0/r1 with tmp/zero reg macros.
355 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
356 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
357 wsubi/wadi macors.
358 (__mulsi3_helper): Update stack, preserve callee saved regs and
359 argument from stack. Restore callee save registers.
360 (__mulpsi3): Likewise.
361 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
362 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 363 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
364 AVRTINY.
365 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
366 (__do_copy_data): Added new definition for AVRTINY.
367 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
368 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
369 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
370 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
371 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
372 macors.
18a3415e 373 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
374 AVRTINY.
375
18a3415e 376 Fix broken long multiplication on tiny arch.
c1dd9790 377
5f606431
JM
3782014-10-09 Joseph Myers <joseph@codesourcery.com>
379
380 * soft-fp/double.h: Update from glibc.
381 * soft-fp/eqdf2.c: Likewise.
382 * soft-fp/eqsf2.c: Likewise.
383 * soft-fp/eqtf2.c: Likewise.
384 * soft-fp/extenddftf2.c: Likewise.
385 * soft-fp/extended.h: Likewise.
386 * soft-fp/extendsfdf2.c: Likewise.
387 * soft-fp/extendsftf2.c: Likewise.
388 * soft-fp/extendxftf2.c: Likewise.
389 * soft-fp/gedf2.c: Likewise.
390 * soft-fp/gesf2.c: Likewise.
391 * soft-fp/getf2.c: Likewise.
392 * soft-fp/ledf2.c: Likewise.
393 * soft-fp/lesf2.c: Likewise.
394 * soft-fp/letf2.c: Likewise.
395 * soft-fp/op-1.h: Likewise.
396 * soft-fp/op-2.h: Likewise.
397 * soft-fp/op-4.h: Likewise.
398 * soft-fp/op-8.h: Likewise.
399 * soft-fp/op-common.h: Likewise.
400 * soft-fp/quad.h: Likewise.
401 * soft-fp/single.h: Likewise.
402 * soft-fp/soft-fp.h: Likewise.
403 * soft-fp/unorddf2.c: Likewise.
404 * soft-fp/unordsf2.c: Likewise.
405 * soft-fp/unordtf2.c: Likewise.
406 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
407 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
408 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
409 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
410 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
411 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
412 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
413 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
414 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
415 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
416
9b84e7a8
RX
4172014-10-08 Rong Xu <xur@google.com>
418
419 * libgcov-util.c (read_gcda_file): Fix format.
420 (find_match_gcov_info): Ditto.
421 (calculate_2_entries): New.
422 (compute_one_gcov): Ditto.
423 (gcov_info_count_all_cold): Ditto.
424 (gcov_info_count_all_zero): Ditto.
425 (extract_file_basename): Ditto.
426 (get_file_basename): Ditto.
427 (set_flag): Ditto.
428 (matched_gcov_info): Ditto.
429 (calculate_overlap): Ditto.
430 (gcov_profile_overlap): Ditto.
431 * libgcov-driver.c (compute_summary): Make
432 it avavilable for external calls.
433
fe1090c1
RX
4342014-10-06 Rong Xu <xur@google.com>
435
436 * Makefile.in: Ditto.
437 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
438 (gcov_sort_icall_topn_counter): Ditto.
439 (gcov_sort_topn_counter_arrays): Ditto.
440 (dump_one_gcov): Sort indirect_call topn counters.
441 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
442 function.
443 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
444 utility function.
445 (__gcov_indirect_call_topn_profiler): New profiler function.
446 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
447 * libgcov.h: New decls.
448
3daa7bbf
TS
4492014-10-04 Trevor Saunders <tsaunders@mozilla.com>
450
451 * config.host: Remove support for score-*.
452
9a79452d
JM
4532014-09-22 Joseph Myers <joseph@codesourcery.com>
454
455 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
456 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
457 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
458 __LIBGCC_XF_MANT_DIG__.
459 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
460 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
461 __LIBGCC_TF_MANT_DIG__.
462 * libgcc2.c (NOTRUNC): Define in terms of
463 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
464 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
465
1a849e50
JM
4662014-09-22 Joseph Myers <joseph@codesourcery.com>
467
468 PR target/63312
469 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
470 New macros.
471
598a1586
HPN
4722014-09-22 Hans-Peter Nilsson <hp@axis.com>
473
474 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
475 override USE_PT_GNU_EH_FRAME.
476 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
477 check USE_EH_FRAME_REGISTRY_ALWAYS against
478 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
479 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
480 variable for substituted force_explicit_eh_registry.
481 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
482 * configure.ac (explicit-exception-frame-registration):
483 New AC_ARG_ENABLE.
484 * configure: Regenerate.
485
3a8fe7c6
OH
4862014-09-19 Olivier Hainque <hainque@adacore.com>
487
488 * config.host (powerpc-wrs-vxworksmils): New configuration,
489 same as vxworksae.
490
dd69f047
JM
4912014-09-18 Joseph Myers <joseph@codesourcery.com>
492
493 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
494
e770bfd9
JM
4952014-09-18 Joseph Myers <joseph@codesourcery.com>
496
497 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
498 bits not set bits as indicating trapping exceptions.
499
cadb2b96
NS
5002014-09-17 Nathan sidwell <nathan@acm.org>
501
502 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
503 (LIBGCOV_DRIVER): ... here.
504 * libgcov-driver.c (gcov_master): New.
505 (gcov_exit): Remove from master chain.
506 (__gcov_init): Add to master chain if version compatible. Don't
507 clear the version.
508 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
509 (gcov_reset_int): Clear master chain, if compatible.
510 (gcov_dump_int): New internal interface. Dump master chain, if
511 compatible.
512 (gcov_dump): Alias for gcov_dump_int.
513 * libgcov.h (struct gcov_root): Add next and prev fields.
514 (struct gcov_master): New struct.
515 (__gcov_master): New.
516 (gcov_dump_int): Declare.
517
580d22a3
OH
5182014-09-17 Olivier Hainque <hainque@adacore.com>
519
520 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
521 and crtbegin.o + crtend.o to extra_parts.
522
8cc4b7a2
JM
5232014-09-12 Joseph Myers <joseph@codesourcery.com>
524
525 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
526 __LIBGCC_HAS_SF_MODE__.
527 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
528 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
529 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
530 * config/libbid/bid_gcc_intrinsics.h
531 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
532 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
533 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
534 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
535 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
536 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
537
ea3f2b24
GJL
5382014-09-11 Georg-Johann Lay <avr@gjlay.de>
539
540 PR target/63223
541 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
542 and R24 as needed. Make work for all devices and .text locations.
543 (__do_global_ctors, __do_global_dtors): Use word addresses.
544 (__tablejump__, __tablejump_elpm__): Remove functions.
545 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
546 Add _tablejump2.
547 (XICALL, XIJMP): New macros.
548
b677236a
MS
5492014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
550 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
551
552 * config.host (aarch64*): Include crtfastmath.o and
553 t-crtfm.
554 * config/aarch64/crtfastmath.c: New file.
555
157e859f
TS
5562014-09-08 Trevor Saunders <tsaunders@mozilla.com>
557
558 * config.host: Remove picochip support.
559 * config/picochip/adddi3.S: Remove.
560 * config/picochip/ashlsi3.S: Remove.
561 * config/picochip/ashlsi3.c: Remove.
562 * config/picochip/ashrsi3.S: Remove.
563 * config/picochip/ashrsi3.c: Remove.
564 * config/picochip/clzsi2.S: Remove.
565 * config/picochip/cmpsi2.S: Remove.
566 * config/picochip/divmod15.S: Remove.
567 * config/picochip/divmodhi4.S: Remove.
568 * config/picochip/divmodsi4.S: Remove.
569 * config/picochip/lib1funcs.S: Remove.
570 * config/picochip/longjmp.S: Remove.
571 * config/picochip/lshrsi3.S: Remove.
572 * config/picochip/lshrsi3.c: Remove.
573 * config/picochip/parityhi2.S: Remove.
574 * config/picochip/popcounthi2.S: Remove.
575 * config/picochip/setjmp.S: Remove.
576 * config/picochip/subdi3.S: Remove.
577 * config/picochip/t-picochip: Remove.
578 * config/picochip/ucmpsi2.S: Remove.
579 * config/picochip/udivmodhi4.S: Remove.
580 * config/picochip/udivmodsi4.S: Remove.
581
66bb34c0
JM
5822014-09-08 Joseph Myers <joseph@codesourcery.com>
583
584 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
585 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
586 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
587 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
588 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
589 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
590 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
591 defined and LIBGCC2_HAS_DF_MODE is defined.
592 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
593 defined and LIBGCC2_HAS_XF_MODE is defined.
594 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
595 defined and LIBGCC2_HAS_TF_MODE is defined.
596
9686a2e6
JM
5972014-09-08 Joseph Myers <joseph@codesourcery.com>
598
599 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
600 and ROUND_TOWARDS_ZERO conditionals.
601
71c3e2ef
NS
6022014-09-07 Nathan sidwell <nathan@acm.org>
603
604 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
605 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
606
53d68b9f
JM
6072014-09-05 Joseph Myers <joseph@codesourcery.com>
608
609 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
610 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
611 uses to __LIBGCC_STACK_POINTER_REGNUM__.
612 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
613 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
614 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
615 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
616 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
617 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
618 (DWARF_FRAME_REGISTERS): Change all uses to
619 __LIBGCC_DWARF_FRAME_REGISTERS__.
620 (EH_RETURN_STACKADJ_RTX): Change all uses to
621 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
622 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
623 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
624 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
625 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
626 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
627 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
628 to __LIBGCC_EH_FRAME_SECTION_NAME__.
629 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
630 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
631 __LIBGCC_STACK_POINTER_REGNUM__.
632 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
633 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
634 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
635 to __LIBGCC_STACK_POINTER_REGNUM__.
636 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
637 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
638 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
639 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
640 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
641 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
642 (STACK_POINTER_REGNUM): Change all uses to
643 __LIBGCC_STACK_POINTER_REGNUM__.
644 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
645 use to __LIBGCC_STACK_POINTER_REGNUM__.
646 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
647 uses to __LIBGCC_STACK_POINTER_REGNUM__.
648 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
649 to __LIBGCC_DWARF_FRAME_REGISTERS__.
650 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
651 to __LIBGCC_DWARF_FRAME_REGISTERS__.
652 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
653 to __LIBGCC_STACK_POINTER_REGNUM__.
654 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
655 Remove conditional definition.
656 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
657 __LIBGCC_TEXT_SECTION_ASM_OP__.
658 (EH_FRAME_SECTION_NAME): Change all uses to
659 __LIBGCC_EH_FRAME_SECTION_NAME__.
660 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
661 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
662 (CTORS_SECTION_ASM_OP): Change all uses to
663 __LIBGCC_CTORS_SECTION_ASM_OP__.
664 (DTORS_SECTION_ASM_OP): Change all uses to
665 __LIBGCC_DTORS_SECTION_ASM_OP__.
666 (JCR_SECTION_NAME): Change all uses to
667 __LIBGCC_JCR_SECTION_NAME__.
668 (INIT_SECTION_ASM_OP): Change all uses to
669 __LIBGCC_INIT_SECTION_ASM_OP__.
670 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
671 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
672 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
673 __LIBGCC_STACK_GROWS_DOWNWARD__.
674 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
675 __LIBGCC_INIT_SECTION_ASM_OP__.
676 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
677 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
678 (EH_FRAME_SECTION_NAME): Change all uses to
679 __LIBGCC_EH_FRAME_SECTION_NAME__.
680 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
681 definitions. Change all uses to
682 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
683 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
684 __LIBGCC_STACK_GROWS_DOWNWARD__.
685 (DWARF_FRAME_REGISTERS): Change all uses to
686 __LIBGCC_DWARF_FRAME_REGISTERS__.
687 (EH_RETURN_STACKADJ_RTX): Change all uses to
688 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
689 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
690 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
691 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
692 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
693 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
694
b20ee094
NS
6952014-09-02 Nathan sidwell <nathan@acm.org>
696
697 * libgcov-interface.c (STRONG_ALIAS): New.
698 (__gcov_flush): Call __gcov_reset_int.
699 (__gcov_reset): Strong alias for ...
700 (__gcov_reset_ing): ... this renamed hidden version.
701 * libgcov.h (__gcov_reset_int): New declaration.
702
1ac83976
YS
7032014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
704
25efdb9f
YS
705 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
706 call from here...
707 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
708 (__dso_handle): Define on Cygwin.
709 * config/i386/t-cygming (crtbeginS.o): New rule.
710 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
711
1ac83976
YS
712 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
713 declaration syntax.
714
c6f9ea3b
SE
7152014-08-13 Steve Ellcey <sellcey@mips.com>
716
717 * crtstuff.c: Undef caddr_t.
718
5b1ea7c5
SE
7192014-08-12 Steve Ellcey <sellcey@mips.com>
720
721 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
722
4303c581
NS
7232014-08-07 Nathan Sidwell <nathan@acm.org>
724
725 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
726 (LIBGCOV_DRIVER): ... to here.
727 * libgcov.h (gcov_do_dump): New #define.
728 (struct gcov_root): New.
729 (__gcov_root): New declaration.
730 (__gcov_dump_one): Declare.
731 * libgcov-driver.c (gcov_list, gcov_dump_complete,
732 run_accounted): Delete.
733 (gcov_compute_histogram): Add LIST argument, adjust.
734 (compute_summary): Adjust gcov_compute_histogram call.
735 (gcov_do_dump): Not hidden, static in libgcov.
736 (gcov_clear): Move to interface.c.
737 (__gcov_dump_one): New, broken out of ...
738 (gcov_exit): ... here. Make static.
739 (__gcov_root): New.
740 (__gcov_init): Adjust.
741 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
742 declarations.
743 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
744 (gcov_clear): Moved from driver.c. Add LIST argument.
745 (__gcov_reset): Adjust for changed interfaces.
746 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
747
23742a9e
RAR
7482014-08-04 Rohit <rohitarulraj@freescale.com>
749
750 PR target/60102
751 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 752 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 753
b98a872b
NS
7542014-08-01 Nathan Sidwell <nathan@acm.org>
755
756 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
757 LIBGCOV_INTERFACE): Reformat.
758 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
759 IN_GCOV_TOOL.
760 * libgcov-interface.c: Reformat some comments.
761 (__gcov_flush_mx): Add declaration. Tidy up definition.
762
6adaaa1d
AM
7632014-07-31 Alan Modra <amodra@gmail.com>
764 Peter Bergner <bergner@vnet.ibm.com>
765
766 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
767 (pack_ldouble): New function.
768 (__gcc_qadd): Use it.
769 (__gcc_qmul): Likewise.
770 (__gcc_qdiv): Likewise.
771 (__gcc_qneg): Likewise.
772 (__gcc_stoq): Likewise.
773 (__gcc_dtoq): Likewise.
774
87cb0c0c
UW
7752014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
776
777 * config/s390/tpf-unwind.h: Include <stdbool.h>.
778 (__tpf_eh_return): Add original return address as second parameter.
779 Handle cases where unwinder routines were called directly, instead
780 of from within the C++ library.
781
19926161
NS
7822014-07-29 Nathan Sidwell <nathan@acm.org>
783
784 * libgcov.h: Move renaming of entry points to lib gcov specific
785 portion.
786 (gcov_do_dump): New rename.
787 (gcov_rewrite): Remove inline, make HIDDEN.
788 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
789 (gcov_exit_compute_summary): Rename to ...
790 (compute_summary): ... here. Add LIST argument.
791 (gcov_exit_merge_gcda): Rename to ...
792 (merge_one_data): ... here.
793 (gcov_exit_write_gcda): Rename to ...
794 (write_one_data): ... here.
795 (gcov_exit_merge_summary): Rename to ...
796 (merge_summary): Add RUN_COUNTED argument.
797 (gcov_exit_dump_gcov): Rename to ...
798 (dump_one_gcov): Add RUN_COUNTED argument.
799 (gcov_do_dump): New function, broken out of ...
800 (gcov_exit): ... here. Call it.
801
17522262
AG
8022014-07-27 Anthony Green <green@moxielogic.com>
803
804 * config.host: Add moxiebox configuration suppport.
805
6dc33097
NS
8062014-07-27 Nathan Sidwell <nathan@acm.org>
807
808 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
809 (struct gcov_filename): ... here. Include buffer and max length
810 fields.
811 (gcov_max_filename): Remove.
812 (gi_filename): Remove.
813 (gcov_exit_compute_summary): Compute max filename here.
814 (gcov_exit_merge_gcda): Add filename parm, adjust.
815 (gcov_exit_merge_summary): Likewise.
816 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
817 (gcov_exit): Likewise.
818 (__gcov_init): Don't calculate max length here.
819 * libgcov_util.c (max_filename_len): Remove.
820 (read_gcda_file): Don't calculate max length here.
821 (gcov_read_profile_dir): Don't propagate here.
822 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
823 struct gcov_filename changes.
824 (gcov_exit_open_gcda_file): Likewise.
825
770f687d
NS
8262014-07-25 Nathan Sidwell <nathan@acm.org>
827
828 * libgcov-driver.c (set_gcov_dump_complete,
829 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
830 functions polluting user's namespace.
831 (gcov_exit): Set variable directly.
832 (gcov_clear): Reset variable directly.
833 * libgcov-interface.c (get_gcov_dymp_complete,
834 reset_gov_dump_complete): Remove declarations.
835 (__gcov_reset, __gcov_dump): Don't call them.
836
fabf71ba
DD
8372014-07-24 DJ Delorie <dj@redhat.com>
838
839 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
840 (__gcc_deregister_frame): Move logic to detect deregister function
841 to ...
842 (__gcc_register_frame): here, so it's consistent with the register
843 logic.
fabf71ba 844
d10ee722
NS
8452014-07-23 Nathan Sidwell <nathan@acm.org>
846
847 * libgcov-driver.c (set_gcov_list): Remove.
848 (gcov_list): Make non-static in GCOV_TOOL.
849 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
850
a4137090
JDA
8512014-07-17 John David Anglin <danglin@gcc.gnu.org>
852
853 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
854 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
855 Don't use SYNC_LOCK_RELEASE for int type.
856
72602c6c
RB
8572014-07-14 Richard Biener <rguenther@suse.de>
858
859 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
860
d5313205
RX
8612014-07-11 Rong Xu <xur@google.com>
862
863 * libgcov-util.c (gcov_max_filename): Fix declartion.
864
c77556a5
RX
8652014-07-10 Rong Xu <xur@google.com>
866
867 Add gcov-tool: an offline gcda profile processing tool
868 Support.
869 * libgcov-driver.c (gcov_max_filename): Make available
870 to gcov-tool.
871 * libgcov-merge.c (__gcov_merge_add): Replace
872 gcov_read_counter() with a Macro.
873 (__gcov_merge_ior): Ditto.
874 (__gcov_merge_time_profile): Ditto.
875 (__gcov_merge_single): Ditto.
876 (__gcov_merge_delta): Ditto.
877 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
878 in the utility functions.
879 (set_fn_ctrs): Utility function for reading gcda files to in-memory
880 gcov_list object link lists.
881 (tag_function): Ditto.
882 (tag_blocks): Ditto.
883 (tag_arcs): Ditto.
884 (tag_lines): Ditto.
885 (tag_counters): Ditto.
886 (tag_summary): Ditto.
887 (read_gcda_finalize): Ditto.
888 (read_gcda_file): Ditto.
889 (ftw_read_file): Ditto.
890 (read_profile_dir_init): Ditto.
891 (gcov_read_profile_dir): Ditto.
892 (gcov_read_counter_mem): Ditto.
893 (gcov_get_merge_weight): Ditto.
894 (merge_wrapper): A wrapper function that calls merging handler.
895 (gcov_merge): Merge two gcov_info objects with weights.
896 (find_match_gcov_info): Find the matched gcov_info in the list.
897 (gcov_profile_merge): Merge two gcov_info object lists.
898 (__gcov_add_counter_op): Process edge profile counter values.
899 (__gcov_ior_counter_op): Process IOR profile counter values.
900 (__gcov_delta_counter_op): Process delta profile counter values.
901 (__gcov_single_counter_op): Process single profile counter values.
902 (fp_scale): Callback function for float-point scaling.
903 (int_scale): Callback function for integer fraction scaling.
904 (gcov_profile_scale): Scaling profile counters.
905 (gcov_profile_normalize): Normalize profile counters.
906 * libgcov.h: Add headers and functions for gcov-tool use.
907 (gcov_get_counter): New.
908 (gcov_get_counter_target): Ditto.
909 (struct gcov_info): Make the functions field mutable in gcov-tool
910 compilation.
911
5c7dac8a
KT
9122014-06-23 Kai Tietz <ktietz@redhat.com>
913
914 PR libgcc/61585
915 * unwind-seh.c (_Unwind_GetGR): Check for proper
916 index range.
917 (_Unwind_SetGR): Likewise.
918
161c9312
NC
9192014-05-22 Nick Clifton <nickc@redhat.com>
920
921 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
922 -mhwmult=none.
923
e3f0315f
TJ
9242014-05-22 Teresa Johnson <tejohnson@google.com>
925
926 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
927 include.
928
dbed5a9b
JM
9292014-05-20 John Marino <gnugcc@marino.st>
930
931 * config.host (*-*-dragonfly*): New target.
932 * crtstuff.c: Make dl_iterate_support generic on *bsd.
933 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
934 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
935 * config/i386/dragonfly-unwind.h: New.
936
1ec380e5
MR
9372014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
938
939 PR libgcc/60166
940 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
941 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
942
54fde020
BE
9432014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
944
945 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
946 implementation.
947
999db125
GJL
9482014-05-12 Georg-Johann Lay <avr@gjlay.de>
949
950 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
951
cceaf54a
RO
9522014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
953
954 PR libgcc/61097
955 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
956 if --enable-shared.
957
e3fe9b5b
BE
9582014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
959
960 Work around for current cygwin32 build problems.
961 * config/i386/cygming-crtbegin.c (__register_frame_info,
962 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
963 functions only for 64-bit systems.
964
54cf37e9
RO
9652014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
966
967 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
968 (sigill_caught, sigill_hdlr): Remove.
969
d9f069ab
RO
9702014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
971
972 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
973 check.
974 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
975 Solaris 9 single-threaded support.
976 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
977 Solaris 9 single-threaded support. Add call_user_handler code
978 sequences.
979 (sparc_is_sighandler): Likewise.
980
59976ef8
AK
9812014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
982
983 * config.host: Append t-floattodi to tmake_file depending on
984 host_address.
985
d02bbcf3
JS
9862014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
987
31466bc0 988 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 989
c2e7e597
UB
9902014-03-10 Uros Bizjak <ubizjak@gmail.com>
991
992 PR libgcc/60472
993 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 994 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
995 Use __builtin_expect when checking *jcr_list for NULL.
996
227a7dc8
RO
9972014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
998
999 PR libgcc/59339
1000 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
1001 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
1002 vtv_*.o to extra_parts if enable_vtable_verify.
1003
df2b279c
NC
10042014-03-06 Nick Clifton <nickc@redhat.com>
1005
1006 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
1007 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
1008
dc11d79b
JY
10092014-02-28 Joey Ye <joey.ye@arm.com>
1010
1011 PR libgcc/60166
1012 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
1013 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
1014 Set to zero.
1015
341c653c
WL
10162014-02-24 Walter Lee <walt@tilera.com>
1017
1018 * config.host: Support "tilegx*" and "tilepro*" triplets.
1019 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
1020 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
1021
95ce7613
CLT
10222014-02-20 Sandra Loosemore <sandra@codesourcery.com>
1023 Chung-Lin Tang <cltang@codesourcery.com>
1024
1025 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
1026 * config/nios2/crti.S: Remove .file directive.
1027 * config/nios2/crtn.S: Likewise.
1028
0bb4fc05
KT
10292014-02-18 Kai Tietz <ktietz@redhat.com>
1030 Jonathan Schleifer <js@webkeks.org>
1031
1032 PR objc/56870
1033 * unwind-seh.c (_GCC_specific_handler): Pass proper
1034 value to unwind-handler.
1035
9acf28f1
JM
10362014-02-12 Joseph Myers <joseph@codesourcery.com>
1037
1038 * soft-fp/adddf3.c: Update from glibc.
1039 * soft-fp/addsf3.c: Likewise.
1040 * soft-fp/addtf3.c: Likewise.
1041 * soft-fp/divdf3.c: Likewise.
1042 * soft-fp/divsf3.c: Likewise.
1043 * soft-fp/divtf3.c: Likewise.
1044 * soft-fp/double.h: Likewise.
1045 * soft-fp/eqdf2.c: Likewise.
1046 * soft-fp/eqsf2.c: Likewise.
1047 * soft-fp/eqtf2.c: Likewise.
1048 * soft-fp/extenddftf2.c: Likewise.
1049 * soft-fp/extended.h: Likewise.
1050 * soft-fp/extendsfdf2.c: Likewise.
1051 * soft-fp/extendsftf2.c: Likewise.
1052 * soft-fp/extendxftf2.c: Likewise.
1053 * soft-fp/fixdfdi.c: Likewise.
1054 * soft-fp/fixdfsi.c: Likewise.
1055 * soft-fp/fixdfti.c: Likewise.
1056 * soft-fp/fixsfdi.c: Likewise.
1057 * soft-fp/fixsfsi.c: Likewise.
1058 * soft-fp/fixsfti.c: Likewise.
1059 * soft-fp/fixtfdi.c: Likewise.
1060 * soft-fp/fixtfsi.c: Likewise.
1061 * soft-fp/fixtfti.c: Likewise.
1062 * soft-fp/fixunsdfdi.c: Likewise.
1063 * soft-fp/fixunsdfsi.c: Likewise.
1064 * soft-fp/fixunsdfti.c: Likewise.
1065 * soft-fp/fixunssfdi.c: Likewise.
1066 * soft-fp/fixunssfsi.c: Likewise.
1067 * soft-fp/fixunssfti.c: Likewise.
1068 * soft-fp/fixunstfdi.c: Likewise.
1069 * soft-fp/fixunstfsi.c: Likewise.
1070 * soft-fp/fixunstfti.c: Likewise.
1071 * soft-fp/floatdidf.c: Likewise.
1072 * soft-fp/floatdisf.c: Likewise.
1073 * soft-fp/floatditf.c: Likewise.
1074 * soft-fp/floatsidf.c: Likewise.
1075 * soft-fp/floatsisf.c: Likewise.
1076 * soft-fp/floatsitf.c: Likewise.
1077 * soft-fp/floattidf.c: Likewise.
1078 * soft-fp/floattisf.c: Likewise.
1079 * soft-fp/floattitf.c: Likewise.
1080 * soft-fp/floatundidf.c: Likewise.
1081 * soft-fp/floatundisf.c: Likewise.
1082 * soft-fp/floatunditf.c: Likewise.
1083 * soft-fp/floatunsidf.c: Likewise.
1084 * soft-fp/floatunsisf.c: Likewise.
1085 * soft-fp/floatunsitf.c: Likewise.
1086 * soft-fp/floatuntidf.c: Likewise.
1087 * soft-fp/floatuntisf.c: Likewise.
1088 * soft-fp/floatuntitf.c: Likewise.
1089 * soft-fp/gedf2.c: Likewise.
1090 * soft-fp/gesf2.c: Likewise.
1091 * soft-fp/getf2.c: Likewise.
1092 * soft-fp/ledf2.c: Likewise.
1093 * soft-fp/lesf2.c: Likewise.
1094 * soft-fp/letf2.c: Likewise.
1095 * soft-fp/muldf3.c: Likewise.
1096 * soft-fp/mulsf3.c: Likewise.
1097 * soft-fp/multf3.c: Likewise.
1098 * soft-fp/negdf2.c: Likewise.
1099 * soft-fp/negsf2.c: Likewise.
1100 * soft-fp/negtf2.c: Likewise.
1101 * soft-fp/op-1.h: Likewise.
1102 * soft-fp/op-2.h: Likewise.
1103 * soft-fp/op-4.h: Likewise.
1104 * soft-fp/op-8.h: Likewise.
1105 * soft-fp/op-common.h: Likewise.
1106 * soft-fp/quad.h: Likewise.
1107 * soft-fp/single.h: Likewise.
1108 * soft-fp/soft-fp.h: Likewise.
1109 * soft-fp/subdf3.c: Likewise.
1110 * soft-fp/subsf3.c: Likewise.
1111 * soft-fp/subtf3.c: Likewise.
1112 * soft-fp/truncdfsf2.c: Likewise.
1113 * soft-fp/trunctfdf2.c: Likewise.
1114 * soft-fp/trunctfsf2.c: Likewise.
1115 * soft-fp/trunctfxf2.c: Likewise.
1116 * soft-fp/unorddf2.c: Likewise.
1117 * soft-fp/unordsf2.c: Likewise.
1118 * soft-fp/unordtf2.c: Likewise.
1119 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
1120 macro.
1121 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1122 Likewise.
1123 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1124 Likewise.
1125 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1126 Likewise.
1127 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1128 Likewise.
1129 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1130 Likewise.
1131 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1132 Likewise.
1133 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1134 Likewise.
1135 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1136 Likewise.
1137 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1138 Likewise.
1139 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1140 Likewise.
1141 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1142 Likewise.
1143 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1144 Likewise.
1145 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
1146 Likewise.
1147 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
1148 Likewise.
1149 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1150 Likewise.
1151
ce245ec6
AK
11522014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1153
1154 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
1155 cannot be represented.
1156 * config/s390/32/_fixsfdi.c: Likewise.
1157 * config/s390/32/_fixtfdi.c: Likewise.
1158 * config/s390/32/_fixunsdfdi.c: Likewise.
1159 * config/s390/32/_fixunssfdi.c: Likewise.
1160 * config/s390/32/_fixunstfdi.c: Likewise.
1161
1c51d688
RS
11622014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
1163
1164 * configure.ac (libgcc_cv_mips_hard_float): New.
1165 * configure: Regenerate.
1166 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
1167 t-softfp-sfdf for hard-float targets.
1168 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
1169 (softfp_float_modes, softfp_int_modes, softfp_extensions)
1170 (softfp_truncations, softfp_exclude_libgcc2): New.
1171 * config/t-hardfp: New file.
1172 * config/t-hardfp-sfdf: Likewise.
1173 * config/hardfp.c: Likewise.
1174
bbf391db
AK
11752014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1176
1177 * config.host: Include t-floattodi also for s390x.
1178 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
1179 * config/s390/32/_fixsfdi.c: Likewise.
1180 * config/s390/32/_fixtfdi.c: Likewise.
1181 * config/s390/32/_fixunsdfdi.c: Likewise.
1182 * config/s390/32/_fixunssfdi.c: Likewise.
1183 * config/s390/32/_fixunstfdi.c: Likewise.
1184
91da0481
RO
11852014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1186
1187 PR target/59788
1188 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
1189 (install-libgcc-unwind-map-forbuild): New target.
1190 (all): Depend on install-libgcc-unwind-map-forbuild.
1191 (install-libgcc-unwind-map): New target.
1192 (install): Depend on install-libgcc-unwind-map.
1193
02b67731
SL
11942014-02-02 Sandra Loosemore <sandra@codesourcery.com>
1195
1196 * config/nios2/crti.S (_init): Initialize GOT pointer from
1197 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
1198
1ea0a651
RS
11992014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
1200
1201 * configure.ac: Check __mips64 when setting host_address.
1202 * configure: Regenerate.
1203 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
1204 mips/t-mips64 and t-softfp.
1205 (mips*-*-linux*): Don't add mips/t-tpbit.
1206 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
1207 (DPBIT, DPBIT_CFLAGS): Delete.
1208 * config/mips/sfp-machine.h: New file.
1209 * config/mips/t-mips64: Likewise.
1210 * config/mips/t-softfp-tf: Likewise.
1211 * config/mips/t-tpbit: Delete.
1212
f32b0061
MS
12132014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
1214
1215 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
1216 as long long.
1217
a5420aa4
WL
12182014-01-25 Walter Lee <walt@tilera.com>
1219
1220 * config/tilepro/atomic.c: Include tconfig.h. Don't include
1221 config.h or system.h.
1222 (bool) Define.
1223
24534912
WL
12242014-01-25 Walter Lee <walt@tilera.com>
1225
1226 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
1227 (post_atomic_barrier): Ditto.
1228 (__fetch_and_do): New macro.
1229 (__atomic_fetch_and_do): Use __fetch_and_do.
1230 (__sync_fetch_and_do): New macro.
1231 (__sync_fetch_and_add_4): New function.
1232 (__sync_fetch_and_sub_4): New function.
1233 (__sync_fetch_and_or_4): New function.
1234 (__sync_fetch_and_and_4): New function.
1235 (__sync_fetch_and_xor_4): New function.
1236 (__sync_fetch_and_nand_4): New function.
1237 (__sync_fetch_and_add_8): New function.
1238 (__sync_fetch_and_sub_8): New function.
1239 (__sync_fetch_and_or_8): New function.
1240 (__sync_fetch_and_and_8): New function.
1241 (__sync_fetch_and_xor_8): New function.
1242 (__sync_fetch_and_nand_8): New function.
1243 (__do_and_fetch): New macro.
1244 (__atomic_do_and_fetch): Use __do_and_fetch.
1245 (__sync_do_and_fetch): New macro.
1246 (__sync_add_and_fetch_4): New function.
1247 (__sync_sub_and_fetch_4): New function.
1248 (__sync_or_and_fetch_4): New function.
1249 (__sync_and_and_fetch_4): New function.
1250 (__sync_xor_and_fetch_4): New function.
1251 (__sync_nand_and_fetch_4): New function.
1252 (__sync_add_and_fetch_8): New function.
1253 (__sync_sub_and_fetch_8): New function.
1254 (__sync_or_and_fetch_8): New function.
1255 (__sync_and_and_fetch_8): New function.
1256 (__sync_xor_and_fetch_8): New function.
1257 (__sync_nand_and_fetch_8): New function.
1258 (__sync_exchange_methods): New macro.
1259 (__sync_val_compare_and_swap_4): New function.
1260 (__sync_bool_compare_and_swap_4): New function.
1261 (__sync_lock_test_and_test_4): New function.
1262 (__sync_val_compare_and_swap_8): New function.
1263 (__sync_bool_compare_and_swap_8): New function.
1264 (__sync_lock_test_and_test_8): New function.
1265 (__subword_cmpxchg_body): New macro.
1266 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
1267 (__atomic_compare_exchange_2): Ditto.
1268 (__sync_subword_cmpxchg): New macro.
1269 (__sync_val_compare_and_swap_1): New function.
1270 (__sync_bool_compare_and_swap_1): New function.
1271 (__sync_val_compare_and_swap_2): New function.
1272 (__sync_bool_compare_and_swap_2): New function.
1273 (__atomic_subword): Rename to ...
1274 (__subword): ... New name.
1275 (__atomic_subword_fetch): Use __subword.
1276 (__sync_subword_fetch): New macro.
1277 (__sync_fetch_and_add_1): New function.
1278 (__sync_fetch_and_sub_1): New function.
1279 (__sync_fetch_and_or_1): New function.
1280 (__sync_fetch_and_and_1): New function.
1281 (__sync_fetch_and_xor_1): New function.
1282 (__sync_fetch_and_nand_1): New function.
1283 (__sync_fetch_and_add_2): New function.
1284 (__sync_fetch_and_sub_2): New function.
1285 (__sync_fetch_and_or_2): New function.
1286 (__sync_fetch_and_and_2): New function.
1287 (__sync_fetch_and_xor_2): New function.
1288 (__sync_fetch_and_nand_2): New function.
1289 (__sync_add_and_fetch_1): New function.
1290 (__sync_sub_and_fetch_1): New function.
1291 (__sync_or_and_fetch_1): New function.
1292 (__sync_and_and_fetch_1): New function.
1293 (__sync_xor_and_fetch_1): New function.
1294 (__sync_nand_and_fetch_1): New function.
1295 (__sync_add_and_fetch_2): New function.
1296 (__sync_sub_and_fetch_2): New function.
1297 (__sync_or_and_fetch_2): New function.
1298 (__sync_and_and_fetch_2): New function.
1299 (__sync_xor_and_fetch_2): New function.
1300 (__sync_nand_and_fetch_2): New function.
1301 (__atomic_subword_lock): Use __subword.
1302 (__sync_subword_lock): New macro.
1303 (__sync_lock_test_and_set_1): New function.
1304 (__sync_lock_test_and_set_2): New function.
1305
4d6d3bc5
WL
13062014-01-25 Walter Lee <walt@tilera.com>
1307
1308 * config/tilepro/atomic.c (BIT_OFFSET): Define.
1309 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
1310 (__atomic_subword): Ditto.
1311
cbd9890e
WL
13122014-01-25 Walter Lee <walt@tilera.com>
1313
1314 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
1315 a prefix op argument.
1316 (__atomic_nand_fetch_4): Add prefix op.
1317 (__atomic_nand_fetch_8): Ditto.
1318
8fc36b15 13192014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
1320
1321 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
1322
46dd1242
L
13232014-01-09 Rong Xu <xur@google.com>
1324
1325 * libgcov-driver.c (this_prg): make it local to save
1326 bss space.
1327 (gcov_exit_compute_summary): Ditto.
1328 (gcov_exit_merge_gcda): Ditto.
1329 (gcov_exit_merge_summary): Ditto.
1330 (gcov_exit_dump_gcov): Ditto.
1331
40d6b753
RX
13322014-01-08 Rong Xu <xur@google.com>
1333
1334 * libgcov-driver.c: Use libgcov.h.
1335 (buffer_fn_data): Use xmalloc instead of malloc.
1336 (gcov_exit_merge_gcda): Ditto.
1337 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
1338 * libgcov.h: New common header files for libgcov-*.h.
1339 * libgcov-interface.c: Use libgcov.h
1340 * libgcov-merge.c: Ditto.
1341 * libgcov-profiler.c: Ditto.
1342 * Makefile.in: Add dependence to libgcov.h
1343
a02e7bdd
JM
13442014-01-02 Joseph Myers <joseph@codesourcery.com>
1345
1346 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
1347 case of small numerator and finite nonzero result.
1348
ac1dca3c
RS
13492014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1350
1351 Update copyright years
1352
f9030485
RS
13532014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1354
1355 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
1356 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
1357 config/arc/dp-hack.h, config/arc/fp-hack.h,
1358 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
1359 config/arc/ieee-754/arc600-dsp/divdf3.S,
1360 config/arc/ieee-754/arc600-dsp/divsf3.S,
1361 config/arc/ieee-754/arc600-dsp/muldf3.S,
1362 config/arc/ieee-754/arc600-dsp/mulsf3.S,
1363 config/arc/ieee-754/arc600-mul64/divdf3.S,
1364 config/arc/ieee-754/arc600-mul64/divsf3.S,
1365 config/arc/ieee-754/arc600-mul64/muldf3.S,
1366 config/arc/ieee-754/arc600-mul64/mulsf3.S,
1367 config/arc/ieee-754/arc600/divsf3.S,
1368 config/arc/ieee-754/arc600/mulsf3.S,
1369 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
1370 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
1371 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
1372 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
1373 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
1374 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
1375 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
1376 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
1377 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
1378 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
1379 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
1380 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
1381 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
1382 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
1383 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
1384 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
1385 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
1386 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
1387 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
1388 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
1389 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
1390 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
1391 vtv_start_preinit.c: Use the standard form for the copyright notice.
1392
e430824f
CLT
13932013-12-31 Sandra Loosemore <sandra@codesourcery.com>
1394 Chung-Lin Tang <cltang@codesourcery.com>
1395 Based on patches from Altera Corporation
1396
1397 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
1398 * config/nios2/lib2-nios2.h: New file.
1399 * config/nios2/lib2-divmod-hi.c: New file.
1400 * config/nios2/linux-unwind.h: New file.
1401 * config/nios2/lib2-divmod.c: New file.
1402 * config/nios2/linux-atomic.c: New file.
1403 * config/nios2/t-nios2: New file.
1404 * config/nios2/crti.asm: New file.
1405 * config/nios2/t-linux: New file.
1406 * config/nios2/lib2-divtable.c: New file.
1407 * config/nios2/lib2-mul.c: New file.
1408 * config/nios2/tramp.c: New file.
1409 * config/nios2/crtn.asm: New file.
1410
1879e97f
UB
14112013-12-26 Uros Bizjak <ubizjak@gmail.com>
1412
1413 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
1414 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
1415 from cpuid.h to check vendor signatures.
1416
f4a4bdbb
GG
14172013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
1418
c2e7e597 1419 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
1420 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
1421 (get_amd_cpu): Likewise.
1422
8d2ae544
L
14232013-12-25 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
1426 Haswell.
1427
74924838
ASJ
14282013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
1429 H.J. Lu <hongjiu.lu@intel.com>
1430
0bb52f25
L
1431 PR target/59422
1432 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
1433 and AMD_JAGUAR.
1434 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
1435 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
1436 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
1437 FEATURE_XOP and FEATURE_FMA.
1438 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
1439 AMDFAM15H_BDVER3.
1440 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 1441 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
1442 FEATURE_FMA4 and FEATURE_XOP.
1443
d3c11974
L
14442013-12-23 H.J. Lu <hongjiu.lu@intel.com>
1445
1446 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
1447 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
1448 (get_intel_cpu): Updated.
1449
064c4ff2
ZC
14502013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
1451
1452 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
1453
8b02e720
UB
14542013-12-09 Uros Bizjak <ubizjak@gmail.com>
1455
1456 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 1457 instructions when __SSE_MATH__ is defined.
8b02e720 1458
3fa2ccb4
RC
14592013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
1460
1461 * config.host (microblaze-*-rtems*): New.
1462
ecd78fc9
KV
14632013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
1464
1465 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
1466 architectures that do not have hardware divide instruction.
1467 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
1468
b21fbbd2
RS
14692013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
1470
1471 * longlong.h: Delete (moved to include/).
1472
b03fb8c9
AZ
14732013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1474
1475 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
1476 of normal number and qNaN to not raise an inexact exception.
1477
3c716922
UB
14782013-11-28 Uros Bizjak <ubizjak@gmail.com>
1479
1480 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
1481
14822013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
1483
1484 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
1485 for correct opcodes on BE.
1486
a3458d22
UB
14872013-11-27 Uros Bizjak <ubizjak@gmail.com>
1488
1489 * soft-fp/op-4.h: Update from glibc.
1490
30b8f78b
KV
14912013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
1492
1493 * libgcc2.c (__udivmoddi4): Define new implementation when
1494 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
1495 divide instructions.
1496
82552a29
OE
14972013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
1498
1499 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
1500
80e87457
RO
15012013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1502
1503 * config/t-softfp (soft-fp-objects-base): New variable.
1504 (soft-fp-objects): Use it.
1505
44178879
DE
15062013-11-23 David Edelson <dje.gcc@gmail.com>
1507 Andrew Dixie <andrewd@gentrack.com>
1508
1509 PR target/33704
1510 * config/rs6000/aixinitfini.c: New file.
1511 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
1512 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
1513 symbols.
1514
e5287671
YR
15152013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
1516
a3458d22 1517 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 1518
867c8b03
JH
15192013-11-18 Jan Hubicka <jh@suse.cz>
1520
7f369373
JH
1521 * libgcov-driver.c (run_accounted): Make global level static.
1522 (gcov_exit_merge_summary): Silence warning; do not clear
1523 run_accounted here.
1524 (gcov_exit): Clear it here.
1525
1d0b3334
JH
1526 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
1527 run_accounted.
1528
867c8b03
JH
1529 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
1530 (all_prg, crc32): Remove static vars.
1531 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
1532 all_prg.
1533 (gcov_exit_merge_gcda): Add crc32 parameter.
1534 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
1535 do not account run if it was already accounted.
1536 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
1537 (gcov_exit): Initialize all_prg; update.
1538
66204992
AS
15392013-11-15 Andreas Schwab <schwab@linux-m68k.org>
1540
1541 * configure: Regenerate.
1542
b54214fe
UW
15432013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1544 Alan Modra <amodra@gmail.com>
1545
1546 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
1547 (frob_update_context): Use it.
1548
15492013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1550 Alan Modra <amodra@gmail.com>
1551
1552 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
1553 (trampoline_initial): Provide ELFv2 variant.
1554 (__trampoline_setup): Likewise.
1555
1556 * config/rs6000/linux-unwind.h (frob_update_context): Do not
1557 check for AIX indirect function call sequence if _CALL_ELF == 2.
1558
15592013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1560 Alan Modra <amodra@gmail.com>
1561
1562 * config/rs6000/linux-unwind.h (get_regs): Do not support
1563 old kernel versions if _CALL_ELF == 2.
1564 (frob_update_context): Do not support PLT stub variants only
1565 generated by old linkers if _CALL_ELF == 2.
1566
13e0981a
UW
15672013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1568 Alan Modra <amodra@gmail.com>
1569
1570 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
1571 location of CR save area for 64-bit little-endian systems.
1572
1a80085d
EB
15732013-11-11 Eric Botcazou <ebotcazou@adacore.com>
1574
1575 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
1576 in tmake_file.
1577 * config/arm/t-vxworks: Delete.
1578
cabeea52
KT
15792013-11-10 Kai Tietz <ktietz@redhat.com>
1580
1581 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
1582 Increment load-count on use of LIBGCC_SONAME DLL.
1583 (hmod_libgcc): New static variable to hold handle of
1584 LIBGCC_SONAME DLL.
1585 (__gcc_deregister_frame): Decrement load-count of
1586 LIBGCC_SONAME DLL.
1587
ac088ba1
BRF
15882013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
1589
1590 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
1591 availability.
1592 * configure: Regenerate
1593
d59a8fcc
UB
15942013-11-07 Uros Bizjak <ubizjak@gmail.com>
1595
1596 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
1597 FP_EX_DENORM. Store result to volatile location after SSE division
1598 to close interrupt window. Remove unneeded fwait after x87
1599 division since interrupt window will be closed by emitted fstp.
9de84e84 1600 Rewrite FP_EX_INEXACT handling.
d59a8fcc 1601
9954c743
JM
16022013-11-06 Joseph Myers <joseph@codesourcery.com>
1603
1604 * soft-fp/README: Update.
1605 * soft-fp/adddf3.c: Update from glibc.
1606 * soft-fp/addsf3.c: Likewise.
1607 * soft-fp/addtf3.c: Likewise.
1608 * soft-fp/divdf3.c: Likewise.
1609 * soft-fp/divsf3.c: Likewise.
1610 * soft-fp/divtf3.c: Likewise.
1611 * soft-fp/double.h: Likewise.
1612 * soft-fp/eqdf2.c: Likewise.
1613 * soft-fp/eqsf2.c: Likewise.
1614 * soft-fp/eqtf2.c: Likewise.
1615 * soft-fp/extenddftf2.c: Likewise.
1616 * soft-fp/extended.h: Likewise.
1617 * soft-fp/extendsfdf2.c: Likewise.
1618 * soft-fp/extendsftf2.c: Likewise.
1619 * soft-fp/extendxftf2.c: Likewise.
1620 * soft-fp/fixdfdi.c: Likewise.
1621 * soft-fp/fixdfsi.c: Likewise.
1622 * soft-fp/fixdfti.c: Likewise.
1623 * soft-fp/fixsfdi.c: Likewise.
1624 * soft-fp/fixsfsi.c: Likewise.
1625 * soft-fp/fixsfti.c: Likewise.
1626 * soft-fp/fixtfdi.c: Likewise.
1627 * soft-fp/fixtfsi.c: Likewise.
1628 * soft-fp/fixtfti.c: Likewise.
1629 * soft-fp/fixunsdfdi.c: Likewise.
1630 * soft-fp/fixunsdfsi.c: Likewise.
1631 * soft-fp/fixunsdfti.c: Likewise.
1632 * soft-fp/fixunssfdi.c: Likewise.
1633 * soft-fp/fixunssfsi.c: Likewise.
1634 * soft-fp/fixunssfti.c: Likewise.
1635 * soft-fp/fixunstfdi.c: Likewise.
1636 * soft-fp/fixunstfsi.c: Likewise.
1637 * soft-fp/fixunstfti.c: Likewise.
1638 * soft-fp/floatdidf.c: Likewise.
1639 * soft-fp/floatdisf.c: Likewise.
1640 * soft-fp/floatditf.c: Likewise.
1641 * soft-fp/floatsidf.c: Likewise.
1642 * soft-fp/floatsisf.c: Likewise.
1643 * soft-fp/floatsitf.c: Likewise.
1644 * soft-fp/floattidf.c: Likewise.
1645 * soft-fp/floattisf.c: Likewise.
1646 * soft-fp/floattitf.c: Likewise.
1647 * soft-fp/floatundidf.c: Likewise.
1648 * soft-fp/floatundisf.c: Likewise.
1649 * soft-fp/floatunditf.c: Likewise.
1650 * soft-fp/floatunsidf.c: Likewise.
1651 * soft-fp/floatunsisf.c: Likewise.
1652 * soft-fp/floatunsitf.c: Likewise.
1653 * soft-fp/floatuntidf.c: Likewise.
1654 * soft-fp/floatuntisf.c: Likewise.
1655 * soft-fp/floatuntitf.c: Likewise.
1656 * soft-fp/gedf2.c: Likewise.
1657 * soft-fp/gesf2.c: Likewise.
1658 * soft-fp/getf2.c: Likewise.
1659 * soft-fp/ledf2.c: Likewise.
1660 * soft-fp/lesf2.c: Likewise.
1661 * soft-fp/letf2.c: Likewise.
1662 * soft-fp/muldf3.c: Likewise.
1663 * soft-fp/mulsf3.c: Likewise.
1664 * soft-fp/multf3.c: Likewise.
1665 * soft-fp/negdf2.c: Likewise.
1666 * soft-fp/negsf2.c: Likewise.
1667 * soft-fp/negtf2.c: Likewise.
1668 * soft-fp/op-1.h: Likewise.
1669 * soft-fp/op-2.h: Likewise.
1670 * soft-fp/op-4.h: Likewise.
1671 * soft-fp/op-8.h: Likewise.
1672 * soft-fp/op-common.h: Likewise.
1673 * soft-fp/quad.h: Likewise.
1674 * soft-fp/single.h: Likewise.
1675 * soft-fp/soft-fp.h: Likewise.
1676 * soft-fp/subdf3.c: Likewise.
1677 * soft-fp/subsf3.c: Likewise.
1678 * soft-fp/subtf3.c: Likewise.
1679 * soft-fp/truncdfsf2.c: Likewise.
1680 * soft-fp/trunctfdf2.c: Likewise.
1681 * soft-fp/trunctfsf2.c: Likewise.
1682 * soft-fp/trunctfxf2.c: Likewise.
1683 * soft-fp/unorddf2.c: Likewise.
1684 * soft-fp/unordsf2.c: Likewise.
1685 * soft-fp/unordtf2.c: Likewise.
1686
02ac9503
UB
16872013-11-05 Uros Bizjak <ubizjak@gmail.com>
1688
1689 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
1690 (_FP_MUL_MEAT_D): Ditto.
1691 (_FP_DIV_MEAT_S): Ditto.
1692 (_FP_DIV_MEAT_D): Ditto.
1693 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
1694 t-softfp-sfdf and t-softfp to tmake_file.
1695
61221141
UB
16962013-11-03 Uros Bizjak <ubizjak@gmail.com>
1697
1698 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
1699 * config/i386/crtprec.c: Ditto.
1700
9304f876
CJW
17012013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
1702 Shiva Chen <shiva0217@gmail.com>
1703
1704 * config.host (nds32*-elf*): Add nds32 target.
1705 * config/nds32 : New directory and files.
1706
0e499e75
HPN
17072013-10-16 Hans-Peter Nilsson <hp@axis.com>
1708
1709 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
1710 * config.host (cpu_type) <Setting default>: Add entry for
1711 crisv32-*-*.
1712 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
1713 <crisv32-*-linux*>: Adjust.
1714 * longlong.h: Wrap the whole CRIS section in a single
1715 defined(__CRIS__) conditional. Add comment about add_ssaaaa
1716 and sub_ddmmss.
1717 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
1718 defined.
1719 [__CRIS__] (__umulsidi3): Define.
1720 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
1721 * config/cris/sfp-machine.h: New file.
1722 * config/cris/umulsidi3.S: New file.
1723 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
1724 * config/cris/arit.c (SIGNMULT): New macro.
1725 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
1726 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
1727 saving 3 out of originally 33 cycles from the fastest
1728 path, 3 out of 54 from the medium path and one from the longest
1729 path. Improve comments.
1730
16022041
RS
17312013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
1732
1733 * sync.c: Remove static aliases and define each function directly
1734 under its real name.
1735
69778659
JDA
17362013-10-02 John David Anglin <danglin@gcc.gnu.org>
1737
1738 * config.host (hppa*64*-*-linux*): Define extra_parts.
1739 (hppa*-*-linux*): Likewise.
1740
2deaf8b0
JR
17412013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
1742
1743 * config/arc/crtgend.S: Add 2013 to Copyright years.
1744 * config/arc/gmon/atomic.h: Likewise.
1745 * config/arc/gmon/auxreg.h: Likewise.
1746 * config/arc/gmon/sys/gmon_out.h: Likewise.
1747 * config/arc/gmon/sys/gmon.h: Likewise.
1748 * config/arc/gmon/prof-freq.c: Likewise.
1749 * config/arc/gmon/mcount.c: Likewise.
1750 * config/arc/gmon/prof-freq-stub.S: Likewise.
1751 * config/arc/gmon/gmon.c: Likewise.
1752 * config/arc/gmon/machine-gmon.h: Likewise.
1753 * config/arc/gmon/profil.S: Likewise.
1754 * config/arc/gmon/dcache_linesz.S: Likewise.
1755 * config/arc/crtg.S: Likewise.
1756 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
1757 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
1758 * config/arc/ieee-754/adddf3.S: Likewise.
1759 * config/arc/ieee-754/truncdfsf2.S: Likewise.
1760 * config/arc/ieee-754/fixsfsi.S: Likewise.
1761 * config/arc/ieee-754/gtsf2.S: Likewise.
1762 * config/arc/ieee-754/floatsisf.S: Likewise.
1763 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
1764 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
1765 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
1766 * config/arc/ieee-754/fixdfsi.S: Likewise.
1767 * config/arc/ieee-754/addsf3.S: Likewise.
1768 * config/arc/ieee-754/gesf2.S: Likewise.
1769 * config/arc/ieee-754/floatsidf.S: Likewise.
1770 * config/arc/ieee-754/extendsfdf2.S: Likewise.
1771 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
1772 * config/arc/ieee-754/gtdf2.S: Likewise.
1773 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
1774 * config/arc/ieee-754/uneqdf2.S: Likewise.
1775 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
1776 * config/arc/ieee-754/uneqsf2.S: Likewise.
1777 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
1778 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
1779 * config/arc/ieee-754/eqdf2.S: Likewise.
1780 * config/arc/ieee-754/ordsf2.S: Likewise.
1781 * config/arc/ieee-754/divsf3.S: Likewise.
1782 * config/arc/ieee-754/divdf3.S: Likewise.
1783 * config/arc/ieee-754/floatunsidf.S: Likewise.
1784 * config/arc/ieee-754/orddf2.S: Likewise.
1785 * config/arc/ieee-754/eqsf2.S: Likewise.
1786 * config/arc/ieee-754/gedf2.S: Likewise.
1787 * config/arc/crtn.S: Likewise.
1788 * config/arc/crti.S: Likewise.
1789 * config/arc/t-arc700-uClibc: Likewise.
1790 * config/arc/asm.h: Likewise.
1791 * config/arc/libgcc-excl.ver: Likewise.
1792 * config/arc/t-arc-newlib: Likewise.
1793 * config/arc/divtab-arc700.c: Likewise.
1794 * config/arc/initfini.c: Likewise.
1795 * config/arc/fp-hack.h: Likewise.
1796
c8e318b0
JR
17972013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1798 Diego Novillo <dnovillo@google.com>
1799
1800 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
1801 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
1802 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
1803 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 1804
d38a64b4
JR
18052013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
1806 Brendan Kehoe <brendan@zen.org>
1807 Simon Cook <simon.cook@embecosm.com>
1808
1809 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
1810 * config/arc: New directory.
1811 * longlong.h [__arc__] (umul_ppmm): Remove.
1812 [__arc__] (__umulsidi3): Define.
1813 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
1814 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
1815
dff717d2
JC
18162013-09-17 Jacek Caban <jacek@codeweavers.com>
1817
1818 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
1819 CreateSemaphoreA.
1820 * config/i386/gthr-win32.h: Likewise.
1821
5c0029de
DD
18222013-09-16 DJ Delorie <dj@redhat.com>
1823
844ad6c6 1824 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
1825 * config/rl78/lib2mul.c: Enable for RL78/G10.
1826 * config/rl78/lib2div.c: Likewise.
1827 * config/rl78/lshrsi3.S: Use vregs.h.
1828 * config/rl78/cmpsi2.S: Likewise.
1829 * config/rl78/trampoline.S: Likewise.
1830 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
1831
ceb2fc49
DD
18322013-09-14 DJ Delorie <dj@redhat.com>
1833 Nick Clifton <nickc@redhat.com>
1834
1835 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
1836 * config/rl78/vregs.h: New.
1837 * config/rl78/signbit.S: New file. Implements signbit function.
1838 * config/rl78/divmodsi.S: New.
1839 * config/rl78/divmodhi.S: New.
1840 * config/rl78/divmodqi.S: New.
1841 * config/rl78/t-rl78: Build them here...
1842 * config/rl78/lib2div.c: ...but not here.
1843
f6a83b4a
DD
18442013-09-12 DJ Delorie <dj@redhat.com>
1845
1846 * config.host (msp*-*-elf): New.
1847 * config/msp430/: New port.
1848
9107b096
IS
18492013-08-18 Iain Sandoe <iain@codesourcery.com>
1850
1851 PR gcov-profile/58127
1852 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
1853 __thread var for emulated TLS.
1854 (__gcov_indirect_call_counters): Likewise.
1855
0f9bde1f 18562013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141
UB
1857 Catherine Moore <clm@codesourcery.com>
1858 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
1859
1860 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
1861 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
1862 (CALL_STUB_NO_RET): Likewise.
1863 (CALL_STUB_RET): Likewise.
1864 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
1865 __mips16_ret call/return stub symbols.
1866 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
1867 to tmake_file.
1868
2dc14aac
MR
18692013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
1870
1871 * config.host <mips*-*-linux*>: Remove a stray comment.
1872
748d71f3
JH
18732013-08-10 Jan Hubicka <jh@suse.cz>
1874
1875 Work around binutils PR14342
1876 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
1877 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
1878 (L_gcov_indirect_call_profiler_v2): New.
1879
2fa3d31b
JH
18802013-08-06 Jan Hubicka <jh@suse.cz>
1881
1882 * libgcov.c (__gcov_indirect_call_callee,
1883 __gcov_indirect_call_counters): New global vars.
1884 (__gcov_indirect_call_profiler): replace by ...
1885 (__gcov_indirect_call_profiler_v2) ... this one.
1886
2077db1b
CT
18872013-08-06 Caroline Tice <cmtice@google.com>
1888
d0595b65 1889 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 1890 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
1891 * configure.ac: Add code to check/set enable_vtable_verify.
1892 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 1893 true.
d0595b65
CT
1894 * vtv_start_preinit.c: New file.
1895 * vtv_end_preinit.c: New file.
1896 * vtv_start.c: New file.
1897 * vtv_end.c: New file.
1898 * configure: Regenerated.
2077db1b 1899
46549c20
MK
19002013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
1901
1902 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
1903 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
1904 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
1905 GPL-3.0-with-GCC-exception.
1906
72be589b
MR
19072013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
1908
1909 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
1910 ISA and up.
1911
902a3faf
AK
19122013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1913
1914 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
1915 mapping for FPRs when creating the fallback framestate.
1916
02371798
GJL
19172013-07-19 Georg-Johann Lay <avr@gjlay.de>
1918
1919 PR target/57516
1920 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
1921 (__round_s2_const, __round_u2_const)
1922 (__round_s4_const, __round_u4_const, __round_x8):
1923 Saturate result if addition result cannot be represented.
1924
ab0e8379
MK
19252013-07-15 Matthias Klose <doko@ubuntu.com>
1926
1927 * libgcc2.c: Don't include <limits.h>.
1928
7da38058
JJ
19292013-07-09 Janis Johnson <janisjo@codesourcery.com>
1930
1931 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
1932
1f6eac90
JJ
19332013-07-06 Jakub Jelinek <jakub@redhat.com>
1934
1935 PR target/29776
1936 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
1937
4ea3d774
JJ
19382013-06-28 Jakub Jelinek <jakub@redhat.com>
1939
1940 PR middle-end/36041
1941 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
1942 Define.
1943 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
1944 instead of table lookups.
1945 (__popcountDI2): Likewise.
1946
9d2cdf25
CJW
19472013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
1948
1949 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
1950 correctly.
1951
fa1e55b0
JM
19522013-06-21 Joseph Myers <joseph@codesourcery.com>
1953
1954 PR other/53317
1955 * soft-fp/adddf3.c: Update from glibc.
1956 * soft-fp/addsf3.c: Likewise.
1957 * soft-fp/addtf3.c: Likewise.
1958 * soft-fp/divdf3.c: Likewise.
1959 * soft-fp/divsf3.c: Likewise.
1960 * soft-fp/divtf3.c: Likewise.
1961 * soft-fp/double.h: Likewise.
1962 * soft-fp/eqdf2.c: Likewise.
1963 * soft-fp/eqsf2.c: Likewise.
1964 * soft-fp/eqtf2.c: Likewise.
1965 * soft-fp/extenddftf2.c: Likewise.
1966 * soft-fp/extended.h: Likewise.
1967 * soft-fp/extendsfdf2.c: Likewise.
1968 * soft-fp/extendsftf2.c: Likewise.
1969 * soft-fp/fixdfdi.c: Likewise.
1970 * soft-fp/fixdfsi.c: Likewise.
1971 * soft-fp/fixsfdi.c: Likewise.
1972 * soft-fp/fixsfsi.c: Likewise.
1973 * soft-fp/fixtfdi.c: Likewise.
1974 * soft-fp/fixtfsi.c: Likewise.
1975 * soft-fp/fixunsdfdi.c: Likewise.
1976 * soft-fp/fixunsdfsi.c: Likewise.
1977 * soft-fp/fixunssfdi.c: Likewise.
1978 * soft-fp/fixunssfsi.c: Likewise.
1979 * soft-fp/fixunstfdi.c: Likewise.
1980 * soft-fp/fixunstfsi.c: Likewise.
1981 * soft-fp/floatdidf.c: Likewise.
1982 * soft-fp/floatdisf.c: Likewise.
1983 * soft-fp/floatditf.c: Likewise.
1984 * soft-fp/floatsidf.c: Likewise.
1985 * soft-fp/floatsisf.c: Likewise.
1986 * soft-fp/floatsitf.c: Likewise.
1987 * soft-fp/floatundidf.c: Likewise.
1988 * soft-fp/floatundisf.c: Likewise.
1989 * soft-fp/floatunditf.c: Likewise.
1990 * soft-fp/floatunsidf.c: Likewise.
1991 * soft-fp/floatunsisf.c: Likewise.
1992 * soft-fp/floatunsitf.c: Likewise.
1993 * soft-fp/gedf2.c: Likewise.
1994 * soft-fp/gesf2.c: Likewise.
1995 * soft-fp/getf2.c: Likewise.
1996 * soft-fp/ledf2.c: Likewise.
1997 * soft-fp/lesf2.c: Likewise.
1998 * soft-fp/letf2.c: Likewise.
1999 * soft-fp/muldf3.c: Likewise.
2000 * soft-fp/mulsf3.c: Likewise.
2001 * soft-fp/multf3.c: Likewise.
2002 * soft-fp/negdf2.c: Likewise.
2003 * soft-fp/negsf2.c: Likewise.
2004 * soft-fp/negtf2.c: Likewise.
2005 * soft-fp/op-1.h: Likewise.
2006 * soft-fp/op-2.h: Likewise.
2007 * soft-fp/op-4.h: Likewise.
2008 * soft-fp/op-8.h: Likewise.
2009 * soft-fp/op-common.h: Likewise.
2010 * soft-fp/quad.h: Likewise.
2011 * soft-fp/single.h: Likewise.
2012 * soft-fp/soft-fp.h: Likewise.
2013 * soft-fp/subdf3.c: Likewise.
2014 * soft-fp/subsf3.c: Likewise.
2015 * soft-fp/subtf3.c: Likewise.
2016 * soft-fp/truncdfsf2.c: Likewise.
2017 * soft-fp/trunctfdf2.c: Likewise.
2018 * soft-fp/trunctfsf2.c: Likewise.
2019 * soft-fp/unorddf2.c: Likewise.
2020 * soft-fp/unordsf2.c: Likewise.
2021 * soft-fp/unordtf2.c: Likewise.
2022 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
2023 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2024 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2025 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2026 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2027 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2028 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2029 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2030 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2031 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
2032 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
2033 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
2034
0de86a92
JU
20352013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
2036
2037 * config/mips/lib2funcs.c: New file.
2038 * config/mips/t-mips (LIB2ADD_ST): Add it.
2039
0d008882
OE
20402013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
2041
2042 PR target/6526
2043 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
2044 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
2045
776434d1
WL
20462013-06-08 Walter Lee <walt@tilera.com>
2047
2048 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
2049 Replace int64_t with long long. Add __extension__ where
2050 appropriate.
2051 * config/tilepro/atomic.c: Include config.h.
2052
6ab3ebb4
DR
20532013-06-06 Douglas B Rupp <rupp@adacore.com>
2054
2055 * config.host (arm-wrs-vxworks): Configure with other soft float.
2056
107eea2c
JU
20572013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
2058
2059 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
2060 (mips64r5900el-*-elf*): New configurations.
2061
5cc19c62
AM
20622013-06-04 Alan Modra <amodra@gmail.com>
2063
2064 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
2065
0f1d3965
YR
20662013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
2067
2068 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
2069
0ba045df
EB
20702013-05-28 Eric Botcazou <ebotcazou@adacore.com>
2071
2072 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
2073 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
2074 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
2075
49dcafd4
EB
20762013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2077
2078 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
2079 (powerpc-wrs-vxworks): Likewise.
2080
4fcb5d87
EB
20812013-05-22 Eric Botcazou <ebotcazou@adacore.com>
2082
2083 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
2084 signal frames as well.
2085 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
2086 STACK_BIAS to the CFA offset.
2087
0ec33224
RH
20882013-05-17 Richard Henderson <rth@redhat.com>
2089
2090 PR target/49146
2091 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
2092 (execute_cfa_program): Use it when storing to fs->regs.
2093
492a8029
KT
20942013-05-08 Kai Tietz <ktietz@redhat.com>
2095
2096 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
2097 (__deregister_frame_info): Likewise.
2098
701e2f0a
TS
20992013-05-06 Thomas Schwinge <thomas@codesourcery.com>
2100
e5123d08
TS
2101 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
2102 NaN's payload.
2103
701e2f0a
TS
2104 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
2105
b9a7eb5d
AM
21062013-04-25 Alan Modra <amodra@gmail.com>
2107
2108 * config.host: Match little-endian powerpc-linux.
2109
dfe192f5
YZ
21102013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
2111
2112 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
2113 as 'unsigned long long' instead of 'unsigned long'.
2114 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
2115 'signed long'.
2116
b6b9af2f
JB
21172013-04-10 Julian Brown <julian@codesourcery.com>
2118
2119 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
2120 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
2121 unsigned char/unsigned short.
2122 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
2123
ecabdd00
JDA
21242013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2125
2126 PR other/55274
2127 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
2128
34652576
MI
21292013-04-04 Meador Inge <meadori@codesourcery.com>
2130
2131 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
2132 computing the location of the link register.
2133 (aeabi_uldivmod): Ditto.
2134
e9fd8c19
KT
21352013-03-27 Kai Tietz <ktietz@redhat.com>
2136
2137 * config.host: Add support for cygwin x64 target.
2138 * configure: Regenerated.
2139
a6406324
WL
21402013-03-26 Walter Lee <walt@tilera.com>
2141
2142 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
2143 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
2144
55446c7e
KT
21452013-03-25 Kai Tietz <ktietz@redhat.com>
2146
2147 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
2148
d2ae19d9
RM
21492013-03-20 Robert Mason <rbmj@verizon.net>
2150
2151 * config/vxlib-tls.c (__gthread_get_tsd_data,)
2152 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
2153 (__gthread_leave_tsd_dtor_context): Add prototypes.
2154 (tls_delete_hook): Update.
2155
22c4c869
CM
21562013-03-20 Catherine Moore <clm@codesourcery.com>
2157 Joseph Myers <joseph@codesourcery.com>
2158 Chao-ying Fu <fu@mips.com>
2159
2160 * config/mips/mips16.S: Don't build for microMIPS.
2161 * config/mips/linux-unwind.h: Handle microMIPS frame.
2162 * config/mips/crtn.S (fini, init): New labels.
2163
fbd28bc3
JJ
21642013-03-14 Jakub Jelinek <jakub@redhat.com>
2165
2166 PR tree-optimization/53265
2167 * unwind-dw2.c (execute_cfa_program): Avoid
2168 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
2169 on targets with DWARF_FRAME_REGISTERS < 32.
2170
decc676e
OE
21712013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
2172
2173 PR target/49880
2174 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
2175 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
2176
84ea618a
ST
21772013-03-07 Sriraman Tallam <tmsriram@google.com>
2178
2179 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
2180 sandybridge processors.
2181
8f6d1c86
OE
21822013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
2183
2184 PR target/56529
2185 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
2186 inclusion list.
2187
ecdbd01a 21882013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
2189
2190 * config/microblaze/crti.S: Setup stack protection at entry
2191
0b4ce21b
GJL
21922013-03-04 Georg-Johann Lay <avr@gjlay.de>
2193
2194 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
2195 (__rotldi3): Shift bytewise if applicable.
2196
b7c3f1ca
JG
21972013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
2198
2199 * config/aarch64/sync-cache.c
2200 (__aarch64_sync_cache_range): Silence warnings.
2201
6d65e8f1
CM
22022013-02-25 Catherine Moore <clm@codesourcery.com>
2203
2204 Revert:
2205 2013-02-24 Catherine Moore <clm@codesourcery.com>
2206 Joseph Myers <joseph@codesourcery.com>
2207 Chao-ying Fu <fu@mips.com>
2208
2209 * config/mips/mips16.S: Don't build for microMIPS.
2210 * config/mips/linux-unwind.h: Handle microMIPS frame.
2211 * config/mips/crtn.S (fini, init): New labels.
2212
6941b508
CM
22132013-02-24 Catherine Moore <clm@codesourcery.com>
2214 Joseph Myers <joseph@codesourcery.com>
2215 Chao-ying Fu <fu@mips.com>
2216
2217 * config/mips/mips16.S: Don't build for microMIPS.
2218 * config/mips/linux-unwind.h: Handle microMIPS frame.
2219 * config/mips/crtn.S (fini, init): New labels.
2220
7c422dbb
EI
22212012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
2222 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
2223 as dividend.
2224
110207ad
AM
22252013-02-16 Alan Modra <amodra@gmail.com>
2226
2227 PR target/55431
2228 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
2229 (ppc_fallback_frame_state): Always set up save locations for fp
2230 and altivec. Don't bother with non-callee-saved regs, r0-r13
2231 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
2232
e68a4ef6
GJL
22332013-02-12 Georg-Johann Lay <avr@gjlay.de>
2234
2235 PR target/54222
2236 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
2237 _ssmulHA, _ssmulSA.
2238 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
2239 _ssmulha3, _usmulusa3, _ssmulsa3.
2240 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
2241 (__muldi3): XCALL __muldi3_6 instead of rcall.
2242 (__umulsidi3, __mulsidi3): New functions.
2243 (do_prologue_saves, do_epilogue_restores): New .macros.
2244 (__divdi3_moddi3): Use them.
2245 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
2246 (__usmulusa3, __ssmulsa3): New functions.
2247
6c59ffd1
IS
22482013-02-11 Iain Sandoe <iain@codesourcery.com>
2249 Jack Howarth <howarth@bromo.med.uc.edu>
2250 Patrick Marlier <patrick.marlier@gmail.com>
2251
2252 PR libitm/55693
2253 * config/darwin-crt-tm.c: Remove dummy functions hack.
2254
85d768f3
GJL
22552013-02-08 Georg-Johann Lay <avr@gjlay.de>
2256
2257 PR target/54222
2258 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
2259 * config/avr/lib2-object.mk: New iterator to build objects from it.
2260 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
2261 lib2funcs.c.
2262 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
2263 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
2264 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
2265 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
2266 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
2267 * config/avr/lib1funcs-fixed.S: Implement them.
2268
5d5bf775
RS
22692013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
2270
2271 Update copyright years.
2272
99113dff
DE
22732013-02-01 David Edelsohn <dje.gcc@gmail.com>
2274
2275 PR target/54601
2276 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
2277 Add crtcxa to extra_parts.
2278 * config/rs6000/exit.h: New file.
2279 * config/rs6000/cxa_atexit.c: New file.
2280 * config/rs6000/cxa_finalize.c: New file.
2281 * config/rs6000/crtcxa.c: New file.
2282 * config/rs6000/t-aix-cxa: New file.
2283 * config/rs6000/libgcc-aix-cxa.ver: New file.
2284
dbdbd982
NC
22852013-01-31 Nick Clifton <nickc@redhat.com>
2286
2287 * config/v850/lib1funcs.S: Add support for e3v5 architecture
2288 variant.
2289
5893f158
GJL
22902013-01-29 Georg-Johann Lay <avr@gjlay.de>
2291
2292 PR target/54222
2293 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
2294 _mulQQ, _mulHQ, _mulHA, _mulSA,
2295 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
2296 _divQQ, _divHQ, _divHA, _divSA,
2297 _divUQQ, _divUHQ, _divUHA, _divUSA.
2298
ecdbd01a 22992013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 2300
dbdbd982 2301 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
2302 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
2303 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
2304 to exclude functions from being built with libgcc.c and use
2305 the microblaze assembly.
2306
ecdbd01a 23072013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
2308
2309 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
2310 extra_parts.
2311
922c57d1
YZ
23122013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
2313
2314 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
2315 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
2316 __UINTPTR_TYPE__; also cast 'base' to the same type before the
2317 alignment operation.
2318
e0f8b6a0
SN
23192013-01-15 Sofiane Naci <sofiane.naci@arm.com>
2320
2321 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
2322 loop start address for cache clearing.
2323
00892272
GJL
23242013-01-14 Georg-Johann Lay <avr@gjlay.de>
2325
2326 * config/avr/lib1funcs.S: Remove trailing blanks.
2327 * config/avr/lib1funcs-fixed.S: Ditto.
2328
e59ec5fd
GJL
23292013-01-14 Georg-Johann Lay <avr@gjlay.de>
2330
2331 * config/avr/avr-lib.h: Add GPL copyright notice.
2332
3ffc1958
GJL
23332013-01-14 Georg-Johann Lay <avr@gjlay.de>
2334
2335 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
2336 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
2337 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
2338 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
2339
25c210f9
MK
23402013-01-07 Mark Kettenis <kettenis@openbsd.org>
2341
2342 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
2343 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 2344
db59befb
NC
23452013-01-04 Nick Clifton <nickc@redhat.com>
2346
2347 * config/v850/lib1funcs.S: Only provide CALLT support functions if
2348 the CALLT instruction is supported.
2349
5aa12dbf
JW
23502012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
2351
2352 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
2353 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
2354
65f14117
JT
23552012-12-13 John Tytgat <John@bass-software.com>
2356
2357 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
2358 is 25.
2359
ee3ae4f7
JJ
23602012-12-12 Jakub Jelinek <jakub@redhat.com>
2361
2362 PR libgcc/55451
2363 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
2364 undefined signed overflows.
2365
2fcfba3d
UB
23662012-12-09 Uros Bizjak <ubizjak@gmail.com>
2367
2368 PR target/55344
2369 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
2370
4f2b3dc2
UB
23712012-12-06 Uros Bizjak <ubizjak@gmail.com>
2372
2373 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
2374 (FP_TRAPPING_EXCEPTIONS): Define.
2375 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
2376 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
2377
066161a2
RH
23782012-12-04 Richard Henderson <rth@redhat.com>
2379
2380 PR bootstrap/55571
2381 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
2382
25626181
MS
23832012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2384
4f2b3dc2 2385 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
2386 (FP_EX_SHIFT): Define.
2387 (FP_TRAPPING_EXCEPTIONS): Define.
2388
868395e8
MS
23892012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
2390
2391 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
2392 (FP_ROUNDMODE): Use FP_RND_MASK.
2393 * config/aarch64/sfp-exceptions.c: New.
2394 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2395 Use __sfp_handle_exceptions.
2396
5005fe22
RE
23972012-12-04 Richard Earnshaw <rearnsha@arm.com>
2398
2399 * config.host: (arm*-*-freebsd*): Remove.
2400 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
2401 (arm*-*-elf*): Remove.
2402 (arm*-*-wince-pe*): Remove.
2403 * arm/unwind-arm.c (struct fpa_reg): Delete.
2404 (struct fpa_regs): Delete.
2405 (phase1_vrs): Remove fpa element.
2406 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
2407 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
2408 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
2409 * ieee754-sf.S (floatundisf): Remove FPA support.
2410 (floatdisf): Likewise.
2411 * ieee75f-df.S (floatundidf): Likewise.
2412 (floatdidf): Likewise.
2413
e5a81c8e
KT
24142012-11-29 Kai Tietz <ktietz@redhat.com>
2415
2416 PR target/55445
2417 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
2418 * unwind-generic.h: Likewise.
2419 * unwind-seh.c: Likewise.
2420
f4919e4a
RH
24212012-11-28 Richard Henderson <rth@redhat.com>
2422
2423 PR libgcc/48076
2424 * emutls.c (__emutls_get_address): Avoid race condition between
2425 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 2426
e13d9d5a
GJL
24272012-11-22 Georg-Johann Lay <avr@gjlay.de>
2428
2429 Adjust decimal point of signed accum mode to GCC default.
2430
2431 PR target/54222
2432 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
2433 _divqq_helper.
2434 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
2435 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
2436 (__mulha3, __mulsa3)
2437 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
2438 decimal point of signed accum types.
2439
e13d9d5a
GJL
2440 (__mulusa3_round): New function.
2441 (__mulusa3): Use it.
2442 (__divqq_helper): New function.
2443 (__udivuqq3): Use it.
2444
1b845c6e
JJ
24452012-11-20 Jakub Jelinek <jakub@redhat.com>
2446
2447 PR bootstrap/55370
2448 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
2449
822a258a
TJ
24502012-11-18 Teresa Johnson <tejohnson@google.com>
2451
2452 PR bootstrap/55051
2453 * libgcov.c (gcov_exit): Remove merged program summary
2454 comparison unless !GCOV_LOCKED.
2455
54f4eaf0
MS
24562012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
2457
2458 * soft-fp: Updated from glibc upstream.
2459
e808687a
ILT
24602012-11-06 Ian Lance Taylor <iant@google.com>
2461
2462 * generic-morestack.c (__generic_morestack): Align the returned
2463 stack pointer to a 32 byte boundary.
2464 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
2465 increment the return address until we have decided that we don't
2466 have a varargs function.
2467 (__morestack) [32-bit]: Align stack correctly when calling C
2468 functions.
2469 (__morestack) [64-bit]: Likewise.
2470
460277e0
TS
24712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2472
2473 * configure: Regenerate.
2474
73edb277
UB
24752012-11-02 Uros Bizjak <ubizjak@gmail.com>
2476
2477 PR target/55175
2478 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
2479 * config/i386/sfp-machine.h: Guard exception handling
2480 code with _SOFT_FLOAT.
2481 * config/i386/32/sfp-machine.h: Guard rounding handling
2482 code with _SOFT_FLOAT.
2483 * config/i386/64/sfp-machine.h: Ditto.
2484
c1d4fa04
JS
24852012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
2486
2487 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
2488 as extra_parts.
2489
eff6ca85
UB
24902012-10-26 Uros Bizjak <ubizjak@gmail.com>
2491
2492 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
2493 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
2494 when appropriate. Correct structure element types.
2495 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
2496 -minline-all-stringops from compile flags.
2497
43a8f1a1
RC
24982012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
2499
2500 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
2501
76c78361
RC
25022012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
2503
eff6ca85 2504 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 2505
6f288860
SH
25062012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2507
2508 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
2509 tmake_file.
2510
1e3d5096
IB
25112012-10-23 Ian Bolton <ian.bolton@arm.com>
2512 Jim MacArthur <jim.macarthur@arm.com>
2513 Marcus Shawcroft <marcus.shawcroft@arm.com>
2514 Nigel Stephens <nigel.stephens@arm.com>
2515 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2516 Richard Earnshaw <rearnsha@arm.com>
2517 Sofiane Naci <sofiane.naci@arm.com>
2518 Stephen Thomas <stephen.thomas@arm.com>
2519 Tejas Belagod <tejas.belagod@arm.com>
2520 Yufeng Zhang <yufeng.zhang@arm.com>
2521
2522 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
2523 * config/aarch64/crti.S: New file.
2524 * config/aarch64/crtn.S: New file.
2525 * config/aarch64/linux-unwind.h: New file.
2526 * config/aarch64/sfp-machine.h: New file.
2527 * config/aarch64/sync-cache.c: New file.
2528 * config/aarch64/t-aarch64: New file.
2529 * config/aarch64/t-softfp: New file.
2530
8a740f07
HPN
25312012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
2532
2533 * config/mmix/crti.S: Mark program and data addresses using PRELD.
2534 Remove typo'd and unnecessary alignment-LOC for .data. Remove
2535 no-longer-needed LDBU insns.
2536
153c8397
SH
25372012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
2538
2539 * config.host
2540 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
2541 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
2542
595fefee
MGD
25432012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2544
2545 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
2546
9945a876
MK
25472012-10-15 Matthias Klose <doko@ubuntu.com>
2548
2549 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
2550
1183dc2c
PC
25512012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
2552
2553 * configure: Regenerate.
2554 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
2555
945a9c1f
UB
25562012-10-10 Uros Bizjak <ubizjak@gmail.com>
2557
2558 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
2559 instructions for 64bit targets only.
2560
fb8bf47a
UB
25612012-10-10 Uros Bizjak <ubizjak@gmail.com>
2562
2563 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2564 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
2565 * config/i386/32/sfp-machine.h: ... here.
2566 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
2567 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
2568 New defines.
2569
acb72498
MK
25702012-10-07 Matthias Klose <doko@ubuntu.com>
2571
2572 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
2573 as unused.
2574 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
2575
8eaee0f0
MK
25762012-10-06 Mark Kettenis <kettenis@openbsd.org>
2577
2578 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
2579 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
2580 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
2581 (ElfW): Likewise.
2582
5e3e4fe8
JW
25832012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
2584
2585 PR other/53889
2586 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2587 Fix parameter names.
2588
86086376
OE
25892012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
2590
2591 PR target/33135
2592 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
2593 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
2594 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
2595
9597375a
OE
25962012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
2597
2598 PR target/50457
2599 * config/sh/linux-atomic.S: Delete.
2600 * config/sh/linux-atomic.c: New.
2601 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
2602 linux-atomic.c. Add cflags to disable warnings.
2603
1504e3e1
JW
26042012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
2605
2606 PR other/53889
2607 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
2608 function.
2609 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
2610 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
2611 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
2612 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
2613 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
2614 Likewise.
1504e3e1
JW
2615 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
2616 Likewise.
2617 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
2618 Likewise.
2619 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
2620 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
2621
17f293b0
MK
26222012-09-19 Mark Kettenis <kettenis@openbsd.org>
2623
9597375a
OE
2624 * config.host (hppa-*-openbsd*): New target.
2625 * config/pa/t-openbsd: New file.
17f293b0 2626
51526856
GJL
26272012-09-15 Georg-Johann Lay <avr@gjlay.de>
2628
2629 PR target/54222
2630 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
2631 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
2632 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
2633 (__divsa3): Use __negsi2 to negate r_quoL.
2634 * config/avr/lib1funcs.S (FALIAS): New macro.
2635 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
2636 (__negsi2): ...this new function.
2637 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
2638 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
2639 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
2640 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
2641 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
2642 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
2643
aadb5b43
OE
26442012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
2645
2646 PR target/54089
2647 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
2648 (lshrsi3): Reimplement as lshrsi3_r0.
2649
d5d66749
AS
26502012-09-10 Andreas Schwab <schwab@linux-m68k.org>
2651
2652 PR target/46191
2653 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
2654 of libgcc.a.
2655
c6c36e73
TJ
26562012-09-07 Teresa Johnson <tejohnson@google.com>
2657
9597375a 2658 PR gcov-profile/54487
c6c36e73 2659 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 2660 differences.
c6c36e73 2661
b588ae30
GJL
26622012-09-05 Georg-Johann Lay <avr@gjlay.de>
2663
2664 PR target/54461
2665 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
2666 not configured --with-avrlibc=no.
2667 * config/avr/t-avrlibc: New file.
2668 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
2669 (DPBIT_FUNCS): Ditto.
2670 (TPBIT_FUNCS): Ditto.
2671
abd16fb1
TJ
26722012-09-04 Teresa Johnson <tejohnson@google.com>
2673
2674 * libgcov.c (struct gcov_summary_buffer): New structure.
2675 (gcov_histogram_insert): New function.
2676 (gcov_compute_histogram): Ditto.
2677 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
2678 histograms during summary merging.
2679
613061fd
MK
26802012-09-01 Mark Kettenis <kettenis@openbsd.org>
2681
2682 * config.host (x86_64-*-openbsd*): New target.
73edb277 2683
867a8345
CLT
26842012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
2685
2686 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
2687 attribute.
2688
4aeaaca3
GJL
26892012-08-24 Georg-Johann Lay <avr@gjlay.de>
2690
2691 PR target/54222
2692 * config/avr/t-avr (conv_X): Rename to func_X.
2693
e55e4056
GJL
26942012-08-24 Georg-Johann Lay <avr@gjlay.de>
2695
2696 PR target/54222
2697 * config/avr/lib1funcs-fixed.S: New file.
2698 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
2699 after they are used.
2700 (neg2, neg4): New macros.
2701 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
2702 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
2703 (__umulhisi3): Speed up MUL variant if there is enough flash.
2704 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
2705 avr-modes.def.
2706 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
2707 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
2708 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
2709 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
2710 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
2711 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
2712 (LIB2FUNCS_EXCLUDE): Add supported functions.
2713
a147b6d2
GJL
27142012-08-22 Georg-Johann Lay <avr@gjlay.de>
2715
2716 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
2717 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
2718 libgcc-s-objects.
2719 * fixed-obj.mk: Only expand dependency if $o is not in
2720 LIB2FUNCS_EXCLUDE.
2721
c637141a
L
27222012-08-22 H.J. Lu <hongjiu.lu@intel.com>
2723
2724 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
2725
130e00bd
JM
27262012-08-22 Joseph Myers <joseph@codesourcery.com>
2727
2728 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
2729 depend on --enable-shared.
2730 ($(lib1asmfuncs-o)): Use %.vis files independent of
2731 --enable-shared.
2732 * static-object.mk ($(base)$(objext), $(base).vis)
2733 ($(base)_s$(objext)): Use same rules for visibility handling as in
2734 shared-object.mk.
2735
4b1b3788
ILT
27362012-08-21 Ian Lance Taylor <iant@google.com>
2737
2738 * config/i386/morestack.S (__morestack_non_split): Increase amount
2739 of space allocated for non-split code stack.
2740
d2468141
JM
27412012-08-19 Joseph Myers <joseph@codesourcery.com>
2742
2743 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
2744 even if inhibit_libc.
2745
a508e1a8
JB
27462012-08-17 Julian Brown <julian@codesourcery.com>
2747
2748 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
2749 -fexceptions -fnon-call-exceptions if not defined.
2750 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
2751 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
2752
5615a07d
AS
27532012-08-17 Andreas Schwab <schwab@linux-m68k.org>
2754
2755 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
2756 type.
2757
138f5acd
DE
27582012-08-16 David Edelsohn <dje.gcc@gmail.com>
2759
2760 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
2761 rs6000/t-slibgcc-aix.
2762
18efc0dd
SB
27632012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2764
2765 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
2766
6b39bc38
SB
27672012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
2768
2769 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
2770
cd25dea0
L
27712012-08-03 H.J. Lu <hongjiu.lu@intel.com>
2772
2773 PR driver/54171
2774 * Makefile.in (version): Replace top_srcdir with srcdir.
2775
a3dda30b
JY
27762012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
2777
2778 * Makefile.in (version): set to BASE-VER file from gcc directory.
2779
d04aacfc
NC
27802012-08-01 Nick Clifton <nickc@redhat.com>
2781
2782 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
2783 Implements __clrsb for an HImode argument.
2784
0d13c974
NC
27852012-07-31 Nick Clifton <nickc@redhat.com>
2786
2787 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
2788 Implements __clrsb for an HImode argument.
2789 * config/stormy16/clrsbhi2.c: New file:
2790 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
2791
efbb59b2
SB
27922012-07-22 Steven Bosscher <steven@gcc.gnu.org>
2793
2794 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
2795
bf1431e3
TG
27962012-07-19 Tristan Gingold <gingold@adacore.com>
2797 Richard Henderson <rth@redhat.com>
2798
2799 * unwind-seh.c: New file.
2800 * unwind-generic.h: Include windows.h for SEH.
2801 (_Unwind_Exception): Use 6 private fields for SEH.
2802 (_GCC_specific_handler): Declare.
2803 * unwind-c.c (__gcc_personality_seh0): New function.
2804 Adjust for SEH.
2805 * config/i386/libgcc-cygming.ver: New file.
2806 * config/i386/t-seh-eh: New file.
2807 * config.host (x86_64-*-mingw*): Default to seh.
2808
659140c8
SB
28092012-07-14 Steven Bosscher <steven@gcc.gnu.org>
2810
2811 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
2812
a20d08fd
UB
28132012-06-17 Uros Bizjak <ubizjak@gmail.com>
2814
2815 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
2816 __builtin_expect when checking for exceptions.
2817 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
2818
79261115
UB
28192012-06-13 Uros Bizjak <ubizjak@gmail.com>
2820
4a172156
UB
2821 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
2822 function declaration.
2823 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2824 (FP_RND_MASK): New.
2825 * config/ia64/sfp-exceptions.c: New.
2826 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 2827
bb5c97d4
UB
28282012-06-13 Uros Bizjak <ubizjak@gmail.com>
2829
2830 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
2831 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
2832 * config/i386/64/sfp-machine: ... (delete here) ...
2833 * config/i386/sfp-machine.h: ... to here.
2834 (FP_EX_MASK): Remove.
2835 (FP_RND_MASK): New.
2836 (FP_INIT_ROUNDMODE): Declare asm as volatile.
2837
91fe5efb
ST
28382012-06-11 Sriraman Tallam <tmsriram@google.com>
2839
2840 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
2841 * config/i386/libgcc-sol2.ver: Ditto.
2842 * config/i386/libgcc-glibc.ver: Ditto.
2843
67a218c5
RM
28442012-06-11 Roland McGrath <mcgrathr@google.com>
2845
2846 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
2847 If __GLIBC__ is defined, refer to __pthread_key_create instead of
2848 pthread_cancel.
2849
492fbea1
UB
28502012-06-09 Uros Bizjak <ubizjak@gmail.com>
2851
2852 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
2853 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
2854 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
2855 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
2856 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
2857 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
2858 * config/i386/64/sfp-machine: ... (delete here) ...
2859 * config/i386/sfp-machine.h: ... to here.
2860 (FP_EX_MASK): New.
2861 (__sfp_handle_exceptions): New function declaration.
2862 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
2863 * config/i386/sfp-exceptions.c: New.
2864 * config/i386/t-softfp: New.
2865 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
2866 i386/t-softfp to tmake_file.
2867
7b4cf266
DM
28682012-06-03 David S. Miller <davem@davemloft.net>
2869
2870 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
2871 change.
2872
0de0d5c6
DM
28732012-05-31 David S. Miller <davem@davemloft.net>
2874
2875 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
2876 multiply and divide instructions on 32-bit when V9.
2877 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
2878
d8c9d391
JM
28792012-05-29 Joseph Myers <joseph@codesourcery.com>
2880
2881 * config/arm/ieee754-df.S: Fix typos.
2882 * config/arm/ieee754-sf.S: Fix typos.
2883 * config/c6x/libunwind.S: Fix typos.
2884 * config/epiphany/udivsi3-float.c: Fix typos.
2885 * config/microblaze/muldi3_hard.S: Fix typos.
2886 * config/picochip/adddi3.S: Fix typos.
2887 * config/picochip/ashlsi3.S: Fix typos.
2888 * config/picochip/ashrsi3.S: Fix typos.
2889 * config/picochip/clzsi2.S: Fix typos.
2890 * config/picochip/cmpsi2.S: Fix typos.
2891 * config/picochip/divmod15.S: Fix typos.
2892 * config/picochip/divmodhi4.S: Fix typos.
2893 * config/picochip/divmodsi4.S: Fix typos.
2894 * config/picochip/longjmp.S: Fix typos.
2895 * config/picochip/lshrsi3.S: Fix typos.
2896 * config/picochip/parityhi2.S: Fix typos.
2897 * config/picochip/popcounthi2.S: Fix typos.
2898 * config/picochip/setjmp.S: Fix typos.
2899 * config/picochip/subdi3.S: Fix typos.
2900 * config/picochip/ucmpsi2.S: Fix typos.
2901 * config/picochip/udivmodhi4.S: Fix typos.
2902 * config/picochip/udivmodsi4.S: Fix typos.
2903 * config/spu/divv2df3.c: Fix typos.
2904 * config/spu/mfc_multi_tag_release.c: Fix typos.
2905 * config/spu/mfc_tag_release.c: Fix typos.
2906 * configure.ac: Fix typos.
2907 * configure: Regenerate.
2908
31a18a7e
ILT
29092012-05-25 Ian Lance Taylor <iant@google.com>
2910
2911 * config/i386/morestack.S (__morestack_non_split): Check whether
2912 caller is varargs and needs %bp to hold the stack frame on return.
2913
c5768510
OH
29142012-05-25 Olivier Hainque <hainque@adacore.com>
2915
2916 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
2917 sequence in the non pic case on VxWorks.
2918
7c7c339b
OH
29192012-05-24 Olivier Hainque <hainque@adacore.com>
2920
73fb7630 2921 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
2922 "install-leaf" to "install".
2923
fdc1b7d3
OH
29242012-05-24 Olivier Hainque <hainque@adacore.com>
2925
2926 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
2927 Use a separate command for stamp removals.
2928
07ba94b9
AP
29292012-05-21 Andrew Pinski <apinski@cavium.com>
2930
2931 PR bootstrap/53183
2932 * configure.ac: Define the default includes to being none.
2933 * configure: Regenerate.
2934
4677d2eb
OH
29352012-05-16 Olivier Hainque <hainque@adacore.com>
2936
2937 * Makefile.in (install-unwind_h): Rename into ...
2938 (install-unwind_h-forbuild): New target.
2939 (all): Use it instead of the former install-unwind_h.
2940 (install-unwind_h): Reinstate, copy to user install destination
2941 for include files, not to the internal gcc object directory one.
2942 (install-leaf): Depend on it.
2943
7d67c380
OH
29442012-05-15 Olivier Hainque <hainque@adacore.com>
2945
2946 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
2947 register numbers. LR_REGNO replaces R_LR.
2948 (ucontext_for): New, helper for ...
2949 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
2950 and 5.3 of ...
2951 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
2952
aca06c90
RO
29532012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2954
2955 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
2956 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
2957 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
2958 i386/t-cpuinfo ...
2959 (i[34567]86-*-*, x86_64-*-*): ... here.
2960
2961 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
2962 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
2963
2964 * config/i386/i386-cpuinfo.c: Rename to ...
2965 * config/i386/cpuinfo.c: ... this.
2966 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
2967
2968 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
2969 (libgcc_cv_init_priority): New test.
2970 * configure: Regenerate.
2971 * config.in: New file.
2972 * Makefile.in (clean): Rename config.h to auto-target.h.
2973 (config.h): Likewise.
2974 (stamp-h): Likewise.
2975
2976 * config/i386/cpuinfo.c (auto-target.h): Include.
2977 (CONSTRUCTOR_PRIORITY): Define.
2978 (__cpu_indicator_init): Use it.
2979
0d03ac1b
L
29802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2981
2982 * longlong.h: Use a URL instead of an FSF postal address.
2983 Replace spaces with tab.
2984
4a172156 29852012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
2986
2987 * libgcov.c (gcov_clear, __gcov_reset): New functions.
2988 (__gcov_dump): Ditto.
2989 (gcov_dump_complete): New global variable.
2990 (gcov_exit): Export hidden to enable use in L_gcov_dump.
2991 (__gcov_flush): Outline functionality now in gcov_clear.
2992 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
2993
e4bb767e
AJ
29942012-04-28 Aurelien Jarno <aurelien@aurel32.net>
2995
31a18a7e
ILT
2996 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
2997 (mips*-*-linux*): Include mips/t-tpbit when long double is
2998 16 bytes long.
e4bb767e 2999
5ddecff9
ST
30002012-04-25 Sriraman Tallam <tmsriram@google.com>
3001
3002 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
3003 (get_available_features): New argument. Check for AVX2.
3004 (__cpu_indicator_init): Modify call to get_available_features.
3005
b427dd7a
AM
30062012-04-25 Alan Modra <amodra@gmail.com>
3007
3008 * config/rs6000/crtsavevr.S: New file.
3009 * config/rs6000/crtrestvr.S: New file.
3010 * config/rs6000/t-savresfgpr: Build the above.
3011 * config/rs6000/t-netbsd: Likewise.
3012
ad491329
ST
30132012-04-24 Sriraman Tallam <tmsriram@google.com>
3014
3015 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
3016
792317cc
ST
30172012-04-24 Sriraman Tallam <tmsriram@google.com>
3018
3019 * libgcc/config/i386/i386-cpuinfo.c: New file.
3020 * libgcc/config/i386/t-cpuinfo: New file.
3021 * libgcc/config.host: Include t-cpuinfo.
3022 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
3023
e1be98a4
CF
30242012-04-24 Chao-ying Fu <fu@mips.com>
3025
3026 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
3027
1bde7dab
TS
30282012-04-20 Thomas Schwinge <thomas@codesourcery.com>
3029
3030 struct siginfo vs. siginfo_t
3031
3032 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
3033 siginfo_t instead of struct siginfo.
3034 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
3035 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
3036 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
3037 (ia64_handle_unwabi): Likewise.
3038 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
3039 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
3040 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
3041 (sh_fallback_frame_state): Likewise.
3042 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
3043 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
3044
24590f66
L
30452012-04-02 H.J. Lu <hongjiu.lu@intel.com>
3046
3047 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
3048 system call number.
3049
9a9dcce8
EB
30502012-03-31 Eric Botcazou <ebotcazou@adacore.com>
3051
3052 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
3053 if it hasn't been previously saved.
3054
6401aaf5
L
30552012-03-29 H.J. Lu <hongjiu.lu@intel.com>
3056
3057 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
3058 only for glibc.
3059
7fd6378e
GJL
30602012-03-28 Georg-Johann Lay <avr@gjlay.de>
3061
3062 PR target/52737
3063 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
3064 instead of __AVR_HAVE_8BIT_SP__.
3065
9e916de7
TG
30662012-03-26 Tristan Gingold <gingold@adacore.com>
3067
3068 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
3069 (unw_table_entry): Use unw_word instead of unsigned long.
3070 (_Unwind_FindTableEntry): Likewise.
3071 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
3072 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
3073 (_Unwind_FindTableEntry): Likewise.
3074 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
3075 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
3076 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
3077 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
3078 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
3079 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
3080 (uw_init_context_1, uw_install_context): Likewise.
3081 (unw_word): Move to unwind-ia64.h
3082
4b12e93d
TG
30832012-03-26 Tristan Gingold <gingold@adacore.com>
3084
3085 * config/vms/vms-ucrt0.c: Update copyright years.
3086 Add a sanity check.
3087 (___gcc_main_flags): Declare.
3088 (__main): Check flags to remap argv and exit code.
3089 * config.host (*-*-*vms*): Adjust extra_parts.
3090 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
3091 (crt0.o): Add.
3092
06ea7371
RE
30932012-03-22 Richard Earnshaw <rearnsha@arm.com>
3094
3095 * arm/lib1funcs.asm (ctzsi2): New function.
3096 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
3097 * arm/t-linux (LIB1ASMFUNCS): Likewise.
3098 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
3099 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
3100 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
3101 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
3102
d82ad50d
AT
31032012-03-21 Andreas Tobler <andreast@fgznet.ch>
3104
3105 * config.host: Add bits to support powerpc64-*-freebsd*.
3106 * config/rs6000/freebsd-unwind.h: New file.
3107 * config/rs6000/t-freebsd64: New file.
3108
b260a8c0
RG
31092012-03-20 Richard Guenther <rguenther@suse.de>
3110
3111 PR gcov-profile/52627
3112 * libgcov.c (init_mx): Fix mutex name.
3113
86286a8a
TG
31142012-03-16 Tristan Gingold <gingold@adacore.com>
3115
3116 * config/ia64/vms-unwind.h: Remove ulong (and replace
3117 it by unw_reg where used). Define unw_reg with __int64.
3118
7888f266
RO
31192012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3120
3121 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3122 Solaris 8 handling.
3123 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
3124 Solaris 8 handling.
3125 (sparc_is_sighandler): Likewise.
3126
f155bc64
L
31272012-03-13 H.J. Lu <hongjiu.lu@intel.com>
3128
3129 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
3130 <= saved reg size.
3131
d47657bd
RO
31322012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3133
3134 * config/arm/crtn.S: Fix typo.
3135
5bef73a1
RG
31362012-03-13 Richard Guenther <rguenther@suse.de>
3137
3138 * libgcov.c: Remove stdio.h include and NULL un-define.
3139
9c4271f3
RG
31402012-03-13 Richard Guenther <rguenther@suse.de>
3141
3142 PR target/52569
3143 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
3144
c6d10e7c
RG
31452012-03-13 Richard Guenther <rguenther@suse.de>
3146
3147 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
3148
074a385f
RG
31492012-03-13 Richard Guenther <rguenther@suse.de>
3150
3151 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
3152 and __gthread_mutex_init_function definitions.
3153
c4bc5c25
RO
31542012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3155
3156 * config.host (mips*-*-openbsd*): Remove.
3157
5c30094f
RO
31582012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3159
3160 * config.host: Remove alpha*-dec-osf5.1* handling.
3161 * config/alpha/gthr-posix.c: Remove.
3162 * config/alpha/libgcc-osf5.ver: Remove.
3163 * config/alpha/osf5-unwind.h: Remove.
3164 * config/alpha/t-osf-pthread: Remove.
3165 * config/alpha/t-slibgcc-osf: Remove.
3166 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
3167 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
3168 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
3169 * mkmap-flat.awk: Remove osf_export handling.
3170
33e3e24d
RG
31712012-03-12 Richard Guenther <rguenther@suse.de>
3172
3173 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
3174 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3175 (__gthread_mutex_init_function): New function.
3176 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
3177
3178 PR gcov/49484
3179 * libgcov.c: Include gthr.h.
3180 (__gcov_flush_mx): New global variable.
3181 (init_mx, init_mx_once): New functions.
3182 (__gcov_flush): Protect self with a mutex.
3183 (__gcov_fork): Re-initialize mutex after forking.
3184 * unwind-dw2-fde.c: Change condition under which to use
3185 __GTHREAD_MUTEX_INIT_FUNCTION.
3186
d8aba32a
TG
31872012-03-12 Tristan Gingold <gingold@adacore.com>
3188
3189 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
3190 * config/ia64/t-vms: Likewise.
3191
75ffafdc
MH
31922012-03-11 Michael Hope <michael.hope@linaro.org>
3193
4a172156
UB
3194 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
3195 for Thumb-2.
75ffafdc 3196
ef6c2c53
WL
31972012-03-07 Walter Lee <walt@tilera.com>
3198
3199 * config/tilepro/atomic.c: Rename "atomic_" prefix to
3200 "arch_atomic_".
3201 (atomic_xor): Rename and move definition to
3202 config/tilepro/atomic.h.
3203 (atomic_nand): Ditto.
3204 * config/tilepro/atomic.h: Rename "atomic_" prefix to
3205 "arch_atomic_".
3206 (arch_atomic_xor): Move from config/tilepro/atomic.c.
3207 (arch_atomic_nand): Ditto.
3208
4e30d980
GJL
32092012-03-07 Georg-Johann Lay <avr@gjlay.de>
3210
3211 PR target/52507
3212 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
3213
61108225
GJL
32142012-03-07 Georg-Johann Lay <avr@gjlay.de>
3215
3216 PR target/52505
3217 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
3218 from RAM.
3219
b30e10ab
GJL
32202012-03-07 Georg-Johann Lay <avr@gjlay.de>
3221
3222 PR target/52461
3223 PR target/52508
3224 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
3225 if RAMPZ affects reading from RAM.
3226 (__tablejump_elpm__): Ditto.
3227 (.xload): Ditto.
3228 (__movmemx_hi): Ditto.
3229 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
3230 (__do_global_dtors): Ditto.
3231 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
3232 (__movmemx_hi): Ditto.
3233
8993fde4
RH
32342012-03-05 Richard Henderson <rth@redhat.com>
3235
3236 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
3237 [ARM] (count_trailing_zeros): Use the builtin.
3238
b7633ee3
KT
32392012-03-01 Kai Tietz <ktietz@redhat.com>
3240
3241 * soft-fp: Imported from glibc upstream.
3242
fbd3340c
KT
32432012-02-28 Kai Tietz <ktietz@redhat.com>
3244
3245 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
3246 for mingw-targets as attribute gcc_struct.
3247
e9e053eb
ILT
32482012-02-28 Ian Lance Taylor <iant@google.com>
3249
3250 * generic-morestack.c (__splitstack_releasecontext): Correct call
3251 to __morestack_release_segments.
3252
d80c632e
ST
32532012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3254
3255 PR target/52390
3256 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
3257 for __linux__ when removing signals from __morestack_fullmask.
3258
0253a8b1
GJL
32592012-02-23 Georg-Johann Lay <avr@gjlay.de>
3260
3261 PR target/52261
3262 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
3263
e10e461e
UW
32642012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3265
3266 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
3267 instead of HAVE_INITFINI_ARRAY.
3268 * config/ia64/crtend.S: Likewise.
3269
0c0c6398
KT
32702012-02-20 Kai Tietz <ktietz@redhat.com>
3271
d7470374
KT
3272 PR libstdc++/52300
3273 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
3274
0c0c6398
KT
3275 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
3276 to w32-unwind.h header.
3277
78c27266
RS
32782012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3279
3280 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
3281 (mips*-*-linux*): Remove t-slibgcc-libgcc.
3282 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
3283 * config/mips/mips16.S (__mips16_rdhwr): Delete.
3284
5adeb246
RS
32852012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
3286
3287 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
3288
672ed313
IS
32892012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3290
3291 PR libitm/52220
3292 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 3293
e948a1fb
IS
32942012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3295 Patrick Marlier <patrick.marlier@gmail.com>
3296
3297 PR libitm/52220
3298 * config/darwin-crt-tm.c: Generate dummy functions.
3299
6017aed3
IS
33002012-02-15 Iain Sandoe <iains@gcc.gnu.org>
3301 Patrick Marlier <patrick.marlier@gmail.com>
3302
3303 PR libitm/52042
3304 * config/darwin-crt-tm.c (getTMCloneTable): New function.
3305 (__doTMRegistrations): Call it.
e9e053eb 3306 (__doTMdeRegistrations): Likewise.
6017aed3 3307
2da8c1ad
GJL
33082012-01-15 Georg-Johann Lay <avr@gjlay.de>
3309 Anatoly Sokolov <aesok@post.ru>
3310 Eric Weddington <eric.weddington@atmel.com>
3311
3312 PR target/52261
3313 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
3314 (__epilogue_restores__): Ditto.
3315
0f952eb4
EB
33162012-02-15 Eric Botcazou <ebotcazou@adacore.com>
3317
3318 PR target/51921
3319 PR target/52205
3320 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
3321 Solaris 11 and slightly reformat.
3322 (sparc_is_sighandler): Likewise.
3323
dd552284
WL
33242012-02-14 Walter Lee <walt@tilera.com>
3325
3326 * config.host: Handle tilegx and tilepro.
3327 * config/tilegx/sfp-machine.h: New file.
3328 * config/tilegx/sfp-machine32.h: New file.
3329 * config/tilegx/sfp-machine64.h: New file.
3330 * config/tilegx/t-crtstuff: New file.
3331 * config/tilegx/t-softfp: New file.
3332 * config/tilegx/t-tilegx: New file.
3333 * config/tilepro/atomic.c: New file.
3334 * config/tilepro/atomic.h: New file.
3335 * config/tilepro/linux-unwind.h: New file.
3336 * config/tilepro/sfp-machine.h: New file.
3337 * config/tilepro/softdivide.c: New file.
3338 * config/tilepro/softmpy.S: New file.
3339 * config/tilepro/t-crtstuff: New file.
3340 * config/tilepro/t-tilepro: New file.
3341
b59cbd50
JW
33422012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
3343
3344 PR libstdc++/51296
3345 PR libstdc++/51906
3346 * gthr-posix.h: Allow static initializer macros to be disabled.
3347 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
3348
6caf807f
CLT
33492012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3350
3351 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
3352 Add t-slibgcc-libgcc to tmake_file.
3353 * config/mips/libgcc-mips16.ver: Revert previous patch.
3354 * config/mips/mips16.S (__mips16_rdhwr): Hide.
3355
b25364a0
S
33562012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
3357 Jayant R Sonar <jayant.sonar@kpitcummins.com>
3358
3359 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
3360 * config/cr16/crti.S: New file.
3361 * config/cr16/crtlibid.S: New file.
3362 * config/cr16/crtn.S: New file.
3363 * config/cr16/lib1funcs.S: New file.
3364 * config/cr16/t-cr16: New file.
3365 * config/cr16/t-crtlibid: New file.
3366 * config/cr16/unwind-dw2.h: New file.
3367 * config/cr16/unwind-cr16.c: New file.
3368 * config/cr16/divmodhi3.c: New file.
3369
8ef03aa7
AM
33702012-01-25 Alan Modra <amodra@gmail.com>
3371
3372 * config/rs6000/t-linux64: Delete. Move..
3373 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
3374 * config/rs6000/t-linux: ..and libgcc flags to here.
3375
daecebc8
DR
33762012-01-22 Douglas B Rupp <rupp@gnat.com>
3377
3378 * config.host (i[34567]86-*-interix3*):
8ef03aa7 3379 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
3380 * configure: Regenerate.
3381
ddaf8125
RS
33822012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
3383 Richard Sandiford <rdsandiford@googlemail.com>
3384
3385 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
3386 * config/mips/mips16.S (__mips16_rdhwr): New function.
3387 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
3388
2cd8b32c
NS
33892012-01-11 Nathan Sidwell <nathan@acm.org>
3390
3391 * libgcov.c (__gcov_init): Ignore objects with no functions.
3392
cba300dd
GJL
33932012-01-10 Georg-Johann Lay <avr@gjlay.de>
3394
3395 PR target/49868
3396 Extend __pgmx semantics to linearize memory.
3397 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
3398 * config/avr/lib1funcs.S (__xload_1): New function.
3399 (__movmemx_qi, __movmemx_hi): New functions.
3400 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
3401 semantics.
9ffaf4bc 3402
3d137660
EB
34032012-01-09 Eric Botcazou <ebotcazou@adacore.com>
3404
3405 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
3406 purported sigacthandler address isn't null before dereferencing it.
3407 (sparc_is_sighandler): Likewise.
3408
bf4db96c
EB
34092012-01-09 Eric Botcazou <ebotcazou@adacore.com>
3410
3411 PR ada/41929
3412 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
3413 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
3414 (sparc_is_sighandler): Likewise.
3415 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
3416
1ab3568b
TG
34172012-01-06 Tristan Gingold <gingold@adacore.com>
3418
3419 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
3420 compatibility thunks...
3421 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
3422 (crtbeginS.o, crtendS.o): ... and these to ...
3423 * config/ia64/t-ia64-elf: ... this new file.
3424 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
3425 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
3426
925b0ed8
AK
34272012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3428
3429 * configure: Regenerate.
3430 * config/s390/t-crtstuff: Remove -fPIC.
3431
a99ad737
JW
34322012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
3433
3434 PR bootstrap/51006
3435 * enable-execute-stack-mprotect.c (getpagesize): Do not define
3436 for NetBSD.
3437
884f56d1
GJL
34382012-01-02 Georg-Johann Lay <avr@gjlay.de>
3439
3440 PR target/51345
3441 * config/avr/lib1funcs.S: Remove FIXME comments.
3442 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
3443
8c57e547
GJL
34442012-01-02 Georg-Johann Lay <avr@gjlay.de>
3445
3446 Implement light-weight DImode support.
3447 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
3448 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
3449 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
3450 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
3451
04dbc287
NS
34522011-12-30 Nathan Sidwell <nathan@acm.org>
3453
3454 * libgcov.c (gcov_crc32): Remove global var.
3455 (free_fn_data): New function.
3456 (buffer_fn_data): Pass in filename, more robust error recovery.
3457 (crc32_unsigned): New function.
3458 (gcov_exit): More robust detection of new program. More robust
3459 error recovery.
3460 (__gcov_init): Do not update program's crc here.
3461
8e1d97d4
TG
34622011-12-21 Tristan Gingold <gingold@adacore.com>
3463
3464 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
3465
9ffaf4bc
ILT
34662011-12-21 Ian Lance Taylor <iant@google.com>
3467
3468 * config/i386/morestack.S: Simplify CFI opcodes throughout.
3469
a0c8d0c1
ILT
34702011-12-20 Ian Lance Taylor <iant@google.com>
3471
3472 * config/i386/morestack.S (__morestack_non_split): If there is
3473 enough stack space already, don't split. Ask for more stack space
3474 than we required.
3475
69048898
SDJ
34762011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
3477
3478 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
3479 `sys/sdt.h'.
3480 (_Unwind_DebugHook): New function.
3481 (uw_restore_core_regs): New define.
3482 (unwind_phase2): Use uw_restore_core_regs instead of
3483 restore_core_regs.
3484 (unwind_phase2_forced): Likewise.
3485 (__gnu_Unwind_Resume): Likewise.
3486
1bb4b6a3
UB
34872011-12-20 Uros Bizjak <ubizjak@gmail.com>
3488
3489 * config/alpha/linux-unwind.h: Update copyright years.
3490 (MD_FROB_UPDATE_CONTEXT): New define.
3491 (alpha_frob_update_context): New function.
3492
eb028768
RS
34932011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
3494
3495 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
3496 tmake_file rather replacing it.
3497
6a2045bf
IS
34982011-12-15 Iain Sandoe <iains@gcc.gnu.org>
3499
3500 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 3501 function is not used for PPC64.
6a2045bf
IS
3502 (save_world): Amend comments. Update the VRsave mask to reflect the
3503 saved regs.
3504 (rest_world): Update comments, do not clobber r10, do not use r8.
3505 (eh_rest_world_r10): Amend comments, do not use r8.
3506 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
3507 no longer used, move restore of CR and target address to the end of
3508 the routine.
3509
a13780a6
L
35102011-12-14 H.J. Lu <hongjiu.lu@intel.com>
3511
3512 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
3513 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
3514
d7288dfb
GJL
35152011-12-14 Georg-Johann Lay <avr@gjlay.de>
3516
3517 PR target/49313
3518 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
3519 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
3520
8d2c862d
EB
35212011-12-11 Eric Botcazou <ebotcazou@adacore.com>
3522
3523 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
3524
3447cae6
GJL
35252011-12-09 Georg-Johann Lay <avr@gjlay.de>
3526
3527 PR target/49313
3528 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
3529 * config/avr/lib1funcs.S (__muldi3): New function.
3530
806fc6aa
AP
35312011-12-06 Andrew Pinski <apinski@cavium.com>
3532
3533 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
3534 size of func_ptr.
3535 (__frame_dummy_init_array_entry): Likewise.
3536
28c5e6b5
GJL
35372011-12-06 Georg-Johann Lay <avr@gjlay.de>
3538
3539 Forward-port from gcc-4_6-branch r181936 2011-12-02.
3540
3541 PR target/51345
3542 PR target/51002
3543 * config/avr/lib1funcs.S (__prologue_saves__,
3544 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
3545 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
3546
8f90394a
IS
35472011-12-04 Iain Sandoe <iains@gcc.gnu.org>
3548
3549 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
3550
06dd33ac
JDA
35512011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3552
3553 PR other/51272
3554 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
3555 (_ITM_deregisterTMCloneTable): Likewise.
3556 (__register_frame_info): Fix unused warning.
3557 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
3558 pthread_default_stacksize_np): Likewise.
3559 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 3560
85b8555e
DD
35612011-11-29 DJ Delorie <dj@redhat.com>
3562
3563 * config.host (rl78-*-elf): New case.
3564 * config/rl78: New directory for the Renesas RL78.
3565
4d5ae4ea
BS
35662011-11-29 Bernd Schmidt <bernds@codesourcery.com>
3567
3568 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
3569 formatting.
3570
f9c55897
RO
35712011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3572
3573 PR other/51022
3574 * config/rs6000/t-savresfgpr: New file.
3575 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
3576 $(srcdir)/config/rs6000/eabi.S.
3577 * config/rs6000/t-ppccomm-ldbl: Remove.
3578 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
3579 tmake_file.
3580 (powerpc-*-eabispe*): Likewise.
3581 (powerpc-*-eabi*): Likewise.
3582 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
3583 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
3584 to tmake_file, remove rs6000/t-ppccomm-ldbl.
3585 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
3586 tmake_file.
3587 (powerpc-*-eabisim*): Likewise.
3588 (powerpc-*-elf*): Likewise.
3589 (powerpc-*-eabialtivec*): Likewise.
3590 (powerpc-xilinx-eabi*): Likewise.
3591 (powerpc-*-rtems*): Likewise.
3592 (powerpcle-*-elf*): Likewise.
3593 (powerpcle-*-eabisim*): Likewise.
3594 (powerpcle-*-eabi*): Likewise.
3595
a01207c4
ILT
35962011-11-27 Ian Lance Taylor <iant@google.com>
3597
3598 * generic-morestack.c (__splitstack_find): Check for NULL old
3599 stack value.
3600 (__splitstack_resetcontext): New function.
3601 (__splitstack_releasecontext): New function.
3602 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3603
2b0b8ab2
IS
36042011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3605
3606 * config/darwin-crt-tm.c: Correct comments, use correct licence.
3607
c1d8101c
IS
36082011-11-27 Iain Sandoe <iains@gcc.gnu.org>
3609
3610 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
3611
8b281334
RH
36122011-11-26 Richard Henderson <rth@redhat.com>
3613
3614 * config/m68k/linux-atomic.c: New file.
3615 * config/m68k/t-linux: New file.
3616 * config.host (m68k-uclinux, m68k-linux): Use it.
3617
7546aa9d
RH
36182011-11-26 Richard Henderson <rth@redhat.com>
3619
3620 * crtstuff.c (__TMC_LIST__): Mark used not unused.
3621 (__TMC_END__): Only declare if hidden is available; in the definition,
3622 if hidden is unavailable add a null record.
3623 (deregister_tm_clones, register_tm_clones): New.
3624 (__do_global_dtors_aux, frame_dummy): Use them.
3625 (__do_global_dtors, __do_global_ctors_1): Likewise.
3626
e2362f5d
IS
36272011-11-22 Iain Sandoe <iains@gcc.gnu.org>
3628
3629 * config/darwin-crt-tm.c: New file.
3630 * config.host (darwin): Build crttms.o crttme.o to provide
3631 startup and shutdown for tm clones.
3632 * config/t-darwin (crttms.o): New build rule.
3633 (crttme.o): Likewise.
3634
6685dd96
HPN
36352011-11-21 Hans-Peter Nilsson <hp@axis.com>
3636
3637 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
3638 et al.
3639
b0dc7e4c
RH
36402011-11-21 Richard Henderson <rth@redhat.com>
3641
3642 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
3643 (__TMC_LIST__, __TMC_END__): New.
3644 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
3645 (__do_global_dtors): Likewise.
3646 (frame_dummy): Call _ITM_registerTMCloneTable.
3647 (__do_global_ctors_1): Likewise.
3648
d4b4b542
RO
36492011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3650
3651 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
3652 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
3653 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
3654 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
3655 * config/i386/t-darwin64: Remove.
3656 * config/sh/t-netbsd (LIB2ADD): Remove.
3657
989bdb74
GJL
36582011-11-21 Georg-Johann Lay <avr@gjlay.de>
3659
3660 PR target/49313
3661 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
3662 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
3663 * config/avr/lib1funcs.S (wmov): New assembler macro.
3664 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
3665 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
3666 (__udivmod64): New function.
3667 (__negdi2): New function.
3668
515a0cfc
GP
36692011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
3670
3671 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
3672 *-*-freebsd*aout*): Remove.
3673
0115d17f
HPN
36742011-11-20 Hans-Peter Nilsson <hp@axis.com>
3675
3676 * static-object.mk (c_flags-$o): Save c_flags.
3677 ($(base)$(objext)): Use it.
3678
93aeb62b
SE
36792011-11-18 Steve Ellcey <sje@cup.hp.com>
3680
3681 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
3682
7bc6df2c
GJL
36832011-11-18 Georg-Johann Lay <avr@gjlay.de>
3684
3685 PR target/49868
3686 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
3687 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
3688 New functions.
3689
425d737b
MGD
36902011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3691
3692 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
3693 functions.
1bb4b6a3 3694 (aeabi_uidivmod): Likewise.
425d737b
MGD
3695 (umodsi3): Likewise.
3696 (divsi3): Likewise.
3697 (aeabi_idivmod): Likewise.
3698 (modsi3): Likewise.
3699
f2a176dc
TG
37002011-11-16 Tristan Gingold <gingold@adacore.com>
3701
3702 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
3703
7c209481
GJL
37042011-11-15 Georg-Johann Lay <avr@gjlay.de>
3705
3706 PR target/49868
3707 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
3708 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
3709
9dfd5832
JDA
37102011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3711
3712 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
3713 tmake_file list.
3714 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
3715 * config/pa/t-stublib64: Delete.
3716
f77dca5d
RH
37172011-11-12 Richard Henderson <rth@redhat.com>
3718
3719 * config/rs6000/linux-unwind.h (frob_update_context): Properly
3720 cast the pointer argument to _Unwind_SetGRPtr.
3721
902828f0
RO
37222011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3723
3724 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
3725
e14304ef
ILT
37262011-11-09 Ian Lance Taylor <iant@google.com>
3727
3728 * generic-morestack.c: Include <string.h>.
3729 (uintptr_type): Define.
3730 (struct initial_sp): Add dont_block_signals field. Reduce size of
3731 extra array by 1.
3732 (allocate_segment): Set prev field to NULL. Don't set
3733 __morestack_current_segment or __morestack_segments.
3734 (__generic_morestack): Update current->prev and *pp after calling
3735 allocate_segment.
3736 (__morestack_block_signals): Don't do anything if
3737 dont_block_signals is set.
3738 (__morestack_unblock_signals): Likewise.
3739 (__generic_findstack): Check for initial_sp == NULL. Add casts to
3740 uintptr_type.
3741 (__splitstack_block_signals): New function.
3742 (enum __splitstack_content_offsets): Define.
3743 (__splitstack_getcontext, __splitstack_setcontext): New functions.
3744 (__splitstack_makecontext): New function.
3745 (__splitstack_block_signals_context): New function.
3746 (__splitstack_find_context): New function.
3747 * config/i386/morestack.S (__morestack_get_guard): New function.
3748 (__morestack_set_guard, __morestack_make_guard): New functions.
3749 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
3750
e3d871e4
RO
37512011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3752
3753 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
3754 (i[34567]86-*-mingw*): ... here.
3755 (x86_64-*-mingw*): ... here.
3756
e55cef40
RO
37572011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3758
3759 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
3760
5366b186
NS
37612011-11-07 Nathan Sidwell <nathan@acm.org>
3762
3763 * libgcov.c (struct gcov_fn_buffer): New struct.
3764 (buffer_fn_data): New helper.
3765 (gcov_exit): Rework for new gcov data structures.
3766
74155a6f
GJL
37672011-11-07 Georg-Johann Lay <avr@gjlay.de>
3768
3769 PR target/49313
3770 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
3771
200feb07
RO
37722011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3773
3774 * config.host (tmake_file): Correct comment.
3775 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
3776 t-libgcc-pic.
3777 (bfin*-uclinux*): Likewise.
3778 (bfin*-linux-uclibc*): Likewise.
3779 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
3780
3781 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
3782 assigning.
3783 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3784 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
3785 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3786 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
3787 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3788 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
3789 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
3790 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
3791 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
3792 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
3793 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
3794 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
3795 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
3796
3797 * config/bfin/t-elf: Remove.
3798 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
3799
c9cd1a07
RO
38002011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3801
3802 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
3803 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
3804 (lm32-*-elf*, lm32-*-rtems*): Split into ...
3805 (lm32-*-elf*): ... this.
3806 (lm32-*-rtems*): ... and this.
3807 Add to tmake_file.
3808 (m32r-*-rtems*): Add to tmake_file.
3809 (moxie-*-rtems*): Likewise.
3810 (sparc-*-rtems*): Likewise.
3811 Remove t-rtems from tmake_file.
3812 (sparc64-*-rtems*): Likewise.
3813 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
3814 instead.
3815
9fbcc75d
RO
38162011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3817
3818 PR bootstrap/50982
3819 * config/gthr-posix.h: Move ...
3820 * gthr-posix.h: ... here.
3821 * config/gthr-lynx.h: Reflect this.
3822 * config/gthr-vxworks.h: Likewise.
3823 * config/rs6000/gthr-aix.h: Likewise.
3824 * configure.ac (target_thread_file): Likewise.
3825 * configure: Regenerate.
3826
76644b68
SH
38272011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
3828
3829 * config.host (arm*-*-rtemseabi*): New target.
3830
5e490f2a
JDA
38312011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3832
3833 PR other/50991
3834 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
3835 extra-parts.
3836
feeeff5c
JR
38372011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
3838
3839 * config.host (epiphany-*-elf*): New configuration.
3840 * config/epiphany: New Directory.
3841
d618bb2c
RC
38422011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
3843
3844 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
3845 * config/avr/t-rtems: New.
3846 Filter out _exit from LIB1ASMFUNCS.
3847
1bb6f778
DM
38482011-11-04 David S. Miller <davem@davemloft.net>
3849
3850 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
3851 * configure: Rebuild.
3852
9a7f7422
AK
38532011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3854
3855 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
3856 variable.
3857
e4fe948a
GJL
38582011-11-04 Georg-Johann Lay <avr@gjlay.de>
3859
3860 PR target/50931
3861 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
3862 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
3863
7084e037
JS
38642011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
3865
3866 PR target/50989
3867 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
3868
1a032034
RO
38692011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3870
3871 * config/c6x/t-elf (LIB2ADDEH): Set.
3872 * config/c6x/t-c6x-elf: Remove.
3873
d385f772
RO
38742011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3875
3876 * config/i386/sol2-ci.S: Rename to ...
3877 * config/i386/crti.S: ... this.
3878 * config/i386/sol2-cn.S: Rename to ...
3879 * config/i386/crtn.S: ... this.
3880 * config/sparc/sol2-ci.S: Rename to ...
3881 * config/sparc/crti.S: ... this.
3882 * config/sparc/sol2-cn.S: Rename to ...
3883 * config/sparc/crtn.S: ... this.
3884 * config/t-sol2 (CUSTOM_CRTIN): Remove.
3885 (crti.o, crtn.o): Remove.
3886
1ba878a9
TG
38872011-11-04 Tristan Gingold <gingold@adacore.com>
3888
3889 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
3890
02750c15
KK
38912011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
3892
3893 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
3894
bf86b067
HPN
38952011-11-03 Hans-Peter Nilsson <hp@axis.com>
3896
3897 * config.host (crisv32-*-none, cris-*-none): Remove.
3898 (crisv32-*-elf): Append to tmake_file, don't just set it.
3899 (cris-*-elf): Add missing t-fdpbit to tmake_file.
3900
d0bc53bd
RO
39012011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3902
3903 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
3904 (ecrtn$(objext)): Likewise.
3905 (ncrti$(objext)): Likewise.
3906 (ncrtn$(objext)): Likewise.
3907
036da830
AS
39082011-11-03 Andreas Schwab <schwab@redhat.com>
3909
3910 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
3911
d2a7d041
DM
39122011-11-02 David S. Miller <davem@davemloft.net>
3913
3914 * configure.ac: Set host_address on sparc too.
3915 * configure: Regenerate.
3916 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
3917 based upon host_address.
3918 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
3919
af8ed618
JM
39202011-11-02 Jason Merrill <jason@redhat.com>
3921
3922 * config/rs6000/t-ppccomm: Add missing \.
3923
5d1c8e77
RO
39242011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3925
3926 * gthr-single.h, gthr.h: New files.
3927 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
3928 config/gthr-vxworks.h, config/i386/gthr-win32.h,
3929 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
3930 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
3931 * config/i386/gthr-win32.c: Include "gthr-win32.h".
3932 * configure.ac (thread_header): New variable.
3933 Set it depending on target_thread_file.
3934 (gthr-default.h): Link from $thread_header.
3935 * configure: Regenerate.
3936 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
3937
852b75ed
RO
39382011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3939
3940 * configure.ac (tm_file_): New variable.
3941 Determine from tm_file.
3942 (tm_file, tm_defines): Substitute.
3943 * configure: Regenerate.
3944 * mkheader.sh: New file.
3945 * Makefile.in (clean): Remove libgcc_tm.h.
3946 ($(objects)): Depend on libgcc_tm.h.
3947 (libgcc_tm_defines, libgcc_tm_file): New variables.
3948 (libgcc_tm.h, libgcc_tm.stamp): New targets.
3949 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
3950 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
3951 ($(extra-parts)): Depend on libgcc_tm.h.
3952 * config.host (tm_defines, tm_file): New variable.
3953 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
3954 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
3955 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
3956 (avr-*-rtems*): Likewise.
3957 (avr-*-*): Likewise.
3958 (frv-*-elf): Likewise.
3959 (frv-*-*linux*): Likewise.
3960 (h8300-*-rtems*): Likewise.
3961 (h8300-*-elf*): Likewise.
3962 (i[34567]86-*-darwin*): Likewise.
3963 (x86_64-*-darwin*): Likewise.
3964 (rx-*-elf): Likewise.
3965 (tic6x-*-uclinux): Likewise.
3966 (tic6x-*-elf): Likewise.
3967 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
3968 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
3969 * config/i386/cygming-crtbegin.c: Likewise.
3970 * config/i386/cygming-crtend.c: Likewise.
3971 * config/ia64/fde-vms.c: Likewise.
3972 * config/ia64/unwind-ia64.c: Likewise.
3973 * config/libbid/bid_gcc_intrinsics.h: Likewise.
3974 * config/rs6000/darwin-fallback.c: Likewise.
3975 * config/stormy16/lib2funcs.c: Likewise.
3976 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
3977 * crtstuff.c: Likewise.
3978 * dfp-bit.h: Likewise.
3979 * emutls.c: Likewise.
3980 * fixed-bit.c: Likewise.
3981 * fp-bit.c: Likewise.
3982 * generic-morestack-thread.c: Likewise.
3983 * generic-morestack.c: Likewise.
3984 * libgcc2.c: Likewise.
3985 * libgcov.c: Likewise.
3986 * unwind-dw2-fde-dip.c: Likewise.
3987 * unwind-dw2-fde.c: Likewise.
3988 * unwind-dw2.c: Likewise.
3989 * unwind-sjlj.c: Likewise.
3990
f9989b51
RO
39912011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3992
3993 * configure.ac: Include ../config/picflag.m4.
3994 (GCC_PICFLAG): Call it.
3995 Substitute.
3996 * configure: Regenerate.
3997 * Makefile.in (gcc_srcdir): Remove.
3998 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
3999 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
4000 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
4001 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
4002 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
4003 Use $<.
4004 Remove comment.
4005 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
4006 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
4007 to refer to libgcc2.c.
4008 Use $<.
4009 * config/darwin-64.c: New file.
4010 * config/darwin-crt3.c: Remove comment.
4011 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
4012 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
4013 config/udivmodsi4.c: New files.
4014 * config/memcmp.c, config/memcpy.c, config/memmove.c,
4015 config/memset.c: New files.
4016 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
4017 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
4018 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
4019 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
4020 * config/t-openbsd-thread: New file.
4021 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
4022 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
4023 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
4024 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
4025 qrnnd.S.
4026 Adapt filename.
4027 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
4028 to refer to gthr-posix.c.
4029 * config/alpha/t-vms (LIB2ADD): Set.
4030 * config/alpha/vms-gcc_shell_handler.c: New file.
4031 * config/arm/bpabi.c, config/arm/fp16.c,
4032 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
4033 config/arm/unaligned-funcs.c: New files.
4034 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
4035 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4036 * config/arm/t-linux: Likewise.
4037 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
4038 * config/arm/t-netbsd: New file.
4039 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
4040 * config/arm/t-symbian (LIB2ADD_ST): Set.
4041 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
4042 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4043 * config/bfin/t-elf: New file.
4044 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
4045 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
4046 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
4047 config/c6x/ltf.c: New files.
4048 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
4049 (HOST_LIBGCC2_CFLAGS): Set.
4050 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
4051 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4052 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
4053 New files.
4054 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
4055 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
4056 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
4057 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
4058 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
4059 files.
4060 * config/frv/t-frv (LIB2ADD): Set.
4061 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4062 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
4063 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
4064 config/h8300/popcounthi2.c: New files.
4065 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4066 * config/i386/gthr-win32.c: New file.
4067 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
4068 * config/i386/t-cygwin: Likewise.
4069 * config/i386/t-darwin, config/i386/t-darwin64,
4070 config/i386/t-gthr-win32, config/i386/t-interix: New files.
4071 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
4072 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4073 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4074 * config/ia64/quadlib.c: New file.
4075 * config/ia64/t-hpux (LIB2ADD): Set.
4076 * config/ia64/t-ia64: Add comment.
4077 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
4078 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4079 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
4080 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
4081 * config/m32c/t-m32c (LIB2ADD): Set.
4082 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4083 * config/m32r/t-m32r: Likewise.
4084 * config/m68k/fpgnulib.c: New file.
4085 * config/m68k/t-floatlib (LIB2ADD): Set.
4086 (xfgnulib.c): New target.
4087 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
4088 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
4089 * config/mep/t-mep (LIB2ADD): Set.
4090 * config/microblaze/divsi3.asm: Rename to divsi3.S.
4091 * config/microblaze/moddi3.asm: Rename to moddi3.S.
4092 * config/microblaze/modsi3.asm: Rename to modsi3.S.
4093 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
4094 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
4095 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
4096 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
4097 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
4098 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
4099 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
4100 New files.
4101 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
4102 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
4103 * config/pa/fptr.c, config/pa/lib2funcs.S,
4104 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
4105 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
4106 (LIB2ADD, LIB2ADD_ST): Set.
4107 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
4108 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
4109 Set.
4110 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
4111 * config/pdp11/t-pdp11: New file.
4112 * config/picochip/libgccExtras/adddi3.S,
4113 config/picochip/libgccExtras/ashlsi3.S,
4114 config/picochip/libgccExtras/ashrsi3.S,
4115 config/picochip/libgccExtras/clzsi2.S,
4116 config/picochip/libgccExtras/cmpsi2.S,
4117 config/picochip/libgccExtras/divmod15.S,
4118 config/picochip/libgccExtras/divmodhi4.S,
4119 config/picochip/libgccExtras/divmodsi4.S,
4120 config/picochip/libgccExtras/lshrsi3.S,
4121 config/picochip/libgccExtras/parityhi2.S,
4122 config/picochip/libgccExtras/popcounthi2.S,
4123 config/picochip/libgccExtras/subdi3.S,
4124 config/picochip/libgccExtras/ucmpsi2.S,
4125 config/picochip/libgccExtras/udivmodhi4.S,
4126 config/picochip/libgccExtras/udivmodsi4.S: New files.
4127 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
4128 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
4129 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
4130 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
4131 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
4132 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
4133 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
4134 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
4135 files.
4136 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
4137 (HOST_LIBGCC2_CFLAGS): Set.
4138 * config/rs6000/t-darwin64: New file.
4139 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
4140 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
4141 * config/rs6000/t-ppccomm (LIB2ADD): Add
4142 $(srcdir)/config/rs6000/tramp.S.
4143 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
4144 Add $(srcdir)/config/rs6000/eabi.S.
4145 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
4146 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
4147 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
4148 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
4149 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
4150 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
4151 * config/rs6000/tramp.S: New file.
4152 * config/s390/t-tpf: Remove.
4153 * config/sh/linux-atomic.S: New file.
4154 * config/sh/t-linux (LIB2ADD): Set.
4155 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
4156 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
4157 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
4158 to unwind-dw2.c.
4159 (HOST_LIBGCC2_CFLAGS): Set.
4160 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
4161 * config/spu/divmodti4.c, config/spu/divv2df3.c,
4162 config/spu/float_disf.c, config/spu/float_unsdidf.c,
4163 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
4164 config/spu/mfc_multi_tag_release.c,
4165 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
4166 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
4167 config/spu/multi3.c: New files.
4168 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
4169 (HOST_LIBGCC2_CFLAGS): Set.
4170 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
4171 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
4172 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
4173 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
4174 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
4175 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
4176 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
4177 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
4178 config/stormy16/umodsi3.c: New files.
4179 * config/xtensa/lib2funcs.S: New file.
4180 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
4181 * config/xtensa/t-xtensa (LIB2ADD): Set.
4182 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
4183 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
4184 Add t-freebsd-thread to tmake_file for posix threads.
4185 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
4186 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
4187 (*-*-lynxos*): Likewise.
4188 (*-*-netbsd*): Likewise.
4189 (*-*-openbsd*): Likewise.
4190 Add t-openbsd-thread to tmake_file for posix threads.
4191 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
4192 (*-*-vxworks*): Set tmake_file.
4193 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4194 (alpha*-*-freebsd*): Likewise.
4195 (alpha*-*-netbsd*): Likewise.
4196 (alpha*-*-openbsd*): Likewise.
4197 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
4198 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
4199 (alpha*-dec-*vms*): Likewise.
4200 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
4201 (bfin*-elf*): Add bfin/t-elf to tmake_file.
4202 (bfin*-uclinux*): Likewise.
4203 (bfin*-linux-uclibc*): Likewise.
4204 (crisv32-*-elf): Add cris/t-cris to tmake_file.
4205 (crisv32-*-none): Likewise.
4206 (cris-*-elf): Likewise.
4207 (cris-*-none): Likewise.
4208 (cris-*-linux*, crisv32-*-linux*): Likewise.
4209 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
4210 tmake_file.
4211 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
4212 tmake_file.
4213 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
4214 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
4215 (x86_64-*-elf*): Likewise.
4216 (i[34567]86-*-nto-qnx*): Likewise.
4217 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
4218 win32 threads.
4219 (x86_64-*-mingw*): Likewise.
4220 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
4221 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
4222 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4223 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4224 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
4225 tmake_file.
4226 (mipsisa64sr71k-*-elf*): Likewise.
4227 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4228 (mips-*-elf*, mipsel-*-elf*): Likewise.
4229 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4230 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4231 (mips*-*-rtems*): Likewise.
4232 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
4233 to tmake_file.
4234 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
4235 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
4236 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
4237 (spu-*-elf*): Likewise.
4238 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
4239
45b86625
RO
42402011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4241
4242 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
4243 $(srcdir) to refer to $(LIB1ASMSRC).
4244 Use $<.
4245 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
4246 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
4247 config/arm/lib1funcs.S: New files.
4248 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
4249 * config/arm/t-arm: New file.
4250 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
4251 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
4252 config/arm/t-strongarm-elf: New files.
4253 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
4254 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
4255 * config/avr/lib1funcs.S: New file.
4256 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4257 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
4258 * config/c6x/lib1funcs.S: New file.
4259 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4260 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
4261 * config/frv/lib1funcs.S: New file.
4262 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4263 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
4264 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
4265 * config/ia64/__divxf3.asm: Rename to ...
4266 * config/ia64/__divxf3.S: ... this.
4267 Adapt lib1funcs.asm filename.
4268 * config/ia64/_fixtfdi.asm: Rename to ...
4269 * config/ia64/_fixtfdi.S: ... this.
4270 Adapt lib1funcs.asm filename.
4271 * config/ia64/_fixunstfdi.asm: Rename to ...
4272 * config/ia64/_fixunstfdi.S: ... this.
4273 Adapt lib1funcs.asm filename.
4274 * config/ia64/_floatditf.asm: Rename to ...
4275 * config/ia64/_floatditf.S: ... this.
4276 Adapt lib1funcs.asm filename.
4277 * config/ia64/lib1funcs.S: New file.
4278 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
4279 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4280 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
4281 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
4282 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
4283 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
4284 * config/mep/lib1funcs.S: New file.
4285 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4286 * config/mips/mips16.S: New file.
4287 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4288 * config/pa/milli64.S: New file.
4289 * config/pa/t-linux, config/pa/t-linux64: New files.
4290 * config/picochip/lib1funcs.S: New file.
4291 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4292 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
4293 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
4294 * config/sh/t-netbsd: New file.
4295 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
4296 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
4297 * config/sh/t-sh64: New file.
4298 * config/sparc/lb1spc.S: New file.
4299 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
4300 filename.
4301 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
4302 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
4303 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
4304 config/xtensa/lib1funcs.S: New files.
4305 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
4306 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
4307 tmake_file.
4308 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
4309 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
4310 (arm*-*-linux*): Likewise.
4311 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
4312 arm*-*-linux-*eabi, add arm/t-linux otherwise.
4313 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
4314 (arm*-*-ecos-elf): Likewise.
4315 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4316 (arm*-*-rtems*): Likewise.
4317 (arm*-*-elf): Likewise.
4318 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
4319 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
4320 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
4321 (bfin*-uclinux*): Likewise.
4322 (bfin*-linux-uclibc*): Likewise.
4323 (bfin*-rtems*): Likewise.
4324 (bfin*-*): Likewise.
4325 (fido-*-elf): Merge into m68k-*-elf*.
4326 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
4327 (frv-*-*linux*): Add frv/t-frv to tmake_file.
4328 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
4329 (h8300-*-elf*): Likewise.
4330 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
4331 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
4332 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
4333 (i[34567]86-*-mingw*): Likewise.
4334 (x86_64-*-mingw*): Likewise.
4335 (i[34567]86-*-interix3*): Likewise.
4336 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
4337 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
4338 (m68k-*-elf*): Also handle fido-*-elf.
4339 Add m68k/t-floatlib to tmake_file.
4340 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
4341 (m68k-*-linux*): Likewise.
4342 (m68k-*-rtems*): Likewise.
4343 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
4344 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
4345 sh64*-*-*.
4346 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
4347 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
4348 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
4349 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
4350 sh/t-netbsd to tmake_file.
4351 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
4352 (sh-*-rtems*): Add sh/t-sh to tmake_file.
4353 (sh-wrs-vxworks): Likewise.
4354 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
4355 *-leon[3-9]*.
4356 (v850*-*-*): Add v850/t-v850 to tmake_file.
4357 (vax-*-linux*): Add vax/t-linux to tmake_file.
4358 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
4359
5f73c6cc
RO
43602011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4361
4362 * crtstuff.c: New file.
4363 * Makefile.in (CRTSTUFF_CFLAGS): Define.
4364 (CRTSTUFF_T_CFLAGS): Define.
4365 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
4366 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
4367 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
4368 crtstuff.c.
4369 Use $<.
4370 (crtbeginT.o): Use $(objext).
4371 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
4372 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
4373 (gcc-extra-parts): Remove.
4374 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
4375 Set extra_parts.
4376 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4377 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
4378 Add t-crtstuff-pic to tmake_file.
4379 (*-*-lynxos*): New case.
4380 Set tmake_file, extra_parts.
4381 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
4382 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
4383 *-*-netbsdelf[2-9]*.
4384 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
4385 (*-*-rtems*): Set extra_parts.
4386 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
4387 (*-*-uclinux*): New case.
4388 Set extra_parts.
4389 (*-*-vms*): New case.
4390 Set tmake_file, extra_parts.
4391 (*-*-elf): Set extra_parts.
4392 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
4393 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
4394 vms/t-vms64.
4395 Set extra_parts.
4396 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
4397 Set extra_parts.
4398 (arm*-*-freebsd*): Add t-crtin to tmake_file.
4399 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
4400 (arm-wrs-vxworks): Append to tmake_file.
4401 Set extra_parts.
4402 (arm*-*-uclinux*): Set extra_parts.
4403 (arm*-*-ecos-elf): Likewise.
4404 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
4405 arm*-*-eabi*.
4406 (arm*-*-rtems*): Set extra_parts.
4407 (arm*-*-elf): Likewise.
4408 (avr-*-rtems*): Clear extra_parts.
4409 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
4410 Set extra_parts.
4411 (bfin*-uclinux*): Likewise.
4412 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
4413 (bfin*-rtems*): Append to tmake_file.
4414 Set extra_parts.
4415 (bfin*-*): Likewise.
4416 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
4417 (crisv32-*-elf): ... this.
4418 (crisv32-*-none): ... this.
4419 (cris-*-elf, cris-*-none): New cases.
4420 Add cris/t-elfmulti to tmake_file.
4421 (fr30-*-elf): Append to tmake_file.
4422 Set extra_parts.
4423 (frv-*-elf): Append to tmake_file, add frv/t-frv.
4424 Set extra_parts.
4425 (h8300-*-rtems*): Append to tmake_file.
4426 Set extra_parts.
4427 (h8300-*-elf*): Likewise.
4428 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
4429 Set extra_parts.
4430 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
4431 Set extra_parts.
4432 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
4433 (x86_64-*-elf*): Likewise.
4434 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
4435 (x86_64-*-freebsd*): Likewise.
4436 (x86_64-*-netbsd*): Likewise.
4437 (i[34567]86-*-linux*): Likewise.
4438 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
4439 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
4440 (x86_64-*-linux*): Likewise.
4441 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
4442 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
4443 tmake_file.
4444 Set extra_parts.
4445 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
4446 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
4447 Append to extra_parts, remove crtbegin.o, crtend.o.
4448 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
4449 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
4450 crtend.o, crtbeginS.o, crtendS.o.
4451 (ia64*-*-linux*): Comment extra_parts.
4452 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
4453 Set extra_parts.
4454 (iq2000*-*-elf*): Clear extra_parts.
4455 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
4456 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
4457 (m32r-*-elf*, m32r-*-rtems*): Split off ...
4458 (m32r-*-rtems*): ... this.
4459 Add m32r/t-m32r to tmake_file.
4460 (m68k-*-elf*): Add t-crtin to tmake_file.
4461 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
4462 (mcore-*-elf): Likewise.
4463 (microblaze*-*-*): Set extra_parts.
4464 (mips*-sde-elf*): New case.
4465 Set tmake_file, extra_parts.
4466 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
4467 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
4468 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
4469 tmake_file.
4470 Set extra_parts.
4471 (mipsisa64sr71k-*-elf*): Likewise.
4472 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
4473 (mips-*-elf*, mipsel-*-elf*): Likewise.
4474 (mips64-*-elf*, mips64el-*-elf*): Likewise.
4475 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
4476 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
4477 (mips*-*-rtems*): Likewise.
4478 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
4479 (moxie-*-*): Split into ...
4480 (moxie-*-elf, moxie-*-uclinux*): ... this.
4481 Add to extra_parts, remove crtbegin.o, crtend.o.
4482 (moxie-*-rtems*): New case.
4483 Set tmake_file.
4484 Clear extra_parts.
4485 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
4486 Set extra_parts.
4487 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
4488 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
4489 tmake_file.
4490 Set extra_parts.
4491 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
4492 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
4493 Set extra_parts.
4494 (powerpc-*-eabisim*): Likewise.
4495 (powerpc-*-elf*): Likewise.
4496 (powerpc-*-eabialtivec*): Likewise.
4497 (powerpc-xilinx-eabi*): Likewise.
4498 (powerpc-*-eabi*): Likewise.
4499 (powerpc-*-rtems*): Likewise.
4500 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
4501 tmake_file.
4502 Set extra_parts.
4503 (powerpc-*-lynxos*): Add to tmake_file.
4504 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
4505 rs6000/t-crtstuff, t-crtstuff-pic.
4506 Set extra_parts.
4507 (powerpcle-*-eabisim*): Likewise.
4508 (powerpcle-*-eabi*): Likewise.
4509 (rx-*-elf): Remove extra_parts.
4510 (s390x-ibm-tpf*): Set extra_parts.
4511 (score-*-elf): Set extra_parts.
4512 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4513 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4514 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4515 (sh64l*-*-netbsd*): Split into ...
4516 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
4517 Add t-crtstuff-pic to tmake_file.
4518 Set extra_parts.
4519 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
4520 Set extra_parts.
4521 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
4522 (sparc-*-elf*): Remove t-crtin from tmake_file.
4523 Add to extra_parts, remove crtbegin.o, crtend.o.
4524 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
4525 (sparc64-*-linux*): Likewise.
4526 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
4527 Add to extra_parts, remove crtbegin.o, crtend.o.
4528 (sparc64-*-elf*): Remove t-crtin from tmake_file.
4529 Add to extra_parts, remove crtbegin.o, crtend.o.
4530 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
4531 Add to extra_parts, remove crtbegin.o, crtend.o.
4532 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
4533 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
4534 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
4535 Set extra_parts.
4536 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
4537 Set extra_parts.
4538 (tic6x-*-*): Change to ...
4539 (tic6x-*-elf): ... this.
4540 Set extra_parts.
4541 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
4542 Set extra_parts.
4543 (am33_2.0-*-linux*): Add comment.
4544 (mep*-*-*): Add mep/t-mep to tmake_file.
4545 Set extra_parts.
4546 * config/alpha/t-vms: New file.
4547 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
4548 * config/arm/crti.S, config/arm/crtn.S: New files.
4549 * config/bfin/crti.S, config/bfin/crtn.S: New files.
4550 * config/bfin/crtlibid.S: New file.
4551 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
4552 * config/c6x/crti.S, config/c6x/crtn.S: New files.
4553 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
4554 (crti.o, crtin.o): New rules.
4555 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4556 * config/c6x/t-uclinux: New file.
4557 * config/cris/t-elfmulti: New file.
4558 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
4559 * config/fr30/crti.S, config/fr30/crtn.S: New files.
4560 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
4561 * config/frv/t-frv: New file.
4562 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
4563 * config/h8300/crti.S, config/h8300/crtn.S: New files.
4564 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
4565 New files.
4566 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
4567 refer to cygming-crtbegin.c, cygming-crtend.c.
4568 Use $<.
4569 * config/i386/t-nto: New file.
4570 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
4571 * config/ia64/crti.S, config/ia64/crtn.S: New files.
4572 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
4573 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
4574 Use .S extension.
4575 Use $<.
4576 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
4577 (crtinitS.o): New rule.
4578 * config/ia64/vms-crtinit.S: New file.
4579 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
4580 * config/m32r/initfini.c: New file.
4581 * config/m32r/t-linux, config/m32r/t-m32r: New files.
4582 * config/m68k/crti.S, config/m68k/crtn.S: New files.
4583 * config/mcore/crti.S, config/mcore/crtn.S: New files.
4584 * config/mep/t-mep: New file.
4585 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
4586 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
4587 * config/mips/crti.S, config/mips/crtn.S: New files.
4588 * config/mips/t-crtstuff: New file.
4589 * config/mmix/crti.S, config/mmix/crtn.S: New files.
4590 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
4591 (CUSTOM_CRTIN): Set.
4592 ($(T)crti.o, $(T)crtn.o): Remove $(T),
4593 dependencies.
4594 Use $(srcdir) to refer to crti.S, crtn.S.
4595 Use .S extension, $<.
4596 * config/moxie/crti.asm: Rename to ...
4597 * config/moxie/crti.S: ... this.
4598 * config/moxie/crtn.asm: Rename to ...
4599 * config/moxie/crtn.S: ... this.
4600 * config/moxie/t-moxie: Remove.
4601 * config/pa/stublib.c: New file.
4602 * config/pa/t-stublib, config/pa/t-stublib64: New files.
4603 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
4604 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
4605 * config/rs6000/t-crtstuff: New file.
4606 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
4607 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
4608 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
4609 Make output file explicit.
4610 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
4611 Make output file explicit.
4612 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
4613 Make output file explicit.
4614 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
4615 Make output file explicit.
4616 * config/score/crti.S, config/score/crtn.S: New files.
4617 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
4618 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
4619 files.
4620 * config/sh/t-sh, config/sh/t-superh: New files.
4621 * config/sparc/t-linux64: New file.
4622 * config/spu/cache.S, config/spu/cachemgr.c: New files.
4623 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
4624 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
4625 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
4626 * config/t-crtin: Remove.
4627 * config/t-crtstuff-pic: New file.
4628 * config/t-sol2 (CUSTOM_CRTIN): Set.
4629 (crti.o, crtn.o): New rules.
4630 * config/vms/t-vms: New file.
4631 * config/vms/vms-ucrt0.c: New file.
4632 * config/xtensa/t-elf: New file.
4633
b040f2be
RO
46342011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4635
4636 * Makefile.in (SHLIB_NM_FLAGS): Set.
4637 * mkmap-flat.awk, mkmap-symver.awk: New files.
4638 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
4639 exceptions.
4640 * configure: Regenerate.
4641 * config/libgcc-glibc.ver: New file.
4642 * config/libgcc-libsystem.ver: New file.
4643 * config/t-libunwind (SHLIB_LC): Set.
4644 * config/t-linux: New file.
4645 * config/t-slibgcc (INSTALL_SHLIB): New.
4646 (SHLIB_INSTALL): Use it.
4647 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
4648 to mkmap-symver.awk.
4649 (SHLIB_MAPFILES): Don't append, adapt pathname.
4650 (SHLIB_VERPFX): Set.
4651 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
4652 to mkmap-symver.awk.
4653 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
4654 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
4655 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
4656 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
4657 to mkmap-flat.awk.
4658 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
4659 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
4660 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
4661 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
4662 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
4663 * config/i386/libgcc-darwin.10.4.ver,
4664 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
4665 New files.
4666 * config/i386/t-darwin: Remove.
4667 * config/i386/t-darwin64: Likewise.
4668 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
4669 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
4670 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
4671 * config/i386/t-linux: New file.
4672 * config/i386/t-mingw32: New file.
4673 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
4674 * config/ia64/t-glibc: Rename to ...
4675 * config/ia64/t-linux: ... this.
4676 (SHLIB_MAPFILES): Set.
4677 * config/ia64/t-glibc-libunwind: Rename to ...
4678 * config/ia64/t-linux-libunwind: ... this.
4679 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
4680 * config/ia64/t-slibgcc-hpux: New file.
4681 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
4682 * config/m68k/t-slibgcc-elf-ver: New file.
4683 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
4684 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
4685 to mkmap-flat.awk.
4686 * config/pa/t-slibgcc-hpux: New file.
4687 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
4688 files.
4689 * config/rs6000/libgcc-darwin.10.4.ver,
4690 config/rs6000/libgcc-darwin.10.5.ver: New files.
4691 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
4692 config/rs6000/libgcc-glibc.ver.
4693 * config/rs6000/libgcc-ppc64.ver: Rename to
4694 config/rs6000/libgcc-ibm-ldouble.ver.
4695 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
4696 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
4697 * config/rs6000/t-ldbl128: Rename to ...
4698 * config/rs6000/t-linux: ... this.
4699 (SHLIB_MAPFILES): Adapt filename.
4700 * config/rs6000/t-slibgcc-aix: New file.
4701 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
4702 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
4703 libgcc-excl.ver, libgcc-glibc.ver.
4704 (SHLIB_LINK, SHLIB_INSTALL): Remove.
4705 * config/sparc/libgcc-glibc.ver: New file.
4706 * config/sparc/t-linux: New file.
4707 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
4708 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
4709 t-slibgcc-elf-ver to tmake_file.
4710 Add t-slibgcc-nolc-override to tmake_file for posix threads on
4711 *-*-freebsd[34].
4712 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
4713 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
4714 t-slibgcc-elf-ver, t-linux to tmake_file.
4715 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
4716 tmake_file.
4717 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
4718 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
4719 (alpha*-dec-*vms*): Likewise.
4720 (arm*-*-freebsd*): Append to tmake_file.
4721 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
4722 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
4723 arm*-*-linux-*eabi.
4724 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
4725 tmake_file for arm*-*-symbianelf*.
4726 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
4727 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
4728 cris/t-linux.
4729 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
4730 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
4731 pa/t-slibgcc-dwarf-ver to tmake_file.
4732 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
4733 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
4734 (hppa*64*-*-hpux11*): Likewise.
4735 (hppa[12]*-*-hpux11*): Likewise.
4736 (x86_64-*-darwin*): Don't override tmake_file, but only keep
4737 i386/t-crtpc, i386/t-crtfm.
4738 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
4739 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4740 to tmake_file.
4741 Add i386/t-cygwin to tmake_file.
4742 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
4743 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
4744 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
4745 to tmake_file.
4746 Add i386/t-mingw32 to tmake_file.
4747 (x86_64-*-mingw*): Likewise.
4748 (ia64*-*-freebsd*): Append to tmake_file.
4749 (ia64*-*-linux*): Append to tmake_file.
4750 Replace ia64/t-glibc by ia64/t-linux.
4751 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
4752 system libunwind.
4753 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
4754 t-slibgcc-hpux to tmake_file.
4755 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
4756 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
4757 (m32rle-*-linux*): Likewise.
4758 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
4759 sjlj exceptions.
4760 (microblaze*-linux*): New case.
4761 Append to tmake_file, add t-slibgcc-nolc-override.
4762 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
4763 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
4764 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
4765 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
4766 rs6000/t-slibgcc-aix to tmake_file.
4767 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
4768 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
4769 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
4770 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
4771 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
4772 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
4773 sh*-*-linux*.
4774 (sparc-*-linux*): Append to tmake_file for *-leon*.
4775 Add sparc/t-linux to tmake_file for non-Leon targets.
4776 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
4777 (tic6x-*-uclinux): New case.
4778 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
4779 (tic6x-*-*): Add c6x/t-elf to tmake_file.
4780 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
4781 (am33_2.0-*-linux*): Append to tmake_file.
4782 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4783 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
4784 x86_64-*-kfreebsd*-gnu.
4785 Add i386/t-linux to tmake_file.
4786
18b4bd7b
ILT
47872011-10-28 Ian Lance Taylor <iant@google.com>
4788
4789 * config/i386/morestack.S: Correct CFI information to do proper
4790 returns throughout function. In 32-bit mode, save %ebx so that it
4791 is restored on unwind.
4792
5b2d9d90
BS
47932011-10-25 Bernd Schmidt <bernds@codesourcery.com>
4794
4795 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
4796 case where B3 isn't the return register.
4797
0d53e346
BS
4798 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
4799 logic for doubleword pops.
4800
cbffbd59
AT
48012011-10-25 Andreas Tobler <andreast@fgznet.ch>
4802
4803 * config/rs6000/t-freebsd: Add wildcard.
4804
56dc349e
PB
48052011-10-21 Paul Brook <paul@codesourcery.com>
4806
4807 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
4808
1e06b07d
UB
48092011-10-16 Uros Bizjak <ubizjak@gmail.com>
4810 Eric Botcazou <ebotcazou@adacore.com>
4811
4812 PR target/50737
4813 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
4814 fs->signal_frame to 1.
4815
b5204884
ILT
48162011-10-07 Ian Lance Taylor <iant@google.com>
4817
4818 * generic-morestack-thread.c: #include <errno.h>.
4819
91a639a1
ILT
48202011-10-07 Ian Lance Taylor <iant@google.com>
4821
4822 PR target/46093
4823 * generic-morestack.c (__generic_morestack): Make sure the segment
4824 is large enough for both the stack frame and the copied
4825 parameters.
4826
cc49116d
RO
48272011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4828
4829 PR bootstrap/49804
4830 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
4831 extra_parts.
4832
2996d8c3
NC
48332011-09-28 Nick Clifton <nickc@redhat.com>
4834
4835 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
4836 64-bit doubles are not enabled.
4837 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
4838 and floatunsisf functions.
4839
1e874273 48402011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 4841
1e874273
PB
4842 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
4843 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
4844 * unwind-arm-common.inc: New file.
4845 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
4846 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
4847 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
4848 * config/c6x/libunwind.S: New file.
4849 * config/c6x/pr-support.c: New file.
4850 * config/c6x/unwind-c6x.c: New file.
4851 * config/c6x/unwind-c6x.h: New file.
4852 * config/c6x/t-c6x-elf: New file.
4853
f70c879a
UB
48542011-08-23 Uros Bizjak <ubizjak@gmail.com>
4855
4856 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
4857 (ASM_DIVZERO): Ditto.
4858 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
4859
c55b374b
RS
48602011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
4861
4862 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
4863
1e138510
RS
48642011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
4865
4866 PR target/50090
4867 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
4868 instead of an assembly one.
4869
1563503d
PB
48702011-08-12 Paolo Bonzini <bonzini@gnu.org>
4871
4872 PR bootstrap/50047
4873 * Makefile.in (install-unwind_h): Create
4874 $(gcc_objdir)/include/unwind.h atomically.
4875
3627ac1a
RO
48762011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4877
4878 * Makefile.in (install-unwind_h): Remove destination file first.
4879
c6412d86
RO
48802011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4881
4882 * sync.c: New file.
4883 * config/mips/t-mips16: New file.
4884 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
4885 (mips*-*-linux*): Likewise.
4886 (mips*-sde-elf*): Likewise.
4887 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
4888 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
4889 Add mips/t-mips16 to tmake_file.
4890 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
4891 (mips-*-elf*): Likewise.
4892 (mips64-*-elf*): Likewise.
4893 (mips64orion-*-elf*): Likewise.
4894 (mips*-*-rtems*): Likewise.
4895 (mipstx39-*-elf*): Likewise.
4896 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
4897 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
4898 LIBGCC_SYNC_CFLAGS.
4899 Use $(srcdir) to refer to sync.c.
4900 Use $<.
4901 ($(libgcc-sync-funcs-o)): Likewise.
4902 ($(libgcc-sync-size-funcs-s-o)): Likewise.
4903 ($(libgcc-sync-funcs-s-o)): Likewise.
4904
3cb6e5bd
AS
49052011-08-09 Andreas Schwab <schwab@linux-m68k.org>
4906
4907 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
4908 t-libunwind.
4909
cca2207a
L
49102011-08-08 H.J. Lu <hongjiu.lu@intel.com>
4911
4912 PR other/48007
4913 * config/i386/value-unwind.h: New.
4914
ed39fbad
RS
49152011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
4916
4917 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
4918 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
4919 Add to tmake_file rather than overriding it.
4920
aca0b0b3
RO
49212011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4922
4923 * config/t-softfp: Remove.
4924 * soft-fp: Moved from ../gcc/config.
4925 * soft-fp/README: Remove t-softfp reference.
4926 * soft-fp/t-softfp: Move to config/t-softfp.
4927 (softfp_machine_header): Remove.
4928 (softfp_file_list): Remove config subdir.
4929 (soft-fp-objects): New variable.
4930 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
4931 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
4932 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
4933 * config/t-softfp-excl: New file.
4934 * config/t-softfp-sfdf: New file.
4935 * config/t-softfp-tf: New file.
4936 * config/no-sfp-machine.h: New file.
4937 * config/arm/sfp-machine.h: New file.
4938 * config/arm/t-softfp: New file.
4939 * config/c6x/sfp-machine.h: New file.
4940 * config/i386/32/t-fprules-softfp: Rename to ...
4941 * config/i386/32/t-softfp: ... this.
4942 (tifunctions, LIB2ADD): Remove.
4943 (softfp_int_modes): Override.
4944 * config/i386/64/t-softfp-compat (tf-functions): Remove config
4945 subdir.
4946 * config/i386/64/eqtf2.c: Likewise.
4947 * config/i386/64/getf2.c: Likewise.
4948 * config/i386/64/letf2.c: Likewise.
4949 * config/ia64/sft-machine.h: New file.
4950 * config/ia64/t-fprules-softfp: Rename to ...
4951 * config/ia64/t-softfp: ... this.
4952 * config/lm32/sfp-machine.h: New file.
4953 * config/moxie/t-moxie-softfp: Remove.
4954 * config/rs6000/ibm-ldouble-format: New file.
4955 * config/rs6000/ibm-ldouble.c: New file.
4956 * config/rs6000/libgcc-ppc-glibc.ver: New file
4957 * config/rs6000/libgcc-ppc64.ver: New file
4958 * config/rs6000/sfp-machine.h: New file.
4959 * config/rs6000/t-freebsd: New file.
4960 * config/rs6000/t-ibm-ldouble: New file.
4961 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
4962 libgcc-ppc-glibc.ver.
4963 * config/rs6000/t-linux64: New file.
4964 * config/rs6000/t-ppccomm (LIB2ADD): Add
4965 $(srcdir)/config/rs6000/ibm-ldouble.c.
4966 * config/rs6000/t-ppccomm-ldbl: New file.
4967 * config/score/sfp-machine.h: New file.
4968 * config.host (sfp_machine_header): Explain.
4969 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
4970 t-softfp to tmake_file.
4971 (arm*-*-uclinux*): Likewise.
4972 (arm*-*-ecos-elf): Likewise.
4973 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
4974 (arm*-*-rtems*): Likewise.
4975 (arm*-*-elf): Likewise.
4976 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
4977 in tmake_file.
4978 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
4979 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
4980 (lm32-*-uclinux*): Likewise.
4981 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
4982 t-softfp-excl, t-softfp.
4983 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
4984 (powerpc64-*-darwin*): Likewise.
4985 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
4986 to tmake_file.
4987 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
4988 tmake_file.
4989 (powerpc-*-eabisim*): Likewise.
4990 (powerpc-*-elf*): Likewise.
4991 (powerpc-*-eabialtivec*): Likewise.
4992 (powerpc-xilinx-eabi*): Likewise.
4993 (powerpc-*-rtems*): Likewise.
4994 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
4995 t-softfp-excl, t-softfp to tmake_file.
4996 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
4997 rs6000/t-ppccomm-ldbl to tmake_file.
4998 (powerpcle-*-elf*): Likewise.
4999 (powerpcle-*-eabisim*): Likewise.
5000 (powerpcle-*-eabi*): Likewise.
5001 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5002 rs6000/t-ibm-ldouble to tmake_file.
5003 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5004 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5005 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
5006 (tic6x-*-*): Likewise.
5007 (i[34567]86-*-darwin*, x86_64-*-darwin*,
5008 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
5009 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
5010 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
5011 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
5012 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
5013 t-softfp to tmake_file.
5014 * configure.ac (sfp_machine_header): Provide default if unset.
5015 Substitute.
5016 Link sfp-machine.h to config/$sfp_machine_header.
5017 * configure: Regenerate.
5018
569dc494
RO
50192011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5020
5021 * Makefile.in (double_type_size, long_double_type_size): Set.
5022 Remove $(fpbit-in-libgcc) support.
5023 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
5024 (fpbit-src): New variable.
5025 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
5026 Compile with -DFLOAT $(FPBIT_CFLAGS).
5027 Use $<.
5028 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
5029 Compile with $(FPBIT_CFLAGS).
5030 Use $<.
5031 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
5032 Compile with -DFLOAT $(TPBIT_CFLAGS).
5033 Use $<.
5034 * configure.ac (double_type_size, long_double_type_size):
5035 Determine and substitute.
5036 * configure: Regenerate.
5037 * fp-bit.c, fp-bit.h: New files.
5038 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
5039 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
5040 * config/mips/t-mips: New file.
5041 * config/mips/t-sdemtk: New file.
5042 * config/rs6000/ppc64-fp.c: New file.
5043 * config/rs6000/t-darwin (LIB2ADD): Add
5044 $(srcdir)/config/rs6000/ppc64-fp.c.
5045 * config/rs6000/t-ppc64-fp: New file.
5046 * config/rx/rx-lib.h: New file.
5047 * config/rx/t-rx (FPBIT): Set to true.
5048 ($(gcc_objdir)/fp-bit.c): Remove.
5049 (DPBIT): Set to true only with -m64bit-doubles.
5050 ($(gcc_objdir)/dp-bit.c): Remove.
5051 * config/sparc/t-softfp: Remove.
5052 * config/spu/t-elf: New file.
5053 * config/t-fdpbit, config/t-fpbit: New files.
5054 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
5055 (mips*-*-*): Likewise.
5056 (arm-wrs-vxworks): Likewise.
5057 (arm*-*-freebsd*): Likewise.
5058 (avr-*-rtems*): Add t-fpbit to tmake_file.
5059 (avr-*-*): Likewise.
5060 (bfin*-elf*): Add t-fdpbit to tmake_file.
5061 (bfin*-uclinux*): Likewise.
5062 (bfin*-linux-uclibc*): Likewise.
5063 (bfin*-rtems*): New case.
5064 Add t-fdpbit to tmake_file.
5065 (bfin*-*): Add t-fdpbit to tmake_file.
5066 (crisv32-*-elf): Likewise.
5067 (cris-*-linux*): Likewise.
5068 (fr30-*-elf): Likewise.
5069 (frv-*-elf, frv-*-*linux*): Likewise.
5070 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
5071 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
5072 (m32r-*-elf*): Likewise.
5073 (m32rle-*-elf*): Likewise.
5074 (m32r-*-linux*): Likewise.
5075 (m32rle-*-linux*): Likewise.
5076 (mcore-*-elf): Add t-fdpbit to tmake_file.
5077 (microblaze*-*-*): Likewise.
5078 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
5079 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
5080 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
5081 Fix typo.
5082 Add mips/t-tpbit to tmake-file.
5083 (mips*-*-linux*): Fix typo.
5084 (mips*-sde-elf*): New case
5085 Add mips/t-sdemtk unless using newlib.
5086 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
5087 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
5088 (mn10300-*-*): Likewise.
5089 (pdp11-*-*): Likewise.
5090 (picochip-*-*): Add t-fpbit to tmake_file.
5091 (powerpc-*-eabisimaltivec*): Likewise.
5092 (powerpc-*-eabisim*): Likewise.
5093 (powerpc-*-elf*): Likewise.
5094 (powerpc-*-eabialtivec*): Likewise.
5095 (powerpc-xilinx-eabi*): New case.
5096 Add t-fdpbit to tmake_file.
5097 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
5098 (powerpc-*-rtems*): Likewise.
5099 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
5100 tmake_file.
5101 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
5102 tmake_file.
5103 (powerpc-*-lynxos*): Likewise.
5104 (powerpcle-*-elf*): Likewise.
5105 (powerpcle-*-eabisim*): Likewise.
5106 (powerpcle-*-eabi*): Likewise.
5107 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
5108 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
5109 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5110 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5111 (rx-*-elf): Add t-fdpbit to tmake_file.
5112 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
5113 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
5114 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
5115 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
5116 sh*-*-netbsd*.
5117 (sh-*-rtems*): Add t-fdpbit to tmake_file.
5118 (sh-wrs-vxworks): Likewise.
5119 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
5120 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
5121 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
5122 (sparc64-*-rtems*): ... new case.
5123 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
5124 (spu-*-elf*): Likewise.
5125 Add spu/t-elf to tmake_file.
5126 (v850*-*-*): Add t-fdpbit to tmake_file.
5127 (xstormy16-*-elf): Likewise.
5128 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
5129 (mep*-*-*): Likewise.
5130
201cdb74
RO
51312011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5132
5133 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
5134 variables.
5135 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
5136 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
5137 (install-unwind_h): New target.
5138 (all): Depend on it.
5139 * config.host (unwind_header): New variable.
5140 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
5141 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
5142 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
5143 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
5144 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
5145 Set unwind_header.
5146 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
5147 Set unwind_header.
5148 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
5149 arm*-*-eabi*.
5150 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
5151 Set unwind_header.
5152 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
5153 (ia64*-*-freebsd*): Likewise.
5154 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
5155 tmake_file.
5156 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
5157 $with_system_libunwind.
5158 (ia64*-*-hpux*): Set tmake_file.
5159 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
5160 (picochip-*-*): Set tmake_file.
5161 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
5162 md_unwind_header.
5163 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
5164 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
5165 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
5166 (xtensa*-*-elf*): Set tmake_file.
5167 (xtensa*-*-linux*): Likewise.
5168 * configure.ac: Include ../config/unwind_ipinfo.m4.
5169 Call GCC_CHECK_UNWIND_GETIPINFO.
5170 Link unwind.h to $unwind_header.
5171 * configure: Regenerate.
5172 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
5173 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
5174 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
5175 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
5176 * config/unwind-dw2-fde-darwin.c: New file.
5177 * config/arm/libunwind.S, config/arm/pr-support.c,
5178 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
5179 config/arm/unwind-arm.h,: New files.
5180 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
5181 config/ia64/t-eh-ia64, config/ia64/t-glibc,
5182 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
5183 config/ia64/t-vms, config/ia64/unwind-ia64.c,
5184 config/ia64/unwind-ia64.h: New files.
5185 * config/picochip/t-picochip: New file.
5186 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
5187 files.
5188 * config/rs6000/t-darwin (LIB2ADDEH): Set.
5189 * config/s390/t-tpf (LIB2ADDEH): Remove.
5190 * config/t-darwin (LIB2ADDEH): Set.
5191 * config/t-eh-dw2-dip: New file.
5192 * config/t-libunwind, config/t-libunwind-elf: New files.
5193 * config/t-sol2 (LIB2ADDEH): Remove.
5194 * config/xtensa/t-xtensa: New file.
5195
40f2f11f
L
51962011-08-02 H.J. Lu <hongjiu.lu@intel.com>
5197
5198 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
5199 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
5200 long long to check rt_sigreturn syscall.
5201
bd15e32c
AM
52022011-08-02 Alan Modra <amodra@gmail.com>
5203
5204 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5205 Restore for indirect call bcrtl from correct stack slot, and only
5206 if cfa+40 isn't valid.
5207
655b30bf
JB
52082011-08-01 Julian Brown <julian@codesourcery.com>
5209
5210 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
5211 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
5212 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
5213
247eb06f
JB
52142011-08-01 Julian Brown <julian@codesourcery.com>
5215
5216 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
5217 (libgcc-std.ver.in): Use above.
5218 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
5219 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
5220 throughout file.
5221 * config/t-fixedpoint-gnu-prefix: New file.
5222 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
5223 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
5224 instead of __PFX__.
5225
02a8fe00
L
52262011-07-28 H.J. Lu <hongjiu.lu@intel.com>
5227
5228 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
5229 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
5230 for x86-64. Properly check __x86_64__ and __LP64__.
5231
5fce9126
L
52322010-07-28 H.J. Lu <hongjiu.lu@intel.com>
5233
5234 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
5235 version.
5236 (_FP_WS_TYPE): Likewise.
5237 (_FP_I_TYPE): Likewise.
5238
2374a88a
AM
52392011-07-28 Alan Modra <amodra@gmail.com>
5240
5241 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
5242 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
5243 in a plt call stub. Do restore r2 if stopped on bctrl.
5244
e44dbbe1
RO
52452011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5246
5247 * config.host (i[3456x]86-*-netware*): Remove.
5248 * config/i386/netware-crt0.c, config/i386/t-nwld,
5249 config/i386/t-slibgcc-nwld: Remove.
5250
bcead286
BS
52512011-07-15 Bernd Schmidt <bernds@codesourcery.com>
5252
5253 * config.host: Handle tic6x-*-*.
5254 * config/c6x/c6x-abi.h: New file.
5255
b3fe1584
RO
52562011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5257
5258 * config/i386/crtprec.c: New file.
5259 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
5260 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
5261 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
5262 (x86_64-*-darwin*): Likewise.
5263 (i[34567]86-*-solaris2*: Likewise.
5264
35d8090d
RO
52652011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5266
5267 * config/alpha/crtfastmath.c: New file.
5268 * config/i386/crtfastmath.c: New file.
5269 * config/ia64/crtfastmath.c: New file.
5270 * config/mips/crtfastmath.c: New file.
5271 * config/sparc/crtfastmath.c: New file.
5272
5273 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
5274 crtfastmath.c.
5275 Add -frandom-seed=gcc-crtfastmath.
5276 * config/alpha/t-crtfm: Remove.
5277 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
5278 * config/ia64/t-ia64 (crtfastmath.o): Remove.
5279
5280 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
5281 (alpha*-dec-osf5.1*): Likewise.
5282 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
5283 Add crtfastmath.o to extra_parts.
5284 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
5285 Add crtfastmath.o to extra_parts.
5286 (x86_64-*-darwin*): Likewise.
5287 (x86_64-*-mingw*): Likewise.
5288 (ia64*-*-elf*): Add t-crtfm to tmake_file.
5289 (ia64*-*-freebsd*): Likewise.
5290 (ia64*-*-linux*): Likewise.
5291 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
5292 Add crtfastmath.o to extra_parts.
5293
e141542e
RO
52942011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5295
5296 * config/darwin-crt3.o: New file.
5297 * config/rs6000/darwin-crt2.c: New file.
5298 * config/t-darwin: New file.
5299 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
5300 (crt2.o): New rule.
5301 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
5302 (powerpc-*-darwin*): Add crt2.o to extra_parts.
5303 (powerpc64-*-darwin*): Likewise.
5304
2d1efe2d
RO
53052011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5306
5307 * config/i386/netware-crt0.c: New file.
5308 * config/i386/t-nwld: Rename to ...
5309 * config/i386/t-slibgcc-nwld: ... this.
5310 * config/i386/t-nwld: New file.
5311 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
5312 tmake_file.
5313 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
5314 extra_parts.
5315
4a8bb046
RO
53162011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5317
5318 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
5319 i386/t-crtstuff.
5320 * configure: Regenerate.
5321
2d8d5935
RO
53222011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5323
5324 * dfp-bit.c, dfp-bit.h: New files.
5325 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
5326 variables.
5327 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
5328 ($(d64pbit-o)): Likewise.
5329 ($(d128pbit-o)): Likewise.
5330 * config/t-dfprules: New file.
5331 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
5332 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
5333 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
5334 (x86_64-*-linux*): Likewise.
5335 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
5336 (i[34567]86-*-cygwin*): Likewise.
5337 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
5338 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
5339
2c50b2c3
RO
53402011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5341
5342 * Makfile.in (LIBGCOV): New variable.
5343 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
5344 * libgcov.c: New file.
5345
a039d7c2
RO
53462011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5347
5348 * fixed-bit.c, fixed-bit.h: New files.
5349 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
5350 refer to fixed-bit.c.
5351
1e4b2746
JM
53522011-07-07 Joseph Myers <joseph@codesourcery.com>
5353
5354 * config.host (*local*): Remove.
5355
fbdd5d87
RO
53562011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5357
5358 PR target/39150
5359 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
5360 like i?86-*-solaris2.1[0-9]*.
5361 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
5362 * configure.ac (i?86-*-solaris2*): Likewise.
5363 * configure: Regenerate.
5364
9e7714f4
TS
53652011-07-06 Thomas Schwinge <thomas@schwinge.name>
5366
5367 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
5368 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
5369 md_unwind_header by splitting out of...
5370 (i[34567]86-*-linux*): ... this.
5371 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
5372 Remove md_unwind_header by splitting out of...
5373 (x86_64-*-linux*): ... this.
5374
6dab9931
GJL
53752011-07-04 Georg-Johann Lay <avr@gjlay.de>
5376
5377 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
5378
4be46d19
NC
53792011-06-28 Nick Clifton <nickc@redhat.com>
5380
5381 * config.host: Recognize all V850 variants.
5382
1da9434b
UB
53832011-06-22 Uros Bizjak <ubizjak@gmail.com>
5384
5385 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
5386
e4d48a4d
RO
53872011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5388
5389 * shared-object.mk (c_flags-$o): Save c_flags.
5390 ($(base)$(objext)): Use it.
5391 ($(base)_s$(objext)): Likewise.
5392
3801c801
BS
53932011-06-21 Bernd Schmidt <bernds@codesourcery.com>
5394
5395 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
5396 * libgcc-std.ver.in (GCC_4.7.0): New section.
5397
0ad8bb3b 53982011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 5399
0ad8bb3b
GJL
5400 PR target/49313
5401 PR target/29524
5402 * config/avr/t-avr: Fix line endings.
5403 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
5404 _parityXX2.
5405
ea963999
OH
54062011-06-14 Olivier Hainque <hainque@adacore.com>
5407 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5408
5409 * config/mips/irix6-unwind.h: New file.
5410 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
5411
b11b0904
EB
54122011-06-10 Eric Botcazou <ebotcazou@adacore.com>
5413
5414 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
5415 (sparc64_fallback_frame_state): Use it.
5416 (sparc64_frob_update_context): Further adjust context.
5417 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
5418 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
5419 * config/sparc/sol2-cn.S: Likewise.
5420
10e48e39
RO
54212011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5422
5423 * enable-execute-stack-empty.c: New file.
5424 * enable-execute-stack-mprotect.c: New file.
5425 * config/i386/enable-execute-stack-mingw32.c: New file.
5426 * config.host (enable_execute_stack): New variable.
5427 Select appropriate variants.
5428 * configure.ac: Link enable-execute-stack.c to
5429 $enable_execute_stack.
5430 * configure: Regenerate.
5431 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
5432 (lib2funcs): Remove _enable_execute_stack.
5433
10c4cabc
DM
54342011-06-09 David S. Miller <davem@davemloft.net>
5435 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5436
5437 * config.host (sparc-*-linux*): Correct md_unwind_header
5438 filename.
5439 (s390x-ibm-tpf*): Fix typo.
5440
aa4203e7
RO
54412011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5442
5443 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
5444 Add crtfastmath.o to extra_parts.
5445 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
5446 mips/t-crtfm.
5447 * config/mips/t-crtfm: Remove.
5448
0defd786
JDA
54492011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5450
5451 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
5452
82f247af
KK
54532011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
5454
5455 * config.host (sh*-*-linux*): Fix typo.
5456
58cd1d70
RO
54572011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5458
5459 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
5460 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
5461 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
5462 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
5463 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
5464 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
5465 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
5466 Wrap in !__MINGW64__.
5467 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
5468 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
5469 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
5470 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
5471 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
5472 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
5473 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
5474 Wrap in !__LP64__.
5475 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
5476 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
5477 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
5478 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
5479 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
5480 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
5481 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
5482 * config/no-unwind.h: New file.
5483 * config.host (md_unwind_header): Document.
5484 Define.
5485 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
5486 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
5487 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
5488 hppa[12]*-*-hpux11*): Set md_unwind_header.
5489 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
5490 Set md_unwind_header.
5491 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
5492 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
5493 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
5494 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
5495 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
5496 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
5497 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
5498 md_unwind_header.
5499 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
5500 * configure: Regenerate.
5501
737346fa
RO
55022011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5503
5504 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
5505 Set tmake_file, extra_parts.
5506 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
5507 Remove O32 support.
5508 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
5509 Remove O32 support.
5510 * config/mips/t-irix6: New file.
5511 * config/mips/t-slibgcc-irix: New file.
5512
c192cee6
RO
55132011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5514
5515 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
5516 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
5517
ee33b5f0
RO
55182011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5519
5520 * configure.ac (target_thread_file): Determine thread model.
5521 * configure: Regenerate.
5522 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
5523 * config/alpha/t-alpha: New file.
5524 * config/alpha/t-crtfm: Use $<.
5525 * config/alpha/t-ieee: New file.
5526 * config/alpha/t-osf-pthread: New file.
5527 * config/alpha/t-slibgcc-osf: New file.
5528 * config/alpha/libgcc-osf5.ver: New file.
5529
0699e415
RO
55302011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5531
5532 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
5533 tmake_file.
5534 Add crtfastmath.o to extra_parts.
5535
a3fab9c2
RO
55362011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5537
5538 * config/gmon-sol2.c: Reindent.
5539 Cleanup comments.
5540 Remove, correct casts.
5541 Use STDERR_FILENO, NULL.
5542 (BASEADDRESS): Remove.
5543 (minbrk): Remove.
5544 (errno, sbrk): Remove declarations.
5545 (monstartup) [hp300]: Remove.
5546 (mcount): Remove.
5547
ca24c5ad
RO
55482011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5549
5550 * Makefile.in (cpu_type): Define.
5551 * config.host (i[34567]86-*-rtems*): Handle it.
5552 (i[34567]86-*-solaris2*): Move body ...
5553 (*-*-solaris2*): ... here.
5554 New case, generalize.
5555 (sparc-*-elf*): Handle it.
5556 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
5557 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
5558 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
5559 Fold into ...
5560 (sparc*-*-solaris2*): ... this.
5561 New case.
5562 (sparc64-*-elf*): Handle it.
5563 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
5564 Merge ../gcc/config/i386/gmon-sol2.c.
5565 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
5566 Use C comments.
5567 Merge ../gcc/config/i386/sol2-gc1.asm.
5568 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
5569 Use C comments.
5570 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
5571 Use C comments.
5572 * config/i386/t-crtfm (crtfastmath.o): Use $<.
5573 * config/i386/t-crtstuff: New file.
5574 * config/i386/t-softfp: New file.
5575 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
5576 $(T)crti.o, $(T)crtn.o): Remove.
5577 (gcrt1.o): New rule.
5578 (TARGET_LIBGCC2_CFLAGS): Remove.
5579 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
5580 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
5581 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
5582 * config/sparc/t-sol2: New file.
5583 * config/sparc/t-crtfm: Move to ...
5584 * config/t-crtfm: ... this.
5585 Use $(cpu_type), $<.
5586 * config/t-crtin: New file.
5587 * config/sparc/t-softfp: New file.
5588 * config/sparc/t-softmul: New file.
5589 * config/t-rtems: New file.
5590 * config/t-slibgcc: New file.
5591 * config/t-slibgcc-elf-ver: New file.
5592 * config/t-slibgcc-gld: New file.
5593 * config/t-slibgcc-sld: New file.
5594 * config/t-sol2: New file.
5595 * configure.ac: Include ../config/lib-ld.m4.
5596 Call AC_LIB_PROG_LD_GNU.
5597 Substitute cpu_type.
5598 * configure: Regenerate.
5599
ad5f3d7b
BS
56002011-05-27 Bernd Schmidt <bernds@codesourcery.com>
5601
5602 PR bootstrap/49173
5603 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
5604 libgcc-std.ver in the build directory.
5605 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
5606 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
5607
cdbf4541
BS
56082011-05-25 Bernd Schmidt <bernds@codesourcery.com>
5609
5610 * libgcc-std.ver.in: New file.
5611 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
5612 variables.
5613 (libgcc-std.ver): New rule.
5614 * config/t-gnu-prefix: New file.
5615
c8028650
RO
56162011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5617
5618 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
5619
4a68b4ca
JM
56202011-05-10 Joseph Myers <joseph@codesourcery.com>
5621
5622 * config/i386/darwin-lib.h: New file.
5623
80cf2e08
JM
56242011-05-10 Joseph Myers <joseph@codesourcery.com>
5625
5626 * config/arm/symbian-lib.h: New.
5627
a3330c9d
CD
56282011-05-04 Chris Demetriou <cgd@google.com>
5629
5630 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
5631 (__x86.get_pc_thunk.bx): ...this.
5632 (__morestack): Adjust for rename, remove undef of __i686.
5633
6ace0756
CD
56342011-05-03 Chris Demetriou <cgd@google.com>
5635
5636 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
5637
ebb9f8b0
JM
56382011-03-22 Joseph Myers <joseph@codesourcery.com>
5639
5640 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
5641 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
5642 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
5643 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
5644 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
5645 Remove cases.
5646
9cfa1499
AT
56472011-03-14 Andreas Tobler <andreast@fgznet.ch>
5648
5649 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
5650 Adjust copyright year.
5651
457186f6
ILT
56522011-03-07 Ian Lance Taylor <iant@google.com>
5653
5654 * generic-morestack.c (__splitstack_find): Adjust returned stack
5655 pointer to include all registers pushed by __morestack.
5656
58c741a6
DK
56572011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
5658
5659 PR target/40125
5660 * configure.ac: Call ACX_NONCANONICAL_TARGET.
5661 (toolexecdir): Calculate and AC_SUBST.
5662 (toolexeclibdir): Likewise.
5663 * Makefile.in (target_noncanonical): Import.
5664 (toolexecdir): Likewise.
5665 (toolexeclibdir): Likewise.
5666 * configure: Regenerate.
5667
26716c44
NF
56682010-12-13 Nathan Froyd <froydnj@codesourcery.com>
5669
5670 PR target/46040
5671 * config/arm/bpabi.h: Rename to...
5672 * config/arm/bpabi-lib.h: ...this.
5673
b595b1a1
RO
56742010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5675
5676 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
5677 appropriate.
5678 * configure: Regenerate.
5679
a3abe41c
NF
56802010-11-24 Nathan Froyd <froydnj@codesourcery.com>
5681
5682 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
5683 __FLOAT_WORD_ORDER__.
5684 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
5685 Delete.
5686
455c8f48
RW
56872010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5688
5689 PR other/46202
5690 * Makefile.in (install-strip): New phony target.
5691
f3824a8b
ILT
56922010-11-07 Ian Lance Taylor <iant@google.com>
5693
5694 PR target/46089
5695 * config/i386/morestack.S (__morestack_large_model): New
5696 function.
5697
18ed6ee4
NF
56982010-10-23 Nathan Froyd <froydnj@codesourcery.com>
5699
5700 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
5701 Delete.
5702 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
5703
8ac7fdcb
NF
57042010-10-14 Nathan Froyd <froydnj@codesourcery.com>
5705
5706 * config/arm/bpabi.h: New file.
5707 * config/frv/frv-abi.h: New file.
5708
cdb388c2
ILT
57092010-10-01 Ian Lance Taylor <iant@google.com>
5710
5711 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
5712 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
5713
ef7c141c
L
57142010-10-01 H.J. Lu <hongjiu.lu@intel.com>
5715
5716 PR target/45858
5717 * config.host: Add the missing `$'.
5718
80920132
ME
57192010-09-30 Michael Eager <eager@eagercon.com>
5720
5721 * config.host: Add microblaze*-*-*.
5722 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
5723 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
5724 udivsi3.asm,umodsi3.asm}: New.
5725
6dace308
ILT
57262010-09-28 Ian Lance Taylor <iant@google.com>
5727
5728 * configure.ac: Adjust CFI test to test assembler directly rather
5729 than checking gcc preprocessor macro.
5730 * configure: Rebuild.
5731
b6110d6d
ILT
57322010-09-27 Ian Lance Taylor <iant@google.com>
5733
5734 * configure.ac: Test whether assembler supports CFI directives.
5735 * config.host: Only add t-stack and i386/t-stack-i386 to
5736 tmake_file if libgcc_cv_cfi is "yes".
5737 * configure: Rebuild.
5738
7458026b
ILT
57392010-09-27 Ian Lance Taylor <iant@google.com>
5740
5741 * generic-morestack.h: New file.
5742 * generic-morestack.c: New file.
5743 * generic-morestack-thread.c: New file.
5744 * config/i386/morestack.S: New file.
5745 * config/t-stack: New file.
5746 * config/i386/t-stack-i386: New file.
5747 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
5748 i386/t-stack-i386 to tmake_file.
5749
5b50fc0c
IS
57502010-09-21 Iain Sandoe <iains@gcc.gnu.org>
5751
5752 * Makefile.in (libgcc-extra-parts): Check for static archives and
5753 invoke ranlib after installing them.
5754 (gcc-extra-parts): Likewise.
5755 (install-leaf): Likewise.
5756
b93cf342
L
57572010-09-14 H.J. Lu <hongjiu.lu@intel.com>
5758
5759 * configure: Regenerated.
5760
996b42ef
KT
57612010-09-10 Kai Tietz <kai.tietz@onevision.com>
5762
b93cf342 5763 * configure: Regenerated.
996b42ef 5764
be1c764e
GP
57652010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
5766 Andrew Pinski <pinskia@gmail.com>
5767
1da9434b 5768 PR target/40959
be1c764e
GP
5769 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
5770
cc0ae0ca
L
57712010-09-06 H.J. Lu <hongjiu.lu@intel.com>
5772
5773 PR target/45524
5774 * configure: Regenerated.
5775
84f47d20
AS
57762010-09-06 Andreas Schwab <schwab@redhat.com>
5777
5778 * configure: Regenerate.
5779
4159fb8d
UB
57802010-09-03 Uros Bizjak <ubizjak@gmail.com>
5781
5782 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
5783 64bit targets.
5784 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
5785 for 64bit targets.
5786
0df8fcc8
UB
57872010-09-03 Uros Bizjak <ubizjak@gmail.com>
5788 Iain Sandoe <iains@gcc.gnu.org>
5789
5790 PR target/45476
5791 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
5792 LIB2FUNCS_EXCLUDE functions.
5793
3c39bca6
AK
57942010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5795
5796 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
5797 Include dfp.m4.
5798 * configure: Regenerate.
5799
d78552bd
UB
58002010-09-01 Uros Bizjak <ubizjak@gmail.com>
5801
5802 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
5803 i386/t-freebsd to tmake_file.
5804 * config/i386/t-freebsd: New file.
5805 * config/i386/libgcc-bsd.ver: New file.
5806
c5b79d4e
NF
58072010-07-23 Nathan Froyd <froydnj@codesourcery.com>
5808
5809 * config.host (powerpc*-eabispe*): Set tmake_file.
5810 (powerpc*-eabi*): Likewise.
5811 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
5812 crtbeginS, crtendS, crtbeginT.
5813
48b09a92
KH
58142010-06-12 Kazu Hirata <kazu@codesourcery.com>
5815
5816 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
5817 to tmake_file. Add crtfastmath.o to extra_parts.
5818 * config/mips/t-crtfm: New.
5819
a4389204
JS
58202010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
5821
5822 * config.host (sparc64-*-rtems*): New target.
5823
ed104137
RO
58242010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5825
5826 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5827 assembler syntax.
5828
3f56ef8b
TS
58292010-04-15 Thomas Schwinge <tschwinge@gnu.org>
5830
5831 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
5832
8c200350
RO
58332010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5834
5835 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
5836 alpha-dec-osf5.0* support.
5837
80a61cb4 58382010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
5839
5840 * config.host: Add lm32-*-rtems*.
5841
f128db92
RO
58422010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5843 Uros Bizjak <ubizjak@gmail.com>
5844
5845 PR target/39048
5846 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
5847 like other remaining 32-bit x86 OSes.
5848 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
5849 assembler syntax.
5850 * config/i386/libgcc-sol2.ver: New file.
5851 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
5852
368fabd5
JH
58532010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
5854
5855 PR c/43553
5856 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
5857 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
5858 is used and substitute set_use_emutls.
5859 * configure: Regenerated.
5860
15baf7f8
TG
58612010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
5862
5863 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
5864
7f5441df
RO
58652010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5866
5867 PR target/38085
5868 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
5869 MULTILIB_CFLAGS.
5870 ($(T)gcrt1.o): Likewise.
5871 ($(T)crt1.o): Likewise.
5872 ($(T)crti.o): Likewise.
5873 ($(T)crtn.o): Likewise.
5874
ef74edbd
RW
58752010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5876
5877 PR other/42980
5878 * Makefile.in (install): Use $(MAKE) string in rule, for
5879 parallel make.
5880
e7c914db
HPN
58812010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
5882
5883 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
5884 * config/mmix/t-mmix: New file.
5885 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
5886
1bcb71c4
JH
58872010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
5888
5889 PR java/41991
5890 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
5891 SHLIB_MAPFILES.
5892
e6e50811
AG
58932010-01-04 Anthony Green <green@moxielogic.com>
5894
5895 * config/moxie/crti.asm, config/moxie/crtn.asm,
5896 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
5897 config/moxie/t-moxie: New files.
5898 * config.host: Add t-moxie-softfp reference.
5899
ca8520ad
IS
59002009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
5901
5902 PR other/39888
5903 * config/t-slibgcc-darwin: Fix embedded rpaths for
5904 --enable-version-specific-runtime-libs, build extension stub
5905 libs exposing features available from current libgcc_s.
5906
aa4945c1
JB
59072009-11-11 Jon Beniston <jon@beniston.com>
5908
d78552bd
UB
5909 * config.host: Add lm32 targets.
5910 * config/lm32: New directory.
5911 * config/lm32/libgcc_lm32.h: New file.
5912 * config/lm32/_mulsi3.c: New file.
5913 * config/lm32/_udivmodsi4.c: New file.
5914 * config/lm32/_divsi3.c: New file.
5915 * config/lm32/_modsi3.c: New file.
5916 * config/lm32/_udivsi3.c: New file.
5917 * config/lm32/_umodsi3.c: New file.
5918 * config/lm32/_lshrsi3.S: New file.
5919 * config/lm32/_ashrsi3.S: New file.
5920 * config/lm32/_ashlsi3.S: New file.
5921 * config/lm32/crti.S: New file.
5922 * config/lm32/crtn.S: New file.
5923 * config/lm32/t-lm32: New file.
5924 * config/lm32/t-elf: New file.
5925 * config/lm32/t-uclinux: New file.
aa4945c1 5926
65a324b4
NC
59272009-10-26 Nick Clifton <nickc@redhat.com>
5928
5929 * config.host: Add support for RX target.
5930 * config/rx: New directory.
5931 * config/rx/rx-abi-functions.c: New file. Supplementary
5932 functions for libgcc to support the RX ABI.
5933 * config/rx/rx-abi.h: New file. Supplementary header file for
5934 libgcc RX ABI functions.
5935 * config/rx/t-rx: New file: Makefile fragment for building
5936 libgcc for the RX.
5937
dfb3b0e3
UB
59382009-10-09 Uros Bizjak <ubizjak@gmail.com>
5939
5940 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
5941 constraint of y0 to "g".
5942
81dd9fd7
AK
59432009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5944
5945 * config.host: Include the s390 makefile fragments.
5946 * config/s390/32/_fixdfdi.c: New file.
5947 * config/s390/32/_fixsfdi.c: New file.
5948 * config/s390/32/_fixtfdi.c: New file.
5949 * config/s390/32/_fixunsdfdi.c: New file.
5950 * config/s390/32/_fixunssfdi.c: New file.
5951 * config/s390/32/_fixunstfdi.c: New file.
5952 * config/s390/32/t-floattodi: New file.
5953 * config/s390/libgcc-glibc.ver: New file.
5954 * config/s390/t-crtstuff: New file.
5955 * config/s390/t-linux: New file.
5956 * config/s390/t-tpf: New file.
5957
df58e648
RW
59582009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5959
5960 * configure.ac (AC_PREREQ): Bump to 2.64.
5961
79052be3
KK
59622009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
5963
5964 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
5965
5213506e
RW
59662009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5967
5968 * configure: Regenerate.
5969
a9a25daa
DR
59702009-08-09 Douglas B Rupp <rupp@gnat.com>
5971
5972 * config.host (ia64-hp-*vms*): New target.
5973 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
5974 with ia64-hp-*vms*.
5975
6efbd53f
RW
59762009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5977
5978 * configure.ac: Add snippet for maintainer-mode.
5979 * configure: Regenerate.
5980 * Makefile.in (AUTOCONF, configure_deps): New variables.
5981 ($(srcdir)/configure)): New rule, active only with maintainer
5982 mode turned on.
5983
7acf4da6
DD
59842009-06-23 DJ Delorie <dj@redhat.com>
5985
5986 Add MeP port.
5987 * config.host: Add mep support.
5988
54f549af
KT
59892009-06-22 Kai Tietz <kai.tietz@onevision.com>
5990
34481f28 5991 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 5992 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
5993
5994 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
5995 for mingw targets.
54f549af
KT
5996 * config/i386/64/_multc3.c: Likewise.
5997 * config/i386/64/_powitf2.c: Likewise.
5998 * config/i386/64/eqtf2.c: Likewise.
5999 * config/i386/64/getf2.c: Likewise.
6000 * config/i386/64/letf2.c: Likewise.
6001 * config/i386/64/letf2.c: Likewise.
34481f28
UB
6002 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
6003 unsigned long long for x64 mingw targets.
6004 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
6005 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 6006
fea96e25
MR
60072009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
6008
6009 * config.host (vax-*-linux*): New.
6010
cceb575c
AG
60112009-05-31 Anthony Green <green@moxielogic.com>
6012
6013 * config.host: Add moxie support.
6014 * config/moxie/t-moxie: New file.
6015
e997fb9c
DB
60162009-05-29 David Billinghurst <billingd@gcc.gnu.org>
6017
6018 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 6019 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 6020
532bfb0a
AJ
60212009-04-17 Aurelien Jarno <aurelien@aurel32.net>
6022
6023 * config.host: Add i386/${host_address}/t-fprules-softfp to
6024 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
6025
748086b7
JJ
60262009-04-09 Nick Clifton <nickc@redhat.com>
6027
6028 * config/ia64/tf-signs.c: Change copyright header to refer to
6029 version 3 of the GNU General Public License with version 3.1
6030 of the GCC Runtime Library Exception and to point readers at
6031 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
6032 web page.
6033 * config/i386/32/tf-signs.c: Likewise.
6034 * config/libbid/_addsub_dd.c: Likewise.
6035 * config/libbid/_addsub_sd.c: Likewise.
6036 * config/libbid/_addsub_td.c: Likewise.
6037 * config/libbid/_dd_to_df.c: Likewise.
6038 * config/libbid/_dd_to_di.c: Likewise.
6039 * config/libbid/_dd_to_sd.c: Likewise.
6040 * config/libbid/_dd_to_sf.c: Likewise.
6041 * config/libbid/_dd_to_si.c: Likewise.
6042 * config/libbid/_dd_to_td.c: Likewise.
6043 * config/libbid/_dd_to_tf.c: Likewise.
6044 * config/libbid/_dd_to_udi.c: Likewise.
6045 * config/libbid/_dd_to_usi.c: Likewise.
6046 * config/libbid/_dd_to_xf.c: Likewise.
6047 * config/libbid/_df_to_dd.c: Likewise.
6048 * config/libbid/_df_to_sd.c: Likewise.
6049 * config/libbid/_df_to_td.c: Likewise.
6050 * config/libbid/_di_to_dd.c: Likewise.
6051 * config/libbid/_di_to_sd.c: Likewise.
6052 * config/libbid/_di_to_td.c: Likewise.
6053 * config/libbid/_div_dd.c: Likewise.
6054 * config/libbid/_div_sd.c: Likewise.
6055 * config/libbid/_div_td.c: Likewise.
6056 * config/libbid/_eq_dd.c: Likewise.
6057 * config/libbid/_eq_sd.c: Likewise.
6058 * config/libbid/_eq_td.c: Likewise.
6059 * config/libbid/_ge_dd.c: Likewise.
6060 * config/libbid/_ge_sd.c: Likewise.
6061 * config/libbid/_ge_td.c: Likewise.
6062 * config/libbid/_gt_dd.c: Likewise.
6063 * config/libbid/_gt_sd.c: Likewise.
6064 * config/libbid/_gt_td.c: Likewise.
6065 * config/libbid/_isinfd128.c: Likewise.
6066 * config/libbid/_isinfd32.c: Likewise.
6067 * config/libbid/_isinfd64.c: Likewise.
6068 * config/libbid/_le_dd.c: Likewise.
6069 * config/libbid/_le_sd.c: Likewise.
6070 * config/libbid/_le_td.c: Likewise.
6071 * config/libbid/_lt_dd.c: Likewise.
6072 * config/libbid/_lt_sd.c: Likewise.
6073 * config/libbid/_lt_td.c: Likewise.
6074 * config/libbid/_mul_dd.c: Likewise.
6075 * config/libbid/_mul_sd.c: Likewise.
6076 * config/libbid/_mul_td.c: Likewise.
6077 * config/libbid/_ne_dd.c: Likewise.
6078 * config/libbid/_ne_sd.c: Likewise.
6079 * config/libbid/_ne_td.c: Likewise.
6080 * config/libbid/_sd_to_dd.c: Likewise.
6081 * config/libbid/_sd_to_df.c: Likewise.
6082 * config/libbid/_sd_to_di.c: Likewise.
6083 * config/libbid/_sd_to_sf.c: Likewise.
6084 * config/libbid/_sd_to_si.c: Likewise.
6085 * config/libbid/_sd_to_td.c: Likewise.
6086 * config/libbid/_sd_to_tf.c: Likewise.
6087 * config/libbid/_sd_to_udi.c: Likewise.
6088 * config/libbid/_sd_to_usi.c: Likewise.
6089 * config/libbid/_sd_to_xf.c: Likewise.
6090 * config/libbid/_sf_to_dd.c: Likewise.
6091 * config/libbid/_sf_to_sd.c: Likewise.
6092 * config/libbid/_sf_to_td.c: Likewise.
6093 * config/libbid/_si_to_dd.c: Likewise.
6094 * config/libbid/_si_to_sd.c: Likewise.
6095 * config/libbid/_si_to_td.c: Likewise.
6096 * config/libbid/_td_to_dd.c: Likewise.
6097 * config/libbid/_td_to_df.c: Likewise.
6098 * config/libbid/_td_to_di.c: Likewise.
6099 * config/libbid/_td_to_sd.c: Likewise.
6100 * config/libbid/_td_to_sf.c: Likewise.
6101 * config/libbid/_td_to_si.c: Likewise.
6102 * config/libbid/_td_to_tf.c: Likewise.
6103 * config/libbid/_td_to_udi.c: Likewise.
6104 * config/libbid/_td_to_usi.c: Likewise.
6105 * config/libbid/_td_to_xf.c: Likewise.
6106 * config/libbid/_tf_to_dd.c: Likewise.
6107 * config/libbid/_tf_to_sd.c: Likewise.
6108 * config/libbid/_tf_to_td.c: Likewise.
6109 * config/libbid/_udi_to_dd.c: Likewise.
6110 * config/libbid/_udi_to_sd.c: Likewise.
6111 * config/libbid/_udi_to_td.c: Likewise.
6112 * config/libbid/_unord_dd.c: Likewise.
6113 * config/libbid/_unord_sd.c: Likewise.
6114 * config/libbid/_unord_td.c: Likewise.
6115 * config/libbid/_usi_to_dd.c: Likewise.
6116 * config/libbid/_usi_to_sd.c: Likewise.
6117 * config/libbid/_usi_to_td.c: Likewise.
6118 * config/libbid/_xf_to_dd.c: Likewise.
6119 * config/libbid/_xf_to_sd.c: Likewise.
6120 * config/libbid/_xf_to_td.c: Likewise.
6121 * config/libbid/bid128.c: Likewise.
6122 * config/libbid/bid128_2_str.h: Likewise.
6123 * config/libbid/bid128_2_str_macros.h: Likewise.
6124 * config/libbid/bid128_2_str_tables.c: Likewise.
6125 * config/libbid/bid128_add.c: Likewise.
6126 * config/libbid/bid128_compare.c: Likewise.
6127 * config/libbid/bid128_div.c: Likewise.
6128 * config/libbid/bid128_fma.c: Likewise.
6129 * config/libbid/bid128_logb.c: Likewise.
6130 * config/libbid/bid128_minmax.c: Likewise.
6131 * config/libbid/bid128_mul.c: Likewise.
6132 * config/libbid/bid128_next.c: Likewise.
6133 * config/libbid/bid128_noncomp.c: Likewise.
6134 * config/libbid/bid128_quantize.c: Likewise.
6135 * config/libbid/bid128_rem.c: Likewise.
6136 * config/libbid/bid128_round_integral.c: Likewise.
6137 * config/libbid/bid128_scalb.c: Likewise.
6138 * config/libbid/bid128_sqrt.c: Likewise.
6139 * config/libbid/bid128_string.c: Likewise.
6140 * config/libbid/bid128_to_int16.c: Likewise.
6141 * config/libbid/bid128_to_int32.c: Likewise.
6142 * config/libbid/bid128_to_int64.c: Likewise.
6143 * config/libbid/bid128_to_int8.c: Likewise.
6144 * config/libbid/bid128_to_uint16.c: Likewise.
6145 * config/libbid/bid128_to_uint32.c: Likewise.
6146 * config/libbid/bid128_to_uint64.c: Likewise.
6147 * config/libbid/bid128_to_uint8.c: Likewise.
6148 * config/libbid/bid32_to_bid128.c: Likewise.
6149 * config/libbid/bid32_to_bid64.c: Likewise.
6150 * config/libbid/bid64_add.c: Likewise.
6151 * config/libbid/bid64_compare.c: Likewise.
6152 * config/libbid/bid64_div.c: Likewise.
6153 * config/libbid/bid64_fma.c: Likewise.
6154 * config/libbid/bid64_logb.c: Likewise.
6155 * config/libbid/bid64_minmax.c: Likewise.
6156 * config/libbid/bid64_mul.c: Likewise.
6157 * config/libbid/bid64_next.c: Likewise.
6158 * config/libbid/bid64_noncomp.c: Likewise.
6159 * config/libbid/bid64_quantize.c: Likewise.
6160 * config/libbid/bid64_rem.c: Likewise.
6161 * config/libbid/bid64_round_integral.c: Likewise.
6162 * config/libbid/bid64_scalb.c: Likewise.
6163 * config/libbid/bid64_sqrt.c: Likewise.
6164 * config/libbid/bid64_string.c: Likewise.
6165 * config/libbid/bid64_to_bid128.c: Likewise.
6166 * config/libbid/bid64_to_int16.c: Likewise.
6167 * config/libbid/bid64_to_int32.c: Likewise.
6168 * config/libbid/bid64_to_int64.c: Likewise.
6169 * config/libbid/bid64_to_int8.c: Likewise.
6170 * config/libbid/bid64_to_uint16.c: Likewise.
6171 * config/libbid/bid64_to_uint32.c: Likewise.
6172 * config/libbid/bid64_to_uint64.c: Likewise.
6173 * config/libbid/bid64_to_uint8.c: Likewise.
6174 * config/libbid/bid_b2d.h: Likewise.
6175 * config/libbid/bid_binarydecimal.c: Likewise.
6176 * config/libbid/bid_conf.h: Likewise.
6177 * config/libbid/bid_convert_data.c: Likewise.
6178 * config/libbid/bid_decimal_data.c: Likewise.
6179 * config/libbid/bid_decimal_globals.c: Likewise.
6180 * config/libbid/bid_div_macros.h: Likewise.
6181 * config/libbid/bid_dpd.c: Likewise.
6182 * config/libbid/bid_flag_operations.c: Likewise.
6183 * config/libbid/bid_from_int.c: Likewise.
6184 * config/libbid/bid_functions.h: Likewise.
6185 * config/libbid/bid_gcc_intrinsics.h: Likewise.
6186 * config/libbid/bid_inline_add.h: Likewise.
6187 * config/libbid/bid_internal.h: Likewise.
6188 * config/libbid/bid_round.c: Likewise.
6189 * config/libbid/bid_sqrt_macros.h: Likewise.
6190
61912009-04-09 Jakub Jelinek <jakub@redhat.com>
6192
6193 * Makefile.in: Change copyright header to refer to version
6194 3 of the GNU General Public License and to point readers at the
6195 COPYING3 file and the FSF's license web page.
6196 * config.host: Likewise.
6197
633dd061
AM
61982009-04-07 Alan Modra <amodra@bigpond.net.au>
6199
6200 * config.host: Reorder and merge to match config.gcc change.
6201
457d1d00
AM
62022009-04-03 Alan Modra <amodra@bigpond.net.au>
6203
6204 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
6205
52c0e446
JM
62062009-03-28 Joseph Myers <joseph@codesourcery.com>
6207
6208 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
6209 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
6210 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
6211 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
6212
ba181049
UB
62132009-02-12 Uros Bizjak <ubizjak@gmail.com>
6214
6215 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
6216 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6217
c252db20
L
62182009-02-12 H.J. Lu <hongjiu.lu@intel.com>
6219
ba181049
UB
6220 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
6221 ia64/t-softfp-compat to tmake_file.
c252db20
L
6222
6223 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
6224
6225 * config/ia64/__divxf3.asm: New.
6226 * config/ia64/_fixtfdi.asm: Likewise.
6227 * config/ia64/_fixunstfdi.asm: Likewise.
6228 * config/ia64/_floatditf.asm: Likewise.
6229 * config/ia64/t-fprules-softfp: Likewise.
6230 * config/ia64/t-softfp-compat: Likewise.
6231 * config/ia64/tf-signs.c: Likewise.
6232
c60535f9
BE
62332009-01-18 Ben Elliston <bje@au.ibm.com>
6234
6235 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
6236
ce16861e
BE
62372009-01-16 Ben Elliston <bje@au.ibm.com>
6238
6239 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
6240 to tmake_file.
6241
bcf4713b
BE
62422009-01-13 Ben Elliston <bje@au.ibm.com>
6243
6244 * config/t-softfp: New file.
6245 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
6246 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
6247
2042cb04
JS
62482009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
6249
6250 * config.host: Add m32r*-*-rtems*.
6251
541ed00e
JS
62522008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
6253
6254 * config.host: Add m32c*-*-rtems*.
6255
19523300
RO
62562008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6257
6258 PR bootstrap/33100
6259 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
6260 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
6261 * configure: Regenerate.
6262 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
6263 tmake_file here from gcc/config.gcc.
6264 Move extra_parts here from gcc/config.gcc.
6265 * config/i386/t-sol2: Move here from gcc/config/i386.
6266 Use gcc_srcdir instead of srcdir.
6267
0a4a51c7
AN
62682008-11-18 Adam Nemet <anemet@caviumnetworks.com>
6269
6270 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
6271 case.
6272
2a761e46
TS
62732008-11-09 Thomas Schwinge <tschwinge@gnu.org>
6274
6275 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
6276
c0451df7
TS
62772008-10-08 Thomas Schwinge <tschwinge@gnu.org>
6278
6279 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
6280
358da97e
HS
62812008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
6282
6283 Add picoChip port.
6284 * config.host: Add picochip-*-*.
6285
c660f132
BW
62862008-08-06 Bob Wilson <bob.wilson@acm.org>
6287
6288 * config.host: Match more processor names for Xtensa.
6289
d1349557
L
62902008-07-08 H.J. Lu <hongjiu.lu@intel.com>
6291
6292 * config/i386/64/t-softfp-compat: Update comments.
6293
dd7b73c0
L
62942008-07-07 H.J. Lu <hongjiu.lu@intel.com>
6295
6296 * config/i386/64/_divtc3-compat.c: Moved to ...
6297 * config/i386/64/_divtc3.c: Here.
6298
6299 * config/i386/64/_multc3-compat.c: Moved to ...
6300 * config/i386/64/_multc3.c: Here.
6301
6302 * config/i386/64/_powitf2-compat.c: Moved to ...
6303 * config/i386/64/_powitf2.c: Here.
6304
6305 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
6306 .c suffix instead of -compat.c.
6307
6e1fab3d
UB
63082008-07-05 Uros Bizjak <ubizjak@gmail.com>
6309
6310 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
6311 (_FP_MUL_MEAT_D): Ditto.
6312 (_FP_DIV_MEAT_S): Ditto.
6313 (_FP_DIV_MEAT_D): Ditto.
6314
f92518d7
RS
63152008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
6316
6317 * Makefile.in: Add support for __sync_* libgcc functions.
6318
d0aede14
L
63192008-07-03 H.J. Lu <hongjiu.lu@intel.com>
6320
6321 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
6322
c174f11c
L
63232008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6324
6325 PR boostrap/36702
6326 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
6327 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
6328
6329 * config/i386/64/t-fprules-softfp: Moved to ...
6330 * config/i386/64/t-softfp-compat: This. New.
6331
5f464fa2
UB
63322008-07-02 Uros Bizjak <ubizjak@gmail.com>
6333
6334 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
6335 Initialize f with 0.0.
6336
ff473280
L
63372008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6338
6339 PR target/36669
6340 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
6341
6342 * config/i386/64/_divtc3-compat.c: New.
6343 * config/i386/64/_multc3-compat.c: Likewise.
6344 * config/i386/64/_powitf2-compat.c: Likewise.
6345 * config/i386/64/eqtf2.c: Likewise.
6346 * config/i386/64/getf2.c: Likewise.
6347 * config/i386/64/letf2.c: Likewise.
6348 * config/i386/64/t-fprules-softfp: Likewise.
6349
63502008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 * config.host: Add i386/${host_address}/t-fprules-softfp to
6353 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 6354 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
6355
6356 * configure.ac: Set host_address to 64 or 32 for x86.
6357 * configure: Regenerated.
6358
6359 * Makefile.in (config.status): Also depend on
6360 $(srcdir)/config.host.
6361
6362 * config/i386/32/t-fprules-softfp: New.
6363 * config/i386/32/tf-signs.c: Likewise.
6364
6365 * config/i386/64/sfp-machine.h: New. Moved from gcc.
6366
63672008-07-02 H.J. Lu <hongjiu.lu@intel.com>
6368 Uros Bizjak <ubizjak@gmail.com>
6369
6370 * config/i386/32/sfp-machine.h: New.
6371
30551d99
NF
63722008-06-26 Nathan Froyd <froydnj@codesourcery.com>
6373
6374 * config/rs6000/t-ppccomm: Remove rules that conflict with
6375 auto-generated rules.
6376
18c04407
RW
63772008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6378
6379 * configure.ac: sinclude override.m4.
6380 * configure: Regenerate.
6381
10fbe77a
BRF
63822008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
6383
6384 * configure: Regenerate.
6385
bc6d4c3f
JM
63862008-06-10 Joseph Myers <joseph@codesourcery.com>
6387
6388 * Makefile.in (DECNUMINC): Remove
6389 -I$(MULTIBUILDTOP)../../libdecnumber.
6390 * gstdint.h: New.
6391
cd985f66
JM
63922008-06-07 Joseph Myers <joseph@codesourcery.com>
6393
6394 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
6395 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
6396 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
6397 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
6398 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
6399 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
6400 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
6401 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
6402 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
6403 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
6404 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
6405 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
6406 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
6407 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
6408
93fea8d3
AL
64092008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
6410
6411 * config.host (sh2[lbe]*-*-linux*): Allow target.
6412
18724e30
NF
64132008-04-30 Nathan Froyd <froydnj@codesourcery.com>
6414
6415 * config/rs6000/t-ppccomm: Add build rules for new files.
6416 (LIB2ADD_ST): New variable.
6417
47583040
AH
64182008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
6419
6420 PR target/34210
6421 PR target/35508
6422 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
6423 * config/t-avr: New file. Build 16bit libgcc functions.
6424
cf8e67fe
JJ
64252008-03-02 Jakub Jelinek <jakub@redhat.com>
6426
6427 PR target/35401
6428 * config/t-slibgcc-darwin: Make install-leaf dependent on
6429 install-darwin-libgcc-stubs instead of install.
6430
8d8da227
JM
64312008-01-25 Joseph Myers <joseph@codesourcery.com>
6432
6433 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
6434 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
6435 sh-*-rtemscoff*): Remove cases.
6436
edbf8b16
RS
64372007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
6438
6439 * Makefile.in (all): Use install-leaf rather than install.
6440 (install): Split most of the rule into...
6441 (install-leaf): ...this new one.
6442
89deeaff
EK
64432007-12-19 Etsushi Kato <ek.kato@gmail.com>
6444 Paolo Bonzini <bonzini@gnu.org>
6445
6446 PR target/30572
5f464fa2
UB
6447 * Makefile.in: Use @shlib_slibdir@ substitution to get
6448 correct install name on darwin.
89deeaff 6449 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 6450
4081d704
HPN
64512007-12-15 Hans-Peter Nilsson <hp@axis.com>
6452
6453 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
6454 cris-*-elf and cris-*-none.
6455 (crisv32-*-linux*): Similar, as cris-*-linux*.
6456
f43e89a3
RIL
64572007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
6458
6459 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
6460
b4e9c2c6
L
64612007-10-27 H.J. Lu <hongjiu.lu@intel.com>
6462
6463 PR regression/33926
6464 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
6465 * configure: Regenerated.
6466
b2a00c89
L
64672007-09-27 H.J. Lu <hongjiu.lu@intel.com>
6468
6469 * Makefile.in (dfp-filenames): Replace decimal_globals,
6470 decimal_data, binarydecimal and convert_data with
6471 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
6472 and bid_convert_data, respectively.
6473
8d2a9e0e
CF
64742007-09-17 Chao-ying Fu <fu@mips.com>
6475 Nigel Stephens <nigel@mips.com>
6476
6477 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
6478 * Makefile.in (fixed_point): Define.
6479 Check if fixed_point is yes to build support functions.
6480 * configure.ac: Check for fixed_point support.
6481 * configure: Regenerated.
6482 * gen-fixed.sh: New file to generate lists of fixed-point labels,
6483 funcs, modes, from, to.
6484
2b53935d
JJ
64852007-09-11 Janis Johnson <janis187@us.ibm.com
6486
6487 * Makefile.in (dfp-filenames): Add bid128_noncomp.
6488
2533577f
JJ
64892007-09-10 Janis Johnson <janis187@us.ibm.com>
6490
6491 * Makefile.in (dfp-filenames): Remove decUtility, add
6492 decDouble, decPacked, decQuad, decSingle.
6493
3ae3dbd6
HK
64942007-08-27 Hans Kester <hans.kester@ellips.nl>
6495
6496 * config.host : Add x86_64-elf target.
6497
22867d02
L
64982007-07-06 H.J. Lu <hongjiu.lu@intel.com>
6499
6500 * configure.ac (set_have_cc_tls): Add a missing =.
6501 * configure: Regenerated.
6502
6f461e76
L
65032007-07-06 H.J. Lu <hongjiu.lu@intel.com>
6504
6505 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
6506 and x86_64-*-linux*.
6507
6508 * config/t-tls: New file.
6509
dfb3b0e3 6510 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
6511
6512 * configure.ac: Include ../config/enable.m4 and
6513 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
6514 supports TLS and substitute set_have_cc_tls.
6515 * configure: Regenerated.
6516
200359e8
L
65172007-07-04 H.J. Lu <hongjiu.lu@intel.com>
6518
6519 * Makefile.in: Use libbid for DFP when BID is enabled.
6520
76f5e200
DS
65212007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
6522
6523 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 6524 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
6525 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
6526
9bd196f0 65272007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 6528 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
6529
6530 PR target/29498
6531 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
6532 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
6533 * config/i386/t-crtfm: Compile crtfastmath.o with
6534 -minline-all-stringops.
6535
1910440e
RS
65362007-05-10 Richard Sandiford <richard@codesourcery.com>
6537
6538 * config.host (sparc-wrs-vxworks): New target.
6539
7d33c31d
KH
65402007-04-14 Kazu Hirata <kazu@codesourcery.com>
6541
6542 * config.host: Recognize fido.
6543
96fccd0d
JJ
65442007-04-04 Janis Johnson <janis187@us.ibm.com>
6545
6546 * configure: Check host, not target, for decimal float support.
6547
577565f9
UB
65482007-04-03 Uros Bizjak <ubizjak@gmail.com>
6549
6550 * config/i386/t-crtpc: New file.
6551 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 6552 (x86_64-*-linux*): Ditto.
577565f9 6553
ccf8e764
RH
65542007-02-30 Kai Tietz <kai.tietz@onevision.com>
6555
6556 * config.host (x86_64-*-mingw*): New target.
6557
79b87c74
MM
65582007-03-23 Michael Meissner <michael.meissner@amd.com>
6559 H.J. Lu <hongjiu.lu@intel.com>
6560
6561 * Makefile.in (enable_decimal_float): New.
6562 (DECNUMINC): Add
6563 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
6564 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
6565 (decbits-filenames): This.
6566 (decbits-objects): New.
6567 (libgcc-objects): Add $(decbits-objects).
6568
6569 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
6570 Substitute enable_decimal_float.
6571 * configure: Regenerated.
6572
8fce4e31
HPN
65732007-03-19 Hans-Peter Nilsson <hp@axis.com>
6574
6575 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
6576
e8bb4597
BM
65772007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
6578
6579 * Makefile.in (install-info): New dummy target.
6580
344189f9
BS
65812007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
6582
6583 * config.host (bfin*-linux-uclibc*): Set extra_parts.
6584
ac84c172
BM
65852007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
6586
6587 * Makefile.in: Add install-html and install-pdf dummy
6588 targets.
6589
cd5c2357
RS
65902007-02-05 Roger Sayle <roger@eyesopen.com>
6591 Daniel Jacobowitz <dan@codesourcery.com>
6592
6593 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
6594 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
6595 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
6596
d9a66f98
JJ
65972007-01-29 Janis Johnson <janis187@us.ibm.com>
6598
6599 * Makefile.in (dec-filenames): Add decExcept.
6600
9891ec5f
DJ
66012007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6602
6603 PR bootstrap/30469
6604 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
6605 -fprofile-use.
6606
d6efbf5a
DJ
66072007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
6608
6609 * configure.ac: Add --enable-version-specific-runtime-libs.
6610 Correct $slibdir default.
6611 * configure: Regenerated.
6612
17caeff2
JM
66132007-01-23 Joseph Myers <joseph@codesourcery.com>
6614
6615 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
6616
5ea41e3a
AP
66172007-01-21 Andrew Pinski <pinskia@gmail.com>
6618
6619 PR target/30519
6620 * config.host (alpha*-*-linux*): Set extra_parts.
6621
26900826
KK
66222007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
6623
6624 * config/sh/t-linux: New.
6625 * config.host (sh*-*-linux*): Set tmake_file.
6626
97af925b
DJ
66272007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
6628
6629 * Makefile.in (install): Handle multilibs.
6630
b0088af7
BM
66312007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6632
6633 * Makefile.in: Added .PHONY entry for documentation targets.
6634
e0a9456a
BM
66352007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
6636
6637 * Makefile.in: Add empty info, html, dvi, pdf targets.
6638
7fd453b4
MS
66392007-01-04 Mike Stump <mrs@apple.com>
6640
6641 * Makefile.in (MAKEINFO): Remove.
6642 (PERL): Likewise.
6643
14e8fc8b
PB
66442007-01-04 Paolo Bonzini <bonzini@gnu.org>
6645
6646 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
6647 * configure: Regenerate.
6648 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 6649 (gcc_objdir): Use it.
14e8fc8b 6650
1555beba
DJ
66512007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6652
6653 * config.host (ia64*-*-linux*): Set tmake_file.
6654
79e6eaeb
DJ
66552007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6656
6657 * Makefile.in (version): Define.
6658
fa958513
DJ
66592007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
6660 Paolo Bonzini <bonzini@gnu.org>
6661
6662 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
6663 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
6664 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
6665 config/sparc/t-crtfm, config/t-slibgcc-darwin,
6666 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
6667 shared-object.mk, siditi-object.mk, static-object.mk: New files.
6668 * configure: Generated.