]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/ChangeLog
Fix my name in ChangeLog files.
[thirdparty/gcc.git] / libgcc / ChangeLog
1 2021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
2
3 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
4
5 2021-05-13 Martin Liska <mliska@suse.cz>
6
7 * libgcov-driver.c: Fix GNU coding style.
8
9 2021-05-10 Martin Liska <mliska@suse.cz>
10
11 * libgcov-driver.c (gcov_version): Use different name that does
12 not clash with newly introduced macro.
13
14 2021-04-29 Eric Botcazou <ebotcazou@adacore.com>
15
16 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
17 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
18 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
19
20 2021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21
22 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
23 Define.
24 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
25 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
26 Define.
27 (__divkc3): Improve complex divide.
28
29 2021-04-23 Michael Meissner <meissner@linux.ibm.com>
30
31 PR target/98952
32 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
33 trampoline size comparison in 32-bit by reversing test and
34 combining load immediate with compare.
35 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
36 in 32-bit by reversing test and combining load immediate with
37 compare.
38
39 2021-04-05 Florian Weimer <fweimer@redhat.com>
40 Michael Meissner <meissner@linux.ibm.com>
41
42 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
43 point functions for $(decimal_float) only.
44
45 2021-04-03 Jakub Jelinek <jakub@redhat.com>
46
47 PR target/97653
48 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
49 $(objext) instead of $(object). Use _floatunditf instead of
50 _floatunsditf. Add tf <-> ti conversion objects.
51 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
52
53 2021-03-29 Michael Meissner <meissner@linux.ibm.com>
54
55 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
56 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
57 (fp128_decstr_objs): Delete.
58 * dfp-bit.h: Call __sprintfieee128 to do conversions from
59 _Float128 to a Decimal type. Call __strtoieee128 to do
60 conversions from a Decimal type to _Float128.
61 * config/rs6000/_sprintfkf.c: Delete file.
62 * config/rs6000/_sprintfkf.h: Delete file.
63 * config/rs6000/_strtokf.c: Delete file.
64 * config/rs6000/_strtokf.h: Delete file.
65
66 2021-03-23 Marcus Comstedt <marcus@mc.pp.se>
67
68 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
69 to __BYTE_ORDER__.
70
71 2021-03-06 Jakub Jelinek <jakub@redhat.com>
72
73 PR gcov-profile/99406
74 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
75 defined, define these macros if not defined already.
76
77 2021-03-04 Martin Liska <mliska@suse.cz>
78
79 PR gcov-profile/99105
80 * libgcov-driver.c (write_top_counters): Rename to ...
81 (write_topn_counters): ... this.
82 (write_one_data): Pre-allocate buffer for number of items
83 in the corresponding linked lists.
84 * libgcov.h (malloc_mmap): New function.
85 (allocate_gcov_kvp): Use it.
86
87 2021-03-04 Martin Liska <mliska@suse.cz>
88
89 PR gcov-profile/99385
90 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
91
92 2021-03-03 Martin Liska <mliska@suse.cz>
93
94 PR gcov-profile/97461
95 * config.in: Regenerate.
96 * configure: Likewise.
97 * configure.ac: Check sys/mman.h header file
98 * libgcov-driver.c (struct gcov_kvp): Remove static
99 pre-allocated pool and use a dynamic one.
100 * libgcov.h (MMAP_CHUNK_SIZE): New.
101 (gcov_counter_add): Use mmap to allocate pool for struct
102 gcov_kvp.
103
104 2021-03-02 Michael Meissner <meissner@linux.ibm.com>
105
106 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
107 the function.
108 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
109
110 2021-02-24 Jakub Jelinek <jakub@redhat.com>
111
112 PR libgcc/99236
113 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
114 negation of m in unsigned type.
115
116 2021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
117 Hau Hsu <hsuhau617@gmail.com>
118
119 PR target/99157
120 * config/arm/t-arm: Fix cmse support detection.
121
122 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
123
124 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
125
126 2021-02-22 Michael Meissner <meissner@linux.ibm.com>
127
128 * config/rs6000/_dd_to_kf.c: New file.
129 * config/rs6000/_kf_to_dd.c: New file.
130 * config/rs6000/_kf_to_sd.c: New file.
131 * config/rs6000/_kf_to_td.c: New file.
132 * config/rs6000/_sd_to_kf.c: New file.
133 * config/rs6000/_sprintfkf.c: New file.
134 * config/rs6000/_sprintfkf.h: New file.
135 * config/rs6000/_strtokf.h: New file.
136 * config/rs6000/_strtokf.c: New file.
137 * config/rs6000/_td_to_kf.c: New file.
138 * config/rs6000/quad-float128.h: Add new declarations.
139 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
140 (fp128_decstr_funcs): New macro.
141 (ibm128_dec_funcs): New macro.
142 (fp128_ppc_funcs): Add the new conversions.
143 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
144 compiled with -mabi=ieeelongdouble.
145 (fp128_decstr_objs): Force __float128 <-> string conversions to be
146 compiled with -mabi=ibmlongdouble.
147 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
148 compiled with -mabi=ieeelongdouble.
149 (FP128_CFLAGS_DECIMAL): New macro.
150 (IBM128_CFLAGS_DECIMAL): New macro.
151 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
152 (BFP_TO_DFP): Add PowerPC _Float128 support.
153 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
154 IEEE 128-bit floating point.
155 (DFP_TO_BFP): Add PowerPC _Float128 support.
156 (BFP_TO_DFP): Add PowerPC _Float128 support.
157 (BFP_SPRINTF): New macro.
158
159 2021-01-27 Jakub Jelinek <jakub@redhat.com>
160
161 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
162 * config/i386/savms64f.h: Likewise.
163 * config/i386/resms64.h: Likewise.
164 * config/i386/resms64f.h: Likewise.
165 * config/i386/resms64x.h: Likewise.
166 * config/i386/resms64fx.h: Likewise.
167
168 2021-01-26 Martin Liska <mliska@suse.cz>
169
170 PR gcov-profile/98739
171 * libgcov.h (gcov_topn_add_value): Do not train when
172 we have a merged profile with a negative number of total
173 value.
174
175 2021-01-25 Martin Liska <mliska@suse.cz>
176
177 PR gcov-profile/98739
178 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
179 ends with a dropped counter.
180 * libgcov.h (gcov_topn_add_value): Add return value.
181
182 2021-01-13 Stafford Horne <shorne@gmail.com>
183
184 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
185 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
186 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
187 FP_EX_ALL): New constant macros.
188 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
189 FP_HANDLE_EXCEPTIONS): New macros.
190 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
191
192 2021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
193
194 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
195 posix siginfo case to struct handler_args. Detect between legacy
196 and siginfo from the second parameter, which is a small sigcode in
197 the legacy case, and a pointer in the siginfo case.
198
199 2020-12-20 Max Filippov <jcmvbkbc@gmail.com>
200
201 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
202 functions.
203 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
204 _bswapdi2.
205
206 2020-12-08 Ian Lance Taylor <iant@golang.org>
207
208 * generic-morestack-thread.c (free_segments): Block signals during
209 thread exit.
210
211 2020-12-03 Michael Meissner <meissner@linux.ibm.com>
212
213 PR libgcc/97543
214 PR libgcc/97643
215 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
216 (IBM128_SHARED_OBJS): New make variable.
217 (IBM128_OBJS): New make variable. Set all objects to use the
218 explicit IBM format, and disable gnu attributes.
219 (IBM128_CFLAGS): New make variable.
220 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
221 modules.
222
223 2020-12-03 Alexandre Oliva <oliva@adacore.com>
224
225 * config/t-vxworks (LIB2ADD): Drop.
226 * config/t-vxworks7 (LIB2ADD): Likewise.
227 * config/vxcache.c: Remove.
228
229 2020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
230
231 * libgcc2.c (bswapsi2): Make constants unsigned.
232
233 2020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
234
235 * libgcc2.c (absvSI2): Simplify/improve implementation by using
236 builtin_add_overflow.
237 (absvsi2, absvDI2): Likewise.
238
239 2020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
240
241 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
242 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
243
244 2020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
245
246 * config/msp430/lib2hw_mul.S (mult64_hw): New.
247 (if MUL_32): Use mult64_hw for __muldi3.
248 (if MUL_F5): Use mult64_hw for __muldi3.
249 * config/msp430/lib2mul.c (__muldi3): New.
250 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
251
252 2020-11-17 Alan Modra <amodra@gmail.com>
253
254 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
255 (LIB2_SIDITI_CONV_FUNCS): Define.
256 * config/rs6000/ppc64-fp.c: Delete file.
257
258 2020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
259
260 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
261 hwmult library functions.
262
263 2020-11-10 Jeff Law <law@redhat.com>
264
265 * libgcc2.c: Fix whitespace issues in most recent change.
266
267 2020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
268
269 * libgcc2.c (__addvSI3): Use overflow builtins.
270 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
271 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
272 (__negvsi2, __negvDI2): Likewise.
273 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
274 generated code.
275 * libgcc2.h (__ucmpdi2): Adjust prototype.
276
277 2020-11-03 Pat Bernardi <bernardi@adacore.com>
278 Olivier Hainque <hainque@adacore.com>
279
280 * config.host (aarch64-vxworks7*, tmake_file): Add
281 ${cpu_type}/t-lse and t-slibgcc-libgcc.
282
283 2020-11-03 Martin Storsjö <martin@martin.st>
284
285 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
286 before calling the callback.
287
288 2020-10-30 Olivier Hainque <hainque@adacore.com>
289 Douglas Rupp <rupp@adacore.com>
290 Pat Bernardi <bernardi@adacore.com>
291
292 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
293 to apply to VxWorks 7 as well.
294
295 2020-10-29 Olivier Hainque <hainque@adacore.com>
296
297 * config/gthr-vxworks-tls.c: Fix preprocessor logic
298 controlling the definition of VX_ENTER_TLS_DTOR and
299 VX_LEAVE_TLS_DTOR based on a version major check.
300
301 2020-10-29 Olivier Hainque <hainque@adacore.com>
302
303 * config/gthr-vxworks-thread.c: Fix name of macro used
304 to condition the inclusion of an actual implementation.
305
306 2020-10-27 Martin Liska <mliska@suse.cz>
307
308 PR gcov-profile/97461
309 * libgcov.h (gcov_counter_add): Use first static counters
310 as it should help to have malloc wrappers set up.
311
312 2020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
313
314 * config/gthr-vxworks-thread.c: #include gthr.h before
315 testing the guard defined there.
316 * config/gthr-vxworks-cond.c: Likewise.
317
318 2020-10-21 Douglas Rupp <rupp@adacore.com>
319 Olivier Hainque <hainque@adacore.com>
320
321 * config.host (powerpc*-wrs-vxworks7*): New case.
322 * configure.ac: Handle powerpc*-*-vxworks7* as
323 powerpc*-*-linux* for ppc-fp_type.
324 * configure: Regenerate.
325
326 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
327
328 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
329 section on VxWorks >= 6.
330 * config/gthr-vxworks-thread.c: Condition the entire
331 implementation on __GTHREAD_CXX0X.
332
333 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
334
335 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
336 section on VxWorks >= 6.
337 * config/gthr-vxworks-cond.c: Condition the entire
338 implementation on __GTHREAD_HAS_COND.
339
340 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
341
342 * config/gthr-vxworks.c: #include <taskLib.h>.
343
344 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
345
346 * config/gthr-vxworks.h: Rewrite remaining occurrence
347 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
348
349 2020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
350 Olivier Hainque <hainque@adacore.com>
351
352 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
353 except on VxWorks 6.
354
355 2020-10-16 Olivier Hainque <hainque@adacore.com>
356
357 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
358
359 2020-10-14 Alexandre Oliva <oliva@adacore.com>
360
361 * config/gthr-vxworks-thread.c: Include stdlib.h.
362 (tls_delete_hook): Prototype it.
363 (__gthread_cond_signal): Return early if no waiters. Consume
364 signal in case the semaphore got full. Use semInfoGet instead
365 of kernel-mode-only semInfo.
366 (__gthread_cond_timedwait): Use semExchange. Always take the
367 mutex again before returning.
368 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
369
370 2020-10-14 Olivier Hainque <hainque@adacore.com>
371
372 * config/t-vxworks (LIBGCC2_INCLUDES): Append
373 $(MULTISUBDIR) to the -I path for fixed headers, as we
374 arrange to have different sets of such headers for different
375 multilibs when they are activated.
376 * config/t-vxworks7: Likewise.
377
378 2020-10-14 Olivier Hainque <hainque@adacore.com>
379
380 * config/t-vxworks: Add include-fixed to include search
381 paths for libgcc on VxWorks.
382 * config/t-vxworks7: Likewise.
383
384 2020-10-09 H.J. Lu <hjl.tools@gmail.com>
385
386 PR target/97148
387 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
388 instead of <cetintrin.h>.
389
390 2020-10-01 Alan Modra <amodra@gmail.com>
391
392 * config/rs6000/morestack.S,
393 * config/rs6000/tramp.S: Support __PCREL__ code.
394
395 2020-10-01 Alan Modra <amodra@gmail.com>
396
397 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
398
399 2020-09-29 Maciej W. Rozycki <macro@wdc.com>
400
401 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
402 variable.
403
404 2020-09-28 Richard Sandiford <richard.sandiford@arm.com>
405
406 * config/aarch64/libgcc-softfp.ver: New file.
407 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
408
409 2020-09-27 Clement Chigot <clement.chigot@atos.net>
410
411 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
412
413 2020-09-22 Sergei Trofimovich <siarheit@google.com>
414
415 PR gcov-profile/96913
416 * libgcov-driver.c (write_one_data): Avoid function pointer
417 comparison in TOP streaming decision.
418
419 2020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
420 Christophe Lyon <christophe.lyon@linaro.org>
421
422 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
423 qualifier.
424 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
425 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
426 missing prototypes.
427
428 2020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
429
430 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
431 unused variable warning.
432
433 2020-09-16 Jojo R <jiejie_rong@c-sky.com>
434
435 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
436
437 2020-09-09 Tom de Vries <tdevries@suse.de>
438
439 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
440 Wbuiltin-declaration-mismatch.
441
442 2020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
443
444 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
445 * config/msp430/srai.S (__gnu_mspabi_srap): New.
446 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
447
448 2020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
449
450 * config/nvptx/atomic.c: New.
451 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
452
453 2020-08-03 Ian Lance Taylor <iant@golang.org>
454
455 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
456
457 2020-08-03 Jakub Jelinek <jakub@redhat.com>
458
459 PR target/96402
460 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
461 of x(tmp0), x(tmp1) in STXP arguments.
462
463 2020-07-31 Maciej W. Rozycki <macro@wdc.com>
464
465 * config/riscv/save-restore.S [__riscv_xlen == 64]
466 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
467 (__riscv_save_2): Replace negative immediates used for the final
468 stack pointer adjustment with positive ones, right-shifted by 4.
469
470 2020-07-31 Martin Liska <mliska@suse.cz>
471
472 * libgcov-driver.c: Add __gcov_kvp_pool
473 and __gcov_kvp_pool_index variables.
474 * libgcov.h (allocate_gcov_kvp): New.
475 (gcov_topn_add_value): Use it.
476
477 2020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
478
479 * config/aarch64/lse.S: Add PAC property note.
480
481 2020-07-23 Martin Liska <mliska@suse.cz>
482
483 PR gcov-profile/96035
484 * libgcov-driver-system.c: Create gcov folders with 0777
485 so that it respects a system umask.
486
487 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
488
489 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
490
491 2020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
492
493 PR target/94891
494 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
495 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
496 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
497 (MD_DEMANGLE_RETURN_ADDR): This.
498 (aarch64_post_extract_frame_addr): Rename to ...
499 (aarch64_demangle_return_addr): This.
500 (aarch64_post_frob_eh_handler_addr): Remove.
501 * unwind-dw2.c (uw_update_context): Demangle return address.
502 (uw_frob_return_addr): Remove.
503
504 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
505
506 PR target/96001
507 * config/aarch64/lse.S: Add BTI marking and related definitions,
508 and add BTI c to function entries.
509
510 2020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
511
512 * config/aarch64/lse.S: Add stack note.
513
514 2020-07-02 Martin Liska <mliska@suse.cz>
515
516 PR gcov-profile/95348
517 * libgcov-driver.c (merge_one_data): Merge only profiles
518 that are not of non-zero type.
519 (write_one_data): Write counters only if there's one non-zero
520 value.
521 * libgcov-util.c (tag_function): Change signature from unsigned
522 to int.
523 (tag_blocks): Likewise.
524 (tag_arcs): Likewise.
525 (tag_counters): Likewise.
526 (tag_summary): Likewise.
527 (tag_lines): Read only if COUNTERS is non-zero.
528 (read_gcda_file): Handle negative length for COUNTERS type.
529
530 2020-06-25 Martin Liska <mliska@suse.cz>
531
532 * libgcov-driver.c (merge_summary): Remove function as its name
533 is misleading and doing something different.
534 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
535 in gcov-tool.
536 * libgcov-util.c (curr_object_summary): Remove.
537 (read_gcda_file): Remove unused curr_object_summary.
538 (gcov_merge): Merge summaries.
539 * libgcov.h: Add summary argument for gcov_info struct.
540
541 2020-06-24 H.J. Lu <hjl.tools@gmail.com>
542
543 PR target/95259
544 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
545 "common/config/i386/i386-cpuinfo.h" and
546 "common/config/i386/cpuinfo.h".
547 (__cpu_features2): Changed to array.
548 (get_amd_cpu): Removed.
549 (get_intel_cpu): Likewise.
550 (get_available_features): Likewise.
551 (__cpu_indicator_init): Call cpu_indicator_init.
552 * config/i386/cpuinfo.h: Removed.
553
554 2020-06-23 David Edelsohn <dje.gcc@gmail.com>
555
556 * Makefile.in: Remove uses of empty.mk. Use -include.
557 * config/avr/t-avr: Use -include.
558 * empty.mk: Delete.
559
560 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
561
562 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
563 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
564 and 64 bit with -maix64.
565 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
566 Build and install AIX-style FAT libraries.
567
568 2020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
569
570 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
571 'i386/gnu-unwind.h'
572 * config/i386/gnu-unwind.h: New file.
573
574 2020-06-17 Martin Liska <mliska@suse.cz>
575
576 * libgcov-util.c (read_gcda_finalize): Remove const operator.
577 (merge_wrapper): Add both counts and use them properly.
578 (topn_to_memory_representation): New function.
579 (gcov_merge): Covert on disk representation to in memory
580 representation.
581 * libgcov.h: Remove const operator.
582
583 2020-06-15 Max Filippov <jcmvbkbc@gmail.com>
584
585 * configure: Regenerate.
586 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
587 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
588
589 2020-06-09 Martin Liska <mliska@suse.cz>
590
591 PR gcov-profile/95494
592 * libgcov-driver.c (write_top_counters): Cast first to
593 intptr_t as sizeof(*) != sizeof(gcov_type).
594 * libgcov.h (gcov_counter_set_if_null): Remove.
595 (gcov_topn_add_value): Cast first to intptr_t and update
596 linked list directly.
597
598 2020-06-09 Max Filippov <jcmvbkbc@gmail.com>
599
600 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
601 with uw_install_context_1.
602
603 2020-06-04 Andreas Schwab <schwab@suse.de>
604
605 PR target/59230
606 PR libfortran/59227
607 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
608 soft-fp/divtf3.c.
609 (LIB2ADD): Add config/ia64/divtf3.c.
610 * config/ia64/divtf3.c: New file.
611
612 2020-06-03 Martin Liska <mliska@suse.cz>
613
614 PR gcov-profile/95480
615 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
616 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
617 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
618 (gcov_counter_set_if_null): Likewise.
619
620 2020-06-02 Jim Wilson <jimw@sifive.com>
621
622 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
623 to bgtz.
624
625 2020-06-02 Martin Liska <mliska@suse.cz>
626
627 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
628 of xmalloc.
629
630 2020-06-02 Martin Liska <mliska@suse.cz>
631
632 * libgcov-driver.c (prune_topn_counter): Remove.
633 (prune_counters): Likewise.
634 (merge_one_data): Special case TOP N counters
635 as they have variable length.
636 (write_top_counters): New.
637 (write_one_data): Special case TOP N.
638 (dump_one_gcov): Do not prune TOP N counters.
639 * libgcov-merge.c (merge_topn_values_set): Remove.
640 (__gcov_merge_topn): Use gcov_topn_add_value.
641 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
642 Likewise here.
643 * libgcov.h (gcov_counter_add): New.
644 (gcov_counter_set_if_null): Likewise.
645 (gcov_topn_add_value): New.
646
647 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
648
649 * config/i386/sfp-exceptions.c (struct fenv):
650 Add __attribute__ ((gcc_struct)).
651
652 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
653
654 PR bootstrap/95413
655 * configure: Regenerated.
656
657 2020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
658
659 PR gcov-profile/95332
660 * libgcov-util.c (read_gcda_file): Call gcov_magic.
661 * libgcov.h (gcov_magic): Disable GCC poison.
662
663 2020-05-21 H.J. Lu <hongjiu.lu@intel.com>
664
665 PR target/95212
666 * config/i386/cpuinfo.h (processor_features): Move
667 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
668
669 2020-05-20 H.J. Lu <hongjiu.lu@intel.com>
670
671 PR target/91695
672 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
673 check.
674
675 2020-05-19 H.J. Lu <hongjiu.lu@intel.com>
676
677 PR target/95212
678 PR target/95220
679 * config/i386/cpuinfo.c (get_available_features): Fix
680 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
681 * config/i386/cpuinfo.h (processor_features): Add
682 FEATURE_AVX512VP2INTERSECT.
683
684 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
685
686 PR bootstrap/95147
687 * configure: Regenerated.
688
689 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
690
691 * configure: Regenerated.
692
693 2020-05-09 Hans-Peter Nilsson <hp@axis.com>
694
695 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
696 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
697
698 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
699
700 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
701 (__math_force_eval_div): New define.
702 (__sfp_handle_exceptions): Use __math_force_eval_div to use
703 generic division to generate INVALID, DIVZERO and INEXACT
704 exceptions.
705
706 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
707
708 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
709 instead of getauxval.
710 (AT_HWCAP): Define.
711 (HWCAP_ATOMICS): Define.
712 Guard detection on __gnu_linux__.
713
714 2020-05-05 Michael Meissner <meissner@linux.ibm.com>
715
716 * config.host: Delete changes meant for a private branch.
717 * config/rs6000/t-float128: Likewise.
718 * configure.ac: Likewise.
719 * configure: Likewise.
720
721 2020-05-05 Martin Liska <mliska@suse.cz>
722
723 PR gcov-profile/93623
724 * Makefile.in: Remove __gcov_flush.
725 * gcov.h (__gcov_flush): Remove.
726 * libgcov-interface.c (__gcov_flush): Remove.
727 (init_mx): Use renamed mutex.
728 (__gcov_lock): Likewise.
729 (__gcov_unlock): Likewise.
730 (__gcov_fork): Likewise.
731 (__gcov_flush): Remove.
732
733 2020-05-05 Martin Liska <mliska@suse.cz>
734
735 PR gcov-profile/93623
736 * libgcov-interface.c (__gcov_fork): Do not flush
737 and reset only in child process.
738 (__gcov_execl): Dump counters only and reset them
739 only if exec* fails.
740 (__gcov_execlp): Likewise.
741 (__gcov_execle): Likewise.
742 (__gcov_execv): Likewise.
743 (__gcov_execvp): Likewise.
744 (__gcov_execve): Likewise.
745
746 2020-05-05 Martin Liska <mliska@suse.cz>
747
748 PR gcov-profile/93623
749 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
750 * libgcov-interface.c (ALIAS_void_fn): Remove.
751 (__gcov_lock): New.
752 (__gcov_unlock): New.
753 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
754 (__gcov_reset): Likewise.
755 (__gcov_dump): Likewise.
756 * libgcov.h (__gcov_lock): New declaration.
757 (__gcov_unlock): Likewise.
758
759 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
760
761 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
762 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
763 generic division to generate INVALID and DIVZERO exceptions.
764
765 2020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
766
767 * config/rs6000/crtresfpr.S: Use .machine ppc.
768 * config/rs6000/crtresxfpr.S: Likewise.
769 * config/rs6000/crtsavfpr.S: Likewise.
770
771 2020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
772
773 PR target/94514
774 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
775 Update context->flags accroding to the frame state.
776
777 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
778
779 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
780 Remove unneeded assignments to volatile memory.
781
782 2020-04-15 Jakub Jelinek <jakub@redhat.com>
783
784 PR target/93053
785 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
786 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
787 is not defined, use just .arch armv8-a.
788 (B, M, N, OPN): Define.
789 (COMMENT): New .macro.
790 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
791 defined. Otherwise, move the operands right after the glue? and
792 comment out operands where the macros are used.
793 * configure: Regenerated.
794 * config.in: Regenerated.
795
796 2020-04-07 Ian Lance Taylor <iant@golang.org>
797
798 PR libgcc/94513
799 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
800 syscall instead.
801
802 2020-04-04 Ian Lance Taylor <iant@golang.org>
803
804 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
805
806 2020-04-03 Ian Lance Taylor <iant@golang.org>
807
808 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
809 than mmap/munmap, to avoid hooks.
810
811 2020-04-03 Jim Johnston <jjohnst@us.ibm.com>
812
813 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
814 (TPFRA_OFFSET): Macros removed.
815 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
816 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
817 (PG3_SKIPPING_OFFSET): New macros.
818 (__isPATrange): Use cinfc_fast for the check.
819 (__isSkipResetAddr): New function.
820 (s390_fallback_frame_state): Check for skip trace addresses. Use
821 either ICST_CRET or ICST_SRET to calculate return address
822 location.
823 (__tpf_eh_return): Handle skip trace addresses.
824
825 2020-03-26 Richard Earnshaw <rearnsha@arm.com>
826
827 PR target/94220
828 * config/arm/lib1funcs.asm (COND): Use a single definition for
829 unified syntax.
830 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
831 (aeabi_idivmod): Likewise.
832 (divsi3_skip_div0_test): Likewise.
833
834 2020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
835
836 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
837
838 2020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
839
840 * config.host: Include the new makefile fragment.
841 * config/s390/t-tpf: New file.
842
843 2020-03-03 Richard Earnshaw <rearnsha@arm.com>
844
845 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
846 syntax.
847 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
848 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
849 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
850 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
851 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
852 syntax.
853 (divsi3, modsi3): Likewise.
854 (clzdi2, ctzsi2): Likewise.
855 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
856 unified syntax.
857 (UNWIND_WRAPPER): Likewise.
858
859 2020-03-02 Martin Liska <mliska@suse.cz>
860
861 * libgcov-interface.c: Remove duplicate
862 declaration of __gcov_flush_mx.
863
864 2020-02-18 Martin Liska <mliska@suse.cz>
865
866 PR ipa/92924
867 * libgcov-merge.c (merge_topn_values_set): Record
868 when a TOP N counter becomes invalid. When merging
869 remove a smallest value if the space is needed.
870
871 2020-02-12 Sandra Loosemore <sandra@codesourcery.com>
872
873 PR libstdc++/79193
874 PR libstdc++/88999
875
876 * configure: Regenerated.
877
878 2020-02-10 Jeff Law <law@redhat.com>
879
880 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
881 sections.
882 * config/frv/frvend.c: Similarly.
883
884 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
885
886 PR libgcc/85334
887 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
888 New.
889
890 2020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
891
892 PR target/93615
893 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
894 _Unwind_gnu_Find_got.
895 * unwind-pe.h: Likewise.
896
897 2020-02-07 Jakub Jelinek <jakub@redhat.com>
898
899 PR target/93615
900 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
901 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
902 trailing :s in asm. Formatting fixes.
903 (_Unwind_decode_typeinfo_ptr): Adjust caller.
904
905 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
906
907 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
908
909 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
910 * config/nios2-elf-lib.h: New.
911 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
912 code for finding GOT base for nios2.
913
914 2020-01-27 Martin Liska <mliska@suse.cz>
915
916 PR gcov-profile/93403
917 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
918 Call __gcov_indirect_call_profiler_body.
919 (__gcov_indirect_call_profiler_body): New.
920 (__gcov_indirect_call_profiler_v4_atomic): New.
921 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
922 New declaration.
923
924 2020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
925
926 * config/arc/crti.S: Add RF16 object attribute.
927 * config/arc/crtn.S: Likewise.
928 * config/arc/crttls.S: Likewise.
929 * config/arc/lib1funcs.S: Likewise.
930 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
931 * config/arc/lib2funcs.c: New file.
932 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
933
934 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
935
936 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
937 * configure.ac: Handle `--with-toolexeclibdir='.
938 * configure: Regenerate.
939
940 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
941
942 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
943
944 2020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
945
946 * config/mips/gnustack.h: New file.
947 * config/mips/crti.S: Include gnustack.h.
948 * config/mips/crtn.S: Likewise.
949 * config/mips/mips16.S: Likewise.
950 * config/mips/vr4120-div.S: Likewise.
951
952 2020-01-23 Martin Liska <mliska@suse.cz>
953
954 * libgcov-driver.c (prune_topn_counter): Remove
955 check for -1 as we only prune run-time counters
956 that do not generate an invalid state.
957
958 2020-01-22 Martin Liska <mliska@suse.cz>
959
960 PR tree-optimization/92924
961 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
962 try to find an existing value, then find an empty slot
963 if not found.
964
965 2020-01-22 Martin Liska <mliska@suse.cz>
966
967 PR tree-optimization/92924
968 * libgcov-driver.c (prune_topn_counter): New.
969 (prune_counters): Likewise.
970 (dump_one_gcov): Prune a run-time counter.
971 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
972 For a known value, add GCOV_TOPN_VALUES to value.
973 Otherwise, decrement all counters by one.
974
975 2020-01-18 Hans-Peter Nilsson <hp@axis.com>
976
977 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
978
979 2020-01-18 John David Anglin <danglin@gcc.gnu.org>
980
981 PR libgcc/92988
982 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
983 DEFAULT_USE_CXA_ATEXIT is true.
984
985 2020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
986 Thomas Preud'homme <thomas.preudhomme@arm.com>
987
988 * config/arm/t-arm: Check return value of gcc rather than lack of
989 output.
990
991 2020-01-14 Georg-Johann Lay <avr@gjlay.de>
992
993 * config/avr/lib1funcs.S (skip): Simplify.
994
995 2020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
996
997 * config/gcn/atomic.c: Remove include of stdint.h.
998 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
999 __UINTPTR_TYPE__.
1000
1001 2020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
1002
1003 * config/gcn/atomic.c: New.
1004 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
1005
1006 2020-01-08 Georg-Johann Lay <avr@gjlay.de>
1007
1008 Implement 64-bit double functions.
1009
1010 PR target/92055
1011 * config.host (tmake_file) [target=avr]: Add t-libf7,
1012 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
1013 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
1014 depending on sizeof (double) or sizeof (long double).
1015 * config/avr/libf7: New folder.
1016
1017 2020-01-05 Olivier Hainque <hainque@adacore.com>
1018
1019 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
1020 by IN_LIBGCC2.
1021
1022 2020-01-01 Jakub Jelinek <jakub@redhat.com>
1023
1024 Update copyright years.
1025
1026 2019-12-30 Olivier Hainque <hainque@adacore.com>
1027
1028 * config/gthr-vxworks.h: Use _vxworks-versions.h.
1029 * config/gthr-vxworks-tls.c: Likewise.
1030
1031 2019-12-30 Olivier Hainque <hainque@adacore.com>
1032
1033 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
1034 standard zero-initializer syntax.
1035
1036 2019-12-30 Olivier Hainque <hainque@adacore.com>
1037
1038 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
1039 reference to the internal VX_GET_TLS_DATA interface.
1040
1041 2019-12-30 Olivier Hainque <hainque@adacore.com>
1042
1043 * config/vxcrtstuff.c: Fix incorrect spelling of
1044 USE_INITFINI_ARRAY in guard.
1045
1046 2019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1047
1048 * config.host: s/msp430*-*-elf/msp430-*-elf*.
1049 Override default "extra_parts" variable.
1050 * configure: Regenerate.
1051 * configure.ac: Disable TM clone registry by default for
1052 msp430-elfbare.
1053
1054 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1055
1056 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
1057 "extra_parts".
1058 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
1059
1060 2019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1061
1062 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
1063 true.
1064
1065 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1066
1067 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
1068 defined instead of its value.
1069
1070 2019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1071
1072 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
1073 if it will have contents.
1074
1075 2019-12-05 Georg-Johann Lay <avr@gjlay.de>
1076
1077 PR target/92055
1078 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1079
1080 2019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1081
1082 PR libgcc/91737
1083 * config.host: Add t-gthr-noweak on *-*-musl*.
1084 * config/t-gthr-noweak: New file.
1085
1086 2019-11-17 John David Anglin <danglin@gcc.gnu.org>
1087
1088 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1089 volatile void *. Remove trap check.
1090 (__kernel_cmpxchg2): Likewise.
1091 (FETCH_AND_OP_2): Adjust operand types.
1092 (OP_AND_FETCH_2): Likewise.
1093 (FETCH_AND_OP_WORD): Likewise.
1094 (OP_AND_FETCH_WORD): Likewise.
1095 (COMPARE_AND_SWAP_2): Likewise.
1096 (__sync_val_compare_and_swap_4): Likewise.
1097 (__sync_bool_compare_and_swap_4): Likewise.
1098 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1099 (__sync_lock_test_and_set_4): Likewise.
1100 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1101 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1102 for release.
1103 (__sync_lock_release_8): Remove.
1104
1105 2019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1106
1107 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1108 of __sigset_t.
1109
1110 2019-11-14 Jerome Lambourg <lambourg@adacore.com>
1111 Doug Rupp <rupp@adacore.com>
1112 Olivier Hainque <hainque@adacore.com>
1113
1114 * config.host: Collapse the arm-vxworks entries into
1115 a single arm-wrs-vxworks7* one.
1116 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1117 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1118 kernel modules, to be overriden by libstdc++ when we link with
1119 it. Rely on externally provided __exidx_start/end.
1120
1121 2019-11-14 Doug Rupp <rupp@adacore.com>
1122 Olivier Hainque <hainque@adacore.com>
1123
1124 * config.host: Handle aarch64*-wrs-vxworks7*.
1125
1126 2019-11-12 Olivier Hainque <hainque@adacore.com>
1127
1128 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1129 sources except the cxx0x support to LIB2ADDEH. We don't support
1130 cxx0x on AE/653.
1131 * config/t-vxworksae: New file.
1132 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1133 Makefile fragment files at their expected position in the tmake_file
1134 list, in accordance with what is done for other VxWorks variants.
1135
1136 2019-11-12 Corentin Gay <gay@adacore.com>
1137 Jerome Lambourg <lambourg@adacore.com>
1138 Olivier Hainque <hainque@adacore.com>
1139
1140 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1141 sources to LIB2ADDEH.
1142 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1143 * config/t-vxworks7: Likewise.
1144
1145 * config.host: Append a block at the end of the file to add the
1146 t-gthr files to the tmake_file list for VxWorks after everything
1147 else.
1148
1149 * config/vxlib.c: Rename as gthr-vxworks.c.
1150 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1151
1152 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1153 API and a basic error checking API, both internal. Simplify the
1154 __gthread_once_t type definition and initializers. Add sections
1155 for condition variables support and for the C++0x thread support,
1156 conditioned against Vx653 for the latter.
1157
1158 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1159 implementation, leveraging the TAS internal API.
1160 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1161 API, leveraging the general availability of TLS services in VxWorks7
1162 post SR6xxx.
1163 (__gthread_setspecific, __gthread_setspecific): Use it.
1164 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1165 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1166 support based on VxWorks primitives.
1167 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1168 based on VxWorks primitives.
1169
1170 2019-11-06 Jerome Lambourg <lambourg@adacore.com>
1171 Olivier Hainque <hainque@adacore.com>
1172
1173 * config/vxcrtstuff.c: New file.
1174 * config/t-vxcrtstuff: New Makefile fragment.
1175 * config.host: Append t-vxcrtstuff to the tmake_file list
1176 on all VxWorks ports using dwarf for table based EH.
1177
1178 2019-11-07 Georg-Johann Lay <avr@gjlay.de>
1179
1180 Support 64-bit double and 64-bit long double configurations.
1181
1182 PR target/92055
1183 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1184 long double is a 32-bit type.
1185 * config/avr/t-avrlibc: Copy double64 and long-double64
1186 multilib(s) from the vanilla one.
1187 * config/avr/t-copy-libgcc: New Makefile snip.
1188
1189 2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1190
1191 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1192 the target output object format is not ELF.
1193 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1194
1195 2019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1196
1197 PR libgcc/78804
1198 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1199 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1200 FLOAT_BIT_ORDER_MISMATCH.
1201 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1202
1203 2019-11-01 Jim Wilson <jimw@sifive.com>
1204
1205 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1206
1207 2019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1208
1209 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1210 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1211 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1212 Define symbols for 32-bit and f5series hardware multiply
1213 register addresses.
1214 Replace hard-coded register addresses with symbols.
1215 Fix "_mspabi*" typo.
1216 Fix whitespace.
1217 * config/msp430/lib2mul.c: Add comment.
1218
1219 2019-10-15 John David Anglin <danglin@gcc.gnu.org>
1220
1221 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1222 unsigned int. Adjust callers.
1223 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1224 unsigned int *. Load relocation offset before function pointer.
1225 Add barrier to ensure ordering.
1226
1227 2019-10-12 John David Anglin <danglin@gcc.gnu.org>
1228
1229 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1230 Load PIC register after branch target. Fix white space.
1231 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1232 implementations. Load PIC register after branch target. Don't
1233 clobber function pointer when it points to function descriptor.
1234 Use nullification instead of branch in LINUX implementation.
1235
1236 2019-10-03 John David Anglin <danglin@gcc.gnu.org>
1237
1238 * config/pa/fptr.c: Disable -Warray-bounds warning.
1239
1240 2019-09-25 Richard Henderson <richard.henderson@linaro.org>
1241
1242 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1243 not the ubuntu modified 2.69.
1244
1245 PR target/91833
1246 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1247 initialization if !HAVE_SYS_AUXV_H.
1248 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1249 * config.in, configure: Rebuild.
1250
1251 PR target/91834
1252 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1253 overlap the inputs.
1254
1255 2019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1256
1257 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1258 CTR_EL0.IDC and CTR_EL0.DIC.
1259
1260 2019-09-20 Christophe Lyon <christophe.lyon@st.com>
1261
1262 Revert:
1263 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1264 Mickaël Guêné <mickael.guene@st.com>
1265
1266 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1267 architecture.
1268
1269 2019-09-19 Richard Henderson <richard.henderson@linaro.org>
1270
1271 * config/aarch64/lse-init.c: New file.
1272 * config/aarch64/lse.S: New file.
1273 * config/aarch64/t-lse: New file.
1274 * config.host: Add t-lse to all aarch64 tuples.
1275
1276 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1277 Mickaël Guêné <mickael.guene@st.com>
1278
1279 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1280 architecture.
1281
1282 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1283 Mickaël Guêné <mickael.guene@st.com>
1284
1285 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1286 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1287 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1288 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1289 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1290 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1291 (__gnu_personality_sigframe_fdpic): New.
1292 (get_eit_entry): Add FDPIC signal frame support.
1293
1294 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1295 Mickaël Guêné <mickael.guene@st.com>
1296
1297 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1298 (__kernel_dmb): Likewise.
1299 (__fdpic_cmpxchg): New function.
1300 (__fdpic_dmb): New function.
1301 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1302 (gnu_Unwind_Find_got): New function.
1303 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1304 * unwind-arm-common.inc (UCB_PR_GOT): New.
1305 (funcdesc_t): New struct.
1306 (get_eit_entry): Add FDPIC support.
1307 (unwind_phase2): Likewise.
1308 (unwind_phase2_forced): Likewise.
1309 (__gnu_Unwind_RaiseException): Likewise.
1310 (__gnu_Unwind_Resume): Likewise.
1311 (__gnu_Unwind_Backtrace): Likewise.
1312 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1313
1314 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1315 Mickaël Guêné <mickael.guene@st.com>
1316
1317 * libgcc/crtstuff.c: Add support for FDPIC.
1318
1319 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1320
1321 * config.host: Handle *-*-uclinuxfdpiceabi.
1322
1323 2019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1324
1325 * config.host: Set cpu_type for bpf-*-* targets.
1326 * config/bpf/t-bpf: Likewise.
1327 * config/bpf/crtn.S: Likewise.
1328 * config/bpf/crti.S: New file.
1329
1330 2019-09-06 Jim Wilson <jimw@sifive.com>
1331
1332 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1333 (riscv*-*-freebsd*): Likewise.
1334
1335 2019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1336
1337 * config.host: Remove references to spu.
1338 * config/spu/: Remove directory.
1339
1340 2019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1341
1342 PR target/91306
1343 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1344 element type, instead of "sizeof" the element type.
1345 (__DTOR_LIST__): Likewise.
1346 (__TMC_LIST__): Likewise.
1347 (__do_global_dtors_aux_fini_array_entry): Likewise.
1348 (__frame_dummy_init_array_entry): Likewise.
1349 (__CTOR_END__): Likewise.
1350 (__DTOR_END__): Likweise.
1351 (__FRAME_END__): Likewise.
1352 (__TMC_END__): Likewise.
1353
1354 2019-08-20 Lili Cui <lilicui@intel.com>
1355
1356 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1357 INTEL_COREI7_COOPERLAKE.
1358
1359 2019-07-31 Matt Thomas <matt@3am-software.com>
1360 Nick Hudson <nick@nthcliff.demon.co.uk>
1361 Matthew Green <mrg@eterna.com.au>
1362 Maya Rashish <coypu@sdf.org>
1363
1364 * config.host (hppa*-*-netbsd*): New case.
1365 * config/pa/t-netbsd: New file.
1366
1367 2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1368
1369 * config/arm/cmse.c (cmse_check_address_range): Add
1370 warn_unused_result attribute.
1371
1372 2019-07-22 Martin Liska <mliska@suse.cz>
1373
1374 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1375 * config/pa/t-stublib: Likewise.
1376
1377 2019-07-22 Stafford Horne <shorne@gmail.com>
1378
1379 PR target/90362
1380 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1381 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1382 instructions are not available on every processor. Change a
1383 l.bnf to l.bf to fix logic issue.
1384
1385 2019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1386
1387 * config.host: Remove reference to t-darwin8.
1388
1389 2019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1390
1391 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1392 list.
1393 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1394 mmacosx-version-min for crts to run across all system versions.
1395 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1396 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1397 system versions >= 10.4.
1398
1399 2019-07-03 Martin Liska <mliska@suse.cz>
1400
1401 * Makefile.in: Use topn_values instead of one_value names.
1402 * libgcov-merge.c (__gcov_merge_single): Move to ...
1403 (__gcov_merge_topn): ... this.
1404 (merge_single_value_set): Move to ...
1405 (merge_topn_values_set): ... this.
1406 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1407 ...
1408 (__gcov_topn_values_profiler_body): ... this.
1409 (__gcov_one_value_profiler_v2): Move to ...
1410 (__gcov_topn_values_profiler): ... this.
1411 (__gcov_one_value_profiler_v2_atomic): Move to ...
1412 (__gcov_topn_values_profiler_atomic): ... this.
1413 (__gcov_indirect_call_profiler_v4): Remove.
1414 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1415 (__gcov_topn_counter_op): ... this.
1416 * libgcov.h (L_gcov_merge_single): Remove.
1417 (L_gcov_merge_topn): New.
1418 (__gcov_merge_single): Remove.
1419 (__gcov_merge_topn): New.
1420 (__gcov_one_value_profiler_v2): Move to ..
1421 (__gcov_topn_values_profiler): ... this.
1422 (__gcov_one_value_profiler_v2_atomic): Move to ...
1423 (__gcov_topn_values_profiler_atomic): ... this.
1424
1425 2019-07-03 Martin Liska <mliska@suse.cz>
1426
1427 * libgcov-merge.c (merge_single_value_set): Support N values.
1428 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1429
1430 2019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1431
1432 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1433 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1434 * configure.ac: Add --disable-tm-clone-registry option.
1435 * configure: Regenerate.
1436
1437 2019-06-27 Martin Liska <mliska@suse.cz>
1438
1439 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1440 dead assignments.
1441 * libgcov-util.c: Likewise.
1442
1443 2019-06-27 Martin Liska <mliska@suse.cz>
1444
1445 * libgcov-util.c (gcov_profile_merge): Release allocated
1446 memory.
1447 (calculate_overlap): Likewise.
1448
1449 2019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1450
1451 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1452 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1453 Build objects for the out of line save/restore register functions
1454 so that they can be used for any supported Darwin version.
1455 * config/t-darwin: Default the build Darwin version to Darwin8
1456 (MacOS 10.4).
1457
1458 2019-06-25 Martin Liska <mliska@suse.cz>
1459
1460 * libgcov-driver-system.c (replace_filename_variables): Do not
1461 call strlen with NULL argument.
1462
1463 2019-06-25 Andrew Stubbs <ams@codesourcery.com>
1464
1465 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1466 * config/gcn/unwind-gcn.c: New file.
1467
1468 2019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1469 Andrew Stubbs <ams@codesourcery.com>
1470
1471 * configure: Regenerate.
1472 * config/gcn/gthr-gcn.h: New.
1473
1474 2019-06-18 Tom de Vries <tdevries@suse.de>
1475
1476 * config/nvptx/crt0.c (__main): Declare.
1477
1478 2019-06-17 Matthew Green <mrg@eterna.com.au>
1479 Maya Rashish <coypu@sdf.org>
1480
1481 * config.host (aarch64*-*-netbsd*): New case.
1482
1483 2019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1484
1485 * config/msp430/slli.S (__mspabi_sllll): New library function for
1486 performing a logical left shift of a 64-bit value.
1487 * config/msp430/srai.S (__mspabi_srall): New library function for
1488 performing a arithmetic right shift of a 64-bit value.
1489 * config/msp430/srll.S (__mspabi_srlll): New library function for
1490 performing a logical right shift of a 64-bit value.
1491
1492 2019-06-14 Matt Thomas <matt@3am-software.com>
1493 Matthew Green <mrg@eterna.com.au>
1494 Nick Hudson <skrll@netbsd.org>
1495 Maya Rashish <coypu@sdf.org>
1496
1497 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1498 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1499 functions to build.
1500 * config/arm/t-netbsd-eabi: New file.
1501
1502 2019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1503
1504 * config.host: Add PRU target.
1505 * config/pru/asri.c: New file.
1506 * config/pru/eqd.c: New file.
1507 * config/pru/eqf.c: New file.
1508 * config/pru/ged.c: New file.
1509 * config/pru/gef.c: New file.
1510 * config/pru/gtd.c: New file.
1511 * config/pru/gtf.c: New file.
1512 * config/pru/led.c: New file.
1513 * config/pru/lef.c: New file.
1514 * config/pru/lib2bitcountHI.c: New file.
1515 * config/pru/lib2divHI.c: New file.
1516 * config/pru/lib2divQI.c: New file.
1517 * config/pru/lib2divSI.c: New file.
1518 * config/pru/libgcc-eabi.ver: New file.
1519 * config/pru/ltd.c: New file.
1520 * config/pru/ltf.c: New file.
1521 * config/pru/mpyll.S: New file.
1522 * config/pru/pru-abi.h: New file.
1523 * config/pru/pru-asm.h: New file.
1524 * config/pru/pru-divmod.h: New file.
1525 * config/pru/sfp-machine.h: New file.
1526 * config/pru/t-pru: New file.
1527
1528 2019-06-11 Jakub Jelinek <jakub@redhat.com>
1529
1530 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1531
1532 2019-06-10 Martin Liska <mliska@suse.cz>
1533
1534 PR bootstrap/90808
1535 * libgcov.h: Add ATTRIBUTE_UNUSED.
1536
1537 2019-06-10 Martin Liska <mliska@suse.cz>
1538
1539 * Makefile.in: Add __gcov_one_value_profiler_v2,
1540 __gcov_one_value_profiler_v2_atomic and
1541 __gcov_indirect_call_profiler_v4.
1542 * libgcov-merge.c (__gcov_merge_single): Change
1543 function signature.
1544 (merge_single_value_set): New.
1545 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1546 Update functionality.
1547 (__gcov_one_value_profiler): Remove.
1548 (__gcov_one_value_profiler_v2): ... this.
1549 (__gcov_one_value_profiler_atomic): Rename to ...
1550 (__gcov_one_value_profiler_v2_atomic): this.
1551 (__gcov_indirect_call_profiler_v3): Rename to ...
1552 (__gcov_indirect_call_profiler_v4): ... this.
1553 * libgcov.h (__gcov_one_value_profiler): Remove.
1554 (__gcov_one_value_profiler_atomic): Remove.
1555 (__gcov_one_value_profiler_v2_atomic): New.
1556 (__gcov_indirect_call_profiler_v3): Remove.
1557 (__gcov_one_value_profiler_v2): New.
1558 (__gcov_indirect_call_profiler_v4): New.
1559 (gcov_get_counter_ignore_scaling): New function.
1560
1561 2019-06-07 Martin Liska <mliska@suse.cz>
1562
1563 * Makefile.in: Remove usage of
1564 _gcov_merge_icall_topn.
1565 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1566 (gcov_sort_icall_topn_counter): Likewise.
1567 (gcov_sort_topn_counter_arrays): Likewise.
1568 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1569 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1570 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1571 Likewise.
1572 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1573 (struct indirect_call_tuple): Remove.
1574 (__gcov_indirect_call_topn_profiler): Remove.
1575 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1576 * libgcov.h (gcov_sort_n_vals): Remove.
1577 (L_gcov_merge_icall_topn): Likewise.
1578 (__gcov_merge_icall_topn): Likewise.
1579 (__gcov_indirect_call_topn_profiler): Likewise.
1580
1581 2019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1582
1583 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1584 altivec enabled.
1585
1586 2019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1587
1588 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1589 section.
1590 (__mspabi_slli): Likewise.
1591 (__mspabi_slll_n): Likewise.
1592 (__mspabi_slll): Likewise.
1593 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1594 (__mspabi_srai): Likewise.
1595 (__mspabi_sral_n): Likewise.
1596 (__mspabi_sral): Likewise.
1597 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1598 (__mspabi_srli): Likewise.
1599 (__mspabi_srll_n): Likewise.
1600 (__mspabi_srll): Likewise.
1601
1602 2019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1603
1604 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1605 Add appropriate tm_file clause as well.
1606 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1607
1608 2019-06-05 James Clarke <jrtc27@jrtc27.com>
1609
1610 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1611 rather than .data/.bss so it can be accessed via gp-relative
1612 addressing.
1613
1614 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
1615
1616 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1617 (CR2_REGNO): Rename to R_CR2.
1618 (XER_REGNO): Rename to R_XER.
1619 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1620 (VRSAVE_REGNO): Rename to R_VRSAVE.
1621 (VSCR_REGNO): R_VSCR.
1622
1623 2019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1624
1625 * config.host (rx-*-linux*): Add new case.
1626 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1627
1628 2019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1629
1630 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1631 function.
1632 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1633 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1634 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1635 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1636 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1637 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1638 string.
1639 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1640 string.
1641 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1642
1643 2019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1644
1645 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1646 Remove Solaris 9 and 10 support.
1647 (sparc_is_sighandler): Likewise.
1648
1649 2019-05-26 John David Anglin <danglin@gcc.gnu.org>
1650
1651 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1652
1653 2019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1654
1655 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1656 4_FP_W_TYPEs are used for IEEE quad precision.
1657 * soft-fp/extendhftf2.c: Likewise.
1658 * soft-fp/extendsftf2.c: Likewise.
1659 * soft-fp/extendxftf2.c: Likewise.
1660 * soft-fp/trunctfdf2.c: Likewise.
1661 * soft-fp/trunctfhf2.c: Likewise.
1662 * soft-fp/trunctfsf2.c: Likewise.
1663 * soft-fp/trunctfxf2.c: Likewise.
1664 * config/rs6000/ibm-ldouble.c: Likewise.
1665
1666 2019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1667
1668 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1669 *-*-solaris2*.
1670 * configure.ac: Likewise.
1671 * configure: Regenerate.
1672
1673 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1674 Solaris 10 and Solaris 11 < snv_125 handling.
1675
1676 2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1677
1678 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1679
1680 2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1681
1682 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1683 * config/i386/cpuinfo.h (enum processor_features): Add
1684 FEATURE_AVX512BF16.
1685
1686 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1687 Bernd Edlinger <bernd.edlinger@hotmail.de>
1688 Jakub Jelinek <jakub@redhat.com>
1689
1690 PR target/89093
1691 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1692 * config/arm/unwind-arm.c: Likewise.
1693 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1694 attribute for ARM.
1695
1696 2019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1697
1698 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1699 (RT_SIGRETURN): Update.
1700 (nds32_fallback_frame_state): Update.
1701
1702 2019-02-21 Martin Sebor <msebor@redhat.com>
1703
1704 * libgcc2.h (__clear_cache): Correct signature.
1705 * libgcc2.c (__clear_cache): Same.
1706
1707 2019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1708
1709 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1710 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1711
1712 2019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1713
1714 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1715 regno instead of index to DWARF_ZERO_REG.
1716
1717 2019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1718
1719 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1720 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1721
1722 2019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1723
1724 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1725 to HOST_LIBGCC2_CFLAGS.
1726
1727 2019-01-23 Joseph Myers <joseph@codesourcery.com>
1728
1729 PR libgcc/88931
1730 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
1731
1732 2019-01-18 Martin Liska <mliska@suse.cz>
1733
1734 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1735 to ...
1736 (__gcov_indirect_call_profiler_v3): ... this.
1737 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1738 (__gcov_indirect_call_profiler_v3): Likewise.
1739 * Makefile.in: Bump function name.
1740
1741 2019-01-18 Martin Liska <mliska@suse.cz>
1742
1743 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1744 (gcov_version): Use in gcov_error.
1745 (merge_one_data): Likewise.
1746 (dump_one_gcov): Likewise.
1747
1748 2019-01-18 Martin Liska <mliska@suse.cz>
1749
1750 * libgcov-driver.c (gcov_version_string): New function.
1751 (gcov_version): Convert version integer into string.
1752
1753 2019-01-17 Andrew Stubbs <ams@codesourcery.com>
1754 Kwok Cheung Yeung <kcy@codesourcery.com>
1755 Julian Brown <julian@codesourcery.com>
1756 Tom de Vries <tom@codesourcery.com>
1757
1758 * config.host: Recognize amdgcn*-*-amdhsa.
1759 * config/gcn/crt0.c: New file.
1760 * config/gcn/lib2-divmod-hi.c: New file.
1761 * config/gcn/lib2-divmod.c: New file.
1762 * config/gcn/lib2-gcn.h: New file.
1763 * config/gcn/sfp-machine.h: New file.
1764 * config/gcn/t-amdgcn: New file.
1765
1766 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1767
1768 PR other/16615
1769
1770 * config/c6x/libunwind.S: Mechanically replace "can not" with
1771 "cannot".
1772 * config/tilepro/atomic.h: Likewise.
1773 * config/vxlib-tls.c: Likewise.
1774 * generic-morestack-thread.c: Likewise.
1775 * generic-morestack.c: Likewise.
1776 * mkmap-symver.awk: Likewise.
1777
1778 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1779
1780 Update copyright years.
1781
1782 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1785 to ignore -Waddress-of-packed-member.
1786
1787 2018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1788
1789 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1790 parameter and corresponding code.
1791 (ARM_FUNC_START): Likewise in both definitions.
1792 Also update footer comment about condition that need to match with
1793 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1794 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1795 defined. Weakly define it in this case.
1796 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1797 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1798 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1799 comment to keep condition in sync with the one in
1800 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1801
1802 2018-12-18 Wei Xiao <wei3.xiao@intel.com>
1803
1804 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1805 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1806
1807 2018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1808
1809 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1810 and .cfi_endproc directives for VxWorks targets.
1811
1812 2018-12-05 Paul Koning <ni1d@arrl.net>
1813
1814 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1815
1816 2018-11-27 Alan Modra <amodra@gmail.com>
1817
1818 * config/rs6000/morestack.S (__stack_split_initialize),
1819 (__morestack_get_guard, __morestack_set_guard),
1820 (__morestack_make_guard): Provide CFI covering these functions.
1821 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1822
1823 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1824
1825 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
1826 (sc_pt_regs_lr): Update for kernel.
1827 (sc_pt_regs_tls): Update for kernel.
1828
1829 2018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1830
1831 * config/csky/linux-unwind.h: Fix coding style.
1832
1833 2018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1834
1835 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1836 (csky_fallback_frame_state): Modify the check of the
1837 instructions to adapt to changes in the kernel
1838
1839 2018-11-09 Stafford Horne <shorne@gmail.com>
1840 Richard Henderson <rth@twiddle.net>
1841
1842 * config.host: Add OpenRISC support.
1843 * config/or1k/*: New.
1844
1845 2018-11-08 Kito Cheng <kito@andestech.com>
1846
1847 * soft-fp/adddf3.c: Update from glibc.
1848 * soft-fp/addsf3.c: Likewise.
1849 * soft-fp/addtf3.c: Likewise.
1850 * soft-fp/divdf3.c: Likewise.
1851 * soft-fp/divsf3.c: Likewise.
1852 * soft-fp/divtf3.c: Likewise.
1853 * soft-fp/double.h: Likewise.
1854 * soft-fp/eqdf2.c: Likewise.
1855 * soft-fp/eqsf2.c: Likewise.
1856 * soft-fp/eqtf2.c: Likewise.
1857 * soft-fp/extenddftf2.c: Likewise.
1858 * soft-fp/extended.h: Likewise.
1859 * soft-fp/extendhftf2.c: Likewise.
1860 * soft-fp/extendsfdf2.c: Likewise.
1861 * soft-fp/extendsftf2.c: Likewise.
1862 * soft-fp/extendxftf2.c: Likewise.
1863 * soft-fp/fixdfdi.c: Likewise.
1864 * soft-fp/fixdfsi.c: Likewise.
1865 * soft-fp/fixdfti.c: Likewise.
1866 * soft-fp/fixhfti.c: Likewise.
1867 * soft-fp/fixsfdi.c: Likewise.
1868 * soft-fp/fixsfsi.c: Likewise.
1869 * soft-fp/fixsfti.c: Likewise.
1870 * soft-fp/fixtfdi.c: Likewise.
1871 * soft-fp/fixtfsi.c: Likewise.
1872 * soft-fp/fixtfti.c: Likewise.
1873 * soft-fp/fixunsdfdi.c: Likewise.
1874 * soft-fp/fixunsdfsi.c: Likewise.
1875 * soft-fp/fixunsdfti.c: Likewise.
1876 * soft-fp/fixunshfti.c: Likewise.
1877 * soft-fp/fixunssfdi.c: Likewise.
1878 * soft-fp/fixunssfsi.c: Likewise.
1879 * soft-fp/fixunssfti.c: Likewise.
1880 * soft-fp/fixunstfdi.c: Likewise.
1881 * soft-fp/fixunstfsi.c: Likewise.
1882 * soft-fp/fixunstfti.c: Likewise.
1883 * soft-fp/floatdidf.c: Likewise.
1884 * soft-fp/floatdisf.c: Likewise.
1885 * soft-fp/floatditf.c: Likewise.
1886 * soft-fp/floatsidf.c: Likewise.
1887 * soft-fp/floatsisf.c: Likewise.
1888 * soft-fp/floatsitf.c: Likewise.
1889 * soft-fp/floattidf.c: Likewise.
1890 * soft-fp/floattihf.c: Likewise.
1891 * soft-fp/floattisf.c: Likewise.
1892 * soft-fp/floattitf.c: Likewise.
1893 * soft-fp/floatundidf.c: Likewise.
1894 * soft-fp/floatundisf.c: Likewise.
1895 * soft-fp/floatunditf.c: Likewise.
1896 * soft-fp/floatunsidf.c: Likewise.
1897 * soft-fp/floatunsisf.c: Likewise.
1898 * soft-fp/floatunsitf.c: Likewise.
1899 * soft-fp/floatuntidf.c: Likewise.
1900 * soft-fp/floatuntihf.c: Likewise.
1901 * soft-fp/floatuntisf.c: Likewise.
1902 * soft-fp/floatuntitf.c: Likewise.
1903 * soft-fp/gedf2.c: Likewise.
1904 * soft-fp/gesf2.c: Likewise.
1905 * soft-fp/getf2.c: Likewise.
1906 * soft-fp/half.h: Likewise.
1907 * soft-fp/ledf2.c: Likewise.
1908 * soft-fp/lesf2.c: Likewise.
1909 * soft-fp/letf2.c: Likewise.
1910 * soft-fp/muldf3.c: Likewise.
1911 * soft-fp/mulsf3.c: Likewise.
1912 * soft-fp/multf3.c: Likewise.
1913 * soft-fp/negdf2.c: Likewise.
1914 * soft-fp/negsf2.c: Likewise.
1915 * soft-fp/negtf2.c: Likewise.
1916 * soft-fp/op-1.h: Likewise.
1917 * soft-fp/op-2.h: Likewise.
1918 * soft-fp/op-4.h: Likewise.
1919 * soft-fp/op-8.h: Likewise.
1920 * soft-fp/op-common.h: Likewise.
1921 * soft-fp/quad.h: Likewise.
1922 * soft-fp/single.h: Likewise.
1923 * soft-fp/soft-fp.h: Likewise.
1924 * soft-fp/subdf3.c: Likewise.
1925 * soft-fp/subsf3.c: Likewise.
1926 * soft-fp/subtf3.c: Likewise.
1927 * soft-fp/truncdfsf2.c: Likewise.
1928 * soft-fp/trunctfdf2.c: Likewise.
1929 * soft-fp/trunctfhf2.c: Likewise.
1930 * soft-fp/trunctfsf2.c: Likewise.
1931 * soft-fp/trunctfxf2.c: Likewise.
1932 * soft-fp/unorddf2.c: Likewise.
1933 * soft-fp/unordsf2.c: Likewise.
1934 * soft-fp/unordtf2.c: Likewise.
1935
1936 2018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1937
1938 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1939 * config/i386/cpuinfo.h (processor_types): Add znver2.
1940
1941 2018-11-01 Paul Koning <ni1d@arrl.net>
1942
1943 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1944 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1945
1946 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1947
1948 PR bootstrap/82856
1949 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1950 * configure: Regenerate.
1951
1952 2018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1953
1954 * config/arc/lib1funcs.S (_muldi3): New function.
1955 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1956
1957 2018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1958
1959 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1960
1961 2018-10-25 Martin Liska <mliska@suse.cz>
1962
1963 PR other/87735
1964 * libgcov-profiler.c: Revert.
1965
1966 2018-10-24 Martin Liska <mliska@suse.cz>
1967
1968 * libgcov-profiler.c: Start from 1 in order to distinguish
1969 functions which were seen and these that were not.
1970
1971 2018-10-18 Paul Koning <ni1d@arrl.net>
1972
1973 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1974 standard.
1975 * divmod.c: Update references to __udivmodsi4.
1976 * udivmod.c: Ditto.
1977 * udivhi3.c: New file.
1978 * udivmodhi4.c: New file.
1979 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1980
1981 2018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1982
1983 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1984
1985 2018-10-12 Olivier Hainque <hainque@adacore.com>
1986
1987 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1988 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1989
1990 2018-10-08 Paul Koning <ni1d@arrl.net>
1991
1992 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1993
1994 2018-10-04 Martin Liska <mliska@suse.cz>
1995
1996 PR gcov-profile/84107
1997 * libgcov-profiler.c (__gcov_indirect_call):
1998 Change type to indirect_call_tuple.
1999 (struct indirect_call_tuple): New struct.
2000 (__gcov_indirect_call_topn_profiler): Change type.
2001 (__gcov_indirect_call_profiler_v2): Use the new
2002 variables.
2003 * libgcov.h (struct indirect_call_tuple): New struct
2004 definition.
2005
2006 2018-10-03 Uros Bizjak <ubizjak@gmail.com>
2007
2008 * libgcc2.c (isnan): Use __builtin_isnan.
2009 (isfinite): Use __builtin_isfinite.
2010 (isinf): Use __builtin_isinf.
2011
2012 2018-09-26 Uros Bizjak <ubizjak@gmail.com>
2013
2014 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
2015
2016 2018-09-21 Alexandre Oliva <oliva@adacore.com>
2017
2018 * config/vxcache.c: New file. Provide __clear_cache, based on
2019 the cacheTextUpdate VxWorks service.
2020 * config/t-vxworks (LIB2ADD): Add vxcache.c.
2021 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
2022 * config/t-vxwoks7: Likewise.
2023
2024 2018-09-21 Martin Liska <mliska@suse.cz>
2025
2026 * libgcov-driver.c (crc32_unsigned): Remove.
2027 (gcov_histogram_insert): Likewise.
2028 (gcov_compute_histogram): Likewise.
2029 (compute_summary): Simplify rapidly.
2030 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
2031 (merge_summary): Rapidly simplify.
2032 (dump_one_gcov): Ignore gcov_summary.
2033 (gcov_do_dump): Do not handle program summary, it's not
2034 used.
2035 * libgcov-util.c (tag_summary): Remove.
2036 (read_gcda_finalize): Fix coding style.
2037 (read_gcda_file): Initialize curr_object_summary.
2038 (compute_summary): Remove.
2039 (calculate_overlap): Remove settings of run_max.
2040
2041 2018-09-21 Monk Chiang <sh.chiang04@gmail.com>
2042
2043 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
2044 ucontext_t type instead.
2045 (nds32_fallback_frame_state): Remove struct _sigframe statement.
2046
2047 2018-09-21 Kito Cheng <kito.cheng@gmail.com>
2048
2049 * config/nds32/t-nds32-glibc: New file.
2050
2051 2018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2052
2053 * configure.ac (solaris_ld_v2_maps): New test.
2054 * configure: Regenerate.
2055 * Makefile.in (solaris_ld_v2_maps): New variable.
2056 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
2057 if supported.
2058
2059 2018-08-23 Richard Earnshaw <rearnsha@arm.com>
2060
2061 PR target/86951
2062 * config/arm/lib1funcs.asm (speculation_barrier): New function.
2063 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
2064 to build.
2065
2066 2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
2067
2068 * config/unwind-dw2-fde-darwin.c
2069 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
2070 * config/darwin10-unwind-find-enc-func.c: … to here.
2071 * config/t-darwin: Build Darwin10 unwinder shim crt.
2072 * libgcc/config.host: Add the Darwin10 unwinder shim.
2073
2074 2018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2075
2076 * config.host: Add crtbegin.o and crtend.o for
2077 powerpc-wrs-vxworks target.
2078
2079 2018-08-17 Jojo <jijie_rong@c-sky.com>
2080 Huibin Wang <huibin_wang@c-sky.com>
2081 Sandra Loosemore <sandra@codesourcery.com>
2082 Chung-Lin Tang <cltang@codesourcery.com>
2083
2084 C-SKY port: libgcc
2085
2086 * config.host: Add C-SKY support.
2087 * config/csky/*: New.
2088
2089 2018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2090
2091 * config/nds32/t-nds32-isr: Rearrange object dependency.
2092 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2093 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2094 and registers usage.
2095 * config/nds32/isr-library/excp_isr.S: Ditto.
2096 * config/nds32/isr-library/intr_isr.S: Ditto.
2097 * config/nds32/isr-library/reset.S: Ditto.
2098 * config/nds32/isr-library/restore_all.inc: Ditto.
2099 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2100 * config/nds32/isr-library/restore_partial.inc: Ditto.
2101 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2102 * config/nds32/isr-library/save_all.inc: Ditto.
2103 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2104 * config/nds32/isr-library/save_partial.inc: Ditto.
2105 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2106 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2107
2108 2018-08-11 John David Anglin <danglin@gcc.gnu.org>
2109
2110 * config/pa/linux-atomic.c: Update comment.
2111 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2112 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2113 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2114 __ATOMIC_RELAXED for atomic loads.
2115 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2116 unordered store to release lock.
2117 (__sync_lock_release_8): Likewise.
2118 (SYNC_LOCK_RELEASE_2): Remove define.
2119
2120 2018-08-02 Nicolas Pitre <nico@fluxnic.net>
2121
2122 PR libgcc/86512
2123 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2124 exponent goes negative. Update my email address.
2125 * config/arm/ieee754-sf.S: Likewise.
2126
2127 2018-08-01 Martin Liska <mliska@suse.cz>
2128
2129 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
2130 check that __gcov_indirect_call_callee is non-null.
2131
2132 2018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2133
2134 * config/arm/ieee754-df.S: Fix comment for code working on
2135 architectures >= 4.
2136 * config/arm/ieee754-sf.S: Likewise.
2137
2138 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2139
2140 PR libgcc/85334
2141 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2142 Removed.
2143
2144 2018-07-05 James Clarke <jrtc27@jrtc27.com>
2145
2146 * configure: Regenerated.
2147
2148 2018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2149
2150 * Makefile.in (install_leaf): Use enable_gcov instead of
2151 enable_libgcov.
2152
2153 2018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2154
2155 * configure.ac: Add --disable-gcov option.
2156 * configure: Regenerate.
2157 * Makefile.in: Honour @enable_gcov@.
2158
2159 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2160
2161 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2162 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2163 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2164 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2165 __ARM_ARCH__.
2166 * config/arm/ieee754-sf.S: Likewise.
2167 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2168
2169 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2170
2171 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2172 longer supported.
2173 * config/arm/ieee754-sf.S: Likewise.
2174
2175 2018-06-20 Than McIntosh <thanm@google.com>
2176
2177 PR libgcc/86213
2178 * generic-morestack.c (allocate_segment): Move calls to getenv and
2179 getpagesize to __morestack_load_mmap.
2180 (__morestack_load_mmap) Initialize static_pagesize and
2181 use_guard_page here so as to avoid clobbering SSE regs during a
2182 __morestack call.
2183
2184 2018-06-18 Michael Meissner <meissner@linux.ibm.com>
2185
2186 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2187 support modules with -mno-gnu-attribute.
2188 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2189
2190 2018-06-07 Olivier Hainque <hainque@adacore.com>
2191
2192 * config/t-vxworks (LIBGCC_INCLUDES): Add
2193 -I$(MULTIBUILDTOP)../../gcc/include.
2194 * config/t-vxworks7: Likewise. Reformat a bit to match
2195 the t-vxworks layout.
2196
2197 2018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2198
2199 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2200
2201 2018-06-07 Martin Liska <mliska@suse.cz>
2202
2203 * libgcov-driver.c: Rename cs_all to all and assign it from
2204 all_prg.
2205
2206 2018-06-07 Martin Liska <mliska@suse.cz>
2207
2208 PR bootstrap/86057
2209 * libgcov-driver-system.c (replace_filename_variables): Use
2210 memcpy instead of mempcpy.
2211 (allocate_filename_struct): Do not allocate filename, allocate
2212 prefix and set it.
2213 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
2214 here and properly copy content into it.
2215 * libgcov-driver.c (struct gcov_filename): Remove max_length
2216 field, change prefix from size_t into char *.
2217 (compute_summary): Do not calculate longest filename.
2218 (gcov_do_dump): Release memory of gf.filename after each file.
2219 * libgcov-util.c (compute_summary): Use new signature of
2220 compute_summary.
2221 (calculate_overlap): Likewise.
2222
2223 2018-06-05 Martin Liska <mliska@suse.cz>
2224
2225 PR gcov-profile/47618
2226 * libgcov-driver-system.c (replace_filename_variables): New
2227 function.
2228 (gcov_exit_open_gcda_file): Use it.
2229
2230 2018-06-05 Martin Liska <mliska@suse.cz>
2231
2232 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2233 of gcov_ctr_summary.
2234 (compute_summary): Do it just for a single summary.
2235 (merge_one_data): Likewise.
2236 (merge_summary): Simplify as we read just single summary.
2237 (dump_one_gcov): Pass proper argument.
2238 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2239 single summary.
2240 (gcov_info_count_all_cold): Likewise.
2241 (calculate_overlap): Likewise.
2242
2243 2018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2244 Monk Chiang <sh.chiang04@gmail.com>
2245
2246 * config.host (nds32*-linux*): New.
2247 * config/nds32/linux-atomic.c: New file.
2248 * config/nds32/linux-unwind.h: New file.
2249
2250 2018-05-31 Uros Bizjak <ubizjak@gmail.com>
2251
2252 PR target/85591
2253 * config/i386/cpuinfo.c (get_amd_cpu): Return
2254 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2255
2256 2018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2257
2258 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
2259
2260 2018-05-29 Martin Liska <mliska@suse.cz>
2261
2262 PR gcov-profile/85759
2263 * libgcov-driver-system.c (gcov_error): Introduce usage of
2264 GCOV_EXIT_AT_ERROR env. variable.
2265 * libgcov-driver.c (merge_one_data): Print error that we
2266 overwrite a gcov file with a different timestamp.
2267
2268 2018-05-23 Kalamatee <kalamatee@gmail.com>
2269
2270 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2271 path to Lf$finfty.
2272
2273 2018-05-18 Kito Cheng <kito.cheng@gmail.com>
2274 Monk Chiang <sh.chiang04@gmail.com>
2275 Jim Wilson <jimw@sifive.com>
2276
2277 * config/riscv/save-restore.S: Add support for rv32e.
2278
2279 2018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2280
2281 * config/arm/libunwind.S: Update comment relating to armv5.
2282
2283 2018-05-17 Jerome Lambourg <lambourg@adacore.com>
2284
2285 * config/arm/cmse.c (cmse_check_address_range): Replace
2286 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2287
2288 2018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2289
2290 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2291 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2292
2293 2018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2294
2295 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2296 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2297
2298 2018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2299
2300 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2301
2302 2018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2303 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2304
2305 PR libgcc/84292
2306 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2307 op_and_fetch to return the right result.
2308
2309 2018-04-27 Alan Modra <amodra@gmail.com>
2310
2311 PR libgcc/85532
2312 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2313 -fno-asynchronous-unwind-tables.
2314
2315 2018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2316
2317 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2318 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2319
2320 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2321
2322 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2323 when including "config/i386/shadow-stack-unwind.h".
2324
2325 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 * configure: Regenerated.
2328
2329 2018-04-20 Michael Meissner <meissner@linux.ibm.com>
2330
2331 PR target/85456
2332 * config/rs6000/_powikf2.c: New file. Add support for the
2333 __builtin_powil function when long double is IEEE 128-bit floating
2334 point.
2335 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2336 __powikf2 support.
2337 (__powikf2): Likewise.
2338 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2339 (__powikf2_hw): Likewise.
2340 (__powikf2): Likewise.
2341 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2342 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2343 (_powikf2-hw.c): Likewise.
2344
2345 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2346
2347 PR libgcc/85334
2348 * unwind-generic.h (_Unwind_Frames_Increment): New.
2349 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2350 Likewise.
2351 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2352 count with _Unwind_Frames_Increment.
2353 (_Unwind_ForcedUnwind_Phase2): Likewise.
2354
2355 2018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2356
2357 PR libgcc/85379
2358 * config/i386/morestack.S (__stack_split_initialize): Add
2359 _CET_ENDBR.
2360
2361 2018-04-19 Jakub Jelinek <jakub@redhat.com>
2362
2363 * configure: Regenerated.
2364
2365 2018-04-18 David Malcolm <dmalcolm@redhat.com>
2366
2367 PR jit/85384
2368 * configure: Regenerate.
2369
2370 2018-04-16 Jakub Jelinek <jakub@redhat.com>
2371
2372 PR target/84945
2373 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2374 -Wdangling-else warnings. Mask shift counts to avoid
2375 -Wshift-count-negative and -Wshift-count-overflow false positives.
2376
2377 2018-04-06 Ruslan Bukin <br@bsdpad.com>
2378
2379 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2380
2381 2018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2382
2383 PR target/85100
2384 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2385 (XSTATE_FP): Likewise.
2386 (XSTATE_SSE): Likewise.
2387 (XSTATE_YMM): Likewise.
2388 (XSTATE_OPMASK): Likewise.
2389 (XSTATE_ZMM): Likewise.
2390 (XSTATE_HI_ZMM): Likewise.
2391 (XCR_AVX_ENABLED_MASK): Likewise.
2392 (XCR_AVX512F_ENABLED_MASK): Likewise.
2393 (get_available_features): Enable AVX and AVX512 features only
2394 if their states are supported by OSXSAVE.
2395
2396 2018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2397
2398 PR target/85025
2399 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2400 Fix a typo, tmp => 255.
2401
2402 2018-03-20 Jakub Jelinek <jakub@redhat.com>
2403
2404 PR target/84945
2405 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2406 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2407 ifndef SHARED only.
2408 (set_feature): Define.
2409 (get_available_features): Use set_feature macro. Set __cpu_features2
2410 to the second word of features ifndef SHARED.
2411
2412 2018-03-15 Julia Koval <julia.koval@intel.com>
2413
2414 * config/i386/cpuinfo.c (get_available_features): Add
2415 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2416 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2417 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2418 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2419 FEATURE_AVX512BITALG.
2420
2421 2018-03-14 Julia Koval <julia.koval@intel.com>
2422
2423 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2424 icelake client and icelake server.
2425
2426 2018-03-06 John David Anglin <danglin@gcc.gnu.org>
2427
2428 * config/pa/fptr.c (_dl_read_access_allowed): New.
2429 (__canonicalize_funcptr_for_compare): Use it.
2430
2431 2018-02-28 Jakub Jelinek <jakub@redhat.com>
2432
2433 PR debug/83917
2434 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2435 $asm_hidden_op if visibility ("hidden") attribute works.
2436 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2437 * config/i386/i386-asm.h: Don't include auto-host.h.
2438 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2439 PACKAGE_URL): Don't undefine.
2440 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2441 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2442 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2443 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2444 definition instead of hardcoded .hidden.
2445 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2446 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2447 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2448 (USE_GAS_CFI_DIRECTIVES): Don't define.
2449 * configure: Regenerated.
2450 * config.in: Likewise.
2451
2452 2018-02-26 Jakub Jelinek <jakub@redhat.com>
2453
2454 PR debug/83917
2455 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2456 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2457 inclusion of auto-target.h and auto-host.h.
2458 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2459 __GCC_HAVE_DWARF2_CFI_ASM.
2460 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2461 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2462 cfi_pop): Define.
2463 * config/i386/cygwin.S: Don't include auto-host.h here, just
2464 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2465 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2466 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2467 * config/i386/resms64fx.h: Add cfi_* directives.
2468 * config/i386/resms64x.h: Likewise.
2469
2470 2018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2471
2472 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2473 .literal_position directive.
2474 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2475
2476 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2477
2478 PR target/84148
2479 * configure: Regenerate.
2480
2481 2018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2482
2483 PR target/84239
2484 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2485 Include cetintrin.h not x86intrin.h.
2486
2487 2018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2488
2489 PR target/84239
2490 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2491 Use new _get_ssp and _inc_ssp intrinsics.
2492
2493 2018-02-02 Julia Koval <julia.koval@intel.com>
2494
2495 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2496
2497 2018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2498
2499 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2500 option.
2501 (__divsi3): Use RF16 safe registers.
2502 (__modsi3): Likewise.
2503
2504 2018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2505
2506 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2507 (__divsf3): Make NaN return value quiet.
2508 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2509 (__divdf3): Make NaN return value quiet.
2510
2511 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2512
2513 * config/rl78/anddi3.S: New assembly file.
2514 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2515
2516 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2517
2518 * config/rl78/umindi3.S: New assembly file.
2519 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2520
2521 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2522
2523 * config/rl78/smindi3.S: New assembly file.
2524 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2525
2526 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2527
2528 * config/rl78/smaxdi3.S: New assembly file.
2529 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2530
2531 2018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2532
2533 * config/rl78/umaxdi3.S: New assembly file.
2534 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
2535
2536 2018-01-21 John David Anglin <danglin@gcc.gnu.org>
2537
2538 PR lto/83452
2539 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2540 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
2541
2542 2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2543
2544 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2545 (DWARF_LAZY_REGISTER_VALUE): Define.
2546 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2547 to provide a fallback register value.
2548
2549 2018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2550
2551 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2552 __ibm128, instead of trying to use long double.
2553 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2554 accomidate -mabi=ieeelongdouble multilibs.
2555 (CVT_IBM128_TO_FLOAT128): Likewise.
2556 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2557 the appropriate IBM extended double type.
2558 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2559 (__gcc_qsub): Likewise.
2560 (__gcc_qmul): Likewise.
2561 (__gcc_qdiv): Likewise.
2562 (pack_ldouble): Likewise.
2563 (__gcc_qneg): Likewise.
2564 (__gcc_qeq): Likewise.
2565 (__gcc_qne): Likewise.
2566 (__gcc_qge): Likewise.
2567 (__gcc_qle): Likewise.
2568 (__gcc_stoq): Likewise.
2569 (__gcc_dtoq): Likewise.
2570 (__gcc_itoq): Likewise.
2571 (__gcc_utoq): Likewise.
2572 (__gcc_qunord): Likewise.
2573 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2574 quad-float128.h for the definitions.
2575 (COPYSIGN): Use the f128 version instead of the q version.
2576 (INFINITY): Likewise.
2577 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2578 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2579 quad-float128.h for the definitions.
2580 (COPYSIGN): Use the f128 version instead of the q version.
2581 (INFINITY): Likewise.
2582 (FABS): Likewise.
2583 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2584 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2585 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2586
2587 2018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2588
2589 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2590 configuration.
2591
2592 2018-01-03 Jakub Jelinek <jakub@redhat.com>
2593
2594 Update copyright years.
2595
2596 2017-12-12 Kito Cheng <kito.cheng@gmail.com>
2597
2598 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2599 * config/riscv/multi3.c: New file.
2600 * config/riscv/multi3.S: Remove.
2601
2602 2017-12-08 Jim Wilson <jimw@sifive.com>
2603
2604 * config/riscv/div.S: Use FUNC_* macros.
2605 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2606 * config/riscv/save-restore.S: Likewise.
2607 * config/riscv/riscv-asm.h: New.
2608
2609 2017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2610
2611 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2612 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2613
2614 PR libgcc/83112
2615 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2616 correct type for all ifunc resolvers to silence -Wattribute-alias
2617 warnings. Eliminate the forward declaration of the resolver
2618 functions which is no longer needed.
2619 (__subkf3_resolve): Likewise.
2620 (__mulkf3_resolve): Likewise.
2621 (__divkf3_resolve): Likewise.
2622 (__negkf2_resolve): Likewise.
2623 (__eqkf2_resolve): Likewise.
2624 (__nekf2_resolve): Likewise.
2625 (__gekf2_resolve): Likewise.
2626 (__gtkf2_resolve): Likewise.
2627 (__lekf2_resolve): Likewise.
2628 (__ltkf2_resolve): Likewise.
2629 (__unordkf2_resolve): Likewise.
2630 (__extendsfkf2_resolve): Likewise.
2631 (__extenddfkf2_resolve): Likewise.
2632 (__trunckfsf2_resolve): Likewise.
2633 (__trunckfdf2_resolve): Likewise.
2634 (__fixkfsi_resolve): Likewise.
2635 (__fixkfdi_resolve): Likewise.
2636 (__fixunskfsi_resolve): Likewise.
2637 (__fixunskfdi_resolve): Likewise.
2638 (__floatsikf_resolve): Likewise.
2639 (__floatdikf_resolve): Likewise.
2640 (__floatunsikf_resolve): Likewise.
2641 (__floatundikf_resolve): Likewise.
2642 (__extendkftf2_resolve): Likewise.
2643 (__trunctfkf2_resolve): Likewise.
2644
2645 PR libgcc/83103
2646 * config/rs6000/quad-float128.h (TF): Don't define if long double
2647 is IEEE 128-bit floating point.
2648 (TCtype): Define as either TCmode or KCmode, depending on whether
2649 long double is IEEE 128-bit floating point.
2650 (__mulkc3_sw): Add declarations for software/hardware versions of
2651 complex multiply/divide.
2652 (__divkc3_sw): Likewise.
2653 (__mulkc3_hw): Likewise.
2654 (__divkc3_hw): Likewise.
2655 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2656 handlers to switch between using software emulation and hardware
2657 float128 instructions, build the complex multiply/divide functions
2658 for both software and hardware support.
2659 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2660 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2661 (__divkc3_resolve): Likewise.
2662 (__mulkc3): Likewise.
2663 (__divkc3): Likewise.
2664 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2665 (fp128_hw_src): Likewise.
2666 (fp128_hw_static_obj): Likewise.
2667 (fp128_hw_shared_obj): Likewise.
2668 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2669 _mulkc3.c and _divkc3.c, changing the function name.
2670 (_divkc3-hw.c): Likewise.
2671 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2672 and _divkc3-hw.c.
2673
2674 2017-11-26 Julia Koval <julia.koval@intel.com>
2675
2676 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2677 * config/i386/cpuinfo.h (processor_subtypes): Add
2678 INTEL_COREI7_CANNONLAKE.
2679
2680 2017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2681
2682 PR bootstrap/83015
2683 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2684 parameter.
2685 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2686 * config/ia64/unwind-ia64.c: Add frames parameter.
2687 * unwind-sjlj.c: Likewise.
2688
2689 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2690
2691 * config/i386/linux-unwind.h: Include
2692 config/i386/shadow-stack-unwind.h.
2693 * config/i386/shadow-stack-unwind.h: New file.
2694 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2695 pass it to _Unwind_Frames_Extra.
2696 * unwind-generic.h (_Unwind_Frames_Extra): New.
2697 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2698 parameter. Add local variable frames to count number of frames.
2699 (_Unwind_ForcedUnwind_Phase2): Likewise.
2700 (_Unwind_RaiseException): Add local variable frames to count
2701 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2702 uw_install_context.
2703 (_Unwind_ForcedUnwind): Likewise.
2704 (_Unwind_Resume): Likewise.
2705 (_Unwind_Resume_or_Rethrow): Likewise.
2706
2707 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2708
2709 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2710 (CET_FLAGS): New.
2711 * config/i386/morestack.S: Include <cet.h>.
2712 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2713 * config/i386/resms64.h: Include <cet.h>.
2714 * config/i386/resms64f.h: Likewise.
2715 * config/i386/resms64fx.h: Likewise.
2716 * config/i386/resms64x.h: Likewise.
2717 * config/i386/savms64.h: Likewise.
2718 * config/i386/savms64f.h: Likewise.
2719 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2720 (CRTSTUFF_T_CFLAGS): Likewise.
2721 * configure.ac: Include ../config/cet.m4.
2722 Set and substitute CET_FLAGS.
2723 * configure: Regenerated.
2724
2725 2017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2726
2727 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2728 renaming.
2729 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2730 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2731 * configure: Regenerate.
2732
2733 2017-11-07 Tom de Vries <tom@codesourcery.com>
2734
2735 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2736 after "do {} while (0)".
2737
2738 2017-11-07 Tom de Vries <tom@codesourcery.com>
2739
2740 PR other/82784
2741 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2742 semicolon after "do {} while (0)".
2743 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2744 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2745 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2746 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2747
2748 2017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2749
2750 PR libgcc/82635
2751 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2752 sysctl to determine whether we're in a trampoline.
2753 Keep the pattern matching method for systems without
2754 KERN_PROC_SIGTRAMP sysctl.
2755
2756 2017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2757 Vineet Gupta <vgupta@synopsys.com>
2758
2759 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2760 * config/arc/linux-unwind-reg.def: New file.
2761 * config/arc/linux-unwind-reg.h: Likewise.
2762
2763 2017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2764
2765 * config/rl78/subdi3.S: New assembly file.
2766 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2767
2768 2017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2769
2770 * config/rl78/adddi3.S: New assembly file.
2771 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2772
2773 2017-10-13 Jakub Jelinek <jakub@redhat.com>
2774
2775 PR target/82274
2776 * libgcc2.c (__mulvDI3): If both operands have
2777 the same highpart of -1 and the topmost bit of lowpart is 0,
2778 multiplication overflows even if both lowparts are 0.
2779
2780 2017-09-28 James Bowman <james.bowman@ftdichip.com>
2781
2782 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2783
2784 2017-09-26 Joseph Myers <joseph@codesourcery.com>
2785
2786 * config/microblaze/crti.S, config/microblaze/crtn.S,
2787 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2788 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2789 config/microblaze/mulsi3.S,
2790 config/microblaze/stack_overflow_exit.S,
2791 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2792 config/pa/milli64.S: Add .note.GNU-stack section.
2793
2794 2017-09-23 Daniel Santos <daniel.santos@pobox.com>
2795
2796 * configure.ac: Add Check for HAVE_AS_AVX.
2797 * config.in: Regenerate.
2798 * configure: Likewise.
2799 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2800 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2801 Correct out-of-date comments.
2802
2803 2017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2804
2805 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2806 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2807
2808 2017-09-17 Daniel Santos <daniel.santos@pobox.com>
2809
2810 * config/i386/i386-asm.h (PASTE2): New macro.
2811 (ASMNAME): Modify to use PASTE2.
2812 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2813 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
2814 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
2815 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
2816 * config/i386/resms64f.S: Likewise.
2817 * config/i386/resms64fx.S: Likewise.
2818 * config/i386/resms64x.S: Likewise.
2819 * config/i386/savms64.S: Likewise.
2820 * config/i386/savms64f.S: Likewise.
2821 * config/i386/avx_resms64.S: New file that only defines a macro and
2822 includes it's corresponding header file.
2823 * config/i386/avx_resms64f.S: Likewise.
2824 * config/i386/avx_resms64fx.S: Likewise.
2825 * config/i386/avx_resms64x.S: Likewise.
2826 * config/i386/avx_savms64.S: Likewise.
2827 * config/i386/avx_savms64f.S: Likewise.
2828 * config/i386/sse_resms64.S: Likewise.
2829 * config/i386/sse_resms64f.S: Likewise.
2830 * config/i386/sse_resms64fx.S: Likewise.
2831 * config/i386/sse_resms64x.S: Likewise.
2832 * config/i386/sse_savms64.S: Likewise.
2833 * config/i386/sse_savms64f.S: Likewise.
2834 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
2835
2836 2017-09-01 Olivier Hainque <hainque@adacore.com>
2837 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2838
2839 2017-08-31 Olivier Hainque <hainque@adacore.com>
2840
2841 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2842 match as powerpc-wrs-vxworks*.
2843
2844 2017-08-07 Jonathan Yong <10walls@gmail.com>
2845
2846 * config.host (*-cygwin): Include file from mingw
2847 config/i386/enable-execute-stack-mingw32.c
2848
2849 2017-08-01 Jerome Lambourg <lambourg@adacore.com>
2850 Doug Rupp <rupp@adacore.com>
2851 Olivier Hainque <hainque@adacore.com>
2852
2853 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2854 as well as arm-wrs-vxworks.
2855 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2856 LIB2ADDEH.
2857 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2858 __exidx_start and __exidx_end for downloadable modules.
2859
2860 2017-08-01 Olivier Hainque <hainque@adacore.com>
2861
2862 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2863 * config/t-vxworks7: Likewise.
2864
2865 2017-08-01 Olivier Hainque <hainque@adacore.com>
2866
2867 * config/t-vxworks: Instead of redefining LIB2ADD,
2868 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2869
2870 2017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2871
2872 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2873
2874 2017-07-24 Daniel Santos <daniel.santos@pobox.com>
2875
2876 PR testsuite/80759
2877 * config.host: include i386/t-msabi for darwin and solaris.
2878 * config/i386/i386-asm.h
2879 (ELFFN): Rename to FN_TYPE.
2880 (FN_SIZE): New macro.
2881 (FN_HIDDEN): Likewise.
2882 (ASMNAME): Likewise.
2883 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2884 .globl.
2885 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2886 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2887 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2888 .macro.
2889 * config/i386/resms64f.S: Likewise.
2890 * config/i386/resms64fx.S: Likewise.
2891 * config/i386/resms64x.S: Likewise.
2892 * config/i386/savms64.S: Likewise.
2893 * config/i386/savms64f.S: Likewise.
2894
2895 2017-07-19 John Marino <gnugcc@marino.st>
2896
2897 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2898
2899 2017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2900
2901 PR target/81193
2902 * configure.ac (PowerPC float128 hardware support): Test whether
2903 we can use __builtin_cpu_supports before enabling the ifunc
2904 handler.
2905 * configure: Regenerate.
2906
2907 2017-07-10 Vineet Gupta <vgupta@synopsys.com>
2908
2909 * config.host: Remove uclibc from arc target spec.
2910
2911 2017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2912
2913 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2914
2915 2017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2916
2917 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2918 (have_ieee_hw_p): Delete function.
2919 (SW_OR_HW) Use __builtin_cpu_supports().
2920
2921 2017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2922
2923 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2924
2925 2017-07-03 Olivier Hainque <hainque@adacore.com>
2926
2927 * config/t-vxworks7: New file, really.
2928
2929 2017-06-28 Joseph Myers <joseph@codesourcery.com>
2930
2931 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2932 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2933 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2934 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2935 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2936 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2937 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2938 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2939 config/sh/linux-unwind.h (sh_fallback_frame_state),
2940 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2941 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2942 ucontext_t instead of struct ucontext.
2943
2944 2017-06-27 Jerome Lambourg <lambourg@adacore.com>
2945
2946 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2947 (x86_64-wrs-vxworks7): Likewise.
2948
2949 2017-06-27 Olivier Hainque <hainque@adacore.com>
2950
2951 * config/t-vxworks7: New file.
2952 * config.host (*-*-vxworks7): Use it.
2953
2954 2017-06-22 Matt Turner <mattst88@gmail.com>
2955
2956 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2957 skylake case.
2958
2959 2017-06-21 Richard Biener <rguenther@suse.de>
2960
2961 PR gcov-profile/81080
2962 * configure.ac: Add AC_SYS_LARGEFILE.
2963 * libgcov.h: Include auto-target.h before tsystem.h to pick
2964 up _FILE_OFFSET_BITS which might differ for multilibs.
2965 * config.in: Regenerate.
2966 * configure: Likewise.
2967
2968 2017-06-16 Richard Earnshaw <rearnsha@arm.com>
2969
2970 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2971
2972 2017-06-09 Martin Liska <mliska@suse.cz>
2973
2974 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2975 Reset __gcov_indirect_call_callee to NULL.
2976
2977 2017-06-08 Olivier Hainque <hainque@adacore.com>
2978
2979 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2980 the set of -I options, support for direct inclusions of net/uio.h
2981 by VxWorks header files via ioLib.h.
2982
2983 2017-06-07 Tony Reix <tony.reix@atos.net>
2984 Matthieu Sarter <matthieu.sarter.external@atos.net>
2985 David Edelsohn <dje.gcc@gmail.com>
2986
2987 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2988 unconditionally.
2989 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2990 AIX 7.2 support.
2991
2992 2017-06-02 Olivier Hainque <hainque@adacore.com>
2993
2994 * config/vxlib.c (__gthread_once): Add missing value to
2995 return statement.
2996
2997 2017-05-30 Olivier Hainque <hainque@adacore.com>
2998
2999 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
3000 dollar sign before $(MULTIDIR).
3001
3002 2017-05-26 Richard Henderson <rth@redhat.com>
3003
3004 PR libgcc/80037
3005 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
3006
3007 2017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
3008
3009 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
3010 _Unwind_SetIP available as functions for arm*-*-freebsd*.
3011 * config/arm/unwind-arm.c: Implement the above.
3012
3013 2017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3014
3015 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
3016 section for a non-executable stack.
3017
3018 2017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
3019
3020 PR target/80600
3021 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
3022
3023 2017-05-14 Daniel Santos <daniel.santos@pobox.com>
3024
3025 * config.host: Add i386/t-msabi to i386/t-linux file list.
3026 * config/i386/i386-asm.h: New file.
3027 * config/i386/resms64.S: New file.
3028 * config/i386/resms64f.S: New file.
3029 * config/i386/resms64fx.S: New file.
3030 * config/i386/resms64x.S: New file.
3031 * config/i386/savms64.S: New file.
3032 * config/i386/savms64f.S: New file.
3033 * config/i386/t-msabi: New file.
3034
3035 2017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
3036
3037 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
3038 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
3039
3040 2017-05-05 Joshua Conner <joshconner@google.com>
3041
3042 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
3043 pc-relative indirect handling for fuchsia.
3044 * config/t-slibgcc-fuchsia: New file.
3045 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
3046 x86_64-*-fuchsia*): Add definitions.
3047
3048 2017-04-19 Martin Liska <mliska@suse.cz>
3049
3050 PR gcov-profile/80435
3051 * Makefile.in: Install gcov.h.
3052 * gcov.h: New file.
3053 * libgcov.h: Use the header and make __gcov_flush publicly
3054 visible.
3055
3056 2017-04-18 Martin Liska <mliska@suse.cz>
3057
3058 PR gcov-profile/78783
3059 * libgcov-driver.c (gcov_get_filename): New function.
3060
3061 2017-04-07 Jeff Law <law@redhat.com>
3062
3063 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
3064 target makefile fragment.
3065 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
3066
3067 2017-04-07 Alan Modra <amodra@gmail.com>
3068
3069 PR target/45053
3070 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
3071
3072 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
3073
3074 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
3075
3076 2017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3077
3078 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3079
3080 2017-03-10 John Marino <gnugcc@marino.st>
3081
3082 * config/aarch64/freebsd-unwind.h: New file.
3083 * config.host: Add aarch64-*-freebsd unwinder.
3084
3085 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3086
3087 * config/rs6000/crtrestvr.s: Use .machine altivec.
3088 * config/rs6000/crtsavevr.s: Ditto.
3089
3090 2017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3091
3092 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3093 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3094 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3095 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3096 * configure: Regenerate.
3097 * config.in: Regenerate.
3098
3099 2017-03-02 Jonathan Yong <10walls@gmail.com>
3100
3101 * config/i386/gthr-win32.h: Define NOGDI before
3102 windows.h include to prevent w32api CC_NONE macro
3103 clash with libgfortran.
3104
3105 2017-03-02 Jonathan Yong <10walls@gmail.com>
3106
3107 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3108
3109 2017-02-16 Andrew Pinski <apinski@cavium.com>
3110
3111 * config/aarch64/value-unwind.h: New file.
3112 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3113 to tm_file.
3114
3115 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3116
3117 * config.host: Add RISC-V tuples.
3118 * config/riscv/atomic.c: New file.
3119 * config/riscv/crti.S: Likewise.
3120 * config/riscv/crtn.S: Likewise.
3121 * config/riscv/div.S: Likewise.
3122 * config/riscv/linux-unwind.h: Likewise.
3123 * config/riscv/muldi3.S: Likewise.
3124 * config/riscv/multi3.S: Likewise.
3125 * config/riscv/save-restore.S: Likewise.
3126 * config/riscv/sfp-machine.h: Likewise.
3127 * config/riscv/t-elf: Likewise.
3128 * config/riscv/t-elf32: Likewise.
3129 * config/riscv/t-elf64: Likewise.
3130 * config/riscv/t-softfp32: Likewise.
3131 * config/riscv/t-softfp64: Likewise.
3132
3133 2017-01-24 Jakub Jelinek <jakub@redhat.com>
3134
3135 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3136 /* FALLTHRU */ comments.
3137
3138 2017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3139
3140 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3141
3142 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3143
3144 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3145 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3146 DW_CFA_GNU_window_save for AArch64 and LP64.
3147
3148 2017-01-20 Jiong Wang <jiong.wang@arm.com>
3149
3150 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3151
3152 2017-01-19 Jiong Wang <jiong.wang@arm.com>
3153
3154 * config/aarch64/aarch64-unwind.h: New file.
3155 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3156 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3157 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3158 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3159 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3160 (aarch64_post_extract_frame_addr): New function.
3161 (aarch64_post_frob_eh_handler_addr): New function.
3162 (aarch64_frob_update_context): New function.
3163 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3164 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3165 aarch64*-*-freebsd*):
3166 Initialize md_unwind_header to include aarch64-unwind.h.
3167 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3168 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3169 __aarch64__.
3170 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3171 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3172 (uw_frob_return_addr): New function.
3173 (uw_install_context): Use uw_frob_return_addr.
3174
3175 2017-01-17 Jakub Jelinek <jakub@redhat.com>
3176
3177 PR other/79046
3178 * configure.ac: Add GCC_BASE_VER.
3179 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3180 version from BASE-VER file.
3181 * configure: Regenerated.
3182
3183 2017-01-13 Joe Seymour <joe.s@somniumtech.com>
3184
3185 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3186 libmul_f5.a): Filter archived prerequisites.
3187
3188 2017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3189
3190 * config/i386/cpuinfo.h (processor_features): Add
3191 FEATURE_AVX512VPOPCNTDQ.
3192 * config/i386/cpuinfo.c (get_available_features): Habdle new
3193 feature.
3194
3195 2017-01-04 Joseph Myers <joseph@codesourcery.com>
3196
3197 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3198 payload if [__mips_nan2008].
3199
3200 2017-01-04 Alan Modra <amodra@gmail.com>
3201
3202 * Makefile.in (configure_deps): Update.
3203 * configure: Regenerate.
3204
3205 2017-01-01 Jakub Jelinek <jakub@redhat.com>
3206
3207 Update copyright years.
3208
3209 2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3210
3211 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3212 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3213 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3214
3215 2016-12-17 Matthias Klose <doko@ubuntu.com>
3216
3217 * config/arc/gmon: Remove empty directory.
3218
3219 2016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3220
3221 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3222 crtgend.
3223 (arc*-*-elf*): Likewise.
3224 * config/arc/t-arc: Remove old gmon lib targets.
3225 * config/arc/crtg.S: Remove.
3226 * config/arc/crtgend.S: Likewise.
3227 * config/arc/gmon/atomic.h: Likewise.
3228 * config/arc/gmon/auxreg.h: Likewise.
3229 * config/arc/gmon/dcache_linesz.S: Likewise.
3230 * config/arc/gmon/gmon.c: Likewise.
3231 * config/arc/gmon/machine-gmon.h: Likewise.
3232 * config/arc/gmon/mcount.c: Likewise.
3233 * config/arc/gmon/prof-freq-stub.S: Likewise.
3234 * config/arc/gmon/prof-freq.c: Likewise.
3235 * config/arc/gmon/profil.S: Likewise.
3236 * config/arc/gmon/sys/gmon.h: Likewise.
3237 * config/arc/gmon/sys/gmon_out.h: Likewise.
3238 * config/arc/t-arc-newlib: Likewise.
3239 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3240
3241 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3242
3243 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3244
3245 2016-12-12 George Spelvin <linux@sciencehorizons.net>
3246
3247 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3248 R16 instead of push + pop.
3249 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3250
3251 2016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3252
3253 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3254 tmake_file.
3255
3256 2016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3257
3258 * config.host (arc*-*-linux-uclibc*): Use default extra
3259 objects. Include linux-android header.
3260 * config/arc/crti.S (_init): Declare symbol as function.
3261 (_fini): Likewise.
3262
3263 2016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3264
3265 PR fortran/78379
3266 * config/i386/cpuinfo.c: Move denums for processor vendors,
3267 processor type, processor subtypes and declaration of
3268 struct __processor_model into
3269 * config/i386/cpuinfo.h: New header file.
3270
3271 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3272 Thomas Preud'homme <thomas.preudhomme@arm.com>
3273
3274 * config/arm/cmse_nonsecure_call.S: New.
3275 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3276
3277 2016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3278 Thomas Preud'homme <thomas.preudhomme@arm.com>
3279
3280 * config/arm/t-arm (HAVE_CMSE): New.
3281 * config/arm/cmse.c: New.
3282
3283 2016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3284
3285 PR gcc/74748
3286 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3287 use generic linker version information on Blackfin.
3288
3289 PR gcc/74748
3290 * libgcc/mkmap-symver.awk: add support for skip_underscore
3291
3292 2016-11-27 Iain Sandoe <iain@codesourcery.com>
3293 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3294
3295 PR target/67710
3296 * config/t-darwin: Default builds to 10.5 codegen.
3297
3298 2016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3299
3300 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3301 (_FP_NANSIGN_H): Likewise.
3302 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3303 (softfp_truncations): Add tfhf.
3304 (softfp_extras): Add required conversion functions.
3305
3306 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3307 Matthew Wahab <matthew.wahab@arm.com>
3308
3309 * config/arm/fp16.c (binary64): New.
3310 (__gnu_d2h_internal): New.
3311 (__gnu_d2h_ieee): New.
3312 (__gnu_d2h_alternative): New.
3313
3314 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3315 Matthew Wahab <matthew.wahab@arm.com>
3316
3317 * config/arm/fp16.c (struct format): New.
3318 (binary32): New.
3319 (__gnu_float2h_internal): New. Body moved from
3320 __gnu_f2h_internal and generalize.
3321 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3322 Call it with binary32.
3323
3324 2016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3325
3326 * soft-fp/extendhftf2.c: Update from glibc.
3327 * soft-fp/fixhfti.c: Likewise.
3328 * soft-fp/fixunshfti.c: Likewise.
3329 * soft-fp/floattihf.c: Likewise.
3330 * soft-fp/floatuntihf.c: Likewise.
3331 * soft-fp/half.h: Likewise.
3332 * soft-fp/trunctfhf2.c: Likewise.
3333
3334 2016-11-20 Marc Glisse <marc.glisse@inria.fr>
3335
3336 PR libgcc/77813
3337 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3338 __TMC_END__ behind a passthrough asm.
3339
3340 2016-11-18 Walter Lee <walt@tilera.com>
3341
3342 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3343
3344 2016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3345
3346 * config/i386/cpuinfo.c (processor_features): Add
3347 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3348
3349 2016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3350
3351 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3352 (__ARC_NORM__): Use instead ARC_OPTFPE.
3353 * config/arc/fp-hack.h: Likewise.
3354 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3355 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3356
3357 2016-11-16 Alexander Monakov <amonakov@ispras.ru>
3358
3359 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3360 * config/nvptx/mgomp.c: New file.
3361 * config/nvptx/t-nvptx: Add mgomp.c
3362
3363 2016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3364
3365 PR libgcc/68468
3366 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3367
3368 2016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3369
3370 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3371 of checking for cpus.
3372 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3373 (__modsi3, __clzsi2): Likewise.
3374
3375 2016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3376
3377 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3378 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3379 * config/i386/t-cpuinfo-static: New.
3380
3381 2016-11-03 Martin Liska <mliska@suse.cz>
3382
3383 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3384 (__gcov_time_profiler_atomic): Likewise.
3385
3386 2016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3387
3388 PR libgcc/78067
3389 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3390 count_leading_zeros.
3391
3392 2016-11-02 Uros Bizjak <ubizjak@gmail.com>
3393
3394 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3395 * libgcc2.c (__divmoddi4): New function.
3396 * libgcc2.h (__divmoddi4): Declare.
3397 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3398 and __PFX_divmodti4.
3399
3400 2016-10-24 Florian Weimer <fweimer@redhat.com>
3401
3402 PR libgcc/78064
3403 * unwind-c.c: Include auto-target.h.
3404
3405 2016-10-19 John David Anglin <danglin@gcc.gnu.org>
3406
3407 * config/pa/pa64-hpux-lib.h: New file.
3408 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3409 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3410 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3411 hppa*64*-*-hpux11*.
3412
3413 2016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3414
3415 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3416 definition.
3417 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3418 definition.
3419 * config/xtensa/t-windowed (LIB2ADDEH): Use
3420 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3421 or xtensa/t-linux.
3422
3423 2016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3424
3425 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3426 __ieee754_sqrt): New functions.
3427 (__divdf3): Add implementation with new FPU instructions under
3428 #if XCHAL_HAVE_DFP_DIV.
3429 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3430 __ieee754_sqrtf): New functions.
3431 (__divsf3): Add implementation with new FPU instructions under
3432 #if XCHAL_HAVE_FP_DIV.
3433 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3434 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3435
3436 2016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3437
3438 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3439 equivalent.
3440 * config/tilepro/atomic.c: Likewise and stop casting model to
3441 enum memmodel.
3442
3443 2016-10-10 Joseph Myers <joseph@codesourcery.com>
3444
3445 PR target/77586
3446 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3447 soft-fp.
3448
3449 2016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3450
3451 * config.host: Add support for aarch64-*-freebsd*.
3452
3453 2016-10-05 Andreas Schwab <schwab@suse.de>
3454
3455 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3456 (.section .init_array): Don't call __do_jv_register_classes.
3457 (.section .init): Likewise.
3458
3459 2016-10-04 Jakub Jelinek <jakub@redhat.com>
3460
3461 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3462 (__JCR_LIST__): Remove.
3463 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3464 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3465 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3466 * config/ia64/crtend.S (__JCR_END__): Remove.
3467 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3468 conditionals.
3469 (__JCR_LIST__, __JCR_END__): Remove.
3470 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3471 (__do_global_ctors_1): Likewise.
3472
3473 2015-09-28 Uros Bizjak <ubizjak@gmail.com>
3474
3475 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3476 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3477
3478 2016-09-27 Martin Liska <mliska@suse.cz>
3479
3480 PR gcov-profile/7970
3481 PR gcov-profile/16855
3482 PR gcov-profile/44779
3483 * libgcov-driver.c (__gcov_init): Do not register a atexit
3484 handler.
3485 (__gcov_exit): Rename from gcov_exit.
3486 * libgcov.h (__gcov_exit): Declare.
3487
3488 2016-09-27 Martin Liska <mliska@suse.cz>
3489
3490 PR bootstrap/77749
3491 * Makefile.in: Remove _gcov_merge_delta.
3492 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3493 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3494 * libgcov.h: Remove declaration of __gcov_merge_delta.
3495
3496 2016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3497
3498 * configure.ac: Do not create links, only substitute the filenames.
3499 * configure: Regenerate.
3500 * Makefile.in: Assign the substitution results to variables.
3501 (LIBGCC_LINKS): Define.
3502 (enable-execute-stack.c): New rule.
3503 (unwind.h): Likewise.
3504 (md-unwind-support.h): Likewise.
3505 (sfp-machine.h): Likewise.
3506 (gthr-default.h): Likewise.
3507 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3508 unwind.h as prerequisite of install-unwind_h-forbuild.
3509
3510 2016-09-16 Jakub Jelinek <jakub@redhat.com>
3511
3512 PR libgcc/71744
3513 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3514 is not the primary registry and atomics are available.
3515 (any_objects_registered): New variable.
3516 (__register_frame_info_bases, __register_frame_info_table_bases):
3517 Atomically store 1 to any_objects_registered after registering first
3518 unwind info.
3519 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3520
3521 2016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3522
3523 PR target/63250
3524 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3525 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3526 (HFtype): Likewise.
3527 (HCtype): Likewise.
3528 (__divhc3): Likewise.
3529 (__mulhc3): Likewise.
3530 * libgcc2.c: Support _mulhc3 and _divhc3.
3531
3532 2016-09-07 Joseph Myers <joseph@codesourcery.com>
3533
3534 PR libgcc/77519
3535 * libgcc2.c (NOTRUNC): Invert settings.
3536
3537 2016-09-06 Martin Liska <mliska@suse.cz>
3538
3539 PR gcov-profile/77378
3540 PR gcov-profile/77466
3541 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3542 conditionaly enable/disable *_atomic functions.
3543
3544 2016-08-26 Joseph Myers <joseph@codesourcery.com>
3545
3546 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3547 where not already enabled.
3548
3549 2016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3550
3551 * config/mips/linux-unwind.h: Use sys/syscall.h.
3552
3553 2016-08-16 Joseph Myers <joseph@codesourcery.com>
3554
3555 PR libgcc/77265
3556 * soft-fp/adddf3.c: Update from glibc.
3557 * soft-fp/addsf3.c: Likewise.
3558 * soft-fp/addtf3.c: Likewise.
3559 * soft-fp/divdf3.c: Likewise.
3560 * soft-fp/divsf3.c: Likewise.
3561 * soft-fp/divtf3.c: Likewise.
3562 * soft-fp/double.h: Likewise.
3563 * soft-fp/eqdf2.c: Likewise.
3564 * soft-fp/eqsf2.c: Likewise.
3565 * soft-fp/eqtf2.c: Likewise.
3566 * soft-fp/extenddftf2.c: Likewise.
3567 * soft-fp/extended.h: Likewise.
3568 * soft-fp/extendsfdf2.c: Likewise.
3569 * soft-fp/extendsftf2.c: Likewise.
3570 * soft-fp/extendxftf2.c: Likewise.
3571 * soft-fp/fixdfdi.c: Likewise.
3572 * soft-fp/fixdfsi.c: Likewise.
3573 * soft-fp/fixdfti.c: Likewise.
3574 * soft-fp/fixsfdi.c: Likewise.
3575 * soft-fp/fixsfsi.c: Likewise.
3576 * soft-fp/fixsfti.c: Likewise.
3577 * soft-fp/fixtfdi.c: Likewise.
3578 * soft-fp/fixtfsi.c: Likewise.
3579 * soft-fp/fixtfti.c: Likewise.
3580 * soft-fp/fixunsdfdi.c: Likewise.
3581 * soft-fp/fixunsdfsi.c: Likewise.
3582 * soft-fp/fixunsdfti.c: Likewise.
3583 * soft-fp/fixunssfdi.c: Likewise.
3584 * soft-fp/fixunssfsi.c: Likewise.
3585 * soft-fp/fixunssfti.c: Likewise.
3586 * soft-fp/fixunstfdi.c: Likewise.
3587 * soft-fp/fixunstfsi.c: Likewise.
3588 * soft-fp/fixunstfti.c: Likewise.
3589 * soft-fp/floatdidf.c: Likewise.
3590 * soft-fp/floatdisf.c: Likewise.
3591 * soft-fp/floatditf.c: Likewise.
3592 * soft-fp/floatsidf.c: Likewise.
3593 * soft-fp/floatsisf.c: Likewise.
3594 * soft-fp/floatsitf.c: Likewise.
3595 * soft-fp/floattidf.c: Likewise.
3596 * soft-fp/floattisf.c: Likewise.
3597 * soft-fp/floattitf.c: Likewise.
3598 * soft-fp/floatundidf.c: Likewise.
3599 * soft-fp/floatundisf.c: Likewise.
3600 * soft-fp/floatunditf.c: Likewise.
3601 * soft-fp/floatunsidf.c: Likewise.
3602 * soft-fp/floatunsisf.c: Likewise.
3603 * soft-fp/floatunsitf.c: Likewise.
3604 * soft-fp/floatuntidf.c: Likewise.
3605 * soft-fp/floatuntisf.c: Likewise.
3606 * soft-fp/floatuntitf.c: Likewise.
3607 * soft-fp/gedf2.c: Likewise.
3608 * soft-fp/gesf2.c: Likewise.
3609 * soft-fp/getf2.c: Likewise.
3610 * soft-fp/ledf2.c: Likewise.
3611 * soft-fp/lesf2.c: Likewise.
3612 * soft-fp/letf2.c: Likewise.
3613 * soft-fp/muldf3.c: Likewise.
3614 * soft-fp/mulsf3.c: Likewise.
3615 * soft-fp/multf3.c: Likewise.
3616 * soft-fp/negdf2.c: Likewise.
3617 * soft-fp/negsf2.c: Likewise.
3618 * soft-fp/negtf2.c: Likewise.
3619 * soft-fp/op-1.h: Likewise.
3620 * soft-fp/op-2.h: Likewise.
3621 * soft-fp/op-4.h: Likewise.
3622 * soft-fp/op-8.h: Likewise.
3623 * soft-fp/op-common.h: Likewise.
3624 * soft-fp/quad.h: Likewise.
3625 * soft-fp/single.h: Likewise.
3626 * soft-fp/soft-fp.h: Likewise.
3627 * soft-fp/subdf3.c: Likewise.
3628 * soft-fp/subsf3.c: Likewise.
3629 * soft-fp/subtf3.c: Likewise.
3630 * soft-fp/truncdfsf2.c: Likewise.
3631 * soft-fp/trunctfdf2.c: Likewise.
3632 * soft-fp/trunctfsf2.c: Likewise.
3633 * soft-fp/trunctfxf2.c: Likewise.
3634 * soft-fp/unorddf2.c: Likewise.
3635 * soft-fp/unordsf2.c: Likewise.
3636 * soft-fp/unordtf2.c: Likewise.
3637
3638 2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3639
3640 PR gcov-profile/67097
3641 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3642
3643 2016-08-10 Martin Liska <mliska@suse.cz>
3644
3645 PR gcov-profile/58306
3646 * Makefile.in: New functions (modules) are added.
3647 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3648 function.
3649 (__gcov_pow2_profiler_atomic): New function.
3650 (__gcov_one_value_profiler_body): New argument is instroduced.
3651 (__gcov_one_value_profiler): Call with the new argument.
3652 (__gcov_one_value_profiler_atomic): Likewise.
3653 (__gcov_indirect_call_profiler_v2): Likewise.
3654 (__gcov_time_profiler_atomic): New function.
3655 (__gcov_average_profiler_atomic): Likewise.
3656 (__gcov_ior_profiler_atomic): Likewise.
3657 * libgcov.h: Declare the aforementioned functions.
3658
3659 2016-08-09 Martin Liska <mliska@suse.cz>
3660
3661 * libgcov-util.c: Fix typo and GNU coding style.
3662
3663 2016-08-09 Martin Liska <mliska@suse.cz>
3664
3665 * Makefile.in: Remove __gcov_indirect_call_profiler.
3666 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3667 function.
3668 * libgcov.h: And the declaration of the function.
3669
3670 2016-08-09 Martin Liska <mliska@suse.cz>
3671
3672 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3673 power of two.
3674
3675 2016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3676
3677 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3678 * config/rs6000/_mulkc3.c: Likewise.
3679
3680 2016-07-29 Georg-Johann Lay <avr@gjlay.de>
3681
3682 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3683 zero_reg as previous call to __umulhisi3 already cleared it.
3684
3685 2016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3686
3687 PR target/59833
3688 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3689
3690 2016-07-19 Nick Clifton <nickc@redhat.com>
3691
3692 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3693 Add crtinit.o and crtfini.o to extra_parts.
3694
3695 2016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3696
3697 * config/rs6000/_divkc3.c: New.
3698 * config/rs6000/_mulkc3.c: New.
3699 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3700 and _divkc3.
3701 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3702 fp128_ppc_funcs.
3703
3704 2016-07-11 Hale Wang <hale.wang@arm.com>
3705 Andre Vieira <andre.simoesdiasvieira@arm.com>
3706
3707 * config/arm/lib1funcs.S: Add new wrapper.
3708
3709 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3710
3711 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3712
3713 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3714
3715 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3716 and ARMv5t* rather than for a fixed list of architectures.
3717
3718 2016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3719
3720 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3721 implementation suitable for.
3722 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3723 for all Thumb-1 only targets.
3724 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3725 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3726 __ARM_ARCH_6M__.
3727 (EQUIV): Likewise.
3728 (ARM_FUNC_ALIAS): Likewise.
3729 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3730 version.
3731 (modsi3): Likewise.
3732 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3733 (clzdi2): Likewise.
3734 (ctzsi2): Likewise.
3735 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3736 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3737 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3738 __ARM_ARCH_6M__ and add comment to indicate the connection between
3739 this condition and the one in gcc/config/arm/elf.h.
3740 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3741 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3742 * config/arm/t-softfp: Likewise.
3743
3744 2016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3745
3746 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3747 CTOR_LISTS_DEFINED_EXTERNALLY.
3748
3749 2016-06-28 Walter Lee <walt@tilera.com>
3750
3751 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3752 asm/unistd.h.
3753 (SPR_CMPEXCH_VALUE): Define for tilegx.
3754 (__NR_FAST_cmpxchg): Define for tilepro.
3755 (__NR_FAST_atomic_update): Define for tilepro.
3756 (__NR_FAST_cmpxchg64): Define for tilepro.
3757
3758 2016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3759
3760 * config.host: Add suport for arm*-*-phoenix* targets.
3761
3762 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3763
3764 * config.host: Remove support for mep-*.
3765 * config/mep/lib1funcs.S: Remove.
3766 * config/mep/lib2funcs.c: Remove.
3767 * config/mep/t-mep: Remove.
3768 * config/mep/tramp.c: Remove.
3769
3770 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3771
3772 * config.host: Remove support for avr-rtems.
3773 * config/avr/t-rtems: Remove.
3774
3775 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3776
3777 * config.host: Remove m32r-rtems support.
3778
3779 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3780
3781 * config.host: Remove h8300-rtems support.
3782
3783 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3784
3785 * config.host: Remove support for knetbsd.
3786
3787 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3788
3789 * config.host: Remove support for openbsd 2 and 3.
3790
3791 2016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3792
3793 * config.host: Remove interix support.
3794 * config/i386/t-interix: Remove.
3795
3796 2016-06-18 John David Anglin <danglin@gcc.gnu.org>
3797
3798 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3799 least-significant bit in function pointer for fixup.
3800
3801 2016-06-05 Aaron Conole <aconole@redhat.com>
3802 Nathan Sidwell <nathan@acm.org>
3803
3804 PR libgcc/71400
3805 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3806 (get_gcov_error_file): Check __gcov_error_file before trying to
3807 initialize it.
3808 (gcov_error): Always use get_gcov_error_file.
3809
3810 2016-06-02 Aaron Conole <aconole@redhat.com>
3811
3812 * libgcov-driver-system.c (__gcov_error_file): New.
3813 (get_gcov_error_file): New.
3814 (gcov_error): Use and set __gcov_error_file.
3815 (gcov_error_exit): New.
3816 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3817
3818 2016-05-26 Nathan Sidwell <nathan@acm.org>
3819
3820 * config/nvptx/free.asm: Delete.
3821 * config/nvptx/malloc.asm: Delete.
3822 * config/nvptx/realloc.c: Delete.
3823 * t-nvptx: Update.
3824
3825 2016-05-25 Nathan Sidwell <nathan@acm.org>
3826
3827 * config/nvptx/crt0.s: Delete.
3828 * config/nvptx/crt0.c: New.
3829 * t-nvptx: Update.
3830
3831 2016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3832
3833 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
3834 dw2/seh configuration.
3835 [x86_64-*-mingw*]: Likewise.
3836
3837 2016-05-10 Joel Sherrill <joel@rtems.org>
3838
3839 PR libgcc/70720
3840 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3841 targets so the same extra_parts are built. Also have tmake_file add
3842 on to its value rather than override.
3843
3844 2016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3845
3846 * config.host: Remove SH5 support.
3847 * configure: Likewise.
3848
3849 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3850
3851 * config/sh/crt1.S: Remove SH5 support.
3852 * config/sh/crti.S: Likewise.
3853 * config/sh/crtn.S: Likewise.
3854 * config/sh/lib1funcs-4-300.S: Likewise.
3855 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3856 * config/sh/lib1funcs.S: Likewise.
3857 * config/sh/linux-unwind.h: Likewise.
3858 * config/sh/t-sh64: Delete.
3859
3860 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3861
3862 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3863
3864 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3865 Joern Rennecke <joern.rennecke@embecosm.com>
3866
3867 * config/arc/crttls.S: New file.
3868 * config/arc/t-arc: New rule.
3869 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3870
3871 2016-04-25 Nick Clifton <nickc@redhat.com>
3872
3873 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3874 (__mspabi_cmpd): Likewise.
3875 * config/msp430/floathidf.c (__floathidf): Likewise.
3876 * config/msp430/floathisf.c (__floathisf): Likewise
3877 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3878 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3879 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3880 second parameter.
3881 (__ashrsi3): Likewise.
3882
3883 2016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3884
3885 * config/m68k/linux-atomic.c: Do not include unistd.h
3886
3887 2016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3888
3889 * config/arm/ieee754-df.S: Fix typos in comments.
3890
3891 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3892
3893 PR target/70381
3894 * configure.ac (powerpc*-*-linux*): Rework tests to build
3895 __float128 emulation routines to not depend on using #pragma GCC
3896 target to enable -mfloat128.
3897 * configure: Regnerate.
3898
3899 2016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3900
3901 PR target/67172
3902 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3903 __MINGW32__ is defined.
3904
3905 2016-03-28 James Bowman <james.bowman@ftdichip.com>
3906
3907 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
3908
3909 2016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3910
3911 PR libgcc/70363
3912 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3913 built with an assembler that does not support ISA 3.0
3914 instructions, rename __extendkftf2_sw to __extendkftf2.
3915
3916 2016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3917
3918 PR target/38239
3919 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3920 call-clobbered registers.
3921 (internal_mcount): Remove __i386__ handling.
3922
3923 2016-02-26 Joel Sherrill <joel@rtems.org>
3924
3925 * config.host: Add x86_64-*-rtems*.
3926
3927 2016-02-26 Joel Sherrill <joel@rtems.org>
3928
3929 * libgcc/config.host: Add aarch64-*-rtems*.
3930
3931 2016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3932 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3933
3934 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3935 union of u64 and double.
3936 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3937 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3938 value.
3939 (FP_ROUNDMODE): Update the usage of _fpscr.
3940
3941 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3942
3943 PR driver/68463
3944 * Makefile.in (crtoffloadtable$(objext)): New rule.
3945 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3946 enable_offload_targets is not empty.
3947 * configure: Regenerate.
3948 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3949 crtoffloadtable.
3950
3951 2016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3952
3953 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3954 .literal_position before the function.
3955 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3956 Likewise.
3957
3958 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3959
3960 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3961 * config/s390/morestack.S: New file.
3962 * config/s390/t-stack-s390: New file.
3963 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3964
3965 2016-02-12 Walter Lee <walt@tilera.com>
3966
3967 * config.host (tilegx*-*-linux*): remove ti from
3968 softfp_int_modes for 32-bit configs.
3969
3970 2016-02-10 Ian Lance Taylor <iant@google.com>
3971
3972 PR go/68562
3973 * config/i386/morestack.S (__stack_split_initialize): Align
3974 stack.
3975
3976 2016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3977
3978 PR bootstrap/69611
3979 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3980 __FLOAT128__ to compile only for __float128 capable targets.
3981
3982 2016-01-25 Jakub Jelinek <jakub@redhat.com>
3983
3984 PR target/69444
3985 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3986 instead of ___NO_FPRS__.
3987
3988 2016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
3989 Steven Munroe <munroesj@linux.vnet.ibm.com>
3990 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
3991
3992 * config/rs6000/float128-sed: New files to convert TF names to KF
3993 names for PowerPC IEEE 128-bit floating point support.
3994 * config/rs6000/float128-sed-hw: Likewise.
3995
3996 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3997 floating point hardware support.
3998
3999 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4000 128-bit floating point software emulation or use ISA 3.0 hardware
4001 support if it is available.
4002
4003 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4004 floating point.
4005
4006 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
4007 floating point to IBM extended double.
4008
4009 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
4010 double to IEEE 128-bit floating point.
4011
4012 * config/rs6000/t-float128: New Makefile fragments to enable
4013 building __float128 emulation support.
4014 * config/rs6000/t-float128-hw: Likewise.
4015
4016 * config/rs6000/sfp-exceptions.c: New file to provide exception
4017 support for IEEE 128-bit floating point.
4018
4019 * config/rs6000/floattikf.c: New files for converting between IEEE
4020 128-bit floating point and signed/unsigned 128-bit integers.
4021 * config/rs6000/fixunskfti.c: Likewise.
4022 * config/rs6000/fixkfti.c: Likewise.
4023 * config/rs6000/floatuntikf.c: Likewise.
4024
4025 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4026 when building on 64-bit systems, or when VSX is enabled.
4027 (_FP_W_TYPE): Likewise.
4028 (_FP_WS_TYPE): Likewise.
4029 (_FP_I_TYPE): Likewise.
4030 (TItype): Define on 64-bit systems.
4031 (UTItype): Likewise.
4032 (TI_BITS): Likewise.
4033 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4034 (_FP_MUL_MEAT_Q): Likewise.
4035 (_FP_DIV_MEAT_D): Likewise.
4036 (_FP_DIV_MEAT_Q): Likewise.
4037 (_FP_NANFRAC_D): Likewise.
4038 (_FP_NANFRAC_Q): Likewise.
4039 (ISA_BIT): Add exception support if we are being compiled on a
4040 machine with hardware floating point support to build the IEEE
4041 128-bit emulation functions.
4042 (FP_EX_INVALID): Likewise.
4043 (FP_EX_OVERFLOW): Likewise.
4044 (FP_EX_UNDERFLOW): Likewise.
4045 (FP_EX_DIVZERO): Likewise.
4046 (FP_EX_INEXACT): Likewise.
4047 (FP_EX_ALL): Likewise.
4048 (__sfp_handle_exceptions): Likewise.
4049 (FP_HANDLE_EXCEPTIONS): Likewise.
4050 (FP_RND_NEAREST): Likewise.
4051 (FP_RND_ZERO): Likewise.
4052 (FP_RND_PINF): Likewise.
4053 (FP_RND_MINF): Likewise.
4054 (FP_RND_MASK): Likewise.
4055 (_FP_DECL_EX): Likewise.
4056 (FP_INIT_ROUNDMODE): Likewise.
4057 (FP_ROUNDMODE): Likewise.
4058
4059 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4060 VSX code, enable IEEE 128-bit floating point. If the compiler can
4061 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
4062 floating point hardware instructions and it supports declaring
4063 functions with the ifunc attribute, enable ifunc functions to
4064 switch between software and hardware support.
4065 * configure.ac (powerpc*-*-linux*): Likewise.
4066 * configure: Regenerate.
4067
4068 2016-01-15 Nick Clifton <nickc@redhat.com>
4069
4070 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
4071 dependency as the source file to be compiled.
4072 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
4073 (lib2hw_mul_f5.o): Likewise.
4074
4075 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4076
4077 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4078 * libgcc/config/rs6000/fixkfti.c: Likewise.
4079 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4080 * libgcc/config/rs6000/float128-hw.c: Likewise.
4081 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4082 * libgcc/config/rs6000/float128-sed: Likewise.
4083 * libgcc/config/rs6000/floattikf.c: Likewise.
4084 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4085 * libgcc/config/rs6000/quad-float128.h: Likewise.
4086 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4087 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4088 * libgcc/config/rs6000/t-float128: Likewise.
4089 * libgcc/config/rs6000/t-float128-hw: Likewise.
4090 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4091 * libgcc/config.host: Likewise.
4092 * libgcc/configure: Likewise.
4093 * libgcc/configure.ac: Likewise.
4094
4095 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4096 Steven Munroe <munroesj@linux.vnet.ibm.com>
4097 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
4098
4099 * config/rs6000/sfp-exceptions.c: New file to provide exception
4100 support for IEEE 128-bit floating point.
4101
4102 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4103 floating point hardware support.
4104
4105 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4106 point conversions.
4107 * config/rs6000/fixunskfti.c: Likewise.
4108 * config/rs6000/fixkfti.c: Likewise.
4109 * config/rs6000/floatuntikf.c: Likewise.
4110 * config/rs6000/extendkftf2-sw.c: Likewise.
4111 * config/rs6000/trunctfkf2-sw.c: Likewise.
4112
4113 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4114 128-bit floating point software emulation or use ISA 3.0 hardware
4115 support if it is available.
4116
4117 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4118 floating point.
4119
4120 * config/rs6000/t-float128: New Makefile fragments to enable
4121 building __float128 emulation support.
4122 * config/rs6000/t-float128-hw: Likewise.
4123
4124 * config/rs6000/float128-sed: New file to convert TF names to KF
4125 names for PowerPC IEEE 128-bit floating point support.
4126
4127 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4128 when building on 64-bit systems, or when VSX is enabled.
4129 (_FP_W_TYPE): Likewise.
4130 (_FP_WS_TYPE): Likewise.
4131 (_FP_I_TYPE): Likewise.
4132 (TItype): Define on 64-bit systems.
4133 (UTItype): Likewise.
4134 (TI_BITS): Likewise.
4135 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4136 (_FP_MUL_MEAT_Q): Likewise.
4137 (_FP_DIV_MEAT_D): Likewise.
4138 (_FP_DIV_MEAT_Q): Likewise.
4139 (_FP_NANFRAC_D): Likewise.
4140 (_FP_NANFRAC_Q): Likewise.
4141 (ISA_BIT): Add exception support if we are being compiled on a
4142 machine with hardware floating point support to build the IEEE
4143 128-bit emulation functions.
4144 (FP_EX_INVALID): Likewise.
4145 (FP_EX_OVERFLOW): Likewise.
4146 (FP_EX_UNDERFLOW): Likewise.
4147 (FP_EX_DIVZERO): Likewise.
4148 (FP_EX_INEXACT): Likewise.
4149 (FP_EX_ALL): Likewise.
4150 (__sfp_handle_exceptions): Likewise.
4151 (FP_HANDLE_EXCEPTIONS): Likewise.
4152 (FP_RND_NEAREST): Likewise.
4153 (FP_RND_ZERO): Likewise.
4154 (FP_RND_PINF): Likewise.
4155 (FP_RND_MINF): Likewise.
4156 (FP_RND_MASK): Likewise.
4157 (_FP_DECL_EX): Likewise.
4158 (FP_INIT_ROUNDMODE): Likewise.
4159 (FP_ROUNDMODE): Likewise.
4160
4161 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4162 compiler can do __float128.
4163 * configure: Regenerate.
4164
4165 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4166 VSX code, enable IEEE 128-bit floating point.
4167
4168 2016-01-05 Olivier Hainque <hainque@adacore.com>
4169
4170 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
4171 specificities.
4172
4173 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4174
4175 Update copyright years.
4176
4177 2015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4178
4179 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
4180 soft-fp targets.
4181
4182 2015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4183
4184 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4185 instead of abort to avoid dependency on stdlib.h.
4186
4187 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
4188
4189 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4190 to initialize call to __dl_fixup once.
4191
4192 2015-12-04 Nick Clifton <nickc@redhat.com>
4193
4194 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4195 Allow for the second argument being negative.
4196 * config.host (extra_parts): Define for MSP430. Create separate
4197 libraries for each of the hardware multiply formats.
4198 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4199 that are needed.
4200 * config/msp430/lib2mul.c: Likewise.
4201 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4202 Add rules to build hardware multiply libraries.
4203 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4204 __mspabi_divul function.
4205 (__mspabi_divllu): New stub function.
4206
4207 2015-12-01 John David Anglin <danglin@gcc.gnu.org>
4208
4209 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4210 fixup values if saved GOT address doesn't match runtime address.
4211 (fixup_branch_offset): Reorder list.
4212
4213 2015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4214
4215 * Makefile.in (VTV_CFLAGS): New variable.
4216 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4217 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4218 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4219 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4220 to extra_parts if $enable_vtable_verify = yes.
4221
4222 2015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4223
4224 PR target/68059
4225 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4226 (write): ...this and fix the return type.
4227
4228 2015-11-19 DJ Delorie <dj@redhat.com>
4229
4230 * config/msp430/lib2hw_mul.S: Fix alignment.
4231
4232 2015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4233
4234 * config/nvptx/reduction.c: New.
4235 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4236
4237 2015-11-15 David Edelsohn <dje.gcc@gmail.com>
4238
4239 * config/rs6000/on_exit.c: New file.
4240 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4241 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4242
4243 2015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4244
4245 * config/arc/dp-hack.h: Add support for ARCHS.
4246 * config/arc/ieee-754/divdf3.S: Likewise.
4247 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4248 * config/arc/ieee-754/muldf3.S: Likewise.
4249 * config/arc/ieee-754/mulsf3.S: Likewise
4250 * config/arc/lib1funcs.S: Likewise
4251 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4252 for ARCv2 cores.
4253 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4254 for ARCv2 cores.
4255 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4256 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4257 cores.
4258
4259 2015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4260
4261 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4262 value.
4263 * config/ia64/crtend.S: Likewise.
4264
4265 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4266
4267 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4268 __CHAR_BIT__ instead of BITS_PER_UNIT.
4269 * fixed-bit.h: Likewise.
4270 * fp-bit.h: Likewise.
4271 * libgcc2.c (__popcountSI2): Likewise.
4272 (__popcountDI2): Likewise.
4273 * libgcc2.h: Likewise.
4274 * libgcov.h: Likewise.
4275
4276 2015-11-07 David Edelsohn <dje.gcc@gmail.com>
4277
4278 * config/rs6000/atexit.c: New file.
4279 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4280 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4281 * config/rs6000/cxa_finalize.c
4282 (catomic_compare_and_exchange_bool_acq): Negate return value.
4283
4284 2015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4285
4286 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4287 (processor_subtypes): Add znver1.
4288 (get_amd_cpu): Detect znver1.
4289
4290 2015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4291
4292 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4293 Include crtfastmath.o.
4294
4295 2015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4296
4297 PR libgcc/66883
4298 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
4299
4300 2015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4301
4302 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4303 * config/rl78/divmodsi.S: Update return register to r8.
4304 * config/rl78/divmodhi.S: Update return register to r8,r9.
4305 Branch to main_loop_done_himode to pop registers before return.
4306
4307 2015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4308
4309 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4310 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4311
4312 2015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4313
4314 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4315
4316 2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4317
4318 * config.host (xtensa*-*-uclinux*): New configuration.
4319
4320 2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4321
4322 * config/i386/cpuinfo.c (processor_features): Add
4323 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4324
4325 2015-09-28 Joseph Myers <joseph@codesourcery.com>
4326
4327 * soft-fp/adddf3.c: Update from glibc.
4328 * soft-fp/addsf3.c: Likewise.
4329 * soft-fp/addtf3.c: Likewise.
4330 * soft-fp/divdf3.c: Likewise.
4331 * soft-fp/divsf3.c: Likewise.
4332 * soft-fp/divtf3.c: Likewise.
4333 * soft-fp/double.h: Likewise.
4334 * soft-fp/eqdf2.c: Likewise.
4335 * soft-fp/eqsf2.c: Likewise.
4336 * soft-fp/eqtf2.c: Likewise.
4337 * soft-fp/extenddftf2.c: Likewise.
4338 * soft-fp/extended.h: Likewise.
4339 * soft-fp/extendsfdf2.c: Likewise.
4340 * soft-fp/extendsftf2.c: Likewise.
4341 * soft-fp/extendxftf2.c: Likewise.
4342 * soft-fp/fixdfdi.c: Likewise.
4343 * soft-fp/fixdfsi.c: Likewise.
4344 * soft-fp/fixdfti.c: Likewise.
4345 * soft-fp/fixsfdi.c: Likewise.
4346 * soft-fp/fixsfsi.c: Likewise.
4347 * soft-fp/fixsfti.c: Likewise.
4348 * soft-fp/fixtfdi.c: Likewise.
4349 * soft-fp/fixtfsi.c: Likewise.
4350 * soft-fp/fixtfti.c: Likewise.
4351 * soft-fp/fixunsdfdi.c: Likewise.
4352 * soft-fp/fixunsdfsi.c: Likewise.
4353 * soft-fp/fixunsdfti.c: Likewise.
4354 * soft-fp/fixunssfdi.c: Likewise.
4355 * soft-fp/fixunssfsi.c: Likewise.
4356 * soft-fp/fixunssfti.c: Likewise.
4357 * soft-fp/fixunstfdi.c: Likewise.
4358 * soft-fp/fixunstfsi.c: Likewise.
4359 * soft-fp/fixunstfti.c: Likewise.
4360 * soft-fp/floatdidf.c: Likewise.
4361 * soft-fp/floatdisf.c: Likewise.
4362 * soft-fp/floatditf.c: Likewise.
4363 * soft-fp/floatsidf.c: Likewise.
4364 * soft-fp/floatsisf.c: Likewise.
4365 * soft-fp/floatsitf.c: Likewise.
4366 * soft-fp/floattidf.c: Likewise.
4367 * soft-fp/floattisf.c: Likewise.
4368 * soft-fp/floattitf.c: Likewise.
4369 * soft-fp/floatundidf.c: Likewise.
4370 * soft-fp/floatundisf.c: Likewise.
4371 * soft-fp/floatunditf.c: Likewise.
4372 * soft-fp/floatunsidf.c: Likewise.
4373 * soft-fp/floatunsisf.c: Likewise.
4374 * soft-fp/floatunsitf.c: Likewise.
4375 * soft-fp/floatuntidf.c: Likewise.
4376 * soft-fp/floatuntisf.c: Likewise.
4377 * soft-fp/floatuntitf.c: Likewise.
4378 * soft-fp/gedf2.c: Likewise.
4379 * soft-fp/gesf2.c: Likewise.
4380 * soft-fp/getf2.c: Likewise.
4381 * soft-fp/ledf2.c: Likewise.
4382 * soft-fp/lesf2.c: Likewise.
4383 * soft-fp/letf2.c: Likewise.
4384 * soft-fp/muldf3.c: Likewise.
4385 * soft-fp/mulsf3.c: Likewise.
4386 * soft-fp/multf3.c: Likewise.
4387 * soft-fp/negdf2.c: Likewise.
4388 * soft-fp/negsf2.c: Likewise.
4389 * soft-fp/negtf2.c: Likewise.
4390 * soft-fp/op-1.h: Likewise.
4391 * soft-fp/op-2.h: Likewise.
4392 * soft-fp/op-4.h: Likewise.
4393 * soft-fp/op-8.h: Likewise.
4394 * soft-fp/op-common.h: Likewise.
4395 * soft-fp/quad.h: Likewise.
4396 * soft-fp/single.h: Likewise.
4397 * soft-fp/soft-fp.h: Likewise.
4398 * soft-fp/subdf3.c: Likewise.
4399 * soft-fp/subsf3.c: Likewise.
4400 * soft-fp/subtf3.c: Likewise.
4401 * soft-fp/truncdfsf2.c: Likewise.
4402 * soft-fp/trunctfdf2.c: Likewise.
4403 * soft-fp/trunctfsf2.c: Likewise.
4404 * soft-fp/trunctfxf2.c: Likewise.
4405 * soft-fp/unorddf2.c: Likewise.
4406 * soft-fp/unordsf2.c: Likewise.
4407 * soft-fp/unordtf2.c: Likewise.
4408
4409 2015-09-24 Richard Earnshaw <rearnsha@arm.com>
4410
4411 PR libgcc/67624
4412 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4413
4414 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4415
4416 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4417 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4418 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4419 messages.
4420 (internal_mcount): Likewise.
4421 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4422 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4423
4424 2015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4425
4426 * configure.ac (libgcc_cv_solaris_crts): New test.
4427 * configure: Regenerate.
4428 * config.in: Regenerate.
4429 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4430 * config/gmon-sol2.c: Rename to ...
4431 * config/sol2/gmon.c: ... this.
4432 Include auto-target.h.
4433 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4434 * config/t-sol2: Rename to ...
4435 * config/sol2/t-sol2: ... this.
4436 (gmon.o): Reflect renaming.
4437 (crtp.o, crtpg.o): New rules.
4438 * config.host (*-*-solaris2*): Reflect renaming.
4439 Use system CRTs if present.
4440 Remove default CRT case.
4441
4442 2015-09-23 John David Anglin <danglin@gcc.gnu.org>
4443
4444 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4445 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4446 __kernel_cmpxchg2.
4447 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4448 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4449 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4450 (__sync_lock_test_and_set_##WIDTH): Likewise.
4451 (__sync_lock_release_##WIDTH): Likewise.
4452 (__sync_fetch_and_##OP##_4): Change result to match type of
4453 __kernel_cmpxchg.
4454 (__sync_##OP##_and_fetch_4): Likewise.
4455 (__sync_val_compare_and_swap_4): Likewise.
4456 (__sync_bool_compare_and_swap_4): likewise.
4457 (__sync_lock_test_and_set_4): Likewise.
4458 (__sync_lock_release_4): Likewise.
4459 (FETCH_AND_OP_2): Add long long variants.
4460 (OP_AND_FETCH_2): Likewise.
4461 (COMPARE_AND_SWAP_2 ): Likewise.
4462 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4463 (SYNC_LOCK_RELEASE_2): Likewise.
4464 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4465
4466 2015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
4467
4468 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4469 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4470 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4471 (get_available_features): Habdle new features.
4472
4473 2015-09-21 James Bowman <james.bowman@ftdichip.com>
4474
4475 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4476 memory layout. Deal correctly with BSS region larger than 32K.
4477 Handle a watchdog reset like a power-on reset. Clean up unused
4478 code.
4479
4480 2015-09-18 Andrew Dixie <andrewd@gentrack.com>
4481 David Edelsohn <dje.gcc@gmail.com>
4482
4483 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4484 * config/rs6000/crtdbase.S: New file.
4485 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4486
4487 2015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4488
4489 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4490 Add support for call0 ABI.
4491
4492 2015-09-13 John David Anglin <danglin@gcc.gnu.org>
4493
4494 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4495
4496 2015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4497
4498 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4499 (__GTHREAD_HAS_COND): Likewise.
4500 (__gthread_t): Likewise.
4501 (__gthread_cond_t): Likewise.
4502 (__gthread_time_t): Likewise.
4503 (__GTHREAD_MUTEX_INIT): Likewise.
4504 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4505 (__GTHREAD_COND_INIT): Likewise.
4506 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4507 (__GTHREAD_TIME_INIT): Likewise.
4508 (__gthread_create): Likewise.
4509 (__gthread_join): Likewise.
4510 (__gthread_detach): Likewise.
4511 (__gthread_equal): Likewise.
4512 (__gthread_self): Likewise.
4513 (__gthread_yield): Likewise.
4514 (__gthread_cond_broadcast): Likewise.
4515 (__gthread_cond_signal): Likewise.
4516 (__gthread_cond_wait): Likewise.
4517 (__gthread_cond_timedwait): Likewise.
4518 (__gthread_cond_wait_recursive): Likewise.
4519 (__gthread_cond_destroy): Likewise.
4520 (rtems_gxx_once): Delete.
4521 (rtems_gxx_key_create): Likewise.
4522 (rtems_gxx_key_delete): Likewise.
4523 (rtems_gxx_getspecific): Likewise.
4524 (rtems_gxx_setspecific): Likewise.
4525 (rtems_gxx_mutex_init): Likewise.
4526 (rtems_gxx_mutex_destroy): Likewise.
4527 (rtems_gxx_mutex_lock): Likewise.
4528 (rtems_gxx_mutex_trylock): Likewise.
4529 (rtems_gxx_mutex_unlock): Likewise.
4530 (rtems_gxx_recursive_mutex_init): Likewise.
4531 (rtems_gxx_recursive_mutex_lock): Likewise.
4532 (rtems_gxx_recursive_mutex_trylock): Likewise.
4533 (rtems_gxx_recursive_mutex_unlock): Likewise.
4534 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4535 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4536 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4537 (__gthread_once): Likewise.
4538 (__gthread_key_create): Likewise.
4539 (__gthread_key_delete): Likewise.
4540 (__gthread_getspecific): Likewise.
4541 (__gthread_setspecific): Likewise.
4542 (__gthread_key_t): Use <pthread.h> type.
4543 (__gthread_once_t): Likewise
4544 (__gthread_mutex_t): Use <sys/lock.h> type.
4545 (__gthread_recursive_mutex_t): Likewise
4546 (__gthread_mutex_lock): Use <sys/lock.h> function.
4547 (__gthread_mutex_trylock): Likewise.
4548 (__gthread_mutex_timedlock): Likewise.
4549 (__gthread_mutex_unlock): Likewise.
4550 (__gthread_mutex_destroy): Likewise.
4551 (__gthread_recursive_mutex_lock): Likewise.
4552 (__gthread_recursive_mutex_trylock): Likewise.
4553 (__gthread_recursive_mutex_timedlock): Likewise.
4554 (__gthread_recursive_mutex_unlock): Likewise.
4555 (__gthread_recursive_mutex_destroy): Likewise.
4556
4557 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4558
4559 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4560 context->sp instead of context->cfa.
4561
4562 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4563
4564 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4565 with unwind-dw2-fde-dip.
4566
4567 2015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4568
4569 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4570 CALL12 followed by series of ENTRY to spill windowed registers.
4571 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4572 instead of making linux spill syscall.
4573
4574 2015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4575
4576 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4577 (get_intel_cpu): Likewise.
4578
4579 2015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4580
4581 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4582 (get_intel_cpu): Add Knights Landing support.
4583
4584 2015-08-11 Uros Bizjak <ubizjak@gmail.com>
4585
4586 PR target/66954
4587 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4588 (get_available_features): Handle FEATURE_PCLMUL.
4589
4590 2015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4591
4592 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4593 Broadwell.
4594
4595 2015-07-22 Uros Bizjak <ubizjak@gmail.com>
4596
4597 PR target/66954
4598 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4599 (get_available_features): Handle FEATURE_AES.
4600
4601 2015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4602
4603 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4604 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4605
4606 2015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4607
4608 * offloadstuff.c: Constify host data.
4609
4610 2015-07-17 Jan Beulich <jbeulich@suse.com>
4611
4612 * config/t-softfp: Split up "else ifneq".
4613
4614 2015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4615 Cesar Philippidis <cesar@codesourcery.com>
4616 Chung-Lin Tang <cltang@codesourcery.com>
4617
4618 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4619 for __nios2_arch__ level.
4620
4621 2015-07-13 John Marino <gnugcc@marino.st>
4622
4623 * config/i386/t-dragonfly: New.
4624
4625 2015-07-01 John David Anglin <danglin@gcc.gnu.org>
4626
4627 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4628 better match light-weight syscall argument order.
4629 (__kernel_cmpxchg2): Likewise.
4630 Adjust callers.
4631
4632 2015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4633
4634 * config.host: Support i[34567]86-*-elfiamcu target.
4635 * config/t-softfp-sfdftf: New file.
4636 * config/i386/32/t-iamcu: Likewise.
4637 * configure: Regenerated.
4638
4639 2015-06-23 James Lemke <jwlemke@codesourcery.com>
4640
4641 libgcc/config/arm/
4642 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4643
4644 2015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4645
4646 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4647
4648 2015-05-27 John Marino <gnugcc@marino.st>
4649
4650 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4651 md_unwind_header
4652 * config/i386/freebsd-unwind.h: New.
4653
4654 2015-05-22 Uros Bizjak <ubizjak@gmail.com>
4655
4656 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4657 i386/t-crtfm to tmake_file.
4658 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4659 (set_fast_math): Use set_fast_math_sse for SSE targets.
4660 * config/i386/t-crtfm: Remove.
4661
4662 2015-05-21 Alan Modra <amodra@gmail.com>
4663
4664 PR libgcc/66225
4665 * config/rs6000/morestack.S: Remove ".abiversion 1".
4666
4667 2015-05-20 Alan Modra <amodra@gmail.com>
4668
4669 * config/rs6000/morestack.S: New.
4670 * config/rs6000/t-stack-rs6000: New.
4671 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4672 to tmake_file.
4673 * generic-morestack.c: Don't build for powerpc 32-bit.
4674
4675 2015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4676
4677 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4678 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4679
4680 2015-05-16 James Bowman <james.bowman@ftdichip.com>
4681
4682 * config.host: FT32 target added.
4683 * config/ft32/*: New files for FT32 target.
4684
4685 2015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4686
4687 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4688 New macros.
4689 * config/arm/ieee754-df.S: Add CFI directives.
4690 * config/arm/ieee754-sf.S: Add CFI directives.
4691
4692 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4693
4694 * configure.ac: Include config/sjlj.m4.
4695 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4696 * config.in: Regenerate.
4697 * configure: Likewise.
4698 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4699
4700 2015-05-12 Uros Bizjak <ubizjak@gmail.com>
4701
4702 * libgcov-util.c: Add space between string literal and macro name.
4703
4704 2015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4705 Chris Jones <chrisj@nvidia.com>
4706 Joshua Conner <jconner@nvidia.com>
4707
4708 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4709 (arm*-*-uclinux*): Likewise.
4710 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4711 * config/arm/crtfastmath.c: New file.
4712
4713 2014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4714
4715 * Makefile.in (real_host_noncanonical): New variable.
4716 (libsubdir): Use it.
4717 * configure.ac (real_host_noncanonical): Compute. Remove special
4718 case for intelmicemul.
4719 * configure: Regenerate.
4720
4721 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4722
4723 * config/frv/elf-lib.h: New file.
4724 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4725 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4726 to tm_file.
4727
4728 2015-04-28 Uros Bizjak <ubizjak@gmail.com>
4729
4730 * config/frv/frvbengin.c: Do not include defaults.h
4731 * config/frv/frvend.c: Ditto.
4732
4733 2015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4734
4735 * config.host: Add h8300-*-linux
4736 * config/h8300/t-linux: New file.
4737 * config/h8300/lib1funs.s: Change symbol prefix.
4738 * config/h8300/sfp-machine.h: 64bit double support.
4739
4740 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4741 Szabolcs Nagy <szabolcs.nagy@arm.com>
4742
4743 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4744 Linux if target provides dl_iterate_phdr.
4745
4746 2015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 PR target/65612
4749 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4750 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4751 (__cpu_indicator_init@GCC_4.8.0): New.
4752 (__cpu_model@GCC_4.8.0): Likewise.
4753 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4754 -DUSE_ELF_SYMVER.
4755
4756 2015-04-16 Nick Clifton <nickc@redhat.com>
4757
4758 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4759 and __modhi3 functions.
4760 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4761 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4762
4763 2015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4764
4765 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4766 do-while loop as macro body to avoid warnings.
4767
4768 2015-04-10 Jakub Jelinek <jakub@redhat.com>
4769 Iain Sandoe <iain@codesourcery.com>
4770
4771 PR target/65351
4772 * configure: Regenerate.
4773
4774 2015-04-07 Jakub Jelinek <jakub@redhat.com>
4775 Iain Sandoe <iain@codesourcery.com>
4776
4777 PR target/65351
4778 * configure: Regenerate.
4779
4780 2015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4781
4782 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4783
4784 2015-03-03 Max Filippov <jcmvbkbc@gmail.com>
4785
4786 Implement call0 ABI for xtensa
4787 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4788 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4789 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4790 use ret in call0 ABI.
4791 * config/xtensa/t-windowed: New file.
4792 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4793 * libgcc/configure: Regenerated.
4794 * libgcc/configure.ac: Check if xtensa target is configured for
4795 windowed ABI and thus needs to use custom unwind code.
4796
4797 2015-02-12 Jonathan Wakely <jwakely@redhat.com>
4798
4799 PR libgcc/64885
4800 * gthr-single.h: Use __unused__ attribute instead of unused.
4801 * config/gthr-vxworks.h: Likewise.
4802 * config/i386/gthr-win32.h: Likewise.
4803
4804 2015-02-27 Kai Tietz <ktietz@redhat.com>
4805
4806 PR target/65038
4807 * config.in: Regenerated.
4808 * configure: Likewise.
4809 * configure.ac (AC_HEADER_STDC): Added explicit.
4810 (AC_CHECK_HEADERS): Check for default headers plus
4811 for ftw.h header.
4812 * libgcov-util.c (gcov_read_profile_dir): Disable use
4813 of ftw-function, if header is not found.
4814 (ftw_read_file): Likewise.
4815
4816 2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4817
4818 PR target/65181
4819 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4820 -Dinhibit_libc.
4821
4822 2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4823
4824 * config/arm/bpabi.S (test_div_by_zero): Make label names
4825 consistent between thumb2 and arm mode cases. Separate the
4826 signed comparison on the high word of the numerator from the
4827 unsigned comparison on the low word.
4828 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4829 signed comparison.
4830
4831 2015-02-17 Joseph Myers <joseph@codesourcery.com>
4832
4833 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4834 and <string.h>.
4835 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4836
4837 2015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4838
4839 PR gcov-profile/61889
4840 * libgcov-driver-system.c: undefine clashing macro for mkdir.
4841
4842 2015-02-02 Nick Clifton <nickc@redhat.com>
4843
4844 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4845 rounding up the fraction.
4846
4847 2015-01-31 John David Anglin <danglin@gcc.gnu.org>
4848
4849 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4850 oldval and newval to const void *. Fix typo.
4851 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4852 (FETCH_AND_OP_WORD): Likewise.
4853 (OP_AND_FETCH_WORD): Likewise.
4854 (COMPARE_AND_SWAP_2): Likewise.
4855 (__sync_val_compare_and_swap_4): Likewise.
4856 (__sync_lock_test_and_set_4): Likewise.
4857 (SYNC_LOCK_RELEASE_2): Likewise.
4858 Remove support for long long atomic operations.
4859
4860 2015-01-27 Caroline Tice <cmtice@google.com>
4861
4862 Committing VTV Cywin/Ming patch for Patrick Wollgast
4863 * Makefile.in: Move rules to build vtv_*.o out of the check
4864 for CUSTOM_CRTSTUFF.
4865 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4866 i[34567]86-*-mingw*)
4867 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4868 enable_vtable_verify.
4869
4870 2015-01-27 Nick Clifton <nickc@redhat.com>
4871
4872 * config/rl78/cmpsi2.S: Use function start and end macros.
4873 (__gcc_bcmp): New function.
4874 * config/rl78/lshrsi3.S: Use function start and end macros.
4875 * config/rl78/mulsi3.S: Add support for G10.
4876 (__mulqi3): New function for G10.
4877 * config/rl78/signbit.S: Use function start and end macros.
4878 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4879 fpmath-sf.S.
4880 (LIB2FUNCS_EXCLUDE): Define.
4881 (LIB2FUNCS_ST): Define.
4882 * config/rl78/trampoline.S: Use function start and end macros.
4883 * config/rl78/vregs.h (START_FUNC): New macro.
4884 (START_ANOTHER_FUNC): New macro.
4885 (END_FUNC): New macro.
4886 (END_ANOTHER_FUNC): New macro.
4887 * config/rl78/bit-count.S: New file. Contains assembler
4888 implementations of the bit counting functions: ___clzhi2,
4889 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4890 __paritysi2, __popcounthi2 and __popcountsi2.
4891 * config/rl78/fpbit-sf.S: New file. Contains assembler
4892 implementationas of the math functions: __negsf2, __cmpsf2,
4893 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4894 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4895 * config/rl78/fpmath-sf.S: New file. Contains assembler
4896 implementations of the math functions: __subsf3, __addsf3,
4897 __mulsf3 and __divsf3
4898
4899 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4900
4901 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4902 Add i386/elf-lib.h to tm_file.
4903 * config/i386/elf-lib.h: Fix comment.
4904 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4905 && __sun__ && __svr4__]: Remove workaround.
4906
4907 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4908
4909 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4910 FEATURE_BMI2.
4911 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4912
4913 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4914
4915 * config/i386/cpuinfo.c (processor_subtypes): Add
4916 INTEL_COREI7_BROADWELL.
4917 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4918 model numbers.
4919
4920 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
4921
4922 * config/i386/elf-lib.h: New file.
4923 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4924 Wrap definition in #ifdef __i386__.
4925 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4926 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4927 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4928 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4929 to tm_file.
4930
4931 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4932
4933 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4934 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4935
4936 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4937
4938 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4939 Update rt_sigframe format and address for current Nios II
4940 Linux conventions.
4941
4942 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4943
4944 * config.host (arm*-*-freebsd*): Add new configuration for
4945 arm*-*-freebsd*.
4946 * config/arm/freebsd-atomic.c: New file.
4947 * config/arm/t-freebsd: Likewise.
4948 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4949 'PC-relative indirect' OS's.
4950
4951 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4952
4953 * config.host: Add Visium support.
4954 * config/visium: New directory.
4955
4956 2015-01-05 Jakub Jelinek <jakub@redhat.com>
4957
4958 Update copyright years.
4959
4960 2014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4961
4962 * config.host: Support mipsisa32r6 and mipsisa64r6.
4963 * config/mips/mips16.S: Do not build for R6.
4964
4965 2014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4966
4967 * config/sh/crt.h: New.
4968 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4969 symbols.
4970 * config/sh/crt1.S: Likewise.
4971
4972 2014-12-15 Uros Bizjak <ubizjak@gmail.com>
4973
4974 PR libgcc/63832
4975 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4976 func_ptr *dtor_list temporary variable to avoid "array subscript
4977 is above array bounds" warnings.
4978
4979 2014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
4980
4981 * Makefile.in (with_aix_soname): Define.
4982 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4983 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4984 * configure: Recreate.
4985
4986 2014-12-05 Olivier Hainque <hainque@adacore.com>
4987
4988 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4989 now provided by defaults.h.
4990
4991 2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4992
4993 PR target/55351
4994 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4995 whether it's defined.
4996
4997 2014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4998
4999 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
5000 * config/i386/cpuinfo.c (get_available_features): Detect it.
5001
5002 2014-11-27 Tony Wang <tony.wang@arm.com>
5003
5004 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
5005 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
5006 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
5007
5008 2014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
5009
5010 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
5011
5012 2014-11-24 John David Anglin <danglin@gcc.gnu.org>
5013
5014 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
5015 instead.
5016
5017 2014-11-21 Guy Martin <gmsoft@tuxicoman.be>
5018 John David Anglin <danglin@gcc.gnu.org>
5019
5020 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
5021 (FETCH_AND_OP_2): New. Use for subword and double word operations.
5022 (OP_AND_FETCH_2): Likewise.
5023 (COMPARE_AND_SWAP_2): Likewise.
5024 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
5025 (SYNC_LOCK_RELEASE_2): Likewise.
5026 (SUBWORD_SYNC_OP): Remove.
5027 (SUBWORD_VAL_CAS): Likewise.
5028 (SUBWORD_BOOL_CAS): Likewise.
5029 (FETCH_AND_OP_WORD): Update.
5030 Consistently use signed types.
5031
5032 2014-11-13 Bernd Schmidt <bernds@codesourcery.com>
5033 Thomas Schwinge <thomas@codesourcery.com>
5034 Ilya Verbin <ilya.verbin@intel.com>
5035 Andrey Turetskiy <andrey.turetskiy@intel.com>
5036
5037 * Makefile.in (crtoffloadbegin$(objext)): New rule.
5038 (crtoffloadend$(objext)): Likewise.
5039 * configure: Regenerate.
5040 * configure.ac (accel_dir_suffix): Compute new variable.
5041 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
5042 if enable_offload_targets is not empty.
5043 * offloadstuff.c: New file.
5044
5045 2014-11-13 Nick Clifton <nickc@redhat.com>
5046
5047 * config/rl78/divmodhi.S: Add support for the G10 architecture.
5048 Use START_FUNC and END_FUNC macros to enable linker garbage
5049 collection.
5050 * config/rl78/divmodqi.S: Likewise.
5051 * config/rl78/divmodsi.S: Likewise.
5052 * config/rl78/mulsi3.S: Likewise.
5053 * config/rl78/lib2div.c: Remove G10 functions.
5054 * config/rl78/lib2muls.c: Likewise.
5055 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
5056 * config/rl78/vregs.h (START_FUNC): New macro.
5057 (END_FUNC): New macro.
5058
5059 2014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
5060
5061 * config/mips/mips16.S: Set .module when supported. Update O32
5062 FP64 calling convention and use for FPXX when possible. Add FPXX
5063 calling convention fallback case.
5064
5065 2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
5066
5067 * config.host: Handle nvptx-*-*.
5068 * shared-object.mk (as-flags-$o): Define.
5069 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
5070 -xassembler-with-cpp.
5071 * static-object.mk: Identical changes.
5072 * config/nvptx/t-nvptx: New file.
5073 * config/nvptx/crt0.s: New file.
5074 * config/nvptx/free.asm: New file.
5075 * config/nvptx/malloc.asm: New file.
5076 * config/nvptx/realloc.c: New file.
5077
5078 2014-10-30 Joseph Myers <joseph@codesourcery.com>
5079
5080 * Makefile.in (libgcc.map.in): New target.
5081 (libgcc.map): Use libgcc.map.in.
5082 * config/t-softfp (softfp_compat): New variable to be set by
5083 users.
5084 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5085 variables.
5086 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5087 directory.
5088 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5089 that use compat symbols and disable all code unless [SHARED].
5090 * config/t-softfp-compat: New file.
5091 * find-symver.awk: New file.
5092 * configure.ac (--with-glibc-version): New configure option.
5093 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5094 * configure: Regenerate.
5095 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5096 soft-float and e500.
5097
5098 2014-10-29 Joseph Myers <joseph@codesourcery.com>
5099
5100 * config/t-hardfp (hardfp_exclusions): Document new variable for
5101 user to define.
5102 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5103 * config/t-softfp (softfp_extras): Document new variable for user
5104 to define.
5105 (softfp_func_list): Add functions from $(softfp_extras).
5106 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5107 * config.host (powerpc*-*-linux*): For e500v1, use
5108 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5109 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5110 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5111
5112 2014-10-26 John David Anglin <danglin@gcc.gnu.org>
5113
5114 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5115 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5116 memory read accesses are ok.
5117
5118 2014-10-25 Joseph Myers <joseph@codesourcery.com>
5119
5120 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5121 * configure: Regenerate.
5122 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5123 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5124 of soft-fp for 32-bit classic hard float. Do not use
5125 t-softfp-excl for soft float.
5126
5127 2014-10-22 Joseph Myers <joseph@codesourcery.com>
5128
5129 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5130 configurations.
5131 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5132 Remove variables.
5133
5134 2014-10-22 Georg-Johann Lay <avr@gjlay.de>
5135
5136 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5137 introduced with 2014-10-21 trunk r216525.
5138
5139 2014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
5140 Vidya Praveen <vidya.praveen@atmel.com>
5141 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5142 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5143 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
5144
5145 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5146 order.
5147
5148 Updated library functions for AVRTINY arch.
5149 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5150 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5151 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5152 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5153 wsubi/wadi macors.
5154 (__mulsi3_helper): Update stack, preserve callee saved regs and
5155 argument from stack. Restore callee save registers.
5156 (__mulpsi3): Likewise.
5157 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5158 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
5159 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
5160 AVRTINY.
5161 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5162 (__do_copy_data): Added new definition for AVRTINY.
5163 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5164 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5165 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5166 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5167 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5168 macors.
5169 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
5170 AVRTINY.
5171
5172 Fix broken long multiplication on tiny arch.
5173
5174 2014-10-09 Joseph Myers <joseph@codesourcery.com>
5175
5176 * soft-fp/double.h: Update from glibc.
5177 * soft-fp/eqdf2.c: Likewise.
5178 * soft-fp/eqsf2.c: Likewise.
5179 * soft-fp/eqtf2.c: Likewise.
5180 * soft-fp/extenddftf2.c: Likewise.
5181 * soft-fp/extended.h: Likewise.
5182 * soft-fp/extendsfdf2.c: Likewise.
5183 * soft-fp/extendsftf2.c: Likewise.
5184 * soft-fp/extendxftf2.c: Likewise.
5185 * soft-fp/gedf2.c: Likewise.
5186 * soft-fp/gesf2.c: Likewise.
5187 * soft-fp/getf2.c: Likewise.
5188 * soft-fp/ledf2.c: Likewise.
5189 * soft-fp/lesf2.c: Likewise.
5190 * soft-fp/letf2.c: Likewise.
5191 * soft-fp/op-1.h: Likewise.
5192 * soft-fp/op-2.h: Likewise.
5193 * soft-fp/op-4.h: Likewise.
5194 * soft-fp/op-8.h: Likewise.
5195 * soft-fp/op-common.h: Likewise.
5196 * soft-fp/quad.h: Likewise.
5197 * soft-fp/single.h: Likewise.
5198 * soft-fp/soft-fp.h: Likewise.
5199 * soft-fp/unorddf2.c: Likewise.
5200 * soft-fp/unordsf2.c: Likewise.
5201 * soft-fp/unordtf2.c: Likewise.
5202 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5203 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5204 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5205 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5206 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5207 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5208 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5209 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5210 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5211 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5212
5213 2014-10-08 Rong Xu <xur@google.com>
5214
5215 * libgcov-util.c (read_gcda_file): Fix format.
5216 (find_match_gcov_info): Ditto.
5217 (calculate_2_entries): New.
5218 (compute_one_gcov): Ditto.
5219 (gcov_info_count_all_cold): Ditto.
5220 (gcov_info_count_all_zero): Ditto.
5221 (extract_file_basename): Ditto.
5222 (get_file_basename): Ditto.
5223 (set_flag): Ditto.
5224 (matched_gcov_info): Ditto.
5225 (calculate_overlap): Ditto.
5226 (gcov_profile_overlap): Ditto.
5227 * libgcov-driver.c (compute_summary): Make
5228 it avavilable for external calls.
5229
5230 2014-10-06 Rong Xu <xur@google.com>
5231
5232 * Makefile.in: Ditto.
5233 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5234 (gcov_sort_icall_topn_counter): Ditto.
5235 (gcov_sort_topn_counter_arrays): Ditto.
5236 (dump_one_gcov): Sort indirect_call topn counters.
5237 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5238 function.
5239 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5240 utility function.
5241 (__gcov_indirect_call_topn_profiler): New profiler function.
5242 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5243 * libgcov.h: New decls.
5244
5245 2014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5246
5247 * config.host: Remove support for score-*.
5248
5249 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5250
5251 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5252 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5253 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5254 __LIBGCC_XF_MANT_DIG__.
5255 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5256 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5257 __LIBGCC_TF_MANT_DIG__.
5258 * libgcc2.c (NOTRUNC): Define in terms of
5259 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5260 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5261
5262 2014-09-22 Joseph Myers <joseph@codesourcery.com>
5263
5264 PR target/63312
5265 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5266 New macros.
5267
5268 2014-09-22 Hans-Peter Nilsson <hp@axis.com>
5269
5270 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5271 override USE_PT_GNU_EH_FRAME.
5272 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5273 check USE_EH_FRAME_REGISTRY_ALWAYS against
5274 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5275 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5276 variable for substituted force_explicit_eh_registry.
5277 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5278 * configure.ac (explicit-exception-frame-registration):
5279 New AC_ARG_ENABLE.
5280 * configure: Regenerate.
5281
5282 2014-09-19 Olivier Hainque <hainque@adacore.com>
5283
5284 * config.host (powerpc-wrs-vxworksmils): New configuration,
5285 same as vxworksae.
5286
5287 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5288
5289 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5290
5291 2014-09-18 Joseph Myers <joseph@codesourcery.com>
5292
5293 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5294 bits not set bits as indicating trapping exceptions.
5295
5296 2014-09-17 Nathan sidwell <nathan@acm.org>
5297
5298 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5299 (LIBGCOV_DRIVER): ... here.
5300 * libgcov-driver.c (gcov_master): New.
5301 (gcov_exit): Remove from master chain.
5302 (__gcov_init): Add to master chain if version compatible. Don't
5303 clear the version.
5304 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5305 (gcov_reset_int): Clear master chain, if compatible.
5306 (gcov_dump_int): New internal interface. Dump master chain, if
5307 compatible.
5308 (gcov_dump): Alias for gcov_dump_int.
5309 * libgcov.h (struct gcov_root): Add next and prev fields.
5310 (struct gcov_master): New struct.
5311 (__gcov_master): New.
5312 (gcov_dump_int): Declare.
5313
5314 2014-09-17 Olivier Hainque <hainque@adacore.com>
5315
5316 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5317 and crtbegin.o + crtend.o to extra_parts.
5318
5319 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5320
5321 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5322 __LIBGCC_HAS_SF_MODE__.
5323 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5324 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5325 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5326 * config/libbid/bid_gcc_intrinsics.h
5327 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5328 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5329 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5330 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5331 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5332 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5333
5334 2014-09-11 Georg-Johann Lay <avr@gjlay.de>
5335
5336 PR target/63223
5337 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5338 and R24 as needed. Make work for all devices and .text locations.
5339 (__do_global_ctors, __do_global_dtors): Use word addresses.
5340 (__tablejump__, __tablejump_elpm__): Remove functions.
5341 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5342 Add _tablejump2.
5343 (XICALL, XIJMP): New macros.
5344
5345 2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5346 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5347
5348 * config.host (aarch64*): Include crtfastmath.o and
5349 t-crtfm.
5350 * config/aarch64/crtfastmath.c: New file.
5351
5352 2014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5353
5354 * config.host: Remove picochip support.
5355 * config/picochip/adddi3.S: Remove.
5356 * config/picochip/ashlsi3.S: Remove.
5357 * config/picochip/ashlsi3.c: Remove.
5358 * config/picochip/ashrsi3.S: Remove.
5359 * config/picochip/ashrsi3.c: Remove.
5360 * config/picochip/clzsi2.S: Remove.
5361 * config/picochip/cmpsi2.S: Remove.
5362 * config/picochip/divmod15.S: Remove.
5363 * config/picochip/divmodhi4.S: Remove.
5364 * config/picochip/divmodsi4.S: Remove.
5365 * config/picochip/lib1funcs.S: Remove.
5366 * config/picochip/longjmp.S: Remove.
5367 * config/picochip/lshrsi3.S: Remove.
5368 * config/picochip/lshrsi3.c: Remove.
5369 * config/picochip/parityhi2.S: Remove.
5370 * config/picochip/popcounthi2.S: Remove.
5371 * config/picochip/setjmp.S: Remove.
5372 * config/picochip/subdi3.S: Remove.
5373 * config/picochip/t-picochip: Remove.
5374 * config/picochip/ucmpsi2.S: Remove.
5375 * config/picochip/udivmodhi4.S: Remove.
5376 * config/picochip/udivmodsi4.S: Remove.
5377
5378 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5379
5380 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5381 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5382 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5383 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5384 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5385 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5386 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5387 defined and LIBGCC2_HAS_DF_MODE is defined.
5388 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5389 defined and LIBGCC2_HAS_XF_MODE is defined.
5390 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5391 defined and LIBGCC2_HAS_TF_MODE is defined.
5392
5393 2014-09-08 Joseph Myers <joseph@codesourcery.com>
5394
5395 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5396 and ROUND_TOWARDS_ZERO conditionals.
5397
5398 2014-09-07 Nathan sidwell <nathan@acm.org>
5399
5400 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5401 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5402
5403 2014-09-05 Joseph Myers <joseph@codesourcery.com>
5404
5405 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5406 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5407 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5408 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5409 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5410 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5411 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5412 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5413 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5414 (DWARF_FRAME_REGISTERS): Change all uses to
5415 __LIBGCC_DWARF_FRAME_REGISTERS__.
5416 (EH_RETURN_STACKADJ_RTX): Change all uses to
5417 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5418 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5419 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5420 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5421 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5422 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5423 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5424 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5425 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5426 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5427 __LIBGCC_STACK_POINTER_REGNUM__.
5428 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5429 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5430 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5431 to __LIBGCC_STACK_POINTER_REGNUM__.
5432 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5433 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5434 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5435 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5436 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5437 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5438 (STACK_POINTER_REGNUM): Change all uses to
5439 __LIBGCC_STACK_POINTER_REGNUM__.
5440 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5441 use to __LIBGCC_STACK_POINTER_REGNUM__.
5442 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5443 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5444 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5445 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5446 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5447 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5448 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5449 to __LIBGCC_STACK_POINTER_REGNUM__.
5450 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5451 Remove conditional definition.
5452 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5453 __LIBGCC_TEXT_SECTION_ASM_OP__.
5454 (EH_FRAME_SECTION_NAME): Change all uses to
5455 __LIBGCC_EH_FRAME_SECTION_NAME__.
5456 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5457 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5458 (CTORS_SECTION_ASM_OP): Change all uses to
5459 __LIBGCC_CTORS_SECTION_ASM_OP__.
5460 (DTORS_SECTION_ASM_OP): Change all uses to
5461 __LIBGCC_DTORS_SECTION_ASM_OP__.
5462 (JCR_SECTION_NAME): Change all uses to
5463 __LIBGCC_JCR_SECTION_NAME__.
5464 (INIT_SECTION_ASM_OP): Change all uses to
5465 __LIBGCC_INIT_SECTION_ASM_OP__.
5466 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5467 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5468 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5469 __LIBGCC_STACK_GROWS_DOWNWARD__.
5470 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5471 __LIBGCC_INIT_SECTION_ASM_OP__.
5472 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5473 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5474 (EH_FRAME_SECTION_NAME): Change all uses to
5475 __LIBGCC_EH_FRAME_SECTION_NAME__.
5476 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5477 definitions. Change all uses to
5478 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5479 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5480 __LIBGCC_STACK_GROWS_DOWNWARD__.
5481 (DWARF_FRAME_REGISTERS): Change all uses to
5482 __LIBGCC_DWARF_FRAME_REGISTERS__.
5483 (EH_RETURN_STACKADJ_RTX): Change all uses to
5484 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5485 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5486 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5487 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5488 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5489 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5490
5491 2014-09-02 Nathan sidwell <nathan@acm.org>
5492
5493 * libgcov-interface.c (STRONG_ALIAS): New.
5494 (__gcov_flush): Call __gcov_reset_int.
5495 (__gcov_reset): Strong alias for ...
5496 (__gcov_reset_ing): ... this renamed hidden version.
5497 * libgcov.h (__gcov_reset_int): New declaration.
5498
5499 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5500
5501 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5502 call from here...
5503 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5504 (__dso_handle): Define on Cygwin.
5505 * config/i386/t-cygming (crtbeginS.o): New rule.
5506 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5507
5508 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5509 declaration syntax.
5510
5511 2014-08-13 Steve Ellcey <sellcey@mips.com>
5512
5513 * crtstuff.c: Undef caddr_t.
5514
5515 2014-08-12 Steve Ellcey <sellcey@mips.com>
5516
5517 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5518
5519 2014-08-07 Nathan Sidwell <nathan@acm.org>
5520
5521 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5522 (LIBGCOV_DRIVER): ... to here.
5523 * libgcov.h (gcov_do_dump): New #define.
5524 (struct gcov_root): New.
5525 (__gcov_root): New declaration.
5526 (__gcov_dump_one): Declare.
5527 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5528 run_accounted): Delete.
5529 (gcov_compute_histogram): Add LIST argument, adjust.
5530 (compute_summary): Adjust gcov_compute_histogram call.
5531 (gcov_do_dump): Not hidden, static in libgcov.
5532 (gcov_clear): Move to interface.c.
5533 (__gcov_dump_one): New, broken out of ...
5534 (gcov_exit): ... here. Make static.
5535 (__gcov_root): New.
5536 (__gcov_init): Adjust.
5537 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5538 declarations.
5539 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5540 (gcov_clear): Moved from driver.c. Add LIST argument.
5541 (__gcov_reset): Adjust for changed interfaces.
5542 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5543
5544 2014-08-04 Rohit <rohitarulraj@freescale.com>
5545
5546 PR target/60102
5547 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
5548 based on change in SPE high register numbers and 3 HTM registers.
5549
5550 2014-08-01 Nathan Sidwell <nathan@acm.org>
5551
5552 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5553 LIBGCOV_INTERFACE): Reformat.
5554 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5555 IN_GCOV_TOOL.
5556 * libgcov-interface.c: Reformat some comments.
5557 (__gcov_flush_mx): Add declaration. Tidy up definition.
5558
5559 2014-07-31 Alan Modra <amodra@gmail.com>
5560 Peter Bergner <bergner@vnet.ibm.com>
5561
5562 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5563 (pack_ldouble): New function.
5564 (__gcc_qadd): Use it.
5565 (__gcc_qmul): Likewise.
5566 (__gcc_qdiv): Likewise.
5567 (__gcc_qneg): Likewise.
5568 (__gcc_stoq): Likewise.
5569 (__gcc_dtoq): Likewise.
5570
5571 2014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5572
5573 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5574 (__tpf_eh_return): Add original return address as second parameter.
5575 Handle cases where unwinder routines were called directly, instead
5576 of from within the C++ library.
5577
5578 2014-07-29 Nathan Sidwell <nathan@acm.org>
5579
5580 * libgcov.h: Move renaming of entry points to lib gcov specific
5581 portion.
5582 (gcov_do_dump): New rename.
5583 (gcov_rewrite): Remove inline, make HIDDEN.
5584 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5585 (gcov_exit_compute_summary): Rename to ...
5586 (compute_summary): ... here. Add LIST argument.
5587 (gcov_exit_merge_gcda): Rename to ...
5588 (merge_one_data): ... here.
5589 (gcov_exit_write_gcda): Rename to ...
5590 (write_one_data): ... here.
5591 (gcov_exit_merge_summary): Rename to ...
5592 (merge_summary): Add RUN_COUNTED argument.
5593 (gcov_exit_dump_gcov): Rename to ...
5594 (dump_one_gcov): Add RUN_COUNTED argument.
5595 (gcov_do_dump): New function, broken out of ...
5596 (gcov_exit): ... here. Call it.
5597
5598 2014-07-27 Anthony Green <green@moxielogic.com>
5599
5600 * config.host: Add moxiebox configuration suppport.
5601
5602 2014-07-27 Nathan Sidwell <nathan@acm.org>
5603
5604 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5605 (struct gcov_filename): ... here. Include buffer and max length
5606 fields.
5607 (gcov_max_filename): Remove.
5608 (gi_filename): Remove.
5609 (gcov_exit_compute_summary): Compute max filename here.
5610 (gcov_exit_merge_gcda): Add filename parm, adjust.
5611 (gcov_exit_merge_summary): Likewise.
5612 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5613 (gcov_exit): Likewise.
5614 (__gcov_init): Don't calculate max length here.
5615 * libgcov_util.c (max_filename_len): Remove.
5616 (read_gcda_file): Don't calculate max length here.
5617 (gcov_read_profile_dir): Don't propagate here.
5618 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5619 struct gcov_filename changes.
5620 (gcov_exit_open_gcda_file): Likewise.
5621
5622 2014-07-25 Nathan Sidwell <nathan@acm.org>
5623
5624 * libgcov-driver.c (set_gcov_dump_complete,
5625 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5626 functions polluting user's namespace.
5627 (gcov_exit): Set variable directly.
5628 (gcov_clear): Reset variable directly.
5629 * libgcov-interface.c (get_gcov_dymp_complete,
5630 reset_gov_dump_complete): Remove declarations.
5631 (__gcov_reset, __gcov_dump): Don't call them.
5632
5633 2014-07-24 DJ Delorie <dj@redhat.com>
5634
5635 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
5636 (__gcc_deregister_frame): Move logic to detect deregister function
5637 to ...
5638 (__gcc_register_frame): here, so it's consistent with the register
5639 logic.
5640
5641 2014-07-23 Nathan Sidwell <nathan@acm.org>
5642
5643 * libgcov-driver.c (set_gcov_list): Remove.
5644 (gcov_list): Make non-static in GCOV_TOOL.
5645 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5646
5647 2014-07-17 John David Anglin <danglin@gcc.gnu.org>
5648
5649 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5650 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5651 Don't use SYNC_LOCK_RELEASE for int type.
5652
5653 2014-07-14 Richard Biener <rguenther@suse.de>
5654
5655 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5656
5657 2014-07-11 Rong Xu <xur@google.com>
5658
5659 * libgcov-util.c (gcov_max_filename): Fix declartion.
5660
5661 2014-07-10 Rong Xu <xur@google.com>
5662
5663 Add gcov-tool: an offline gcda profile processing tool
5664 Support.
5665 * libgcov-driver.c (gcov_max_filename): Make available
5666 to gcov-tool.
5667 * libgcov-merge.c (__gcov_merge_add): Replace
5668 gcov_read_counter() with a Macro.
5669 (__gcov_merge_ior): Ditto.
5670 (__gcov_merge_time_profile): Ditto.
5671 (__gcov_merge_single): Ditto.
5672 (__gcov_merge_delta): Ditto.
5673 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5674 in the utility functions.
5675 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5676 gcov_list object link lists.
5677 (tag_function): Ditto.
5678 (tag_blocks): Ditto.
5679 (tag_arcs): Ditto.
5680 (tag_lines): Ditto.
5681 (tag_counters): Ditto.
5682 (tag_summary): Ditto.
5683 (read_gcda_finalize): Ditto.
5684 (read_gcda_file): Ditto.
5685 (ftw_read_file): Ditto.
5686 (read_profile_dir_init): Ditto.
5687 (gcov_read_profile_dir): Ditto.
5688 (gcov_read_counter_mem): Ditto.
5689 (gcov_get_merge_weight): Ditto.
5690 (merge_wrapper): A wrapper function that calls merging handler.
5691 (gcov_merge): Merge two gcov_info objects with weights.
5692 (find_match_gcov_info): Find the matched gcov_info in the list.
5693 (gcov_profile_merge): Merge two gcov_info object lists.
5694 (__gcov_add_counter_op): Process edge profile counter values.
5695 (__gcov_ior_counter_op): Process IOR profile counter values.
5696 (__gcov_delta_counter_op): Process delta profile counter values.
5697 (__gcov_single_counter_op): Process single profile counter values.
5698 (fp_scale): Callback function for float-point scaling.
5699 (int_scale): Callback function for integer fraction scaling.
5700 (gcov_profile_scale): Scaling profile counters.
5701 (gcov_profile_normalize): Normalize profile counters.
5702 * libgcov.h: Add headers and functions for gcov-tool use.
5703 (gcov_get_counter): New.
5704 (gcov_get_counter_target): Ditto.
5705 (struct gcov_info): Make the functions field mutable in gcov-tool
5706 compilation.
5707
5708 2014-06-23 Kai Tietz <ktietz@redhat.com>
5709
5710 PR libgcc/61585
5711 * unwind-seh.c (_Unwind_GetGR): Check for proper
5712 index range.
5713 (_Unwind_SetGR): Likewise.
5714
5715 2014-05-22 Nick Clifton <nickc@redhat.com>
5716
5717 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5718 -mhwmult=none.
5719
5720 2014-05-22 Teresa Johnson <tejohnson@google.com>
5721
5722 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5723 include.
5724
5725 2014-05-20 John Marino <gnugcc@marino.st>
5726
5727 * config.host (*-*-dragonfly*): New target.
5728 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5729 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5730 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5731 * config/i386/dragonfly-unwind.h: New.
5732
5733 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5734
5735 PR libgcc/60166
5736 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5737 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5738
5739 2014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5740
5741 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5742 implementation.
5743
5744 2014-05-12 Georg-Johann Lay <avr@gjlay.de>
5745
5746 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5747
5748 2014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5749
5750 PR libgcc/61097
5751 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5752 if --enable-shared.
5753
5754 2014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5755
5756 Work around for current cygwin32 build problems.
5757 * config/i386/cygming-crtbegin.c (__register_frame_info,
5758 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5759 functions only for 64-bit systems.
5760
5761 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5762
5763 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5764 (sigill_caught, sigill_hdlr): Remove.
5765
5766 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5767
5768 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5769 check.
5770 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5771 Solaris 9 single-threaded support.
5772 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5773 Solaris 9 single-threaded support. Add call_user_handler code
5774 sequences.
5775 (sparc_is_sighandler): Likewise.
5776
5777 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5778
5779 * config.host: Append t-floattodi to tmake_file depending on
5780 host_address.
5781
5782 2014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5783
5784 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
5785
5786 2014-03-10 Uros Bizjak <ubizjak@gmail.com>
5787
5788 PR libgcc/60472
5789 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
5790 variable to avoid "array subscript is above array bounds" warnings.
5791 Use __builtin_expect when checking *jcr_list for NULL.
5792
5793 2014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5794
5795 PR libgcc/59339
5796 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5797 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5798 vtv_*.o to extra_parts if enable_vtable_verify.
5799
5800 2014-03-06 Nick Clifton <nickc@redhat.com>
5801
5802 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5803 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5804
5805 2014-02-28 Joey Ye <joey.ye@arm.com>
5806
5807 PR libgcc/60166
5808 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5809 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5810 Set to zero.
5811
5812 2014-02-24 Walter Lee <walt@tilera.com>
5813
5814 * config.host: Support "tilegx*" and "tilepro*" triplets.
5815 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5816 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5817
5818 2014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5819 Chung-Lin Tang <cltang@codesourcery.com>
5820
5821 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5822 * config/nios2/crti.S: Remove .file directive.
5823 * config/nios2/crtn.S: Likewise.
5824
5825 2014-02-18 Kai Tietz <ktietz@redhat.com>
5826 Jonathan Schleifer <js@webkeks.org>
5827
5828 PR objc/56870
5829 * unwind-seh.c (_GCC_specific_handler): Pass proper
5830 value to unwind-handler.
5831
5832 2014-02-12 Joseph Myers <joseph@codesourcery.com>
5833
5834 * soft-fp/adddf3.c: Update from glibc.
5835 * soft-fp/addsf3.c: Likewise.
5836 * soft-fp/addtf3.c: Likewise.
5837 * soft-fp/divdf3.c: Likewise.
5838 * soft-fp/divsf3.c: Likewise.
5839 * soft-fp/divtf3.c: Likewise.
5840 * soft-fp/double.h: Likewise.
5841 * soft-fp/eqdf2.c: Likewise.
5842 * soft-fp/eqsf2.c: Likewise.
5843 * soft-fp/eqtf2.c: Likewise.
5844 * soft-fp/extenddftf2.c: Likewise.
5845 * soft-fp/extended.h: Likewise.
5846 * soft-fp/extendsfdf2.c: Likewise.
5847 * soft-fp/extendsftf2.c: Likewise.
5848 * soft-fp/extendxftf2.c: Likewise.
5849 * soft-fp/fixdfdi.c: Likewise.
5850 * soft-fp/fixdfsi.c: Likewise.
5851 * soft-fp/fixdfti.c: Likewise.
5852 * soft-fp/fixsfdi.c: Likewise.
5853 * soft-fp/fixsfsi.c: Likewise.
5854 * soft-fp/fixsfti.c: Likewise.
5855 * soft-fp/fixtfdi.c: Likewise.
5856 * soft-fp/fixtfsi.c: Likewise.
5857 * soft-fp/fixtfti.c: Likewise.
5858 * soft-fp/fixunsdfdi.c: Likewise.
5859 * soft-fp/fixunsdfsi.c: Likewise.
5860 * soft-fp/fixunsdfti.c: Likewise.
5861 * soft-fp/fixunssfdi.c: Likewise.
5862 * soft-fp/fixunssfsi.c: Likewise.
5863 * soft-fp/fixunssfti.c: Likewise.
5864 * soft-fp/fixunstfdi.c: Likewise.
5865 * soft-fp/fixunstfsi.c: Likewise.
5866 * soft-fp/fixunstfti.c: Likewise.
5867 * soft-fp/floatdidf.c: Likewise.
5868 * soft-fp/floatdisf.c: Likewise.
5869 * soft-fp/floatditf.c: Likewise.
5870 * soft-fp/floatsidf.c: Likewise.
5871 * soft-fp/floatsisf.c: Likewise.
5872 * soft-fp/floatsitf.c: Likewise.
5873 * soft-fp/floattidf.c: Likewise.
5874 * soft-fp/floattisf.c: Likewise.
5875 * soft-fp/floattitf.c: Likewise.
5876 * soft-fp/floatundidf.c: Likewise.
5877 * soft-fp/floatundisf.c: Likewise.
5878 * soft-fp/floatunditf.c: Likewise.
5879 * soft-fp/floatunsidf.c: Likewise.
5880 * soft-fp/floatunsisf.c: Likewise.
5881 * soft-fp/floatunsitf.c: Likewise.
5882 * soft-fp/floatuntidf.c: Likewise.
5883 * soft-fp/floatuntisf.c: Likewise.
5884 * soft-fp/floatuntitf.c: Likewise.
5885 * soft-fp/gedf2.c: Likewise.
5886 * soft-fp/gesf2.c: Likewise.
5887 * soft-fp/getf2.c: Likewise.
5888 * soft-fp/ledf2.c: Likewise.
5889 * soft-fp/lesf2.c: Likewise.
5890 * soft-fp/letf2.c: Likewise.
5891 * soft-fp/muldf3.c: Likewise.
5892 * soft-fp/mulsf3.c: Likewise.
5893 * soft-fp/multf3.c: Likewise.
5894 * soft-fp/negdf2.c: Likewise.
5895 * soft-fp/negsf2.c: Likewise.
5896 * soft-fp/negtf2.c: Likewise.
5897 * soft-fp/op-1.h: Likewise.
5898 * soft-fp/op-2.h: Likewise.
5899 * soft-fp/op-4.h: Likewise.
5900 * soft-fp/op-8.h: Likewise.
5901 * soft-fp/op-common.h: Likewise.
5902 * soft-fp/quad.h: Likewise.
5903 * soft-fp/single.h: Likewise.
5904 * soft-fp/soft-fp.h: Likewise.
5905 * soft-fp/subdf3.c: Likewise.
5906 * soft-fp/subsf3.c: Likewise.
5907 * soft-fp/subtf3.c: Likewise.
5908 * soft-fp/truncdfsf2.c: Likewise.
5909 * soft-fp/trunctfdf2.c: Likewise.
5910 * soft-fp/trunctfsf2.c: Likewise.
5911 * soft-fp/trunctfxf2.c: Likewise.
5912 * soft-fp/unorddf2.c: Likewise.
5913 * soft-fp/unordsf2.c: Likewise.
5914 * soft-fp/unordtf2.c: Likewise.
5915 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5916 macro.
5917 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5918 Likewise.
5919 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5920 Likewise.
5921 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5922 Likewise.
5923 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5924 Likewise.
5925 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5926 Likewise.
5927 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5928 Likewise.
5929 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5930 Likewise.
5931 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5932 Likewise.
5933 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5934 Likewise.
5935 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5936 Likewise.
5937 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5938 Likewise.
5939 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5940 Likewise.
5941 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5942 Likewise.
5943 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5944 Likewise.
5945 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5946 Likewise.
5947
5948 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5949
5950 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5951 cannot be represented.
5952 * config/s390/32/_fixsfdi.c: Likewise.
5953 * config/s390/32/_fixtfdi.c: Likewise.
5954 * config/s390/32/_fixunsdfdi.c: Likewise.
5955 * config/s390/32/_fixunssfdi.c: Likewise.
5956 * config/s390/32/_fixunstfdi.c: Likewise.
5957
5958 2014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5959
5960 * configure.ac (libgcc_cv_mips_hard_float): New.
5961 * configure: Regenerate.
5962 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5963 t-softfp-sfdf for hard-float targets.
5964 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5965 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5966 (softfp_truncations, softfp_exclude_libgcc2): New.
5967 * config/t-hardfp: New file.
5968 * config/t-hardfp-sfdf: Likewise.
5969 * config/hardfp.c: Likewise.
5970
5971 2014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5972
5973 * config.host: Include t-floattodi also for s390x.
5974 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5975 * config/s390/32/_fixsfdi.c: Likewise.
5976 * config/s390/32/_fixtfdi.c: Likewise.
5977 * config/s390/32/_fixunsdfdi.c: Likewise.
5978 * config/s390/32/_fixunssfdi.c: Likewise.
5979 * config/s390/32/_fixunstfdi.c: Likewise.
5980
5981 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5982
5983 PR target/59788
5984 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5985 (install-libgcc-unwind-map-forbuild): New target.
5986 (all): Depend on install-libgcc-unwind-map-forbuild.
5987 (install-libgcc-unwind-map): New target.
5988 (install): Depend on install-libgcc-unwind-map.
5989
5990 2014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5991
5992 * config/nios2/crti.S (_init): Initialize GOT pointer from
5993 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5994
5995 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5996
5997 * configure.ac: Check __mips64 when setting host_address.
5998 * configure: Regenerate.
5999 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
6000 mips/t-mips64 and t-softfp.
6001 (mips*-*-linux*): Don't add mips/t-tpbit.
6002 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
6003 (DPBIT, DPBIT_CFLAGS): Delete.
6004 * config/mips/sfp-machine.h: New file.
6005 * config/mips/t-mips64: Likewise.
6006 * config/mips/t-softfp-tf: Likewise.
6007 * config/mips/t-tpbit: Delete.
6008
6009 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
6010
6011 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
6012 as long long.
6013
6014 2014-01-25 Walter Lee <walt@tilera.com>
6015
6016 * config/tilepro/atomic.c: Include tconfig.h. Don't include
6017 config.h or system.h.
6018 (bool) Define.
6019
6020 2014-01-25 Walter Lee <walt@tilera.com>
6021
6022 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
6023 (post_atomic_barrier): Ditto.
6024 (__fetch_and_do): New macro.
6025 (__atomic_fetch_and_do): Use __fetch_and_do.
6026 (__sync_fetch_and_do): New macro.
6027 (__sync_fetch_and_add_4): New function.
6028 (__sync_fetch_and_sub_4): New function.
6029 (__sync_fetch_and_or_4): New function.
6030 (__sync_fetch_and_and_4): New function.
6031 (__sync_fetch_and_xor_4): New function.
6032 (__sync_fetch_and_nand_4): New function.
6033 (__sync_fetch_and_add_8): New function.
6034 (__sync_fetch_and_sub_8): New function.
6035 (__sync_fetch_and_or_8): New function.
6036 (__sync_fetch_and_and_8): New function.
6037 (__sync_fetch_and_xor_8): New function.
6038 (__sync_fetch_and_nand_8): New function.
6039 (__do_and_fetch): New macro.
6040 (__atomic_do_and_fetch): Use __do_and_fetch.
6041 (__sync_do_and_fetch): New macro.
6042 (__sync_add_and_fetch_4): New function.
6043 (__sync_sub_and_fetch_4): New function.
6044 (__sync_or_and_fetch_4): New function.
6045 (__sync_and_and_fetch_4): New function.
6046 (__sync_xor_and_fetch_4): New function.
6047 (__sync_nand_and_fetch_4): New function.
6048 (__sync_add_and_fetch_8): New function.
6049 (__sync_sub_and_fetch_8): New function.
6050 (__sync_or_and_fetch_8): New function.
6051 (__sync_and_and_fetch_8): New function.
6052 (__sync_xor_and_fetch_8): New function.
6053 (__sync_nand_and_fetch_8): New function.
6054 (__sync_exchange_methods): New macro.
6055 (__sync_val_compare_and_swap_4): New function.
6056 (__sync_bool_compare_and_swap_4): New function.
6057 (__sync_lock_test_and_test_4): New function.
6058 (__sync_val_compare_and_swap_8): New function.
6059 (__sync_bool_compare_and_swap_8): New function.
6060 (__sync_lock_test_and_test_8): New function.
6061 (__subword_cmpxchg_body): New macro.
6062 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
6063 (__atomic_compare_exchange_2): Ditto.
6064 (__sync_subword_cmpxchg): New macro.
6065 (__sync_val_compare_and_swap_1): New function.
6066 (__sync_bool_compare_and_swap_1): New function.
6067 (__sync_val_compare_and_swap_2): New function.
6068 (__sync_bool_compare_and_swap_2): New function.
6069 (__atomic_subword): Rename to ...
6070 (__subword): ... New name.
6071 (__atomic_subword_fetch): Use __subword.
6072 (__sync_subword_fetch): New macro.
6073 (__sync_fetch_and_add_1): New function.
6074 (__sync_fetch_and_sub_1): New function.
6075 (__sync_fetch_and_or_1): New function.
6076 (__sync_fetch_and_and_1): New function.
6077 (__sync_fetch_and_xor_1): New function.
6078 (__sync_fetch_and_nand_1): New function.
6079 (__sync_fetch_and_add_2): New function.
6080 (__sync_fetch_and_sub_2): New function.
6081 (__sync_fetch_and_or_2): New function.
6082 (__sync_fetch_and_and_2): New function.
6083 (__sync_fetch_and_xor_2): New function.
6084 (__sync_fetch_and_nand_2): New function.
6085 (__sync_add_and_fetch_1): New function.
6086 (__sync_sub_and_fetch_1): New function.
6087 (__sync_or_and_fetch_1): New function.
6088 (__sync_and_and_fetch_1): New function.
6089 (__sync_xor_and_fetch_1): New function.
6090 (__sync_nand_and_fetch_1): New function.
6091 (__sync_add_and_fetch_2): New function.
6092 (__sync_sub_and_fetch_2): New function.
6093 (__sync_or_and_fetch_2): New function.
6094 (__sync_and_and_fetch_2): New function.
6095 (__sync_xor_and_fetch_2): New function.
6096 (__sync_nand_and_fetch_2): New function.
6097 (__atomic_subword_lock): Use __subword.
6098 (__sync_subword_lock): New macro.
6099 (__sync_lock_test_and_set_1): New function.
6100 (__sync_lock_test_and_set_2): New function.
6101
6102 2014-01-25 Walter Lee <walt@tilera.com>
6103
6104 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6105 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6106 (__atomic_subword): Ditto.
6107
6108 2014-01-25 Walter Lee <walt@tilera.com>
6109
6110 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6111 a prefix op argument.
6112 (__atomic_nand_fetch_4): Add prefix op.
6113 (__atomic_nand_fetch_8): Ditto.
6114
6115 2014-01-21 Baruch Siach <barch@tkos.co.il>
6116
6117 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6118
6119 2014-01-09 Rong Xu <xur@google.com>
6120
6121 * libgcov-driver.c (this_prg): make it local to save
6122 bss space.
6123 (gcov_exit_compute_summary): Ditto.
6124 (gcov_exit_merge_gcda): Ditto.
6125 (gcov_exit_merge_summary): Ditto.
6126 (gcov_exit_dump_gcov): Ditto.
6127
6128 2014-01-08 Rong Xu <xur@google.com>
6129
6130 * libgcov-driver.c: Use libgcov.h.
6131 (buffer_fn_data): Use xmalloc instead of malloc.
6132 (gcov_exit_merge_gcda): Ditto.
6133 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6134 * libgcov.h: New common header files for libgcov-*.h.
6135 * libgcov-interface.c: Use libgcov.h
6136 * libgcov-merge.c: Ditto.
6137 * libgcov-profiler.c: Ditto.
6138 * Makefile.in: Add dependence to libgcov.h
6139
6140 2014-01-02 Joseph Myers <joseph@codesourcery.com>
6141
6142 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6143 case of small numerator and finite nonzero result.
6144
6145 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6146
6147 Update copyright years
6148
6149 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6150
6151 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6152 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6153 config/arc/dp-hack.h, config/arc/fp-hack.h,
6154 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6155 config/arc/ieee-754/arc600-dsp/divdf3.S,
6156 config/arc/ieee-754/arc600-dsp/divsf3.S,
6157 config/arc/ieee-754/arc600-dsp/muldf3.S,
6158 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6159 config/arc/ieee-754/arc600-mul64/divdf3.S,
6160 config/arc/ieee-754/arc600-mul64/divsf3.S,
6161 config/arc/ieee-754/arc600-mul64/muldf3.S,
6162 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6163 config/arc/ieee-754/arc600/divsf3.S,
6164 config/arc/ieee-754/arc600/mulsf3.S,
6165 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6166 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6167 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6168 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6169 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6170 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6171 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6172 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6173 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6174 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6175 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6176 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6177 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6178 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6179 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6180 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6181 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6182 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6183 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6184 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6185 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6186 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6187 vtv_start_preinit.c: Use the standard form for the copyright notice.
6188
6189 2013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6190 Chung-Lin Tang <cltang@codesourcery.com>
6191 Based on patches from Altera Corporation
6192
6193 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6194 * config/nios2/lib2-nios2.h: New file.
6195 * config/nios2/lib2-divmod-hi.c: New file.
6196 * config/nios2/linux-unwind.h: New file.
6197 * config/nios2/lib2-divmod.c: New file.
6198 * config/nios2/linux-atomic.c: New file.
6199 * config/nios2/t-nios2: New file.
6200 * config/nios2/crti.asm: New file.
6201 * config/nios2/t-linux: New file.
6202 * config/nios2/lib2-divtable.c: New file.
6203 * config/nios2/lib2-mul.c: New file.
6204 * config/nios2/tramp.c: New file.
6205 * config/nios2/crtn.asm: New file.
6206
6207 2013-12-26 Uros Bizjak <ubizjak@gmail.com>
6208
6209 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6210 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6211 from cpuid.h to check vendor signatures.
6212
6213 2013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6214
6215 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
6216 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6217 (get_amd_cpu): Likewise.
6218
6219 2013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6220
6221 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6222 Haswell.
6223
6224 2013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6225 H.J. Lu <hongjiu.lu@intel.com>
6226
6227 PR target/59422
6228 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
6229 and AMD_JAGUAR.
6230 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6231 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6232 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6233 FEATURE_XOP and FEATURE_FMA.
6234 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6235 AMDFAM15H_BDVER3.
6236 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
6237 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
6238 FEATURE_FMA4 and FEATURE_XOP.
6239
6240 2013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6241
6242 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6243 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6244 (get_intel_cpu): Updated.
6245
6246 2013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6247
6248 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6249
6250 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
6251
6252 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
6253 instructions when __SSE_MATH__ is defined.
6254
6255 2013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6256
6257 * config.host (microblaze-*-rtems*): New.
6258
6259 2013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6260
6261 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6262 architectures that do not have hardware divide instruction.
6263 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6264
6265 2013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6266
6267 * longlong.h: Delete (moved to include/).
6268
6269 2013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6270
6271 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6272 of normal number and qNaN to not raise an inexact exception.
6273
6274 2013-11-28 Uros Bizjak <ubizjak@gmail.com>
6275
6276 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6277
6278 2013-11-28 Matthew Leach <matthew.leach@arm.com>
6279
6280 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6281 for correct opcodes on BE.
6282
6283 2013-11-27 Uros Bizjak <ubizjak@gmail.com>
6284
6285 * soft-fp/op-4.h: Update from glibc.
6286
6287 2013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6288
6289 * libgcc2.c (__udivmoddi4): Define new implementation when
6290 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6291 divide instructions.
6292
6293 2013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6294
6295 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6296
6297 2013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6298
6299 * config/t-softfp (soft-fp-objects-base): New variable.
6300 (soft-fp-objects): Use it.
6301
6302 2013-11-23 David Edelson <dje.gcc@gmail.com>
6303 Andrew Dixie <andrewd@gentrack.com>
6304
6305 PR target/33704
6306 * config/rs6000/aixinitfini.c: New file.
6307 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6308 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6309 symbols.
6310
6311 2013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6312
6313 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
6314
6315 2013-11-18 Jan Hubicka <jh@suse.cz>
6316
6317 * libgcov-driver.c (run_accounted): Make global level static.
6318 (gcov_exit_merge_summary): Silence warning; do not clear
6319 run_accounted here.
6320 (gcov_exit): Clear it here.
6321
6322 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6323 run_accounted.
6324
6325 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6326 (all_prg, crc32): Remove static vars.
6327 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6328 all_prg.
6329 (gcov_exit_merge_gcda): Add crc32 parameter.
6330 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6331 do not account run if it was already accounted.
6332 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6333 (gcov_exit): Initialize all_prg; update.
6334
6335 2013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6336
6337 * configure: Regenerate.
6338
6339 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6340 Alan Modra <amodra@gmail.com>
6341
6342 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6343 (frob_update_context): Use it.
6344
6345 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6346 Alan Modra <amodra@gmail.com>
6347
6348 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6349 (trampoline_initial): Provide ELFv2 variant.
6350 (__trampoline_setup): Likewise.
6351
6352 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6353 check for AIX indirect function call sequence if _CALL_ELF == 2.
6354
6355 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6356 Alan Modra <amodra@gmail.com>
6357
6358 * config/rs6000/linux-unwind.h (get_regs): Do not support
6359 old kernel versions if _CALL_ELF == 2.
6360 (frob_update_context): Do not support PLT stub variants only
6361 generated by old linkers if _CALL_ELF == 2.
6362
6363 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6364 Alan Modra <amodra@gmail.com>
6365
6366 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6367 location of CR save area for 64-bit little-endian systems.
6368
6369 2013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6370
6371 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6372 in tmake_file.
6373 * config/arm/t-vxworks: Delete.
6374
6375 2013-11-10 Kai Tietz <ktietz@redhat.com>
6376
6377 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6378 Increment load-count on use of LIBGCC_SONAME DLL.
6379 (hmod_libgcc): New static variable to hold handle of
6380 LIBGCC_SONAME DLL.
6381 (__gcc_deregister_frame): Decrement load-count of
6382 LIBGCC_SONAME DLL.
6383
6384 2013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6385
6386 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6387 availability.
6388 * configure: Regenerate
6389
6390 2013-11-07 Uros Bizjak <ubizjak@gmail.com>
6391
6392 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6393 FP_EX_DENORM. Store result to volatile location after SSE division
6394 to close interrupt window. Remove unneeded fwait after x87
6395 division since interrupt window will be closed by emitted fstp.
6396 Rewrite FP_EX_INEXACT handling.
6397
6398 2013-11-06 Joseph Myers <joseph@codesourcery.com>
6399
6400 * soft-fp/README: Update.
6401 * soft-fp/adddf3.c: Update from glibc.
6402 * soft-fp/addsf3.c: Likewise.
6403 * soft-fp/addtf3.c: Likewise.
6404 * soft-fp/divdf3.c: Likewise.
6405 * soft-fp/divsf3.c: Likewise.
6406 * soft-fp/divtf3.c: Likewise.
6407 * soft-fp/double.h: Likewise.
6408 * soft-fp/eqdf2.c: Likewise.
6409 * soft-fp/eqsf2.c: Likewise.
6410 * soft-fp/eqtf2.c: Likewise.
6411 * soft-fp/extenddftf2.c: Likewise.
6412 * soft-fp/extended.h: Likewise.
6413 * soft-fp/extendsfdf2.c: Likewise.
6414 * soft-fp/extendsftf2.c: Likewise.
6415 * soft-fp/extendxftf2.c: Likewise.
6416 * soft-fp/fixdfdi.c: Likewise.
6417 * soft-fp/fixdfsi.c: Likewise.
6418 * soft-fp/fixdfti.c: Likewise.
6419 * soft-fp/fixsfdi.c: Likewise.
6420 * soft-fp/fixsfsi.c: Likewise.
6421 * soft-fp/fixsfti.c: Likewise.
6422 * soft-fp/fixtfdi.c: Likewise.
6423 * soft-fp/fixtfsi.c: Likewise.
6424 * soft-fp/fixtfti.c: Likewise.
6425 * soft-fp/fixunsdfdi.c: Likewise.
6426 * soft-fp/fixunsdfsi.c: Likewise.
6427 * soft-fp/fixunsdfti.c: Likewise.
6428 * soft-fp/fixunssfdi.c: Likewise.
6429 * soft-fp/fixunssfsi.c: Likewise.
6430 * soft-fp/fixunssfti.c: Likewise.
6431 * soft-fp/fixunstfdi.c: Likewise.
6432 * soft-fp/fixunstfsi.c: Likewise.
6433 * soft-fp/fixunstfti.c: Likewise.
6434 * soft-fp/floatdidf.c: Likewise.
6435 * soft-fp/floatdisf.c: Likewise.
6436 * soft-fp/floatditf.c: Likewise.
6437 * soft-fp/floatsidf.c: Likewise.
6438 * soft-fp/floatsisf.c: Likewise.
6439 * soft-fp/floatsitf.c: Likewise.
6440 * soft-fp/floattidf.c: Likewise.
6441 * soft-fp/floattisf.c: Likewise.
6442 * soft-fp/floattitf.c: Likewise.
6443 * soft-fp/floatundidf.c: Likewise.
6444 * soft-fp/floatundisf.c: Likewise.
6445 * soft-fp/floatunditf.c: Likewise.
6446 * soft-fp/floatunsidf.c: Likewise.
6447 * soft-fp/floatunsisf.c: Likewise.
6448 * soft-fp/floatunsitf.c: Likewise.
6449 * soft-fp/floatuntidf.c: Likewise.
6450 * soft-fp/floatuntisf.c: Likewise.
6451 * soft-fp/floatuntitf.c: Likewise.
6452 * soft-fp/gedf2.c: Likewise.
6453 * soft-fp/gesf2.c: Likewise.
6454 * soft-fp/getf2.c: Likewise.
6455 * soft-fp/ledf2.c: Likewise.
6456 * soft-fp/lesf2.c: Likewise.
6457 * soft-fp/letf2.c: Likewise.
6458 * soft-fp/muldf3.c: Likewise.
6459 * soft-fp/mulsf3.c: Likewise.
6460 * soft-fp/multf3.c: Likewise.
6461 * soft-fp/negdf2.c: Likewise.
6462 * soft-fp/negsf2.c: Likewise.
6463 * soft-fp/negtf2.c: Likewise.
6464 * soft-fp/op-1.h: Likewise.
6465 * soft-fp/op-2.h: Likewise.
6466 * soft-fp/op-4.h: Likewise.
6467 * soft-fp/op-8.h: Likewise.
6468 * soft-fp/op-common.h: Likewise.
6469 * soft-fp/quad.h: Likewise.
6470 * soft-fp/single.h: Likewise.
6471 * soft-fp/soft-fp.h: Likewise.
6472 * soft-fp/subdf3.c: Likewise.
6473 * soft-fp/subsf3.c: Likewise.
6474 * soft-fp/subtf3.c: Likewise.
6475 * soft-fp/truncdfsf2.c: Likewise.
6476 * soft-fp/trunctfdf2.c: Likewise.
6477 * soft-fp/trunctfsf2.c: Likewise.
6478 * soft-fp/trunctfxf2.c: Likewise.
6479 * soft-fp/unorddf2.c: Likewise.
6480 * soft-fp/unordsf2.c: Likewise.
6481 * soft-fp/unordtf2.c: Likewise.
6482
6483 2013-11-05 Uros Bizjak <ubizjak@gmail.com>
6484
6485 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6486 (_FP_MUL_MEAT_D): Ditto.
6487 (_FP_DIV_MEAT_S): Ditto.
6488 (_FP_DIV_MEAT_D): Ditto.
6489 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6490 t-softfp-sfdf and t-softfp to tmake_file.
6491
6492 2013-11-03 Uros Bizjak <ubizjak@gmail.com>
6493
6494 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6495 * config/i386/crtprec.c: Ditto.
6496
6497 2013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6498 Shiva Chen <shiva0217@gmail.com>
6499
6500 * config.host (nds32*-elf*): Add nds32 target.
6501 * config/nds32 : New directory and files.
6502
6503 2013-10-16 Hans-Peter Nilsson <hp@axis.com>
6504
6505 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6506 * config.host (cpu_type) <Setting default>: Add entry for
6507 crisv32-*-*.
6508 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6509 <crisv32-*-linux*>: Adjust.
6510 * longlong.h: Wrap the whole CRIS section in a single
6511 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6512 and sub_ddmmss.
6513 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6514 defined.
6515 [__CRIS__] (__umulsidi3): Define.
6516 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6517 * config/cris/sfp-machine.h: New file.
6518 * config/cris/umulsidi3.S: New file.
6519 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6520 * config/cris/arit.c (SIGNMULT): New macro.
6521 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6522 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6523 saving 3 out of originally 33 cycles from the fastest
6524 path, 3 out of 54 from the medium path and one from the longest
6525 path. Improve comments.
6526
6527 2013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6528
6529 * sync.c: Remove static aliases and define each function directly
6530 under its real name.
6531
6532 2013-10-02 John David Anglin <danglin@gcc.gnu.org>
6533
6534 * config.host (hppa*64*-*-linux*): Define extra_parts.
6535 (hppa*-*-linux*): Likewise.
6536
6537 2013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6538
6539 * config/arc/crtgend.S: Add 2013 to Copyright years.
6540 * config/arc/gmon/atomic.h: Likewise.
6541 * config/arc/gmon/auxreg.h: Likewise.
6542 * config/arc/gmon/sys/gmon_out.h: Likewise.
6543 * config/arc/gmon/sys/gmon.h: Likewise.
6544 * config/arc/gmon/prof-freq.c: Likewise.
6545 * config/arc/gmon/mcount.c: Likewise.
6546 * config/arc/gmon/prof-freq-stub.S: Likewise.
6547 * config/arc/gmon/gmon.c: Likewise.
6548 * config/arc/gmon/machine-gmon.h: Likewise.
6549 * config/arc/gmon/profil.S: Likewise.
6550 * config/arc/gmon/dcache_linesz.S: Likewise.
6551 * config/arc/crtg.S: Likewise.
6552 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6553 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6554 * config/arc/ieee-754/adddf3.S: Likewise.
6555 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6556 * config/arc/ieee-754/fixsfsi.S: Likewise.
6557 * config/arc/ieee-754/gtsf2.S: Likewise.
6558 * config/arc/ieee-754/floatsisf.S: Likewise.
6559 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6560 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6561 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6562 * config/arc/ieee-754/fixdfsi.S: Likewise.
6563 * config/arc/ieee-754/addsf3.S: Likewise.
6564 * config/arc/ieee-754/gesf2.S: Likewise.
6565 * config/arc/ieee-754/floatsidf.S: Likewise.
6566 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6567 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6568 * config/arc/ieee-754/gtdf2.S: Likewise.
6569 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6570 * config/arc/ieee-754/uneqdf2.S: Likewise.
6571 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6572 * config/arc/ieee-754/uneqsf2.S: Likewise.
6573 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6574 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6575 * config/arc/ieee-754/eqdf2.S: Likewise.
6576 * config/arc/ieee-754/ordsf2.S: Likewise.
6577 * config/arc/ieee-754/divsf3.S: Likewise.
6578 * config/arc/ieee-754/divdf3.S: Likewise.
6579 * config/arc/ieee-754/floatunsidf.S: Likewise.
6580 * config/arc/ieee-754/orddf2.S: Likewise.
6581 * config/arc/ieee-754/eqsf2.S: Likewise.
6582 * config/arc/ieee-754/gedf2.S: Likewise.
6583 * config/arc/crtn.S: Likewise.
6584 * config/arc/crti.S: Likewise.
6585 * config/arc/t-arc700-uClibc: Likewise.
6586 * config/arc/asm.h: Likewise.
6587 * config/arc/libgcc-excl.ver: Likewise.
6588 * config/arc/t-arc-newlib: Likewise.
6589 * config/arc/divtab-arc700.c: Likewise.
6590 * config/arc/initfini.c: Likewise.
6591 * config/arc/fp-hack.h: Likewise.
6592
6593 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6594 Diego Novillo <dnovillo@google.com>
6595
6596 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
6597 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6598 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6599 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
6600
6601 2013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6602 Brendan Kehoe <brendan@zen.org>
6603 Simon Cook <simon.cook@embecosm.com>
6604
6605 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6606 * config/arc: New directory.
6607 * longlong.h [__arc__] (umul_ppmm): Remove.
6608 [__arc__] (__umulsidi3): Define.
6609 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6610 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6611
6612 2013-09-17 Jacek Caban <jacek@codeweavers.com>
6613
6614 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6615 CreateSemaphoreA.
6616 * config/i386/gthr-win32.h: Likewise.
6617
6618 2013-09-16 DJ Delorie <dj@redhat.com>
6619
6620 * config/rl78/vregs.h: Add G10 register definitions.
6621 * config/rl78/lib2mul.c: Enable for RL78/G10.
6622 * config/rl78/lib2div.c: Likewise.
6623 * config/rl78/lshrsi3.S: Use vregs.h.
6624 * config/rl78/cmpsi2.S: Likewise.
6625 * config/rl78/trampoline.S: Likewise.
6626 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6627
6628 2013-09-14 DJ Delorie <dj@redhat.com>
6629 Nick Clifton <nickc@redhat.com>
6630
6631 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6632 * config/rl78/vregs.h: New.
6633 * config/rl78/signbit.S: New file. Implements signbit function.
6634 * config/rl78/divmodsi.S: New.
6635 * config/rl78/divmodhi.S: New.
6636 * config/rl78/divmodqi.S: New.
6637 * config/rl78/t-rl78: Build them here...
6638 * config/rl78/lib2div.c: ...but not here.
6639
6640 2013-09-12 DJ Delorie <dj@redhat.com>
6641
6642 * config.host (msp*-*-elf): New.
6643 * config/msp430/: New port.
6644
6645 2013-08-18 Iain Sandoe <iain@codesourcery.com>
6646
6647 PR gcov-profile/58127
6648 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6649 __thread var for emulated TLS.
6650 (__gcov_indirect_call_counters): Likewise.
6651
6652 2013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
6653 Catherine Moore <clm@codesourcery.com>
6654 Richard Sandiford <rdsandiford@googlemail.com>
6655
6656 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6657 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6658 (CALL_STUB_NO_RET): Likewise.
6659 (CALL_STUB_RET): Likewise.
6660 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6661 __mips16_ret call/return stub symbols.
6662 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6663 to tmake_file.
6664
6665 2013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6666
6667 * config.host <mips*-*-linux*>: Remove a stray comment.
6668
6669 2013-08-10 Jan Hubicka <jh@suse.cz>
6670
6671 Work around binutils PR14342
6672 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6673 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6674 (L_gcov_indirect_call_profiler_v2): New.
6675
6676 2013-08-06 Jan Hubicka <jh@suse.cz>
6677
6678 * libgcov.c (__gcov_indirect_call_callee,
6679 __gcov_indirect_call_counters): New global vars.
6680 (__gcov_indirect_call_profiler): replace by ...
6681 (__gcov_indirect_call_profiler_v2) ... this one.
6682
6683 2013-08-06 Caroline Tice <cmtice@google.com>
6684
6685 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
6686 vtv_start_preinit.o and vtv_end_preinit.o.
6687 * configure.ac: Add code to check/set enable_vtable_verify.
6688 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
6689 true.
6690 * vtv_start_preinit.c: New file.
6691 * vtv_end_preinit.c: New file.
6692 * vtv_start.c: New file.
6693 * vtv_end.c: New file.
6694 * configure: Regenerated.
6695
6696 2013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6697
6698 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6699 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6700 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6701 GPL-3.0-with-GCC-exception.
6702
6703 2013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6704
6705 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6706 ISA and up.
6707
6708 2013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6709
6710 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6711 mapping for FPRs when creating the fallback framestate.
6712
6713 2013-07-19 Georg-Johann Lay <avr@gjlay.de>
6714
6715 PR target/57516
6716 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6717 (__round_s2_const, __round_u2_const)
6718 (__round_s4_const, __round_u4_const, __round_x8):
6719 Saturate result if addition result cannot be represented.
6720
6721 2013-07-15 Matthias Klose <doko@ubuntu.com>
6722
6723 * libgcc2.c: Don't include <limits.h>.
6724
6725 2013-07-09 Janis Johnson <janisjo@codesourcery.com>
6726
6727 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6728
6729 2013-07-06 Jakub Jelinek <jakub@redhat.com>
6730
6731 PR target/29776
6732 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6733
6734 2013-06-28 Jakub Jelinek <jakub@redhat.com>
6735
6736 PR middle-end/36041
6737 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6738 Define.
6739 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6740 instead of table lookups.
6741 (__popcountDI2): Likewise.
6742
6743 2013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6744
6745 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6746 correctly.
6747
6748 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6749
6750 PR other/53317
6751 * soft-fp/adddf3.c: Update from glibc.
6752 * soft-fp/addsf3.c: Likewise.
6753 * soft-fp/addtf3.c: Likewise.
6754 * soft-fp/divdf3.c: Likewise.
6755 * soft-fp/divsf3.c: Likewise.
6756 * soft-fp/divtf3.c: Likewise.
6757 * soft-fp/double.h: Likewise.
6758 * soft-fp/eqdf2.c: Likewise.
6759 * soft-fp/eqsf2.c: Likewise.
6760 * soft-fp/eqtf2.c: Likewise.
6761 * soft-fp/extenddftf2.c: Likewise.
6762 * soft-fp/extended.h: Likewise.
6763 * soft-fp/extendsfdf2.c: Likewise.
6764 * soft-fp/extendsftf2.c: Likewise.
6765 * soft-fp/fixdfdi.c: Likewise.
6766 * soft-fp/fixdfsi.c: Likewise.
6767 * soft-fp/fixsfdi.c: Likewise.
6768 * soft-fp/fixsfsi.c: Likewise.
6769 * soft-fp/fixtfdi.c: Likewise.
6770 * soft-fp/fixtfsi.c: Likewise.
6771 * soft-fp/fixunsdfdi.c: Likewise.
6772 * soft-fp/fixunsdfsi.c: Likewise.
6773 * soft-fp/fixunssfdi.c: Likewise.
6774 * soft-fp/fixunssfsi.c: Likewise.
6775 * soft-fp/fixunstfdi.c: Likewise.
6776 * soft-fp/fixunstfsi.c: Likewise.
6777 * soft-fp/floatdidf.c: Likewise.
6778 * soft-fp/floatdisf.c: Likewise.
6779 * soft-fp/floatditf.c: Likewise.
6780 * soft-fp/floatsidf.c: Likewise.
6781 * soft-fp/floatsisf.c: Likewise.
6782 * soft-fp/floatsitf.c: Likewise.
6783 * soft-fp/floatundidf.c: Likewise.
6784 * soft-fp/floatundisf.c: Likewise.
6785 * soft-fp/floatunditf.c: Likewise.
6786 * soft-fp/floatunsidf.c: Likewise.
6787 * soft-fp/floatunsisf.c: Likewise.
6788 * soft-fp/floatunsitf.c: Likewise.
6789 * soft-fp/gedf2.c: Likewise.
6790 * soft-fp/gesf2.c: Likewise.
6791 * soft-fp/getf2.c: Likewise.
6792 * soft-fp/ledf2.c: Likewise.
6793 * soft-fp/lesf2.c: Likewise.
6794 * soft-fp/letf2.c: Likewise.
6795 * soft-fp/muldf3.c: Likewise.
6796 * soft-fp/mulsf3.c: Likewise.
6797 * soft-fp/multf3.c: Likewise.
6798 * soft-fp/negdf2.c: Likewise.
6799 * soft-fp/negsf2.c: Likewise.
6800 * soft-fp/negtf2.c: Likewise.
6801 * soft-fp/op-1.h: Likewise.
6802 * soft-fp/op-2.h: Likewise.
6803 * soft-fp/op-4.h: Likewise.
6804 * soft-fp/op-8.h: Likewise.
6805 * soft-fp/op-common.h: Likewise.
6806 * soft-fp/quad.h: Likewise.
6807 * soft-fp/single.h: Likewise.
6808 * soft-fp/soft-fp.h: Likewise.
6809 * soft-fp/subdf3.c: Likewise.
6810 * soft-fp/subsf3.c: Likewise.
6811 * soft-fp/subtf3.c: Likewise.
6812 * soft-fp/truncdfsf2.c: Likewise.
6813 * soft-fp/trunctfdf2.c: Likewise.
6814 * soft-fp/trunctfsf2.c: Likewise.
6815 * soft-fp/unorddf2.c: Likewise.
6816 * soft-fp/unordsf2.c: Likewise.
6817 * soft-fp/unordtf2.c: Likewise.
6818 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6819 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6820 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6821 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6822 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6823 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6824 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6825 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6826 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6827 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6828 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6829 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6830
6831 2013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6832
6833 * config/mips/lib2funcs.c: New file.
6834 * config/mips/t-mips (LIB2ADD_ST): Add it.
6835
6836 2013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6837
6838 PR target/6526
6839 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6840 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6841
6842 2013-06-08 Walter Lee <walt@tilera.com>
6843
6844 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6845 Replace int64_t with long long. Add __extension__ where
6846 appropriate.
6847 * config/tilepro/atomic.c: Include config.h.
6848
6849 2013-06-06 Douglas B Rupp <rupp@adacore.com>
6850
6851 * config.host (arm-wrs-vxworks): Configure with other soft float.
6852
6853 2013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6854
6855 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6856 (mips64r5900el-*-elf*): New configurations.
6857
6858 2013-06-04 Alan Modra <amodra@gmail.com>
6859
6860 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6861
6862 2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6863
6864 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6865
6866 2013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6867
6868 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6869 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6870 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6871
6872 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6873
6874 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6875 (powerpc-wrs-vxworks): Likewise.
6876
6877 2013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6878
6879 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6880 signal frames as well.
6881 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6882 STACK_BIAS to the CFA offset.
6883
6884 2013-05-17 Richard Henderson <rth@redhat.com>
6885
6886 PR target/49146
6887 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6888 (execute_cfa_program): Use it when storing to fs->regs.
6889
6890 2013-05-08 Kai Tietz <ktietz@redhat.com>
6891
6892 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6893 (__deregister_frame_info): Likewise.
6894
6895 2013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6896
6897 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6898 NaN's payload.
6899
6900 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6901
6902 2013-04-25 Alan Modra <amodra@gmail.com>
6903
6904 * config.host: Match little-endian powerpc-linux.
6905
6906 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6907
6908 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6909 as 'unsigned long long' instead of 'unsigned long'.
6910 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6911 'signed long'.
6912
6913 2013-04-10 Julian Brown <julian@codesourcery.com>
6914
6915 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6916 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6917 unsigned char/unsigned short.
6918 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6919
6920 2013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6921
6922 PR other/55274
6923 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6924
6925 2013-04-04 Meador Inge <meadori@codesourcery.com>
6926
6927 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6928 computing the location of the link register.
6929 (aeabi_uldivmod): Ditto.
6930
6931 2013-03-27 Kai Tietz <ktietz@redhat.com>
6932
6933 * config.host: Add support for cygwin x64 target.
6934 * configure: Regenerated.
6935
6936 2013-03-26 Walter Lee <walt@tilera.com>
6937
6938 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6939 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6940
6941 2013-03-25 Kai Tietz <ktietz@redhat.com>
6942
6943 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6944
6945 2013-03-20 Robert Mason <rbmj@verizon.net>
6946
6947 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6948 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6949 (__gthread_leave_tsd_dtor_context): Add prototypes.
6950 (tls_delete_hook): Update.
6951
6952 2013-03-20 Catherine Moore <clm@codesourcery.com>
6953 Joseph Myers <joseph@codesourcery.com>
6954 Chao-ying Fu <fu@mips.com>
6955
6956 * config/mips/mips16.S: Don't build for microMIPS.
6957 * config/mips/linux-unwind.h: Handle microMIPS frame.
6958 * config/mips/crtn.S (fini, init): New labels.
6959
6960 2013-03-14 Jakub Jelinek <jakub@redhat.com>
6961
6962 PR tree-optimization/53265
6963 * unwind-dw2.c (execute_cfa_program): Avoid
6964 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6965 on targets with DWARF_FRAME_REGISTERS < 32.
6966
6967 2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6968
6969 PR target/49880
6970 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6971 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6972
6973 2013-03-07 Sriraman Tallam <tmsriram@google.com>
6974
6975 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6976 sandybridge processors.
6977
6978 2013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6979
6980 PR target/56529
6981 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6982 inclusion list.
6983
6984 2013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6985
6986 * config/microblaze/crti.S: Setup stack protection at entry
6987
6988 2013-03-04 Georg-Johann Lay <avr@gjlay.de>
6989
6990 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6991 (__rotldi3): Shift bytewise if applicable.
6992
6993 2013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6994
6995 * config/aarch64/sync-cache.c
6996 (__aarch64_sync_cache_range): Silence warnings.
6997
6998 2013-02-25 Catherine Moore <clm@codesourcery.com>
6999
7000 Revert:
7001 2013-02-24 Catherine Moore <clm@codesourcery.com>
7002 Joseph Myers <joseph@codesourcery.com>
7003 Chao-ying Fu <fu@mips.com>
7004
7005 * config/mips/mips16.S: Don't build for microMIPS.
7006 * config/mips/linux-unwind.h: Handle microMIPS frame.
7007 * config/mips/crtn.S (fini, init): New labels.
7008
7009 2013-02-24 Catherine Moore <clm@codesourcery.com>
7010 Joseph Myers <joseph@codesourcery.com>
7011 Chao-ying Fu <fu@mips.com>
7012
7013 * config/mips/mips16.S: Don't build for microMIPS.
7014 * config/mips/linux-unwind.h: Handle microMIPS frame.
7015 * config/mips/crtn.S (fini, init): New labels.
7016
7017 2012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7018 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7019 as dividend.
7020
7021 2013-02-16 Alan Modra <amodra@gmail.com>
7022
7023 PR target/55431
7024 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
7025 (ppc_fallback_frame_state): Always set up save locations for fp
7026 and altivec. Don't bother with non-callee-saved regs, r0-r13
7027 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
7028
7029 2013-02-12 Georg-Johann Lay <avr@gjlay.de>
7030
7031 PR target/54222
7032 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
7033 _ssmulHA, _ssmulSA.
7034 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
7035 _ssmulha3, _usmulusa3, _ssmulsa3.
7036 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
7037 (__muldi3): XCALL __muldi3_6 instead of rcall.
7038 (__umulsidi3, __mulsidi3): New functions.
7039 (do_prologue_saves, do_epilogue_restores): New .macros.
7040 (__divdi3_moddi3): Use them.
7041 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
7042 (__usmulusa3, __ssmulsa3): New functions.
7043
7044 2013-02-11 Iain Sandoe <iain@codesourcery.com>
7045 Jack Howarth <howarth@bromo.med.uc.edu>
7046 Patrick Marlier <patrick.marlier@gmail.com>
7047
7048 PR libitm/55693
7049 * config/darwin-crt-tm.c: Remove dummy functions hack.
7050
7051 2013-02-08 Georg-Johann Lay <avr@gjlay.de>
7052
7053 PR target/54222
7054 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
7055 * config/avr/lib2-object.mk: New iterator to build objects from it.
7056 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
7057 lib2funcs.c.
7058 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
7059 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
7060 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
7061 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
7062 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
7063 * config/avr/lib1funcs-fixed.S: Implement them.
7064
7065 2013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
7066
7067 Update copyright years.
7068
7069 2013-02-01 David Edelsohn <dje.gcc@gmail.com>
7070
7071 PR target/54601
7072 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
7073 Add crtcxa to extra_parts.
7074 * config/rs6000/exit.h: New file.
7075 * config/rs6000/cxa_atexit.c: New file.
7076 * config/rs6000/cxa_finalize.c: New file.
7077 * config/rs6000/crtcxa.c: New file.
7078 * config/rs6000/t-aix-cxa: New file.
7079 * config/rs6000/libgcc-aix-cxa.ver: New file.
7080
7081 2013-01-31 Nick Clifton <nickc@redhat.com>
7082
7083 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7084 variant.
7085
7086 2013-01-29 Georg-Johann Lay <avr@gjlay.de>
7087
7088 PR target/54222
7089 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7090 _mulQQ, _mulHQ, _mulHA, _mulSA,
7091 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7092 _divQQ, _divHQ, _divHA, _divSA,
7093 _divUQQ, _divUHQ, _divUHA, _divUSA.
7094
7095 2013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
7096
7097 * config.host(microblaze*-linux*): tmake_file: Remove
7098 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7099 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7100 to exclude functions from being built with libgcc.c and use
7101 the microblaze assembly.
7102
7103 2013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
7104
7105 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7106 extra_parts.
7107
7108 2013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7109
7110 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7111 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7112 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7113 alignment operation.
7114
7115 2013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7116
7117 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7118 loop start address for cache clearing.
7119
7120 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7121
7122 * config/avr/lib1funcs.S: Remove trailing blanks.
7123 * config/avr/lib1funcs-fixed.S: Ditto.
7124
7125 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7126
7127 * config/avr/avr-lib.h: Add GPL copyright notice.
7128
7129 2013-01-14 Georg-Johann Lay <avr@gjlay.de>
7130
7131 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7132 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7133 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7134 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7135
7136 2013-01-07 Mark Kettenis <kettenis@openbsd.org>
7137
7138 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7139 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
7140
7141 2013-01-04 Nick Clifton <nickc@redhat.com>
7142
7143 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7144 the CALLT instruction is supported.
7145
7146 2012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7147
7148 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7149 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7150
7151 2012-12-13 John Tytgat <John@bass-software.com>
7152
7153 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7154 is 25.
7155
7156 2012-12-12 Jakub Jelinek <jakub@redhat.com>
7157
7158 PR libgcc/55451
7159 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7160 undefined signed overflows.
7161
7162 2012-12-09 Uros Bizjak <ubizjak@gmail.com>
7163
7164 PR target/55344
7165 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7166
7167 2012-12-06 Uros Bizjak <ubizjak@gmail.com>
7168
7169 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7170 (FP_TRAPPING_EXCEPTIONS): Define.
7171 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7172 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7173
7174 2012-12-04 Richard Henderson <rth@redhat.com>
7175
7176 PR bootstrap/55571
7177 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7178
7179 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7180
7181 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
7182 (FP_EX_SHIFT): Define.
7183 (FP_TRAPPING_EXCEPTIONS): Define.
7184
7185 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
7186
7187 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7188 (FP_ROUNDMODE): Use FP_RND_MASK.
7189 * config/aarch64/sfp-exceptions.c: New.
7190 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7191 Use __sfp_handle_exceptions.
7192
7193 2012-12-04 Richard Earnshaw <rearnsha@arm.com>
7194
7195 * config.host: (arm*-*-freebsd*): Remove.
7196 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7197 (arm*-*-elf*): Remove.
7198 (arm*-*-wince-pe*): Remove.
7199 * arm/unwind-arm.c (struct fpa_reg): Delete.
7200 (struct fpa_regs): Delete.
7201 (phase1_vrs): Remove fpa element.
7202 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7203 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7204 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7205 * ieee754-sf.S (floatundisf): Remove FPA support.
7206 (floatdisf): Likewise.
7207 * ieee75f-df.S (floatundidf): Likewise.
7208 (floatdidf): Likewise.
7209
7210 2012-11-29 Kai Tietz <ktietz@redhat.com>
7211
7212 PR target/55445
7213 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7214 * unwind-generic.h: Likewise.
7215 * unwind-seh.c: Likewise.
7216
7217 2012-11-28 Richard Henderson <rth@redhat.com>
7218
7219 PR libgcc/48076
7220 * emutls.c (__emutls_get_address): Avoid race condition between
7221 obj->loc.offset read and emutls_key initialization.
7222
7223 2012-11-22 Georg-Johann Lay <avr@gjlay.de>
7224
7225 Adjust decimal point of signed accum mode to GCC default.
7226
7227 PR target/54222
7228 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7229 _divqq_helper.
7230 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7231 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7232 (__mulha3, __mulsa3)
7233 (__divqq3, __divha3, __divsa3): Adjust to new position of
7234 decimal point of signed accum types.
7235
7236 (__mulusa3_round): New function.
7237 (__mulusa3): Use it.
7238 (__divqq_helper): New function.
7239 (__udivuqq3): Use it.
7240
7241 2012-11-20 Jakub Jelinek <jakub@redhat.com>
7242
7243 PR bootstrap/55370
7244 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7245
7246 2012-11-18 Teresa Johnson <tejohnson@google.com>
7247
7248 PR bootstrap/55051
7249 * libgcov.c (gcov_exit): Remove merged program summary
7250 comparison unless !GCOV_LOCKED.
7251
7252 2012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
7253
7254 * soft-fp: Updated from glibc upstream.
7255
7256 2012-11-06 Ian Lance Taylor <iant@google.com>
7257
7258 * generic-morestack.c (__generic_morestack): Align the returned
7259 stack pointer to a 32 byte boundary.
7260 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7261 increment the return address until we have decided that we don't
7262 have a varargs function.
7263 (__morestack) [32-bit]: Align stack correctly when calling C
7264 functions.
7265 (__morestack) [64-bit]: Likewise.
7266
7267 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7268
7269 * configure: Regenerate.
7270
7271 2012-11-02 Uros Bizjak <ubizjak@gmail.com>
7272
7273 PR target/55175
7274 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7275 * config/i386/sfp-machine.h: Guard exception handling
7276 code with _SOFT_FLOAT.
7277 * config/i386/32/sfp-machine.h: Guard rounding handling
7278 code with _SOFT_FLOAT.
7279 * config/i386/64/sfp-machine.h: Ditto.
7280
7281 2012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7282
7283 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7284 as extra_parts.
7285
7286 2012-10-26 Uros Bizjak <ubizjak@gmail.com>
7287
7288 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7289 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7290 when appropriate. Correct structure element types.
7291 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7292 -minline-all-stringops from compile flags.
7293
7294 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7295
7296 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7297
7298 2012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
7299
7300 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
7301
7302 2012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7303
7304 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7305 tmake_file.
7306
7307 2012-10-23 Ian Bolton <ian.bolton@arm.com>
7308 Jim MacArthur <jim.macarthur@arm.com>
7309 Marcus Shawcroft <marcus.shawcroft@arm.com>
7310 Nigel Stephens <nigel.stephens@arm.com>
7311 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7312 Richard Earnshaw <rearnsha@arm.com>
7313 Sofiane Naci <sofiane.naci@arm.com>
7314 Stephen Thomas <stephen.thomas@arm.com>
7315 Tejas Belagod <tejas.belagod@arm.com>
7316 Yufeng Zhang <yufeng.zhang@arm.com>
7317
7318 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7319 * config/aarch64/crti.S: New file.
7320 * config/aarch64/crtn.S: New file.
7321 * config/aarch64/linux-unwind.h: New file.
7322 * config/aarch64/sfp-machine.h: New file.
7323 * config/aarch64/sync-cache.c: New file.
7324 * config/aarch64/t-aarch64: New file.
7325 * config/aarch64/t-softfp: New file.
7326
7327 2012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7328
7329 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7330 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7331 no-longer-needed LDBU insns.
7332
7333 2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
7334
7335 * config.host
7336 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7337 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7338
7339 2012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7340
7341 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7342
7343 2012-10-15 Matthias Klose <doko@ubuntu.com>
7344
7345 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7346
7347 2012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7348
7349 * configure: Regenerate.
7350 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7351
7352 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7353
7354 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7355 instructions for 64bit targets only.
7356
7357 2012-10-10 Uros Bizjak <ubizjak@gmail.com>
7358
7359 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7360 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7361 * config/i386/32/sfp-machine.h: ... here.
7362 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7363 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7364 New defines.
7365
7366 2012-10-07 Matthias Klose <doko@ubuntu.com>
7367
7368 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7369 as unused.
7370 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7371
7372 2012-10-06 Mark Kettenis <kettenis@openbsd.org>
7373
7374 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7375 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7376 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7377 (ElfW): Likewise.
7378
7379 2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7380
7381 PR other/53889
7382 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7383 Fix parameter names.
7384
7385 2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7386
7387 PR target/33135
7388 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7389 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7390 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7391
7392 2012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7393
7394 PR target/50457
7395 * config/sh/linux-atomic.S: Delete.
7396 * config/sh/linux-atomic.c: New.
7397 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7398 linux-atomic.c. Add cflags to disable warnings.
7399
7400 2012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7401
7402 PR other/53889
7403 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7404 function.
7405 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7406 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7407 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7408 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
7409 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7410 Likewise.
7411 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7412 Likewise.
7413 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7414 Likewise.
7415 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7416 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7417
7418 2012-09-19 Mark Kettenis <kettenis@openbsd.org>
7419
7420 * config.host (hppa-*-openbsd*): New target.
7421 * config/pa/t-openbsd: New file.
7422
7423 2012-09-15 Georg-Johann Lay <avr@gjlay.de>
7424
7425 PR target/54222
7426 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7427 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7428 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7429 (__divsa3): Use __negsi2 to negate r_quoL.
7430 * config/avr/lib1funcs.S (FALIAS): New macro.
7431 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7432 (__negsi2): ...this new function.
7433 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7434 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7435 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7436 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7437 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7438 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7439
7440 2012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7441
7442 PR target/54089
7443 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7444 (lshrsi3): Reimplement as lshrsi3_r0.
7445
7446 2012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7447
7448 PR target/46191
7449 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7450 of libgcc.a.
7451
7452 2012-09-07 Teresa Johnson <tejohnson@google.com>
7453
7454 PR gcov-profile/54487
7455 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
7456 differences.
7457
7458 2012-09-05 Georg-Johann Lay <avr@gjlay.de>
7459
7460 PR target/54461
7461 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7462 not configured --with-avrlibc=no.
7463 * config/avr/t-avrlibc: New file.
7464 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7465 (DPBIT_FUNCS): Ditto.
7466 (TPBIT_FUNCS): Ditto.
7467
7468 2012-09-04 Teresa Johnson <tejohnson@google.com>
7469
7470 * libgcov.c (struct gcov_summary_buffer): New structure.
7471 (gcov_histogram_insert): New function.
7472 (gcov_compute_histogram): Ditto.
7473 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7474 histograms during summary merging.
7475
7476 2012-09-01 Mark Kettenis <kettenis@openbsd.org>
7477
7478 * config.host (x86_64-*-openbsd*): New target.
7479
7480 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7481
7482 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7483 attribute.
7484
7485 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7486
7487 PR target/54222
7488 * config/avr/t-avr (conv_X): Rename to func_X.
7489
7490 2012-08-24 Georg-Johann Lay <avr@gjlay.de>
7491
7492 PR target/54222
7493 * config/avr/lib1funcs-fixed.S: New file.
7494 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7495 after they are used.
7496 (neg2, neg4): New macros.
7497 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7498 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7499 (__umulhisi3): Speed up MUL variant if there is enough flash.
7500 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7501 avr-modes.def.
7502 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7503 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7504 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7505 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7506 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7507 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7508 (LIB2FUNCS_EXCLUDE): Add supported functions.
7509
7510 2012-08-22 Georg-Johann Lay <avr@gjlay.de>
7511
7512 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7513 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7514 libgcc-s-objects.
7515 * fixed-obj.mk: Only expand dependency if $o is not in
7516 LIB2FUNCS_EXCLUDE.
7517
7518 2012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7519
7520 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7521
7522 2012-08-22 Joseph Myers <joseph@codesourcery.com>
7523
7524 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7525 depend on --enable-shared.
7526 ($(lib1asmfuncs-o)): Use %.vis files independent of
7527 --enable-shared.
7528 * static-object.mk ($(base)$(objext), $(base).vis)
7529 ($(base)_s$(objext)): Use same rules for visibility handling as in
7530 shared-object.mk.
7531
7532 2012-08-21 Ian Lance Taylor <iant@google.com>
7533
7534 * config/i386/morestack.S (__morestack_non_split): Increase amount
7535 of space allocated for non-split code stack.
7536
7537 2012-08-19 Joseph Myers <joseph@codesourcery.com>
7538
7539 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7540 even if inhibit_libc.
7541
7542 2012-08-17 Julian Brown <julian@codesourcery.com>
7543
7544 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7545 -fexceptions -fnon-call-exceptions if not defined.
7546 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7547 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7548
7549 2012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7550
7551 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7552 type.
7553
7554 2012-08-16 David Edelsohn <dje.gcc@gmail.com>
7555
7556 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7557 rs6000/t-slibgcc-aix.
7558
7559 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7560
7561 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7562
7563 2012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7564
7565 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7566
7567 2012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7568
7569 PR driver/54171
7570 * Makefile.in (version): Replace top_srcdir with srcdir.
7571
7572 2012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7573
7574 * Makefile.in (version): set to BASE-VER file from gcc directory.
7575
7576 2012-08-01 Nick Clifton <nickc@redhat.com>
7577
7578 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7579 Implements __clrsb for an HImode argument.
7580
7581 2012-07-31 Nick Clifton <nickc@redhat.com>
7582
7583 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7584 Implements __clrsb for an HImode argument.
7585 * config/stormy16/clrsbhi2.c: New file:
7586 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7587
7588 2012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7589
7590 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7591
7592 2012-07-19 Tristan Gingold <gingold@adacore.com>
7593 Richard Henderson <rth@redhat.com>
7594
7595 * unwind-seh.c: New file.
7596 * unwind-generic.h: Include windows.h for SEH.
7597 (_Unwind_Exception): Use 6 private fields for SEH.
7598 (_GCC_specific_handler): Declare.
7599 * unwind-c.c (__gcc_personality_seh0): New function.
7600 Adjust for SEH.
7601 * config/i386/libgcc-cygming.ver: New file.
7602 * config/i386/t-seh-eh: New file.
7603 * config.host (x86_64-*-mingw*): Default to seh.
7604
7605 2012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7606
7607 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7608
7609 2012-06-17 Uros Bizjak <ubizjak@gmail.com>
7610
7611 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7612 __builtin_expect when checking for exceptions.
7613 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7614
7615 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7616
7617 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7618 function declaration.
7619 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7620 (FP_RND_MASK): New.
7621 * config/ia64/sfp-exceptions.c: New.
7622 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
7623
7624 2012-06-13 Uros Bizjak <ubizjak@gmail.com>
7625
7626 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7627 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7628 * config/i386/64/sfp-machine: ... (delete here) ...
7629 * config/i386/sfp-machine.h: ... to here.
7630 (FP_EX_MASK): Remove.
7631 (FP_RND_MASK): New.
7632 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7633
7634 2012-06-11 Sriraman Tallam <tmsriram@google.com>
7635
7636 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7637 * config/i386/libgcc-sol2.ver: Ditto.
7638 * config/i386/libgcc-glibc.ver: Ditto.
7639
7640 2012-06-11 Roland McGrath <mcgrathr@google.com>
7641
7642 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7643 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7644 pthread_cancel.
7645
7646 2012-06-09 Uros Bizjak <ubizjak@gmail.com>
7647
7648 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7649 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7650 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7651 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7652 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7653 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7654 * config/i386/64/sfp-machine: ... (delete here) ...
7655 * config/i386/sfp-machine.h: ... to here.
7656 (FP_EX_MASK): New.
7657 (__sfp_handle_exceptions): New function declaration.
7658 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7659 * config/i386/sfp-exceptions.c: New.
7660 * config/i386/t-softfp: New.
7661 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7662 i386/t-softfp to tmake_file.
7663
7664 2012-06-03 David S. Miller <davem@davemloft.net>
7665
7666 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7667 change.
7668
7669 2012-05-31 David S. Miller <davem@davemloft.net>
7670
7671 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7672 multiply and divide instructions on 32-bit when V9.
7673 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7674
7675 2012-05-29 Joseph Myers <joseph@codesourcery.com>
7676
7677 * config/arm/ieee754-df.S: Fix typos.
7678 * config/arm/ieee754-sf.S: Fix typos.
7679 * config/c6x/libunwind.S: Fix typos.
7680 * config/epiphany/udivsi3-float.c: Fix typos.
7681 * config/microblaze/muldi3_hard.S: Fix typos.
7682 * config/picochip/adddi3.S: Fix typos.
7683 * config/picochip/ashlsi3.S: Fix typos.
7684 * config/picochip/ashrsi3.S: Fix typos.
7685 * config/picochip/clzsi2.S: Fix typos.
7686 * config/picochip/cmpsi2.S: Fix typos.
7687 * config/picochip/divmod15.S: Fix typos.
7688 * config/picochip/divmodhi4.S: Fix typos.
7689 * config/picochip/divmodsi4.S: Fix typos.
7690 * config/picochip/longjmp.S: Fix typos.
7691 * config/picochip/lshrsi3.S: Fix typos.
7692 * config/picochip/parityhi2.S: Fix typos.
7693 * config/picochip/popcounthi2.S: Fix typos.
7694 * config/picochip/setjmp.S: Fix typos.
7695 * config/picochip/subdi3.S: Fix typos.
7696 * config/picochip/ucmpsi2.S: Fix typos.
7697 * config/picochip/udivmodhi4.S: Fix typos.
7698 * config/picochip/udivmodsi4.S: Fix typos.
7699 * config/spu/divv2df3.c: Fix typos.
7700 * config/spu/mfc_multi_tag_release.c: Fix typos.
7701 * config/spu/mfc_tag_release.c: Fix typos.
7702 * configure.ac: Fix typos.
7703 * configure: Regenerate.
7704
7705 2012-05-25 Ian Lance Taylor <iant@google.com>
7706
7707 * config/i386/morestack.S (__morestack_non_split): Check whether
7708 caller is varargs and needs %bp to hold the stack frame on return.
7709
7710 2012-05-25 Olivier Hainque <hainque@adacore.com>
7711
7712 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7713 sequence in the non pic case on VxWorks.
7714
7715 2012-05-24 Olivier Hainque <hainque@adacore.com>
7716
7717 * Makefile.in: Move dependency on install-unwind_h from
7718 "install-leaf" to "install".
7719
7720 2012-05-24 Olivier Hainque <hainque@adacore.com>
7721
7722 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7723 Use a separate command for stamp removals.
7724
7725 2012-05-21 Andrew Pinski <apinski@cavium.com>
7726
7727 PR bootstrap/53183
7728 * configure.ac: Define the default includes to being none.
7729 * configure: Regenerate.
7730
7731 2012-05-16 Olivier Hainque <hainque@adacore.com>
7732
7733 * Makefile.in (install-unwind_h): Rename into ...
7734 (install-unwind_h-forbuild): New target.
7735 (all): Use it instead of the former install-unwind_h.
7736 (install-unwind_h): Reinstate, copy to user install destination
7737 for include files, not to the internal gcc object directory one.
7738 (install-leaf): Depend on it.
7739
7740 2012-05-15 Olivier Hainque <hainque@adacore.com>
7741
7742 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7743 register numbers. LR_REGNO replaces R_LR.
7744 (ucontext_for): New, helper for ...
7745 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7746 and 5.3 of ...
7747 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7748
7749 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7750
7751 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7752 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7753 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7754 i386/t-cpuinfo ...
7755 (i[34567]86-*-*, x86_64-*-*): ... here.
7756
7757 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7758 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7759
7760 * config/i386/i386-cpuinfo.c: Rename to ...
7761 * config/i386/cpuinfo.c: ... this.
7762 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7763
7764 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7765 (libgcc_cv_init_priority): New test.
7766 * configure: Regenerate.
7767 * config.in: New file.
7768 * Makefile.in (clean): Rename config.h to auto-target.h.
7769 (config.h): Likewise.
7770 (stamp-h): Likewise.
7771
7772 * config/i386/cpuinfo.c (auto-target.h): Include.
7773 (CONSTRUCTOR_PRIORITY): Define.
7774 (__cpu_indicator_init): Use it.
7775
7776 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7777
7778 * longlong.h: Use a URL instead of an FSF postal address.
7779 Replace spaces with tab.
7780
7781 2012-05-08 Teresa Johnson <tejohnson@google.com>
7782
7783 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7784 (__gcov_dump): Ditto.
7785 (gcov_dump_complete): New global variable.
7786 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7787 (__gcov_flush): Outline functionality now in gcov_clear.
7788 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7789
7790 2012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7791
7792 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7793 (mips*-*-linux*): Include mips/t-tpbit when long double is
7794 16 bytes long.
7795
7796 2012-04-25 Sriraman Tallam <tmsriram@google.com>
7797
7798 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7799 (get_available_features): New argument. Check for AVX2.
7800 (__cpu_indicator_init): Modify call to get_available_features.
7801
7802 2012-04-25 Alan Modra <amodra@gmail.com>
7803
7804 * config/rs6000/crtsavevr.S: New file.
7805 * config/rs6000/crtrestvr.S: New file.
7806 * config/rs6000/t-savresfgpr: Build the above.
7807 * config/rs6000/t-netbsd: Likewise.
7808
7809 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7810
7811 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7812
7813 2012-04-24 Sriraman Tallam <tmsriram@google.com>
7814
7815 * libgcc/config/i386/i386-cpuinfo.c: New file.
7816 * libgcc/config/i386/t-cpuinfo: New file.
7817 * libgcc/config.host: Include t-cpuinfo.
7818 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7819
7820 2012-04-24 Chao-ying Fu <fu@mips.com>
7821
7822 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7823
7824 2012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7825
7826 struct siginfo vs. siginfo_t
7827
7828 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7829 siginfo_t instead of struct siginfo.
7830 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7831 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7832 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7833 (ia64_handle_unwabi): Likewise.
7834 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7835 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7836 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7837 (sh_fallback_frame_state): Likewise.
7838 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7839 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7840
7841 2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7842
7843 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7844 system call number.
7845
7846 2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7847
7848 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7849 if it hasn't been previously saved.
7850
7851 2012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7852
7853 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7854 only for glibc.
7855
7856 2012-03-28 Georg-Johann Lay <avr@gjlay.de>
7857
7858 PR target/52737
7859 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7860 instead of __AVR_HAVE_8BIT_SP__.
7861
7862 2012-03-26 Tristan Gingold <gingold@adacore.com>
7863
7864 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7865 (unw_table_entry): Use unw_word instead of unsigned long.
7866 (_Unwind_FindTableEntry): Likewise.
7867 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7868 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7869 (_Unwind_FindTableEntry): Likewise.
7870 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7871 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7872 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7873 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7874 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7875 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7876 (uw_init_context_1, uw_install_context): Likewise.
7877 (unw_word): Move to unwind-ia64.h
7878
7879 2012-03-26 Tristan Gingold <gingold@adacore.com>
7880
7881 * config/vms/vms-ucrt0.c: Update copyright years.
7882 Add a sanity check.
7883 (___gcc_main_flags): Declare.
7884 (__main): Check flags to remap argv and exit code.
7885 * config.host (*-*-*vms*): Adjust extra_parts.
7886 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7887 (crt0.o): Add.
7888
7889 2012-03-22 Richard Earnshaw <rearnsha@arm.com>
7890
7891 * arm/lib1funcs.asm (ctzsi2): New function.
7892 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7893 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7894 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7895 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7896 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7897 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7898
7899 2012-03-21 Andreas Tobler <andreast@fgznet.ch>
7900
7901 * config.host: Add bits to support powerpc64-*-freebsd*.
7902 * config/rs6000/freebsd-unwind.h: New file.
7903 * config/rs6000/t-freebsd64: New file.
7904
7905 2012-03-20 Richard Guenther <rguenther@suse.de>
7906
7907 PR gcov-profile/52627
7908 * libgcov.c (init_mx): Fix mutex name.
7909
7910 2012-03-16 Tristan Gingold <gingold@adacore.com>
7911
7912 * config/ia64/vms-unwind.h: Remove ulong (and replace
7913 it by unw_reg where used). Define unw_reg with __int64.
7914
7915 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7916
7917 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7918 Solaris 8 handling.
7919 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7920 Solaris 8 handling.
7921 (sparc_is_sighandler): Likewise.
7922
7923 2012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7924
7925 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7926 <= saved reg size.
7927
7928 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7929
7930 * config/arm/crtn.S: Fix typo.
7931
7932 2012-03-13 Richard Guenther <rguenther@suse.de>
7933
7934 * libgcov.c: Remove stdio.h include and NULL un-define.
7935
7936 2012-03-13 Richard Guenther <rguenther@suse.de>
7937
7938 PR target/52569
7939 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7940
7941 2012-03-13 Richard Guenther <rguenther@suse.de>
7942
7943 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7944
7945 2012-03-13 Richard Guenther <rguenther@suse.de>
7946
7947 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7948 and __gthread_mutex_init_function definitions.
7949
7950 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7951
7952 * config.host (mips*-*-openbsd*): Remove.
7953
7954 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7955
7956 * config.host: Remove alpha*-dec-osf5.1* handling.
7957 * config/alpha/gthr-posix.c: Remove.
7958 * config/alpha/libgcc-osf5.ver: Remove.
7959 * config/alpha/osf5-unwind.h: Remove.
7960 * config/alpha/t-osf-pthread: Remove.
7961 * config/alpha/t-slibgcc-osf: Remove.
7962 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7963 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7964 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7965 * mkmap-flat.awk: Remove osf_export handling.
7966
7967 2012-03-12 Richard Guenther <rguenther@suse.de>
7968
7969 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7970 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7971 (__gthread_mutex_init_function): New function.
7972 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7973
7974 PR gcov/49484
7975 * libgcov.c: Include gthr.h.
7976 (__gcov_flush_mx): New global variable.
7977 (init_mx, init_mx_once): New functions.
7978 (__gcov_flush): Protect self with a mutex.
7979 (__gcov_fork): Re-initialize mutex after forking.
7980 * unwind-dw2-fde.c: Change condition under which to use
7981 __GTHREAD_MUTEX_INIT_FUNCTION.
7982
7983 2012-03-12 Tristan Gingold <gingold@adacore.com>
7984
7985 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7986 * config/ia64/t-vms: Likewise.
7987
7988 2012-03-11 Michael Hope <michael.hope@linaro.org>
7989
7990 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7991 for Thumb-2.
7992
7993 2012-03-07 Walter Lee <walt@tilera.com>
7994
7995 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7996 "arch_atomic_".
7997 (atomic_xor): Rename and move definition to
7998 config/tilepro/atomic.h.
7999 (atomic_nand): Ditto.
8000 * config/tilepro/atomic.h: Rename "atomic_" prefix to
8001 "arch_atomic_".
8002 (arch_atomic_xor): Move from config/tilepro/atomic.c.
8003 (arch_atomic_nand): Ditto.
8004
8005 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8006
8007 PR target/52507
8008 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
8009
8010 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8011
8012 PR target/52505
8013 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
8014 from RAM.
8015
8016 2012-03-07 Georg-Johann Lay <avr@gjlay.de>
8017
8018 PR target/52461
8019 PR target/52508
8020 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
8021 if RAMPZ affects reading from RAM.
8022 (__tablejump_elpm__): Ditto.
8023 (.xload): Ditto.
8024 (__movmemx_hi): Ditto.
8025 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
8026 (__do_global_dtors): Ditto.
8027 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
8028 (__movmemx_hi): Ditto.
8029
8030 2012-03-05 Richard Henderson <rth@redhat.com>
8031
8032 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
8033 [ARM] (count_trailing_zeros): Use the builtin.
8034
8035 2012-03-01 Kai Tietz <ktietz@redhat.com>
8036
8037 * soft-fp: Imported from glibc upstream.
8038
8039 2012-02-28 Kai Tietz <ktietz@redhat.com>
8040
8041 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
8042 for mingw-targets as attribute gcc_struct.
8043
8044 2012-02-28 Ian Lance Taylor <iant@google.com>
8045
8046 * generic-morestack.c (__splitstack_releasecontext): Correct call
8047 to __morestack_release_segments.
8048
8049 2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8050
8051 PR target/52390
8052 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
8053 for __linux__ when removing signals from __morestack_fullmask.
8054
8055 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
8056
8057 PR target/52261
8058 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
8059
8060 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8061
8062 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
8063 instead of HAVE_INITFINI_ARRAY.
8064 * config/ia64/crtend.S: Likewise.
8065
8066 2012-02-20 Kai Tietz <ktietz@redhat.com>
8067
8068 PR libstdc++/52300
8069 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
8070
8071 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
8072 to w32-unwind.h header.
8073
8074 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8075
8076 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8077 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8078 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8079 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8080
8081 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8082
8083 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8084
8085 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8086
8087 PR libitm/52220
8088 * config/darwin-crt-tm.c: Correct typo.
8089
8090 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8091 Patrick Marlier <patrick.marlier@gmail.com>
8092
8093 PR libitm/52220
8094 * config/darwin-crt-tm.c: Generate dummy functions.
8095
8096 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8097 Patrick Marlier <patrick.marlier@gmail.com>
8098
8099 PR libitm/52042
8100 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8101 (__doTMRegistrations): Call it.
8102 (__doTMdeRegistrations): Likewise.
8103
8104 2012-01-15 Georg-Johann Lay <avr@gjlay.de>
8105 Anatoly Sokolov <aesok@post.ru>
8106 Eric Weddington <eric.weddington@atmel.com>
8107
8108 PR target/52261
8109 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8110 (__epilogue_restores__): Ditto.
8111
8112 2012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8113
8114 PR target/51921
8115 PR target/52205
8116 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8117 Solaris 11 and slightly reformat.
8118 (sparc_is_sighandler): Likewise.
8119
8120 2012-02-14 Walter Lee <walt@tilera.com>
8121
8122 * config.host: Handle tilegx and tilepro.
8123 * config/tilegx/sfp-machine.h: New file.
8124 * config/tilegx/sfp-machine32.h: New file.
8125 * config/tilegx/sfp-machine64.h: New file.
8126 * config/tilegx/t-crtstuff: New file.
8127 * config/tilegx/t-softfp: New file.
8128 * config/tilegx/t-tilegx: New file.
8129 * config/tilepro/atomic.c: New file.
8130 * config/tilepro/atomic.h: New file.
8131 * config/tilepro/linux-unwind.h: New file.
8132 * config/tilepro/sfp-machine.h: New file.
8133 * config/tilepro/softdivide.c: New file.
8134 * config/tilepro/softmpy.S: New file.
8135 * config/tilepro/t-crtstuff: New file.
8136 * config/tilepro/t-tilepro: New file.
8137
8138 2012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8139
8140 PR libstdc++/51296
8141 PR libstdc++/51906
8142 * gthr-posix.h: Allow static initializer macros to be disabled.
8143 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8144
8145 2012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8146
8147 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8148 Add t-slibgcc-libgcc to tmake_file.
8149 * config/mips/libgcc-mips16.ver: Revert previous patch.
8150 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8151
8152 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8153 Jayant R Sonar <jayant.sonar@kpitcummins.com>
8154
8155 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8156 * config/cr16/crti.S: New file.
8157 * config/cr16/crtlibid.S: New file.
8158 * config/cr16/crtn.S: New file.
8159 * config/cr16/lib1funcs.S: New file.
8160 * config/cr16/t-cr16: New file.
8161 * config/cr16/t-crtlibid: New file.
8162 * config/cr16/unwind-dw2.h: New file.
8163 * config/cr16/unwind-cr16.c: New file.
8164 * config/cr16/divmodhi3.c: New file.
8165
8166 2012-01-25 Alan Modra <amodra@gmail.com>
8167
8168 * config/rs6000/t-linux64: Delete. Move..
8169 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8170 * config/rs6000/t-linux: ..and libgcc flags to here.
8171
8172 2012-01-22 Douglas B Rupp <rupp@gnat.com>
8173
8174 * config.host (i[34567]86-*-interix3*):
8175 Change triplet to i[34567]86-*-interix[3-9]*.
8176 * configure: Regenerate.
8177
8178 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8179 Richard Sandiford <rdsandiford@googlemail.com>
8180
8181 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8182 * config/mips/mips16.S (__mips16_rdhwr): New function.
8183 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8184
8185 2012-01-11 Nathan Sidwell <nathan@acm.org>
8186
8187 * libgcov.c (__gcov_init): Ignore objects with no functions.
8188
8189 2012-01-10 Georg-Johann Lay <avr@gjlay.de>
8190
8191 PR target/49868
8192 Extend __pgmx semantics to linearize memory.
8193 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8194 * config/avr/lib1funcs.S (__xload_1): New function.
8195 (__movmemx_qi, __movmemx_hi): New functions.
8196 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8197 semantics.
8198
8199 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8200
8201 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8202 purported sigacthandler address isn't null before dereferencing it.
8203 (sparc_is_sighandler): Likewise.
8204
8205 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8206
8207 PR ada/41929
8208 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8209 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8210 (sparc_is_sighandler): Likewise.
8211 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8212
8213 2012-01-06 Tristan Gingold <gingold@adacore.com>
8214
8215 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8216 compatibility thunks...
8217 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8218 (crtbeginS.o, crtendS.o): ... and these to ...
8219 * config/ia64/t-ia64-elf: ... this new file.
8220 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8221 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8222
8223 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8224
8225 * configure: Regenerate.
8226 * config/s390/t-crtstuff: Remove -fPIC.
8227
8228 2012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8229
8230 PR bootstrap/51006
8231 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8232 for NetBSD.
8233
8234 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8235
8236 PR target/51345
8237 * config/avr/lib1funcs.S: Remove FIXME comments.
8238 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8239
8240 2012-01-02 Georg-Johann Lay <avr@gjlay.de>
8241
8242 Implement light-weight DImode support.
8243 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8244 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8245 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8246 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8247
8248 2011-12-30 Nathan Sidwell <nathan@acm.org>
8249
8250 * libgcov.c (gcov_crc32): Remove global var.
8251 (free_fn_data): New function.
8252 (buffer_fn_data): Pass in filename, more robust error recovery.
8253 (crc32_unsigned): New function.
8254 (gcov_exit): More robust detection of new program. More robust
8255 error recovery.
8256 (__gcov_init): Do not update program's crc here.
8257
8258 2011-12-21 Tristan Gingold <gingold@adacore.com>
8259
8260 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8261
8262 2011-12-21 Ian Lance Taylor <iant@google.com>
8263
8264 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8265
8266 2011-12-20 Ian Lance Taylor <iant@google.com>
8267
8268 * config/i386/morestack.S (__morestack_non_split): If there is
8269 enough stack space already, don't split. Ask for more stack space
8270 than we required.
8271
8272 2011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8273
8274 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8275 `sys/sdt.h'.
8276 (_Unwind_DebugHook): New function.
8277 (uw_restore_core_regs): New define.
8278 (unwind_phase2): Use uw_restore_core_regs instead of
8279 restore_core_regs.
8280 (unwind_phase2_forced): Likewise.
8281 (__gnu_Unwind_Resume): Likewise.
8282
8283 2011-12-20 Uros Bizjak <ubizjak@gmail.com>
8284
8285 * config/alpha/linux-unwind.h: Update copyright years.
8286 (MD_FROB_UPDATE_CONTEXT): New define.
8287 (alpha_frob_update_context): New function.
8288
8289 2011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8290
8291 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8292 tmake_file rather replacing it.
8293
8294 2011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8295
8296 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
8297 function is not used for PPC64.
8298 (save_world): Amend comments. Update the VRsave mask to reflect the
8299 saved regs.
8300 (rest_world): Update comments, do not clobber r10, do not use r8.
8301 (eh_rest_world_r10): Amend comments, do not use r8.
8302 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8303 no longer used, move restore of CR and target address to the end of
8304 the routine.
8305
8306 2011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8307
8308 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8309 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8310
8311 2011-12-14 Georg-Johann Lay <avr@gjlay.de>
8312
8313 PR target/49313
8314 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8315 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8316
8317 2011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8318
8319 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8320
8321 2011-12-09 Georg-Johann Lay <avr@gjlay.de>
8322
8323 PR target/49313
8324 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8325 * config/avr/lib1funcs.S (__muldi3): New function.
8326
8327 2011-12-06 Andrew Pinski <apinski@cavium.com>
8328
8329 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8330 size of func_ptr.
8331 (__frame_dummy_init_array_entry): Likewise.
8332
8333 2011-12-06 Georg-Johann Lay <avr@gjlay.de>
8334
8335 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8336
8337 PR target/51345
8338 PR target/51002
8339 * config/avr/lib1funcs.S (__prologue_saves__,
8340 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8341 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8342
8343 2011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8344
8345 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8346
8347 2011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8348
8349 PR other/51272
8350 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8351 (_ITM_deregisterTMCloneTable): Likewise.
8352 (__register_frame_info): Fix unused warning.
8353 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8354 pthread_default_stacksize_np): Likewise.
8355 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
8356
8357 2011-11-29 DJ Delorie <dj@redhat.com>
8358
8359 * config.host (rl78-*-elf): New case.
8360 * config/rl78: New directory for the Renesas RL78.
8361
8362 2011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8363
8364 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8365 formatting.
8366
8367 2011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8368
8369 PR other/51022
8370 * config/rs6000/t-savresfgpr: New file.
8371 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8372 $(srcdir)/config/rs6000/eabi.S.
8373 * config/rs6000/t-ppccomm-ldbl: Remove.
8374 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8375 tmake_file.
8376 (powerpc-*-eabispe*): Likewise.
8377 (powerpc-*-eabi*): Likewise.
8378 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8379 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8380 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8381 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8382 tmake_file.
8383 (powerpc-*-eabisim*): Likewise.
8384 (powerpc-*-elf*): Likewise.
8385 (powerpc-*-eabialtivec*): Likewise.
8386 (powerpc-xilinx-eabi*): Likewise.
8387 (powerpc-*-rtems*): Likewise.
8388 (powerpcle-*-elf*): Likewise.
8389 (powerpcle-*-eabisim*): Likewise.
8390 (powerpcle-*-eabi*): Likewise.
8391
8392 2011-11-27 Ian Lance Taylor <iant@google.com>
8393
8394 * generic-morestack.c (__splitstack_find): Check for NULL old
8395 stack value.
8396 (__splitstack_resetcontext): New function.
8397 (__splitstack_releasecontext): New function.
8398 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8399
8400 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8401
8402 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8403
8404 2011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8405
8406 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8407
8408 2011-11-26 Richard Henderson <rth@redhat.com>
8409
8410 * config/m68k/linux-atomic.c: New file.
8411 * config/m68k/t-linux: New file.
8412 * config.host (m68k-uclinux, m68k-linux): Use it.
8413
8414 2011-11-26 Richard Henderson <rth@redhat.com>
8415
8416 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8417 (__TMC_END__): Only declare if hidden is available; in the definition,
8418 if hidden is unavailable add a null record.
8419 (deregister_tm_clones, register_tm_clones): New.
8420 (__do_global_dtors_aux, frame_dummy): Use them.
8421 (__do_global_dtors, __do_global_ctors_1): Likewise.
8422
8423 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8424
8425 * config/darwin-crt-tm.c: New file.
8426 * config.host (darwin): Build crttms.o crttme.o to provide
8427 startup and shutdown for tm clones.
8428 * config/t-darwin (crttms.o): New build rule.
8429 (crttme.o): Likewise.
8430
8431 2011-11-21 Hans-Peter Nilsson <hp@axis.com>
8432
8433 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8434 et al.
8435
8436 2011-11-21 Richard Henderson <rth@redhat.com>
8437
8438 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8439 (__TMC_LIST__, __TMC_END__): New.
8440 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8441 (__do_global_dtors): Likewise.
8442 (frame_dummy): Call _ITM_registerTMCloneTable.
8443 (__do_global_ctors_1): Likewise.
8444
8445 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8446
8447 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8448 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8449 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8450 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8451 * config/i386/t-darwin64: Remove.
8452 * config/sh/t-netbsd (LIB2ADD): Remove.
8453
8454 2011-11-21 Georg-Johann Lay <avr@gjlay.de>
8455
8456 PR target/49313
8457 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8458 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8459 * config/avr/lib1funcs.S (wmov): New assembler macro.
8460 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8461 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8462 (__udivmod64): New function.
8463 (__negdi2): New function.
8464
8465 2011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8466
8467 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8468 *-*-freebsd*aout*): Remove.
8469
8470 2011-11-20 Hans-Peter Nilsson <hp@axis.com>
8471
8472 * static-object.mk (c_flags-$o): Save c_flags.
8473 ($(base)$(objext)): Use it.
8474
8475 2011-11-18 Steve Ellcey <sje@cup.hp.com>
8476
8477 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8478
8479 2011-11-18 Georg-Johann Lay <avr@gjlay.de>
8480
8481 PR target/49868
8482 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8483 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8484 New functions.
8485
8486 2011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8487
8488 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8489 functions.
8490 (aeabi_uidivmod): Likewise.
8491 (umodsi3): Likewise.
8492 (divsi3): Likewise.
8493 (aeabi_idivmod): Likewise.
8494 (modsi3): Likewise.
8495
8496 2011-11-16 Tristan Gingold <gingold@adacore.com>
8497
8498 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8499
8500 2011-11-15 Georg-Johann Lay <avr@gjlay.de>
8501
8502 PR target/49868
8503 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8504 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8505
8506 2011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8507
8508 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8509 tmake_file list.
8510 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8511 * config/pa/t-stublib64: Delete.
8512
8513 2011-11-12 Richard Henderson <rth@redhat.com>
8514
8515 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8516 cast the pointer argument to _Unwind_SetGRPtr.
8517
8518 2011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8519
8520 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8521
8522 2011-11-09 Ian Lance Taylor <iant@google.com>
8523
8524 * generic-morestack.c: Include <string.h>.
8525 (uintptr_type): Define.
8526 (struct initial_sp): Add dont_block_signals field. Reduce size of
8527 extra array by 1.
8528 (allocate_segment): Set prev field to NULL. Don't set
8529 __morestack_current_segment or __morestack_segments.
8530 (__generic_morestack): Update current->prev and *pp after calling
8531 allocate_segment.
8532 (__morestack_block_signals): Don't do anything if
8533 dont_block_signals is set.
8534 (__morestack_unblock_signals): Likewise.
8535 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8536 uintptr_type.
8537 (__splitstack_block_signals): New function.
8538 (enum __splitstack_content_offsets): Define.
8539 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8540 (__splitstack_makecontext): New function.
8541 (__splitstack_block_signals_context): New function.
8542 (__splitstack_find_context): New function.
8543 * config/i386/morestack.S (__morestack_get_guard): New function.
8544 (__morestack_set_guard, __morestack_make_guard): New functions.
8545 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8546
8547 2011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8548
8549 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8550 (i[34567]86-*-mingw*): ... here.
8551 (x86_64-*-mingw*): ... here.
8552
8553 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8554
8555 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8556
8557 2011-11-07 Nathan Sidwell <nathan@acm.org>
8558
8559 * libgcov.c (struct gcov_fn_buffer): New struct.
8560 (buffer_fn_data): New helper.
8561 (gcov_exit): Rework for new gcov data structures.
8562
8563 2011-11-07 Georg-Johann Lay <avr@gjlay.de>
8564
8565 PR target/49313
8566 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8567
8568 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8569
8570 * config.host (tmake_file): Correct comment.
8571 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8572 t-libgcc-pic.
8573 (bfin*-uclinux*): Likewise.
8574 (bfin*-linux-uclibc*): Likewise.
8575 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8576
8577 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8578 assigning.
8579 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8580 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8581 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8582 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8583 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8584 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8585 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8586 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8587 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8588 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8589 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8590 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8591 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8592
8593 * config/bfin/t-elf: Remove.
8594 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8595
8596 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8597
8598 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8599 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8600 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8601 (lm32-*-elf*): ... this.
8602 (lm32-*-rtems*): ... and this.
8603 Add to tmake_file.
8604 (m32r-*-rtems*): Add to tmake_file.
8605 (moxie-*-rtems*): Likewise.
8606 (sparc-*-rtems*): Likewise.
8607 Remove t-rtems from tmake_file.
8608 (sparc64-*-rtems*): Likewise.
8609 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8610 instead.
8611
8612 2011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8613
8614 PR bootstrap/50982
8615 * config/gthr-posix.h: Move ...
8616 * gthr-posix.h: ... here.
8617 * config/gthr-lynx.h: Reflect this.
8618 * config/gthr-vxworks.h: Likewise.
8619 * config/rs6000/gthr-aix.h: Likewise.
8620 * configure.ac (target_thread_file): Likewise.
8621 * configure: Regenerate.
8622
8623 2011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8624
8625 * config.host (arm*-*-rtemseabi*): New target.
8626
8627 2011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8628
8629 PR other/50991
8630 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8631 extra-parts.
8632
8633 2011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8634
8635 * config.host (epiphany-*-elf*): New configuration.
8636 * config/epiphany: New Directory.
8637
8638 2011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8639
8640 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8641 * config/avr/t-rtems: New.
8642 Filter out _exit from LIB1ASMFUNCS.
8643
8644 2011-11-04 David S. Miller <davem@davemloft.net>
8645
8646 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8647 * configure: Rebuild.
8648
8649 2011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8650
8651 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8652 variable.
8653
8654 2011-11-04 Georg-Johann Lay <avr@gjlay.de>
8655
8656 PR target/50931
8657 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8658 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8659
8660 2011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8661
8662 PR target/50989
8663 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8664
8665 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8666
8667 * config/c6x/t-elf (LIB2ADDEH): Set.
8668 * config/c6x/t-c6x-elf: Remove.
8669
8670 2011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8671
8672 * config/i386/sol2-ci.S: Rename to ...
8673 * config/i386/crti.S: ... this.
8674 * config/i386/sol2-cn.S: Rename to ...
8675 * config/i386/crtn.S: ... this.
8676 * config/sparc/sol2-ci.S: Rename to ...
8677 * config/sparc/crti.S: ... this.
8678 * config/sparc/sol2-cn.S: Rename to ...
8679 * config/sparc/crtn.S: ... this.
8680 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8681 (crti.o, crtn.o): Remove.
8682
8683 2011-11-04 Tristan Gingold <gingold@adacore.com>
8684
8685 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8686
8687 2011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8688
8689 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8690
8691 2011-11-03 Hans-Peter Nilsson <hp@axis.com>
8692
8693 * config.host (crisv32-*-none, cris-*-none): Remove.
8694 (crisv32-*-elf): Append to tmake_file, don't just set it.
8695 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8696
8697 2011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8698
8699 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8700 (ecrtn$(objext)): Likewise.
8701 (ncrti$(objext)): Likewise.
8702 (ncrtn$(objext)): Likewise.
8703
8704 2011-11-03 Andreas Schwab <schwab@redhat.com>
8705
8706 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8707
8708 2011-11-02 David S. Miller <davem@davemloft.net>
8709
8710 * configure.ac: Set host_address on sparc too.
8711 * configure: Regenerate.
8712 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8713 based upon host_address.
8714 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8715
8716 2011-11-02 Jason Merrill <jason@redhat.com>
8717
8718 * config/rs6000/t-ppccomm: Add missing \.
8719
8720 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8721
8722 * gthr-single.h, gthr.h: New files.
8723 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8724 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8725 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8726 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8727 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8728 * configure.ac (thread_header): New variable.
8729 Set it depending on target_thread_file.
8730 (gthr-default.h): Link from $thread_header.
8731 * configure: Regenerate.
8732 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8733
8734 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8735
8736 * configure.ac (tm_file_): New variable.
8737 Determine from tm_file.
8738 (tm_file, tm_defines): Substitute.
8739 * configure: Regenerate.
8740 * mkheader.sh: New file.
8741 * Makefile.in (clean): Remove libgcc_tm.h.
8742 ($(objects)): Depend on libgcc_tm.h.
8743 (libgcc_tm_defines, libgcc_tm_file): New variables.
8744 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8745 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8746 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8747 ($(extra-parts)): Depend on libgcc_tm.h.
8748 * config.host (tm_defines, tm_file): New variable.
8749 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8750 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8751 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8752 (avr-*-rtems*): Likewise.
8753 (avr-*-*): Likewise.
8754 (frv-*-elf): Likewise.
8755 (frv-*-*linux*): Likewise.
8756 (h8300-*-rtems*): Likewise.
8757 (h8300-*-elf*): Likewise.
8758 (i[34567]86-*-darwin*): Likewise.
8759 (x86_64-*-darwin*): Likewise.
8760 (rx-*-elf): Likewise.
8761 (tic6x-*-uclinux): Likewise.
8762 (tic6x-*-elf): Likewise.
8763 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8764 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8765 * config/i386/cygming-crtbegin.c: Likewise.
8766 * config/i386/cygming-crtend.c: Likewise.
8767 * config/ia64/fde-vms.c: Likewise.
8768 * config/ia64/unwind-ia64.c: Likewise.
8769 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8770 * config/rs6000/darwin-fallback.c: Likewise.
8771 * config/stormy16/lib2funcs.c: Likewise.
8772 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8773 * crtstuff.c: Likewise.
8774 * dfp-bit.h: Likewise.
8775 * emutls.c: Likewise.
8776 * fixed-bit.c: Likewise.
8777 * fp-bit.c: Likewise.
8778 * generic-morestack-thread.c: Likewise.
8779 * generic-morestack.c: Likewise.
8780 * libgcc2.c: Likewise.
8781 * libgcov.c: Likewise.
8782 * unwind-dw2-fde-dip.c: Likewise.
8783 * unwind-dw2-fde.c: Likewise.
8784 * unwind-dw2.c: Likewise.
8785 * unwind-sjlj.c: Likewise.
8786
8787 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8788
8789 * configure.ac: Include ../config/picflag.m4.
8790 (GCC_PICFLAG): Call it.
8791 Substitute.
8792 * configure: Regenerate.
8793 * Makefile.in (gcc_srcdir): Remove.
8794 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8795 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8796 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8797 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8798 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8799 Use $<.
8800 Remove comment.
8801 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8802 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8803 to refer to libgcc2.c.
8804 Use $<.
8805 * config/darwin-64.c: New file.
8806 * config/darwin-crt3.c: Remove comment.
8807 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8808 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8809 config/udivmodsi4.c: New files.
8810 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8811 config/memset.c: New files.
8812 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8813 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8814 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8815 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8816 * config/t-openbsd-thread: New file.
8817 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8818 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8819 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8820 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8821 qrnnd.S.
8822 Adapt filename.
8823 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8824 to refer to gthr-posix.c.
8825 * config/alpha/t-vms (LIB2ADD): Set.
8826 * config/alpha/vms-gcc_shell_handler.c: New file.
8827 * config/arm/bpabi.c, config/arm/fp16.c,
8828 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8829 config/arm/unaligned-funcs.c: New files.
8830 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8831 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8832 * config/arm/t-linux: Likewise.
8833 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8834 * config/arm/t-netbsd: New file.
8835 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8836 * config/arm/t-symbian (LIB2ADD_ST): Set.
8837 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8838 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8839 * config/bfin/t-elf: New file.
8840 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8841 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8842 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8843 config/c6x/ltf.c: New files.
8844 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8845 (HOST_LIBGCC2_CFLAGS): Set.
8846 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8847 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8848 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8849 New files.
8850 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8851 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8852 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8853 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8854 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8855 files.
8856 * config/frv/t-frv (LIB2ADD): Set.
8857 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8858 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8859 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8860 config/h8300/popcounthi2.c: New files.
8861 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8862 * config/i386/gthr-win32.c: New file.
8863 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8864 * config/i386/t-cygwin: Likewise.
8865 * config/i386/t-darwin, config/i386/t-darwin64,
8866 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8867 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8868 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8869 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8870 * config/ia64/quadlib.c: New file.
8871 * config/ia64/t-hpux (LIB2ADD): Set.
8872 * config/ia64/t-ia64: Add comment.
8873 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8874 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8875 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8876 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8877 * config/m32c/t-m32c (LIB2ADD): Set.
8878 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8879 * config/m32r/t-m32r: Likewise.
8880 * config/m68k/fpgnulib.c: New file.
8881 * config/m68k/t-floatlib (LIB2ADD): Set.
8882 (xfgnulib.c): New target.
8883 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8884 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8885 * config/mep/t-mep (LIB2ADD): Set.
8886 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8887 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8888 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8889 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8890 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8891 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8892 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8893 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8894 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8895 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8896 New files.
8897 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8898 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8899 * config/pa/fptr.c, config/pa/lib2funcs.S,
8900 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8901 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8902 (LIB2ADD, LIB2ADD_ST): Set.
8903 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8904 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8905 Set.
8906 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8907 * config/pdp11/t-pdp11: New file.
8908 * config/picochip/libgccExtras/adddi3.S,
8909 config/picochip/libgccExtras/ashlsi3.S,
8910 config/picochip/libgccExtras/ashrsi3.S,
8911 config/picochip/libgccExtras/clzsi2.S,
8912 config/picochip/libgccExtras/cmpsi2.S,
8913 config/picochip/libgccExtras/divmod15.S,
8914 config/picochip/libgccExtras/divmodhi4.S,
8915 config/picochip/libgccExtras/divmodsi4.S,
8916 config/picochip/libgccExtras/lshrsi3.S,
8917 config/picochip/libgccExtras/parityhi2.S,
8918 config/picochip/libgccExtras/popcounthi2.S,
8919 config/picochip/libgccExtras/subdi3.S,
8920 config/picochip/libgccExtras/ucmpsi2.S,
8921 config/picochip/libgccExtras/udivmodhi4.S,
8922 config/picochip/libgccExtras/udivmodsi4.S: New files.
8923 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8924 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8925 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8926 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8927 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8928 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8929 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8930 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8931 files.
8932 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8933 (HOST_LIBGCC2_CFLAGS): Set.
8934 * config/rs6000/t-darwin64: New file.
8935 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8936 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8937 * config/rs6000/t-ppccomm (LIB2ADD): Add
8938 $(srcdir)/config/rs6000/tramp.S.
8939 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8940 Add $(srcdir)/config/rs6000/eabi.S.
8941 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8942 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8943 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8944 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8945 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8946 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8947 * config/rs6000/tramp.S: New file.
8948 * config/s390/t-tpf: Remove.
8949 * config/sh/linux-atomic.S: New file.
8950 * config/sh/t-linux (LIB2ADD): Set.
8951 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8952 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8953 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8954 to unwind-dw2.c.
8955 (HOST_LIBGCC2_CFLAGS): Set.
8956 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8957 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8958 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8959 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8960 config/spu/mfc_multi_tag_release.c,
8961 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8962 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8963 config/spu/multi3.c: New files.
8964 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8965 (HOST_LIBGCC2_CFLAGS): Set.
8966 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8967 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8968 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8969 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8970 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8971 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8972 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8973 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8974 config/stormy16/umodsi3.c: New files.
8975 * config/xtensa/lib2funcs.S: New file.
8976 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8977 * config/xtensa/t-xtensa (LIB2ADD): Set.
8978 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8979 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8980 Add t-freebsd-thread to tmake_file for posix threads.
8981 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8982 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8983 (*-*-lynxos*): Likewise.
8984 (*-*-netbsd*): Likewise.
8985 (*-*-openbsd*): Likewise.
8986 Add t-openbsd-thread to tmake_file for posix threads.
8987 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8988 (*-*-vxworks*): Set tmake_file.
8989 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8990 (alpha*-*-freebsd*): Likewise.
8991 (alpha*-*-netbsd*): Likewise.
8992 (alpha*-*-openbsd*): Likewise.
8993 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8994 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8995 (alpha*-dec-*vms*): Likewise.
8996 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8997 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8998 (bfin*-uclinux*): Likewise.
8999 (bfin*-linux-uclibc*): Likewise.
9000 (crisv32-*-elf): Add cris/t-cris to tmake_file.
9001 (crisv32-*-none): Likewise.
9002 (cris-*-elf): Likewise.
9003 (cris-*-none): Likewise.
9004 (cris-*-linux*, crisv32-*-linux*): Likewise.
9005 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
9006 tmake_file.
9007 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
9008 tmake_file.
9009 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
9010 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
9011 (x86_64-*-elf*): Likewise.
9012 (i[34567]86-*-nto-qnx*): Likewise.
9013 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
9014 win32 threads.
9015 (x86_64-*-mingw*): Likewise.
9016 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
9017 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
9018 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9019 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9020 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
9021 tmake_file.
9022 (mipsisa64sr71k-*-elf*): Likewise.
9023 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9024 (mips-*-elf*, mipsel-*-elf*): Likewise.
9025 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9026 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9027 (mips*-*-rtems*): Likewise.
9028 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
9029 to tmake_file.
9030 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
9031 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
9032 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
9033 (spu-*-elf*): Likewise.
9034 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
9035
9036 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9037
9038 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
9039 $(srcdir) to refer to $(LIB1ASMSRC).
9040 Use $<.
9041 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
9042 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
9043 config/arm/lib1funcs.S: New files.
9044 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
9045 * config/arm/t-arm: New file.
9046 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
9047 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
9048 config/arm/t-strongarm-elf: New files.
9049 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
9050 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
9051 * config/avr/lib1funcs.S: New file.
9052 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9053 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
9054 * config/c6x/lib1funcs.S: New file.
9055 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9056 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
9057 * config/frv/lib1funcs.S: New file.
9058 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9059 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
9060 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
9061 * config/ia64/__divxf3.asm: Rename to ...
9062 * config/ia64/__divxf3.S: ... this.
9063 Adapt lib1funcs.asm filename.
9064 * config/ia64/_fixtfdi.asm: Rename to ...
9065 * config/ia64/_fixtfdi.S: ... this.
9066 Adapt lib1funcs.asm filename.
9067 * config/ia64/_fixunstfdi.asm: Rename to ...
9068 * config/ia64/_fixunstfdi.S: ... this.
9069 Adapt lib1funcs.asm filename.
9070 * config/ia64/_floatditf.asm: Rename to ...
9071 * config/ia64/_floatditf.S: ... this.
9072 Adapt lib1funcs.asm filename.
9073 * config/ia64/lib1funcs.S: New file.
9074 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
9075 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9076 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9077 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9078 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9079 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9080 * config/mep/lib1funcs.S: New file.
9081 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9082 * config/mips/mips16.S: New file.
9083 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9084 * config/pa/milli64.S: New file.
9085 * config/pa/t-linux, config/pa/t-linux64: New files.
9086 * config/picochip/lib1funcs.S: New file.
9087 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9088 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9089 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9090 * config/sh/t-netbsd: New file.
9091 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9092 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9093 * config/sh/t-sh64: New file.
9094 * config/sparc/lb1spc.S: New file.
9095 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9096 filename.
9097 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9098 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9099 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9100 config/xtensa/lib1funcs.S: New files.
9101 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9102 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9103 tmake_file.
9104 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9105 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9106 (arm*-*-linux*): Likewise.
9107 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9108 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9109 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9110 (arm*-*-ecos-elf): Likewise.
9111 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9112 (arm*-*-rtems*): Likewise.
9113 (arm*-*-elf): Likewise.
9114 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9115 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9116 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9117 (bfin*-uclinux*): Likewise.
9118 (bfin*-linux-uclibc*): Likewise.
9119 (bfin*-rtems*): Likewise.
9120 (bfin*-*): Likewise.
9121 (fido-*-elf): Merge into m68k-*-elf*.
9122 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9123 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9124 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9125 (h8300-*-elf*): Likewise.
9126 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9127 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9128 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9129 (i[34567]86-*-mingw*): Likewise.
9130 (x86_64-*-mingw*): Likewise.
9131 (i[34567]86-*-interix3*): Likewise.
9132 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9133 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9134 (m68k-*-elf*): Also handle fido-*-elf.
9135 Add m68k/t-floatlib to tmake_file.
9136 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9137 (m68k-*-linux*): Likewise.
9138 (m68k-*-rtems*): Likewise.
9139 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9140 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9141 sh64*-*-*.
9142 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9143 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9144 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9145 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9146 sh/t-netbsd to tmake_file.
9147 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9148 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9149 (sh-wrs-vxworks): Likewise.
9150 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9151 *-leon[3-9]*.
9152 (v850*-*-*): Add v850/t-v850 to tmake_file.
9153 (vax-*-linux*): Add vax/t-linux to tmake_file.
9154 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9155
9156 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9157
9158 * crtstuff.c: New file.
9159 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9160 (CRTSTUFF_T_CFLAGS): Define.
9161 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9162 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9163 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9164 crtstuff.c.
9165 Use $<.
9166 (crtbeginT.o): Use $(objext).
9167 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9168 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9169 (gcc-extra-parts): Remove.
9170 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9171 Set extra_parts.
9172 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9173 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9174 Add t-crtstuff-pic to tmake_file.
9175 (*-*-lynxos*): New case.
9176 Set tmake_file, extra_parts.
9177 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9178 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9179 *-*-netbsdelf[2-9]*.
9180 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9181 (*-*-rtems*): Set extra_parts.
9182 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9183 (*-*-uclinux*): New case.
9184 Set extra_parts.
9185 (*-*-vms*): New case.
9186 Set tmake_file, extra_parts.
9187 (*-*-elf): Set extra_parts.
9188 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9189 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9190 vms/t-vms64.
9191 Set extra_parts.
9192 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9193 Set extra_parts.
9194 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9195 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9196 (arm-wrs-vxworks): Append to tmake_file.
9197 Set extra_parts.
9198 (arm*-*-uclinux*): Set extra_parts.
9199 (arm*-*-ecos-elf): Likewise.
9200 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9201 arm*-*-eabi*.
9202 (arm*-*-rtems*): Set extra_parts.
9203 (arm*-*-elf): Likewise.
9204 (avr-*-rtems*): Clear extra_parts.
9205 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9206 Set extra_parts.
9207 (bfin*-uclinux*): Likewise.
9208 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9209 (bfin*-rtems*): Append to tmake_file.
9210 Set extra_parts.
9211 (bfin*-*): Likewise.
9212 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9213 (crisv32-*-elf): ... this.
9214 (crisv32-*-none): ... this.
9215 (cris-*-elf, cris-*-none): New cases.
9216 Add cris/t-elfmulti to tmake_file.
9217 (fr30-*-elf): Append to tmake_file.
9218 Set extra_parts.
9219 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9220 Set extra_parts.
9221 (h8300-*-rtems*): Append to tmake_file.
9222 Set extra_parts.
9223 (h8300-*-elf*): Likewise.
9224 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9225 Set extra_parts.
9226 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9227 Set extra_parts.
9228 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9229 (x86_64-*-elf*): Likewise.
9230 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9231 (x86_64-*-freebsd*): Likewise.
9232 (x86_64-*-netbsd*): Likewise.
9233 (i[34567]86-*-linux*): Likewise.
9234 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9235 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9236 (x86_64-*-linux*): Likewise.
9237 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9238 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9239 tmake_file.
9240 Set extra_parts.
9241 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9242 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9243 Append to extra_parts, remove crtbegin.o, crtend.o.
9244 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9245 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9246 crtend.o, crtbeginS.o, crtendS.o.
9247 (ia64*-*-linux*): Comment extra_parts.
9248 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9249 Set extra_parts.
9250 (iq2000*-*-elf*): Clear extra_parts.
9251 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9252 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9253 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9254 (m32r-*-rtems*): ... this.
9255 Add m32r/t-m32r to tmake_file.
9256 (m68k-*-elf*): Add t-crtin to tmake_file.
9257 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9258 (mcore-*-elf): Likewise.
9259 (microblaze*-*-*): Set extra_parts.
9260 (mips*-sde-elf*): New case.
9261 Set tmake_file, extra_parts.
9262 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9263 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9264 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9265 tmake_file.
9266 Set extra_parts.
9267 (mipsisa64sr71k-*-elf*): Likewise.
9268 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9269 (mips-*-elf*, mipsel-*-elf*): Likewise.
9270 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9271 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9272 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9273 (mips*-*-rtems*): Likewise.
9274 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9275 (moxie-*-*): Split into ...
9276 (moxie-*-elf, moxie-*-uclinux*): ... this.
9277 Add to extra_parts, remove crtbegin.o, crtend.o.
9278 (moxie-*-rtems*): New case.
9279 Set tmake_file.
9280 Clear extra_parts.
9281 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9282 Set extra_parts.
9283 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9284 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9285 tmake_file.
9286 Set extra_parts.
9287 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9288 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9289 Set extra_parts.
9290 (powerpc-*-eabisim*): Likewise.
9291 (powerpc-*-elf*): Likewise.
9292 (powerpc-*-eabialtivec*): Likewise.
9293 (powerpc-xilinx-eabi*): Likewise.
9294 (powerpc-*-eabi*): Likewise.
9295 (powerpc-*-rtems*): Likewise.
9296 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9297 tmake_file.
9298 Set extra_parts.
9299 (powerpc-*-lynxos*): Add to tmake_file.
9300 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9301 rs6000/t-crtstuff, t-crtstuff-pic.
9302 Set extra_parts.
9303 (powerpcle-*-eabisim*): Likewise.
9304 (powerpcle-*-eabi*): Likewise.
9305 (rx-*-elf): Remove extra_parts.
9306 (s390x-ibm-tpf*): Set extra_parts.
9307 (score-*-elf): Set extra_parts.
9308 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9309 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9310 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9311 (sh64l*-*-netbsd*): Split into ...
9312 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9313 Add t-crtstuff-pic to tmake_file.
9314 Set extra_parts.
9315 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9316 Set extra_parts.
9317 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9318 (sparc-*-elf*): Remove t-crtin from tmake_file.
9319 Add to extra_parts, remove crtbegin.o, crtend.o.
9320 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9321 (sparc64-*-linux*): Likewise.
9322 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9323 Add to extra_parts, remove crtbegin.o, crtend.o.
9324 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9325 Add to extra_parts, remove crtbegin.o, crtend.o.
9326 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9327 Add to extra_parts, remove crtbegin.o, crtend.o.
9328 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9329 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9330 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9331 Set extra_parts.
9332 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9333 Set extra_parts.
9334 (tic6x-*-*): Change to ...
9335 (tic6x-*-elf): ... this.
9336 Set extra_parts.
9337 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9338 Set extra_parts.
9339 (am33_2.0-*-linux*): Add comment.
9340 (mep*-*-*): Add mep/t-mep to tmake_file.
9341 Set extra_parts.
9342 * config/alpha/t-vms: New file.
9343 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9344 * config/arm/crti.S, config/arm/crtn.S: New files.
9345 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9346 * config/bfin/crtlibid.S: New file.
9347 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9348 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9349 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9350 (crti.o, crtin.o): New rules.
9351 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9352 * config/c6x/t-uclinux: New file.
9353 * config/cris/t-elfmulti: New file.
9354 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9355 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9356 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9357 * config/frv/t-frv: New file.
9358 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9359 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9360 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9361 New files.
9362 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9363 refer to cygming-crtbegin.c, cygming-crtend.c.
9364 Use $<.
9365 * config/i386/t-nto: New file.
9366 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9367 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9368 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9369 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9370 Use .S extension.
9371 Use $<.
9372 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9373 (crtinitS.o): New rule.
9374 * config/ia64/vms-crtinit.S: New file.
9375 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9376 * config/m32r/initfini.c: New file.
9377 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9378 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9379 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9380 * config/mep/t-mep: New file.
9381 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9382 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9383 * config/mips/crti.S, config/mips/crtn.S: New files.
9384 * config/mips/t-crtstuff: New file.
9385 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9386 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9387 (CUSTOM_CRTIN): Set.
9388 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9389 dependencies.
9390 Use $(srcdir) to refer to crti.S, crtn.S.
9391 Use .S extension, $<.
9392 * config/moxie/crti.asm: Rename to ...
9393 * config/moxie/crti.S: ... this.
9394 * config/moxie/crtn.asm: Rename to ...
9395 * config/moxie/crtn.S: ... this.
9396 * config/moxie/t-moxie: Remove.
9397 * config/pa/stublib.c: New file.
9398 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9399 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9400 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9401 * config/rs6000/t-crtstuff: New file.
9402 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9403 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9404 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9405 Make output file explicit.
9406 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9407 Make output file explicit.
9408 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9409 Make output file explicit.
9410 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9411 Make output file explicit.
9412 * config/score/crti.S, config/score/crtn.S: New files.
9413 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9414 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9415 files.
9416 * config/sh/t-sh, config/sh/t-superh: New files.
9417 * config/sparc/t-linux64: New file.
9418 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9419 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9420 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9421 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9422 * config/t-crtin: Remove.
9423 * config/t-crtstuff-pic: New file.
9424 * config/t-sol2 (CUSTOM_CRTIN): Set.
9425 (crti.o, crtn.o): New rules.
9426 * config/vms/t-vms: New file.
9427 * config/vms/vms-ucrt0.c: New file.
9428 * config/xtensa/t-elf: New file.
9429
9430 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9431
9432 * Makefile.in (SHLIB_NM_FLAGS): Set.
9433 * mkmap-flat.awk, mkmap-symver.awk: New files.
9434 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9435 exceptions.
9436 * configure: Regenerate.
9437 * config/libgcc-glibc.ver: New file.
9438 * config/libgcc-libsystem.ver: New file.
9439 * config/t-libunwind (SHLIB_LC): Set.
9440 * config/t-linux: New file.
9441 * config/t-slibgcc (INSTALL_SHLIB): New.
9442 (SHLIB_INSTALL): Use it.
9443 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9444 to mkmap-symver.awk.
9445 (SHLIB_MAPFILES): Don't append, adapt pathname.
9446 (SHLIB_VERPFX): Set.
9447 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9448 to mkmap-symver.awk.
9449 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9450 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9451 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9452 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9453 to mkmap-flat.awk.
9454 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9455 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9456 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9457 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9458 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9459 * config/i386/libgcc-darwin.10.4.ver,
9460 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9461 New files.
9462 * config/i386/t-darwin: Remove.
9463 * config/i386/t-darwin64: Likewise.
9464 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9465 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9466 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9467 * config/i386/t-linux: New file.
9468 * config/i386/t-mingw32: New file.
9469 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9470 * config/ia64/t-glibc: Rename to ...
9471 * config/ia64/t-linux: ... this.
9472 (SHLIB_MAPFILES): Set.
9473 * config/ia64/t-glibc-libunwind: Rename to ...
9474 * config/ia64/t-linux-libunwind: ... this.
9475 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9476 * config/ia64/t-slibgcc-hpux: New file.
9477 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9478 * config/m68k/t-slibgcc-elf-ver: New file.
9479 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9480 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9481 to mkmap-flat.awk.
9482 * config/pa/t-slibgcc-hpux: New file.
9483 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9484 files.
9485 * config/rs6000/libgcc-darwin.10.4.ver,
9486 config/rs6000/libgcc-darwin.10.5.ver: New files.
9487 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9488 config/rs6000/libgcc-glibc.ver.
9489 * config/rs6000/libgcc-ppc64.ver: Rename to
9490 config/rs6000/libgcc-ibm-ldouble.ver.
9491 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9492 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9493 * config/rs6000/t-ldbl128: Rename to ...
9494 * config/rs6000/t-linux: ... this.
9495 (SHLIB_MAPFILES): Adapt filename.
9496 * config/rs6000/t-slibgcc-aix: New file.
9497 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9498 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9499 libgcc-excl.ver, libgcc-glibc.ver.
9500 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9501 * config/sparc/libgcc-glibc.ver: New file.
9502 * config/sparc/t-linux: New file.
9503 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9504 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9505 t-slibgcc-elf-ver to tmake_file.
9506 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9507 *-*-freebsd[34].
9508 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9509 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9510 t-slibgcc-elf-ver, t-linux to tmake_file.
9511 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9512 tmake_file.
9513 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9514 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9515 (alpha*-dec-*vms*): Likewise.
9516 (arm*-*-freebsd*): Append to tmake_file.
9517 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9518 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9519 arm*-*-linux-*eabi.
9520 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9521 tmake_file for arm*-*-symbianelf*.
9522 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9523 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9524 cris/t-linux.
9525 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9526 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9527 pa/t-slibgcc-dwarf-ver to tmake_file.
9528 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9529 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9530 (hppa*64*-*-hpux11*): Likewise.
9531 (hppa[12]*-*-hpux11*): Likewise.
9532 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9533 i386/t-crtpc, i386/t-crtfm.
9534 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9535 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9536 to tmake_file.
9537 Add i386/t-cygwin to tmake_file.
9538 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9539 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9540 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9541 to tmake_file.
9542 Add i386/t-mingw32 to tmake_file.
9543 (x86_64-*-mingw*): Likewise.
9544 (ia64*-*-freebsd*): Append to tmake_file.
9545 (ia64*-*-linux*): Append to tmake_file.
9546 Replace ia64/t-glibc by ia64/t-linux.
9547 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9548 system libunwind.
9549 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9550 t-slibgcc-hpux to tmake_file.
9551 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9552 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9553 (m32rle-*-linux*): Likewise.
9554 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9555 sjlj exceptions.
9556 (microblaze*-linux*): New case.
9557 Append to tmake_file, add t-slibgcc-nolc-override.
9558 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9559 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9560 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9561 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9562 rs6000/t-slibgcc-aix to tmake_file.
9563 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9564 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9565 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9566 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9567 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9568 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9569 sh*-*-linux*.
9570 (sparc-*-linux*): Append to tmake_file for *-leon*.
9571 Add sparc/t-linux to tmake_file for non-Leon targets.
9572 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9573 (tic6x-*-uclinux): New case.
9574 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9575 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9576 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9577 (am33_2.0-*-linux*): Append to tmake_file.
9578 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9579 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9580 x86_64-*-kfreebsd*-gnu.
9581 Add i386/t-linux to tmake_file.
9582
9583 2011-10-28 Ian Lance Taylor <iant@google.com>
9584
9585 * config/i386/morestack.S: Correct CFI information to do proper
9586 returns throughout function. In 32-bit mode, save %ebx so that it
9587 is restored on unwind.
9588
9589 2011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9590
9591 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9592 case where B3 isn't the return register.
9593
9594 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9595 logic for doubleword pops.
9596
9597 2011-10-25 Andreas Tobler <andreast@fgznet.ch>
9598
9599 * config/rs6000/t-freebsd: Add wildcard.
9600
9601 2011-10-21 Paul Brook <paul@codesourcery.com>
9602
9603 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9604
9605 2011-10-16 Uros Bizjak <ubizjak@gmail.com>
9606 Eric Botcazou <ebotcazou@adacore.com>
9607
9608 PR target/50737
9609 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9610 fs->signal_frame to 1.
9611
9612 2011-10-07 Ian Lance Taylor <iant@google.com>
9613
9614 * generic-morestack-thread.c: #include <errno.h>.
9615
9616 2011-10-07 Ian Lance Taylor <iant@google.com>
9617
9618 PR target/46093
9619 * generic-morestack.c (__generic_morestack): Make sure the segment
9620 is large enough for both the stack frame and the copied
9621 parameters.
9622
9623 2011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9624
9625 PR bootstrap/49804
9626 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9627 extra_parts.
9628
9629 2011-09-28 Nick Clifton <nickc@redhat.com>
9630
9631 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9632 64-bit doubles are not enabled.
9633 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9634 and floatunsisf functions.
9635
9636 2011-09-13 Paul Brook <paul@codesourcery.com>
9637
9638 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9639 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9640 * unwind-arm-common.inc: New file.
9641 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9642 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9643 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9644 * config/c6x/libunwind.S: New file.
9645 * config/c6x/pr-support.c: New file.
9646 * config/c6x/unwind-c6x.c: New file.
9647 * config/c6x/unwind-c6x.h: New file.
9648 * config/c6x/t-c6x-elf: New file.
9649
9650 2011-08-23 Uros Bizjak <ubizjak@gmail.com>
9651
9652 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9653 (ASM_DIVZERO): Ditto.
9654 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9655
9656 2011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9657
9658 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9659
9660 2011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9661
9662 PR target/50090
9663 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9664 instead of an assembly one.
9665
9666 2011-08-12 Paolo Bonzini <bonzini@gnu.org>
9667
9668 PR bootstrap/50047
9669 * Makefile.in (install-unwind_h): Create
9670 $(gcc_objdir)/include/unwind.h atomically.
9671
9672 2011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9673
9674 * Makefile.in (install-unwind_h): Remove destination file first.
9675
9676 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9677
9678 * sync.c: New file.
9679 * config/mips/t-mips16: New file.
9680 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9681 (mips*-*-linux*): Likewise.
9682 (mips*-sde-elf*): Likewise.
9683 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9684 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9685 Add mips/t-mips16 to tmake_file.
9686 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9687 (mips-*-elf*): Likewise.
9688 (mips64-*-elf*): Likewise.
9689 (mips64orion-*-elf*): Likewise.
9690 (mips*-*-rtems*): Likewise.
9691 (mipstx39-*-elf*): Likewise.
9692 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9693 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9694 LIBGCC_SYNC_CFLAGS.
9695 Use $(srcdir) to refer to sync.c.
9696 Use $<.
9697 ($(libgcc-sync-funcs-o)): Likewise.
9698 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9699 ($(libgcc-sync-funcs-s-o)): Likewise.
9700
9701 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9702
9703 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9704 t-libunwind.
9705
9706 2011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9707
9708 PR other/48007
9709 * config/i386/value-unwind.h: New.
9710
9711 2011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9712
9713 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9714 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9715 Add to tmake_file rather than overriding it.
9716
9717 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9718
9719 * config/t-softfp: Remove.
9720 * soft-fp: Moved from ../gcc/config.
9721 * soft-fp/README: Remove t-softfp reference.
9722 * soft-fp/t-softfp: Move to config/t-softfp.
9723 (softfp_machine_header): Remove.
9724 (softfp_file_list): Remove config subdir.
9725 (soft-fp-objects): New variable.
9726 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9727 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9728 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9729 * config/t-softfp-excl: New file.
9730 * config/t-softfp-sfdf: New file.
9731 * config/t-softfp-tf: New file.
9732 * config/no-sfp-machine.h: New file.
9733 * config/arm/sfp-machine.h: New file.
9734 * config/arm/t-softfp: New file.
9735 * config/c6x/sfp-machine.h: New file.
9736 * config/i386/32/t-fprules-softfp: Rename to ...
9737 * config/i386/32/t-softfp: ... this.
9738 (tifunctions, LIB2ADD): Remove.
9739 (softfp_int_modes): Override.
9740 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9741 subdir.
9742 * config/i386/64/eqtf2.c: Likewise.
9743 * config/i386/64/getf2.c: Likewise.
9744 * config/i386/64/letf2.c: Likewise.
9745 * config/ia64/sft-machine.h: New file.
9746 * config/ia64/t-fprules-softfp: Rename to ...
9747 * config/ia64/t-softfp: ... this.
9748 * config/lm32/sfp-machine.h: New file.
9749 * config/moxie/t-moxie-softfp: Remove.
9750 * config/rs6000/ibm-ldouble-format: New file.
9751 * config/rs6000/ibm-ldouble.c: New file.
9752 * config/rs6000/libgcc-ppc-glibc.ver: New file
9753 * config/rs6000/libgcc-ppc64.ver: New file
9754 * config/rs6000/sfp-machine.h: New file.
9755 * config/rs6000/t-freebsd: New file.
9756 * config/rs6000/t-ibm-ldouble: New file.
9757 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9758 libgcc-ppc-glibc.ver.
9759 * config/rs6000/t-linux64: New file.
9760 * config/rs6000/t-ppccomm (LIB2ADD): Add
9761 $(srcdir)/config/rs6000/ibm-ldouble.c.
9762 * config/rs6000/t-ppccomm-ldbl: New file.
9763 * config/score/sfp-machine.h: New file.
9764 * config.host (sfp_machine_header): Explain.
9765 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9766 t-softfp to tmake_file.
9767 (arm*-*-uclinux*): Likewise.
9768 (arm*-*-ecos-elf): Likewise.
9769 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9770 (arm*-*-rtems*): Likewise.
9771 (arm*-*-elf): Likewise.
9772 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9773 in tmake_file.
9774 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9775 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9776 (lm32-*-uclinux*): Likewise.
9777 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9778 t-softfp-excl, t-softfp.
9779 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9780 (powerpc64-*-darwin*): Likewise.
9781 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9782 to tmake_file.
9783 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9784 tmake_file.
9785 (powerpc-*-eabisim*): Likewise.
9786 (powerpc-*-elf*): Likewise.
9787 (powerpc-*-eabialtivec*): Likewise.
9788 (powerpc-xilinx-eabi*): Likewise.
9789 (powerpc-*-rtems*): Likewise.
9790 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9791 t-softfp-excl, t-softfp to tmake_file.
9792 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9793 rs6000/t-ppccomm-ldbl to tmake_file.
9794 (powerpcle-*-elf*): Likewise.
9795 (powerpcle-*-eabisim*): Likewise.
9796 (powerpcle-*-eabi*): Likewise.
9797 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9798 rs6000/t-ibm-ldouble to tmake_file.
9799 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9800 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9801 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9802 (tic6x-*-*): Likewise.
9803 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9804 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9805 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9806 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9807 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9808 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9809 t-softfp to tmake_file.
9810 * configure.ac (sfp_machine_header): Provide default if unset.
9811 Substitute.
9812 Link sfp-machine.h to config/$sfp_machine_header.
9813 * configure: Regenerate.
9814
9815 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9816
9817 * Makefile.in (double_type_size, long_double_type_size): Set.
9818 Remove $(fpbit-in-libgcc) support.
9819 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9820 (fpbit-src): New variable.
9821 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9822 Compile with -DFLOAT $(FPBIT_CFLAGS).
9823 Use $<.
9824 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9825 Compile with $(FPBIT_CFLAGS).
9826 Use $<.
9827 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9828 Compile with -DFLOAT $(TPBIT_CFLAGS).
9829 Use $<.
9830 * configure.ac (double_type_size, long_double_type_size):
9831 Determine and substitute.
9832 * configure: Regenerate.
9833 * fp-bit.c, fp-bit.h: New files.
9834 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9835 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9836 * config/mips/t-mips: New file.
9837 * config/mips/t-sdemtk: New file.
9838 * config/rs6000/ppc64-fp.c: New file.
9839 * config/rs6000/t-darwin (LIB2ADD): Add
9840 $(srcdir)/config/rs6000/ppc64-fp.c.
9841 * config/rs6000/t-ppc64-fp: New file.
9842 * config/rx/rx-lib.h: New file.
9843 * config/rx/t-rx (FPBIT): Set to true.
9844 ($(gcc_objdir)/fp-bit.c): Remove.
9845 (DPBIT): Set to true only with -m64bit-doubles.
9846 ($(gcc_objdir)/dp-bit.c): Remove.
9847 * config/sparc/t-softfp: Remove.
9848 * config/spu/t-elf: New file.
9849 * config/t-fdpbit, config/t-fpbit: New files.
9850 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9851 (mips*-*-*): Likewise.
9852 (arm-wrs-vxworks): Likewise.
9853 (arm*-*-freebsd*): Likewise.
9854 (avr-*-rtems*): Add t-fpbit to tmake_file.
9855 (avr-*-*): Likewise.
9856 (bfin*-elf*): Add t-fdpbit to tmake_file.
9857 (bfin*-uclinux*): Likewise.
9858 (bfin*-linux-uclibc*): Likewise.
9859 (bfin*-rtems*): New case.
9860 Add t-fdpbit to tmake_file.
9861 (bfin*-*): Add t-fdpbit to tmake_file.
9862 (crisv32-*-elf): Likewise.
9863 (cris-*-linux*): Likewise.
9864 (fr30-*-elf): Likewise.
9865 (frv-*-elf, frv-*-*linux*): Likewise.
9866 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9867 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9868 (m32r-*-elf*): Likewise.
9869 (m32rle-*-elf*): Likewise.
9870 (m32r-*-linux*): Likewise.
9871 (m32rle-*-linux*): Likewise.
9872 (mcore-*-elf): Add t-fdpbit to tmake_file.
9873 (microblaze*-*-*): Likewise.
9874 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9875 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9876 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9877 Fix typo.
9878 Add mips/t-tpbit to tmake-file.
9879 (mips*-*-linux*): Fix typo.
9880 (mips*-sde-elf*): New case
9881 Add mips/t-sdemtk unless using newlib.
9882 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9883 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9884 (mn10300-*-*): Likewise.
9885 (pdp11-*-*): Likewise.
9886 (picochip-*-*): Add t-fpbit to tmake_file.
9887 (powerpc-*-eabisimaltivec*): Likewise.
9888 (powerpc-*-eabisim*): Likewise.
9889 (powerpc-*-elf*): Likewise.
9890 (powerpc-*-eabialtivec*): Likewise.
9891 (powerpc-xilinx-eabi*): New case.
9892 Add t-fdpbit to tmake_file.
9893 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9894 (powerpc-*-rtems*): Likewise.
9895 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9896 tmake_file.
9897 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9898 tmake_file.
9899 (powerpc-*-lynxos*): Likewise.
9900 (powerpcle-*-elf*): Likewise.
9901 (powerpcle-*-eabisim*): Likewise.
9902 (powerpcle-*-eabi*): Likewise.
9903 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9904 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9905 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9906 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9907 (rx-*-elf): Add t-fdpbit to tmake_file.
9908 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9909 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9910 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9911 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9912 sh*-*-netbsd*.
9913 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9914 (sh-wrs-vxworks): Likewise.
9915 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9916 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9917 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9918 (sparc64-*-rtems*): ... new case.
9919 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9920 (spu-*-elf*): Likewise.
9921 Add spu/t-elf to tmake_file.
9922 (v850*-*-*): Add t-fdpbit to tmake_file.
9923 (xstormy16-*-elf): Likewise.
9924 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9925 (mep*-*-*): Likewise.
9926
9927 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9928
9929 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9930 variables.
9931 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9932 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9933 (install-unwind_h): New target.
9934 (all): Depend on it.
9935 * config.host (unwind_header): New variable.
9936 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9937 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9938 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9939 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9940 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9941 Set unwind_header.
9942 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9943 Set unwind_header.
9944 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9945 arm*-*-eabi*.
9946 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9947 Set unwind_header.
9948 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9949 (ia64*-*-freebsd*): Likewise.
9950 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9951 tmake_file.
9952 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9953 $with_system_libunwind.
9954 (ia64*-*-hpux*): Set tmake_file.
9955 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9956 (picochip-*-*): Set tmake_file.
9957 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9958 md_unwind_header.
9959 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9960 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9961 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9962 (xtensa*-*-elf*): Set tmake_file.
9963 (xtensa*-*-linux*): Likewise.
9964 * configure.ac: Include ../config/unwind_ipinfo.m4.
9965 Call GCC_CHECK_UNWIND_GETIPINFO.
9966 Link unwind.h to $unwind_header.
9967 * configure: Regenerate.
9968 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9969 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9970 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9971 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9972 * config/unwind-dw2-fde-darwin.c: New file.
9973 * config/arm/libunwind.S, config/arm/pr-support.c,
9974 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9975 config/arm/unwind-arm.h,: New files.
9976 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9977 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9978 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9979 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9980 config/ia64/unwind-ia64.h: New files.
9981 * config/picochip/t-picochip: New file.
9982 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9983 files.
9984 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9985 * config/s390/t-tpf (LIB2ADDEH): Remove.
9986 * config/t-darwin (LIB2ADDEH): Set.
9987 * config/t-eh-dw2-dip: New file.
9988 * config/t-libunwind, config/t-libunwind-elf: New files.
9989 * config/t-sol2 (LIB2ADDEH): Remove.
9990 * config/xtensa/t-xtensa: New file.
9991
9992 2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9993
9994 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9995 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9996 long long to check rt_sigreturn syscall.
9997
9998 2011-08-02 Alan Modra <amodra@gmail.com>
9999
10000 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10001 Restore for indirect call bcrtl from correct stack slot, and only
10002 if cfa+40 isn't valid.
10003
10004 2011-08-01 Julian Brown <julian@codesourcery.com>
10005
10006 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
10007 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
10008 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
10009
10010 2011-08-01 Julian Brown <julian@codesourcery.com>
10011
10012 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
10013 (libgcc-std.ver.in): Use above.
10014 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
10015 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
10016 throughout file.
10017 * config/t-fixedpoint-gnu-prefix: New file.
10018 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
10019 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
10020 instead of __PFX__.
10021
10022 2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
10023
10024 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
10025 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
10026 for x86-64. Properly check __x86_64__ and __LP64__.
10027
10028 2010-07-28 H.J. Lu <hongjiu.lu@intel.com>
10029
10030 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
10031 version.
10032 (_FP_WS_TYPE): Likewise.
10033 (_FP_I_TYPE): Likewise.
10034
10035 2011-07-28 Alan Modra <amodra@gmail.com>
10036
10037 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
10038 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
10039 in a plt call stub. Do restore r2 if stopped on bctrl.
10040
10041 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10042
10043 * config.host (i[3456x]86-*-netware*): Remove.
10044 * config/i386/netware-crt0.c, config/i386/t-nwld,
10045 config/i386/t-slibgcc-nwld: Remove.
10046
10047 2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
10048
10049 * config.host: Handle tic6x-*-*.
10050 * config/c6x/c6x-abi.h: New file.
10051
10052 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10053
10054 * config/i386/crtprec.c: New file.
10055 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
10056 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
10057 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
10058 (x86_64-*-darwin*): Likewise.
10059 (i[34567]86-*-solaris2*: Likewise.
10060
10061 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10062
10063 * config/alpha/crtfastmath.c: New file.
10064 * config/i386/crtfastmath.c: New file.
10065 * config/ia64/crtfastmath.c: New file.
10066 * config/mips/crtfastmath.c: New file.
10067 * config/sparc/crtfastmath.c: New file.
10068
10069 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
10070 crtfastmath.c.
10071 Add -frandom-seed=gcc-crtfastmath.
10072 * config/alpha/t-crtfm: Remove.
10073 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
10074 * config/ia64/t-ia64 (crtfastmath.o): Remove.
10075
10076 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10077 (alpha*-dec-osf5.1*): Likewise.
10078 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10079 Add crtfastmath.o to extra_parts.
10080 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10081 Add crtfastmath.o to extra_parts.
10082 (x86_64-*-darwin*): Likewise.
10083 (x86_64-*-mingw*): Likewise.
10084 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10085 (ia64*-*-freebsd*): Likewise.
10086 (ia64*-*-linux*): Likewise.
10087 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10088 Add crtfastmath.o to extra_parts.
10089
10090 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10091
10092 * config/darwin-crt3.o: New file.
10093 * config/rs6000/darwin-crt2.c: New file.
10094 * config/t-darwin: New file.
10095 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10096 (crt2.o): New rule.
10097 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10098 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10099 (powerpc64-*-darwin*): Likewise.
10100
10101 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10102
10103 * config/i386/netware-crt0.c: New file.
10104 * config/i386/t-nwld: Rename to ...
10105 * config/i386/t-slibgcc-nwld: ... this.
10106 * config/i386/t-nwld: New file.
10107 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10108 tmake_file.
10109 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10110 extra_parts.
10111
10112 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10113
10114 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10115 i386/t-crtstuff.
10116 * configure: Regenerate.
10117
10118 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10119
10120 * dfp-bit.c, dfp-bit.h: New files.
10121 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10122 variables.
10123 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10124 ($(d64pbit-o)): Likewise.
10125 ($(d128pbit-o)): Likewise.
10126 * config/t-dfprules: New file.
10127 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10128 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10129 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10130 (x86_64-*-linux*): Likewise.
10131 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10132 (i[34567]86-*-cygwin*): Likewise.
10133 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10134 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10135
10136 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10137
10138 * Makfile.in (LIBGCOV): New variable.
10139 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10140 * libgcov.c: New file.
10141
10142 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10143
10144 * fixed-bit.c, fixed-bit.h: New files.
10145 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10146 refer to fixed-bit.c.
10147
10148 2011-07-07 Joseph Myers <joseph@codesourcery.com>
10149
10150 * config.host (*local*): Remove.
10151
10152 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10153
10154 PR target/39150
10155 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10156 like i?86-*-solaris2.1[0-9]*.
10157 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10158 * configure.ac (i?86-*-solaris2*): Likewise.
10159 * configure: Regenerate.
10160
10161 2011-07-06 Thomas Schwinge <thomas@schwinge.name>
10162
10163 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10164 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10165 md_unwind_header by splitting out of...
10166 (i[34567]86-*-linux*): ... this.
10167 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10168 Remove md_unwind_header by splitting out of...
10169 (x86_64-*-linux*): ... this.
10170
10171 2011-07-04 Georg-Johann Lay <avr@gjlay.de>
10172
10173 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10174
10175 2011-06-28 Nick Clifton <nickc@redhat.com>
10176
10177 * config.host: Recognize all V850 variants.
10178
10179 2011-06-22 Uros Bizjak <ubizjak@gmail.com>
10180
10181 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10182
10183 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10184
10185 * shared-object.mk (c_flags-$o): Save c_flags.
10186 ($(base)$(objext)): Use it.
10187 ($(base)_s$(objext)): Likewise.
10188
10189 2011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10190
10191 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10192 * libgcc-std.ver.in (GCC_4.7.0): New section.
10193
10194 2011-06-16 Georg-Johann Lay <avr@gjlay.de>
10195
10196 PR target/49313
10197 PR target/29524
10198 * config/avr/t-avr: Fix line endings.
10199 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10200 _parityXX2.
10201
10202 2011-06-14 Olivier Hainque <hainque@adacore.com>
10203 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10204
10205 * config/mips/irix6-unwind.h: New file.
10206 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10207
10208 2011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10209
10210 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10211 (sparc64_fallback_frame_state): Use it.
10212 (sparc64_frob_update_context): Further adjust context.
10213 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10214 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10215 * config/sparc/sol2-cn.S: Likewise.
10216
10217 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10218
10219 * enable-execute-stack-empty.c: New file.
10220 * enable-execute-stack-mprotect.c: New file.
10221 * config/i386/enable-execute-stack-mingw32.c: New file.
10222 * config.host (enable_execute_stack): New variable.
10223 Select appropriate variants.
10224 * configure.ac: Link enable-execute-stack.c to
10225 $enable_execute_stack.
10226 * configure: Regenerate.
10227 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10228 (lib2funcs): Remove _enable_execute_stack.
10229
10230 2011-06-09 David S. Miller <davem@davemloft.net>
10231 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10232
10233 * config.host (sparc-*-linux*): Correct md_unwind_header
10234 filename.
10235 (s390x-ibm-tpf*): Fix typo.
10236
10237 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10238
10239 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10240 Add crtfastmath.o to extra_parts.
10241 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10242 mips/t-crtfm.
10243 * config/mips/t-crtfm: Remove.
10244
10245 2011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10246
10247 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10248
10249 2011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10250
10251 * config.host (sh*-*-linux*): Fix typo.
10252
10253 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10254
10255 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10256 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10257 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10258 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10259 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10260 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10261 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10262 Wrap in !__MINGW64__.
10263 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10264 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10265 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10266 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10267 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10268 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10269 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10270 Wrap in !__LP64__.
10271 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10272 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10273 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10274 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10275 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10276 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10277 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10278 * config/no-unwind.h: New file.
10279 * config.host (md_unwind_header): Document.
10280 Define.
10281 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10282 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10283 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10284 hppa[12]*-*-hpux11*): Set md_unwind_header.
10285 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10286 Set md_unwind_header.
10287 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10288 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10289 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10290 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10291 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10292 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10293 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10294 md_unwind_header.
10295 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10296 * configure: Regenerate.
10297
10298 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10299
10300 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10301 Set tmake_file, extra_parts.
10302 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10303 Remove O32 support.
10304 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10305 Remove O32 support.
10306 * config/mips/t-irix6: New file.
10307 * config/mips/t-slibgcc-irix: New file.
10308
10309 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10310
10311 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10312 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10313
10314 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10315
10316 * configure.ac (target_thread_file): Determine thread model.
10317 * configure: Regenerate.
10318 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10319 * config/alpha/t-alpha: New file.
10320 * config/alpha/t-crtfm: Use $<.
10321 * config/alpha/t-ieee: New file.
10322 * config/alpha/t-osf-pthread: New file.
10323 * config/alpha/t-slibgcc-osf: New file.
10324 * config/alpha/libgcc-osf5.ver: New file.
10325
10326 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10327
10328 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10329 tmake_file.
10330 Add crtfastmath.o to extra_parts.
10331
10332 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10333
10334 * config/gmon-sol2.c: Reindent.
10335 Cleanup comments.
10336 Remove, correct casts.
10337 Use STDERR_FILENO, NULL.
10338 (BASEADDRESS): Remove.
10339 (minbrk): Remove.
10340 (errno, sbrk): Remove declarations.
10341 (monstartup) [hp300]: Remove.
10342 (mcount): Remove.
10343
10344 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10345
10346 * Makefile.in (cpu_type): Define.
10347 * config.host (i[34567]86-*-rtems*): Handle it.
10348 (i[34567]86-*-solaris2*): Move body ...
10349 (*-*-solaris2*): ... here.
10350 New case, generalize.
10351 (sparc-*-elf*): Handle it.
10352 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10353 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10354 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10355 Fold into ...
10356 (sparc*-*-solaris2*): ... this.
10357 New case.
10358 (sparc64-*-elf*): Handle it.
10359 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10360 Merge ../gcc/config/i386/gmon-sol2.c.
10361 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10362 Use C comments.
10363 Merge ../gcc/config/i386/sol2-gc1.asm.
10364 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10365 Use C comments.
10366 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10367 Use C comments.
10368 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10369 * config/i386/t-crtstuff: New file.
10370 * config/i386/t-softfp: New file.
10371 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10372 $(T)crti.o, $(T)crtn.o): Remove.
10373 (gcrt1.o): New rule.
10374 (TARGET_LIBGCC2_CFLAGS): Remove.
10375 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10376 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10377 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10378 * config/sparc/t-sol2: New file.
10379 * config/sparc/t-crtfm: Move to ...
10380 * config/t-crtfm: ... this.
10381 Use $(cpu_type), $<.
10382 * config/t-crtin: New file.
10383 * config/sparc/t-softfp: New file.
10384 * config/sparc/t-softmul: New file.
10385 * config/t-rtems: New file.
10386 * config/t-slibgcc: New file.
10387 * config/t-slibgcc-elf-ver: New file.
10388 * config/t-slibgcc-gld: New file.
10389 * config/t-slibgcc-sld: New file.
10390 * config/t-sol2: New file.
10391 * configure.ac: Include ../config/lib-ld.m4.
10392 Call AC_LIB_PROG_LD_GNU.
10393 Substitute cpu_type.
10394 * configure: Regenerate.
10395
10396 2011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10397
10398 PR bootstrap/49173
10399 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10400 libgcc-std.ver in the build directory.
10401 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10402 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10403
10404 2011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10405
10406 * libgcc-std.ver.in: New file.
10407 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10408 variables.
10409 (libgcc-std.ver): New rule.
10410 * config/t-gnu-prefix: New file.
10411
10412 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10413
10414 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10415
10416 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10417
10418 * config/i386/darwin-lib.h: New file.
10419
10420 2011-05-10 Joseph Myers <joseph@codesourcery.com>
10421
10422 * config/arm/symbian-lib.h: New.
10423
10424 2011-05-04 Chris Demetriou <cgd@google.com>
10425
10426 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10427 (__x86.get_pc_thunk.bx): ...this.
10428 (__morestack): Adjust for rename, remove undef of __i686.
10429
10430 2011-05-03 Chris Demetriou <cgd@google.com>
10431
10432 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10433
10434 2011-03-22 Joseph Myers <joseph@codesourcery.com>
10435
10436 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10437 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10438 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10439 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10440 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10441 Remove cases.
10442
10443 2011-03-14 Andreas Tobler <andreast@fgznet.ch>
10444
10445 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10446 Adjust copyright year.
10447
10448 2011-03-07 Ian Lance Taylor <iant@google.com>
10449
10450 * generic-morestack.c (__splitstack_find): Adjust returned stack
10451 pointer to include all registers pushed by __morestack.
10452
10453 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10454
10455 PR target/40125
10456 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10457 (toolexecdir): Calculate and AC_SUBST.
10458 (toolexeclibdir): Likewise.
10459 * Makefile.in (target_noncanonical): Import.
10460 (toolexecdir): Likewise.
10461 (toolexeclibdir): Likewise.
10462 * configure: Regenerate.
10463
10464 2010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10465
10466 PR target/46040
10467 * config/arm/bpabi.h: Rename to...
10468 * config/arm/bpabi-lib.h: ...this.
10469
10470 2010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10471
10472 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10473 appropriate.
10474 * configure: Regenerate.
10475
10476 2010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10477
10478 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10479 __FLOAT_WORD_ORDER__.
10480 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10481 Delete.
10482
10483 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10484
10485 PR other/46202
10486 * Makefile.in (install-strip): New phony target.
10487
10488 2010-11-07 Ian Lance Taylor <iant@google.com>
10489
10490 PR target/46089
10491 * config/i386/morestack.S (__morestack_large_model): New
10492 function.
10493
10494 2010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10495
10496 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10497 Delete.
10498 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10499
10500 2010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10501
10502 * config/arm/bpabi.h: New file.
10503 * config/frv/frv-abi.h: New file.
10504
10505 2010-10-01 Ian Lance Taylor <iant@google.com>
10506
10507 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10508 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10509
10510 2010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10511
10512 PR target/45858
10513 * config.host: Add the missing `$'.
10514
10515 2010-09-30 Michael Eager <eager@eagercon.com>
10516
10517 * config.host: Add microblaze*-*-*.
10518 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10519 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10520 udivsi3.asm,umodsi3.asm}: New.
10521
10522 2010-09-28 Ian Lance Taylor <iant@google.com>
10523
10524 * configure.ac: Adjust CFI test to test assembler directly rather
10525 than checking gcc preprocessor macro.
10526 * configure: Rebuild.
10527
10528 2010-09-27 Ian Lance Taylor <iant@google.com>
10529
10530 * configure.ac: Test whether assembler supports CFI directives.
10531 * config.host: Only add t-stack and i386/t-stack-i386 to
10532 tmake_file if libgcc_cv_cfi is "yes".
10533 * configure: Rebuild.
10534
10535 2010-09-27 Ian Lance Taylor <iant@google.com>
10536
10537 * generic-morestack.h: New file.
10538 * generic-morestack.c: New file.
10539 * generic-morestack-thread.c: New file.
10540 * config/i386/morestack.S: New file.
10541 * config/t-stack: New file.
10542 * config/i386/t-stack-i386: New file.
10543 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10544 i386/t-stack-i386 to tmake_file.
10545
10546 2010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10547
10548 * Makefile.in (libgcc-extra-parts): Check for static archives and
10549 invoke ranlib after installing them.
10550 (gcc-extra-parts): Likewise.
10551 (install-leaf): Likewise.
10552
10553 2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10554
10555 * configure: Regenerated.
10556
10557 2010-09-10 Kai Tietz <kai.tietz@onevision.com>
10558
10559 * configure: Regenerated.
10560
10561 2010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10562 Andrew Pinski <pinskia@gmail.com>
10563
10564 PR target/40959
10565 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10566
10567 2010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10568
10569 PR target/45524
10570 * configure: Regenerated.
10571
10572 2010-09-06 Andreas Schwab <schwab@redhat.com>
10573
10574 * configure: Regenerate.
10575
10576 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10577
10578 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10579 64bit targets.
10580 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10581 for 64bit targets.
10582
10583 2010-09-03 Uros Bizjak <ubizjak@gmail.com>
10584 Iain Sandoe <iains@gcc.gnu.org>
10585
10586 PR target/45476
10587 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10588 LIB2FUNCS_EXCLUDE functions.
10589
10590 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10591
10592 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10593 Include dfp.m4.
10594 * configure: Regenerate.
10595
10596 2010-09-01 Uros Bizjak <ubizjak@gmail.com>
10597
10598 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10599 i386/t-freebsd to tmake_file.
10600 * config/i386/t-freebsd: New file.
10601 * config/i386/libgcc-bsd.ver: New file.
10602
10603 2010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10604
10605 * config.host (powerpc*-eabispe*): Set tmake_file.
10606 (powerpc*-eabi*): Likewise.
10607 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10608 crtbeginS, crtendS, crtbeginT.
10609
10610 2010-06-12 Kazu Hirata <kazu@codesourcery.com>
10611
10612 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10613 to tmake_file. Add crtfastmath.o to extra_parts.
10614 * config/mips/t-crtfm: New.
10615
10616 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
10617
10618 * config.host (sparc64-*-rtems*): New target.
10619
10620 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10621
10622 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10623 assembler syntax.
10624
10625 2010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10626
10627 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10628
10629 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10630
10631 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10632 alpha-dec-osf5.0* support.
10633
10634 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
10635
10636 * config.host: Add lm32-*-rtems*.
10637
10638 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10639 Uros Bizjak <ubizjak@gmail.com>
10640
10641 PR target/39048
10642 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10643 like other remaining 32-bit x86 OSes.
10644 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10645 assembler syntax.
10646 * config/i386/libgcc-sol2.ver: New file.
10647 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10648
10649 2010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
10650
10651 PR c/43553
10652 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10653 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10654 is used and substitute set_use_emutls.
10655 * configure: Regenerated.
10656
10657 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10658
10659 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10660
10661 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10662
10663 PR target/38085
10664 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10665 MULTILIB_CFLAGS.
10666 ($(T)gcrt1.o): Likewise.
10667 ($(T)crt1.o): Likewise.
10668 ($(T)crti.o): Likewise.
10669 ($(T)crtn.o): Likewise.
10670
10671 2010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10672
10673 PR other/42980
10674 * Makefile.in (install): Use $(MAKE) string in rule, for
10675 parallel make.
10676
10677 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10678
10679 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10680 * config/mmix/t-mmix: New file.
10681 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10682
10683 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10684
10685 PR java/41991
10686 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10687 SHLIB_MAPFILES.
10688
10689 2010-01-04 Anthony Green <green@moxielogic.com>
10690
10691 * config/moxie/crti.asm, config/moxie/crtn.asm,
10692 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10693 config/moxie/t-moxie: New files.
10694 * config.host: Add t-moxie-softfp reference.
10695
10696 2009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
10697
10698 PR other/39888
10699 * config/t-slibgcc-darwin: Fix embedded rpaths for
10700 --enable-version-specific-runtime-libs, build extension stub
10701 libs exposing features available from current libgcc_s.
10702
10703 2009-11-11 Jon Beniston <jon@beniston.com>
10704
10705 * config.host: Add lm32 targets.
10706 * config/lm32: New directory.
10707 * config/lm32/libgcc_lm32.h: New file.
10708 * config/lm32/_mulsi3.c: New file.
10709 * config/lm32/_udivmodsi4.c: New file.
10710 * config/lm32/_divsi3.c: New file.
10711 * config/lm32/_modsi3.c: New file.
10712 * config/lm32/_udivsi3.c: New file.
10713 * config/lm32/_umodsi3.c: New file.
10714 * config/lm32/_lshrsi3.S: New file.
10715 * config/lm32/_ashrsi3.S: New file.
10716 * config/lm32/_ashlsi3.S: New file.
10717 * config/lm32/crti.S: New file.
10718 * config/lm32/crtn.S: New file.
10719 * config/lm32/t-lm32: New file.
10720 * config/lm32/t-elf: New file.
10721 * config/lm32/t-uclinux: New file.
10722
10723 2009-10-26 Nick Clifton <nickc@redhat.com>
10724
10725 * config.host: Add support for RX target.
10726 * config/rx: New directory.
10727 * config/rx/rx-abi-functions.c: New file. Supplementary
10728 functions for libgcc to support the RX ABI.
10729 * config/rx/rx-abi.h: New file. Supplementary header file for
10730 libgcc RX ABI functions.
10731 * config/rx/t-rx: New file: Makefile fragment for building
10732 libgcc for the RX.
10733
10734 2009-10-09 Uros Bizjak <ubizjak@gmail.com>
10735
10736 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10737 constraint of y0 to "g".
10738
10739 2009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10740
10741 * config.host: Include the s390 makefile fragments.
10742 * config/s390/32/_fixdfdi.c: New file.
10743 * config/s390/32/_fixsfdi.c: New file.
10744 * config/s390/32/_fixtfdi.c: New file.
10745 * config/s390/32/_fixunsdfdi.c: New file.
10746 * config/s390/32/_fixunssfdi.c: New file.
10747 * config/s390/32/_fixunstfdi.c: New file.
10748 * config/s390/32/t-floattodi: New file.
10749 * config/s390/libgcc-glibc.ver: New file.
10750 * config/s390/t-crtstuff: New file.
10751 * config/s390/t-linux: New file.
10752 * config/s390/t-tpf: New file.
10753
10754 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10755
10756 * configure.ac (AC_PREREQ): Bump to 2.64.
10757
10758 2009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10759
10760 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10761
10762 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10763
10764 * configure: Regenerate.
10765
10766 2009-08-09 Douglas B Rupp <rupp@gnat.com>
10767
10768 * config.host (ia64-hp-*vms*): New target.
10769 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10770 with ia64-hp-*vms*.
10771
10772 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10773
10774 * configure.ac: Add snippet for maintainer-mode.
10775 * configure: Regenerate.
10776 * Makefile.in (AUTOCONF, configure_deps): New variables.
10777 ($(srcdir)/configure)): New rule, active only with maintainer
10778 mode turned on.
10779
10780 2009-06-23 DJ Delorie <dj@redhat.com>
10781
10782 Add MeP port.
10783 * config.host: Add mep support.
10784
10785 2009-06-22 Kai Tietz <kai.tietz@onevision.com>
10786
10787 * config.host: Add i386/${host_address}/t-fprules-softfp and
10788 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
10789
10790 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10791 for mingw targets.
10792 * config/i386/64/_multc3.c: Likewise.
10793 * config/i386/64/_powitf2.c: Likewise.
10794 * config/i386/64/eqtf2.c: Likewise.
10795 * config/i386/64/getf2.c: Likewise.
10796 * config/i386/64/letf2.c: Likewise.
10797 * config/i386/64/letf2.c: Likewise.
10798 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10799 unsigned long long for x64 mingw targets.
10800 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10801 (_FP_I_TYPE): Define as long long for x64 mingw target.
10802
10803 2009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10804
10805 * config.host (vax-*-linux*): New.
10806
10807 2009-05-31 Anthony Green <green@moxielogic.com>
10808
10809 * config.host: Add moxie support.
10810 * config/moxie/t-moxie: New file.
10811
10812 2009-05-29 David Billinghurst <billingd@gcc.gnu.org>
10813
10814 * config.host: Add i386/${host_address}/t-fprules-softfp and
10815 t-softfp to tmake_file for i[34567]86-*-cygwin*.
10816
10817 2009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10818
10819 * config.host: Add i386/${host_address}/t-fprules-softfp to
10820 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10821
10822 2009-04-09 Nick Clifton <nickc@redhat.com>
10823
10824 * config/ia64/tf-signs.c: Change copyright header to refer to
10825 version 3 of the GNU General Public License with version 3.1
10826 of the GCC Runtime Library Exception and to point readers at
10827 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10828 web page.
10829 * config/i386/32/tf-signs.c: Likewise.
10830 * config/libbid/_addsub_dd.c: Likewise.
10831 * config/libbid/_addsub_sd.c: Likewise.
10832 * config/libbid/_addsub_td.c: Likewise.
10833 * config/libbid/_dd_to_df.c: Likewise.
10834 * config/libbid/_dd_to_di.c: Likewise.
10835 * config/libbid/_dd_to_sd.c: Likewise.
10836 * config/libbid/_dd_to_sf.c: Likewise.
10837 * config/libbid/_dd_to_si.c: Likewise.
10838 * config/libbid/_dd_to_td.c: Likewise.
10839 * config/libbid/_dd_to_tf.c: Likewise.
10840 * config/libbid/_dd_to_udi.c: Likewise.
10841 * config/libbid/_dd_to_usi.c: Likewise.
10842 * config/libbid/_dd_to_xf.c: Likewise.
10843 * config/libbid/_df_to_dd.c: Likewise.
10844 * config/libbid/_df_to_sd.c: Likewise.
10845 * config/libbid/_df_to_td.c: Likewise.
10846 * config/libbid/_di_to_dd.c: Likewise.
10847 * config/libbid/_di_to_sd.c: Likewise.
10848 * config/libbid/_di_to_td.c: Likewise.
10849 * config/libbid/_div_dd.c: Likewise.
10850 * config/libbid/_div_sd.c: Likewise.
10851 * config/libbid/_div_td.c: Likewise.
10852 * config/libbid/_eq_dd.c: Likewise.
10853 * config/libbid/_eq_sd.c: Likewise.
10854 * config/libbid/_eq_td.c: Likewise.
10855 * config/libbid/_ge_dd.c: Likewise.
10856 * config/libbid/_ge_sd.c: Likewise.
10857 * config/libbid/_ge_td.c: Likewise.
10858 * config/libbid/_gt_dd.c: Likewise.
10859 * config/libbid/_gt_sd.c: Likewise.
10860 * config/libbid/_gt_td.c: Likewise.
10861 * config/libbid/_isinfd128.c: Likewise.
10862 * config/libbid/_isinfd32.c: Likewise.
10863 * config/libbid/_isinfd64.c: Likewise.
10864 * config/libbid/_le_dd.c: Likewise.
10865 * config/libbid/_le_sd.c: Likewise.
10866 * config/libbid/_le_td.c: Likewise.
10867 * config/libbid/_lt_dd.c: Likewise.
10868 * config/libbid/_lt_sd.c: Likewise.
10869 * config/libbid/_lt_td.c: Likewise.
10870 * config/libbid/_mul_dd.c: Likewise.
10871 * config/libbid/_mul_sd.c: Likewise.
10872 * config/libbid/_mul_td.c: Likewise.
10873 * config/libbid/_ne_dd.c: Likewise.
10874 * config/libbid/_ne_sd.c: Likewise.
10875 * config/libbid/_ne_td.c: Likewise.
10876 * config/libbid/_sd_to_dd.c: Likewise.
10877 * config/libbid/_sd_to_df.c: Likewise.
10878 * config/libbid/_sd_to_di.c: Likewise.
10879 * config/libbid/_sd_to_sf.c: Likewise.
10880 * config/libbid/_sd_to_si.c: Likewise.
10881 * config/libbid/_sd_to_td.c: Likewise.
10882 * config/libbid/_sd_to_tf.c: Likewise.
10883 * config/libbid/_sd_to_udi.c: Likewise.
10884 * config/libbid/_sd_to_usi.c: Likewise.
10885 * config/libbid/_sd_to_xf.c: Likewise.
10886 * config/libbid/_sf_to_dd.c: Likewise.
10887 * config/libbid/_sf_to_sd.c: Likewise.
10888 * config/libbid/_sf_to_td.c: Likewise.
10889 * config/libbid/_si_to_dd.c: Likewise.
10890 * config/libbid/_si_to_sd.c: Likewise.
10891 * config/libbid/_si_to_td.c: Likewise.
10892 * config/libbid/_td_to_dd.c: Likewise.
10893 * config/libbid/_td_to_df.c: Likewise.
10894 * config/libbid/_td_to_di.c: Likewise.
10895 * config/libbid/_td_to_sd.c: Likewise.
10896 * config/libbid/_td_to_sf.c: Likewise.
10897 * config/libbid/_td_to_si.c: Likewise.
10898 * config/libbid/_td_to_tf.c: Likewise.
10899 * config/libbid/_td_to_udi.c: Likewise.
10900 * config/libbid/_td_to_usi.c: Likewise.
10901 * config/libbid/_td_to_xf.c: Likewise.
10902 * config/libbid/_tf_to_dd.c: Likewise.
10903 * config/libbid/_tf_to_sd.c: Likewise.
10904 * config/libbid/_tf_to_td.c: Likewise.
10905 * config/libbid/_udi_to_dd.c: Likewise.
10906 * config/libbid/_udi_to_sd.c: Likewise.
10907 * config/libbid/_udi_to_td.c: Likewise.
10908 * config/libbid/_unord_dd.c: Likewise.
10909 * config/libbid/_unord_sd.c: Likewise.
10910 * config/libbid/_unord_td.c: Likewise.
10911 * config/libbid/_usi_to_dd.c: Likewise.
10912 * config/libbid/_usi_to_sd.c: Likewise.
10913 * config/libbid/_usi_to_td.c: Likewise.
10914 * config/libbid/_xf_to_dd.c: Likewise.
10915 * config/libbid/_xf_to_sd.c: Likewise.
10916 * config/libbid/_xf_to_td.c: Likewise.
10917 * config/libbid/bid128.c: Likewise.
10918 * config/libbid/bid128_2_str.h: Likewise.
10919 * config/libbid/bid128_2_str_macros.h: Likewise.
10920 * config/libbid/bid128_2_str_tables.c: Likewise.
10921 * config/libbid/bid128_add.c: Likewise.
10922 * config/libbid/bid128_compare.c: Likewise.
10923 * config/libbid/bid128_div.c: Likewise.
10924 * config/libbid/bid128_fma.c: Likewise.
10925 * config/libbid/bid128_logb.c: Likewise.
10926 * config/libbid/bid128_minmax.c: Likewise.
10927 * config/libbid/bid128_mul.c: Likewise.
10928 * config/libbid/bid128_next.c: Likewise.
10929 * config/libbid/bid128_noncomp.c: Likewise.
10930 * config/libbid/bid128_quantize.c: Likewise.
10931 * config/libbid/bid128_rem.c: Likewise.
10932 * config/libbid/bid128_round_integral.c: Likewise.
10933 * config/libbid/bid128_scalb.c: Likewise.
10934 * config/libbid/bid128_sqrt.c: Likewise.
10935 * config/libbid/bid128_string.c: Likewise.
10936 * config/libbid/bid128_to_int16.c: Likewise.
10937 * config/libbid/bid128_to_int32.c: Likewise.
10938 * config/libbid/bid128_to_int64.c: Likewise.
10939 * config/libbid/bid128_to_int8.c: Likewise.
10940 * config/libbid/bid128_to_uint16.c: Likewise.
10941 * config/libbid/bid128_to_uint32.c: Likewise.
10942 * config/libbid/bid128_to_uint64.c: Likewise.
10943 * config/libbid/bid128_to_uint8.c: Likewise.
10944 * config/libbid/bid32_to_bid128.c: Likewise.
10945 * config/libbid/bid32_to_bid64.c: Likewise.
10946 * config/libbid/bid64_add.c: Likewise.
10947 * config/libbid/bid64_compare.c: Likewise.
10948 * config/libbid/bid64_div.c: Likewise.
10949 * config/libbid/bid64_fma.c: Likewise.
10950 * config/libbid/bid64_logb.c: Likewise.
10951 * config/libbid/bid64_minmax.c: Likewise.
10952 * config/libbid/bid64_mul.c: Likewise.
10953 * config/libbid/bid64_next.c: Likewise.
10954 * config/libbid/bid64_noncomp.c: Likewise.
10955 * config/libbid/bid64_quantize.c: Likewise.
10956 * config/libbid/bid64_rem.c: Likewise.
10957 * config/libbid/bid64_round_integral.c: Likewise.
10958 * config/libbid/bid64_scalb.c: Likewise.
10959 * config/libbid/bid64_sqrt.c: Likewise.
10960 * config/libbid/bid64_string.c: Likewise.
10961 * config/libbid/bid64_to_bid128.c: Likewise.
10962 * config/libbid/bid64_to_int16.c: Likewise.
10963 * config/libbid/bid64_to_int32.c: Likewise.
10964 * config/libbid/bid64_to_int64.c: Likewise.
10965 * config/libbid/bid64_to_int8.c: Likewise.
10966 * config/libbid/bid64_to_uint16.c: Likewise.
10967 * config/libbid/bid64_to_uint32.c: Likewise.
10968 * config/libbid/bid64_to_uint64.c: Likewise.
10969 * config/libbid/bid64_to_uint8.c: Likewise.
10970 * config/libbid/bid_b2d.h: Likewise.
10971 * config/libbid/bid_binarydecimal.c: Likewise.
10972 * config/libbid/bid_conf.h: Likewise.
10973 * config/libbid/bid_convert_data.c: Likewise.
10974 * config/libbid/bid_decimal_data.c: Likewise.
10975 * config/libbid/bid_decimal_globals.c: Likewise.
10976 * config/libbid/bid_div_macros.h: Likewise.
10977 * config/libbid/bid_dpd.c: Likewise.
10978 * config/libbid/bid_flag_operations.c: Likewise.
10979 * config/libbid/bid_from_int.c: Likewise.
10980 * config/libbid/bid_functions.h: Likewise.
10981 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10982 * config/libbid/bid_inline_add.h: Likewise.
10983 * config/libbid/bid_internal.h: Likewise.
10984 * config/libbid/bid_round.c: Likewise.
10985 * config/libbid/bid_sqrt_macros.h: Likewise.
10986
10987 2009-04-09 Jakub Jelinek <jakub@redhat.com>
10988
10989 * Makefile.in: Change copyright header to refer to version
10990 3 of the GNU General Public License and to point readers at the
10991 COPYING3 file and the FSF's license web page.
10992 * config.host: Likewise.
10993
10994 2009-04-07 Alan Modra <amodra@bigpond.net.au>
10995
10996 * config.host: Reorder and merge to match config.gcc change.
10997
10998 2009-04-03 Alan Modra <amodra@bigpond.net.au>
10999
11000 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
11001
11002 2009-03-28 Joseph Myers <joseph@codesourcery.com>
11003
11004 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
11005 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
11006 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
11007 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
11008
11009 2009-02-12 Uros Bizjak <ubizjak@gmail.com>
11010
11011 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
11012 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11013
11014 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
11015
11016 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
11017 ia64/t-softfp-compat to tmake_file.
11018
11019 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
11020
11021 * config/ia64/__divxf3.asm: New.
11022 * config/ia64/_fixtfdi.asm: Likewise.
11023 * config/ia64/_fixunstfdi.asm: Likewise.
11024 * config/ia64/_floatditf.asm: Likewise.
11025 * config/ia64/t-fprules-softfp: Likewise.
11026 * config/ia64/t-softfp-compat: Likewise.
11027 * config/ia64/tf-signs.c: Likewise.
11028
11029 2009-01-18 Ben Elliston <bje@au.ibm.com>
11030
11031 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
11032
11033 2009-01-16 Ben Elliston <bje@au.ibm.com>
11034
11035 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
11036 to tmake_file.
11037
11038 2009-01-13 Ben Elliston <bje@au.ibm.com>
11039
11040 * config/t-softfp: New file.
11041 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
11042 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
11043
11044 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
11045
11046 * config.host: Add m32r*-*-rtems*.
11047
11048 2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
11049
11050 * config.host: Add m32c*-*-rtems*.
11051
11052 2008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11053
11054 PR bootstrap/33100
11055 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
11056 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
11057 * configure: Regenerate.
11058 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
11059 tmake_file here from gcc/config.gcc.
11060 Move extra_parts here from gcc/config.gcc.
11061 * config/i386/t-sol2: Move here from gcc/config/i386.
11062 Use gcc_srcdir instead of srcdir.
11063
11064 2008-11-18 Adam Nemet <anemet@caviumnetworks.com>
11065
11066 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
11067 case.
11068
11069 2008-11-09 Thomas Schwinge <tschwinge@gnu.org>
11070
11071 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
11072
11073 2008-10-08 Thomas Schwinge <tschwinge@gnu.org>
11074
11075 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11076
11077 2008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11078
11079 Add picoChip port.
11080 * config.host: Add picochip-*-*.
11081
11082 2008-08-06 Bob Wilson <bob.wilson@acm.org>
11083
11084 * config.host: Match more processor names for Xtensa.
11085
11086 2008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11087
11088 * config/i386/64/t-softfp-compat: Update comments.
11089
11090 2008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 * config/i386/64/_divtc3-compat.c: Moved to ...
11093 * config/i386/64/_divtc3.c: Here.
11094
11095 * config/i386/64/_multc3-compat.c: Moved to ...
11096 * config/i386/64/_multc3.c: Here.
11097
11098 * config/i386/64/_powitf2-compat.c: Moved to ...
11099 * config/i386/64/_powitf2.c: Here.
11100
11101 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11102 .c suffix instead of -compat.c.
11103
11104 2008-07-05 Uros Bizjak <ubizjak@gmail.com>
11105
11106 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11107 (_FP_MUL_MEAT_D): Ditto.
11108 (_FP_DIV_MEAT_S): Ditto.
11109 (_FP_DIV_MEAT_D): Ditto.
11110
11111 2008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11112
11113 * Makefile.in: Add support for __sync_* libgcc functions.
11114
11115 2008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11116
11117 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11118
11119 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11120
11121 PR boostrap/36702
11122 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11123 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11124
11125 * config/i386/64/t-fprules-softfp: Moved to ...
11126 * config/i386/64/t-softfp-compat: This. New.
11127
11128 2008-07-02 Uros Bizjak <ubizjak@gmail.com>
11129
11130 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11131 Initialize f with 0.0.
11132
11133 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11134
11135 PR target/36669
11136 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11137
11138 * config/i386/64/_divtc3-compat.c: New.
11139 * config/i386/64/_multc3-compat.c: Likewise.
11140 * config/i386/64/_powitf2-compat.c: Likewise.
11141 * config/i386/64/eqtf2.c: Likewise.
11142 * config/i386/64/getf2.c: Likewise.
11143 * config/i386/64/letf2.c: Likewise.
11144 * config/i386/64/t-fprules-softfp: Likewise.
11145
11146 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11147
11148 * config.host: Add i386/${host_address}/t-fprules-softfp to
11149 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
11150 i[34567]86-*-linux*, x86_64-*-linux*.
11151
11152 * configure.ac: Set host_address to 64 or 32 for x86.
11153 * configure: Regenerated.
11154
11155 * Makefile.in (config.status): Also depend on
11156 $(srcdir)/config.host.
11157
11158 * config/i386/32/t-fprules-softfp: New.
11159 * config/i386/32/tf-signs.c: Likewise.
11160
11161 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11162
11163 2008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11164 Uros Bizjak <ubizjak@gmail.com>
11165
11166 * config/i386/32/sfp-machine.h: New.
11167
11168 2008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11169
11170 * config/rs6000/t-ppccomm: Remove rules that conflict with
11171 auto-generated rules.
11172
11173 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11174
11175 * configure.ac: sinclude override.m4.
11176 * configure: Regenerate.
11177
11178 2008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11179
11180 * configure: Regenerate.
11181
11182 2008-06-10 Joseph Myers <joseph@codesourcery.com>
11183
11184 * Makefile.in (DECNUMINC): Remove
11185 -I$(MULTIBUILDTOP)../../libdecnumber.
11186 * gstdint.h: New.
11187
11188 2008-06-07 Joseph Myers <joseph@codesourcery.com>
11189
11190 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11191 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11192 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11193 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11194 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11195 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11196 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11197 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11198 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11199 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11200 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11201 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11202 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11203 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11204
11205 2008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11206
11207 * config.host (sh2[lbe]*-*-linux*): Allow target.
11208
11209 2008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11210
11211 * config/rs6000/t-ppccomm: Add build rules for new files.
11212 (LIB2ADD_ST): New variable.
11213
11214 2008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11215
11216 PR target/34210
11217 PR target/35508
11218 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11219 * config/t-avr: New file. Build 16bit libgcc functions.
11220
11221 2008-03-02 Jakub Jelinek <jakub@redhat.com>
11222
11223 PR target/35401
11224 * config/t-slibgcc-darwin: Make install-leaf dependent on
11225 install-darwin-libgcc-stubs instead of install.
11226
11227 2008-01-25 Joseph Myers <joseph@codesourcery.com>
11228
11229 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11230 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11231 sh-*-rtemscoff*): Remove cases.
11232
11233 2007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11234
11235 * Makefile.in (all): Use install-leaf rather than install.
11236 (install): Split most of the rule into...
11237 (install-leaf): ...this new one.
11238
11239 2007-12-19 Etsushi Kato <ek.kato@gmail.com>
11240 Paolo Bonzini <bonzini@gnu.org>
11241
11242 PR target/30572
11243 * Makefile.in: Use @shlib_slibdir@ substitution to get
11244 correct install name on darwin.
11245 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
11246
11247 2007-12-15 Hans-Peter Nilsson <hp@axis.com>
11248
11249 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11250 cris-*-elf and cris-*-none.
11251 (crisv32-*-linux*): Similar, as cris-*-linux*.
11252
11253 2007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11254
11255 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11256
11257 2007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11258
11259 PR regression/33926
11260 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11261 * configure: Regenerated.
11262
11263 2007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11264
11265 * Makefile.in (dfp-filenames): Replace decimal_globals,
11266 decimal_data, binarydecimal and convert_data with
11267 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11268 and bid_convert_data, respectively.
11269
11270 2007-09-17 Chao-ying Fu <fu@mips.com>
11271 Nigel Stephens <nigel@mips.com>
11272
11273 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11274 * Makefile.in (fixed_point): Define.
11275 Check if fixed_point is yes to build support functions.
11276 * configure.ac: Check for fixed_point support.
11277 * configure: Regenerated.
11278 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11279 funcs, modes, from, to.
11280
11281 2007-09-11 Janis Johnson <janis187@us.ibm.com
11282
11283 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11284
11285 2007-09-10 Janis Johnson <janis187@us.ibm.com>
11286
11287 * Makefile.in (dfp-filenames): Remove decUtility, add
11288 decDouble, decPacked, decQuad, decSingle.
11289
11290 2007-08-27 Hans Kester <hans.kester@ellips.nl>
11291
11292 * config.host : Add x86_64-elf target.
11293
11294 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11295
11296 * configure.ac (set_have_cc_tls): Add a missing =.
11297 * configure: Regenerated.
11298
11299 2007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11300
11301 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11302 and x86_64-*-linux*.
11303
11304 * config/t-tls: New file.
11305
11306 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
11307
11308 * configure.ac: Include ../config/enable.m4 and
11309 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11310 supports TLS and substitute set_have_cc_tls.
11311 * configure: Regenerated.
11312
11313 2007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11314
11315 * Makefile.in: Use libbid for DFP when BID is enabled.
11316
11317 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11318
11319 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
11320 extra_parts. Add config/i386/t-cygming to tmake_file.
11321 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11322
11323 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
11324 Danny Smith <dannysmith@users.sourceforge.net>
11325
11326 PR target/29498
11327 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11328 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11329 * config/i386/t-crtfm: Compile crtfastmath.o with
11330 -minline-all-stringops.
11331
11332 2007-05-10 Richard Sandiford <richard@codesourcery.com>
11333
11334 * config.host (sparc-wrs-vxworks): New target.
11335
11336 2007-04-14 Kazu Hirata <kazu@codesourcery.com>
11337
11338 * config.host: Recognize fido.
11339
11340 2007-04-04 Janis Johnson <janis187@us.ibm.com>
11341
11342 * configure: Check host, not target, for decimal float support.
11343
11344 2007-04-03 Uros Bizjak <ubizjak@gmail.com>
11345
11346 * config/i386/t-crtpc: New file.
11347 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
11348 (x86_64-*-linux*): Ditto.
11349
11350 2007-02-30 Kai Tietz <kai.tietz@onevision.com>
11351
11352 * config.host (x86_64-*-mingw*): New target.
11353
11354 2007-03-23 Michael Meissner <michael.meissner@amd.com>
11355 H.J. Lu <hongjiu.lu@intel.com>
11356
11357 * Makefile.in (enable_decimal_float): New.
11358 (DECNUMINC): Add
11359 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11360 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11361 (decbits-filenames): This.
11362 (decbits-objects): New.
11363 (libgcc-objects): Add $(decbits-objects).
11364
11365 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11366 Substitute enable_decimal_float.
11367 * configure: Regenerated.
11368
11369 2007-03-19 Hans-Peter Nilsson <hp@axis.com>
11370
11371 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11372
11373 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11374
11375 * Makefile.in (install-info): New dummy target.
11376
11377 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11378
11379 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11380
11381 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11382
11383 * Makefile.in: Add install-html and install-pdf dummy
11384 targets.
11385
11386 2007-02-05 Roger Sayle <roger@eyesopen.com>
11387 Daniel Jacobowitz <dan@codesourcery.com>
11388
11389 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11390 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11391 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11392
11393 2007-01-29 Janis Johnson <janis187@us.ibm.com>
11394
11395 * Makefile.in (dec-filenames): Add decExcept.
11396
11397 2007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11398
11399 PR bootstrap/30469
11400 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11401 -fprofile-use.
11402
11403 2007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11404
11405 * configure.ac: Add --enable-version-specific-runtime-libs.
11406 Correct $slibdir default.
11407 * configure: Regenerated.
11408
11409 2007-01-23 Joseph Myers <joseph@codesourcery.com>
11410
11411 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11412
11413 2007-01-21 Andrew Pinski <pinskia@gmail.com>
11414
11415 PR target/30519
11416 * config.host (alpha*-*-linux*): Set extra_parts.
11417
11418 2007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11419
11420 * config/sh/t-linux: New.
11421 * config.host (sh*-*-linux*): Set tmake_file.
11422
11423 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11424
11425 * Makefile.in (install): Handle multilibs.
11426
11427 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11428
11429 * Makefile.in: Added .PHONY entry for documentation targets.
11430
11431 2007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11432
11433 * Makefile.in: Add empty info, html, dvi, pdf targets.
11434
11435 2007-01-04 Mike Stump <mrs@apple.com>
11436
11437 * Makefile.in (MAKEINFO): Remove.
11438 (PERL): Likewise.
11439
11440 2007-01-04 Paolo Bonzini <bonzini@gnu.org>
11441
11442 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11443 * configure: Regenerate.
11444 * Makefile.in (host_subdir): Substitute it.
11445 (gcc_objdir): Use it.
11446
11447 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11448
11449 * config.host (ia64*-*-linux*): Set tmake_file.
11450
11451 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11452
11453 * Makefile.in (version): Define.
11454
11455 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11456 Paolo Bonzini <bonzini@gnu.org>
11457
11458 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11459 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11460 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11461 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11462 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11463 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11464 * configure: Generated.
11465 \f
11466 Copyright (C) 2007-2021 Free Software Foundation, Inc.
11467
11468 Copying and distribution of this file, with or without modification,
11469 are permitted in any medium without royalty provided the copyright
11470 notice and this notice are preserved.