]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
67f10d28
GA
12021-03-04 Martin Liska <mliska@suse.cz>
2
3 PR gcov-profile/99105
4 * libgcov-driver.c (write_top_counters): Rename to ...
5 (write_topn_counters): ... this.
6 (write_one_data): Pre-allocate buffer for number of items
7 in the corresponding linked lists.
8 * libgcov.h (malloc_mmap): New function.
9 (allocate_gcov_kvp): Use it.
10
112021-03-04 Martin Liska <mliska@suse.cz>
12
13 PR gcov-profile/99385
14 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
15
f3641ac7
GA
162021-03-03 Martin Liska <mliska@suse.cz>
17
18 PR gcov-profile/97461
19 * config.in: Regenerate.
20 * configure: Likewise.
21 * configure.ac: Check sys/mman.h header file
22 * libgcov-driver.c (struct gcov_kvp): Remove static
23 pre-allocated pool and use a dynamic one.
24 * libgcov.h (MMAP_CHUNK_SIZE): New.
25 (gcov_counter_add): Use mmap to allocate pool for struct
26 gcov_kvp.
27
d97a92dc
GA
282021-03-02 Michael Meissner <meissner@linux.ibm.com>
29
30 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
31 the function.
32 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
33
4028d01a
GA
342021-02-24 Jakub Jelinek <jakub@redhat.com>
35
36 PR libgcc/99236
37 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
38 negation of m in unsigned type.
39
402021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
41 Hau Hsu <hsuhau617@gmail.com>
42
43 PR target/99157
44 * config/arm/t-arm: Fix cmse support detection.
45
2f5765cf
GA
462021-02-22 Michael Meissner <meissner@linux.ibm.com>
47
48 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
49
502021-02-22 Michael Meissner <meissner@linux.ibm.com>
51
52 * config/rs6000/_dd_to_kf.c: New file.
53 * config/rs6000/_kf_to_dd.c: New file.
54 * config/rs6000/_kf_to_sd.c: New file.
55 * config/rs6000/_kf_to_td.c: New file.
56 * config/rs6000/_sd_to_kf.c: New file.
57 * config/rs6000/_sprintfkf.c: New file.
58 * config/rs6000/_sprintfkf.h: New file.
59 * config/rs6000/_strtokf.h: New file.
60 * config/rs6000/_strtokf.c: New file.
61 * config/rs6000/_td_to_kf.c: New file.
62 * config/rs6000/quad-float128.h: Add new declarations.
63 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
64 (fp128_decstr_funcs): New macro.
65 (ibm128_dec_funcs): New macro.
66 (fp128_ppc_funcs): Add the new conversions.
67 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
68 compiled with -mabi=ieeelongdouble.
69 (fp128_decstr_objs): Force __float128 <-> string conversions to be
70 compiled with -mabi=ibmlongdouble.
71 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
72 compiled with -mabi=ieeelongdouble.
73 (FP128_CFLAGS_DECIMAL): New macro.
74 (IBM128_CFLAGS_DECIMAL): New macro.
75 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
76 (BFP_TO_DFP): Add PowerPC _Float128 support.
77 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
78 IEEE 128-bit floating point.
79 (DFP_TO_BFP): Add PowerPC _Float128 support.
80 (BFP_TO_DFP): Add PowerPC _Float128 support.
81 (BFP_SPRINTF): New macro.
82
aa69f0a8
GA
832021-01-27 Jakub Jelinek <jakub@redhat.com>
84
85 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
86 * config/i386/savms64f.h: Likewise.
87 * config/i386/resms64.h: Likewise.
88 * config/i386/resms64f.h: Likewise.
89 * config/i386/resms64x.h: Likewise.
90 * config/i386/resms64fx.h: Likewise.
91
e62bb7f0
GA
922021-01-26 Martin Liska <mliska@suse.cz>
93
94 PR gcov-profile/98739
95 * libgcov.h (gcov_topn_add_value): Do not train when
96 we have a merged profile with a negative number of total
97 value.
98
161e4c08
GA
992021-01-25 Martin Liska <mliska@suse.cz>
100
101 PR gcov-profile/98739
102 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
103 ends with a dropped counter.
104 * libgcov.h (gcov_topn_add_value): Add return value.
105
be0851b8
GA
1062021-01-13 Stafford Horne <shorne@gmail.com>
107
108 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
109 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
110 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
111 FP_EX_ALL): New constant macros.
112 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
113 FP_HANDLE_EXCEPTIONS): New macros.
114 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
115
1162021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
117
118 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
119 posix siginfo case to struct handler_args. Detect between legacy
120 and siginfo from the second parameter, which is a small sigcode in
121 the legacy case, and a pointer in the siginfo case.
122
108beb75
GA
1232020-12-20 Max Filippov <jcmvbkbc@gmail.com>
124
125 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
126 functions.
127 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
128 _bswapdi2.
129
f6e8e279
GA
1302020-12-08 Ian Lance Taylor <iant@golang.org>
131
132 * generic-morestack-thread.c (free_segments): Block signals during
133 thread exit.
134
b8dd0ef7
GA
1352020-12-03 Michael Meissner <meissner@linux.ibm.com>
136
137 PR libgcc/97543
138 PR libgcc/97643
139 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
140 (IBM128_SHARED_OBJS): New make variable.
141 (IBM128_OBJS): New make variable. Set all objects to use the
142 explicit IBM format, and disable gnu attributes.
143 (IBM128_CFLAGS): New make variable.
144 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
145 modules.
146
1472020-12-03 Alexandre Oliva <oliva@adacore.com>
148
149 * config/t-vxworks (LIB2ADD): Drop.
150 * config/t-vxworks7 (LIB2ADD): Likewise.
151 * config/vxcache.c: Remove.
152
94358e47
GA
1532020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
154
155 * libgcc2.c (bswapsi2): Make constants unsigned.
156
360258da
GA
1572020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
158
159 * libgcc2.c (absvSI2): Simplify/improve implementation by using
160 builtin_add_overflow.
161 (absvsi2, absvDI2): Likewise.
162
82e5048e
GA
1632020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
164
165 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
166 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
167
25bb75f8
GA
1682020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
169
170 * config/msp430/lib2hw_mul.S (mult64_hw): New.
171 (if MUL_32): Use mult64_hw for __muldi3.
172 (if MUL_F5): Use mult64_hw for __muldi3.
173 * config/msp430/lib2mul.c (__muldi3): New.
174 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
175
29c5d9ce
GA
1762020-11-17 Alan Modra <amodra@gmail.com>
177
178 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
179 (LIB2_SIDITI_CONV_FUNCS): Define.
180 * config/rs6000/ppc64-fp.c: Delete file.
181
cba30651
GA
1822020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
183
184 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
185 hwmult library functions.
186
bb622641
GA
1872020-11-10 Jeff Law <law@redhat.com>
188
189 * libgcc2.c: Fix whitespace issues in most recent change.
190
1912020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
192
193 * libgcc2.c (__addvSI3): Use overflow builtins.
194 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
195 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
196 (__negvsi2, __negvDI2): Likewise.
197 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
198 generated code.
199 * libgcc2.h (__ucmpdi2): Adjust prototype.
200
fd2325ea
GA
2012020-11-03 Pat Bernardi <bernardi@adacore.com>
202 Olivier Hainque <hainque@adacore.com>
203
204 * config.host (aarch64-vxworks7*, tmake_file): Add
205 ${cpu_type}/t-lse and t-slibgcc-libgcc.
206
2072020-11-03 Martin Storsjö <martin@martin.st>
208
209 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
210 before calling the callback.
211
88ce3d5f
GA
2122020-10-30 Olivier Hainque <hainque@adacore.com>
213 Douglas Rupp <rupp@adacore.com>
214 Pat Bernardi <bernardi@adacore.com>
215
216 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
217 to apply to VxWorks 7 as well.
218
4f0606fe
GA
2192020-10-29 Olivier Hainque <hainque@adacore.com>
220
221 * config/gthr-vxworks-tls.c: Fix preprocessor logic
222 controlling the definition of VX_ENTER_TLS_DTOR and
223 VX_LEAVE_TLS_DTOR based on a version major check.
224
2252020-10-29 Olivier Hainque <hainque@adacore.com>
226
227 * config/gthr-vxworks-thread.c: Fix name of macro used
228 to condition the inclusion of an actual implementation.
229
89bb01e7
GA
2302020-10-27 Martin Liska <mliska@suse.cz>
231
232 PR gcov-profile/97461
233 * libgcov.h (gcov_counter_add): Use first static counters
234 as it should help to have malloc wrappers set up.
235
efe71fcc
GA
2362020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
237
238 * config/gthr-vxworks-thread.c: #include gthr.h before
239 testing the guard defined there.
240 * config/gthr-vxworks-cond.c: Likewise.
241
56ddd5e2
GA
2422020-10-21 Douglas Rupp <rupp@adacore.com>
243 Olivier Hainque <hainque@adacore.com>
244
245 * config.host (powerpc*-wrs-vxworks7*): New case.
246 * configure.ac: Handle powerpc*-*-vxworks7* as
247 powerpc*-*-linux* for ppc-fp_type.
248 * configure: Regenerate.
249
56e4eee9
GA
2502020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
251
252 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
253 section on VxWorks >= 6.
254 * config/gthr-vxworks-thread.c: Condition the entire
255 implementation on __GTHREAD_CXX0X.
256
2572020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
258
259 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
260 section on VxWorks >= 6.
261 * config/gthr-vxworks-cond.c: Condition the entire
262 implementation on __GTHREAD_HAS_COND.
263
2642020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
265
266 * config/gthr-vxworks.c: #include <taskLib.h>.
267
2682020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
269
270 * config/gthr-vxworks.h: Rewrite remaining occurrence
271 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
272
2732020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
274 Olivier Hainque <hainque@adacore.com>
275
276 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
277 except on VxWorks 6.
278
2792020-10-16 Olivier Hainque <hainque@adacore.com>
280
281 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
282
b2698c21
GA
2832020-10-14 Alexandre Oliva <oliva@adacore.com>
284
285 * config/gthr-vxworks-thread.c: Include stdlib.h.
286 (tls_delete_hook): Prototype it.
287 (__gthread_cond_signal): Return early if no waiters. Consume
288 signal in case the semaphore got full. Use semInfoGet instead
289 of kernel-mode-only semInfo.
290 (__gthread_cond_timedwait): Use semExchange. Always take the
291 mutex again before returning.
292 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
293
2942020-10-14 Olivier Hainque <hainque@adacore.com>
295
296 * config/t-vxworks (LIBGCC2_INCLUDES): Append
297 $(MULTISUBDIR) to the -I path for fixed headers, as we
298 arrange to have different sets of such headers for different
299 multilibs when they are activated.
300 * config/t-vxworks7: Likewise.
301
3022020-10-14 Olivier Hainque <hainque@adacore.com>
303
304 * config/t-vxworks: Add include-fixed to include search
305 paths for libgcc on VxWorks.
306 * config/t-vxworks7: Likewise.
307
c74a0e82
GA
3082020-10-09 H.J. Lu <hjl.tools@gmail.com>
309
310 PR target/97148
311 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
312 instead of <cetintrin.h>.
313
6c2675fa
GA
3142020-10-01 Alan Modra <amodra@gmail.com>
315
316 * config/rs6000/morestack.S,
317 * config/rs6000/tramp.S: Support __PCREL__ code.
318
3192020-10-01 Alan Modra <amodra@gmail.com>
320
321 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
322
93bca37c
GA
3232020-09-29 Maciej W. Rozycki <macro@wdc.com>
324
325 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
326 variable.
327
e84761c6
GA
3282020-09-28 Richard Sandiford <richard.sandiford@arm.com>
329
330 * config/aarch64/libgcc-softfp.ver: New file.
331 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
332
4383c595
GA
3332020-09-27 Clement Chigot <clement.chigot@atos.net>
334
335 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
336
521d2711
GA
3372020-09-22 Sergei Trofimovich <siarheit@google.com>
338
339 PR gcov-profile/96913
340 * libgcov-driver.c (write_one_data): Avoid function pointer
341 comparison in TOP streaming decision.
342
2aad20c0
GA
3432020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
344 Christophe Lyon <christophe.lyon@linaro.org>
345
346 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
347 qualifier.
348 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
349 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
350 missing prototypes.
351
3522020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
353
354 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
355 unused variable warning.
356
ecde1b0a
GA
3572020-09-16 Jojo R <jiejie_rong@c-sky.com>
358
359 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
360
80f86e78
GA
3612020-09-09 Tom de Vries <tdevries@suse.de>
362
363 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
364 Wbuiltin-declaration-mismatch.
365
57ea0894
GA
3662020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
367
368 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
369 * config/msp430/srai.S (__gnu_mspabi_srap): New.
370 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
371
b3cb5606
GA
3722020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
373
374 * config/nvptx/atomic.c: New.
375 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
376
6a1ad710
GA
3772020-08-03 Ian Lance Taylor <iant@golang.org>
378
379 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
380
3812020-08-03 Jakub Jelinek <jakub@redhat.com>
382
383 PR target/96402
384 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
385 of x(tmp0), x(tmp1) in STXP arguments.
386
48cc2e46
GA
3872020-07-31 Maciej W. Rozycki <macro@wdc.com>
388
389 * config/riscv/save-restore.S [__riscv_xlen == 64]
390 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
391 (__riscv_save_2): Replace negative immediates used for the final
392 stack pointer adjustment with positive ones, right-shifted by 4.
393
3942020-07-31 Martin Liska <mliska@suse.cz>
395
396 * libgcov-driver.c: Add __gcov_kvp_pool
397 and __gcov_kvp_pool_index variables.
398 * libgcov.h (allocate_gcov_kvp): New.
399 (gcov_topn_add_value): Use it.
400
53256ee3
GA
4012020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
402
403 * config/aarch64/lse.S: Add PAC property note.
404
9bb403dc
GA
4052020-07-23 Martin Liska <mliska@suse.cz>
406
407 PR gcov-profile/96035
408 * libgcov-driver-system.c: Create gcov folders with 0777
409 so that it respects a system umask.
410
8ca07a30
GA
4112020-07-14 David Edelsohn <dje.gcc@gmail.com>
412
413 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
414
ea69fcf9
GA
4152020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
416
417 PR target/94891
418 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
419 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
420 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
421 (MD_DEMANGLE_RETURN_ADDR): This.
422 (aarch64_post_extract_frame_addr): Rename to ...
423 (aarch64_demangle_return_addr): This.
424 (aarch64_post_frob_eh_handler_addr): Remove.
425 * unwind-dw2.c (uw_update_context): Demangle return address.
426 (uw_frob_return_addr): Remove.
427
3f8ca9cb
GA
4282020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
429
430 PR target/96001
431 * config/aarch64/lse.S: Add BTI marking and related definitions,
432 and add BTI c to function entries.
433
4342020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
435
436 * config/aarch64/lse.S: Add stack note.
437
b5f24739
GA
4382020-07-02 Martin Liska <mliska@suse.cz>
439
440 PR gcov-profile/95348
441 * libgcov-driver.c (merge_one_data): Merge only profiles
442 that are not of non-zero type.
443 (write_one_data): Write counters only if there's one non-zero
444 value.
445 * libgcov-util.c (tag_function): Change signature from unsigned
446 to int.
447 (tag_blocks): Likewise.
448 (tag_arcs): Likewise.
449 (tag_counters): Likewise.
450 (tag_summary): Likewise.
451 (tag_lines): Read only if COUNTERS is non-zero.
452 (read_gcda_file): Handle negative length for COUNTERS type.
453
d61ffe12
GA
4542020-06-25 Martin Liska <mliska@suse.cz>
455
456 * libgcov-driver.c (merge_summary): Remove function as its name
457 is misleading and doing something different.
458 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
459 in gcov-tool.
460 * libgcov-util.c (curr_object_summary): Remove.
461 (read_gcda_file): Remove unused curr_object_summary.
462 (gcov_merge): Merge summaries.
463 * libgcov.h: Add summary argument for gcov_info struct.
464
2e546c26
GA
4652020-06-24 H.J. Lu <hjl.tools@gmail.com>
466
467 PR target/95259
468 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
469 "common/config/i386/i386-cpuinfo.h" and
470 "common/config/i386/cpuinfo.h".
471 (__cpu_features2): Changed to array.
472 (get_amd_cpu): Removed.
473 (get_intel_cpu): Likewise.
474 (get_available_features): Likewise.
475 (__cpu_indicator_init): Call cpu_indicator_init.
476 * config/i386/cpuinfo.h: Removed.
477
4543acc8
GA
4782020-06-23 David Edelsohn <dje.gcc@gmail.com>
479
480 * Makefile.in: Remove uses of empty.mk. Use -include.
481 * config/avr/t-avr: Use -include.
482 * empty.mk: Delete.
483
f86e11a2
GA
4842020-06-21 David Edelsohn <dje.gcc@gmail.com>
485
486 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
487 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
488 and 64 bit with -maix64.
489 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
490 Build and install AIX-style FAT libraries.
491
aff95ee7
GA
4922020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
493
494 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
495 'i386/gnu-unwind.h'
496 * config/i386/gnu-unwind.h: New file.
497
4982020-06-17 Martin Liska <mliska@suse.cz>
499
500 * libgcov-util.c (read_gcda_finalize): Remove const operator.
501 (merge_wrapper): Add both counts and use them properly.
502 (topn_to_memory_representation): New function.
503 (gcov_merge): Covert on disk representation to in memory
504 representation.
505 * libgcov.h: Remove const operator.
506
6fb94d67
GA
5072020-06-15 Max Filippov <jcmvbkbc@gmail.com>
508
509 * configure: Regenerate.
510 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
511 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
512
b952c2cf
GA
5132020-06-09 Martin Liska <mliska@suse.cz>
514
515 PR gcov-profile/95494
516 * libgcov-driver.c (write_top_counters): Cast first to
517 intptr_t as sizeof(*) != sizeof(gcov_type).
518 * libgcov.h (gcov_counter_set_if_null): Remove.
519 (gcov_topn_add_value): Cast first to intptr_t and update
520 linked list directly.
521
5222020-06-09 Max Filippov <jcmvbkbc@gmail.com>
523
524 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
525 with uw_install_context_1.
526
3add3425
GA
5272020-06-04 Andreas Schwab <schwab@suse.de>
528
529 PR target/59230
530 PR libfortran/59227
531 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
532 soft-fp/divtf3.c.
533 (LIB2ADD): Add config/ia64/divtf3.c.
534 * config/ia64/divtf3.c: New file.
535
9a5b7438
GA
5362020-06-03 Martin Liska <mliska@suse.cz>
537
538 PR gcov-profile/95480
539 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
540 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
541 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
542 (gcov_counter_set_if_null): Likewise.
543
a9312a79
GA
5442020-06-02 Jim Wilson <jimw@sifive.com>
545
546 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
547 to bgtz.
548
5492020-06-02 Martin Liska <mliska@suse.cz>
550
551 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
552 of xmalloc.
553
5542020-06-02 Martin Liska <mliska@suse.cz>
555
556 * libgcov-driver.c (prune_topn_counter): Remove.
557 (prune_counters): Likewise.
558 (merge_one_data): Special case TOP N counters
559 as they have variable length.
560 (write_top_counters): New.
561 (write_one_data): Special case TOP N.
562 (dump_one_gcov): Do not prune TOP N counters.
563 * libgcov-merge.c (merge_topn_values_set): Remove.
564 (__gcov_merge_topn): Use gcov_topn_add_value.
565 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
566 Likewise here.
567 * libgcov.h (gcov_counter_add): New.
568 (gcov_counter_set_if_null): Likewise.
569 (gcov_topn_add_value): New.
570
4a9aa9de
GA
5712020-06-01 Uroš Bizjak <ubizjak@gmail.com>
572
573 * config/i386/sfp-exceptions.c (struct fenv):
574 Add __attribute__ ((gcc_struct)).
575
885ef72f
GA
5762020-05-29 H.J. Lu <hjl.tools@gmail.com>
577
578 PR bootstrap/95413
579 * configure: Regenerated.
580
53ffb43a
GA
5812020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
582
583 PR gcov-profile/95332
584 * libgcov-util.c (read_gcda_file): Call gcov_magic.
585 * libgcov.h (gcov_magic): Disable GCC poison.
586
5855bdfa
L
5872020-05-21 H.J. Lu <hongjiu.lu@intel.com>
588
589 PR target/95212
590 * config/i386/cpuinfo.h (processor_features): Move
591 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
592
35b98036
L
5932020-05-20 H.J. Lu <hongjiu.lu@intel.com>
594
595 PR target/91695
596 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
597 check.
598
45395445
L
5992020-05-19 H.J. Lu <hongjiu.lu@intel.com>
600
601 PR target/95212
602 PR target/95220
603 * config/i386/cpuinfo.c (get_available_features): Fix
604 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
605 * config/i386/cpuinfo.h (processor_features): Add
606 FEATURE_AVX512VP2INTERSECT.
607
4c1a5d8b
L
6082020-05-15 H.J. Lu <hongjiu.lu@intel.com>
609
610 PR bootstrap/95147
611 * configure: Regenerated.
612
8d286dd1
L
6132020-05-14 H.J. Lu <hongjiu.lu@intel.com>
614
615 * configure: Regenerated.
616
39748a89
HPN
6172020-05-09 Hans-Peter Nilsson <hp@axis.com>
618
619 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
620 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
621
d3a1459c
UB
6222020-05-06 Uroš Bizjak <ubizjak@gmail.com>
623
624 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
625 (__math_force_eval_div): New define.
626 (__sfp_handle_exceptions): Use __math_force_eval_div to use
627 generic division to generate INVALID, DIVZERO and INEXACT
628 exceptions.
629
12667785
KT
6302020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
631
632 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
633 instead of getauxval.
634 (AT_HWCAP): Define.
635 (HWCAP_ATOMICS): Define.
636 Guard detection on __gnu_linux__.
637
ef836167
MM
6382020-05-05 Michael Meissner <meissner@linux.ibm.com>
639
640 * config.host: Delete changes meant for a private branch.
641 * config/rs6000/t-float128: Likewise.
642 * configure.ac: Likewise.
643 * configure: Likewise.
644
811b7636
ML
6452020-05-05 Martin Liska <mliska@suse.cz>
646
647 PR gcov-profile/93623
648 * Makefile.in: Remove __gcov_flush.
649 * gcov.h (__gcov_flush): Remove.
650 * libgcov-interface.c (__gcov_flush): Remove.
651 (init_mx): Use renamed mutex.
652 (__gcov_lock): Likewise.
653 (__gcov_unlock): Likewise.
654 (__gcov_fork): Likewise.
655 (__gcov_flush): Remove.
656
c0532db4
ML
6572020-05-05 Martin Liska <mliska@suse.cz>
658
659 PR gcov-profile/93623
660 * libgcov-interface.c (__gcov_fork): Do not flush
661 and reset only in child process.
662 (__gcov_execl): Dump counters only and reset them
663 only if exec* fails.
664 (__gcov_execlp): Likewise.
665 (__gcov_execle): Likewise.
666 (__gcov_execv): Likewise.
667 (__gcov_execvp): Likewise.
668 (__gcov_execve): Likewise.
669
d39f7dc8
ML
6702020-05-05 Martin Liska <mliska@suse.cz>
671
672 PR gcov-profile/93623
673 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
674 * libgcov-interface.c (ALIAS_void_fn): Remove.
675 (__gcov_lock): New.
676 (__gcov_unlock): New.
677 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
678 (__gcov_reset): Likewise.
679 (__gcov_dump): Likewise.
680 * libgcov.h (__gcov_lock): New declaration.
681 (__gcov_unlock): Likewise.
682
afb9b710
UB
6832020-05-01 Uroš Bizjak <ubizjak@gmail.com>
684
685 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 686 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
687 generic division to generate INVALID and DIVZERO exceptions.
688
66711279
SH
6892020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
690
691 * config/rs6000/crtresfpr.S: Use .machine ppc.
692 * config/rs6000/crtresxfpr.S: Likewise.
693 * config/rs6000/crtsavfpr.S: Likewise.
694
fb22faf4
SN
6952020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
696
697 PR target/94514
698 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
699 Update context->flags accroding to the frame state.
700
df73e584
UB
7012020-04-19 Uroš Bizjak <ubizjak@gmail.com>
702
703 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
704 Remove unneeded assignments to volatile memory.
705
5b2f76e3
JJ
7062020-04-15 Jakub Jelinek <jakub@redhat.com>
707
708 PR target/93053
709 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
710 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
711 is not defined, use just .arch armv8-a.
712 (B, M, N, OPN): Define.
713 (COMMENT): New .macro.
714 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
715 defined. Otherwise, move the operands right after the glue? and
716 comment out operands where the macros are used.
717 * configure: Regenerated.
718 * config.in: Regenerated.
719
50c78532
ILT
7202020-04-07 Ian Lance Taylor <iant@golang.org>
721
722 PR libgcc/94513
723 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
724 syscall instead.
725
458ca332
ILT
7262020-04-04 Ian Lance Taylor <iant@golang.org>
727
728 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
729
710d54ed
ILT
7302020-04-03 Ian Lance Taylor <iant@golang.org>
731
732 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
733 than mmap/munmap, to avoid hooks.
734
b749b5ec
JJ
7352020-04-03 Jim Johnston <jjohnst@us.ibm.com>
736
737 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
738 (TPFRA_OFFSET): Macros removed.
739 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
740 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
741 (PG3_SKIPPING_OFFSET): New macros.
742 (__isPATrange): Use cinfc_fast for the check.
743 (__isSkipResetAddr): New function.
744 (s390_fallback_frame_state): Check for skip trace addresses. Use
745 either ICST_CRET or ICST_SRET to calculate return address
746 location.
747 (__tpf_eh_return): Handle skip trace addresses.
748
a9cd2d78
RE
7492020-03-26 Richard Earnshaw <rearnsha@arm.com>
750
751 PR target/94220
752 * config/arm/lib1funcs.asm (COND): Use a single definition for
753 unified syntax.
754 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
755 (aeabi_idivmod): Likewise.
756 (divsi3_skip_div0_test): Likewise.
757
f582ca0f
MI
7582020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
759
760 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
761
068fe0a9
AK
7622020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
763
764 * config.host: Include the new makefile fragment.
765 * config/s390/t-tpf: New file.
766
6b9ce2b4
RE
7672020-03-03 Richard Earnshaw <rearnsha@arm.com>
768
769 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
770 syntax.
771 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
772 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
773 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
774 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
775 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
776 syntax.
777 (divsi3, modsi3): Likewise.
778 (clzdi2, ctzsi2): Likewise.
779 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
780 unified syntax.
781 (UNWIND_WRAPPER): Likewise.
782
8dd5d8f3
ML
7832020-03-02 Martin Liska <mliska@suse.cz>
784
785 * libgcov-interface.c: Remove duplicate
786 declaration of __gcov_flush_mx.
787
ea0b1252
ML
7882020-02-18 Martin Liska <mliska@suse.cz>
789
790 PR ipa/92924
791 * libgcov-merge.c (merge_topn_values_set): Record
792 when a TOP N counter becomes invalid. When merging
793 remove a smallest value if the space is needed.
794
02ce382c
SL
7952020-02-12 Sandra Loosemore <sandra@codesourcery.com>
796
797 PR libstdc++/79193
798 PR libstdc++/88999
799
800 * configure: Regenerated.
801
7214fce3
JL
8022020-02-10 Jeff Law <law@redhat.com>
803
804 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
805 sections.
806 * config/frv/frvend.c: Similarly.
807
cf0f07ef
L
8082020-02-10 H.J. Lu <hongjiu.lu@intel.com>
809
810 PR libgcc/85334
811 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
812 New.
813
5602b48b
CL
8142020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
815
816 PR target/93615
817 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
818 _Unwind_gnu_Find_got.
819 * unwind-pe.h: Likewise.
820
811a475e
JJ
8212020-02-07 Jakub Jelinek <jakub@redhat.com>
822
823 PR target/93615
824 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
825 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
826 trailing :s in asm. Formatting fixes.
827 (_Unwind_decode_typeinfo_ptr): Adjust caller.
828
2d33dcfe
SL
8292020-01-31 Sandra Loosemore <sandra@codesourcery.com>
830
831 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
832
833 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
834 * config/nios2-elf-lib.h: New.
835 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
836 code for finding GOT base for nios2.
837
3ae37f92
ML
8382020-01-27 Martin Liska <mliska@suse.cz>
839
840 PR gcov-profile/93403
841 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
842 Call __gcov_indirect_call_profiler_body.
843 (__gcov_indirect_call_profiler_body): New.
844 (__gcov_indirect_call_profiler_v4_atomic): New.
845 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
846 New declaration.
847
2744b8b2
CZ
8482020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
849
850 * config/arc/crti.S: Add RF16 object attribute.
851 * config/arc/crtn.S: Likewise.
852 * config/arc/crttls.S: Likewise.
853 * config/arc/lib1funcs.S: Likewise.
854 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
855 * config/arc/lib2funcs.c: New file.
856 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
857
e8e66971
MR
8582020-01-24 Maciej W. Rozycki <macro@wdc.com>
859
860 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
861 * configure.ac: Handle `--with-toolexeclibdir='.
862 * configure: Regenerate.
863
54b3d52c
DM
8642020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
865
866 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
867
a3c1e1f2
DM
8682020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
869
870 * config/mips/gnustack.h: New file.
871 * config/mips/crti.S: Include gnustack.h.
872 * config/mips/crtn.S: Likewise.
873 * config/mips/mips16.S: Likewise.
874 * config/mips/vr4120-div.S: Likewise.
875
e9ee848d
ML
8762020-01-23 Martin Liska <mliska@suse.cz>
877
878 * libgcov-driver.c (prune_topn_counter): Remove
879 check for -1 as we only prune run-time counters
880 that do not generate an invalid state.
881
7491c17f
ML
8822020-01-22 Martin Liska <mliska@suse.cz>
883
884 PR tree-optimization/92924
885 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
886 try to find an existing value, then find an empty slot
887 if not found.
888
5f32f9cf
ML
8892020-01-22 Martin Liska <mliska@suse.cz>
890
891 PR tree-optimization/92924
892 * libgcov-driver.c (prune_topn_counter): New.
893 (prune_counters): Likewise.
894 (dump_one_gcov): Prune a run-time counter.
895 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
896 For a known value, add GCOV_TOPN_VALUES to value.
897 Otherwise, decrement all counters by one.
898
463f6499
HPN
8992020-01-18 Hans-Peter Nilsson <hp@axis.com>
900
901 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
902
84479e3a
JDA
9032020-01-18 John David Anglin <danglin@gcc.gnu.org>
904
905 PR libgcc/92988
906 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
907 DEFAULT_USE_CXA_ATEXIT is true.
908
e953433f 9092020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 910 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
911
912 * config/arm/t-arm: Check return value of gcc rather than lack of
913 output.
914
03e87724
GJL
9152020-01-14 Georg-Johann Lay <avr@gjlay.de>
916
917 * config/avr/lib1funcs.S (skip): Simplify.
918
af9bd920
KCY
9192020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
920
921 * config/gcn/atomic.c: Remove include of stdint.h.
922 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
923 __UINTPTR_TYPE__.
924
d6491d15
KCY
9252020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
926
927 * config/gcn/atomic.c: New.
928 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
929
f30dd607
GJL
9302020-01-08 Georg-Johann Lay <avr@gjlay.de>
931
932 Implement 64-bit double functions.
933
934 PR target/92055
935 * config.host (tmake_file) [target=avr]: Add t-libf7,
936 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
937 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
938 depending on sizeof (double) or sizeof (long double).
939 * config/avr/libf7: New folder.
940
5205a445
OH
9412020-01-05 Olivier Hainque <hainque@adacore.com>
942
943 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
944 by IN_LIBGCC2.
945
8d9254fc
JJ
9462020-01-01 Jakub Jelinek <jakub@redhat.com>
947
948 Update copyright years.
949
abb6c3ee
OH
9502019-12-30 Olivier Hainque <hainque@adacore.com>
951
952 * config/gthr-vxworks.h: Use _vxworks-versions.h.
953 * config/gthr-vxworks-tls.c: Likewise.
954
d7f5094a
OH
9552019-12-30 Olivier Hainque <hainque@adacore.com>
956
957 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
958 standard zero-initializer syntax.
959
49cfaa2a
OH
9602019-12-30 Olivier Hainque <hainque@adacore.com>
961
962 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
963 reference to the internal VX_GET_TLS_DATA interface.
964
89b9a554
OH
9652019-12-30 Olivier Hainque <hainque@adacore.com>
966
967 * config/vxcrtstuff.c: Fix incorrect spelling of
968 USE_INITFINI_ARRAY in guard.
969
e8aa9f55
JL
9702019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
971
972 * config.host: s/msp430*-*-elf/msp430-*-elf*.
973 Override default "extra_parts" variable.
974 * configure: Regenerate.
975 * configure.ac: Disable TM clone registry by default for
976 msp430-elfbare.
977
a9046e98
JL
9782019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
979
980 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
981 "extra_parts".
982 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
983
34a53788
JL
9842019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
985
986 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
987 true.
988
21a098f4
JL
9892019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
990
991 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
992 defined instead of its value.
993
ad8b7783
JL
9942019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
995
996 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
997 if it will have contents.
998
08d7ff78
GJL
9992019-12-05 Georg-Johann Lay <avr@gjlay.de>
1000
1001 PR target/92055
1002 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
1003
3d3a96a2
SN
10042019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
1005
34b4d99d 1006 PR libgcc/91737
3d3a96a2
SN
1007 * config.host: Add t-gthr-noweak on *-*-musl*.
1008 * config/t-gthr-noweak: New file.
1009
632b5e3d
JDA
10102019-11-17 John David Anglin <danglin@gcc.gnu.org>
1011
1012 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
1013 volatile void *. Remove trap check.
1014 (__kernel_cmpxchg2): Likewise.
1015 (FETCH_AND_OP_2): Adjust operand types.
1016 (OP_AND_FETCH_2): Likewise.
1017 (FETCH_AND_OP_WORD): Likewise.
1018 (OP_AND_FETCH_WORD): Likewise.
1019 (COMPARE_AND_SWAP_2): Likewise.
1020 (__sync_val_compare_and_swap_4): Likewise.
1021 (__sync_bool_compare_and_swap_4): Likewise.
1022 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
1023 (__sync_lock_test_and_set_4): Likewise.
1024 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
1025 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
1026 for release.
1027 (__sync_lock_release_8): Remove.
1028
838fd641
SN
10292019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
1030
1031 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
1032 of __sigset_t.
1033
27204060
JL
10342019-11-14 Jerome Lambourg <lambourg@adacore.com>
1035 Doug Rupp <rupp@adacore.com>
1036 Olivier Hainque <hainque@adacore.com>
1037
1038 * config.host: Collapse the arm-vxworks entries into
1039 a single arm-wrs-vxworks7* one.
1040 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
1041 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
1042 kernel modules, to be overriden by libstdc++ when we link with
1043 it. Rely on externally provided __exidx_start/end.
1044
3004f893
DR
10452019-11-14 Doug Rupp <rupp@adacore.com>
1046 Olivier Hainque <hainque@adacore.com>
1047
1048 * config.host: Handle aarch64*-wrs-vxworks7*.
1049
36e5f4d4
OH
10502019-11-12 Olivier Hainque <hainque@adacore.com>
1051
1052 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
1053 sources except the cxx0x support to LIB2ADDEH. We don't support
1054 cxx0x on AE/653.
1055 * config/t-vxworksae: New file.
1056 * config.host: Handle *-*-vxworksae: Add the two aforementioned
1057 Makefile fragment files at their expected position in the tmake_file
1058 list, in accordance with what is done for other VxWorks variants.
1059
806dd047
CG
10602019-11-12 Corentin Gay <gay@adacore.com>
1061 Jerome Lambourg <lambourg@adacore.com>
1062 Olivier Hainque <hainque@adacore.com>
1063
1064 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
1065 sources to LIB2ADDEH.
1066 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
1067 * config/t-vxworks7: Likewise.
1068
1069 * config.host: Append a block at the end of the file to add the
1070 t-gthr files to the tmake_file list for VxWorks after everything
1071 else.
1072
1073 * config/vxlib.c: Rename as gthr-vxworks.c.
1074 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
1075
1076 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
1077 API and a basic error checking API, both internal. Simplify the
1078 __gthread_once_t type definition and initializers. Add sections
1079 for condition variables support and for the C++0x thread support,
1080 conditioned against Vx653 for the latter.
1081
1082 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
1083 implementation, leveraging the TAS internal API.
1084 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
1085 API, leveraging the general availability of TLS services in VxWorks7
1086 post SR6xxx.
1087 (__gthread_setspecific, __gthread_setspecific): Use it.
1088 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
1089 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
1090 support based on VxWorks primitives.
1091 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
1092 based on VxWorks primitives.
1093
78e49fb1
JL
10942019-11-06 Jerome Lambourg <lambourg@adacore.com>
1095 Olivier Hainque <hainque@adacore.com>
1096
1097 * config/vxcrtstuff.c: New file.
1098 * config/t-vxcrtstuff: New Makefile fragment.
1099 * config.host: Append t-vxcrtstuff to the tmake_file list
1100 on all VxWorks ports using dwarf for table based EH.
1101
29f3def3
GJL
11022019-11-07 Georg-Johann Lay <avr@gjlay.de>
1103
1104 Support 64-bit double and 64-bit long double configurations.
1105
1106 PR target/92055
1107 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
1108 long double is a 32-bit type.
1109 * config/avr/t-avrlibc: Copy double64 and long-double64
1110 multilib(s) from the vanilla one.
1111 * config/avr/t-copy-libgcc: New Makefile snip.
1112
62ec242e
JL
11132019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1114
1115 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
1116 the target output object format is not ELF.
1117 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
1118
da5c1bbe
OE
11192019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
1120
1121 PR libgcc/78804
1122 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
1123 * fp-bit.c (pack_d, unpack_d): Remove special cases for
1124 FLOAT_BIT_ORDER_MISMATCH.
1125 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
1126
8dc56a22
JW
11272019-11-01 Jim Wilson <jimw@sifive.com>
1128
1129 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
1130
91c64455
JL
11312019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1132
1133 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
1134 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
1135 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
1136 Define symbols for 32-bit and f5series hardware multiply
1137 register addresses.
1138 Replace hard-coded register addresses with symbols.
1139 Fix "_mspabi*" typo.
1140 Fix whitespace.
1141 * config/msp430/lib2mul.c: Add comment.
1142
85093ac6
JDA
11432019-10-15 John David Anglin <danglin@gcc.gnu.org>
1144
1145 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
1146 unsigned int. Adjust callers.
1147 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
1148 unsigned int *. Load relocation offset before function pointer.
1149 Add barrier to ensure ordering.
1150
1aea083d
JDA
11512019-10-12 John David Anglin <danglin@gcc.gnu.org>
1152
1153 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
1154 Load PIC register after branch target. Fix white space.
1155 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
1156 implementations. Load PIC register after branch target. Don't
1157 clobber function pointer when it points to function descriptor.
1158 Use nullification instead of branch in LINUX implementation.
1159
c49af82c
JDA
11602019-10-03 John David Anglin <danglin@gcc.gnu.org>
1161
1162 * config/pa/fptr.c: Disable -Warray-bounds warning.
1163
88a51d68
RH
11642019-09-25 Richard Henderson <richard.henderson@linaro.org>
1165
9e46fd07
RH
1166 * config.in, configure: Re-rebuild with stock autoconf 2.69,
1167 not the ubuntu modified 2.69.
1168
58d169ba
RH
1169 PR target/91833
1170 * config/aarch64/lse-init.c: Include auto-target.h. Disable
1171 initialization if !HAVE_SYS_AUXV_H.
1172 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
1173 * config.in, configure: Rebuild.
1174
88a51d68
RH
1175 PR target/91834
1176 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
1177 overlap the inputs.
1178
761e6bb9
SZ
11792019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
1180
1181 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
1182 CTR_EL0.IDC and CTR_EL0.DIC.
1183
76c93295
CL
11842019-09-20 Christophe Lyon <christophe.lyon@st.com>
1185
1186 Revert:
1187 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
1188 Mickaël Guêné <mickael.guene@st.com>
1189
1190 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1191 architecture.
1192
33befddc
RH
11932019-09-19 Richard Henderson <richard.henderson@linaro.org>
1194
1195 * config/aarch64/lse-init.c: New file.
1196 * config/aarch64/lse.S: New file.
1197 * config/aarch64/t-lse: New file.
1198 * config.host: Add t-lse to all aarch64 tuples.
1199
ae1152e5
CL
12002019-09-10 Christophe Lyon <christophe.lyon@st.com>
1201 Mickaël Guêné <mickael.guene@st.com>
1202
84818dbb
CL
1203 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
1204 architecture.
1205
12062019-09-10 Christophe Lyon <christophe.lyon@st.com>
1207 Mickaël Guêné <mickael.guene@st.com>
1208
ae1152e5
CL
1209 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
1210 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
1211 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
1212 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
1213 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
1214 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
1215 (__gnu_personality_sigframe_fdpic): New.
1216 (get_eit_entry): Add FDPIC signal frame support.
1217
5d727a4b
CL
12182019-09-10 Christophe Lyon <christophe.lyon@st.com>
1219 Mickaël Guêné <mickael.guene@st.com>
1220
1221 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
1222 (__kernel_dmb): Likewise.
1223 (__fdpic_cmpxchg): New function.
1224 (__fdpic_dmb): New function.
1225 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
1226 (gnu_Unwind_Find_got): New function.
1227 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
1228 * unwind-arm-common.inc (UCB_PR_GOT): New.
1229 (funcdesc_t): New struct.
1230 (get_eit_entry): Add FDPIC support.
1231 (unwind_phase2): Likewise.
1232 (unwind_phase2_forced): Likewise.
1233 (__gnu_Unwind_RaiseException): Likewise.
1234 (__gnu_Unwind_Resume): Likewise.
1235 (__gnu_Unwind_Backtrace): Likewise.
1236 * unwind-pe.h (read_encoded_value_with_base): Likewise.
1237
b1e21e5a 12382019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 1239 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 1240
11189793
CL
1241 * libgcc/crtstuff.c: Add support for FDPIC.
1242
12432019-09-10 Christophe Lyon <christophe.lyon@st.com>
1244
1245 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 1246
91dfef96
JM
12472019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
1248
1249 * config.host: Set cpu_type for bpf-*-* targets.
1250 * config/bpf/t-bpf: Likewise.
1251 * config/bpf/crtn.S: Likewise.
1252 * config/bpf/crti.S: New file.
1253
2f4d8951
JW
12542019-09-06 Jim Wilson <jimw@sifive.com>
1255
1256 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
1257 (riscv*-*-freebsd*): Likewise.
1258
2f2aeda9
UW
12592019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
1260
1261 * config.host: Remove references to spu.
1262 * config/spu/: Remove directory.
1263
d16017da
JL
12642019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1265
1266 PR target/91306
1267 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
1268 element type, instead of "sizeof" the element type.
1269 (__DTOR_LIST__): Likewise.
1270 (__TMC_LIST__): Likewise.
1271 (__do_global_dtors_aux_fini_array_entry): Likewise.
1272 (__frame_dummy_init_array_entry): Likewise.
1273 (__CTOR_END__): Likewise.
1274 (__DTOR_END__): Likweise.
1275 (__FRAME_END__): Likewise.
1276 (__TMC_END__): Likewise.
1277
a9fcfec3
HL
12782019-08-20 Lili Cui <lilicui@intel.com>
1279
1280 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
1281 INTEL_COREI7_COOPERLAKE.
1282
428642b1
MT
12832019-07-31 Matt Thomas <matt@3am-software.com>
1284 Nick Hudson <nick@nthcliff.demon.co.uk>
1285 Matthew Green <mrg@eterna.com.au>
1286 Maya Rashish <coypu@sdf.org>
1287
1288 * config.host (hppa*-*-netbsd*): New case.
1289 * config/pa/t-netbsd: New file.
1290
f0efd925
JH
12912019-07-31 Joel Hutton <Joel.Hutton@arm.com>
1292
1293 * config/arm/cmse.c (cmse_check_address_range): Add
1294 warn_unused_result attribute.
1295
a861990d
ML
12962019-07-22 Martin Liska <mliska@suse.cz>
1297
1298 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
1299 * config/pa/t-stublib: Likewise.
1300
9c0dba7c
SH
13012019-07-22 Stafford Horne <shorne@gmail.com>
1302
1303 PR target/90362
1304 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
1305 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
1306 instructions are not available on every processor. Change a
1307 l.bnf to l.bf to fix logic issue.
1308
61afc8f8
IS
13092019-07-04 Iain Sandoe <iain@sandoe.co.uk>
1310
1311 * config.host: Remove reference to t-darwin8.
1312
179c7ef5
IS
13132019-07-03 Iain Sandoe <iain@sandoe.co.uk>
1314
1315 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
1316 list.
1317 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
1318 mmacosx-version-min for crts to run across all system versions.
1319 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
1320 * config/t-darwin: Revise mmacosx-version-min for crts to run across
1321 system versions >= 10.4.
1322
596341c7
ML
13232019-07-03 Martin Liska <mliska@suse.cz>
1324
1325 * Makefile.in: Use topn_values instead of one_value names.
1326 * libgcov-merge.c (__gcov_merge_single): Move to ...
1327 (__gcov_merge_topn): ... this.
1328 (merge_single_value_set): Move to ...
1329 (merge_topn_values_set): ... this.
1330 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
1331 ...
1332 (__gcov_topn_values_profiler_body): ... this.
1333 (__gcov_one_value_profiler_v2): Move to ...
1334 (__gcov_topn_values_profiler): ... this.
1335 (__gcov_one_value_profiler_v2_atomic): Move to ...
1336 (__gcov_topn_values_profiler_atomic): ... this.
1337 (__gcov_indirect_call_profiler_v4): Remove.
1338 * libgcov-util.c (__gcov_single_counter_op): Move to ...
1339 (__gcov_topn_counter_op): ... this.
1340 * libgcov.h (L_gcov_merge_single): Remove.
1341 (L_gcov_merge_topn): New.
1342 (__gcov_merge_single): Remove.
1343 (__gcov_merge_topn): New.
1344 (__gcov_one_value_profiler_v2): Move to ..
1345 (__gcov_topn_values_profiler): ... this.
1346 (__gcov_one_value_profiler_v2_atomic): Move to ...
1347 (__gcov_topn_values_profiler_atomic): ... this.
1348
1b309ca5
ML
13492019-07-03 Martin Liska <mliska@suse.cz>
1350
1351 * libgcov-merge.c (merge_single_value_set): Support N values.
1352 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
1353
5a460280
ID
13542019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
1355
1356 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
1357 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
1358 * configure.ac: Add --disable-tm-clone-registry option.
1359 * configure: Regenerate.
1360
45309d28
ML
13612019-06-27 Martin Liska <mliska@suse.cz>
1362
1363 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
1364 dead assignments.
1365 * libgcov-util.c: Likewise.
1366
c2f7a665
ML
13672019-06-27 Martin Liska <mliska@suse.cz>
1368
1369 * libgcov-util.c (gcov_profile_merge): Release allocated
1370 memory.
1371 (calculate_overlap): Likewise.
1372
a8e55c61
IS
13732019-06-25 Iain Sandoe <iain@sandoe.co.uk>
1374
1375 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
1376 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
1377 Build objects for the out of line save/restore register functions
1378 so that they can be used for any supported Darwin version.
1379 * config/t-darwin: Default the build Darwin version to Darwin8
1380 (MacOS 10.4).
1381
e5ce4cbc
ML
13822019-06-25 Martin Liska <mliska@suse.cz>
1383
1384 * libgcov-driver-system.c (replace_filename_variables): Do not
1385 call strlen with NULL argument.
1386
52a47d28
AS
13872019-06-25 Andrew Stubbs <ams@codesourcery.com>
1388
1389 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
1390 * config/gcn/unwind-gcn.c: New file.
1391
76d46331
KCY
13922019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
1393 Andrew Stubbs <ams@codesourcery.com>
1394
1395 * configure: Regenerate.
1396 * config/gcn/gthr-gcn.h: New.
1397
787783a0
TV
13982019-06-18 Tom de Vries <tdevries@suse.de>
1399
1400 * config/nvptx/crt0.c (__main): Declare.
1401
f32f7585
MG
14022019-06-17 Matthew Green <mrg@eterna.com.au>
1403 Maya Rashish <coypu@sdf.org>
1404
1405 * config.host (aarch64*-*-netbsd*): New case.
1406
0fcc78f7
JL
14072019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1408
1409 * config/msp430/slli.S (__mspabi_sllll): New library function for
1410 performing a logical left shift of a 64-bit value.
1411 * config/msp430/srai.S (__mspabi_srall): New library function for
1412 performing a arithmetic right shift of a 64-bit value.
1413 * config/msp430/srll.S (__mspabi_srlll): New library function for
1414 performing a logical right shift of a 64-bit value.
1415
b27c1082
MT
14162019-06-14 Matt Thomas <matt@3am-software.com>
1417 Matthew Green <mrg@eterna.com.au>
1418 Nick Hudson <skrll@netbsd.org>
1419 Maya Rashish <coypu@sdf.org>
1420
1421 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
1422 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
1423 functions to build.
1424 * config/arm/t-netbsd-eabi: New file.
1425
ae7deb4b
DD
14262019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
1427
1428 * config.host: Add PRU target.
1429 * config/pru/asri.c: New file.
1430 * config/pru/eqd.c: New file.
1431 * config/pru/eqf.c: New file.
1432 * config/pru/ged.c: New file.
1433 * config/pru/gef.c: New file.
1434 * config/pru/gtd.c: New file.
1435 * config/pru/gtf.c: New file.
1436 * config/pru/led.c: New file.
1437 * config/pru/lef.c: New file.
1438 * config/pru/lib2bitcountHI.c: New file.
1439 * config/pru/lib2divHI.c: New file.
1440 * config/pru/lib2divQI.c: New file.
1441 * config/pru/lib2divSI.c: New file.
1442 * config/pru/libgcc-eabi.ver: New file.
1443 * config/pru/ltd.c: New file.
1444 * config/pru/ltf.c: New file.
1445 * config/pru/mpyll.S: New file.
1446 * config/pru/pru-abi.h: New file.
1447 * config/pru/pru-asm.h: New file.
1448 * config/pru/pru-divmod.h: New file.
1449 * config/pru/sfp-machine.h: New file.
1450 * config/pru/t-pru: New file.
1451
0d7b3e47
JJ
14522019-06-11 Jakub Jelinek <jakub@redhat.com>
1453
1454 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
1455
54e2d83c
ML
14562019-06-10 Martin Liska <mliska@suse.cz>
1457
1458 PR bootstrap/90808
1459 * libgcov.h: Add ATTRIBUTE_UNUSED.
1460
92d41717
ML
14612019-06-10 Martin Liska <mliska@suse.cz>
1462
1463 * Makefile.in: Add __gcov_one_value_profiler_v2,
1464 __gcov_one_value_profiler_v2_atomic and
1465 __gcov_indirect_call_profiler_v4.
1466 * libgcov-merge.c (__gcov_merge_single): Change
1467 function signature.
1468 (merge_single_value_set): New.
1469 * libgcov-profiler.c (__gcov_one_value_profiler_body):
1470 Update functionality.
1471 (__gcov_one_value_profiler): Remove.
1472 (__gcov_one_value_profiler_v2): ... this.
1473 (__gcov_one_value_profiler_atomic): Rename to ...
1474 (__gcov_one_value_profiler_v2_atomic): this.
1475 (__gcov_indirect_call_profiler_v3): Rename to ...
1476 (__gcov_indirect_call_profiler_v4): ... this.
1477 * libgcov.h (__gcov_one_value_profiler): Remove.
1478 (__gcov_one_value_profiler_atomic): Remove.
1479 (__gcov_one_value_profiler_v2_atomic): New.
1480 (__gcov_indirect_call_profiler_v3): Remove.
1481 (__gcov_one_value_profiler_v2): New.
1482 (__gcov_indirect_call_profiler_v4): New.
1483 (gcov_get_counter_ignore_scaling): New function.
1484
e37333ba
ML
14852019-06-07 Martin Liska <mliska@suse.cz>
1486
1487 * Makefile.in: Remove usage of
1488 _gcov_merge_icall_topn.
1489 * libgcov-driver.c (gcov_sort_n_vals): Remove.
1490 (gcov_sort_icall_topn_counter): Likewise.
1491 (gcov_sort_topn_counter_arrays): Likewise.
1492 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
1493 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
1494 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
1495 Likewise.
1496 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
1497 (struct indirect_call_tuple): Remove.
1498 (__gcov_indirect_call_topn_profiler): Remove.
1499 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
1500 * libgcov.h (gcov_sort_n_vals): Remove.
1501 (L_gcov_merge_icall_topn): Likewise.
1502 (__gcov_merge_icall_topn): Likewise.
1503 (__gcov_indirect_call_topn_profiler): Likewise.
1504
34a4a9c2
IS
15052019-06-06 Iain Sandoe <iain@sandoe.co.uk>
1506
1507 * config/rs6000/t-darwin: Ensure that the unwinder is built with
1508 altivec enabled.
1509
d1b2f85f
JL
15102019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1511
1512 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
1513 section.
1514 (__mspabi_slli): Likewise.
1515 (__mspabi_slll_n): Likewise.
1516 (__mspabi_slll): Likewise.
1517 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
1518 (__mspabi_srai): Likewise.
1519 (__mspabi_sral_n): Likewise.
1520 (__mspabi_sral): Likewise.
1521 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
1522 (__mspabi_srli): Likewise.
1523 (__mspabi_srll_n): Likewise.
1524 (__mspabi_srll): Likewise.
1525
e69a13d1
YS
15262019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
1527
1528 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
1529 Add appropriate tm_file clause as well.
1530 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
1531
b009eac1
JC
15322019-06-05 James Clarke <jrtc27@jrtc27.com>
1533
1534 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
1535 rather than .data/.bss so it can be accessed via gp-relative
1536 addressing.
1537
781d39f2
DE
15382019-06-05 David Edelsohn <dje.gcc@gmail.com>
1539
1540 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
1541 (CR2_REGNO): Rename to R_CR2.
1542 (XER_REGNO): Rename to R_XER.
1543 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
1544 (VRSAVE_REGNO): Rename to R_VRSAVE.
1545 (VSCR_REGNO): R_VSCR.
1546
76aaa9cd
YS
15472019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
1548
1549 * config.host (rx-*-linux*): Add new case.
1550 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
1551
8fc16d72
ST
15522019-05-29 Sam Tebbs <sam.tebbs@arm.com>
1553
1554 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
1555 function.
1556 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
1557 aarch64_post_frob_eh_handler_addr): Add check for b-key.
1558 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
1559 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
1560 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
1561 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
1562 string.
1563 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
1564 string.
1565 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
1566
e54b1a92
RO
15672019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1568
1569 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
1570 Remove Solaris 9 and 10 support.
1571 (sparc_is_sighandler): Likewise.
1572
abbb8307
JDA
15732019-05-26 John David Anglin <danglin@gcc.gnu.org>
1574
1575 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
1576
2581344d
L
15772019-05-17 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
1580 4_FP_W_TYPEs are used for IEEE quad precision.
1581 * soft-fp/extendhftf2.c: Likewise.
1582 * soft-fp/extendsftf2.c: Likewise.
1583 * soft-fp/extendxftf2.c: Likewise.
1584 * soft-fp/trunctfdf2.c: Likewise.
1585 * soft-fp/trunctfhf2.c: Likewise.
1586 * soft-fp/trunctfsf2.c: Likewise.
1587 * soft-fp/trunctfxf2.c: Likewise.
1588 * config/rs6000/ibm-ldouble.c: Likewise.
1589
ccd1242e
RO
15902019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1591
1592 * config.host: Simplify various *-*-solaris2.1[0-9]* to
1593 *-*-solaris2*.
1594 * configure.ac: Likewise.
1595 * configure: Regenerate.
1596
1597 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
1598 Solaris 10 and Solaris 11 < snv_125 handling.
1599
ef5eb79d
IS
16002019-05-12 Iain Sandoe <iain@sandoe.co.uk>
1601
1602 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
1603
4f0e90fa
HL
16042019-05-07 Hongtao Liu <hongtao.liu@intel.com>
1605
1606 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
1607 * config/i386/cpuinfo.h (enum processor_features): Add
1608 FEATURE_AVX512BF16.
1609
48528842
RR
16102019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1611 Bernd Edlinger <bernd.edlinger@hotmail.de>
1612 Jakub Jelinek <jakub@redhat.com>
1613
1614 PR target/89093
1615 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
1616 * config/arm/unwind-arm.c: Likewise.
1617 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
1618 attribute for ARM.
1619
887e182f
MC
16202019-04-15 Monk Chiang <sh.chiang04@gmail.com>
1621
1622 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
1623 (RT_SIGRETURN): Update.
1624 (nds32_fallback_frame_state): Update.
1625
a90b0cdd
MS
16262019-02-21 Martin Sebor <msebor@redhat.com>
1627
1628 * libgcc2.h (__clear_cache): Correct signature.
1629 * libgcc2.c (__clear_cache): Same.
1630
1ed28eda
UB
16312019-02-20 Uroš Bizjak <ubizjak@gmail.com>
1632
1633 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
1634 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
1635
fe95aee9
UB
16362019-02-19 Uroš Bizjak <ubizjak@gmail.com>
1637
1638 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
1639 regno instead of index to DWARF_ZERO_REG.
1640
bf7988f1
EB
16412019-02-15 Eric Botcazou <ebotcazou@adacore.com>
1642
1643 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
1644 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
1645
ba2c1ca8
UB
16462019-01-31 Uroš Bizjak <ubizjak@gmail.com>
1647
1648 * config/alpha/t-linux: Add -mfp-rounding-mode=d
1649 to HOST_LIBGCC2_CFLAGS.
1650
6395ba73
L
16512019-01-23 Joseph Myers <joseph@codesourcery.com>
1652
1653 PR libgcc/88931
ba2c1ca8 1654 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 1655
756721ba
ML
16562019-01-18 Martin Liska <mliska@suse.cz>
1657
1658 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
1659 to ...
1660 (__gcov_indirect_call_profiler_v3): ... this.
1661 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
1662 (__gcov_indirect_call_profiler_v3): Likewise.
1663 * Makefile.in: Bump function name.
1664
d273c40a
ML
16652019-01-18 Martin Liska <mliska@suse.cz>
1666
1667 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
1668 (gcov_version): Use in gcov_error.
1669 (merge_one_data): Likewise.
1670 (dump_one_gcov): Likewise.
1671
be9d9fdb
ML
16722019-01-18 Martin Liska <mliska@suse.cz>
1673
1674 * libgcov-driver.c (gcov_version_string): New function.
1675 (gcov_version): Convert version integer into string.
1676
91d7b7fe
AS
16772019-01-17 Andrew Stubbs <ams@codesourcery.com>
1678 Kwok Cheung Yeung <kcy@codesourcery.com>
1679 Julian Brown <julian@codesourcery.com>
1680 Tom de Vries <tom@codesourcery.com>
1681
1682 * config.host: Recognize amdgcn*-*-amdhsa.
1683 * config/gcn/crt0.c: New file.
1684 * config/gcn/lib2-divmod-hi.c: New file.
1685 * config/gcn/lib2-divmod.c: New file.
1686 * config/gcn/lib2-gcn.h: New file.
1687 * config/gcn/sfp-machine.h: New file.
1688 * config/gcn/t-amdgcn: New file.
1689
67914693
SL
16902019-01-09 Sandra Loosemore <sandra@codesourcery.com>
1691
1692 PR other/16615
1693
1694 * config/c6x/libunwind.S: Mechanically replace "can not" with
1695 "cannot".
1696 * config/tilepro/atomic.h: Likewise.
1697 * config/vxlib-tls.c: Likewise.
1698 * generic-morestack-thread.c: Likewise.
1699 * generic-morestack.c: Likewise.
1700 * mkmap-symver.awk: Likewise.
1701
a5544970
JJ
17022019-01-01 Jakub Jelinek <jakub@redhat.com>
1703
1704 Update copyright years.
1705
da77eace
L
17062018-12-20 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
1709 to ignore -Waddress-of-packed-member.
1710
72e3a529
TP
17112018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
1712
1713 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
1714 parameter and corresponding code.
1715 (ARM_FUNC_START): Likewise in both definitions.
1716 Also update footer comment about condition that need to match with
1717 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
1718 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
1719 defined. Weakly define it in this case.
1720 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
1721 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
1722 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
1723 comment to keep condition in sync with the one in
1724 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
1725
5d54c798
WX
17262018-12-18 Wei Xiao <wei3.xiao@intel.com>
1727
1728 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
1729 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
1730
5a2580b6
RV
17312018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1732
1733 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
1734 and .cfi_endproc directives for VxWorks targets.
1735
c0c5112b
PK
17362018-12-05 Paul Koning <ni1d@arrl.net>
1737
1738 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
1739
1ea7ea18
AM
17402018-11-27 Alan Modra <amodra@gmail.com>
1741
1742 * config/rs6000/morestack.S (__stack_split_initialize),
1743 (__morestack_get_guard, __morestack_set_guard),
1744 (__morestack_make_guard): Provide CFI covering these functions.
1745 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
1746
ff641ae1
XQ
17472018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1748
1ea7ea18 1749 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
1750 (sc_pt_regs_lr): Update for kernel.
1751 (sc_pt_regs_tls): Update for kernel.
1752
28209372
XQ
17532018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
1754
1755 * config/csky/linux-unwind.h: Fix coding style.
1756
b2a71af6
XQ
17572018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
1758
1759 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 1760 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
1761 instructions to adapt to changes in the kernel
1762
d929e137
SH
17632018-11-09 Stafford Horne <shorne@gmail.com>
1764 Richard Henderson <rth@twiddle.net>
1765
1766 * config.host: Add OpenRISC support.
1767 * config/or1k/*: New.
1768
222cfefa
KC
17692018-11-08 Kito Cheng <kito@andestech.com>
1770
1771 * soft-fp/adddf3.c: Update from glibc.
1772 * soft-fp/addsf3.c: Likewise.
1773 * soft-fp/addtf3.c: Likewise.
1774 * soft-fp/divdf3.c: Likewise.
1775 * soft-fp/divsf3.c: Likewise.
1776 * soft-fp/divtf3.c: Likewise.
1777 * soft-fp/double.h: Likewise.
1778 * soft-fp/eqdf2.c: Likewise.
1779 * soft-fp/eqsf2.c: Likewise.
1780 * soft-fp/eqtf2.c: Likewise.
1781 * soft-fp/extenddftf2.c: Likewise.
1782 * soft-fp/extended.h: Likewise.
1783 * soft-fp/extendhftf2.c: Likewise.
1784 * soft-fp/extendsfdf2.c: Likewise.
1785 * soft-fp/extendsftf2.c: Likewise.
1786 * soft-fp/extendxftf2.c: Likewise.
1787 * soft-fp/fixdfdi.c: Likewise.
1788 * soft-fp/fixdfsi.c: Likewise.
1789 * soft-fp/fixdfti.c: Likewise.
1790 * soft-fp/fixhfti.c: Likewise.
1791 * soft-fp/fixsfdi.c: Likewise.
1792 * soft-fp/fixsfsi.c: Likewise.
1793 * soft-fp/fixsfti.c: Likewise.
1794 * soft-fp/fixtfdi.c: Likewise.
1795 * soft-fp/fixtfsi.c: Likewise.
1796 * soft-fp/fixtfti.c: Likewise.
1797 * soft-fp/fixunsdfdi.c: Likewise.
1798 * soft-fp/fixunsdfsi.c: Likewise.
1799 * soft-fp/fixunsdfti.c: Likewise.
1800 * soft-fp/fixunshfti.c: Likewise.
1801 * soft-fp/fixunssfdi.c: Likewise.
1802 * soft-fp/fixunssfsi.c: Likewise.
1803 * soft-fp/fixunssfti.c: Likewise.
1804 * soft-fp/fixunstfdi.c: Likewise.
1805 * soft-fp/fixunstfsi.c: Likewise.
1806 * soft-fp/fixunstfti.c: Likewise.
1807 * soft-fp/floatdidf.c: Likewise.
1808 * soft-fp/floatdisf.c: Likewise.
1809 * soft-fp/floatditf.c: Likewise.
1810 * soft-fp/floatsidf.c: Likewise.
1811 * soft-fp/floatsisf.c: Likewise.
1812 * soft-fp/floatsitf.c: Likewise.
1813 * soft-fp/floattidf.c: Likewise.
1814 * soft-fp/floattihf.c: Likewise.
1815 * soft-fp/floattisf.c: Likewise.
1816 * soft-fp/floattitf.c: Likewise.
1817 * soft-fp/floatundidf.c: Likewise.
1818 * soft-fp/floatundisf.c: Likewise.
1819 * soft-fp/floatunditf.c: Likewise.
1820 * soft-fp/floatunsidf.c: Likewise.
1821 * soft-fp/floatunsisf.c: Likewise.
1822 * soft-fp/floatunsitf.c: Likewise.
1823 * soft-fp/floatuntidf.c: Likewise.
1824 * soft-fp/floatuntihf.c: Likewise.
1825 * soft-fp/floatuntisf.c: Likewise.
1826 * soft-fp/floatuntitf.c: Likewise.
1827 * soft-fp/gedf2.c: Likewise.
1828 * soft-fp/gesf2.c: Likewise.
1829 * soft-fp/getf2.c: Likewise.
1830 * soft-fp/half.h: Likewise.
1831 * soft-fp/ledf2.c: Likewise.
1832 * soft-fp/lesf2.c: Likewise.
1833 * soft-fp/letf2.c: Likewise.
1834 * soft-fp/muldf3.c: Likewise.
1835 * soft-fp/mulsf3.c: Likewise.
1836 * soft-fp/multf3.c: Likewise.
1837 * soft-fp/negdf2.c: Likewise.
1838 * soft-fp/negsf2.c: Likewise.
1839 * soft-fp/negtf2.c: Likewise.
1840 * soft-fp/op-1.h: Likewise.
1841 * soft-fp/op-2.h: Likewise.
1842 * soft-fp/op-4.h: Likewise.
1843 * soft-fp/op-8.h: Likewise.
1844 * soft-fp/op-common.h: Likewise.
1845 * soft-fp/quad.h: Likewise.
1846 * soft-fp/single.h: Likewise.
1847 * soft-fp/soft-fp.h: Likewise.
1848 * soft-fp/subdf3.c: Likewise.
1849 * soft-fp/subsf3.c: Likewise.
1850 * soft-fp/subtf3.c: Likewise.
1851 * soft-fp/truncdfsf2.c: Likewise.
1852 * soft-fp/trunctfdf2.c: Likewise.
1853 * soft-fp/trunctfhf2.c: Likewise.
1854 * soft-fp/trunctfsf2.c: Likewise.
1855 * soft-fp/trunctfxf2.c: Likewise.
1856 * soft-fp/unorddf2.c: Likewise.
1857 * soft-fp/unordsf2.c: Likewise.
1858 * soft-fp/unordtf2.c: Likewise.
1859
2901f42f
VK
18602018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
1861
1862 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
1863 * config/i386/cpuinfo.h (processor_types): Add znver2.
1864
4310ca66
PK
18652018-11-01 Paul Koning <ni1d@arrl.net>
1866
1867 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
1868 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
1869
22e05272
JM
18702018-10-31 Joseph Myers <joseph@codesourcery.com>
1871
1872 PR bootstrap/82856
1873 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
1874 * configure: Regenerate.
1875
8180cde0
CZ
18762018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
1877
1878 * config/arc/lib1funcs.S (_muldi3): New function.
1879 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
1880
be7b071e
RV
18812018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1882
1883 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
1884
3239d726
ML
18852018-10-25 Martin Liska <mliska@suse.cz>
1886
1887 PR other/87735
1888 * libgcov-profiler.c: Revert.
1889
19b55958
ML
18902018-10-24 Martin Liska <mliska@suse.cz>
1891
1892 * libgcov-profiler.c: Start from 1 in order to distinguish
1893 functions which were seen and these that were not.
1894
a9a2fddb
PK
18952018-10-18 Paul Koning <ni1d@arrl.net>
1896
1897 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
1898 standard.
1899 * divmod.c: Update references to __udivmodsi4.
1900 * udivmod.c: Ditto.
1901 * udivhi3.c: New file.
1902 * udivmodhi4.c: New file.
1903 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
1904
fc8abc46
RV
19052018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1906
1907 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
1908
87f918e3
OH
19092018-10-12 Olivier Hainque <hainque@adacore.com>
1910
1911 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
1912 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
1913
be86efa7
PK
19142018-10-08 Paul Koning <ni1d@arrl.net>
1915
1916 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
1917
3edbcdbe
ML
19182018-10-04 Martin Liska <mliska@suse.cz>
1919
1920 PR gcov-profile/84107
1921 * libgcov-profiler.c (__gcov_indirect_call):
1922 Change type to indirect_call_tuple.
1923 (struct indirect_call_tuple): New struct.
1924 (__gcov_indirect_call_topn_profiler): Change type.
1925 (__gcov_indirect_call_profiler_v2): Use the new
1926 variables.
1927 * libgcov.h (struct indirect_call_tuple): New struct
1928 definition.
1929
af8096fc
UB
19302018-10-03 Uros Bizjak <ubizjak@gmail.com>
1931
1932 * libgcc2.c (isnan): Use __builtin_isnan.
1933 (isfinite): Use __builtin_isfinite.
1934 (isinf): Use __builtin_isinf.
1935
0a76bba4
UB
19362018-09-26 Uros Bizjak <ubizjak@gmail.com>
1937
1938 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
1939
5244089f
OH
19402018-09-21 Alexandre Oliva <oliva@adacore.com>
1941
1942 * config/vxcache.c: New file. Provide __clear_cache, based on
1943 the cacheTextUpdate VxWorks service.
1944 * config/t-vxworks (LIB2ADD): Add vxcache.c.
1945 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
1946 * config/t-vxwoks7: Likewise.
1947
512cc015
ML
19482018-09-21 Martin Liska <mliska@suse.cz>
1949
1950 * libgcov-driver.c (crc32_unsigned): Remove.
1951 (gcov_histogram_insert): Likewise.
1952 (gcov_compute_histogram): Likewise.
1953 (compute_summary): Simplify rapidly.
1954 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
1955 (merge_summary): Rapidly simplify.
1956 (dump_one_gcov): Ignore gcov_summary.
1957 (gcov_do_dump): Do not handle program summary, it's not
1958 used.
1959 * libgcov-util.c (tag_summary): Remove.
1960 (read_gcda_finalize): Fix coding style.
1961 (read_gcda_file): Initialize curr_object_summary.
1962 (compute_summary): Remove.
1963 (calculate_overlap): Remove settings of run_max.
1964
36ff254b
MC
19652018-09-21 Monk Chiang <sh.chiang04@gmail.com>
1966
1967 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
1968 ucontext_t type instead.
1969 (nds32_fallback_frame_state): Remove struct _sigframe statement.
1970
229a033d
KC
19712018-09-21 Kito Cheng <kito.cheng@gmail.com>
1972
1973 * config/nds32/t-nds32-glibc: New file.
1974
53c6feb2
RO
19752018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1976
1977 * configure.ac (solaris_ld_v2_maps): New test.
1978 * configure: Regenerate.
1979 * Makefile.in (solaris_ld_v2_maps): New variable.
1980 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
1981 if supported.
1982
ebdb6f23
RE
19832018-08-23 Richard Earnshaw <rearnsha@arm.com>
1984
1985 PR target/86951
1986 * config/arm/lib1funcs.asm (speculation_barrier): New function.
1987 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
1988 to build.
1989
a49c064e
IS
19902018-08-22 Iain Sandoe <iain@sandoe.co.uk>
1991
1ea7ea18 1992 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
1993 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
1994 * config/darwin10-unwind-find-enc-func.c: … to here.
1995 * config/t-darwin: Build Darwin10 unwinder shim crt.
1996 * libgcc/config.host: Add the Darwin10 unwinder shim.
1997
9a5b8df7
RV
19982018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1999
2000 * config.host: Add crtbegin.o and crtend.o for
2001 powerpc-wrs-vxworks target.
2002
4cd0bc3b
J
20032018-08-17 Jojo <jijie_rong@c-sky.com>
2004 Huibin Wang <huibin_wang@c-sky.com>
2005 Sandra Loosemore <sandra@codesourcery.com>
2006 Chung-Lin Tang <cltang@codesourcery.com>
2007
2008 C-SKY port: libgcc
2009
2010 * config.host: Add C-SKY support.
2011 * config/csky/*: New.
2012
a4931745
CJW
20132018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
2014
2015 * config/nds32/t-nds32-isr: Rearrange object dependency.
2016 * config/nds32/initfini.c: Add dwarf2 unwinding support.
2017 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
2018 and registers usage.
2019 * config/nds32/isr-library/excp_isr.S: Ditto.
2020 * config/nds32/isr-library/intr_isr.S: Ditto.
2021 * config/nds32/isr-library/reset.S: Ditto.
2022 * config/nds32/isr-library/restore_all.inc: Ditto.
2023 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
2024 * config/nds32/isr-library/restore_partial.inc: Ditto.
2025 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
2026 * config/nds32/isr-library/save_all.inc: Ditto.
2027 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
2028 * config/nds32/isr-library/save_partial.inc: Ditto.
2029 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
2030 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
2031
2b1969f6
JDA
20322018-08-11 John David Anglin <danglin@gcc.gnu.org>
2033
2034 * config/pa/linux-atomic.c: Update comment.
2035 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
2036 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
2037 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
2038 __ATOMIC_RELAXED for atomic loads.
2039 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
2040 unordered store to release lock.
2041 (__sync_lock_release_8): Likewise.
2042 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 2043
89fff9cc
NP
20442018-08-02 Nicolas Pitre <nico@fluxnic.net>
2045
2046 PR libgcc/86512
2047 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
2048 exponent goes negative. Update my email address.
2049 * config/arm/ieee754-sf.S: Likewise.
2050
fd2e1dcd
ML
20512018-08-01 Martin Liska <mliska@suse.cz>
2052
2053 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 2054 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 2055
b7415975
CL
20562018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
2057
2058 * config/arm/ieee754-df.S: Fix comment for code working on
2059 architectures >= 4.
2060 * config/arm/ieee754-sf.S: Likewise.
2061
b72e71a3
L
20622018-07-27 H.J. Lu <hongjiu.lu@intel.com>
2063
2064 PR libgcc/85334
2065 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2066 Removed.
2067
1c686aa4
JC
20682018-07-05 James Clarke <jrtc27@jrtc27.com>
2069
2070 * configure: Regenerated.
2071
b61c9b99
RO
20722018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2073
2074 * Makefile.in (install_leaf): Use enable_gcov instead of
2075 enable_libgcov.
2076
1765b023
RV
20772018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2078
2079 * configure.ac: Add --disable-gcov option.
2080 * configure: Regenerate.
2081 * Makefile.in: Honour @enable_gcov@.
2082
9b2e34ef
CL
20832018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2084
2085 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
2086 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
2087 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
2088 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
2089 __ARM_ARCH__.
2090 * config/arm/ieee754-sf.S: Likewise.
2091 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
2092
d1b0dd54
CL
20932018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
2094
2095 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
2096 longer supported.
2097 * config/arm/ieee754-sf.S: Likewise.
2098
1f3fa525
TM
20992018-06-20 Than McIntosh <thanm@google.com>
2100
2101 PR libgcc/86213
2102 * generic-morestack.c (allocate_segment): Move calls to getenv and
2103 getpagesize to __morestack_load_mmap.
2104 (__morestack_load_mmap) Initialize static_pagesize and
2105 use_guard_page here so as to avoid clobbering SSE regs during a
2106 __morestack call.
2107
6a8886e4
MM
21082018-06-18 Michael Meissner <meissner@linux.ibm.com>
2109
2110 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
2111 support modules with -mno-gnu-attribute.
2112 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
2113
fb997097
OH
21142018-06-07 Olivier Hainque <hainque@adacore.com>
2115
2116 * config/t-vxworks (LIBGCC_INCLUDES): Add
2117 -I$(MULTIBUILDTOP)../../gcc/include.
2118 * config/t-vxworks7: Likewise. Reformat a bit to match
2119 the t-vxworks layout.
2120
a548a5a1
OM
21212018-06-07 Olga Makhotina <olga.makhotina@intel.com>
2122
2123 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
2124
244aebfd
ML
21252018-06-07 Martin Liska <mliska@suse.cz>
2126
2127 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 2128 all_prg.
244aebfd 2129
6c086e8c
ML
21302018-06-07 Martin Liska <mliska@suse.cz>
2131
92a285c1 2132 PR bootstrap/86057
6c086e8c 2133 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 2134 memcpy instead of mempcpy.
6c086e8c 2135 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 2136 prefix and set it.
6c086e8c 2137 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 2138 here and properly copy content into it.
6c086e8c 2139 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 2140 field, change prefix from size_t into char *.
6c086e8c
ML
2141 (compute_summary): Do not calculate longest filename.
2142 (gcov_do_dump): Release memory of gf.filename after each file.
2143 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 2144 compute_summary.
6c086e8c
ML
2145 (calculate_overlap): Likewise.
2146
97a53d1d
ML
21472018-06-05 Martin Liska <mliska@suse.cz>
2148
2149 PR gcov-profile/47618
2150 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 2151 function.
97a53d1d
ML
2152 (gcov_exit_open_gcda_file): Use it.
2153
7f3577f5
ML
21542018-06-05 Martin Liska <mliska@suse.cz>
2155
2156 * libgcov-driver.c (gcov_compute_histogram): Remove usage
2157 of gcov_ctr_summary.
2158 (compute_summary): Do it just for a single summary.
2159 (merge_one_data): Likewise.
2160 (merge_summary): Simplify as we read just single summary.
2161 (dump_one_gcov): Pass proper argument.
2162 * libgcov-util.c (compute_one_gcov): Simplify as we have just
2163 single summary.
2164 (gcov_info_count_all_cold): Likewise.
2165 (calculate_overlap): Likewise.
2166
cf3cd43d
CJW
21672018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
2168 Monk Chiang <sh.chiang04@gmail.com>
2169
2170 * config.host (nds32*-linux*): New.
2171 * config/nds32/linux-atomic.c: New file.
2172 * config/nds32/linux-unwind.h: New file.
2173
8b8003ed
UB
21742018-05-31 Uros Bizjak <ubizjak@gmail.com>
2175
2176 PR target/85591
2177 * config/i386/cpuinfo.c (get_amd_cpu): Return
2178 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
2179
bbdf026f
RV
21802018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
2181
92a285c1 2182 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 2183
0e8f29da
ML
21842018-05-29 Martin Liska <mliska@suse.cz>
2185
92a285c1 2186 PR gcov-profile/85759
0e8f29da 2187 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 2188 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 2189 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 2190 overwrite a gcov file with a different timestamp.
0e8f29da 2191
54fd1590
K
21922018-05-23 Kalamatee <kalamatee@gmail.com>
2193
2194 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
2195 path to Lf$finfty.
2196
09baee1a
KC
21972018-05-18 Kito Cheng <kito.cheng@gmail.com>
2198 Monk Chiang <sh.chiang04@gmail.com>
2199 Jim Wilson <jimw@sifive.com>
2200
2201 * config/riscv/save-restore.S: Add support for rv32e.
2202
c3f808d3
KT
22032018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2204
2205 * config/arm/libunwind.S: Update comment relating to armv5.
2206
fcf4f831
JL
22072018-05-17 Jerome Lambourg <lambourg@adacore.com>
2208
2209 * config/arm/cmse.c (cmse_check_address_range): Replace
2210 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
2211
74b2bb19
OM
22122018-05-17 Olga Makhotina <olga.makhotina@intel.com>
2213
2214 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
2215 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
2216
50e461df
OM
22172018-05-08 Olga Makhotina <olga.makhotina@intel.com>
2218
2219 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
2220 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
2221
e5f1cdb1
AC
22222018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
2223
2224 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
2225
8f479d7a
AT
22262018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
2227 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
2228
2229 PR libgcc/84292
2230 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
2231 op_and_fetch to return the right result.
2232
ae043291
AM
22332018-04-27 Alan Modra <amodra@gmail.com>
2234
2235 PR libgcc/85532
2236 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
2237 -fno-asynchronous-unwind-tables.
2238
ba169b74
CJW
22392018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
2240
2241 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
2242 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
2243
ffc2fc06
L
22442018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2245
2246 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
2247 when including "config/i386/shadow-stack-unwind.h".
2248
7b47ecf2
L
22492018-04-24 H.J. Lu <hongjiu.lu@intel.com>
2250
2251 * configure: Regenerated.
2252
661eb8f9
MM
22532018-04-20 Michael Meissner <meissner@linux.ibm.com>
2254
2255 PR target/85456
2256 * config/rs6000/_powikf2.c: New file. Add support for the
2257 __builtin_powil function when long double is IEEE 128-bit floating
2258 point.
2259 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
2260 __powikf2 support.
2261 (__powikf2): Likewise.
2262 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
2263 (__powikf2_hw): Likewise.
2264 (__powikf2): Likewise.
2265 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
2266 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
2267 (_powikf2-hw.c): Likewise.
2268
5707be3c
L
22692018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2270
2271 PR libgcc/85334
2272 * unwind-generic.h (_Unwind_Frames_Increment): New.
2273 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2274 Likewise.
2275 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
2276 count with _Unwind_Frames_Increment.
2277 (_Unwind_ForcedUnwind_Phase2): Likewise.
2278
5f9ca0b8
L
22792018-04-19 H.J. Lu <hongjiu.lu@intel.com>
2280
2281 PR libgcc/85379
2282 * config/i386/morestack.S (__stack_split_initialize): Add
2283 _CET_ENDBR.
2284
a0e1df88
JJ
22852018-04-19 Jakub Jelinek <jakub@redhat.com>
2286
2287 * configure: Regenerated.
2288
001ddaa8
DM
22892018-04-18 David Malcolm <dmalcolm@redhat.com>
2290
2291 PR jit/85384
2292 * configure: Regenerate.
2293
a57f99ba
JJ
22942018-04-16 Jakub Jelinek <jakub@redhat.com>
2295
2296 PR target/84945
2297 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
2298 -Wdangling-else warnings. Mask shift counts to avoid
2299 -Wshift-count-negative and -Wshift-count-overflow false positives.
2300
4d47fe5a
RB
23012018-04-06 Ruslan Bukin <br@bsdpad.com>
2302
2303 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
2304
059cc8ac
L
23052018-03-29 H.J. Lu <hongjiu.lu@intel.com>
2306
2307 PR target/85100
2308 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
2309 (XSTATE_FP): Likewise.
2310 (XSTATE_SSE): Likewise.
2311 (XSTATE_YMM): Likewise.
2312 (XSTATE_OPMASK): Likewise.
2313 (XSTATE_ZMM): Likewise.
2314 (XSTATE_HI_ZMM): Likewise.
2315 (XCR_AVX_ENABLED_MASK): Likewise.
2316 (XCR_AVX512F_ENABLED_MASK): Likewise.
2317 (get_available_features): Enable AVX and AVX512 features only
2318 if their states are supported by OSXSAVE.
2319
f2620385
IT
23202018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2321
2322 PR target/85025
2323 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2324 Fix a typo, tmp => 255.
2325
ae6dca8c
JJ
23262018-03-20 Jakub Jelinek <jakub@redhat.com>
2327
2328 PR target/84945
2329 * config/i386/cpuinfo.h (__cpu_features2): Declare.
2330 * config/i386/cpuinfo.c (__cpu_features2): New variable for
2331 ifndef SHARED only.
2332 (set_feature): Define.
2333 (get_available_features): Use set_feature macro. Set __cpu_features2
2334 to the second word of features ifndef SHARED.
2335
c36b04c1
JK
23362018-03-15 Julia Koval <julia.koval@intel.com>
2337
2338 * config/i386/cpuinfo.c (get_available_features): Add
2339 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
2340 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
2341 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
2342 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
2343 FEATURE_AVX512BITALG.
2344
79ab5364
JK
23452018-03-14 Julia Koval <julia.koval@intel.com>
2346
2347 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
2348 icelake client and icelake server.
2349
66a00b11
JDA
23502018-03-06 John David Anglin <danglin@gcc.gnu.org>
2351
2352 * config/pa/fptr.c (_dl_read_access_allowed): New.
2353 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 2354
ce579a4f
JJ
23552018-02-28 Jakub Jelinek <jakub@redhat.com>
2356
2357 PR debug/83917
2358 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
2359 $asm_hidden_op if visibility ("hidden") attribute works.
2360 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
2361 * config/i386/i386-asm.h: Don't include auto-host.h.
2362 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
2363 PACKAGE_URL): Don't undefine.
2364 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
2365 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
2366 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
2367 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
2368 definition instead of hardcoded .hidden.
2369 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
2370 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
2371 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
2372 (USE_GAS_CFI_DIRECTIVES): Don't define.
2373 * configure: Regenerated.
2374 * config.in: Likewise.
2375
e5868319
JJ
23762018-02-26 Jakub Jelinek <jakub@redhat.com>
2377
2378 PR debug/83917
2379 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
2380 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
2381 inclusion of auto-target.h and auto-host.h.
2382 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
2383 __GCC_HAVE_DWARF2_CFI_ASM.
2384 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2385 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
2386 cfi_pop): Define.
2387 * config/i386/cygwin.S: Don't include auto-host.h here, just
2388 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
2389 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
2390 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
2391 * config/i386/resms64fx.h: Add cfi_* directives.
2392 * config/i386/resms64x.h: Likewise.
2393
faef260e
MF
23942018-02-20 Max Filippov <jcmvbkbc@gmail.com>
2395
2396 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
2397 .literal_position directive.
2398 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
2399
14e335ed
IT
24002018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2401
2402 PR target/84148
2403 * configure: Regenerate.
2404
95df0433
IT
24052018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2406
2407 PR target/84239
2408 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
2409 Include cetintrin.h not x86intrin.h.
2410
f8de876d
IT
24112018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2412
2413 PR target/84239
95df0433 2414 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
2415 Use new _get_ssp and _inc_ssp intrinsics.
2416
02da1e9c
JK
24172018-02-02 Julia Koval <julia.koval@intel.com>
2418
2419 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
2420
048c6a9a
CZ
24212018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2422
2423 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
2424 option.
2425 (__divsi3): Use RF16 safe registers.
2426 (__modsi3): Likewise.
2427
0889f168
MF
24282018-01-23 Max Filippov <jcmvbkbc@gmail.com>
2429
2430 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
2431 (__divsf3): Make NaN return value quiet.
2432 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
2433 (__divdf3): Make NaN return value quiet.
2434
bc8b0d04
SP
24352018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2436
2437 * config/rl78/anddi3.S: New assembly file.
2438 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
2439
99cc06ea
SP
24402018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2441
2442 * config/rl78/umindi3.S: New assembly file.
2443 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
2444
6e9007a0
SP
24452018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
2446
2447 * config/rl78/smindi3.S: New assembly file.
2448 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
2449
d975e494 24502018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2451
d975e494
SP
2452 * config/rl78/smaxdi3.S: New assembly file.
2453 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
2454
6a18c146 24552018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 2456
5dd16013
SP
2457 * config/rl78/umaxdi3.S: New assembly file.
2458 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 2459
07baf4a5
JDA
24602018-01-21 John David Anglin <danglin@gcc.gnu.org>
2461
2462 PR lto/83452
2463 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
2464 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 2465
dbc3af4f
RS
24662018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
2467
2468 * config/aarch64/value-unwind.h (aarch64_vg): New function.
2469 (DWARF_LAZY_REGISTER_VALUE): Define.
2470 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
2471 to provide a fallback register value.
2472
68df9882
MM
24732018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
2474
2475 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
2476 __ibm128, instead of trying to use long double.
2477 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
2478 accomidate -mabi=ieeelongdouble multilibs.
2479 (CVT_IBM128_TO_FLOAT128): Likewise.
2480 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
2481 the appropriate IBM extended double type.
2482 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
2483 (__gcc_qsub): Likewise.
2484 (__gcc_qmul): Likewise.
2485 (__gcc_qdiv): Likewise.
2486 (pack_ldouble): Likewise.
2487 (__gcc_qneg): Likewise.
2488 (__gcc_qeq): Likewise.
2489 (__gcc_qne): Likewise.
2490 (__gcc_qge): Likewise.
2491 (__gcc_qle): Likewise.
2492 (__gcc_stoq): Likewise.
2493 (__gcc_dtoq): Likewise.
2494 (__gcc_itoq): Likewise.
2495 (__gcc_utoq): Likewise.
2496 (__gcc_qunord): Likewise.
2497 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
2498 quad-float128.h for the definitions.
2499 (COPYSIGN): Use the f128 version instead of the q version.
2500 (INFINITY): Likewise.
2501 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
2502 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
2503 quad-float128.h for the definitions.
2504 (COPYSIGN): Use the f128 version instead of the q version.
2505 (INFINITY): Likewise.
2506 (FABS): Likewise.
2507 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
2508 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
2509 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
2510
64b371b1
SH
25112018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
2512
2513 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
2514 configuration.
2515
85ec4feb
JJ
25162018-01-03 Jakub Jelinek <jakub@redhat.com>
2517
2518 Update copyright years.
2519
25202017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
2521
2522 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
2523 * config/riscv/multi3.c: New file.
2524 * config/riscv/multi3.S: Remove.
2525
3a4c600f
JW
25262017-12-08 Jim Wilson <jimw@sifive.com>
2527
2528 * config/riscv/div.S: Use FUNC_* macros.
2529 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
2530 * config/riscv/save-restore.S: Likewise.
2531 * config/riscv/riscv-asm.h: New.
2532
75ad35b5
MM
25332017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
2534
6ae3512c
MM
2535 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
2536 * config/rs6000/_divkc3.c (__divkc3): Likewise.
2537
75ad35b5
MM
2538 PR libgcc/83112
2539 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
2540 correct type for all ifunc resolvers to silence -Wattribute-alias
2541 warnings. Eliminate the forward declaration of the resolver
2542 functions which is no longer needed.
2543 (__subkf3_resolve): Likewise.
2544 (__mulkf3_resolve): Likewise.
2545 (__divkf3_resolve): Likewise.
2546 (__negkf2_resolve): Likewise.
2547 (__eqkf2_resolve): Likewise.
2548 (__nekf2_resolve): Likewise.
2549 (__gekf2_resolve): Likewise.
2550 (__gtkf2_resolve): Likewise.
2551 (__lekf2_resolve): Likewise.
2552 (__ltkf2_resolve): Likewise.
2553 (__unordkf2_resolve): Likewise.
2554 (__extendsfkf2_resolve): Likewise.
2555 (__extenddfkf2_resolve): Likewise.
2556 (__trunckfsf2_resolve): Likewise.
2557 (__trunckfdf2_resolve): Likewise.
2558 (__fixkfsi_resolve): Likewise.
2559 (__fixkfdi_resolve): Likewise.
2560 (__fixunskfsi_resolve): Likewise.
2561 (__fixunskfdi_resolve): Likewise.
2562 (__floatsikf_resolve): Likewise.
2563 (__floatdikf_resolve): Likewise.
2564 (__floatunsikf_resolve): Likewise.
2565 (__floatundikf_resolve): Likewise.
2566 (__extendkftf2_resolve): Likewise.
2567 (__trunctfkf2_resolve): Likewise.
2568
2569 PR libgcc/83103
2570 * config/rs6000/quad-float128.h (TF): Don't define if long double
2571 is IEEE 128-bit floating point.
2572 (TCtype): Define as either TCmode or KCmode, depending on whether
2573 long double is IEEE 128-bit floating point.
2574 (__mulkc3_sw): Add declarations for software/hardware versions of
2575 complex multiply/divide.
2576 (__divkc3_sw): Likewise.
2577 (__mulkc3_hw): Likewise.
2578 (__divkc3_hw): Likewise.
2579 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
2580 handlers to switch between using software emulation and hardware
2581 float128 instructions, build the complex multiply/divide functions
2582 for both software and hardware support.
2583 * config/rs6000/_divkc3.c (_divkc3): Likewise.
2584 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
2585 (__divkc3_resolve): Likewise.
2586 (__mulkc3): Likewise.
2587 (__divkc3): Likewise.
2588 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
2589 (fp128_hw_src): Likewise.
2590 (fp128_hw_static_obj): Likewise.
2591 (fp128_hw_shared_obj): Likewise.
2592 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
2593 _mulkc3.c and _divkc3.c, changing the function name.
2594 (_divkc3-hw.c): Likewise.
2595 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
2596 and _divkc3-hw.c.
2597
c234d831
UB
25982017-11-26 Julia Koval <julia.koval@intel.com>
2599
2600 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
2601 * config/i386/cpuinfo.h (processor_subtypes): Add
2602 INTEL_COREI7_CANNONLAKE.
2603
1ebafce0
IT
26042017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2605
2606 PR bootstrap/83015
2607 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
2608 parameter.
2609 * config/xtensa/unwind-dw2-xtensa.c: Likewise
2610 * config/ia64/unwind-ia64.c: Add frames parameter.
2611 * unwind-sjlj.c: Likewise.
2612
6a10fff4
IT
26132017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2614
2615 * config/i386/linux-unwind.h: Include
2616 config/i386/shadow-stack-unwind.h.
2617 * config/i386/shadow-stack-unwind.h: New file.
2618 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
2619 pass it to _Unwind_Frames_Extra.
2620 * unwind-generic.h (_Unwind_Frames_Extra): New.
2621 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
2622 parameter. Add local variable frames to count number of frames.
2623 (_Unwind_ForcedUnwind_Phase2): Likewise.
2624 (_Unwind_RaiseException): Add local variable frames to count
2625 number of frames, pass it to _Unwind_RaiseException_Phase2 and
2626 uw_install_context.
2627 (_Unwind_ForcedUnwind): Likewise.
2628 (_Unwind_Resume): Likewise.
2629 (_Unwind_Resume_or_Rethrow): Likewise.
2630
1ecae1fc
IT
26312017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
2632
2633 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
2634 (CET_FLAGS): New.
2635 * config/i386/morestack.S: Include <cet.h>.
2636 (__morestack_large_model): Add _CET_ENDBR at function entrance.
2637 * config/i386/resms64.h: Include <cet.h>.
2638 * config/i386/resms64f.h: Likewise.
2639 * config/i386/resms64fx.h: Likewise.
2640 * config/i386/resms64x.h: Likewise.
2641 * config/i386/savms64.h: Likewise.
2642 * config/i386/savms64f.h: Likewise.
2643 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
2644 (CRTSTUFF_T_CFLAGS): Likewise.
2645 * configure.ac: Include ../config/cet.m4.
2646 Set and substitute CET_FLAGS.
2647 * configure: Regenerated.
2648
f021f1d3
RO
26492017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2650
2651 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
2652 renaming.
2653 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
2654 * configure.ac (libgcc_cv_solaris_crts): Likewise.
2655 * configure: Regenerate.
2656
65f480c7
TV
26572017-11-07 Tom de Vries <tom@codesourcery.com>
2658
2659 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
2660 after "do {} while (0)".
2661
2a321acb
TV
26622017-11-07 Tom de Vries <tom@codesourcery.com>
2663
2664 PR other/82784
2665 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
2666 semicolon after "do {} while (0)".
2667 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2668 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2669 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2670 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
2671
59fcf6c3
AT
26722017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
2673
2674 PR libgcc/82635
2675 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
2676 sysctl to determine whether we're in a trampoline.
2677 Keep the pattern matching method for systems without
2678 KERN_PROC_SIGTRAMP sysctl.
2679
b0c7ddf8
CM
26802017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
2681 Vineet Gupta <vgupta@synopsys.com>
2682
2683 * config.host (arc*-*-linux*): Set md_unwind_header variable.
2684 * config/arc/linux-unwind-reg.def: New file.
2685 * config/arc/linux-unwind-reg.h: Likewise.
2686
5feee954
SP
26872017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
2688
2689 * config/rl78/subdi3.S: New assembly file.
2690 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
2691
a0bf6cf7
SP
26922017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
2693
2694 * config/rl78/adddi3.S: New assembly file.
2695 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
2696
e7176f75
JJ
26972017-10-13 Jakub Jelinek <jakub@redhat.com>
2698
2699 PR target/82274
2700 * libgcc2.c (__mulvDI3): If both operands have
2701 the same highpart of -1 and the topmost bit of lowpart is 0,
2702 multiplication overflows even if both lowparts are 0.
2703
db6601d2
JB
27042017-09-28 James Bowman <james.bowman@ftdichip.com>
2705
2706 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
2707
938b6f1e
JM
27082017-09-26 Joseph Myers <joseph@codesourcery.com>
2709
2710 * config/microblaze/crti.S, config/microblaze/crtn.S,
2711 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
2712 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
2713 config/microblaze/mulsi3.S,
2714 config/microblaze/stack_overflow_exit.S,
2715 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
2716 config/pa/milli64.S: Add .note.GNU-stack section.
2717
89762a83
DS
27182017-09-23 Daniel Santos <daniel.santos@pobox.com>
2719
2720 * configure.ac: Add Check for HAVE_AS_AVX.
2721 * config.in: Regenerate.
2722 * configure: Likewise.
2723 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
2724 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
2725 Correct out-of-date comments.
2726
cace2309
SP
27272017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
2728
2729 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
2730 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
2731
3cb626e4
DS
27322017-09-17 Daniel Santos <daniel.santos@pobox.com>
2733
cace2309 2734 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
2735 (ASMNAME): Modify to use PASTE2.
2736 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
2737 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 2738 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 2739 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
2740 * config/i386/resms64f.S: Likewise.
2741 * config/i386/resms64fx.S: Likewise.
2742 * config/i386/resms64x.S: Likewise.
2743 * config/i386/savms64.S: Likewise.
2744 * config/i386/savms64f.S: Likewise.
2745 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 2746 includes it's corresponding header file.
cace2309
SP
2747 * config/i386/avx_resms64f.S: Likewise.
2748 * config/i386/avx_resms64fx.S: Likewise.
2749 * config/i386/avx_resms64x.S: Likewise.
2750 * config/i386/avx_savms64.S: Likewise.
2751 * config/i386/avx_savms64f.S: Likewise.
2752 * config/i386/sse_resms64.S: Likewise.
2753 * config/i386/sse_resms64f.S: Likewise.
2754 * config/i386/sse_resms64fx.S: Likewise.
2755 * config/i386/sse_resms64x.S: Likewise.
2756 * config/i386/sse_savms64.S: Likewise.
2757 * config/i386/sse_savms64f.S: Likewise.
2758 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 2759
2f19c491 27602017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
2761 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
2762
611e7036
OH
27632017-08-31 Olivier Hainque <hainque@adacore.com>
2764
2765 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
2766 match as powerpc-wrs-vxworks*.
2767
c8f34527
JY
27682017-08-07 Jonathan Yong <10walls@gmail.com>
2769
2770 * config.host (*-cygwin): Include file from mingw
2771 config/i386/enable-execute-stack-mingw32.c
2772
0b458d2b 27732017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
2774 Doug Rupp <rupp@adacore.com>
2775 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
2776
2777 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
2778 as well as arm-wrs-vxworks.
2779 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
2780 LIB2ADDEH.
2781 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
2782 __exidx_start and __exidx_end for downloadable modules.
2783
4df612fa
OH
27842017-08-01 Olivier Hainque <hainque@adacore.com>
2785
2786 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
2787 * config/t-vxworks7: Likewise.
2788
5560e8c0
OH
27892017-08-01 Olivier Hainque <hainque@adacore.com>
2790
2791 * config/t-vxworks: Instead of redefining LIB2ADD,
2792 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
2793
16bab95a
SH
27942017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
2795
2796 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
2797
9cbc07cc
DS
27982017-07-24 Daniel Santos <daniel.santos@pobox.com>
2799
2800 PR testsuite/80759
2801 * config.host: include i386/t-msabi for darwin and solaris.
2802 * config/i386/i386-asm.h
2803 (ELFFN): Rename to FN_TYPE.
2804 (FN_SIZE): New macro.
2805 (FN_HIDDEN): Likewise.
2806 (ASMNAME): Likewise.
2807 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
2808 .globl.
2809 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
2810 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
2811 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
2812 .macro.
2813 * config/i386/resms64f.S: Likewise.
2814 * config/i386/resms64fx.S: Likewise.
2815 * config/i386/resms64x.S: Likewise.
2816 * config/i386/savms64.S: Likewise.
2817 * config/i386/savms64f.S: Likewise.
2818
de742204
JM
28192017-07-19 John Marino <gnugcc@marino.st>
2820
2821 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
2822
3787ee47
MM
28232017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2824
2825 PR target/81193
2826 * configure.ac (PowerPC float128 hardware support): Test whether
2827 we can use __builtin_cpu_supports before enabling the ifunc
2828 handler.
2829 * configure: Regenerate.
2830
b1938888
VG
28312017-07-10 Vineet Gupta <vgupta@synopsys.com>
2832
2833 * config.host: Remove uclibc from arc target spec.
2834
bec75e53
KW
28352017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
2836
2837 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
2838
d4391a62
PB
28392017-07-07 Peter Bergner <bergner@vnet.ibm.com>
2840
2841 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
2842 (have_ieee_hw_p): Delete function.
2843 (SW_OR_HW) Use __builtin_cpu_supports().
2844
9296dd9b
TP
28452017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2846
2847 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
2848
b85a969e
OH
28492017-07-03 Olivier Hainque <hainque@adacore.com>
2850
d4391a62 2851 * config/t-vxworks7: New file, really.
b85a969e 2852
883312dc
JM
28532017-06-28 Joseph Myers <joseph@codesourcery.com>
2854
2855 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
2856 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
2857 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
2858 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
2859 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
2860 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
2861 config/pa/linux-unwind.h (pa32_fallback_frame_state),
2862 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
2863 config/sh/linux-unwind.h (sh_fallback_frame_state),
2864 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
2865 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
2866 ucontext_t instead of struct ucontext.
2867
50567938
JL
28682017-06-27 Jerome Lambourg <lambourg@adacore.com>
2869
2870 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
2871 (x86_64-wrs-vxworks7): Likewise.
2872
e4b0df93
OH
28732017-06-27 Olivier Hainque <hainque@adacore.com>
2874
2875 * config/t-vxworks7: New file.
2876 * config.host (*-*-vxworks7): Use it.
2877
60edf8bb
MT
28782017-06-22 Matt Turner <mattst88@gmail.com>
2879
2880 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
2881 skylake case.
2882
a51a76e5
RB
28832017-06-21 Richard Biener <rguenther@suse.de>
2884
2885 PR gcov-profile/81080
2886 * configure.ac: Add AC_SYS_LARGEFILE.
2887 * libgcov.h: Include auto-target.h before tsystem.h to pick
2888 up _FILE_OFFSET_BITS which might differ for multilibs.
2889 * config.in: Regenerate.
2890 * configure: Likewise.
2891
f0cd49c5
RE
28922017-06-16 Richard Earnshaw <rearnsha@arm.com>
2893
2894 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
2895
4f751c54
ML
28962017-06-09 Martin Liska <mliska@suse.cz>
2897
2898 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
2899 Reset __gcov_indirect_call_callee to NULL.
2900
1ac644c8
OH
29012017-06-08 Olivier Hainque <hainque@adacore.com>
2902
2903 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
2904 the set of -I options, support for direct inclusions of net/uio.h
2905 by VxWorks header files via ioLib.h.
2906
d8b9cd27
TR
29072017-06-07 Tony Reix <tony.reix@atos.net>
2908 Matthieu Sarter <matthieu.sarter.external@atos.net>
2909 David Edelsohn <dje.gcc@gmail.com>
2910
92a285c1
ML
2911 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
2912 unconditionally.
2913 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
2914 AIX 7.2 support.
d8b9cd27 2915
38a75ccc
OH
29162017-06-02 Olivier Hainque <hainque@adacore.com>
2917
2918 * config/vxlib.c (__gthread_once): Add missing value to
2919 return statement.
2920
5b2edf53
OH
29212017-05-30 Olivier Hainque <hainque@adacore.com>
2922
2923 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
2924 dollar sign before $(MULTIDIR).
2925
7d66e265
RH
29262017-05-26 Richard Henderson <rth@redhat.com>
2927
2928 PR libgcc/80037
2929 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
2930
78eca309
AT
29312017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
2932
2933 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
2934 _Unwind_SetIP available as functions for arm*-*-freebsd*.
2935 * config/arm/unwind-arm.c: Implement the above.
2936
c39d309a
AZ
29372017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2938
2939 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
2940 section for a non-executable stack.
2941
eac8c9f2
KW
29422017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
2943
2944 PR target/80600
2945 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
2946
d6d4d770
DS
29472017-05-14 Daniel Santos <daniel.santos@pobox.com>
2948
2949 * config.host: Add i386/t-msabi to i386/t-linux file list.
2950 * config/i386/i386-asm.h: New file.
2951 * config/i386/resms64.S: New file.
2952 * config/i386/resms64f.S: New file.
2953 * config/i386/resms64fx.S: New file.
2954 * config/i386/resms64x.S: New file.
2955 * config/i386/savms64.S: New file.
2956 * config/i386/savms64f.S: New file.
2957 * config/i386/t-msabi: New file.
2958
8ef2b9a7
AT
29592017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
2960
2961 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
2962 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
2963
7ab8766a
JC
29642017-05-05 Joshua Conner <joshconner@google.com>
2965
2966 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
2967 pc-relative indirect handling for fuchsia.
2968 * config/t-slibgcc-fuchsia: New file.
2969 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 2970 x86_64-*-fuchsia*): Add definitions.
7ab8766a 2971
46928a8f
ML
29722017-04-19 Martin Liska <mliska@suse.cz>
2973
2974 PR gcov-profile/80435
2975 * Makefile.in: Install gcov.h.
2976 * gcov.h: New file.
2977 * libgcov.h: Use the header and make __gcov_flush publicly
2978 visible.
2979
63971184
ML
29802017-04-18 Martin Liska <mliska@suse.cz>
2981
2982 PR gcov-profile/78783
2983 * libgcov-driver.c (gcov_get_filename): New function.
2984
29d8aae6
JL
29852017-04-07 Jeff Law <law@redhat.com>
2986
2987 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
2988 target makefile fragment.
2989 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
2990
2bdf7fc6
AM
29912017-04-07 Alan Modra <amodra@gmail.com>
2992
2993 PR target/45053
2994 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
2995
5764ee3c
JW
29962017-04-03 Jonathan Wakely <jwakely@redhat.com>
2997
2998 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
2999
c4192ad7
CZ
30002017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
3001
3002 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
3003
4ccfdb28
JM
30042017-03-10 John Marino <gnugcc@marino.st>
3005
3006 * config/aarch64/freebsd-unwind.h: New file.
3007 * config.host: Add aarch64-*-freebsd unwinder.
3008
4144e4e3
SB
30092017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3010
3011 * config/rs6000/crtrestvr.s: Use .machine altivec.
3012 * config/rs6000/crtsavevr.s: Ditto.
3013
7502c597
SB
30142017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
3015
3016 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
3017 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
3018 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
3019 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
3020 * configure: Regenerate.
3021 * config.in: Regenerate.
3022
db9f7f65
JY
30232017-03-02 Jonathan Yong <10walls@gmail.com>
3024
3025 * config/i386/gthr-win32.h: Define NOGDI before
3026 windows.h include to prevent w32api CC_NONE macro
3027 clash with libgfortran.
3028
126437c5
JY
30292017-03-02 Jonathan Yong <10walls@gmail.com>
3030
3031 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
3032
31927af6
AP
30332017-02-16 Andrew Pinski <apinski@cavium.com>
3034
3035 * config/aarch64/value-unwind.h: New file.
3036 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
3037 to tm_file.
3038
0bd99911
PD
30392017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
3040
3041 * config.host: Add RISC-V tuples.
3042 * config/riscv/atomic.c: New file.
3043 * config/riscv/crti.S: Likewise.
3044 * config/riscv/crtn.S: Likewise.
3045 * config/riscv/div.S: Likewise.
3046 * config/riscv/linux-unwind.h: Likewise.
3047 * config/riscv/muldi3.S: Likewise.
3048 * config/riscv/multi3.S: Likewise.
3049 * config/riscv/save-restore.S: Likewise.
3050 * config/riscv/sfp-machine.h: Likewise.
3051 * config/riscv/t-elf: Likewise.
3052 * config/riscv/t-elf32: Likewise.
3053 * config/riscv/t-elf64: Likewise.
3054 * config/riscv/t-softfp32: Likewise.
3055 * config/riscv/t-softfp64: Likewise.
3056
a8c9ef2a
JJ
30572017-01-24 Jakub Jelinek <jakub@redhat.com>
3058
3059 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3060 /* FALLTHRU */ comments.
3061
c6c82710
GP
30622017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
3063
3064 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
3065
a876231c
JW
30662017-01-20 Jiong Wang <jiong.wang@arm.com>
3067
3068 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
3069 * unwind-dw2.c (execute_cfa_program): Only multiplexing
3070 DW_CFA_GNU_window_save for AArch64 and LP64.
3071
aa348be2
JW
30722017-01-20 Jiong Wang <jiong.wang@arm.com>
3073
3074 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
3075
5636faf2
JW
30762017-01-19 Jiong Wang <jiong.wang@arm.com>
3077
3078 * config/aarch64/aarch64-unwind.h: New file.
3079 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
3080 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
3081 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
3082 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
3083 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
3084 (aarch64_post_extract_frame_addr): New function.
3085 (aarch64_post_frob_eh_handler_addr): New function.
3086 (aarch64_frob_update_context): New function.
3087 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
3088 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
3089 aarch64*-*-freebsd*):
3090 Initialize md_unwind_header to include aarch64-unwind.h.
3091 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
3092 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
3093 __aarch64__.
3094 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
3095 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
3096 (uw_frob_return_addr): New function.
3097 (uw_install_context): Use uw_frob_return_addr.
3098
3c36aa6b
JJ
30992017-01-17 Jakub Jelinek <jakub@redhat.com>
3100
3101 PR other/79046
3102 * configure.ac: Add GCC_BASE_VER.
3103 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
3104 version from BASE-VER file.
3105 * configure: Regenerated.
3106
829afb8f
JS
31072017-01-13 Joe Seymour <joe.s@somniumtech.com>
3108
3109 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
3110 libmul_f5.a): Filter archived prerequisites.
3111
79fc8ffe
AS
31122017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
3113
3114 * config/i386/cpuinfo.h (processor_features): Add
3115 FEATURE_AVX512VPOPCNTDQ.
3116 * config/i386/cpuinfo.c (get_available_features): Habdle new
3117 feature.
3118
fec5f4e0
JM
31192017-01-04 Joseph Myers <joseph@codesourcery.com>
3120
3121 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
3122 payload if [__mips_nan2008].
3123
8f56cb51
AM
31242017-01-04 Alan Modra <amodra@gmail.com>
3125
3126 * Makefile.in (configure_deps): Update.
3127 * configure: Regenerate.
3128
cbe34bb5
JJ
31292017-01-01 Jakub Jelinek <jakub@redhat.com>
3130
3131 Update copyright years.
3132
ab955692
KW
31332016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
3134
3135 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
3136 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
3137 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
3138
de34320f
MK
31392016-12-17 Matthias Klose <doko@ubuntu.com>
3140
3141 * config/arc/gmon: Remove empty directory.
3142
e04ea1da
CZ
31432016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
3144
3145 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
3146 crtgend.
3147 (arc*-*-elf*): Likewise.
3148 * config/arc/t-arc: Remove old gmon lib targets.
3149 * config/arc/crtg.S: Remove.
3150 * config/arc/crtgend.S: Likewise.
3151 * config/arc/gmon/atomic.h: Likewise.
3152 * config/arc/gmon/auxreg.h: Likewise.
3153 * config/arc/gmon/dcache_linesz.S: Likewise.
3154 * config/arc/gmon/gmon.c: Likewise.
3155 * config/arc/gmon/machine-gmon.h: Likewise.
3156 * config/arc/gmon/mcount.c: Likewise.
3157 * config/arc/gmon/prof-freq-stub.S: Likewise.
3158 * config/arc/gmon/prof-freq.c: Likewise.
3159 * config/arc/gmon/profil.S: Likewise.
3160 * config/arc/gmon/sys/gmon.h: Likewise.
3161 * config/arc/gmon/sys/gmon_out.h: Likewise.
3162 * config/arc/t-arc-newlib: Likewise.
3163 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
3164
8ae1c2c1
GS
31652016-12-12 George Spelvin <linux@sciencehorizons.net>
3166
3167 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
3168
a5b947fa
GS
31692016-12-12 George Spelvin <linux@sciencehorizons.net>
3170
3171 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
3172 R16 instead of push + pop.
3173 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
3174
d6574dd1
KW
31752016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
3176
3177 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
3178 tmake_file.
3179
62440b4f
CM
31802016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
3181
3182 * config.host (arc*-*-linux-uclibc*): Use default extra
3183 objects. Include linux-android header.
3184 * config/arc/crti.S (_init): Declare symbol as function.
3185 (_fini): Likewise.
3186
31cfd832
TK
31872016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
3188
3189 PR fortran/78379
3190 * config/i386/cpuinfo.c: Move denums for processor vendors,
3191 processor type, processor subtypes and declaration of
3192 struct __processor_model into
3193 * config/i386/cpuinfo.h: New header file.
3194
c92e08e3
AV
31952016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3196 Thomas Preud'homme <thomas.preudhomme@arm.com>
3197
3198 * config/arm/cmse_nonsecure_call.S: New.
3199 * config/arm/t-arm: Compile cmse_nonsecure_call.S
3200
de7b5723
AV
32012016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
3202 Thomas Preud'homme <thomas.preudhomme@arm.com>
3203
3204 * config/arm/t-arm (HAVE_CMSE): New.
3205 * config/arm/cmse.c: New.
3206
7a0d2bce
TP
32072016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3208
b3a5bff4
TP
3209 PR gcc/74748
3210 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
3211 use generic linker version information on Blackfin.
3212
7a0d2bce
TP
3213 PR gcc/74748
3214 * libgcc/mkmap-symver.awk: add support for skip_underscore
3215
b410cf1d
IS
32162016-11-27 Iain Sandoe <iain@codesourcery.com>
3217 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3218
3219 PR target/67710
3220 * config/t-darwin: Default builds to 10.5 codegen.
3221
2e5f8203
JG
32222016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
3223
3224 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
3225 (_FP_NANSIGN_H): Likewise.
3226 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
3227 (softfp_truncations): Add tfhf.
3228 (softfp_extras): Add required conversion functions.
3229
bea64ca3
JG
32302016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3231 Matthew Wahab <matthew.wahab@arm.com>
3232
3233 * config/arm/fp16.c (binary64): New.
3234 (__gnu_d2h_internal): New.
3235 (__gnu_d2h_ieee): New.
3236 (__gnu_d2h_alternative): New.
3237
8630cadb
JG
32382016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3239 Matthew Wahab <matthew.wahab@arm.com>
3240
3241 * config/arm/fp16.c (struct format): New.
3242 (binary32): New.
3243 (__gnu_float2h_internal): New. Body moved from
3244 __gnu_f2h_internal and generalize.
3245 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
3246 Call it with binary32.
3247
5823ef23
JG
32482016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
3249
3250 * soft-fp/extendhftf2.c: Update from glibc.
3251 * soft-fp/fixhfti.c: Likewise.
3252 * soft-fp/fixunshfti.c: Likewise.
3253 * soft-fp/floattihf.c: Likewise.
3254 * soft-fp/floatuntihf.c: Likewise.
3255 * soft-fp/half.h: Likewise.
3256 * soft-fp/trunctfhf2.c: Likewise.
3257
62a7df9f
MG
32582016-11-20 Marc Glisse <marc.glisse@inria.fr>
3259
3260 PR libgcc/77813
3261 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
3262 __TMC_END__ behind a passthrough asm.
3263
7a384912
WL
32642016-11-18 Walter Lee <walt@tilera.com>
3265
62a7df9f 3266 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 3267
9775c1a5
L
32682016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
3269
3270 * config/i386/cpuinfo.c (processor_features): Add
3271 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
3272
48c842ab
CZ
32732016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
3274
3275 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
3276 (__ARC_NORM__): Use instead ARC_OPTFPE.
3277 * config/arc/fp-hack.h: Likewise.
3278 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
3279 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
3280
5012919d
AM
32812016-11-16 Alexander Monakov <amonakov@ispras.ru>
3282
3283 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
3284 * config/nvptx/mgomp.c: New file.
3285 * config/nvptx/t-nvptx: Add mgomp.c
3286
00178b98
WB
32872016-11-16 Waldemar Brodkorb <wbx@openadk.org>
3288
3289 PR libgcc/68468
3290 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
3291
d64af69f
CZ
32922016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
3293
3294 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
3295 of checking for cpus.
3296 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
3297 (__modsi3, __clzsi2): Likewise.
3298
9d8f95de
SN
32992016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
3300
3301 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
3302 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
3303 * config/i386/t-cpuinfo-static: New.
3304
7d29f8e3
ML
33052016-11-03 Martin Liska <mliska@suse.cz>
3306
3307 * libgcov-profiler.c (__gcov_time_profiler): Remove.
3308 (__gcov_time_profiler_atomic): Likewise.
3309
5de3e2d8
BE
33102016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
3311
3312 PR libgcc/78067
3313 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
3314 count_leading_zeros.
3315
18362447
UB
33162016-11-02 Uros Bizjak <ubizjak@gmail.com>
3317
3318 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
3319 * libgcc2.c (__divmoddi4): New function.
3320 * libgcc2.h (__divmoddi4): Declare.
3321 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
3322 and __PFX_divmodti4.
3323
33107571
FW
33242016-10-24 Florian Weimer <fweimer@redhat.com>
3325
3326 PR libgcc/78064
3327 * unwind-c.c: Include auto-target.h.
3328
4c6d7494
JDA
33292016-10-19 John David Anglin <danglin@gcc.gnu.org>
3330
18362447 3331 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
3332 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
3333 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
3334 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
3335 hppa*64*-*-hpux11*.
3336
2a26adf1
MF
33372016-10-18 Max Filippov <jcmvbkbc@gmail.com>
3338
3339 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3340 definition.
3341 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
3342 definition.
3343 * config/xtensa/t-windowed (LIB2ADDEH): Use
3344 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
3345 or xtensa/t-linux.
3346
66192aa1
DKC
33472016-10-18 Ding-Kai Chen <dkchen@cadence.com>
3348
3349 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
3350 __ieee754_sqrt): New functions.
3351 (__divdf3): Add implementation with new FPU instructions under
3352 #if XCHAL_HAVE_DFP_DIV.
3353 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
3354 __ieee754_sqrtf): New functions.
3355 (__divsf3): Add implementation with new FPU instructions under
3356 #if XCHAL_HAVE_FP_DIV.
3357 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
3358 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
3359
4d0cdd0c
TP
33602016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
3361
3362 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
3363 equivalent.
3364 * config/tilepro/atomic.c: Likewise and stop casting model to
3365 enum memmodel.
3366
73f01cca
JM
33672016-10-10 Joseph Myers <joseph@codesourcery.com>
3368
3369 PR target/77586
3370 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
3371 soft-fp.
3372
b20e7532
AT
33732016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
3374
3375 * config.host: Add support for aarch64-*-freebsd*.
3376
a786cec4
AS
33772016-10-05 Andreas Schwab <schwab@suse.de>
3378
3379 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
3380 (.section .init_array): Don't call __do_jv_register_classes.
3381 (.section .init): Likewise.
3382
5a79befb
JJ
33832016-10-04 Jakub Jelinek <jakub@redhat.com>
3384
3385 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
3386 (__JCR_LIST__): Remove.
3387 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
3388 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
3389 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
3390 * config/ia64/crtend.S (__JCR_END__): Remove.
3391 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
3392 conditionals.
3393 (__JCR_LIST__, __JCR_END__): Remove.
3394 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
3395 (__do_global_ctors_1): Likewise.
3396
e0ab3753
UB
33972015-09-28 Uros Bizjak <ubizjak@gmail.com>
3398
3399 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
3400 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
3401
8c9434c2
ML
34022016-09-27 Martin Liska <mliska@suse.cz>
3403
3404 PR gcov-profile/7970
3405 PR gcov-profile/16855
3406 PR gcov-profile/44779
3407 * libgcov-driver.c (__gcov_init): Do not register a atexit
3408 handler.
3409 (__gcov_exit): Rename from gcov_exit.
3410 * libgcov.h (__gcov_exit): Declare.
3411
56b653f1
ML
34122016-09-27 Martin Liska <mliska@suse.cz>
3413
3414 PR bootstrap/77749
3415 * Makefile.in: Remove _gcov_merge_delta.
3416 * libgcov-merge.c (void __gcov_merge_delta): Remove.
3417 * libgcov-util.c (__gcov_delta_counter_op): Remove.
3418 * libgcov.h: Remove declaration of __gcov_merge_delta.
3419
7e02fd1b
EB
34202016-09-21 Eric Botcazou <ebotcazou@adacore.com>
3421
3422 * configure.ac: Do not create links, only substitute the filenames.
3423 * configure: Regenerate.
3424 * Makefile.in: Assign the substitution results to variables.
3425 (LIBGCC_LINKS): Define.
3426 (enable-execute-stack.c): New rule.
3427 (unwind.h): Likewise.
3428 (md-unwind-support.h): Likewise.
3429 (sfp-machine.h): Likewise.
3430 (gthr-default.h): Likewise.
3431 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
3432 unwind.h as prerequisite of install-unwind_h-forbuild.
3433
29991048
JJ
34342016-09-16 Jakub Jelinek <jakub@redhat.com>
3435
3436 PR libgcc/71744
3437 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
3438 is not the primary registry and atomics are available.
3439 (any_objects_registered): New variable.
3440 (__register_frame_info_bases, __register_frame_info_table_bases):
3441 Atomically store 1 to any_objects_registered after registering first
3442 unwind info.
3443 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
3444
0abcd6cc
JG
34452016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
3446
3447 PR target/63250
3448 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
3449 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
3450 (HFtype): Likewise.
3451 (HCtype): Likewise.
3452 (__divhc3): Likewise.
3453 (__mulhc3): Likewise.
3454 * libgcc2.c: Support _mulhc3 and _divhc3.
3455
d758aeb5
JM
34562016-09-07 Joseph Myers <joseph@codesourcery.com>
3457
3458 PR libgcc/77519
3459 * libgcc2.c (NOTRUNC): Invert settings.
3460
7fe76f6a
ML
34612016-09-06 Martin Liska <mliska@suse.cz>
3462
3463 PR gcov-profile/77378
3464 PR gcov-profile/77466
3465 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
3466 conditionaly enable/disable *_atomic functions.
3467
21184026
JM
34682016-08-26 Joseph Myers <joseph@codesourcery.com>
3469
3470 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
3471 where not already enabled.
3472
726f49c3
SN
34732016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
3474
3475 * config/mips/linux-unwind.h: Use sys/syscall.h.
3476
feeb6268
JM
34772016-08-16 Joseph Myers <joseph@codesourcery.com>
3478
3479 PR libgcc/77265
3480 * soft-fp/adddf3.c: Update from glibc.
3481 * soft-fp/addsf3.c: Likewise.
3482 * soft-fp/addtf3.c: Likewise.
3483 * soft-fp/divdf3.c: Likewise.
3484 * soft-fp/divsf3.c: Likewise.
3485 * soft-fp/divtf3.c: Likewise.
3486 * soft-fp/double.h: Likewise.
3487 * soft-fp/eqdf2.c: Likewise.
3488 * soft-fp/eqsf2.c: Likewise.
3489 * soft-fp/eqtf2.c: Likewise.
3490 * soft-fp/extenddftf2.c: Likewise.
3491 * soft-fp/extended.h: Likewise.
3492 * soft-fp/extendsfdf2.c: Likewise.
3493 * soft-fp/extendsftf2.c: Likewise.
3494 * soft-fp/extendxftf2.c: Likewise.
3495 * soft-fp/fixdfdi.c: Likewise.
3496 * soft-fp/fixdfsi.c: Likewise.
3497 * soft-fp/fixdfti.c: Likewise.
3498 * soft-fp/fixsfdi.c: Likewise.
3499 * soft-fp/fixsfsi.c: Likewise.
3500 * soft-fp/fixsfti.c: Likewise.
3501 * soft-fp/fixtfdi.c: Likewise.
3502 * soft-fp/fixtfsi.c: Likewise.
3503 * soft-fp/fixtfti.c: Likewise.
3504 * soft-fp/fixunsdfdi.c: Likewise.
3505 * soft-fp/fixunsdfsi.c: Likewise.
3506 * soft-fp/fixunsdfti.c: Likewise.
3507 * soft-fp/fixunssfdi.c: Likewise.
3508 * soft-fp/fixunssfsi.c: Likewise.
3509 * soft-fp/fixunssfti.c: Likewise.
3510 * soft-fp/fixunstfdi.c: Likewise.
3511 * soft-fp/fixunstfsi.c: Likewise.
3512 * soft-fp/fixunstfti.c: Likewise.
3513 * soft-fp/floatdidf.c: Likewise.
3514 * soft-fp/floatdisf.c: Likewise.
3515 * soft-fp/floatditf.c: Likewise.
3516 * soft-fp/floatsidf.c: Likewise.
3517 * soft-fp/floatsisf.c: Likewise.
3518 * soft-fp/floatsitf.c: Likewise.
3519 * soft-fp/floattidf.c: Likewise.
3520 * soft-fp/floattisf.c: Likewise.
3521 * soft-fp/floattitf.c: Likewise.
3522 * soft-fp/floatundidf.c: Likewise.
3523 * soft-fp/floatundisf.c: Likewise.
3524 * soft-fp/floatunditf.c: Likewise.
3525 * soft-fp/floatunsidf.c: Likewise.
3526 * soft-fp/floatunsisf.c: Likewise.
3527 * soft-fp/floatunsitf.c: Likewise.
3528 * soft-fp/floatuntidf.c: Likewise.
3529 * soft-fp/floatuntisf.c: Likewise.
3530 * soft-fp/floatuntitf.c: Likewise.
3531 * soft-fp/gedf2.c: Likewise.
3532 * soft-fp/gesf2.c: Likewise.
3533 * soft-fp/getf2.c: Likewise.
3534 * soft-fp/ledf2.c: Likewise.
3535 * soft-fp/lesf2.c: Likewise.
3536 * soft-fp/letf2.c: Likewise.
3537 * soft-fp/muldf3.c: Likewise.
3538 * soft-fp/mulsf3.c: Likewise.
3539 * soft-fp/multf3.c: Likewise.
3540 * soft-fp/negdf2.c: Likewise.
3541 * soft-fp/negsf2.c: Likewise.
3542 * soft-fp/negtf2.c: Likewise.
3543 * soft-fp/op-1.h: Likewise.
3544 * soft-fp/op-2.h: Likewise.
3545 * soft-fp/op-4.h: Likewise.
3546 * soft-fp/op-8.h: Likewise.
3547 * soft-fp/op-common.h: Likewise.
3548 * soft-fp/quad.h: Likewise.
3549 * soft-fp/single.h: Likewise.
3550 * soft-fp/soft-fp.h: Likewise.
3551 * soft-fp/subdf3.c: Likewise.
3552 * soft-fp/subsf3.c: Likewise.
3553 * soft-fp/subtf3.c: Likewise.
3554 * soft-fp/truncdfsf2.c: Likewise.
3555 * soft-fp/trunctfdf2.c: Likewise.
3556 * soft-fp/trunctfsf2.c: Likewise.
3557 * soft-fp/trunctfxf2.c: Likewise.
3558 * soft-fp/unorddf2.c: Likewise.
3559 * soft-fp/unordsf2.c: Likewise.
3560 * soft-fp/unordtf2.c: Likewise.
3561
2e6fc1ac
GG
35622016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
3563
3564 PR gcov-profile/67097
3565 * libgcov-util.c (gcov_profile_merge): Skip missing files.
3566
a266236e
ML
35672016-08-10 Martin Liska <mliska@suse.cz>
3568
3569 PR gcov-profile/58306
3570 * Makefile.in: New functions (modules) are added.
3571 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
3572 function.
3573 (__gcov_pow2_profiler_atomic): New function.
3574 (__gcov_one_value_profiler_body): New argument is instroduced.
3575 (__gcov_one_value_profiler): Call with the new argument.
3576 (__gcov_one_value_profiler_atomic): Likewise.
3577 (__gcov_indirect_call_profiler_v2): Likewise.
3578 (__gcov_time_profiler_atomic): New function.
3579 (__gcov_average_profiler_atomic): Likewise.
3580 (__gcov_ior_profiler_atomic): Likewise.
3581 * libgcov.h: Declare the aforementioned functions.
3582
e0c8eebf
ML
35832016-08-09 Martin Liska <mliska@suse.cz>
3584
3585 * libgcov-util.c: Fix typo and GNU coding style.
3586
6dce6418
ML
35872016-08-09 Martin Liska <mliska@suse.cz>
3588
3589 * Makefile.in: Remove __gcov_indirect_call_profiler.
3590 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
3591 function.
3592 * libgcov.h: And the declaration of the function.
3593
dcb1e137
ML
35942016-08-09 Martin Liska <mliska@suse.cz>
3595
3596 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
3597 power of two.
3598
d6e69705
BS
35992016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3600
3601 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
3602 * config/rs6000/_mulkc3.c: Likewise.
3603
96aa1f95
GJL
36042016-07-29 Georg-Johann Lay <avr@gjlay.de>
3605
3606 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
3607 zero_reg as previous call to __umulhisi3 already cleared it.
3608
a1b01d34
AJ
36092016-07-21 Aurelien Jarno <aurelien@aurel32.net>
3610
3611 PR target/59833
3612 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
3613
985a47b2
NC
36142016-07-19 Nick Clifton <nickc@redhat.com>
3615
3616 * config.host (m32r): Add m32r/t-m32r to tmake_file.
3617 Add crtinit.o and crtfini.o to extra_parts.
3618
f906f5ed
BS
36192016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3620
3621 * config/rs6000/_divkc3.c: New.
3622 * config/rs6000/_mulkc3.c: New.
3623 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
3624 and _divkc3.
3625 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
3626 fp128_ppc_funcs.
3627
82742404
HW
36282016-07-11 Hale Wang <hale.wang@arm.com>
3629 Andre Vieira <andre.simoesdiasvieira@arm.com>
3630
3631 * config/arm/lib1funcs.S: Add new wrapper.
3632
05a437c1
TP
36332016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3634
3635 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
3636
3d16d9ec
TP
36372016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3638
3639 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
3640 and ARMv5t* rather than for a fixed list of architectures.
3641
6f493951
TP
36422016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
3643
3644 * config/arm/bpabi-v6m.S: Clarify what architectures is the
3645 implementation suitable for.
3646 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
3647 for all Thumb-1 only targets.
3648 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
3649 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
3650 __ARM_ARCH_6M__.
3651 (EQUIV): Likewise.
3652 (ARM_FUNC_ALIAS): Likewise.
3653 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
3654 version.
3655 (modsi3): Likewise.
3656 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
3657 (clzdi2): Likewise.
3658 (ctzsi2): Likewise.
3659 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
3660 __ARM_ARCH_6M__ in guard for checking whether it is defined.
3661 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
3662 __ARM_ARCH_6M__ and add comment to indicate the connection between
3663 this condition and the one in gcc/config/arm/elf.h.
3664 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
3665 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
3666 * config/arm/t-softfp: Likewise.
3667
1770511a
TS
36682016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3669
3670 * libgcc2.c (SYMBOL__MAIN): Remove checks for
3671 CTOR_LISTS_DEFINED_EXTERNALLY.
3672
ba6be749
WL
36732016-06-28 Walter Lee <walt@tilera.com>
3674
3675 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
3676 asm/unistd.h.
3677 (SPR_CMPEXCH_VALUE): Define for tilegx.
3678 (__NR_FAST_cmpxchg): Define for tilepro.
3679 (__NR_FAST_atomic_update): Define for tilepro.
3680 (__NR_FAST_cmpxchg64): Define for tilepro.
3681
a34c0db5
JS
36822016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
3683
18362447 3684 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 3685
0609abda
TS
36862016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3687
3688 * config.host: Remove support for mep-*.
3689 * config/mep/lib1funcs.S: Remove.
3690 * config/mep/lib2funcs.c: Remove.
3691 * config/mep/t-mep: Remove.
3692 * config/mep/tramp.c: Remove.
3693
3e326935
TS
36942016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3695
3696 * config.host: Remove support for avr-rtems.
3697 * config/avr/t-rtems: Remove.
3698
914b155c
TS
36992016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3700
3701 * config.host: Remove m32r-rtems support.
3702
5ebf89bd
TS
37032016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3704
3705 * config.host: Remove h8300-rtems support.
3706
8466af06
TS
37072016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3708
3709 * config.host: Remove support for knetbsd.
3710
d980e738
TS
37112016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3712
3713 * config.host: Remove support for openbsd 2 and 3.
3714
ee2499b4
TS
37152016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3716
3717 * config.host: Remove interix support.
3718 * config/i386/t-interix: Remove.
3719
9f92937b
JDA
37202016-06-18 John David Anglin <danglin@gcc.gnu.org>
3721
3722 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
3723 least-significant bit in function pointer for fixup.
3724
0a0ec53d
AC
37252016-06-05 Aaron Conole <aconole@redhat.com>
3726 Nathan Sidwell <nathan@acm.org>
3727
3728 PR libgcc/71400
3729 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
3730 (get_gcov_error_file): Check __gcov_error_file before trying to
3731 initialize it.
3732 (gcov_error): Always use get_gcov_error_file.
3733
8aa5bdd6
AC
37342016-06-02 Aaron Conole <aconole@redhat.com>
3735
3736 * libgcov-driver-system.c (__gcov_error_file): New.
3737 (get_gcov_error_file): New.
3738 (gcov_error): Use and set __gcov_error_file.
3739 (gcov_error_exit): New.
3740 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
3741
40774faf
NS
37422016-05-26 Nathan Sidwell <nathan@acm.org>
3743
3744 * config/nvptx/free.asm: Delete.
3745 * config/nvptx/malloc.asm: Delete.
3746 * config/nvptx/realloc.c: Delete.
3747 * t-nvptx: Update.
3748
69a6d5ad
NS
37492016-05-25 Nathan Sidwell <nathan@acm.org>
3750
3751 * config/nvptx/crt0.s: Delete.
3752 * config/nvptx/crt0.c: New.
3753 * t-nvptx: Update.
3754
6befaff6
SL
37552016-05-19 Sandra Loosemore <sandra@codesourcery.com>
3756
385c7747 3757 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
3758 dw2/seh configuration.
3759 [x86_64-*-mingw*]: Likewise.
3760
ad251dfd
JS
37612016-05-10 Joel Sherrill <joel@rtems.org>
3762
3763 PR libgcc/70720
3764 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
3765 targets so the same extra_parts are built. Also have tmake_file add
3766 on to its value rather than override.
3767
bc6d9014
OE
37682016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
3769
3770 * config.host: Remove SH5 support.
3771 * configure: Likewise.
3772
9129c8cf
OE
37732016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
3774
3775 * config/sh/crt1.S: Remove SH5 support.
3776 * config/sh/crti.S: Likewise.
3777 * config/sh/crtn.S: Likewise.
3778 * config/sh/lib1funcs-4-300.S: Likewise.
3779 * config/sh/lib1funcs-Os-4-200.S: Likewise.
3780 * config/sh/lib1funcs.S: Likewise.
3781 * config/sh/linux-unwind.h: Likewise.
3782 * config/sh/t-sh64: Delete.
3783
39d50464
CZ
37842016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
3785
3786 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
3787
8b48923b
CZ
37882016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
3789 Joern Rennecke <joern.rennecke@embecosm.com>
3790
3791 * config/arc/crttls.S: New file.
3792 * config/arc/t-arc: New rule.
3793 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
3794
2de1cf8c
NC
37952016-04-25 Nick Clifton <nickc@redhat.com>
3796
3797 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
3798 (__mspabi_cmpd): Likewise.
3799 * config/msp430/floathidf.c (__floathidf): Likewise.
3800 * config/msp430/floathisf.c (__floathisf): Likewise
3801 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
3802 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
3803 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
3804 second parameter.
3805 (__ashrsi3): Likewise.
3806
b8ce3fe2
WB
38072016-04-21 Waldemar Brodkorb <wbx@openadk.org>
3808
3809 * config/m68k/linux-atomic.c: Do not include unistd.h
3810
4986f823
MG
38112016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
3812
3813 * config/arm/ieee754-df.S: Fix typos in comments.
3814
35fbda43
MM
38152016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3816
3817 PR target/70381
3818 * configure.ac (powerpc*-*-linux*): Rework tests to build
3819 __float128 emulation routines to not depend on using #pragma GCC
3820 target to enable -mfloat128.
3821 * configure: Regnerate.
3822
72d1a48d
EB
38232016-04-04 Eric Botcazou <ebotcazou@adacore.com>
3824
3825 PR target/67172
3826 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
3827 __MINGW32__ is defined.
3828
dc2e8995
JB
38292016-03-28 James Bowman <james.bowman@ftdichip.com>
3830
385c7747 3831 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 3832
104cdaf1
MM
38332016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
3834
3835 PR libgcc/70363
3836 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
3837 built with an assembler that does not support ISA 3.0
3838 instructions, rename __extendkftf2_sw to __extendkftf2.
3839
a5046f48
RO
38402016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3841
3842 PR target/38239
3843 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
3844 call-clobbered registers.
3845 (internal_mcount): Remove __i386__ handling.
3846
df674f74
JS
38472016-02-26 Joel Sherrill <joel@rtems.org>
3848
3849 * config.host: Add x86_64-*-rtems*.
3850
7cb065d6
JS
38512016-02-26 Joel Sherrill <joel@rtems.org>
3852
3853 * libgcc/config.host: Add aarch64-*-rtems*.
3854
47dfdc53
PM
38552016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3856 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3857
3858 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
3859 union of u64 and double.
3860 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
3861 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
3862 value.
3863 (FP_ROUNDMODE): Update the usage of _fpscr.
3864
e6861a99
IV
38652016-02-25 Ilya Verbin <ilya.verbin@intel.com>
3866
3867 PR driver/68463
3868 * Makefile.in (crtoffloadtable$(objext)): New rule.
3869 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
3870 enable_offload_targets is not empty.
3871 * configure: Regenerate.
3872 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
3873 crtoffloadtable.
3874
9bfcbdee
MF
38752016-02-17 Max Filippov <jcmvbkbc@gmail.com>
3876
3877 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
3878 .literal_position before the function.
3879 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
3880 Likewise.
3881
4cb4721f
MK
38822016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
3883
3884 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
3885 * config/s390/morestack.S: New file.
3886 * config/s390/t-stack-s390: New file.
3887 * generic-morestack.c (__splitstack_find): Add s390-specific code.
3888
b29d9a29
WL
38892016-02-12 Walter Lee <walt@tilera.com>
3890
3891 * config.host (tilegx*-*-linux*): remove ti from
3892 softfp_int_modes for 32-bit configs.
3893
03a0ae7d
ILT
38942016-02-10 Ian Lance Taylor <iant@google.com>
3895
3896 PR go/68562
3897 * config/i386/morestack.S (__stack_split_initialize): Align
3898 stack.
3899
68750bce
AT
39002016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
3901
3902 PR bootstrap/69611
3903 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
3904 __FLOAT128__ to compile only for __float128 capable targets.
3905
7d296953
JJ
39062016-01-25 Jakub Jelinek <jakub@redhat.com>
3907
3908 PR target/69444
3909 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
3910 instead of ___NO_FPRS__.
3911
a71c0334 39122016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
3913 Steven Munroe <munroesj@linux.vnet.ibm.com>
3914 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
3915
3916 * config/rs6000/float128-sed: New files to convert TF names to KF
3917 names for PowerPC IEEE 128-bit floating point support.
3918 * config/rs6000/float128-sed-hw: Likewise.
3919
3920 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
3921 floating point hardware support.
3922
3923 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
3924 128-bit floating point software emulation or use ISA 3.0 hardware
3925 support if it is available.
3926
3927 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
3928 floating point.
3929
3930 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
3931 floating point to IBM extended double.
3932
3933 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
3934 double to IEEE 128-bit floating point.
3935
3936 * config/rs6000/t-float128: New Makefile fragments to enable
3937 building __float128 emulation support.
3938 * config/rs6000/t-float128-hw: Likewise.
3939
3940 * config/rs6000/sfp-exceptions.c: New file to provide exception
3941 support for IEEE 128-bit floating point.
3942
3943 * config/rs6000/floattikf.c: New files for converting between IEEE
3944 128-bit floating point and signed/unsigned 128-bit integers.
3945 * config/rs6000/fixunskfti.c: Likewise.
3946 * config/rs6000/fixkfti.c: Likewise.
3947 * config/rs6000/floatuntikf.c: Likewise.
3948
3949 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
3950 when building on 64-bit systems, or when VSX is enabled.
3951 (_FP_W_TYPE): Likewise.
3952 (_FP_WS_TYPE): Likewise.
3953 (_FP_I_TYPE): Likewise.
3954 (TItype): Define on 64-bit systems.
3955 (UTItype): Likewise.
3956 (TI_BITS): Likewise.
3957 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
3958 (_FP_MUL_MEAT_Q): Likewise.
3959 (_FP_DIV_MEAT_D): Likewise.
3960 (_FP_DIV_MEAT_Q): Likewise.
3961 (_FP_NANFRAC_D): Likewise.
3962 (_FP_NANFRAC_Q): Likewise.
3963 (ISA_BIT): Add exception support if we are being compiled on a
3964 machine with hardware floating point support to build the IEEE
3965 128-bit emulation functions.
3966 (FP_EX_INVALID): Likewise.
3967 (FP_EX_OVERFLOW): Likewise.
3968 (FP_EX_UNDERFLOW): Likewise.
3969 (FP_EX_DIVZERO): Likewise.
3970 (FP_EX_INEXACT): Likewise.
3971 (FP_EX_ALL): Likewise.
3972 (__sfp_handle_exceptions): Likewise.
3973 (FP_HANDLE_EXCEPTIONS): Likewise.
3974 (FP_RND_NEAREST): Likewise.
3975 (FP_RND_ZERO): Likewise.
3976 (FP_RND_PINF): Likewise.
3977 (FP_RND_MINF): Likewise.
3978 (FP_RND_MASK): Likewise.
3979 (_FP_DECL_EX): Likewise.
3980 (FP_INIT_ROUNDMODE): Likewise.
3981 (FP_ROUNDMODE): Likewise.
3982
3983 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
3984 VSX code, enable IEEE 128-bit floating point. If the compiler can
3985 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
3986 floating point hardware instructions and it supports declaring
3987 functions with the ifunc attribute, enable ifunc functions to
3988 switch between software and hardware support.
3989 * configure.ac (powerpc*-*-linux*): Likewise.
3990 * configure: Regenerate.
3991
bdc27e50
NC
39922016-01-15 Nick Clifton <nickc@redhat.com>
3993
3994 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
3995 dependency as the source file to be compiled.
3996 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
3997 (lib2hw_mul_f5.o): Likewise.
3998
006df05d
MM
39992016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4000
4001 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
4002 * libgcc/config/rs6000/fixkfti.c: Likewise.
4003 * libgcc/config/rs6000/fixunskfti.c: Likewise.
4004 * libgcc/config/rs6000/float128-hw.c: Likewise.
4005 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
4006 * libgcc/config/rs6000/float128-sed: Likewise.
4007 * libgcc/config/rs6000/floattikf.c: Likewise.
4008 * libgcc/config/rs6000/floatuntikf.c: Likewise.
4009 * libgcc/config/rs6000/quad-float128.h: Likewise.
4010 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
4011 * libgcc/config/rs6000/sfp-machine.h: Likewise.
4012 * libgcc/config/rs6000/t-float128: Likewise.
4013 * libgcc/config/rs6000/t-float128-hw: Likewise.
4014 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
4015 * libgcc/config.host: Likewise.
4016 * libgcc/configure: Likewise.
4017 * libgcc/configure.ac: Likewise.
4018
29176d57 40192016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
4020 Steven Munroe <munroesj@linux.vnet.ibm.com>
4021 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
4022
4023 * config/rs6000/sfp-exceptions.c: New file to provide exception
4024 support for IEEE 128-bit floating point.
4025
4026 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
4027 floating point hardware support.
4028
4029 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
4030 point conversions.
4031 * config/rs6000/fixunskfti.c: Likewise.
4032 * config/rs6000/fixkfti.c: Likewise.
4033 * config/rs6000/floatuntikf.c: Likewise.
4034 * config/rs6000/extendkftf2-sw.c: Likewise.
4035 * config/rs6000/trunctfkf2-sw.c: Likewise.
4036
4037 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
4038 128-bit floating point software emulation or use ISA 3.0 hardware
4039 support if it is available.
4040
4041 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
4042 floating point.
4043
4044 * config/rs6000/t-float128: New Makefile fragments to enable
4045 building __float128 emulation support.
4046 * config/rs6000/t-float128-hw: Likewise.
4047
4048 * config/rs6000/float128-sed: New file to convert TF names to KF
4049 names for PowerPC IEEE 128-bit floating point support.
4050
4051 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
4052 when building on 64-bit systems, or when VSX is enabled.
4053 (_FP_W_TYPE): Likewise.
4054 (_FP_WS_TYPE): Likewise.
4055 (_FP_I_TYPE): Likewise.
4056 (TItype): Define on 64-bit systems.
4057 (UTItype): Likewise.
4058 (TI_BITS): Likewise.
4059 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
4060 (_FP_MUL_MEAT_Q): Likewise.
4061 (_FP_DIV_MEAT_D): Likewise.
4062 (_FP_DIV_MEAT_Q): Likewise.
4063 (_FP_NANFRAC_D): Likewise.
4064 (_FP_NANFRAC_Q): Likewise.
4065 (ISA_BIT): Add exception support if we are being compiled on a
4066 machine with hardware floating point support to build the IEEE
4067 128-bit emulation functions.
4068 (FP_EX_INVALID): Likewise.
4069 (FP_EX_OVERFLOW): Likewise.
4070 (FP_EX_UNDERFLOW): Likewise.
4071 (FP_EX_DIVZERO): Likewise.
4072 (FP_EX_INEXACT): Likewise.
4073 (FP_EX_ALL): Likewise.
4074 (__sfp_handle_exceptions): Likewise.
4075 (FP_HANDLE_EXCEPTIONS): Likewise.
4076 (FP_RND_NEAREST): Likewise.
4077 (FP_RND_ZERO): Likewise.
4078 (FP_RND_PINF): Likewise.
4079 (FP_RND_MINF): Likewise.
4080 (FP_RND_MASK): Likewise.
4081 (_FP_DECL_EX): Likewise.
4082 (FP_INIT_ROUNDMODE): Likewise.
4083 (FP_ROUNDMODE): Likewise.
4084
4085 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
4086 compiler can do __float128.
4087 * configure: Regenerate.
4088
4089 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
4090 VSX code, enable IEEE 128-bit floating point.
4091
a2218983
OH
40922016-01-05 Olivier Hainque <hainque@adacore.com>
4093
4094 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 4095 specificities.
a2218983 4096
818ab71a
JJ
40972016-01-04 Jakub Jelinek <jakub@redhat.com>
4098
4099 Update copyright years.
4100
5a6c8ffa
AP
41012015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
4102
4103 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 4104 soft-fp targets.
5a6c8ffa 4105
077067a5
BE
41062015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
4107
4108 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
4109 instead of abort to avoid dependency on stdlib.h.
4110
787c1027
JDA
41112015-12-09 John David Anglin <danglin@gcc.gnu.org>
4112
4113 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
4114 to initialize call to __dl_fixup once.
4115
04a9ae28
NC
41162015-12-04 Nick Clifton <nickc@redhat.com>
4117
4118 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
4119 Allow for the second argument being negative.
4120 * config.host (extra_parts): Define for MSP430. Create separate
4121 libraries for each of the hardware multiply formats.
4122 * config/msp430/lib2hw_mul.S: Build only the multiply routines
4123 that are needed.
4124 * config/msp430/lib2mul.c: Likewise.
4125 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
4126 Add rules to build hardware multiply libraries.
4127 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
4128 __mspabi_divul function.
4129 (__mspabi_divllu): New stub function.
4130
9a32d437
JDA
41312015-12-01 John David Anglin <danglin@gcc.gnu.org>
4132
4133 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
4134 fixup values if saved GOT address doesn't match runtime address.
4135 (fixup_branch_offset): Reorder list.
4136
e5ef217c
RO
41372015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4138
4139 * Makefile.in (VTV_CFLAGS): New variable.
4140 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
4141 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
4142 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4143 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
4144 to extra_parts if $enable_vtable_verify = yes.
4145
78cc43a2
SN
41462015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
4147
4148 PR target/68059
4149 * config/arm/linux-atomic-64bit.c (__write): Rename to...
4150 (write): ...this and fix the return type.
4151
9afebea2
DD
41522015-11-19 DJ Delorie <dj@redhat.com>
4153
4154 * config/msp430/lib2hw_mul.S: Fix alignment.
4155
33f47f42
NS
41562015-11-18 Nathan Sidwell <nathan@codesourcery.com>
4157
4158 * config/nvptx/reduction.c: New.
4159 * config/nvptx/t-nvptx (LIB2ADD): Add it.
4160
d9adb476
DE
41612015-11-15 David Edelsohn <dje.gcc@gmail.com>
4162
4163 * config/rs6000/on_exit.c: New file.
4164 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
4165 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
4166
c0ab1970
CZ
41672015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
4168
4169 * config/arc/dp-hack.h: Add support for ARCHS.
4170 * config/arc/ieee-754/divdf3.S: Likewise.
4171 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
4172 * config/arc/ieee-754/muldf3.S: Likewise.
4173 * config/arc/ieee-754/mulsf3.S: Likewise
4174 * config/arc/lib1funcs.S: Likewise
4175 * config/arc/gmon/dcache_linesz.S: Don't read the build register
4176 for ARCv2 cores.
4177 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
4178 for ARCv2 cores.
4179 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
4180 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
4181 cores.
4182
e6b6bf09
RO
41832015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4184
4185 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
4186 value.
4187 * config/ia64/crtend.S: Likewise.
4188
a153644f
TS
41892015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4190
4191 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
4192 __CHAR_BIT__ instead of BITS_PER_UNIT.
4193 * fixed-bit.h: Likewise.
4194 * fp-bit.h: Likewise.
4195 * libgcc2.c (__popcountSI2): Likewise.
4196 (__popcountDI2): Likewise.
4197 * libgcc2.h: Likewise.
4198 * libgcov.h: Likewise.
4199
3dee689d
DE
42002015-11-07 David Edelsohn <dje.gcc@gmail.com>
4201
4202 * config/rs6000/atexit.c: New file.
4203 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
4204 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
4205 * config/rs6000/cxa_finalize.c
4206 (catomic_compare_and_exchange_bool_acq): Negate return value.
4207
2ef543e4
VK
42082015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
4209
4210 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
4211 (processor_subtypes): Add znver1.
4212 (get_amd_cpu): Detect znver1.
4213
1300f017
CL
42142015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
4215
4216 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
4217 Include crtfastmath.o.
4218
3e5bb7ee
JR
42192015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
4220
4221 PR libgcc/66883
4222 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 4223
793aa938
KP
42242015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
4225
4226 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
4227 * config/rl78/divmodsi.S: Update return register to r8.
4228 * config/rl78/divmodhi.S: Update return register to r8,r9.
4229 Branch to main_loop_done_himode to pop registers before return.
4230
7d296953 42312015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
4232
4233 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
4234 (__cpu_indicator_init): Fix model selection for AMD CPUs.
4235
6a192b5a
KY
42362015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
4237
4238 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
4239
4a0a9457
MF
42402015-10-03 Max Filippov <jcmvbkbc@gmail.com>
4241
4242 * config.host (xtensa*-*-uclinux*): New configuration.
4243
ab91c076
KY
42442015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
4245
385c7747 4246 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
4247 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
4248
30954527
JM
42492015-09-28 Joseph Myers <joseph@codesourcery.com>
4250
4251 * soft-fp/adddf3.c: Update from glibc.
4252 * soft-fp/addsf3.c: Likewise.
4253 * soft-fp/addtf3.c: Likewise.
4254 * soft-fp/divdf3.c: Likewise.
4255 * soft-fp/divsf3.c: Likewise.
4256 * soft-fp/divtf3.c: Likewise.
4257 * soft-fp/double.h: Likewise.
4258 * soft-fp/eqdf2.c: Likewise.
4259 * soft-fp/eqsf2.c: Likewise.
4260 * soft-fp/eqtf2.c: Likewise.
4261 * soft-fp/extenddftf2.c: Likewise.
4262 * soft-fp/extended.h: Likewise.
4263 * soft-fp/extendsfdf2.c: Likewise.
4264 * soft-fp/extendsftf2.c: Likewise.
4265 * soft-fp/extendxftf2.c: Likewise.
4266 * soft-fp/fixdfdi.c: Likewise.
4267 * soft-fp/fixdfsi.c: Likewise.
4268 * soft-fp/fixdfti.c: Likewise.
4269 * soft-fp/fixsfdi.c: Likewise.
4270 * soft-fp/fixsfsi.c: Likewise.
4271 * soft-fp/fixsfti.c: Likewise.
4272 * soft-fp/fixtfdi.c: Likewise.
4273 * soft-fp/fixtfsi.c: Likewise.
4274 * soft-fp/fixtfti.c: Likewise.
4275 * soft-fp/fixunsdfdi.c: Likewise.
4276 * soft-fp/fixunsdfsi.c: Likewise.
4277 * soft-fp/fixunsdfti.c: Likewise.
4278 * soft-fp/fixunssfdi.c: Likewise.
4279 * soft-fp/fixunssfsi.c: Likewise.
4280 * soft-fp/fixunssfti.c: Likewise.
4281 * soft-fp/fixunstfdi.c: Likewise.
4282 * soft-fp/fixunstfsi.c: Likewise.
4283 * soft-fp/fixunstfti.c: Likewise.
4284 * soft-fp/floatdidf.c: Likewise.
4285 * soft-fp/floatdisf.c: Likewise.
4286 * soft-fp/floatditf.c: Likewise.
4287 * soft-fp/floatsidf.c: Likewise.
4288 * soft-fp/floatsisf.c: Likewise.
4289 * soft-fp/floatsitf.c: Likewise.
4290 * soft-fp/floattidf.c: Likewise.
4291 * soft-fp/floattisf.c: Likewise.
4292 * soft-fp/floattitf.c: Likewise.
4293 * soft-fp/floatundidf.c: Likewise.
4294 * soft-fp/floatundisf.c: Likewise.
4295 * soft-fp/floatunditf.c: Likewise.
4296 * soft-fp/floatunsidf.c: Likewise.
4297 * soft-fp/floatunsisf.c: Likewise.
4298 * soft-fp/floatunsitf.c: Likewise.
4299 * soft-fp/floatuntidf.c: Likewise.
4300 * soft-fp/floatuntisf.c: Likewise.
4301 * soft-fp/floatuntitf.c: Likewise.
4302 * soft-fp/gedf2.c: Likewise.
4303 * soft-fp/gesf2.c: Likewise.
4304 * soft-fp/getf2.c: Likewise.
4305 * soft-fp/ledf2.c: Likewise.
4306 * soft-fp/lesf2.c: Likewise.
4307 * soft-fp/letf2.c: Likewise.
4308 * soft-fp/muldf3.c: Likewise.
4309 * soft-fp/mulsf3.c: Likewise.
4310 * soft-fp/multf3.c: Likewise.
4311 * soft-fp/negdf2.c: Likewise.
4312 * soft-fp/negsf2.c: Likewise.
4313 * soft-fp/negtf2.c: Likewise.
4314 * soft-fp/op-1.h: Likewise.
4315 * soft-fp/op-2.h: Likewise.
4316 * soft-fp/op-4.h: Likewise.
4317 * soft-fp/op-8.h: Likewise.
4318 * soft-fp/op-common.h: Likewise.
4319 * soft-fp/quad.h: Likewise.
4320 * soft-fp/single.h: Likewise.
4321 * soft-fp/soft-fp.h: Likewise.
4322 * soft-fp/subdf3.c: Likewise.
4323 * soft-fp/subsf3.c: Likewise.
4324 * soft-fp/subtf3.c: Likewise.
4325 * soft-fp/truncdfsf2.c: Likewise.
4326 * soft-fp/trunctfdf2.c: Likewise.
4327 * soft-fp/trunctfsf2.c: Likewise.
4328 * soft-fp/trunctfxf2.c: Likewise.
4329 * soft-fp/unorddf2.c: Likewise.
4330 * soft-fp/unordsf2.c: Likewise.
4331 * soft-fp/unordtf2.c: Likewise.
4332
4dfe21ac
RE
43332015-09-24 Richard Earnshaw <rearnsha@arm.com>
4334
4335 PR libgcc/67624
4336 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
4337
df2a1cc4
RO
43382015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4339
4340 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
4341 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
4342 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
4343 messages.
4344 (internal_mcount): Likewise.
4345 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
4346 crt_compile, add CRTSTUFF_T_CFLAGS_S.
4347
2d110442
RO
43482015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4349
4350 * configure.ac (libgcc_cv_solaris_crts): New test.
4351 * configure: Regenerate.
4352 * config.in: Regenerate.
4353 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
4354 * config/gmon-sol2.c: Rename to ...
4355 * config/sol2/gmon.c: ... this.
4356 Include auto-target.h.
4357 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
4358 * config/t-sol2: Rename to ...
4359 * config/sol2/t-sol2: ... this.
4360 (gmon.o): Reflect renaming.
4361 (crtp.o, crtpg.o): New rules.
4362 * config.host (*-*-solaris2*): Reflect renaming.
4363 Use system CRTs if present.
4364 Remove default CRT case.
4365
d572e439
JDA
43662015-09-23 John David Anglin <danglin@gcc.gnu.org>
4367
4368 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
4369 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
4370 __kernel_cmpxchg2.
4371 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
4372 (__sync_val_compare_and_swap_##WIDTH): Likewise.
4373 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
4374 (__sync_lock_test_and_set_##WIDTH): Likewise.
4375 (__sync_lock_release_##WIDTH): Likewise.
4376 (__sync_fetch_and_##OP##_4): Change result to match type of
4377 __kernel_cmpxchg.
4378 (__sync_##OP##_and_fetch_4): Likewise.
4379 (__sync_val_compare_and_swap_4): Likewise.
4380 (__sync_bool_compare_and_swap_4): likewise.
4381 (__sync_lock_test_and_set_4): Likewise.
4382 (__sync_lock_release_4): Likewise.
4383 (FETCH_AND_OP_2): Add long long variants.
4384 (OP_AND_FETCH_2): Likewise.
4385 (COMPARE_AND_SWAP_2 ): Likewise.
4386 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4387 (SYNC_LOCK_RELEASE_2): Likewise.
4388 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
4389
7d296953 43902015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
4391
4392 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
4393 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
4394 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
4395 (get_available_features): Habdle new features.
4396
131314e1
JB
43972015-09-21 James Bowman <james.bowman@ftdichip.com>
4398
4399 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
4400 memory layout. Deal correctly with BSS region larger than 32K.
4401 Handle a watchdog reset like a power-on reset. Clean up unused
4402 code.
4403
04218b35
AD
44042015-09-18 Andrew Dixie <andrewd@gentrack.com>
4405 David Edelsohn <dje.gcc@gmail.com>
4406
4407 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
4408 * config/rs6000/crtdbase.S: New file.
4409 * config/rs6000/t-aix-cxa: Build crtdbase.o.
4410
c8338173
MF
44112015-09-15 Max Filippov <jcmvbkbc@gmail.com>
4412
4413 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
4414 Add support for call0 ABI.
4415
7a84bf71
JDA
44162015-09-13 John David Anglin <danglin@gcc.gnu.org>
4417
4418 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
4419
4efab402
SH
44202015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
4421
4422 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
4423 (__GTHREAD_HAS_COND): Likewise.
4424 (__gthread_t): Likewise.
4425 (__gthread_cond_t): Likewise.
4426 (__gthread_time_t): Likewise.
4427 (__GTHREAD_MUTEX_INIT): Likewise.
4428 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
4429 (__GTHREAD_COND_INIT): Likewise.
4430 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
4431 (__GTHREAD_TIME_INIT): Likewise.
4432 (__gthread_create): Likewise.
4433 (__gthread_join): Likewise.
4434 (__gthread_detach): Likewise.
4435 (__gthread_equal): Likewise.
4436 (__gthread_self): Likewise.
4437 (__gthread_yield): Likewise.
4438 (__gthread_cond_broadcast): Likewise.
4439 (__gthread_cond_signal): Likewise.
4440 (__gthread_cond_wait): Likewise.
4441 (__gthread_cond_timedwait): Likewise.
4442 (__gthread_cond_wait_recursive): Likewise.
4443 (__gthread_cond_destroy): Likewise.
4444 (rtems_gxx_once): Delete.
4445 (rtems_gxx_key_create): Likewise.
4446 (rtems_gxx_key_delete): Likewise.
4447 (rtems_gxx_getspecific): Likewise.
4448 (rtems_gxx_setspecific): Likewise.
4449 (rtems_gxx_mutex_init): Likewise.
4450 (rtems_gxx_mutex_destroy): Likewise.
4451 (rtems_gxx_mutex_lock): Likewise.
4452 (rtems_gxx_mutex_trylock): Likewise.
4453 (rtems_gxx_mutex_unlock): Likewise.
4454 (rtems_gxx_recursive_mutex_init): Likewise.
4455 (rtems_gxx_recursive_mutex_lock): Likewise.
4456 (rtems_gxx_recursive_mutex_trylock): Likewise.
4457 (rtems_gxx_recursive_mutex_unlock): Likewise.
4458 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
4459 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
4460 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
4461 (__gthread_once): Likewise.
4462 (__gthread_key_create): Likewise.
4463 (__gthread_key_delete): Likewise.
4464 (__gthread_getspecific): Likewise.
4465 (__gthread_setspecific): Likewise.
4466 (__gthread_key_t): Use <pthread.h> type.
4467 (__gthread_once_t): Likewise
4468 (__gthread_mutex_t): Use <sys/lock.h> type.
4469 (__gthread_recursive_mutex_t): Likewise
4470 (__gthread_mutex_lock): Use <sys/lock.h> function.
4471 (__gthread_mutex_trylock): Likewise.
4472 (__gthread_mutex_timedlock): Likewise.
4473 (__gthread_mutex_unlock): Likewise.
4474 (__gthread_mutex_destroy): Likewise.
4475 (__gthread_recursive_mutex_lock): Likewise.
4476 (__gthread_recursive_mutex_trylock): Likewise.
4477 (__gthread_recursive_mutex_timedlock): Likewise.
4478 (__gthread_recursive_mutex_unlock): Likewise.
4479 (__gthread_recursive_mutex_destroy): Likewise.
4480
991995c4
MF
44812015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4482
4483 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
4484 context->sp instead of context->cfa.
4485
0e19db59
MF
44862015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4487
4488 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
4489 with unwind-dw2-fde-dip.
4490
b6ac5f62
MF
44912015-08-18 Max Filippov <jcmvbkbc@gmail.com>
4492
4493 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
4494 CALL12 followed by series of ENTRY to spill windowed registers.
4495 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
4496 instead of making linux spill syscall.
4497
3e0f3349
YR
44982015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
4499
4500 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
4501 (get_intel_cpu): Likewise.
4502
51c728b1
L
45032015-08-12 H.J. Lu <hongjiu.lu@intel.com>
4504
4505 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
4506 (get_intel_cpu): Add Knights Landing support.
4507
aff4eeac
UB
45082015-08-11 Uros Bizjak <ubizjak@gmail.com>
4509
4510 PR target/66954
4511 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
4512 (get_available_features): Handle FEATURE_PCLMUL.
4513
736e56da
L
45142015-08-10 H.J. Lu <hongjiu.lu@intel.com>
4515
4516 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
4517 Broadwell.
4518
54d22142
UB
45192015-07-22 Uros Bizjak <ubizjak@gmail.com>
4520
4521 PR target/66954
4522 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
4523 (get_available_features): Handle FEATURE_AES.
4524
20ca17e4
CLT
45252015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
4526
4527 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
4528 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
4529
ebe4a560
NS
45302015-07-17 Nathan Sidwell <nathan@codesourcery.com>
4531
4532 * offloadstuff.c: Constify host data.
4533
180744c0
JB
45342015-07-17 Jan Beulich <jbeulich@suse.com>
4535
4536 * config/t-softfp: Split up "else ifneq".
4537
a03c6ae3
SL
45382015-07-14 Sandra Loosemore <sandra@codesourcery.com>
4539 Cesar Philippidis <cesar@codesourcery.com>
4540 Chung-Lin Tang <cltang@codesourcery.com>
4541
4542 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
4543 for __nios2_arch__ level.
4544
73358db5
JM
45452015-07-13 John Marino <gnugcc@marino.st>
4546
4547 * config/i386/t-dragonfly: New.
4548
f9a12f7b
JDA
45492015-07-01 John David Anglin <danglin@gcc.gnu.org>
4550
4551 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
4552 better match light-weight syscall argument order.
4553 (__kernel_cmpxchg2): Likewise.
4554 Adjust callers.
4555
cb78b51c
L
45562015-06-30 H.J. Lu <hongjiu.lu@intel.com>
4557
4558 * config.host: Support i[34567]86-*-elfiamcu target.
4559 * config/t-softfp-sfdftf: New file.
4560 * config/i386/32/t-iamcu: Likewise.
4561 * configure: Regenerated.
4562
4fa0f9ea
JL
45632015-06-23 James Lemke <jwlemke@codesourcery.com>
4564
4565 libgcc/config/arm/
4566 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
4567
428b3812
L
45682015-05-27 H.J. Lu <hongjiu.lu@intel.com>
4569
4570 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
4571
7d296953 45722015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
4573
4574 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
4575 md_unwind_header
4576 * config/i386/freebsd-unwind.h: New.
4577
9b789cc1
UB
45782015-05-22 Uros Bizjak <ubizjak@gmail.com>
4579
4580 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
4581 i386/t-crtfm to tmake_file.
4582 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
4583 (set_fast_math): Use set_fast_math_sse for SSE targets.
4584 * config/i386/t-crtfm: Remove.
4585
3dafb220
AM
45862015-05-21 Alan Modra <amodra@gmail.com>
4587
4588 PR libgcc/66225
4589 * config/rs6000/morestack.S: Remove ".abiversion 1".
4590
0f0fd745
AM
45912015-05-20 Alan Modra <amodra@gmail.com>
4592
4593 * config/rs6000/morestack.S: New.
4594 * config/rs6000/t-stack-rs6000: New.
4595 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
4596 to tmake_file.
4597 * generic-morestack.c: Don't build for powerpc 32-bit.
4598
515ae71b
EB
45992015-05-19 Eric Botcazou <ebotcazou@adacore.com>
4600
4601 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
4602 Remove useless endif/ifneq ($(enable_shared),yes) pair.
4603
36805406
JL
46042015-05-16 James Bowman <james.bowman@ftdichip.com>
4605
4606 * config.host: FT32 target added.
4607 * config/ft32/*: New files for FT32 target.
4608
ff935d0c
MG
46092015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
4610
385c7747
UB
4611 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
4612 New macros.
4613 * config/arm/ieee754-df.S: Add CFI directives.
4614 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 4615
9b92a9f3
EB
46162015-05-13 Eric Botcazou <ebotcazou@adacore.com>
4617
4618 * configure.ac: Include config/sjlj.m4.
4619 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
4620 * config.in: Regenerate.
4621 * configure: Likewise.
4622 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
4623
98b5dc61
UB
46242015-05-12 Uros Bizjak <ubizjak@gmail.com>
4625
4626 * libgcov-util.c: Add space between string literal and macro name.
4627
5a0ff57c
SL
46282015-05-06 Sandra Loosemore <sandra@codesourcery.com>
4629 Chris Jones <chrisj@nvidia.com>
4630 Joshua Conner <jconner@nvidia.com>
4631
4632 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
4633 (arm*-*-uclinux*): Likewise.
4634 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
4635 * config/arm/crtfastmath.c: New file.
4636
d28ad5d4
BS
46372014-04-29 Bernd Schmidt <bernds@codesourcery.com>
4638
4639 * Makefile.in (real_host_noncanonical): New variable.
4640 (libsubdir): Use it.
4641 * configure.ac (real_host_noncanonical): Compute. Remove special
4642 case for intelmicemul.
4643 * configure: Regenerate.
4644
cc86234f
UB
46452015-04-28 Uros Bizjak <ubizjak@gmail.com>
4646
4647 * config/frv/elf-lib.h: New file.
4648 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
4649 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
4650 to tm_file.
4651
46522015-04-28 Uros Bizjak <ubizjak@gmail.com>
4653
4654 * config/frv/frvbengin.c: Do not include defaults.h
4655 * config/frv/frvend.c: Ditto.
4656
2f6bd6eb
YS
46572015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
4658
4659 * config.host: Add h8300-*-linux
4660 * config/h8300/t-linux: New file.
4661 * config/h8300/lib1funs.s: Change symbol prefix.
4662 * config/h8300/sfp-machine.h: 64bit double support.
4663
15aa7b44
GR
46642015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
4665 Szabolcs Nagy <szabolcs.nagy@arm.com>
4666
4667 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
4668 Linux if target provides dl_iterate_phdr.
4669
abd0cdc9
L
46702015-04-17 H.J. Lu <hongjiu.lu@intel.com>
4671
4672 PR target/65612
4673 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
4674 * config/i386/cpuinfo.c (__cpu_model): Initialize.
4675 (__cpu_indicator_init@GCC_4.8.0): New.
4676 (__cpu_model@GCC_4.8.0): Likewise.
4677 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
4678 -DUSE_ELF_SYMVER.
4679
72ed1126
NC
46802015-04-16 Nick Clifton <nickc@redhat.com>
4681
4682 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
4683 and __modhi3 functions.
4684 * config/rl78/divmodso.S: Add G14 and G13 versions of the
4685 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
4686
d26b2237
CG
46872015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
4688
4689 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
4690 do-while loop as macro body to avoid warnings.
4691
cacf1f59
JJ
46922015-04-10 Jakub Jelinek <jakub@redhat.com>
4693 Iain Sandoe <iain@codesourcery.com>
4694
4695 PR target/65351
4696 * configure: Regenerate.
4697
e8a4ed3b
JJ
46982015-04-07 Jakub Jelinek <jakub@redhat.com>
4699 Iain Sandoe <iain@codesourcery.com>
4700
4701 PR target/65351
4702 * configure: Regenerate.
4703
0341335e
CLT
47042015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
4705
4706 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
4707
590e2636 47082015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 4709
590e2636
MF
4710 Implement call0 ABI for xtensa
4711 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
4712 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
4713 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
4714 use ret in call0 ABI.
4715 * config/xtensa/t-windowed: New file.
4716 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
4717 * libgcc/configure: Regenerated.
4718 * libgcc/configure.ac: Check if xtensa target is configured for
4719 windowed ABI and thus needs to use custom unwind code.
4720
7727f8f2
JW
47212015-02-12 Jonathan Wakely <jwakely@redhat.com>
4722
4723 PR libgcc/64885
4724 * gthr-single.h: Use __unused__ attribute instead of unused.
4725 * config/gthr-vxworks.h: Likewise.
4726 * config/i386/gthr-win32.h: Likewise.
4727
0e4a0def
KT
47282015-02-27 Kai Tietz <ktietz@redhat.com>
4729
4730 PR target/65038
4731 * config.in: Regenerated.
4732 * configure: Likewise.
4733 * configure.ac (AC_HEADER_STDC): Added explicit.
4734 (AC_CHECK_HEADERS): Check for default headers plus
4735 for ftw.h header.
4736 * libgcov-util.c (gcov_read_profile_dir): Disable use
4737 of ftw-function, if header is not found.
4738 (ftw_read_file): Likewise.
4739
b6530d0a
TS
47402015-02-23 Thomas Schwinge <thomas@codesourcery.com>
4741
4742 PR target/65181
4743 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
4744 -Dinhibit_libc.
4745
53cfb467
SL
47462015-02-17 Sandra Loosemore <sandra@codesourcery.com>
4747
4748 * config/arm/bpabi.S (test_div_by_zero): Make label names
4749 consistent between thumb2 and arm mode cases. Separate the
4750 signed comparison on the high word of the numerator from the
4751 unsigned comparison on the low word.
4752 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
4753 signed comparison.
4754
77d10a1b
JM
47552015-02-17 Joseph Myers <joseph@codesourcery.com>
4756
4757 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
4758 and <string.h>.
4759 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
4760
98174188
RE
47612015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
4762
4763 PR gcov-profile/61889
471274de 4764 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 4765
771bef14
NC
47662015-02-02 Nick Clifton <nickc@redhat.com>
4767
4768 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
4769 rounding up the fraction.
4770
40702893
JDA
47712015-01-31 John David Anglin <danglin@gcc.gnu.org>
4772
4773 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
4774 oldval and newval to const void *. Fix typo.
4775 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
4776 (FETCH_AND_OP_WORD): Likewise.
4777 (OP_AND_FETCH_WORD): Likewise.
4778 (COMPARE_AND_SWAP_2): Likewise.
4779 (__sync_val_compare_and_swap_4): Likewise.
4780 (__sync_lock_test_and_set_4): Likewise.
4781 (SYNC_LOCK_RELEASE_2): Likewise.
4782 Remove support for long long atomic operations.
4783
f7f049fa
CT
47842015-01-27 Caroline Tice <cmtice@google.com>
4785
4786 Committing VTV Cywin/Ming patch for Patrick Wollgast
4787 * Makefile.in: Move rules to build vtv_*.o out of the check
4788 for CUSTOM_CRTSTUFF.
4789 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
4790 i[34567]86-*-mingw*)
4791 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
4792 enable_vtable_verify.
4793
8410904a
NC
47942015-01-27 Nick Clifton <nickc@redhat.com>
4795
4796 * config/rl78/cmpsi2.S: Use function start and end macros.
4797 (__gcc_bcmp): New function.
4798 * config/rl78/lshrsi3.S: Use function start and end macros.
4799 * config/rl78/mulsi3.S: Add support for G10.
4800 (__mulqi3): New function for G10.
4801 * config/rl78/signbit.S: Use function start and end macros.
4802 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
4803 fpmath-sf.S.
4804 (LIB2FUNCS_EXCLUDE): Define.
4805 (LIB2FUNCS_ST): Define.
4806 * config/rl78/trampoline.S: Use function start and end macros.
4807 * config/rl78/vregs.h (START_FUNC): New macro.
4808 (START_ANOTHER_FUNC): New macro.
4809 (END_FUNC): New macro.
4810 (END_ANOTHER_FUNC): New macro.
4811 * config/rl78/bit-count.S: New file. Contains assembler
4812 implementations of the bit counting functions: ___clzhi2,
4813 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
4814 __paritysi2, __popcounthi2 and __popcountsi2.
4815 * config/rl78/fpbit-sf.S: New file. Contains assembler
4816 implementationas of the math functions: __negsf2, __cmpsf2,
4817 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
4818 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
4819 * config/rl78/fpmath-sf.S: New file. Contains assembler
4820 implementations of the math functions: __subsf3, __addsf3,
4821 __mulsf3 and __divsf3
4822
f962fbf1
RO
48232015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4824
4825 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
4826 Add i386/elf-lib.h to tm_file.
4827 * config/i386/elf-lib.h: Fix comment.
4828 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
4829 && __sun__ && __svr4__]: Remove workaround.
4830
939911c5
ASJ
48312015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
4832
4833 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
4834 FEATURE_BMI2.
4835 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
4836
c8f2dff2
L
48372015-01-24 H.J. Lu <hongjiu.lu@intel.com>
4838
4839 * config/i386/cpuinfo.c (processor_subtypes): Add
4840 INTEL_COREI7_BROADWELL.
4841 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
4842 model numbers.
4843
7bbf9734
UB
48442015-01-23 Uros Bizjak <ubizjak@gmail.com>
4845
4846 * config/i386/elf-lib.h: New file.
4847 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
4848 Wrap definition in #ifdef __i386__.
4849 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
4850 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
4851 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
4852 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
4853 to tm_file.
4854
324820f1
CG
48552015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
4856
4857 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
4858 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
4859
a9ce4e4a
CLT
48602015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
4861
4862 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
4863 Update rt_sigframe format and address for current Nios II
4864 Linux conventions.
4865
82a19768
AT
48662015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
4867
4868 * config.host (arm*-*-freebsd*): Add new configuration for
4869 arm*-*-freebsd*.
4870 * config/arm/freebsd-atomic.c: New file.
4871 * config/arm/t-freebsd: Likewise.
4872 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
4873 'PC-relative indirect' OS's.
4874
0969ec7d
EB
48752015-01-06 Eric Botcazou <ebotcazou@adacore.com>
4876
4877 * config.host: Add Visium support.
4878 * config/visium: New directory.
4879
5624e564
JJ
48802015-01-05 Jakub Jelinek <jakub@redhat.com>
4881
4882 Update copyright years.
4883
82f84ecb
MF
48842014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
4885
4886 * config.host: Support mipsisa32r6 and mipsisa64r6.
4887 * config/mips/mips16.S: Do not build for R6.
4888
69044fa9
OE
48892014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
4890
4891 * config/sh/crt.h: New.
4892 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
4893 symbols.
4894 * config/sh/crt1.S: Likewise.
4895
2405e0ea
UB
48962014-12-15 Uros Bizjak <ubizjak@gmail.com>
4897
4898 PR libgcc/63832
4899 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
4900 func_ptr *dtor_list temporary variable to avoid "array subscript
4901 is above array bounds" warnings.
4902
7d296953 49032014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
4904
4905 * Makefile.in (with_aix_soname): Define.
4906 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
4907 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
4908 * configure: Recreate.
4909
a66272f6
OH
49102014-12-05 Olivier Hainque <hainque@adacore.com>
4911
4912 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
4913 now provided by defaults.h.
4914
6342b2c5
OE
49152014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
4916
7d0ee249 4917 PR target/55351
6342b2c5
OE
4918 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
4919 whether it's defined.
4920
c17eac85
IT
49212014-11-27 Ilya Tocar <ilya.tocar@intel.com>
4922
4923 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
4924 * config/i386/cpuinfo.c (get_available_features): Detect it.
4925
1025cb6c
TW
49262014-11-27 Tony Wang <tony.wang@arm.com>
4927
4928 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
4929 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
4930 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
4931
d19f2e38
SB
49322014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
4933
4934 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
4935
17f6e9a3
JDA
49362014-11-24 John David Anglin <danglin@gcc.gnu.org>
4937
4938 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
4939 instead.
4940
0cd7c672
GM
49412014-11-21 Guy Martin <gmsoft@tuxicoman.be>
4942 John David Anglin <danglin@gcc.gnu.org>
4943
4944 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
4945 (FETCH_AND_OP_2): New. Use for subword and double word operations.
4946 (OP_AND_FETCH_2): Likewise.
4947 (COMPARE_AND_SWAP_2): Likewise.
4948 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
4949 (SYNC_LOCK_RELEASE_2): Likewise.
4950 (SUBWORD_SYNC_OP): Remove.
4951 (SUBWORD_VAL_CAS): Likewise.
4952 (SUBWORD_BOOL_CAS): Likewise.
4953 (FETCH_AND_OP_WORD): Update.
4954 Consistently use signed types.
cc86234f 4955
85c64bbe
BS
49562014-11-13 Bernd Schmidt <bernds@codesourcery.com>
4957 Thomas Schwinge <thomas@codesourcery.com>
4958 Ilya Verbin <ilya.verbin@intel.com>
4959 Andrey Turetskiy <andrey.turetskiy@intel.com>
4960
4961 * Makefile.in (crtoffloadbegin$(objext)): New rule.
4962 (crtoffloadend$(objext)): Likewise.
4963 * configure: Regenerate.
4964 * configure.ac (accel_dir_suffix): Compute new variable.
4965 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
4966 if enable_offload_targets is not empty.
4967 * offloadstuff.c: New file.
4968
52a1ff8b
NC
49692014-11-13 Nick Clifton <nickc@redhat.com>
4970
4971 * config/rl78/divmodhi.S: Add support for the G10 architecture.
4972 Use START_FUNC and END_FUNC macros to enable linker garbage
4973 collection.
4974 * config/rl78/divmodqi.S: Likewise.
4975 * config/rl78/divmodsi.S: Likewise.
4976 * config/rl78/mulsi3.S: Likewise.
4977 * config/rl78/lib2div.c: Remove G10 functions.
4978 * config/rl78/lib2muls.c: Likewise.
4979 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
4980 * config/rl78/vregs.h (START_FUNC): New macro.
4981 (END_FUNC): New macro.
4982
050af144
MF
49832014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
4984
4985 * config/mips/mips16.S: Set .module when supported. Update O32
4986 FP64 calling convention and use for FPXX when possible. Add FPXX
4987 calling convention fallback case.
4988
738f2522
BS
49892014-11-06 Bernd Schmidt <bernds@codesourcery.com>
4990
4991 * config.host: Handle nvptx-*-*.
4992 * shared-object.mk (as-flags-$o): Define.
4993 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
4994 -xassembler-with-cpp.
4995 * static-object.mk: Identical changes.
4996 * config/nvptx/t-nvptx: New file.
4997 * config/nvptx/crt0.s: New file.
4998 * config/nvptx/free.asm: New file.
4999 * config/nvptx/malloc.asm: New file.
5000 * config/nvptx/realloc.c: New file.
5001
e610393c
JM
50022014-10-30 Joseph Myers <joseph@codesourcery.com>
5003
5004 * Makefile.in (libgcc.map.in): New target.
5005 (libgcc.map): Use libgcc.map.in.
5006 * config/t-softfp (softfp_compat): New variable to be set by
5007 users.
5008 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
5009 variables.
5010 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
5011 directory.
5012 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
5013 that use compat symbols and disable all code unless [SHARED].
5014 * config/t-softfp-compat: New file.
5015 * find-symver.awk: New file.
5016 * configure.ac (--with-glibc-version): New configure option.
5017 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
5018 * configure: Regenerate.
5019 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
5020 soft-float and e500.
5021
bc1b3a88
JM
50222014-10-29 Joseph Myers <joseph@codesourcery.com>
5023
5024 * config/t-hardfp (hardfp_exclusions): Document new variable for
5025 user to define.
5026 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
5027 * config/t-softfp (softfp_extras): Document new variable for user
5028 to define.
5029 (softfp_func_list): Add functions from $(softfp_extras).
5030 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
5031 * config.host (powerpc*-*-linux*): For e500v1, use
5032 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
5033 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
5034 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
5035
ef2810c1
JDA
50362014-10-26 John David Anglin <danglin@gcc.gnu.org>
5037
5038 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
5039 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
5040 memory read accesses are ok.
5041
d80c2bea
JM
50422014-10-25 Joseph Myers <joseph@codesourcery.com>
5043
5044 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
5045 * configure: Regenerate.
5046 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
5047 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
5048 of soft-fp for 32-bit classic hard float. Do not use
5049 t-softfp-excl for soft float.
5050
693b297b
JM
50512014-10-22 Joseph Myers <joseph@codesourcery.com>
5052
5053 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
5054 configurations.
5055 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
5056 Remove variables.
5057
18a3415e
GJL
50582014-10-22 Georg-Johann Lay <avr@gjlay.de>
5059
5060 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
5061 introduced with 2014-10-21 trunk r216525.
5062
c1dd9790 50632014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
5064 Vidya Praveen <vidya.praveen@atmel.com>
5065 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
5066 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
5067 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
5068
5069 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
5070 order.
5071
5072 Updated library functions for AVRTINY arch.
5073 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
5074 Replaced occurrences of r0/r1 with tmp/zero reg macros.
5075 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
5076 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
5077 wsubi/wadi macors.
5078 (__mulsi3_helper): Update stack, preserve callee saved regs and
5079 argument from stack. Restore callee save registers.
5080 (__mulpsi3): Likewise.
5081 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
5082 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 5083 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
5084 AVRTINY.
5085 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
5086 (__do_copy_data): Added new definition for AVRTINY.
5087 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
5088 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
5089 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
5090 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
5091 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
5092 macors.
18a3415e 5093 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
5094 AVRTINY.
5095
18a3415e 5096 Fix broken long multiplication on tiny arch.
c1dd9790 5097
5f606431
JM
50982014-10-09 Joseph Myers <joseph@codesourcery.com>
5099
5100 * soft-fp/double.h: Update from glibc.
5101 * soft-fp/eqdf2.c: Likewise.
5102 * soft-fp/eqsf2.c: Likewise.
5103 * soft-fp/eqtf2.c: Likewise.
5104 * soft-fp/extenddftf2.c: Likewise.
5105 * soft-fp/extended.h: Likewise.
5106 * soft-fp/extendsfdf2.c: Likewise.
5107 * soft-fp/extendsftf2.c: Likewise.
5108 * soft-fp/extendxftf2.c: Likewise.
5109 * soft-fp/gedf2.c: Likewise.
5110 * soft-fp/gesf2.c: Likewise.
5111 * soft-fp/getf2.c: Likewise.
5112 * soft-fp/ledf2.c: Likewise.
5113 * soft-fp/lesf2.c: Likewise.
5114 * soft-fp/letf2.c: Likewise.
5115 * soft-fp/op-1.h: Likewise.
5116 * soft-fp/op-2.h: Likewise.
5117 * soft-fp/op-4.h: Likewise.
5118 * soft-fp/op-8.h: Likewise.
5119 * soft-fp/op-common.h: Likewise.
5120 * soft-fp/quad.h: Likewise.
5121 * soft-fp/single.h: Likewise.
5122 * soft-fp/soft-fp.h: Likewise.
5123 * soft-fp/unorddf2.c: Likewise.
5124 * soft-fp/unordsf2.c: Likewise.
5125 * soft-fp/unordtf2.c: Likewise.
5126 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
5127 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
5128 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
5129 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
5130 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
5131 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
5132 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
5133 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
5134 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
5135 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
5136
9b84e7a8
RX
51372014-10-08 Rong Xu <xur@google.com>
5138
5139 * libgcov-util.c (read_gcda_file): Fix format.
5140 (find_match_gcov_info): Ditto.
5141 (calculate_2_entries): New.
5142 (compute_one_gcov): Ditto.
5143 (gcov_info_count_all_cold): Ditto.
5144 (gcov_info_count_all_zero): Ditto.
5145 (extract_file_basename): Ditto.
5146 (get_file_basename): Ditto.
5147 (set_flag): Ditto.
5148 (matched_gcov_info): Ditto.
5149 (calculate_overlap): Ditto.
5150 (gcov_profile_overlap): Ditto.
5151 * libgcov-driver.c (compute_summary): Make
5152 it avavilable for external calls.
5153
fe1090c1
RX
51542014-10-06 Rong Xu <xur@google.com>
5155
5156 * Makefile.in: Ditto.
5157 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
5158 (gcov_sort_icall_topn_counter): Ditto.
5159 (gcov_sort_topn_counter_arrays): Ditto.
5160 (dump_one_gcov): Sort indirect_call topn counters.
5161 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
5162 function.
5163 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
5164 utility function.
5165 (__gcov_indirect_call_topn_profiler): New profiler function.
5166 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
5167 * libgcov.h: New decls.
5168
3daa7bbf
TS
51692014-10-04 Trevor Saunders <tsaunders@mozilla.com>
5170
5171 * config.host: Remove support for score-*.
5172
9a79452d
JM
51732014-09-22 Joseph Myers <joseph@codesourcery.com>
5174
5175 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5176 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
5177 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
5178 __LIBGCC_XF_MANT_DIG__.
5179 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
5180 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
5181 __LIBGCC_TF_MANT_DIG__.
5182 * libgcc2.c (NOTRUNC): Define in terms of
5183 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
5184 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
5185
1a849e50
JM
51862014-09-22 Joseph Myers <joseph@codesourcery.com>
5187
5188 PR target/63312
5189 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
5190 New macros.
5191
598a1586
HPN
51922014-09-22 Hans-Peter Nilsson <hp@axis.com>
5193
5194 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
5195 override USE_PT_GNU_EH_FRAME.
5196 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
5197 check USE_EH_FRAME_REGISTRY_ALWAYS against
5198 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
5199 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
5200 variable for substituted force_explicit_eh_registry.
5201 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
5202 * configure.ac (explicit-exception-frame-registration):
5203 New AC_ARG_ENABLE.
5204 * configure: Regenerate.
5205
3a8fe7c6
OH
52062014-09-19 Olivier Hainque <hainque@adacore.com>
5207
5208 * config.host (powerpc-wrs-vxworksmils): New configuration,
5209 same as vxworksae.
5210
dd69f047
JM
52112014-09-18 Joseph Myers <joseph@codesourcery.com>
5212
5213 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
5214
e770bfd9
JM
52152014-09-18 Joseph Myers <joseph@codesourcery.com>
5216
5217 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
5218 bits not set bits as indicating trapping exceptions.
5219
cadb2b96
NS
52202014-09-17 Nathan sidwell <nathan@acm.org>
5221
5222 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
5223 (LIBGCOV_DRIVER): ... here.
5224 * libgcov-driver.c (gcov_master): New.
5225 (gcov_exit): Remove from master chain.
5226 (__gcov_init): Add to master chain if version compatible. Don't
5227 clear the version.
5228 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
5229 (gcov_reset_int): Clear master chain, if compatible.
5230 (gcov_dump_int): New internal interface. Dump master chain, if
5231 compatible.
5232 (gcov_dump): Alias for gcov_dump_int.
5233 * libgcov.h (struct gcov_root): Add next and prev fields.
5234 (struct gcov_master): New struct.
5235 (__gcov_master): New.
5236 (gcov_dump_int): Declare.
5237
580d22a3
OH
52382014-09-17 Olivier Hainque <hainque@adacore.com>
5239
5240 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
5241 and crtbegin.o + crtend.o to extra_parts.
5242
8cc4b7a2
JM
52432014-09-12 Joseph Myers <joseph@codesourcery.com>
5244
5245 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
5246 __LIBGCC_HAS_SF_MODE__.
5247 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5248 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5249 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5250 * config/libbid/bid_gcc_intrinsics.h
5251 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5252 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
5253 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
5254 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
5255 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
5256 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
5257
ea3f2b24
GJL
52582014-09-11 Georg-Johann Lay <avr@gjlay.de>
5259
5260 PR target/63223
5261 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
5262 and R24 as needed. Make work for all devices and .text locations.
5263 (__do_global_ctors, __do_global_dtors): Use word addresses.
5264 (__tablejump__, __tablejump_elpm__): Remove functions.
5265 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
5266 Add _tablejump2.
5267 (XICALL, XIJMP): New macros.
5268
b677236a
MS
52692014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
5270 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5271
5272 * config.host (aarch64*): Include crtfastmath.o and
5273 t-crtfm.
5274 * config/aarch64/crtfastmath.c: New file.
5275
157e859f
TS
52762014-09-08 Trevor Saunders <tsaunders@mozilla.com>
5277
5278 * config.host: Remove picochip support.
5279 * config/picochip/adddi3.S: Remove.
5280 * config/picochip/ashlsi3.S: Remove.
5281 * config/picochip/ashlsi3.c: Remove.
5282 * config/picochip/ashrsi3.S: Remove.
5283 * config/picochip/ashrsi3.c: Remove.
5284 * config/picochip/clzsi2.S: Remove.
5285 * config/picochip/cmpsi2.S: Remove.
5286 * config/picochip/divmod15.S: Remove.
5287 * config/picochip/divmodhi4.S: Remove.
5288 * config/picochip/divmodsi4.S: Remove.
5289 * config/picochip/lib1funcs.S: Remove.
5290 * config/picochip/longjmp.S: Remove.
5291 * config/picochip/lshrsi3.S: Remove.
5292 * config/picochip/lshrsi3.c: Remove.
5293 * config/picochip/parityhi2.S: Remove.
5294 * config/picochip/popcounthi2.S: Remove.
5295 * config/picochip/setjmp.S: Remove.
5296 * config/picochip/subdi3.S: Remove.
5297 * config/picochip/t-picochip: Remove.
5298 * config/picochip/ucmpsi2.S: Remove.
5299 * config/picochip/udivmodhi4.S: Remove.
5300 * config/picochip/udivmodsi4.S: Remove.
5301
66bb34c0
JM
53022014-09-08 Joseph Myers <joseph@codesourcery.com>
5303
5304 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
5305 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
5306 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
5307 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
5308 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
5309 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
5310 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
5311 defined and LIBGCC2_HAS_DF_MODE is defined.
5312 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
5313 defined and LIBGCC2_HAS_XF_MODE is defined.
5314 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
5315 defined and LIBGCC2_HAS_TF_MODE is defined.
5316
9686a2e6
JM
53172014-09-08 Joseph Myers <joseph@codesourcery.com>
5318
5319 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
5320 and ROUND_TOWARDS_ZERO conditionals.
5321
71c3e2ef
NS
53222014-09-07 Nathan sidwell <nathan@acm.org>
5323
5324 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
5325 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
5326
53d68b9f
JM
53272014-09-05 Joseph Myers <joseph@codesourcery.com>
5328
5329 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
5330 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5331 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5332 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5333 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5334 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5335 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5336 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
5337 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
5338 (DWARF_FRAME_REGISTERS): Change all uses to
5339 __LIBGCC_DWARF_FRAME_REGISTERS__.
5340 (EH_RETURN_STACKADJ_RTX): Change all uses to
5341 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5342 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
5343 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
5344 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
5345 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
5346 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
5347 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
5348 to __LIBGCC_EH_FRAME_SECTION_NAME__.
5349 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
5350 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
5351 __LIBGCC_STACK_POINTER_REGNUM__.
5352 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
5353 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5354 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5355 to __LIBGCC_STACK_POINTER_REGNUM__.
5356 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5357 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5358 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
5359 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5360 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
5361 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
5362 (STACK_POINTER_REGNUM): Change all uses to
5363 __LIBGCC_STACK_POINTER_REGNUM__.
5364 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
5365 use to __LIBGCC_STACK_POINTER_REGNUM__.
5366 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
5367 uses to __LIBGCC_STACK_POINTER_REGNUM__.
5368 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
5369 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5370 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
5371 to __LIBGCC_DWARF_FRAME_REGISTERS__.
5372 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
5373 to __LIBGCC_STACK_POINTER_REGNUM__.
5374 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
5375 Remove conditional definition.
5376 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
5377 __LIBGCC_TEXT_SECTION_ASM_OP__.
5378 (EH_FRAME_SECTION_NAME): Change all uses to
5379 __LIBGCC_EH_FRAME_SECTION_NAME__.
5380 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
5381 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
5382 (CTORS_SECTION_ASM_OP): Change all uses to
5383 __LIBGCC_CTORS_SECTION_ASM_OP__.
5384 (DTORS_SECTION_ASM_OP): Change all uses to
5385 __LIBGCC_DTORS_SECTION_ASM_OP__.
5386 (JCR_SECTION_NAME): Change all uses to
5387 __LIBGCC_JCR_SECTION_NAME__.
5388 (INIT_SECTION_ASM_OP): Change all uses to
5389 __LIBGCC_INIT_SECTION_ASM_OP__.
5390 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5391 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5392 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
5393 __LIBGCC_STACK_GROWS_DOWNWARD__.
5394 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
5395 __LIBGCC_INIT_SECTION_ASM_OP__.
5396 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
5397 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
5398 (EH_FRAME_SECTION_NAME): Change all uses to
5399 __LIBGCC_EH_FRAME_SECTION_NAME__.
5400 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
5401 definitions. Change all uses to
5402 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
5403 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
5404 __LIBGCC_STACK_GROWS_DOWNWARD__.
5405 (DWARF_FRAME_REGISTERS): Change all uses to
5406 __LIBGCC_DWARF_FRAME_REGISTERS__.
5407 (EH_RETURN_STACKADJ_RTX): Change all uses to
5408 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
5409 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
5410 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
5411 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
5412 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
5413 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
5414
b20ee094
NS
54152014-09-02 Nathan sidwell <nathan@acm.org>
5416
5417 * libgcov-interface.c (STRONG_ALIAS): New.
5418 (__gcov_flush): Call __gcov_reset_int.
5419 (__gcov_reset): Strong alias for ...
5420 (__gcov_reset_ing): ... this renamed hidden version.
5421 * libgcov.h (__gcov_reset_int): New declaration.
5422
1ac83976
YS
54232014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
5424
25efdb9f
YS
5425 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
5426 call from here...
5427 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
5428 (__dso_handle): Define on Cygwin.
5429 * config/i386/t-cygming (crtbeginS.o): New rule.
5430 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
5431
1ac83976
YS
5432 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
5433 declaration syntax.
5434
c6f9ea3b
SE
54352014-08-13 Steve Ellcey <sellcey@mips.com>
5436
5437 * crtstuff.c: Undef caddr_t.
5438
5b1ea7c5
SE
54392014-08-12 Steve Ellcey <sellcey@mips.com>
5440
5441 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
5442
4303c581
NS
54432014-08-07 Nathan Sidwell <nathan@acm.org>
5444
5445 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
5446 (LIBGCOV_DRIVER): ... to here.
5447 * libgcov.h (gcov_do_dump): New #define.
5448 (struct gcov_root): New.
5449 (__gcov_root): New declaration.
5450 (__gcov_dump_one): Declare.
5451 * libgcov-driver.c (gcov_list, gcov_dump_complete,
5452 run_accounted): Delete.
5453 (gcov_compute_histogram): Add LIST argument, adjust.
5454 (compute_summary): Adjust gcov_compute_histogram call.
5455 (gcov_do_dump): Not hidden, static in libgcov.
5456 (gcov_clear): Move to interface.c.
5457 (__gcov_dump_one): New, broken out of ...
5458 (gcov_exit): ... here. Make static.
5459 (__gcov_root): New.
5460 (__gcov_init): Adjust.
5461 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
5462 declarations.
5463 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
5464 (gcov_clear): Moved from driver.c. Add LIST argument.
5465 (__gcov_reset): Adjust for changed interfaces.
5466 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
5467
23742a9e
RAR
54682014-08-04 Rohit <rohitarulraj@freescale.com>
5469
5470 PR target/60102
5471 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 5472 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 5473
b98a872b
NS
54742014-08-01 Nathan Sidwell <nathan@acm.org>
5475
5476 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
5477 LIBGCOV_INTERFACE): Reformat.
5478 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
5479 IN_GCOV_TOOL.
5480 * libgcov-interface.c: Reformat some comments.
5481 (__gcov_flush_mx): Add declaration. Tidy up definition.
5482
6adaaa1d
AM
54832014-07-31 Alan Modra <amodra@gmail.com>
5484 Peter Bergner <bergner@vnet.ibm.com>
5485
5486 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
5487 (pack_ldouble): New function.
5488 (__gcc_qadd): Use it.
5489 (__gcc_qmul): Likewise.
5490 (__gcc_qdiv): Likewise.
5491 (__gcc_qneg): Likewise.
5492 (__gcc_stoq): Likewise.
5493 (__gcc_dtoq): Likewise.
5494
87cb0c0c
UW
54952014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
5496
5497 * config/s390/tpf-unwind.h: Include <stdbool.h>.
5498 (__tpf_eh_return): Add original return address as second parameter.
5499 Handle cases where unwinder routines were called directly, instead
5500 of from within the C++ library.
5501
19926161
NS
55022014-07-29 Nathan Sidwell <nathan@acm.org>
5503
5504 * libgcov.h: Move renaming of entry points to lib gcov specific
5505 portion.
5506 (gcov_do_dump): New rename.
5507 (gcov_rewrite): Remove inline, make HIDDEN.
5508 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
5509 (gcov_exit_compute_summary): Rename to ...
5510 (compute_summary): ... here. Add LIST argument.
5511 (gcov_exit_merge_gcda): Rename to ...
5512 (merge_one_data): ... here.
5513 (gcov_exit_write_gcda): Rename to ...
5514 (write_one_data): ... here.
5515 (gcov_exit_merge_summary): Rename to ...
5516 (merge_summary): Add RUN_COUNTED argument.
5517 (gcov_exit_dump_gcov): Rename to ...
5518 (dump_one_gcov): Add RUN_COUNTED argument.
5519 (gcov_do_dump): New function, broken out of ...
5520 (gcov_exit): ... here. Call it.
5521
17522262
AG
55222014-07-27 Anthony Green <green@moxielogic.com>
5523
5524 * config.host: Add moxiebox configuration suppport.
5525
6dc33097
NS
55262014-07-27 Nathan Sidwell <nathan@acm.org>
5527
5528 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
5529 (struct gcov_filename): ... here. Include buffer and max length
5530 fields.
5531 (gcov_max_filename): Remove.
5532 (gi_filename): Remove.
5533 (gcov_exit_compute_summary): Compute max filename here.
5534 (gcov_exit_merge_gcda): Add filename parm, adjust.
5535 (gcov_exit_merge_summary): Likewise.
5536 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
5537 (gcov_exit): Likewise.
5538 (__gcov_init): Don't calculate max length here.
5539 * libgcov_util.c (max_filename_len): Remove.
5540 (read_gcda_file): Don't calculate max length here.
5541 (gcov_read_profile_dir): Don't propagate here.
5542 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
5543 struct gcov_filename changes.
5544 (gcov_exit_open_gcda_file): Likewise.
5545
770f687d
NS
55462014-07-25 Nathan Sidwell <nathan@acm.org>
5547
5548 * libgcov-driver.c (set_gcov_dump_complete,
5549 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
5550 functions polluting user's namespace.
5551 (gcov_exit): Set variable directly.
5552 (gcov_clear): Reset variable directly.
5553 * libgcov-interface.c (get_gcov_dymp_complete,
5554 reset_gov_dump_complete): Remove declarations.
5555 (__gcov_reset, __gcov_dump): Don't call them.
5556
fabf71ba
DD
55572014-07-24 DJ Delorie <dj@redhat.com>
5558
5559 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
5560 (__gcc_deregister_frame): Move logic to detect deregister function
5561 to ...
5562 (__gcc_register_frame): here, so it's consistent with the register
5563 logic.
fabf71ba 5564
d10ee722
NS
55652014-07-23 Nathan Sidwell <nathan@acm.org>
5566
5567 * libgcov-driver.c (set_gcov_list): Remove.
5568 (gcov_list): Make non-static in GCOV_TOOL.
5569 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
5570
a4137090
JDA
55712014-07-17 John David Anglin <danglin@gcc.gnu.org>
5572
5573 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
5574 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
5575 Don't use SYNC_LOCK_RELEASE for int type.
5576
72602c6c
RB
55772014-07-14 Richard Biener <rguenther@suse.de>
5578
5579 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
5580
d5313205
RX
55812014-07-11 Rong Xu <xur@google.com>
5582
5583 * libgcov-util.c (gcov_max_filename): Fix declartion.
5584
c77556a5
RX
55852014-07-10 Rong Xu <xur@google.com>
5586
5587 Add gcov-tool: an offline gcda profile processing tool
5588 Support.
5589 * libgcov-driver.c (gcov_max_filename): Make available
5590 to gcov-tool.
5591 * libgcov-merge.c (__gcov_merge_add): Replace
5592 gcov_read_counter() with a Macro.
5593 (__gcov_merge_ior): Ditto.
5594 (__gcov_merge_time_profile): Ditto.
5595 (__gcov_merge_single): Ditto.
5596 (__gcov_merge_delta): Ditto.
5597 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
5598 in the utility functions.
5599 (set_fn_ctrs): Utility function for reading gcda files to in-memory
5600 gcov_list object link lists.
5601 (tag_function): Ditto.
5602 (tag_blocks): Ditto.
5603 (tag_arcs): Ditto.
5604 (tag_lines): Ditto.
5605 (tag_counters): Ditto.
5606 (tag_summary): Ditto.
5607 (read_gcda_finalize): Ditto.
5608 (read_gcda_file): Ditto.
5609 (ftw_read_file): Ditto.
5610 (read_profile_dir_init): Ditto.
5611 (gcov_read_profile_dir): Ditto.
5612 (gcov_read_counter_mem): Ditto.
5613 (gcov_get_merge_weight): Ditto.
5614 (merge_wrapper): A wrapper function that calls merging handler.
5615 (gcov_merge): Merge two gcov_info objects with weights.
5616 (find_match_gcov_info): Find the matched gcov_info in the list.
5617 (gcov_profile_merge): Merge two gcov_info object lists.
5618 (__gcov_add_counter_op): Process edge profile counter values.
5619 (__gcov_ior_counter_op): Process IOR profile counter values.
5620 (__gcov_delta_counter_op): Process delta profile counter values.
5621 (__gcov_single_counter_op): Process single profile counter values.
5622 (fp_scale): Callback function for float-point scaling.
cc86234f 5623 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
5624 (gcov_profile_scale): Scaling profile counters.
5625 (gcov_profile_normalize): Normalize profile counters.
5626 * libgcov.h: Add headers and functions for gcov-tool use.
5627 (gcov_get_counter): New.
5628 (gcov_get_counter_target): Ditto.
5629 (struct gcov_info): Make the functions field mutable in gcov-tool
5630 compilation.
5631
5c7dac8a
KT
56322014-06-23 Kai Tietz <ktietz@redhat.com>
5633
5634 PR libgcc/61585
5635 * unwind-seh.c (_Unwind_GetGR): Check for proper
5636 index range.
5637 (_Unwind_SetGR): Likewise.
5638
161c9312
NC
56392014-05-22 Nick Clifton <nickc@redhat.com>
5640
5641 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
5642 -mhwmult=none.
5643
e3f0315f
TJ
56442014-05-22 Teresa Johnson <tejohnson@google.com>
5645
5646 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
5647 include.
5648
dbed5a9b
JM
56492014-05-20 John Marino <gnugcc@marino.st>
5650
5651 * config.host (*-*-dragonfly*): New target.
5652 * crtstuff.c: Make dl_iterate_support generic on *bsd.
5653 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
5654 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
5655 * config/i386/dragonfly-unwind.h: New.
5656
1ec380e5
MR
56572014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
5658
5659 PR libgcc/60166
5660 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
5661 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
5662
54fde020
BE
56632014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
5664
5665 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
5666 implementation.
5667
999db125
GJL
56682014-05-12 Georg-Johann Lay <avr@gjlay.de>
5669
5670 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
5671
cceaf54a
RO
56722014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5673
5674 PR libgcc/61097
5675 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
5676 if --enable-shared.
5677
e3fe9b5b
BE
56782014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
5679
5680 Work around for current cygwin32 build problems.
5681 * config/i386/cygming-crtbegin.c (__register_frame_info,
5682 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
5683 functions only for 64-bit systems.
5684
54cf37e9
RO
56852014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5686
5687 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
5688 (sigill_caught, sigill_hdlr): Remove.
5689
d9f069ab
RO
56902014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5691
5692 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
5693 check.
5694 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
5695 Solaris 9 single-threaded support.
5696 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
5697 Solaris 9 single-threaded support. Add call_user_handler code
5698 sequences.
5699 (sparc_is_sighandler): Likewise.
5700
59976ef8
AK
57012014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5702
5703 * config.host: Append t-floattodi to tmake_file depending on
5704 host_address.
5705
d02bbcf3
JS
57062014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
5707
31466bc0 5708 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 5709
c2e7e597
UB
57102014-03-10 Uros Bizjak <ubizjak@gmail.com>
5711
5712 PR libgcc/60472
5713 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 5714 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
5715 Use __builtin_expect when checking *jcr_list for NULL.
5716
227a7dc8
RO
57172014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5718
5719 PR libgcc/59339
5720 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
5721 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
5722 vtv_*.o to extra_parts if enable_vtable_verify.
5723
df2b279c
NC
57242014-03-06 Nick Clifton <nickc@redhat.com>
5725
5726 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
5727 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
5728
dc11d79b
JY
57292014-02-28 Joey Ye <joey.ye@arm.com>
5730
5731 PR libgcc/60166
5732 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
5733 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
5734 Set to zero.
5735
341c653c
WL
57362014-02-24 Walter Lee <walt@tilera.com>
5737
5738 * config.host: Support "tilegx*" and "tilepro*" triplets.
5739 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
5740 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
5741
95ce7613
CLT
57422014-02-20 Sandra Loosemore <sandra@codesourcery.com>
5743 Chung-Lin Tang <cltang@codesourcery.com>
5744
5745 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
5746 * config/nios2/crti.S: Remove .file directive.
5747 * config/nios2/crtn.S: Likewise.
5748
0bb4fc05
KT
57492014-02-18 Kai Tietz <ktietz@redhat.com>
5750 Jonathan Schleifer <js@webkeks.org>
5751
5752 PR objc/56870
5753 * unwind-seh.c (_GCC_specific_handler): Pass proper
5754 value to unwind-handler.
5755
9acf28f1
JM
57562014-02-12 Joseph Myers <joseph@codesourcery.com>
5757
5758 * soft-fp/adddf3.c: Update from glibc.
5759 * soft-fp/addsf3.c: Likewise.
5760 * soft-fp/addtf3.c: Likewise.
5761 * soft-fp/divdf3.c: Likewise.
5762 * soft-fp/divsf3.c: Likewise.
5763 * soft-fp/divtf3.c: Likewise.
5764 * soft-fp/double.h: Likewise.
5765 * soft-fp/eqdf2.c: Likewise.
5766 * soft-fp/eqsf2.c: Likewise.
5767 * soft-fp/eqtf2.c: Likewise.
5768 * soft-fp/extenddftf2.c: Likewise.
5769 * soft-fp/extended.h: Likewise.
5770 * soft-fp/extendsfdf2.c: Likewise.
5771 * soft-fp/extendsftf2.c: Likewise.
5772 * soft-fp/extendxftf2.c: Likewise.
5773 * soft-fp/fixdfdi.c: Likewise.
5774 * soft-fp/fixdfsi.c: Likewise.
5775 * soft-fp/fixdfti.c: Likewise.
5776 * soft-fp/fixsfdi.c: Likewise.
5777 * soft-fp/fixsfsi.c: Likewise.
5778 * soft-fp/fixsfti.c: Likewise.
5779 * soft-fp/fixtfdi.c: Likewise.
5780 * soft-fp/fixtfsi.c: Likewise.
5781 * soft-fp/fixtfti.c: Likewise.
5782 * soft-fp/fixunsdfdi.c: Likewise.
5783 * soft-fp/fixunsdfsi.c: Likewise.
5784 * soft-fp/fixunsdfti.c: Likewise.
5785 * soft-fp/fixunssfdi.c: Likewise.
5786 * soft-fp/fixunssfsi.c: Likewise.
5787 * soft-fp/fixunssfti.c: Likewise.
5788 * soft-fp/fixunstfdi.c: Likewise.
5789 * soft-fp/fixunstfsi.c: Likewise.
5790 * soft-fp/fixunstfti.c: Likewise.
5791 * soft-fp/floatdidf.c: Likewise.
5792 * soft-fp/floatdisf.c: Likewise.
5793 * soft-fp/floatditf.c: Likewise.
5794 * soft-fp/floatsidf.c: Likewise.
5795 * soft-fp/floatsisf.c: Likewise.
5796 * soft-fp/floatsitf.c: Likewise.
5797 * soft-fp/floattidf.c: Likewise.
5798 * soft-fp/floattisf.c: Likewise.
5799 * soft-fp/floattitf.c: Likewise.
5800 * soft-fp/floatundidf.c: Likewise.
5801 * soft-fp/floatundisf.c: Likewise.
5802 * soft-fp/floatunditf.c: Likewise.
5803 * soft-fp/floatunsidf.c: Likewise.
5804 * soft-fp/floatunsisf.c: Likewise.
5805 * soft-fp/floatunsitf.c: Likewise.
5806 * soft-fp/floatuntidf.c: Likewise.
5807 * soft-fp/floatuntisf.c: Likewise.
5808 * soft-fp/floatuntitf.c: Likewise.
5809 * soft-fp/gedf2.c: Likewise.
5810 * soft-fp/gesf2.c: Likewise.
5811 * soft-fp/getf2.c: Likewise.
5812 * soft-fp/ledf2.c: Likewise.
5813 * soft-fp/lesf2.c: Likewise.
5814 * soft-fp/letf2.c: Likewise.
5815 * soft-fp/muldf3.c: Likewise.
5816 * soft-fp/mulsf3.c: Likewise.
5817 * soft-fp/multf3.c: Likewise.
5818 * soft-fp/negdf2.c: Likewise.
5819 * soft-fp/negsf2.c: Likewise.
5820 * soft-fp/negtf2.c: Likewise.
5821 * soft-fp/op-1.h: Likewise.
5822 * soft-fp/op-2.h: Likewise.
5823 * soft-fp/op-4.h: Likewise.
5824 * soft-fp/op-8.h: Likewise.
5825 * soft-fp/op-common.h: Likewise.
5826 * soft-fp/quad.h: Likewise.
5827 * soft-fp/single.h: Likewise.
5828 * soft-fp/soft-fp.h: Likewise.
5829 * soft-fp/subdf3.c: Likewise.
5830 * soft-fp/subsf3.c: Likewise.
5831 * soft-fp/subtf3.c: Likewise.
5832 * soft-fp/truncdfsf2.c: Likewise.
5833 * soft-fp/trunctfdf2.c: Likewise.
5834 * soft-fp/trunctfsf2.c: Likewise.
5835 * soft-fp/trunctfxf2.c: Likewise.
5836 * soft-fp/unorddf2.c: Likewise.
5837 * soft-fp/unordsf2.c: Likewise.
5838 * soft-fp/unordtf2.c: Likewise.
5839 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
5840 macro.
5841 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5842 Likewise.
5843 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5844 Likewise.
5845 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5846 Likewise.
5847 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5848 Likewise.
5849 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5850 Likewise.
5851 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5852 Likewise.
5853 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5854 Likewise.
5855 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5856 Likewise.
5857 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5858 Likewise.
5859 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5860 Likewise.
5861 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5862 Likewise.
5863 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5864 Likewise.
5865 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
5866 Likewise.
5867 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
5868 Likewise.
5869 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5870 Likewise.
5871
ce245ec6
AK
58722014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5873
5874 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
5875 cannot be represented.
5876 * config/s390/32/_fixsfdi.c: Likewise.
5877 * config/s390/32/_fixtfdi.c: Likewise.
5878 * config/s390/32/_fixunsdfdi.c: Likewise.
5879 * config/s390/32/_fixunssfdi.c: Likewise.
5880 * config/s390/32/_fixunstfdi.c: Likewise.
5881
1c51d688
RS
58822014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
5883
5884 * configure.ac (libgcc_cv_mips_hard_float): New.
5885 * configure: Regenerate.
5886 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
5887 t-softfp-sfdf for hard-float targets.
5888 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
5889 (softfp_float_modes, softfp_int_modes, softfp_extensions)
5890 (softfp_truncations, softfp_exclude_libgcc2): New.
5891 * config/t-hardfp: New file.
5892 * config/t-hardfp-sfdf: Likewise.
5893 * config/hardfp.c: Likewise.
5894
bbf391db
AK
58952014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5896
5897 * config.host: Include t-floattodi also for s390x.
5898 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
5899 * config/s390/32/_fixsfdi.c: Likewise.
5900 * config/s390/32/_fixtfdi.c: Likewise.
5901 * config/s390/32/_fixunsdfdi.c: Likewise.
5902 * config/s390/32/_fixunssfdi.c: Likewise.
5903 * config/s390/32/_fixunstfdi.c: Likewise.
5904
91da0481
RO
59052014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5906
5907 PR target/59788
5908 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
5909 (install-libgcc-unwind-map-forbuild): New target.
5910 (all): Depend on install-libgcc-unwind-map-forbuild.
5911 (install-libgcc-unwind-map): New target.
5912 (install): Depend on install-libgcc-unwind-map.
5913
02b67731
SL
59142014-02-02 Sandra Loosemore <sandra@codesourcery.com>
5915
5916 * config/nios2/crti.S (_init): Initialize GOT pointer from
5917 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
5918
1ea0a651
RS
59192014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
5920
5921 * configure.ac: Check __mips64 when setting host_address.
5922 * configure: Regenerate.
5923 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
5924 mips/t-mips64 and t-softfp.
5925 (mips*-*-linux*): Don't add mips/t-tpbit.
5926 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
5927 (DPBIT, DPBIT_CFLAGS): Delete.
5928 * config/mips/sfp-machine.h: New file.
5929 * config/mips/t-mips64: Likewise.
5930 * config/mips/t-softfp-tf: Likewise.
5931 * config/mips/t-tpbit: Delete.
5932
f32b0061
MS
59332014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
5934
5935 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
5936 as long long.
5937
a5420aa4
WL
59382014-01-25 Walter Lee <walt@tilera.com>
5939
5940 * config/tilepro/atomic.c: Include tconfig.h. Don't include
5941 config.h or system.h.
5942 (bool) Define.
5943
24534912
WL
59442014-01-25 Walter Lee <walt@tilera.com>
5945
5946 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
5947 (post_atomic_barrier): Ditto.
5948 (__fetch_and_do): New macro.
5949 (__atomic_fetch_and_do): Use __fetch_and_do.
5950 (__sync_fetch_and_do): New macro.
5951 (__sync_fetch_and_add_4): New function.
5952 (__sync_fetch_and_sub_4): New function.
5953 (__sync_fetch_and_or_4): New function.
5954 (__sync_fetch_and_and_4): New function.
5955 (__sync_fetch_and_xor_4): New function.
5956 (__sync_fetch_and_nand_4): New function.
5957 (__sync_fetch_and_add_8): New function.
5958 (__sync_fetch_and_sub_8): New function.
5959 (__sync_fetch_and_or_8): New function.
5960 (__sync_fetch_and_and_8): New function.
5961 (__sync_fetch_and_xor_8): New function.
5962 (__sync_fetch_and_nand_8): New function.
5963 (__do_and_fetch): New macro.
5964 (__atomic_do_and_fetch): Use __do_and_fetch.
5965 (__sync_do_and_fetch): New macro.
5966 (__sync_add_and_fetch_4): New function.
5967 (__sync_sub_and_fetch_4): New function.
5968 (__sync_or_and_fetch_4): New function.
5969 (__sync_and_and_fetch_4): New function.
5970 (__sync_xor_and_fetch_4): New function.
5971 (__sync_nand_and_fetch_4): New function.
5972 (__sync_add_and_fetch_8): New function.
5973 (__sync_sub_and_fetch_8): New function.
5974 (__sync_or_and_fetch_8): New function.
5975 (__sync_and_and_fetch_8): New function.
5976 (__sync_xor_and_fetch_8): New function.
5977 (__sync_nand_and_fetch_8): New function.
5978 (__sync_exchange_methods): New macro.
5979 (__sync_val_compare_and_swap_4): New function.
5980 (__sync_bool_compare_and_swap_4): New function.
5981 (__sync_lock_test_and_test_4): New function.
5982 (__sync_val_compare_and_swap_8): New function.
5983 (__sync_bool_compare_and_swap_8): New function.
5984 (__sync_lock_test_and_test_8): New function.
5985 (__subword_cmpxchg_body): New macro.
5986 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
5987 (__atomic_compare_exchange_2): Ditto.
5988 (__sync_subword_cmpxchg): New macro.
5989 (__sync_val_compare_and_swap_1): New function.
5990 (__sync_bool_compare_and_swap_1): New function.
5991 (__sync_val_compare_and_swap_2): New function.
5992 (__sync_bool_compare_and_swap_2): New function.
5993 (__atomic_subword): Rename to ...
5994 (__subword): ... New name.
5995 (__atomic_subword_fetch): Use __subword.
5996 (__sync_subword_fetch): New macro.
5997 (__sync_fetch_and_add_1): New function.
5998 (__sync_fetch_and_sub_1): New function.
5999 (__sync_fetch_and_or_1): New function.
6000 (__sync_fetch_and_and_1): New function.
6001 (__sync_fetch_and_xor_1): New function.
6002 (__sync_fetch_and_nand_1): New function.
6003 (__sync_fetch_and_add_2): New function.
6004 (__sync_fetch_and_sub_2): New function.
6005 (__sync_fetch_and_or_2): New function.
6006 (__sync_fetch_and_and_2): New function.
6007 (__sync_fetch_and_xor_2): New function.
6008 (__sync_fetch_and_nand_2): New function.
6009 (__sync_add_and_fetch_1): New function.
6010 (__sync_sub_and_fetch_1): New function.
6011 (__sync_or_and_fetch_1): New function.
6012 (__sync_and_and_fetch_1): New function.
6013 (__sync_xor_and_fetch_1): New function.
6014 (__sync_nand_and_fetch_1): New function.
6015 (__sync_add_and_fetch_2): New function.
6016 (__sync_sub_and_fetch_2): New function.
6017 (__sync_or_and_fetch_2): New function.
6018 (__sync_and_and_fetch_2): New function.
6019 (__sync_xor_and_fetch_2): New function.
6020 (__sync_nand_and_fetch_2): New function.
6021 (__atomic_subword_lock): Use __subword.
6022 (__sync_subword_lock): New macro.
6023 (__sync_lock_test_and_set_1): New function.
6024 (__sync_lock_test_and_set_2): New function.
6025
4d6d3bc5
WL
60262014-01-25 Walter Lee <walt@tilera.com>
6027
6028 * config/tilepro/atomic.c (BIT_OFFSET): Define.
6029 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
6030 (__atomic_subword): Ditto.
6031
cbd9890e
WL
60322014-01-25 Walter Lee <walt@tilera.com>
6033
6034 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
6035 a prefix op argument.
6036 (__atomic_nand_fetch_4): Add prefix op.
6037 (__atomic_nand_fetch_8): Ditto.
6038
7d296953 60392014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
6040
6041 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
6042
46dd1242
L
60432014-01-09 Rong Xu <xur@google.com>
6044
6045 * libgcov-driver.c (this_prg): make it local to save
6046 bss space.
6047 (gcov_exit_compute_summary): Ditto.
6048 (gcov_exit_merge_gcda): Ditto.
6049 (gcov_exit_merge_summary): Ditto.
6050 (gcov_exit_dump_gcov): Ditto.
6051
cc86234f 60522014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
6053
6054 * libgcov-driver.c: Use libgcov.h.
6055 (buffer_fn_data): Use xmalloc instead of malloc.
6056 (gcov_exit_merge_gcda): Ditto.
6057 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
6058 * libgcov.h: New common header files for libgcov-*.h.
6059 * libgcov-interface.c: Use libgcov.h
6060 * libgcov-merge.c: Ditto.
6061 * libgcov-profiler.c: Ditto.
6062 * Makefile.in: Add dependence to libgcov.h
6063
a02e7bdd
JM
60642014-01-02 Joseph Myers <joseph@codesourcery.com>
6065
6066 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
6067 case of small numerator and finite nonzero result.
6068
ac1dca3c
RS
60692014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6070
6071 Update copyright years
6072
f9030485
RS
60732014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
6074
6075 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
6076 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
6077 config/arc/dp-hack.h, config/arc/fp-hack.h,
6078 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
6079 config/arc/ieee-754/arc600-dsp/divdf3.S,
6080 config/arc/ieee-754/arc600-dsp/divsf3.S,
6081 config/arc/ieee-754/arc600-dsp/muldf3.S,
6082 config/arc/ieee-754/arc600-dsp/mulsf3.S,
6083 config/arc/ieee-754/arc600-mul64/divdf3.S,
6084 config/arc/ieee-754/arc600-mul64/divsf3.S,
6085 config/arc/ieee-754/arc600-mul64/muldf3.S,
6086 config/arc/ieee-754/arc600-mul64/mulsf3.S,
6087 config/arc/ieee-754/arc600/divsf3.S,
6088 config/arc/ieee-754/arc600/mulsf3.S,
6089 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
6090 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
6091 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
6092 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
6093 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
6094 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
6095 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
6096 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
6097 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
6098 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
6099 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
6100 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
6101 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
6102 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
6103 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
6104 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
6105 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
6106 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
6107 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
6108 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
6109 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
6110 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
6111 vtv_start_preinit.c: Use the standard form for the copyright notice.
6112
e430824f
CLT
61132013-12-31 Sandra Loosemore <sandra@codesourcery.com>
6114 Chung-Lin Tang <cltang@codesourcery.com>
6115 Based on patches from Altera Corporation
6116
6117 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
6118 * config/nios2/lib2-nios2.h: New file.
6119 * config/nios2/lib2-divmod-hi.c: New file.
6120 * config/nios2/linux-unwind.h: New file.
6121 * config/nios2/lib2-divmod.c: New file.
6122 * config/nios2/linux-atomic.c: New file.
6123 * config/nios2/t-nios2: New file.
6124 * config/nios2/crti.asm: New file.
6125 * config/nios2/t-linux: New file.
6126 * config/nios2/lib2-divtable.c: New file.
6127 * config/nios2/lib2-mul.c: New file.
6128 * config/nios2/tramp.c: New file.
6129 * config/nios2/crtn.asm: New file.
6130
1879e97f
UB
61312013-12-26 Uros Bizjak <ubizjak@gmail.com>
6132
6133 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
6134 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
6135 from cpuid.h to check vendor signatures.
6136
f4a4bdbb
GG
61372013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
6138
c2e7e597 6139 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
6140 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
6141 (get_amd_cpu): Likewise.
6142
8d2ae544
L
61432013-12-25 H.J. Lu <hongjiu.lu@intel.com>
6144
6145 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
6146 Haswell.
6147
74924838
ASJ
61482013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6149 H.J. Lu <hongjiu.lu@intel.com>
6150
0bb52f25
L
6151 PR target/59422
6152 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
6153 and AMD_JAGUAR.
6154 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
6155 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
6156 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
6157 FEATURE_XOP and FEATURE_FMA.
6158 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
6159 AMDFAM15H_BDVER3.
6160 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 6161 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
6162 FEATURE_FMA4 and FEATURE_XOP.
6163
d3c11974
L
61642013-12-23 H.J. Lu <hongjiu.lu@intel.com>
6165
6166 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
6167 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
6168 (get_intel_cpu): Updated.
6169
064c4ff2
ZC
61702013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
6171
6172 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
6173
8b02e720
UB
61742013-12-09 Uros Bizjak <ubizjak@gmail.com>
6175
6176 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 6177 instructions when __SSE_MATH__ is defined.
8b02e720 6178
3fa2ccb4
RC
61792013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
6180
6181 * config.host (microblaze-*-rtems*): New.
6182
ecd78fc9
KV
61832013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
6184
6185 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
6186 architectures that do not have hardware divide instruction.
6187 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
6188
b21fbbd2
RS
61892013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
6190
6191 * longlong.h: Delete (moved to include/).
6192
b03fb8c9
AZ
61932013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194
6195 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
6196 of normal number and qNaN to not raise an inexact exception.
6197
3c716922
UB
61982013-11-28 Uros Bizjak <ubizjak@gmail.com>
6199
6200 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
6201
62022013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
6203
6204 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
6205 for correct opcodes on BE.
6206
a3458d22
UB
62072013-11-27 Uros Bizjak <ubizjak@gmail.com>
6208
6209 * soft-fp/op-4.h: Update from glibc.
6210
30b8f78b
KV
62112013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
6212
6213 * libgcc2.c (__udivmoddi4): Define new implementation when
6214 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
6215 divide instructions.
6216
82552a29
OE
62172013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
6218
6219 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
6220
80e87457
RO
62212013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6222
6223 * config/t-softfp (soft-fp-objects-base): New variable.
6224 (soft-fp-objects): Use it.
6225
44178879
DE
62262013-11-23 David Edelson <dje.gcc@gmail.com>
6227 Andrew Dixie <andrewd@gentrack.com>
6228
6229 PR target/33704
6230 * config/rs6000/aixinitfini.c: New file.
6231 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
6232 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
6233 symbols.
6234
e5287671
YR
62352013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
6236
a3458d22 6237 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 6238
867c8b03
JH
62392013-11-18 Jan Hubicka <jh@suse.cz>
6240
7f369373
JH
6241 * libgcov-driver.c (run_accounted): Make global level static.
6242 (gcov_exit_merge_summary): Silence warning; do not clear
6243 run_accounted here.
6244 (gcov_exit): Clear it here.
6245
1d0b3334
JH
6246 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
6247 run_accounted.
6248
867c8b03
JH
6249 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
6250 (all_prg, crc32): Remove static vars.
6251 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
6252 all_prg.
6253 (gcov_exit_merge_gcda): Add crc32 parameter.
6254 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
6255 do not account run if it was already accounted.
6256 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
6257 (gcov_exit): Initialize all_prg; update.
6258
66204992
AS
62592013-11-15 Andreas Schwab <schwab@linux-m68k.org>
6260
6261 * configure: Regenerate.
6262
b54214fe
UW
62632013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6264 Alan Modra <amodra@gmail.com>
6265
6266 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
6267 (frob_update_context): Use it.
6268
62692013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6270 Alan Modra <amodra@gmail.com>
6271
6272 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
6273 (trampoline_initial): Provide ELFv2 variant.
6274 (__trampoline_setup): Likewise.
6275
6276 * config/rs6000/linux-unwind.h (frob_update_context): Do not
6277 check for AIX indirect function call sequence if _CALL_ELF == 2.
6278
62792013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6280 Alan Modra <amodra@gmail.com>
6281
6282 * config/rs6000/linux-unwind.h (get_regs): Do not support
6283 old kernel versions if _CALL_ELF == 2.
6284 (frob_update_context): Do not support PLT stub variants only
6285 generated by old linkers if _CALL_ELF == 2.
6286
13e0981a
UW
62872013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6288 Alan Modra <amodra@gmail.com>
6289
6290 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
6291 location of CR save area for 64-bit little-endian systems.
6292
1a80085d
EB
62932013-11-11 Eric Botcazou <ebotcazou@adacore.com>
6294
6295 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
6296 in tmake_file.
6297 * config/arm/t-vxworks: Delete.
6298
cabeea52
KT
62992013-11-10 Kai Tietz <ktietz@redhat.com>
6300
6301 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
6302 Increment load-count on use of LIBGCC_SONAME DLL.
6303 (hmod_libgcc): New static variable to hold handle of
6304 LIBGCC_SONAME DLL.
6305 (__gcc_deregister_frame): Decrement load-count of
6306 LIBGCC_SONAME DLL.
6307
ac088ba1
BRF
63082013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
6309
6310 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
6311 availability.
6312 * configure: Regenerate
6313
d59a8fcc
UB
63142013-11-07 Uros Bizjak <ubizjak@gmail.com>
6315
6316 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
6317 FP_EX_DENORM. Store result to volatile location after SSE division
6318 to close interrupt window. Remove unneeded fwait after x87
6319 division since interrupt window will be closed by emitted fstp.
9de84e84 6320 Rewrite FP_EX_INEXACT handling.
d59a8fcc 6321
9954c743
JM
63222013-11-06 Joseph Myers <joseph@codesourcery.com>
6323
6324 * soft-fp/README: Update.
6325 * soft-fp/adddf3.c: Update from glibc.
6326 * soft-fp/addsf3.c: Likewise.
6327 * soft-fp/addtf3.c: Likewise.
6328 * soft-fp/divdf3.c: Likewise.
6329 * soft-fp/divsf3.c: Likewise.
6330 * soft-fp/divtf3.c: Likewise.
6331 * soft-fp/double.h: Likewise.
6332 * soft-fp/eqdf2.c: Likewise.
6333 * soft-fp/eqsf2.c: Likewise.
6334 * soft-fp/eqtf2.c: Likewise.
6335 * soft-fp/extenddftf2.c: Likewise.
6336 * soft-fp/extended.h: Likewise.
6337 * soft-fp/extendsfdf2.c: Likewise.
6338 * soft-fp/extendsftf2.c: Likewise.
6339 * soft-fp/extendxftf2.c: Likewise.
6340 * soft-fp/fixdfdi.c: Likewise.
6341 * soft-fp/fixdfsi.c: Likewise.
6342 * soft-fp/fixdfti.c: Likewise.
6343 * soft-fp/fixsfdi.c: Likewise.
6344 * soft-fp/fixsfsi.c: Likewise.
6345 * soft-fp/fixsfti.c: Likewise.
6346 * soft-fp/fixtfdi.c: Likewise.
6347 * soft-fp/fixtfsi.c: Likewise.
6348 * soft-fp/fixtfti.c: Likewise.
6349 * soft-fp/fixunsdfdi.c: Likewise.
6350 * soft-fp/fixunsdfsi.c: Likewise.
6351 * soft-fp/fixunsdfti.c: Likewise.
6352 * soft-fp/fixunssfdi.c: Likewise.
6353 * soft-fp/fixunssfsi.c: Likewise.
6354 * soft-fp/fixunssfti.c: Likewise.
6355 * soft-fp/fixunstfdi.c: Likewise.
6356 * soft-fp/fixunstfsi.c: Likewise.
6357 * soft-fp/fixunstfti.c: Likewise.
6358 * soft-fp/floatdidf.c: Likewise.
6359 * soft-fp/floatdisf.c: Likewise.
6360 * soft-fp/floatditf.c: Likewise.
6361 * soft-fp/floatsidf.c: Likewise.
6362 * soft-fp/floatsisf.c: Likewise.
6363 * soft-fp/floatsitf.c: Likewise.
6364 * soft-fp/floattidf.c: Likewise.
6365 * soft-fp/floattisf.c: Likewise.
6366 * soft-fp/floattitf.c: Likewise.
6367 * soft-fp/floatundidf.c: Likewise.
6368 * soft-fp/floatundisf.c: Likewise.
6369 * soft-fp/floatunditf.c: Likewise.
6370 * soft-fp/floatunsidf.c: Likewise.
6371 * soft-fp/floatunsisf.c: Likewise.
6372 * soft-fp/floatunsitf.c: Likewise.
6373 * soft-fp/floatuntidf.c: Likewise.
6374 * soft-fp/floatuntisf.c: Likewise.
6375 * soft-fp/floatuntitf.c: Likewise.
6376 * soft-fp/gedf2.c: Likewise.
6377 * soft-fp/gesf2.c: Likewise.
6378 * soft-fp/getf2.c: Likewise.
6379 * soft-fp/ledf2.c: Likewise.
6380 * soft-fp/lesf2.c: Likewise.
6381 * soft-fp/letf2.c: Likewise.
6382 * soft-fp/muldf3.c: Likewise.
6383 * soft-fp/mulsf3.c: Likewise.
6384 * soft-fp/multf3.c: Likewise.
6385 * soft-fp/negdf2.c: Likewise.
6386 * soft-fp/negsf2.c: Likewise.
6387 * soft-fp/negtf2.c: Likewise.
6388 * soft-fp/op-1.h: Likewise.
6389 * soft-fp/op-2.h: Likewise.
6390 * soft-fp/op-4.h: Likewise.
6391 * soft-fp/op-8.h: Likewise.
6392 * soft-fp/op-common.h: Likewise.
6393 * soft-fp/quad.h: Likewise.
6394 * soft-fp/single.h: Likewise.
6395 * soft-fp/soft-fp.h: Likewise.
6396 * soft-fp/subdf3.c: Likewise.
6397 * soft-fp/subsf3.c: Likewise.
6398 * soft-fp/subtf3.c: Likewise.
6399 * soft-fp/truncdfsf2.c: Likewise.
6400 * soft-fp/trunctfdf2.c: Likewise.
6401 * soft-fp/trunctfsf2.c: Likewise.
6402 * soft-fp/trunctfxf2.c: Likewise.
6403 * soft-fp/unorddf2.c: Likewise.
6404 * soft-fp/unordsf2.c: Likewise.
6405 * soft-fp/unordtf2.c: Likewise.
6406
02ac9503
UB
64072013-11-05 Uros Bizjak <ubizjak@gmail.com>
6408
6409 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
6410 (_FP_MUL_MEAT_D): Ditto.
6411 (_FP_DIV_MEAT_S): Ditto.
6412 (_FP_DIV_MEAT_D): Ditto.
6413 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
6414 t-softfp-sfdf and t-softfp to tmake_file.
6415
61221141
UB
64162013-11-03 Uros Bizjak <ubizjak@gmail.com>
6417
6418 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
6419 * config/i386/crtprec.c: Ditto.
6420
9304f876
CJW
64212013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
6422 Shiva Chen <shiva0217@gmail.com>
6423
6424 * config.host (nds32*-elf*): Add nds32 target.
6425 * config/nds32 : New directory and files.
6426
0e499e75
HPN
64272013-10-16 Hans-Peter Nilsson <hp@axis.com>
6428
6429 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
6430 * config.host (cpu_type) <Setting default>: Add entry for
6431 crisv32-*-*.
6432 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
6433 <crisv32-*-linux*>: Adjust.
6434 * longlong.h: Wrap the whole CRIS section in a single
6435 defined(__CRIS__) conditional. Add comment about add_ssaaaa
6436 and sub_ddmmss.
6437 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
6438 defined.
6439 [__CRIS__] (__umulsidi3): Define.
6440 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
6441 * config/cris/sfp-machine.h: New file.
6442 * config/cris/umulsidi3.S: New file.
6443 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
6444 * config/cris/arit.c (SIGNMULT): New macro.
6445 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
6446 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
6447 saving 3 out of originally 33 cycles from the fastest
6448 path, 3 out of 54 from the medium path and one from the longest
6449 path. Improve comments.
6450
16022041
RS
64512013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
6452
6453 * sync.c: Remove static aliases and define each function directly
6454 under its real name.
6455
69778659
JDA
64562013-10-02 John David Anglin <danglin@gcc.gnu.org>
6457
6458 * config.host (hppa*64*-*-linux*): Define extra_parts.
6459 (hppa*-*-linux*): Likewise.
6460
2deaf8b0
JR
64612013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
6462
6463 * config/arc/crtgend.S: Add 2013 to Copyright years.
6464 * config/arc/gmon/atomic.h: Likewise.
6465 * config/arc/gmon/auxreg.h: Likewise.
6466 * config/arc/gmon/sys/gmon_out.h: Likewise.
6467 * config/arc/gmon/sys/gmon.h: Likewise.
6468 * config/arc/gmon/prof-freq.c: Likewise.
6469 * config/arc/gmon/mcount.c: Likewise.
6470 * config/arc/gmon/prof-freq-stub.S: Likewise.
6471 * config/arc/gmon/gmon.c: Likewise.
6472 * config/arc/gmon/machine-gmon.h: Likewise.
6473 * config/arc/gmon/profil.S: Likewise.
6474 * config/arc/gmon/dcache_linesz.S: Likewise.
6475 * config/arc/crtg.S: Likewise.
6476 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
6477 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
6478 * config/arc/ieee-754/adddf3.S: Likewise.
6479 * config/arc/ieee-754/truncdfsf2.S: Likewise.
6480 * config/arc/ieee-754/fixsfsi.S: Likewise.
6481 * config/arc/ieee-754/gtsf2.S: Likewise.
6482 * config/arc/ieee-754/floatsisf.S: Likewise.
6483 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
6484 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
6485 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
6486 * config/arc/ieee-754/fixdfsi.S: Likewise.
6487 * config/arc/ieee-754/addsf3.S: Likewise.
6488 * config/arc/ieee-754/gesf2.S: Likewise.
6489 * config/arc/ieee-754/floatsidf.S: Likewise.
6490 * config/arc/ieee-754/extendsfdf2.S: Likewise.
6491 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
6492 * config/arc/ieee-754/gtdf2.S: Likewise.
6493 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
6494 * config/arc/ieee-754/uneqdf2.S: Likewise.
6495 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6496 * config/arc/ieee-754/uneqsf2.S: Likewise.
6497 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
6498 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
6499 * config/arc/ieee-754/eqdf2.S: Likewise.
6500 * config/arc/ieee-754/ordsf2.S: Likewise.
6501 * config/arc/ieee-754/divsf3.S: Likewise.
6502 * config/arc/ieee-754/divdf3.S: Likewise.
6503 * config/arc/ieee-754/floatunsidf.S: Likewise.
6504 * config/arc/ieee-754/orddf2.S: Likewise.
6505 * config/arc/ieee-754/eqsf2.S: Likewise.
6506 * config/arc/ieee-754/gedf2.S: Likewise.
6507 * config/arc/crtn.S: Likewise.
6508 * config/arc/crti.S: Likewise.
6509 * config/arc/t-arc700-uClibc: Likewise.
6510 * config/arc/asm.h: Likewise.
6511 * config/arc/libgcc-excl.ver: Likewise.
6512 * config/arc/t-arc-newlib: Likewise.
6513 * config/arc/divtab-arc700.c: Likewise.
6514 * config/arc/initfini.c: Likewise.
6515 * config/arc/fp-hack.h: Likewise.
6516
c8e318b0
JR
65172013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6518 Diego Novillo <dnovillo@google.com>
6519
6520 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
6521 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
6522 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
6523 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 6524
d38a64b4
JR
65252013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
6526 Brendan Kehoe <brendan@zen.org>
6527 Simon Cook <simon.cook@embecosm.com>
6528
6529 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
6530 * config/arc: New directory.
6531 * longlong.h [__arc__] (umul_ppmm): Remove.
6532 [__arc__] (__umulsidi3): Define.
6533 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
6534 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
6535
dff717d2
JC
65362013-09-17 Jacek Caban <jacek@codeweavers.com>
6537
6538 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
6539 CreateSemaphoreA.
6540 * config/i386/gthr-win32.h: Likewise.
6541
5c0029de
DD
65422013-09-16 DJ Delorie <dj@redhat.com>
6543
844ad6c6 6544 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
6545 * config/rl78/lib2mul.c: Enable for RL78/G10.
6546 * config/rl78/lib2div.c: Likewise.
6547 * config/rl78/lshrsi3.S: Use vregs.h.
6548 * config/rl78/cmpsi2.S: Likewise.
6549 * config/rl78/trampoline.S: Likewise.
6550 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
6551
ceb2fc49
DD
65522013-09-14 DJ Delorie <dj@redhat.com>
6553 Nick Clifton <nickc@redhat.com>
6554
6555 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
6556 * config/rl78/vregs.h: New.
6557 * config/rl78/signbit.S: New file. Implements signbit function.
6558 * config/rl78/divmodsi.S: New.
6559 * config/rl78/divmodhi.S: New.
6560 * config/rl78/divmodqi.S: New.
6561 * config/rl78/t-rl78: Build them here...
6562 * config/rl78/lib2div.c: ...but not here.
6563
f6a83b4a
DD
65642013-09-12 DJ Delorie <dj@redhat.com>
6565
6566 * config.host (msp*-*-elf): New.
6567 * config/msp430/: New port.
6568
9107b096
IS
65692013-08-18 Iain Sandoe <iain@codesourcery.com>
6570
6571 PR gcov-profile/58127
6572 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
6573 __thread var for emulated TLS.
6574 (__gcov_indirect_call_counters): Likewise.
6575
0f9bde1f 65762013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 6577 Catherine Moore <clm@codesourcery.com>
7d296953 6578 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
6579
6580 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
6581 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
6582 (CALL_STUB_NO_RET): Likewise.
6583 (CALL_STUB_RET): Likewise.
6584 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
6585 __mips16_ret call/return stub symbols.
6586 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
6587 to tmake_file.
6588
2dc14aac
MR
65892013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
6590
6591 * config.host <mips*-*-linux*>: Remove a stray comment.
6592
748d71f3
JH
65932013-08-10 Jan Hubicka <jh@suse.cz>
6594
6595 Work around binutils PR14342
6596 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
6597 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
6598 (L_gcov_indirect_call_profiler_v2): New.
6599
2fa3d31b
JH
66002013-08-06 Jan Hubicka <jh@suse.cz>
6601
6602 * libgcov.c (__gcov_indirect_call_callee,
6603 __gcov_indirect_call_counters): New global vars.
6604 (__gcov_indirect_call_profiler): replace by ...
6605 (__gcov_indirect_call_profiler_v2) ... this one.
6606
2077db1b
CT
66072013-08-06 Caroline Tice <cmtice@google.com>
6608
d0595b65 6609 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 6610 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
6611 * configure.ac: Add code to check/set enable_vtable_verify.
6612 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 6613 true.
d0595b65
CT
6614 * vtv_start_preinit.c: New file.
6615 * vtv_end_preinit.c: New file.
6616 * vtv_start.c: New file.
6617 * vtv_end.c: New file.
6618 * configure: Regenerated.
2077db1b 6619
46549c20
MK
66202013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
6621
6622 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
6623 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
6624 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
6625 GPL-3.0-with-GCC-exception.
6626
72be589b
MR
66272013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
6628
6629 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
6630 ISA and up.
6631
902a3faf
AK
66322013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6633
6634 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
6635 mapping for FPRs when creating the fallback framestate.
6636
02371798
GJL
66372013-07-19 Georg-Johann Lay <avr@gjlay.de>
6638
6639 PR target/57516
6640 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
6641 (__round_s2_const, __round_u2_const)
6642 (__round_s4_const, __round_u4_const, __round_x8):
6643 Saturate result if addition result cannot be represented.
6644
ab0e8379
MK
66452013-07-15 Matthias Klose <doko@ubuntu.com>
6646
6647 * libgcc2.c: Don't include <limits.h>.
6648
7da38058
JJ
66492013-07-09 Janis Johnson <janisjo@codesourcery.com>
6650
6651 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
6652
1f6eac90
JJ
66532013-07-06 Jakub Jelinek <jakub@redhat.com>
6654
6655 PR target/29776
6656 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
6657
4ea3d774
JJ
66582013-06-28 Jakub Jelinek <jakub@redhat.com>
6659
6660 PR middle-end/36041
6661 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
6662 Define.
6663 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
6664 instead of table lookups.
6665 (__popcountDI2): Likewise.
6666
9d2cdf25
CJW
66672013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
6668
6669 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
6670 correctly.
6671
fa1e55b0
JM
66722013-06-21 Joseph Myers <joseph@codesourcery.com>
6673
6674 PR other/53317
6675 * soft-fp/adddf3.c: Update from glibc.
6676 * soft-fp/addsf3.c: Likewise.
6677 * soft-fp/addtf3.c: Likewise.
6678 * soft-fp/divdf3.c: Likewise.
6679 * soft-fp/divsf3.c: Likewise.
6680 * soft-fp/divtf3.c: Likewise.
6681 * soft-fp/double.h: Likewise.
6682 * soft-fp/eqdf2.c: Likewise.
6683 * soft-fp/eqsf2.c: Likewise.
6684 * soft-fp/eqtf2.c: Likewise.
6685 * soft-fp/extenddftf2.c: Likewise.
6686 * soft-fp/extended.h: Likewise.
6687 * soft-fp/extendsfdf2.c: Likewise.
6688 * soft-fp/extendsftf2.c: Likewise.
6689 * soft-fp/fixdfdi.c: Likewise.
6690 * soft-fp/fixdfsi.c: Likewise.
6691 * soft-fp/fixsfdi.c: Likewise.
6692 * soft-fp/fixsfsi.c: Likewise.
6693 * soft-fp/fixtfdi.c: Likewise.
6694 * soft-fp/fixtfsi.c: Likewise.
6695 * soft-fp/fixunsdfdi.c: Likewise.
6696 * soft-fp/fixunsdfsi.c: Likewise.
6697 * soft-fp/fixunssfdi.c: Likewise.
6698 * soft-fp/fixunssfsi.c: Likewise.
6699 * soft-fp/fixunstfdi.c: Likewise.
6700 * soft-fp/fixunstfsi.c: Likewise.
6701 * soft-fp/floatdidf.c: Likewise.
6702 * soft-fp/floatdisf.c: Likewise.
6703 * soft-fp/floatditf.c: Likewise.
6704 * soft-fp/floatsidf.c: Likewise.
6705 * soft-fp/floatsisf.c: Likewise.
6706 * soft-fp/floatsitf.c: Likewise.
6707 * soft-fp/floatundidf.c: Likewise.
6708 * soft-fp/floatundisf.c: Likewise.
6709 * soft-fp/floatunditf.c: Likewise.
6710 * soft-fp/floatunsidf.c: Likewise.
6711 * soft-fp/floatunsisf.c: Likewise.
6712 * soft-fp/floatunsitf.c: Likewise.
6713 * soft-fp/gedf2.c: Likewise.
6714 * soft-fp/gesf2.c: Likewise.
6715 * soft-fp/getf2.c: Likewise.
6716 * soft-fp/ledf2.c: Likewise.
6717 * soft-fp/lesf2.c: Likewise.
6718 * soft-fp/letf2.c: Likewise.
6719 * soft-fp/muldf3.c: Likewise.
6720 * soft-fp/mulsf3.c: Likewise.
6721 * soft-fp/multf3.c: Likewise.
6722 * soft-fp/negdf2.c: Likewise.
6723 * soft-fp/negsf2.c: Likewise.
6724 * soft-fp/negtf2.c: Likewise.
6725 * soft-fp/op-1.h: Likewise.
6726 * soft-fp/op-2.h: Likewise.
6727 * soft-fp/op-4.h: Likewise.
6728 * soft-fp/op-8.h: Likewise.
6729 * soft-fp/op-common.h: Likewise.
6730 * soft-fp/quad.h: Likewise.
6731 * soft-fp/single.h: Likewise.
6732 * soft-fp/soft-fp.h: Likewise.
6733 * soft-fp/subdf3.c: Likewise.
6734 * soft-fp/subsf3.c: Likewise.
6735 * soft-fp/subtf3.c: Likewise.
6736 * soft-fp/truncdfsf2.c: Likewise.
6737 * soft-fp/trunctfdf2.c: Likewise.
6738 * soft-fp/trunctfsf2.c: Likewise.
6739 * soft-fp/unorddf2.c: Likewise.
6740 * soft-fp/unordsf2.c: Likewise.
6741 * soft-fp/unordtf2.c: Likewise.
6742 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
6743 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6744 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6745 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6746 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6747 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6748 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6749 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6750 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6751 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
6752 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
6753 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
6754
0de86a92
JU
67552013-06-16 Jürgen Urban <JuergenUrban@gmx.de>
6756
6757 * config/mips/lib2funcs.c: New file.
6758 * config/mips/t-mips (LIB2ADD_ST): Add it.
6759
0d008882
OE
67602013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
6761
6762 PR target/6526
6763 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
6764 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
6765
776434d1
WL
67662013-06-08 Walter Lee <walt@tilera.com>
6767
6768 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
6769 Replace int64_t with long long. Add __extension__ where
6770 appropriate.
6771 * config/tilepro/atomic.c: Include config.h.
6772
6ab3ebb4
DR
67732013-06-06 Douglas B Rupp <rupp@adacore.com>
6774
6775 * config.host (arm-wrs-vxworks): Configure with other soft float.
6776
107eea2c
JU
67772013-06-04 Jürgen Urban <JuergenUrban@gmx.de>
6778
6779 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
6780 (mips64r5900el-*-elf*): New configurations.
6781
5cc19c62
AM
67822013-06-04 Alan Modra <amodra@gmail.com>
6783
6784 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
6785
0f1d3965
YR
67862013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
6787
6788 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
6789
0ba045df
EB
67902013-05-28 Eric Botcazou <ebotcazou@adacore.com>
6791
6792 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
6793 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
6794 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
6795
49dcafd4
EB
67962013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6797
6798 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
6799 (powerpc-wrs-vxworks): Likewise.
6800
4fcb5d87
EB
68012013-05-22 Eric Botcazou <ebotcazou@adacore.com>
6802
6803 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
6804 signal frames as well.
6805 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
6806 STACK_BIAS to the CFA offset.
6807
0ec33224
RH
68082013-05-17 Richard Henderson <rth@redhat.com>
6809
6810 PR target/49146
6811 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
6812 (execute_cfa_program): Use it when storing to fs->regs.
6813
492a8029
KT
68142013-05-08 Kai Tietz <ktietz@redhat.com>
6815
6816 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
6817 (__deregister_frame_info): Likewise.
6818
701e2f0a
TS
68192013-05-06 Thomas Schwinge <thomas@codesourcery.com>
6820
e5123d08
TS
6821 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
6822 NaN's payload.
6823
701e2f0a
TS
6824 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
6825
b9a7eb5d
AM
68262013-04-25 Alan Modra <amodra@gmail.com>
6827
6828 * config.host: Match little-endian powerpc-linux.
6829
dfe192f5
YZ
68302013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
6831
6832 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
6833 as 'unsigned long long' instead of 'unsigned long'.
6834 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
6835 'signed long'.
6836
b6b9af2f
JB
68372013-04-10 Julian Brown <julian@codesourcery.com>
6838
6839 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
6840 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
6841 unsigned char/unsigned short.
6842 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
6843
ecabdd00
JDA
68442013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
6845
6846 PR other/55274
6847 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
6848
34652576
MI
68492013-04-04 Meador Inge <meadori@codesourcery.com>
6850
6851 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
6852 computing the location of the link register.
6853 (aeabi_uldivmod): Ditto.
6854
e9fd8c19
KT
68552013-03-27 Kai Tietz <ktietz@redhat.com>
6856
6857 * config.host: Add support for cygwin x64 target.
6858 * configure: Regenerated.
6859
a6406324
WL
68602013-03-26 Walter Lee <walt@tilera.com>
6861
6862 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
6863 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
6864
55446c7e
KT
68652013-03-25 Kai Tietz <ktietz@redhat.com>
6866
6867 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
6868
d2ae19d9
RM
68692013-03-20 Robert Mason <rbmj@verizon.net>
6870
6871 * config/vxlib-tls.c (__gthread_get_tsd_data,)
6872 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
6873 (__gthread_leave_tsd_dtor_context): Add prototypes.
6874 (tls_delete_hook): Update.
6875
22c4c869
CM
68762013-03-20 Catherine Moore <clm@codesourcery.com>
6877 Joseph Myers <joseph@codesourcery.com>
6878 Chao-ying Fu <fu@mips.com>
6879
6880 * config/mips/mips16.S: Don't build for microMIPS.
6881 * config/mips/linux-unwind.h: Handle microMIPS frame.
6882 * config/mips/crtn.S (fini, init): New labels.
6883
fbd28bc3
JJ
68842013-03-14 Jakub Jelinek <jakub@redhat.com>
6885
6886 PR tree-optimization/53265
6887 * unwind-dw2.c (execute_cfa_program): Avoid
6888 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
6889 on targets with DWARF_FRAME_REGISTERS < 32.
6890
decc676e
OE
68912013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
6892
6893 PR target/49880
6894 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
6895 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
6896
84ea618a
ST
68972013-03-07 Sriraman Tallam <tmsriram@google.com>
6898
6899 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
6900 sandybridge processors.
6901
8f6d1c86
OE
69022013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
6903
6904 PR target/56529
6905 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
6906 inclusion list.
6907
ecdbd01a 69082013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
6909
6910 * config/microblaze/crti.S: Setup stack protection at entry
6911
0b4ce21b
GJL
69122013-03-04 Georg-Johann Lay <avr@gjlay.de>
6913
6914 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
6915 (__rotldi3): Shift bytewise if applicable.
6916
b7c3f1ca
JG
69172013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
6918
6919 * config/aarch64/sync-cache.c
6920 (__aarch64_sync_cache_range): Silence warnings.
6921
6d65e8f1
CM
69222013-02-25 Catherine Moore <clm@codesourcery.com>
6923
6924 Revert:
6925 2013-02-24 Catherine Moore <clm@codesourcery.com>
6926 Joseph Myers <joseph@codesourcery.com>
6927 Chao-ying Fu <fu@mips.com>
6928
6929 * config/mips/mips16.S: Don't build for microMIPS.
6930 * config/mips/linux-unwind.h: Handle microMIPS frame.
6931 * config/mips/crtn.S (fini, init): New labels.
6932
6941b508
CM
69332013-02-24 Catherine Moore <clm@codesourcery.com>
6934 Joseph Myers <joseph@codesourcery.com>
6935 Chao-ying Fu <fu@mips.com>
6936
6937 * config/mips/mips16.S: Don't build for microMIPS.
6938 * config/mips/linux-unwind.h: Handle microMIPS frame.
6939 * config/mips/crtn.S (fini, init): New labels.
6940
7c422dbb 69412012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 6942 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
6943 as dividend.
6944
110207ad
AM
69452013-02-16 Alan Modra <amodra@gmail.com>
6946
6947 PR target/55431
6948 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
6949 (ppc_fallback_frame_state): Always set up save locations for fp
6950 and altivec. Don't bother with non-callee-saved regs, r0-r13
6951 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
6952
e68a4ef6
GJL
69532013-02-12 Georg-Johann Lay <avr@gjlay.de>
6954
6955 PR target/54222
6956 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
6957 _ssmulHA, _ssmulSA.
6958 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
6959 _ssmulha3, _usmulusa3, _ssmulsa3.
6960 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
6961 (__muldi3): XCALL __muldi3_6 instead of rcall.
6962 (__umulsidi3, __mulsidi3): New functions.
6963 (do_prologue_saves, do_epilogue_restores): New .macros.
6964 (__divdi3_moddi3): Use them.
6965 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
6966 (__usmulusa3, __ssmulsa3): New functions.
6967
6c59ffd1
IS
69682013-02-11 Iain Sandoe <iain@codesourcery.com>
6969 Jack Howarth <howarth@bromo.med.uc.edu>
6970 Patrick Marlier <patrick.marlier@gmail.com>
6971
6972 PR libitm/55693
6973 * config/darwin-crt-tm.c: Remove dummy functions hack.
6974
85d768f3
GJL
69752013-02-08 Georg-Johann Lay <avr@gjlay.de>
6976
6977 PR target/54222
6978 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
6979 * config/avr/lib2-object.mk: New iterator to build objects from it.
6980 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
6981 lib2funcs.c.
6982 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
6983 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
6984 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
6985 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
6986 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
6987 * config/avr/lib1funcs-fixed.S: Implement them.
6988
5d5bf775
RS
69892013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
6990
6991 Update copyright years.
6992
99113dff
DE
69932013-02-01 David Edelsohn <dje.gcc@gmail.com>
6994
6995 PR target/54601
6996 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
6997 Add crtcxa to extra_parts.
6998 * config/rs6000/exit.h: New file.
6999 * config/rs6000/cxa_atexit.c: New file.
7000 * config/rs6000/cxa_finalize.c: New file.
7001 * config/rs6000/crtcxa.c: New file.
7002 * config/rs6000/t-aix-cxa: New file.
7003 * config/rs6000/libgcc-aix-cxa.ver: New file.
7004
dbdbd982
NC
70052013-01-31 Nick Clifton <nickc@redhat.com>
7006
7007 * config/v850/lib1funcs.S: Add support for e3v5 architecture
7008 variant.
7009
5893f158
GJL
70102013-01-29 Georg-Johann Lay <avr@gjlay.de>
7011
7012 PR target/54222
7013 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
7014 _mulQQ, _mulHQ, _mulHA, _mulSA,
7015 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
7016 _divQQ, _divHQ, _divHA, _divSA,
7017 _divUQQ, _divUHQ, _divUHA, _divUSA.
7018
ecdbd01a 70192013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 7020
dbdbd982 7021 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
7022 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
7023 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
7024 to exclude functions from being built with libgcc.c and use
7025 the microblaze assembly.
7026
ecdbd01a 70272013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
7028
7029 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
7030 extra_parts.
7031
922c57d1
YZ
70322013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
7033
7034 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
7035 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
7036 __UINTPTR_TYPE__; also cast 'base' to the same type before the
7037 alignment operation.
7038
e0f8b6a0
SN
70392013-01-15 Sofiane Naci <sofiane.naci@arm.com>
7040
7041 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
7042 loop start address for cache clearing.
7043
00892272
GJL
70442013-01-14 Georg-Johann Lay <avr@gjlay.de>
7045
7046 * config/avr/lib1funcs.S: Remove trailing blanks.
7047 * config/avr/lib1funcs-fixed.S: Ditto.
7048
e59ec5fd
GJL
70492013-01-14 Georg-Johann Lay <avr@gjlay.de>
7050
7051 * config/avr/avr-lib.h: Add GPL copyright notice.
7052
3ffc1958
GJL
70532013-01-14 Georg-Johann Lay <avr@gjlay.de>
7054
7055 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
7056 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
7057 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
7058 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
7059
25c210f9
MK
70602013-01-07 Mark Kettenis <kettenis@openbsd.org>
7061
7062 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
7063 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 7064
db59befb
NC
70652013-01-04 Nick Clifton <nickc@redhat.com>
7066
7067 * config/v850/lib1funcs.S: Only provide CALLT support functions if
7068 the CALLT instruction is supported.
7069
5aa12dbf
JW
70702012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
7071
7072 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
7073 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
7074
65f14117
JT
70752012-12-13 John Tytgat <John@bass-software.com>
7076
7077 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
7078 is 25.
7079
ee3ae4f7
JJ
70802012-12-12 Jakub Jelinek <jakub@redhat.com>
7081
7082 PR libgcc/55451
7083 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
7084 undefined signed overflows.
7085
2fcfba3d
UB
70862012-12-09 Uros Bizjak <ubizjak@gmail.com>
7087
7088 PR target/55344
7089 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
7090
4f2b3dc2
UB
70912012-12-06 Uros Bizjak <ubizjak@gmail.com>
7092
7093 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
7094 (FP_TRAPPING_EXCEPTIONS): Define.
7095 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
7096 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
7097
066161a2
RH
70982012-12-04 Richard Henderson <rth@redhat.com>
7099
7100 PR bootstrap/55571
7101 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
7102
7d296953 71032012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 7104
4f2b3dc2 7105 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
7106 (FP_EX_SHIFT): Define.
7107 (FP_TRAPPING_EXCEPTIONS): Define.
7108
7d296953 71092012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
7110
7111 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
7112 (FP_ROUNDMODE): Use FP_RND_MASK.
7113 * config/aarch64/sfp-exceptions.c: New.
7114 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7115 Use __sfp_handle_exceptions.
7116
5005fe22
RE
71172012-12-04 Richard Earnshaw <rearnsha@arm.com>
7118
7119 * config.host: (arm*-*-freebsd*): Remove.
7120 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
7121 (arm*-*-elf*): Remove.
7122 (arm*-*-wince-pe*): Remove.
7123 * arm/unwind-arm.c (struct fpa_reg): Delete.
7124 (struct fpa_regs): Delete.
7125 (phase1_vrs): Remove fpa element.
7126 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
7127 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
7128 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
7129 * ieee754-sf.S (floatundisf): Remove FPA support.
7130 (floatdisf): Likewise.
7131 * ieee75f-df.S (floatundidf): Likewise.
7132 (floatdidf): Likewise.
7133
e5a81c8e
KT
71342012-11-29 Kai Tietz <ktietz@redhat.com>
7135
7136 PR target/55445
7137 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
7138 * unwind-generic.h: Likewise.
7139 * unwind-seh.c: Likewise.
7140
f4919e4a
RH
71412012-11-28 Richard Henderson <rth@redhat.com>
7142
7143 PR libgcc/48076
7144 * emutls.c (__emutls_get_address): Avoid race condition between
7145 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 7146
e13d9d5a
GJL
71472012-11-22 Georg-Johann Lay <avr@gjlay.de>
7148
7149 Adjust decimal point of signed accum mode to GCC default.
7150
7151 PR target/54222
7152 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
7153 _divqq_helper.
7154 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
7155 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
7156 (__mulha3, __mulsa3)
7157 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
7158 decimal point of signed accum types.
7159
e13d9d5a
GJL
7160 (__mulusa3_round): New function.
7161 (__mulusa3): Use it.
7162 (__divqq_helper): New function.
7163 (__udivuqq3): Use it.
7164
1b845c6e
JJ
71652012-11-20 Jakub Jelinek <jakub@redhat.com>
7166
7167 PR bootstrap/55370
7168 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
7169
822a258a
TJ
71702012-11-18 Teresa Johnson <tejohnson@google.com>
7171
7172 PR bootstrap/55051
7173 * libgcov.c (gcov_exit): Remove merged program summary
7174 comparison unless !GCOV_LOCKED.
7175
7d296953 71762012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
7177
7178 * soft-fp: Updated from glibc upstream.
7179
e808687a
ILT
71802012-11-06 Ian Lance Taylor <iant@google.com>
7181
7182 * generic-morestack.c (__generic_morestack): Align the returned
7183 stack pointer to a 32 byte boundary.
7184 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
7185 increment the return address until we have decided that we don't
7186 have a varargs function.
7187 (__morestack) [32-bit]: Align stack correctly when calling C
7188 functions.
7189 (__morestack) [64-bit]: Likewise.
7190
460277e0
TS
71912012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7192
7193 * configure: Regenerate.
7194
73edb277
UB
71952012-11-02 Uros Bizjak <ubizjak@gmail.com>
7196
7197 PR target/55175
7198 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
7199 * config/i386/sfp-machine.h: Guard exception handling
7200 code with _SOFT_FLOAT.
7201 * config/i386/32/sfp-machine.h: Guard rounding handling
7202 code with _SOFT_FLOAT.
7203 * config/i386/64/sfp-machine.h: Ditto.
7204
c1d4fa04
JS
72052012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
7206
7207 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
7208 as extra_parts.
7209
eff6ca85
UB
72102012-10-26 Uros Bizjak <ubizjak@gmail.com>
7211
7212 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
7213 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
7214 when appropriate. Correct structure element types.
7215 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
7216 -minline-all-stringops from compile flags.
7217
7d296953 72182012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
7219
7220 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
7221
7d296953 72222012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 7223
eff6ca85 7224 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 7225
6f288860
SH
72262012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
7227
7228 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
7229 tmake_file.
7230
1e3d5096
IB
72312012-10-23 Ian Bolton <ian.bolton@arm.com>
7232 Jim MacArthur <jim.macarthur@arm.com>
7233 Marcus Shawcroft <marcus.shawcroft@arm.com>
7234 Nigel Stephens <nigel.stephens@arm.com>
7235 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7236 Richard Earnshaw <rearnsha@arm.com>
7237 Sofiane Naci <sofiane.naci@arm.com>
7238 Stephen Thomas <stephen.thomas@arm.com>
7239 Tejas Belagod <tejas.belagod@arm.com>
7240 Yufeng Zhang <yufeng.zhang@arm.com>
7241
7242 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
7243 * config/aarch64/crti.S: New file.
7244 * config/aarch64/crtn.S: New file.
7245 * config/aarch64/linux-unwind.h: New file.
7246 * config/aarch64/sfp-machine.h: New file.
7247 * config/aarch64/sync-cache.c: New file.
7248 * config/aarch64/t-aarch64: New file.
7249 * config/aarch64/t-softfp: New file.
7250
8a740f07
HPN
72512012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
7252
7253 * config/mmix/crti.S: Mark program and data addresses using PRELD.
7254 Remove typo'd and unnecessary alignment-LOC for .data. Remove
7255 no-longer-needed LDBU insns.
7256
7d296953 72572012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
7258
7259 * config.host
7260 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
7261 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
7262
595fefee
MGD
72632012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7264
7265 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
7266
9945a876
MK
72672012-10-15 Matthias Klose <doko@ubuntu.com>
7268
7269 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
7270
1183dc2c
PC
72712012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
7272
7273 * configure: Regenerate.
7274 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
7275
945a9c1f
UB
72762012-10-10 Uros Bizjak <ubizjak@gmail.com>
7277
7278 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
7279 instructions for 64bit targets only.
7280
fb8bf47a
UB
72812012-10-10 Uros Bizjak <ubizjak@gmail.com>
7282
7283 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7284 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
7285 * config/i386/32/sfp-machine.h: ... here.
7286 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
7287 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
7288 New defines.
7289
acb72498
MK
72902012-10-07 Matthias Klose <doko@ubuntu.com>
7291
7292 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
7293 as unused.
7294 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
7295
8eaee0f0
MK
72962012-10-06 Mark Kettenis <kettenis@openbsd.org>
7297
7298 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
7299 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
7300 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
7301 (ElfW): Likewise.
7302
5e3e4fe8
JW
73032012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
7304
7305 PR other/53889
7306 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7307 Fix parameter names.
7308
86086376
OE
73092012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
7310
7311 PR target/33135
7312 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
7313 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
7314 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
7315
9597375a
OE
73162012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
7317
7318 PR target/50457
7319 * config/sh/linux-atomic.S: Delete.
7320 * config/sh/linux-atomic.c: New.
7321 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
7322 linux-atomic.c. Add cflags to disable warnings.
7323
1504e3e1
JW
73242012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
7325
7326 PR other/53889
7327 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
7328 function.
7329 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
7330 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
7331 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
7332 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
7333 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
7334 Likewise.
1504e3e1
JW
7335 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
7336 Likewise.
7337 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
7338 Likewise.
7339 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
7340 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
7341
17f293b0
MK
73422012-09-19 Mark Kettenis <kettenis@openbsd.org>
7343
9597375a
OE
7344 * config.host (hppa-*-openbsd*): New target.
7345 * config/pa/t-openbsd: New file.
17f293b0 7346
51526856
GJL
73472012-09-15 Georg-Johann Lay <avr@gjlay.de>
7348
7349 PR target/54222
7350 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
7351 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
7352 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
7353 (__divsa3): Use __negsi2 to negate r_quoL.
7354 * config/avr/lib1funcs.S (FALIAS): New macro.
7355 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
7356 (__negsi2): ...this new function.
7357 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
7358 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
7359 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
7360 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
7361 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
7362 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
7363
aadb5b43
OE
73642012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
7365
7366 PR target/54089
7367 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
7368 (lshrsi3): Reimplement as lshrsi3_r0.
7369
d5d66749
AS
73702012-09-10 Andreas Schwab <schwab@linux-m68k.org>
7371
7372 PR target/46191
7373 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
7374 of libgcc.a.
7375
c6c36e73
TJ
73762012-09-07 Teresa Johnson <tejohnson@google.com>
7377
9597375a 7378 PR gcov-profile/54487
c6c36e73 7379 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 7380 differences.
c6c36e73 7381
b588ae30
GJL
73822012-09-05 Georg-Johann Lay <avr@gjlay.de>
7383
7384 PR target/54461
7385 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
7386 not configured --with-avrlibc=no.
7387 * config/avr/t-avrlibc: New file.
7388 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
7389 (DPBIT_FUNCS): Ditto.
7390 (TPBIT_FUNCS): Ditto.
7391
abd16fb1
TJ
73922012-09-04 Teresa Johnson <tejohnson@google.com>
7393
7394 * libgcov.c (struct gcov_summary_buffer): New structure.
7395 (gcov_histogram_insert): New function.
7396 (gcov_compute_histogram): Ditto.
7397 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
7398 histograms during summary merging.
7399
613061fd
MK
74002012-09-01 Mark Kettenis <kettenis@openbsd.org>
7401
7402 * config.host (x86_64-*-openbsd*): New target.
73edb277 7403
867a8345
CLT
74042012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
7405
7406 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
7407 attribute.
7408
4aeaaca3
GJL
74092012-08-24 Georg-Johann Lay <avr@gjlay.de>
7410
7411 PR target/54222
7412 * config/avr/t-avr (conv_X): Rename to func_X.
7413
e55e4056
GJL
74142012-08-24 Georg-Johann Lay <avr@gjlay.de>
7415
7416 PR target/54222
7417 * config/avr/lib1funcs-fixed.S: New file.
7418 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
7419 after they are used.
7420 (neg2, neg4): New macros.
7421 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
7422 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
7423 (__umulhisi3): Speed up MUL variant if there is enough flash.
7424 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
7425 avr-modes.def.
7426 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
7427 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
7428 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
7429 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
7430 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
7431 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
7432 (LIB2FUNCS_EXCLUDE): Add supported functions.
7433
a147b6d2
GJL
74342012-08-22 Georg-Johann Lay <avr@gjlay.de>
7435
7436 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
7437 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
7438 libgcc-s-objects.
7439 * fixed-obj.mk: Only expand dependency if $o is not in
7440 LIB2FUNCS_EXCLUDE.
7441
c637141a
L
74422012-08-22 H.J. Lu <hongjiu.lu@intel.com>
7443
7444 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
7445
130e00bd
JM
74462012-08-22 Joseph Myers <joseph@codesourcery.com>
7447
7448 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
7449 depend on --enable-shared.
7450 ($(lib1asmfuncs-o)): Use %.vis files independent of
7451 --enable-shared.
7452 * static-object.mk ($(base)$(objext), $(base).vis)
7453 ($(base)_s$(objext)): Use same rules for visibility handling as in
7454 shared-object.mk.
7455
4b1b3788
ILT
74562012-08-21 Ian Lance Taylor <iant@google.com>
7457
7458 * config/i386/morestack.S (__morestack_non_split): Increase amount
7459 of space allocated for non-split code stack.
7460
d2468141
JM
74612012-08-19 Joseph Myers <joseph@codesourcery.com>
7462
7463 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
7464 even if inhibit_libc.
7465
a508e1a8
JB
74662012-08-17 Julian Brown <julian@codesourcery.com>
7467
7468 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
7469 -fexceptions -fnon-call-exceptions if not defined.
7470 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
7471 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
7472
5615a07d
AS
74732012-08-17 Andreas Schwab <schwab@linux-m68k.org>
7474
7475 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
7476 type.
7477
138f5acd
DE
74782012-08-16 David Edelsohn <dje.gcc@gmail.com>
7479
7480 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
7481 rs6000/t-slibgcc-aix.
7482
18efc0dd
SB
74832012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7484
7485 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
7486
6b39bc38
SB
74872012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
7488
7489 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
7490
cd25dea0
L
74912012-08-03 H.J. Lu <hongjiu.lu@intel.com>
7492
7493 PR driver/54171
7494 * Makefile.in (version): Replace top_srcdir with srcdir.
7495
a3dda30b
JY
74962012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
7497
7498 * Makefile.in (version): set to BASE-VER file from gcc directory.
7499
d04aacfc
NC
75002012-08-01 Nick Clifton <nickc@redhat.com>
7501
7502 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
7503 Implements __clrsb for an HImode argument.
7504
0d13c974
NC
75052012-07-31 Nick Clifton <nickc@redhat.com>
7506
7507 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
7508 Implements __clrsb for an HImode argument.
7509 * config/stormy16/clrsbhi2.c: New file:
7510 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
7511
efbb59b2
SB
75122012-07-22 Steven Bosscher <steven@gcc.gnu.org>
7513
7514 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
7515
bf1431e3
TG
75162012-07-19 Tristan Gingold <gingold@adacore.com>
7517 Richard Henderson <rth@redhat.com>
7518
7519 * unwind-seh.c: New file.
7520 * unwind-generic.h: Include windows.h for SEH.
7521 (_Unwind_Exception): Use 6 private fields for SEH.
7522 (_GCC_specific_handler): Declare.
7523 * unwind-c.c (__gcc_personality_seh0): New function.
7524 Adjust for SEH.
7525 * config/i386/libgcc-cygming.ver: New file.
7526 * config/i386/t-seh-eh: New file.
7527 * config.host (x86_64-*-mingw*): Default to seh.
7528
659140c8
SB
75292012-07-14 Steven Bosscher <steven@gcc.gnu.org>
7530
7531 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
7532
a20d08fd
UB
75332012-06-17 Uros Bizjak <ubizjak@gmail.com>
7534
7535 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
7536 __builtin_expect when checking for exceptions.
7537 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
7538
79261115
UB
75392012-06-13 Uros Bizjak <ubizjak@gmail.com>
7540
4a172156
UB
7541 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
7542 function declaration.
7543 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7544 (FP_RND_MASK): New.
7545 * config/ia64/sfp-exceptions.c: New.
7546 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 7547
bb5c97d4
UB
75482012-06-13 Uros Bizjak <ubizjak@gmail.com>
7549
7550 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
7551 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
7552 * config/i386/64/sfp-machine: ... (delete here) ...
7553 * config/i386/sfp-machine.h: ... to here.
7554 (FP_EX_MASK): Remove.
7555 (FP_RND_MASK): New.
7556 (FP_INIT_ROUNDMODE): Declare asm as volatile.
7557
91fe5efb
ST
75582012-06-11 Sriraman Tallam <tmsriram@google.com>
7559
7560 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
7561 * config/i386/libgcc-sol2.ver: Ditto.
7562 * config/i386/libgcc-glibc.ver: Ditto.
7563
67a218c5
RM
75642012-06-11 Roland McGrath <mcgrathr@google.com>
7565
7566 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
7567 If __GLIBC__ is defined, refer to __pthread_key_create instead of
7568 pthread_cancel.
7569
492fbea1
UB
75702012-06-09 Uros Bizjak <ubizjak@gmail.com>
7571
7572 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
7573 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
7574 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
7575 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
7576 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
7577 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
7578 * config/i386/64/sfp-machine: ... (delete here) ...
7579 * config/i386/sfp-machine.h: ... to here.
7580 (FP_EX_MASK): New.
7581 (__sfp_handle_exceptions): New function declaration.
7582 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
7583 * config/i386/sfp-exceptions.c: New.
7584 * config/i386/t-softfp: New.
7585 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
7586 i386/t-softfp to tmake_file.
7587
7b4cf266
DM
75882012-06-03 David S. Miller <davem@davemloft.net>
7589
7590 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
7591 change.
7592
0de0d5c6
DM
75932012-05-31 David S. Miller <davem@davemloft.net>
7594
7595 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
7596 multiply and divide instructions on 32-bit when V9.
7597 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
7598
d8c9d391
JM
75992012-05-29 Joseph Myers <joseph@codesourcery.com>
7600
7601 * config/arm/ieee754-df.S: Fix typos.
7602 * config/arm/ieee754-sf.S: Fix typos.
7603 * config/c6x/libunwind.S: Fix typos.
7604 * config/epiphany/udivsi3-float.c: Fix typos.
7605 * config/microblaze/muldi3_hard.S: Fix typos.
7606 * config/picochip/adddi3.S: Fix typos.
7607 * config/picochip/ashlsi3.S: Fix typos.
7608 * config/picochip/ashrsi3.S: Fix typos.
7609 * config/picochip/clzsi2.S: Fix typos.
7610 * config/picochip/cmpsi2.S: Fix typos.
7611 * config/picochip/divmod15.S: Fix typos.
7612 * config/picochip/divmodhi4.S: Fix typos.
7613 * config/picochip/divmodsi4.S: Fix typos.
7614 * config/picochip/longjmp.S: Fix typos.
7615 * config/picochip/lshrsi3.S: Fix typos.
7616 * config/picochip/parityhi2.S: Fix typos.
7617 * config/picochip/popcounthi2.S: Fix typos.
7618 * config/picochip/setjmp.S: Fix typos.
7619 * config/picochip/subdi3.S: Fix typos.
7620 * config/picochip/ucmpsi2.S: Fix typos.
7621 * config/picochip/udivmodhi4.S: Fix typos.
7622 * config/picochip/udivmodsi4.S: Fix typos.
7623 * config/spu/divv2df3.c: Fix typos.
7624 * config/spu/mfc_multi_tag_release.c: Fix typos.
7625 * config/spu/mfc_tag_release.c: Fix typos.
7626 * configure.ac: Fix typos.
7627 * configure: Regenerate.
7628
31a18a7e
ILT
76292012-05-25 Ian Lance Taylor <iant@google.com>
7630
7631 * config/i386/morestack.S (__morestack_non_split): Check whether
7632 caller is varargs and needs %bp to hold the stack frame on return.
7633
c5768510
OH
76342012-05-25 Olivier Hainque <hainque@adacore.com>
7635
7636 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
7637 sequence in the non pic case on VxWorks.
7638
7c7c339b
OH
76392012-05-24 Olivier Hainque <hainque@adacore.com>
7640
73fb7630 7641 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
7642 "install-leaf" to "install".
7643
fdc1b7d3
OH
76442012-05-24 Olivier Hainque <hainque@adacore.com>
7645
7646 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
7647 Use a separate command for stamp removals.
7648
07ba94b9
AP
76492012-05-21 Andrew Pinski <apinski@cavium.com>
7650
7651 PR bootstrap/53183
7652 * configure.ac: Define the default includes to being none.
7653 * configure: Regenerate.
7654
4677d2eb
OH
76552012-05-16 Olivier Hainque <hainque@adacore.com>
7656
7657 * Makefile.in (install-unwind_h): Rename into ...
7658 (install-unwind_h-forbuild): New target.
7659 (all): Use it instead of the former install-unwind_h.
7660 (install-unwind_h): Reinstate, copy to user install destination
7661 for include files, not to the internal gcc object directory one.
7662 (install-leaf): Depend on it.
7663
7d67c380
OH
76642012-05-15 Olivier Hainque <hainque@adacore.com>
7665
7666 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
7667 register numbers. LR_REGNO replaces R_LR.
7668 (ucontext_for): New, helper for ...
7669 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
7670 and 5.3 of ...
7671 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
7672
aca06c90
RO
76732012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7674
7675 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
7676 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
7677 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
7678 i386/t-cpuinfo ...
7679 (i[34567]86-*-*, x86_64-*-*): ... here.
7680
7681 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
7682 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
7683
7684 * config/i386/i386-cpuinfo.c: Rename to ...
7685 * config/i386/cpuinfo.c: ... this.
7686 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
7687
7688 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
7689 (libgcc_cv_init_priority): New test.
7690 * configure: Regenerate.
7691 * config.in: New file.
7692 * Makefile.in (clean): Rename config.h to auto-target.h.
7693 (config.h): Likewise.
7694 (stamp-h): Likewise.
7695
7696 * config/i386/cpuinfo.c (auto-target.h): Include.
7697 (CONSTRUCTOR_PRIORITY): Define.
7698 (__cpu_indicator_init): Use it.
7699
0d03ac1b
L
77002012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7701
7702 * longlong.h: Use a URL instead of an FSF postal address.
7703 Replace spaces with tab.
7704
4a172156 77052012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
7706
7707 * libgcov.c (gcov_clear, __gcov_reset): New functions.
7708 (__gcov_dump): Ditto.
7709 (gcov_dump_complete): New global variable.
7710 (gcov_exit): Export hidden to enable use in L_gcov_dump.
7711 (__gcov_flush): Outline functionality now in gcov_clear.
7712 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
7713
e4bb767e
AJ
77142012-04-28 Aurelien Jarno <aurelien@aurel32.net>
7715
31a18a7e
ILT
7716 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
7717 (mips*-*-linux*): Include mips/t-tpbit when long double is
7718 16 bytes long.
e4bb767e 7719
5ddecff9
ST
77202012-04-25 Sriraman Tallam <tmsriram@google.com>
7721
7722 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
7723 (get_available_features): New argument. Check for AVX2.
7724 (__cpu_indicator_init): Modify call to get_available_features.
7725
b427dd7a
AM
77262012-04-25 Alan Modra <amodra@gmail.com>
7727
7728 * config/rs6000/crtsavevr.S: New file.
7729 * config/rs6000/crtrestvr.S: New file.
7730 * config/rs6000/t-savresfgpr: Build the above.
7731 * config/rs6000/t-netbsd: Likewise.
7732
ad491329
ST
77332012-04-24 Sriraman Tallam <tmsriram@google.com>
7734
7735 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
7736
792317cc
ST
77372012-04-24 Sriraman Tallam <tmsriram@google.com>
7738
7739 * libgcc/config/i386/i386-cpuinfo.c: New file.
7740 * libgcc/config/i386/t-cpuinfo: New file.
7741 * libgcc/config.host: Include t-cpuinfo.
7742 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
7743
e1be98a4
CF
77442012-04-24 Chao-ying Fu <fu@mips.com>
7745
7746 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
7747
1bde7dab
TS
77482012-04-20 Thomas Schwinge <thomas@codesourcery.com>
7749
7750 struct siginfo vs. siginfo_t
7751
7752 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
7753 siginfo_t instead of struct siginfo.
7754 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
7755 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
7756 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
7757 (ia64_handle_unwabi): Likewise.
7758 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
7759 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
7760 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
7761 (sh_fallback_frame_state): Likewise.
7762 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
7763 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
7764
24590f66
L
77652012-04-02 H.J. Lu <hongjiu.lu@intel.com>
7766
7767 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
7768 system call number.
7769
9a9dcce8
EB
77702012-03-31 Eric Botcazou <ebotcazou@adacore.com>
7771
7772 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
7773 if it hasn't been previously saved.
7774
6401aaf5
L
77752012-03-29 H.J. Lu <hongjiu.lu@intel.com>
7776
7777 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
7778 only for glibc.
7779
7fd6378e
GJL
77802012-03-28 Georg-Johann Lay <avr@gjlay.de>
7781
7782 PR target/52737
7783 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
7784 instead of __AVR_HAVE_8BIT_SP__.
7785
9e916de7
TG
77862012-03-26 Tristan Gingold <gingold@adacore.com>
7787
7788 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
7789 (unw_table_entry): Use unw_word instead of unsigned long.
7790 (_Unwind_FindTableEntry): Likewise.
7791 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
7792 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
7793 (_Unwind_FindTableEntry): Likewise.
7794 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
7795 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
7796 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
7797 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
7798 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
7799 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
7800 (uw_init_context_1, uw_install_context): Likewise.
7801 (unw_word): Move to unwind-ia64.h
7802
4b12e93d
TG
78032012-03-26 Tristan Gingold <gingold@adacore.com>
7804
7805 * config/vms/vms-ucrt0.c: Update copyright years.
7806 Add a sanity check.
7807 (___gcc_main_flags): Declare.
7808 (__main): Check flags to remap argv and exit code.
7809 * config.host (*-*-*vms*): Adjust extra_parts.
7810 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
7811 (crt0.o): Add.
7812
06ea7371
RE
78132012-03-22 Richard Earnshaw <rearnsha@arm.com>
7814
7815 * arm/lib1funcs.asm (ctzsi2): New function.
7816 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
7817 * arm/t-linux (LIB1ASMFUNCS): Likewise.
7818 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
7819 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
7820 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
7821 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
7822
d82ad50d
AT
78232012-03-21 Andreas Tobler <andreast@fgznet.ch>
7824
7825 * config.host: Add bits to support powerpc64-*-freebsd*.
7826 * config/rs6000/freebsd-unwind.h: New file.
7827 * config/rs6000/t-freebsd64: New file.
7828
b260a8c0
RG
78292012-03-20 Richard Guenther <rguenther@suse.de>
7830
7831 PR gcov-profile/52627
7832 * libgcov.c (init_mx): Fix mutex name.
7833
86286a8a
TG
78342012-03-16 Tristan Gingold <gingold@adacore.com>
7835
7836 * config/ia64/vms-unwind.h: Remove ulong (and replace
7837 it by unw_reg where used). Define unw_reg with __int64.
7838
7888f266
RO
78392012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7840
7841 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7842 Solaris 8 handling.
7843 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7844 Solaris 8 handling.
7845 (sparc_is_sighandler): Likewise.
7846
f155bc64
L
78472012-03-13 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
7850 <= saved reg size.
7851
d47657bd
RO
78522012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7853
7854 * config/arm/crtn.S: Fix typo.
7855
5bef73a1
RG
78562012-03-13 Richard Guenther <rguenther@suse.de>
7857
7858 * libgcov.c: Remove stdio.h include and NULL un-define.
7859
9c4271f3
RG
78602012-03-13 Richard Guenther <rguenther@suse.de>
7861
7862 PR target/52569
7863 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
7864
c6d10e7c
RG
78652012-03-13 Richard Guenther <rguenther@suse.de>
7866
7867 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
7868
074a385f
RG
78692012-03-13 Richard Guenther <rguenther@suse.de>
7870
7871 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
7872 and __gthread_mutex_init_function definitions.
7873
c4bc5c25
RO
78742012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7875
7876 * config.host (mips*-*-openbsd*): Remove.
7877
5c30094f
RO
78782012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7879
7880 * config.host: Remove alpha*-dec-osf5.1* handling.
7881 * config/alpha/gthr-posix.c: Remove.
7882 * config/alpha/libgcc-osf5.ver: Remove.
7883 * config/alpha/osf5-unwind.h: Remove.
7884 * config/alpha/t-osf-pthread: Remove.
7885 * config/alpha/t-slibgcc-osf: Remove.
7886 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
7887 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
7888 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
7889 * mkmap-flat.awk: Remove osf_export handling.
7890
33e3e24d
RG
78912012-03-12 Richard Guenther <rguenther@suse.de>
7892
7893 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
7894 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7895 (__gthread_mutex_init_function): New function.
7896 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
7897
7898 PR gcov/49484
7899 * libgcov.c: Include gthr.h.
7900 (__gcov_flush_mx): New global variable.
7901 (init_mx, init_mx_once): New functions.
7902 (__gcov_flush): Protect self with a mutex.
7903 (__gcov_fork): Re-initialize mutex after forking.
7904 * unwind-dw2-fde.c: Change condition under which to use
7905 __GTHREAD_MUTEX_INIT_FUNCTION.
7906
d8aba32a
TG
79072012-03-12 Tristan Gingold <gingold@adacore.com>
7908
7909 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
7910 * config/ia64/t-vms: Likewise.
7911
75ffafdc
MH
79122012-03-11 Michael Hope <michael.hope@linaro.org>
7913
4a172156
UB
7914 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
7915 for Thumb-2.
75ffafdc 7916
ef6c2c53
WL
79172012-03-07 Walter Lee <walt@tilera.com>
7918
7919 * config/tilepro/atomic.c: Rename "atomic_" prefix to
7920 "arch_atomic_".
7921 (atomic_xor): Rename and move definition to
7922 config/tilepro/atomic.h.
7923 (atomic_nand): Ditto.
7924 * config/tilepro/atomic.h: Rename "atomic_" prefix to
7925 "arch_atomic_".
7926 (arch_atomic_xor): Move from config/tilepro/atomic.c.
7927 (arch_atomic_nand): Ditto.
7928
4e30d980
GJL
79292012-03-07 Georg-Johann Lay <avr@gjlay.de>
7930
7931 PR target/52507
7932 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
7933
61108225
GJL
79342012-03-07 Georg-Johann Lay <avr@gjlay.de>
7935
7936 PR target/52505
7937 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
7938 from RAM.
7939
b30e10ab
GJL
79402012-03-07 Georg-Johann Lay <avr@gjlay.de>
7941
7942 PR target/52461
7943 PR target/52508
7944 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
7945 if RAMPZ affects reading from RAM.
7946 (__tablejump_elpm__): Ditto.
7947 (.xload): Ditto.
7948 (__movmemx_hi): Ditto.
7949 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
7950 (__do_global_dtors): Ditto.
7951 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
7952 (__movmemx_hi): Ditto.
7953
8993fde4
RH
79542012-03-05 Richard Henderson <rth@redhat.com>
7955
7956 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
7957 [ARM] (count_trailing_zeros): Use the builtin.
7958
b7633ee3
KT
79592012-03-01 Kai Tietz <ktietz@redhat.com>
7960
7961 * soft-fp: Imported from glibc upstream.
7962
fbd3340c
KT
79632012-02-28 Kai Tietz <ktietz@redhat.com>
7964
7965 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
7966 for mingw-targets as attribute gcc_struct.
7967
e9e053eb
ILT
79682012-02-28 Ian Lance Taylor <iant@google.com>
7969
7970 * generic-morestack.c (__splitstack_releasecontext): Correct call
7971 to __morestack_release_segments.
7972
d80c632e
ST
79732012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7974
7975 PR target/52390
7976 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
7977 for __linux__ when removing signals from __morestack_fullmask.
7978
0253a8b1
GJL
79792012-02-23 Georg-Johann Lay <avr@gjlay.de>
7980
7981 PR target/52261
7982 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
7983
e10e461e
UW
79842012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7985
7986 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
7987 instead of HAVE_INITFINI_ARRAY.
7988 * config/ia64/crtend.S: Likewise.
7989
0c0c6398
KT
79902012-02-20 Kai Tietz <ktietz@redhat.com>
7991
d7470374
KT
7992 PR libstdc++/52300
7993 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
7994
0c0c6398
KT
7995 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
7996 to w32-unwind.h header.
7997
78c27266
RS
79982012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
7999
8000 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
8001 (mips*-*-linux*): Remove t-slibgcc-libgcc.
8002 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
8003 * config/mips/mips16.S (__mips16_rdhwr): Delete.
8004
5adeb246
RS
80052012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
8006
8007 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
8008
672ed313
IS
80092012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8010
8011 PR libitm/52220
8012 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 8013
e948a1fb
IS
80142012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8015 Patrick Marlier <patrick.marlier@gmail.com>
8016
8017 PR libitm/52220
8018 * config/darwin-crt-tm.c: Generate dummy functions.
8019
6017aed3
IS
80202012-02-15 Iain Sandoe <iains@gcc.gnu.org>
8021 Patrick Marlier <patrick.marlier@gmail.com>
8022
8023 PR libitm/52042
8024 * config/darwin-crt-tm.c (getTMCloneTable): New function.
8025 (__doTMRegistrations): Call it.
e9e053eb 8026 (__doTMdeRegistrations): Likewise.
6017aed3 8027
2da8c1ad 80282012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
8029 Anatoly Sokolov <aesok@post.ru>
8030 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
8031
8032 PR target/52261
8033 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
8034 (__epilogue_restores__): Ditto.
8035
0f952eb4
EB
80362012-02-15 Eric Botcazou <ebotcazou@adacore.com>
8037
8038 PR target/51921
8039 PR target/52205
8040 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
8041 Solaris 11 and slightly reformat.
8042 (sparc_is_sighandler): Likewise.
8043
dd552284
WL
80442012-02-14 Walter Lee <walt@tilera.com>
8045
8046 * config.host: Handle tilegx and tilepro.
8047 * config/tilegx/sfp-machine.h: New file.
8048 * config/tilegx/sfp-machine32.h: New file.
8049 * config/tilegx/sfp-machine64.h: New file.
8050 * config/tilegx/t-crtstuff: New file.
8051 * config/tilegx/t-softfp: New file.
8052 * config/tilegx/t-tilegx: New file.
8053 * config/tilepro/atomic.c: New file.
8054 * config/tilepro/atomic.h: New file.
8055 * config/tilepro/linux-unwind.h: New file.
8056 * config/tilepro/sfp-machine.h: New file.
8057 * config/tilepro/softdivide.c: New file.
8058 * config/tilepro/softmpy.S: New file.
8059 * config/tilepro/t-crtstuff: New file.
8060 * config/tilepro/t-tilepro: New file.
8061
b59cbd50
JW
80622012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
8063
8064 PR libstdc++/51296
8065 PR libstdc++/51906
8066 * gthr-posix.h: Allow static initializer macros to be disabled.
8067 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
8068
6caf807f
CLT
80692012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
8070
8071 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
8072 Add t-slibgcc-libgcc to tmake_file.
8073 * config/mips/libgcc-mips16.ver: Revert previous patch.
8074 * config/mips/mips16.S (__mips16_rdhwr): Hide.
8075
7d296953
JJ
80762012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
8077 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
8078
8079 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
8080 * config/cr16/crti.S: New file.
8081 * config/cr16/crtlibid.S: New file.
8082 * config/cr16/crtn.S: New file.
8083 * config/cr16/lib1funcs.S: New file.
8084 * config/cr16/t-cr16: New file.
8085 * config/cr16/t-crtlibid: New file.
8086 * config/cr16/unwind-dw2.h: New file.
8087 * config/cr16/unwind-cr16.c: New file.
8088 * config/cr16/divmodhi3.c: New file.
8089
8ef03aa7
AM
80902012-01-25 Alan Modra <amodra@gmail.com>
8091
8092 * config/rs6000/t-linux64: Delete. Move..
8093 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
8094 * config/rs6000/t-linux: ..and libgcc flags to here.
8095
daecebc8
DR
80962012-01-22 Douglas B Rupp <rupp@gnat.com>
8097
8098 * config.host (i[34567]86-*-interix3*):
8ef03aa7 8099 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
8100 * configure: Regenerate.
8101
ddaf8125
RS
81022012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
8103 Richard Sandiford <rdsandiford@googlemail.com>
8104
8105 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
8106 * config/mips/mips16.S (__mips16_rdhwr): New function.
8107 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
8108
2cd8b32c
NS
81092012-01-11 Nathan Sidwell <nathan@acm.org>
8110
8111 * libgcov.c (__gcov_init): Ignore objects with no functions.
8112
cba300dd
GJL
81132012-01-10 Georg-Johann Lay <avr@gjlay.de>
8114
8115 PR target/49868
8116 Extend __pgmx semantics to linearize memory.
8117 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
8118 * config/avr/lib1funcs.S (__xload_1): New function.
8119 (__movmemx_qi, __movmemx_hi): New functions.
8120 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
8121 semantics.
9ffaf4bc 8122
3d137660
EB
81232012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8124
8125 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
8126 purported sigacthandler address isn't null before dereferencing it.
8127 (sparc_is_sighandler): Likewise.
8128
bf4db96c
EB
81292012-01-09 Eric Botcazou <ebotcazou@adacore.com>
8130
8131 PR ada/41929
8132 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
8133 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
8134 (sparc_is_sighandler): Likewise.
8135 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
8136
1ab3568b
TG
81372012-01-06 Tristan Gingold <gingold@adacore.com>
8138
8139 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
8140 compatibility thunks...
8141 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
8142 (crtbeginS.o, crtendS.o): ... and these to ...
8143 * config/ia64/t-ia64-elf: ... this new file.
8144 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
8145 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
8146
925b0ed8
AK
81472012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8148
8149 * configure: Regenerate.
8150 * config/s390/t-crtstuff: Remove -fPIC.
8151
a99ad737
JW
81522012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
8153
8154 PR bootstrap/51006
8155 * enable-execute-stack-mprotect.c (getpagesize): Do not define
8156 for NetBSD.
8157
884f56d1
GJL
81582012-01-02 Georg-Johann Lay <avr@gjlay.de>
8159
8160 PR target/51345
8161 * config/avr/lib1funcs.S: Remove FIXME comments.
8162 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
8163
8c57e547
GJL
81642012-01-02 Georg-Johann Lay <avr@gjlay.de>
8165
8166 Implement light-weight DImode support.
8167 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
8168 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
8169 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
8170 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
8171
04dbc287
NS
81722011-12-30 Nathan Sidwell <nathan@acm.org>
8173
8174 * libgcov.c (gcov_crc32): Remove global var.
8175 (free_fn_data): New function.
8176 (buffer_fn_data): Pass in filename, more robust error recovery.
8177 (crc32_unsigned): New function.
8178 (gcov_exit): More robust detection of new program. More robust
8179 error recovery.
8180 (__gcov_init): Do not update program's crc here.
8181
8e1d97d4
TG
81822011-12-21 Tristan Gingold <gingold@adacore.com>
8183
8184 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
8185
9ffaf4bc
ILT
81862011-12-21 Ian Lance Taylor <iant@google.com>
8187
8188 * config/i386/morestack.S: Simplify CFI opcodes throughout.
8189
a0c8d0c1
ILT
81902011-12-20 Ian Lance Taylor <iant@google.com>
8191
8192 * config/i386/morestack.S (__morestack_non_split): If there is
8193 enough stack space already, don't split. Ask for more stack space
8194 than we required.
8195
69048898
SDJ
81962011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
8197
8198 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
8199 `sys/sdt.h'.
8200 (_Unwind_DebugHook): New function.
8201 (uw_restore_core_regs): New define.
8202 (unwind_phase2): Use uw_restore_core_regs instead of
8203 restore_core_regs.
8204 (unwind_phase2_forced): Likewise.
8205 (__gnu_Unwind_Resume): Likewise.
8206
1bb4b6a3
UB
82072011-12-20 Uros Bizjak <ubizjak@gmail.com>
8208
8209 * config/alpha/linux-unwind.h: Update copyright years.
8210 (MD_FROB_UPDATE_CONTEXT): New define.
8211 (alpha_frob_update_context): New function.
8212
eb028768
RS
82132011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
8214
8215 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
8216 tmake_file rather replacing it.
8217
6a2045bf
IS
82182011-12-15 Iain Sandoe <iains@gcc.gnu.org>
8219
8220 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 8221 function is not used for PPC64.
6a2045bf
IS
8222 (save_world): Amend comments. Update the VRsave mask to reflect the
8223 saved regs.
8224 (rest_world): Update comments, do not clobber r10, do not use r8.
8225 (eh_rest_world_r10): Amend comments, do not use r8.
8226 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
8227 no longer used, move restore of CR and target address to the end of
8228 the routine.
8229
a13780a6
L
82302011-12-14 H.J. Lu <hongjiu.lu@intel.com>
8231
8232 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
8233 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
8234
d7288dfb
GJL
82352011-12-14 Georg-Johann Lay <avr@gjlay.de>
8236
8237 PR target/49313
8238 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
8239 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
8240
8d2c862d
EB
82412011-12-11 Eric Botcazou <ebotcazou@adacore.com>
8242
8243 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
8244
3447cae6
GJL
82452011-12-09 Georg-Johann Lay <avr@gjlay.de>
8246
8247 PR target/49313
8248 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
8249 * config/avr/lib1funcs.S (__muldi3): New function.
8250
806fc6aa
AP
82512011-12-06 Andrew Pinski <apinski@cavium.com>
8252
8253 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
8254 size of func_ptr.
8255 (__frame_dummy_init_array_entry): Likewise.
8256
28c5e6b5
GJL
82572011-12-06 Georg-Johann Lay <avr@gjlay.de>
8258
8259 Forward-port from gcc-4_6-branch r181936 2011-12-02.
8260
8261 PR target/51345
8262 PR target/51002
8263 * config/avr/lib1funcs.S (__prologue_saves__,
8264 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
8265 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
8266
8f90394a
IS
82672011-12-04 Iain Sandoe <iains@gcc.gnu.org>
8268
8269 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
8270
06dd33ac
JDA
82712011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8272
8273 PR other/51272
8274 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
8275 (_ITM_deregisterTMCloneTable): Likewise.
8276 (__register_frame_info): Fix unused warning.
8277 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
8278 pthread_default_stacksize_np): Likewise.
8279 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 8280
85b8555e
DD
82812011-11-29 DJ Delorie <dj@redhat.com>
8282
8283 * config.host (rl78-*-elf): New case.
8284 * config/rl78: New directory for the Renesas RL78.
8285
4d5ae4ea
BS
82862011-11-29 Bernd Schmidt <bernds@codesourcery.com>
8287
8288 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
8289 formatting.
8290
f9c55897
RO
82912011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8292
8293 PR other/51022
8294 * config/rs6000/t-savresfgpr: New file.
8295 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
8296 $(srcdir)/config/rs6000/eabi.S.
8297 * config/rs6000/t-ppccomm-ldbl: Remove.
8298 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
8299 tmake_file.
8300 (powerpc-*-eabispe*): Likewise.
8301 (powerpc-*-eabi*): Likewise.
8302 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
8303 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
8304 to tmake_file, remove rs6000/t-ppccomm-ldbl.
8305 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
8306 tmake_file.
8307 (powerpc-*-eabisim*): Likewise.
8308 (powerpc-*-elf*): Likewise.
8309 (powerpc-*-eabialtivec*): Likewise.
8310 (powerpc-xilinx-eabi*): Likewise.
8311 (powerpc-*-rtems*): Likewise.
8312 (powerpcle-*-elf*): Likewise.
8313 (powerpcle-*-eabisim*): Likewise.
8314 (powerpcle-*-eabi*): Likewise.
8315
a01207c4
ILT
83162011-11-27 Ian Lance Taylor <iant@google.com>
8317
8318 * generic-morestack.c (__splitstack_find): Check for NULL old
8319 stack value.
8320 (__splitstack_resetcontext): New function.
8321 (__splitstack_releasecontext): New function.
8322 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8323
2b0b8ab2
IS
83242011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8325
8326 * config/darwin-crt-tm.c: Correct comments, use correct licence.
8327
c1d8101c
IS
83282011-11-27 Iain Sandoe <iains@gcc.gnu.org>
8329
8330 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
8331
8b281334
RH
83322011-11-26 Richard Henderson <rth@redhat.com>
8333
8334 * config/m68k/linux-atomic.c: New file.
8335 * config/m68k/t-linux: New file.
8336 * config.host (m68k-uclinux, m68k-linux): Use it.
8337
7546aa9d
RH
83382011-11-26 Richard Henderson <rth@redhat.com>
8339
8340 * crtstuff.c (__TMC_LIST__): Mark used not unused.
8341 (__TMC_END__): Only declare if hidden is available; in the definition,
8342 if hidden is unavailable add a null record.
8343 (deregister_tm_clones, register_tm_clones): New.
8344 (__do_global_dtors_aux, frame_dummy): Use them.
8345 (__do_global_dtors, __do_global_ctors_1): Likewise.
8346
e2362f5d
IS
83472011-11-22 Iain Sandoe <iains@gcc.gnu.org>
8348
8349 * config/darwin-crt-tm.c: New file.
8350 * config.host (darwin): Build crttms.o crttme.o to provide
8351 startup and shutdown for tm clones.
8352 * config/t-darwin (crttms.o): New build rule.
8353 (crttme.o): Likewise.
8354
6685dd96
HPN
83552011-11-21 Hans-Peter Nilsson <hp@axis.com>
8356
8357 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
8358 et al.
8359
b0dc7e4c
RH
83602011-11-21 Richard Henderson <rth@redhat.com>
8361
8362 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
8363 (__TMC_LIST__, __TMC_END__): New.
8364 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
8365 (__do_global_dtors): Likewise.
8366 (frame_dummy): Call _ITM_registerTMCloneTable.
8367 (__do_global_ctors_1): Likewise.
8368
d4b4b542
RO
83692011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8370
8371 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
8372 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
8373 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
8374 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
8375 * config/i386/t-darwin64: Remove.
8376 * config/sh/t-netbsd (LIB2ADD): Remove.
8377
989bdb74
GJL
83782011-11-21 Georg-Johann Lay <avr@gjlay.de>
8379
8380 PR target/49313
8381 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
8382 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
8383 * config/avr/lib1funcs.S (wmov): New assembler macro.
8384 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
8385 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
8386 (__udivmod64): New function.
8387 (__negdi2): New function.
8388
515a0cfc
GP
83892011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
8390
8391 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
8392 *-*-freebsd*aout*): Remove.
8393
0115d17f
HPN
83942011-11-20 Hans-Peter Nilsson <hp@axis.com>
8395
8396 * static-object.mk (c_flags-$o): Save c_flags.
8397 ($(base)$(objext)): Use it.
8398
93aeb62b
SE
83992011-11-18 Steve Ellcey <sje@cup.hp.com>
8400
8401 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
8402
7bc6df2c
GJL
84032011-11-18 Georg-Johann Lay <avr@gjlay.de>
8404
8405 PR target/49868
8406 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
8407 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
8408 New functions.
8409
425d737b
MGD
84102011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
8411
8412 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
8413 functions.
1bb4b6a3 8414 (aeabi_uidivmod): Likewise.
425d737b
MGD
8415 (umodsi3): Likewise.
8416 (divsi3): Likewise.
8417 (aeabi_idivmod): Likewise.
8418 (modsi3): Likewise.
8419
f2a176dc
TG
84202011-11-16 Tristan Gingold <gingold@adacore.com>
8421
8422 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
8423
7c209481
GJL
84242011-11-15 Georg-Johann Lay <avr@gjlay.de>
8425
8426 PR target/49868
8427 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
8428 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
8429
9dfd5832
JDA
84302011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8431
8432 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
8433 tmake_file list.
8434 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
8435 * config/pa/t-stublib64: Delete.
8436
f77dca5d
RH
84372011-11-12 Richard Henderson <rth@redhat.com>
8438
8439 * config/rs6000/linux-unwind.h (frob_update_context): Properly
8440 cast the pointer argument to _Unwind_SetGRPtr.
8441
902828f0
RO
84422011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8443
8444 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
8445
e14304ef
ILT
84462011-11-09 Ian Lance Taylor <iant@google.com>
8447
8448 * generic-morestack.c: Include <string.h>.
8449 (uintptr_type): Define.
8450 (struct initial_sp): Add dont_block_signals field. Reduce size of
8451 extra array by 1.
8452 (allocate_segment): Set prev field to NULL. Don't set
8453 __morestack_current_segment or __morestack_segments.
8454 (__generic_morestack): Update current->prev and *pp after calling
8455 allocate_segment.
8456 (__morestack_block_signals): Don't do anything if
8457 dont_block_signals is set.
8458 (__morestack_unblock_signals): Likewise.
8459 (__generic_findstack): Check for initial_sp == NULL. Add casts to
8460 uintptr_type.
8461 (__splitstack_block_signals): New function.
8462 (enum __splitstack_content_offsets): Define.
8463 (__splitstack_getcontext, __splitstack_setcontext): New functions.
8464 (__splitstack_makecontext): New function.
8465 (__splitstack_block_signals_context): New function.
8466 (__splitstack_find_context): New function.
8467 * config/i386/morestack.S (__morestack_get_guard): New function.
8468 (__morestack_set_guard, __morestack_make_guard): New functions.
8469 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
8470
e3d871e4
RO
84712011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8472
8473 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
8474 (i[34567]86-*-mingw*): ... here.
8475 (x86_64-*-mingw*): ... here.
8476
e55cef40
RO
84772011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8478
8479 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
8480
5366b186
NS
84812011-11-07 Nathan Sidwell <nathan@acm.org>
8482
8483 * libgcov.c (struct gcov_fn_buffer): New struct.
8484 (buffer_fn_data): New helper.
8485 (gcov_exit): Rework for new gcov data structures.
8486
74155a6f
GJL
84872011-11-07 Georg-Johann Lay <avr@gjlay.de>
8488
8489 PR target/49313
8490 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
8491
200feb07
RO
84922011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8493
8494 * config.host (tmake_file): Correct comment.
8495 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
8496 t-libgcc-pic.
8497 (bfin*-uclinux*): Likewise.
8498 (bfin*-linux-uclibc*): Likewise.
8499 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
8500
8501 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
8502 assigning.
8503 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8504 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
8505 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8506 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
8507 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8508 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
8509 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
8510 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
8511 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
8512 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
8513 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
8514 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
8515 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
8516
8517 * config/bfin/t-elf: Remove.
8518 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
8519
c9cd1a07
RO
85202011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8521
8522 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
8523 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
8524 (lm32-*-elf*, lm32-*-rtems*): Split into ...
8525 (lm32-*-elf*): ... this.
8526 (lm32-*-rtems*): ... and this.
8527 Add to tmake_file.
8528 (m32r-*-rtems*): Add to tmake_file.
8529 (moxie-*-rtems*): Likewise.
8530 (sparc-*-rtems*): Likewise.
8531 Remove t-rtems from tmake_file.
8532 (sparc64-*-rtems*): Likewise.
8533 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
8534 instead.
8535
9fbcc75d
RO
85362011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8537
8538 PR bootstrap/50982
8539 * config/gthr-posix.h: Move ...
8540 * gthr-posix.h: ... here.
8541 * config/gthr-lynx.h: Reflect this.
8542 * config/gthr-vxworks.h: Likewise.
8543 * config/rs6000/gthr-aix.h: Likewise.
8544 * configure.ac (target_thread_file): Likewise.
8545 * configure: Regenerate.
8546
76644b68
SH
85472011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
8548
8549 * config.host (arm*-*-rtemseabi*): New target.
8550
5e490f2a
JDA
85512011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8552
8553 PR other/50991
8554 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
8555 extra-parts.
8556
feeeff5c
JR
85572011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
8558
8559 * config.host (epiphany-*-elf*): New configuration.
8560 * config/epiphany: New Directory.
8561
d618bb2c
RC
85622011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
8563
8564 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
8565 * config/avr/t-rtems: New.
8566 Filter out _exit from LIB1ASMFUNCS.
8567
1bb6f778
DM
85682011-11-04 David S. Miller <davem@davemloft.net>
8569
8570 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
8571 * configure: Rebuild.
8572
9a7f7422
AK
85732011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8574
8575 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
8576 variable.
8577
e4fe948a
GJL
85782011-11-04 Georg-Johann Lay <avr@gjlay.de>
8579
8580 PR target/50931
8581 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
8582 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
8583
7084e037
JS
85842011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
8585
8586 PR target/50989
8587 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
8588
1a032034
RO
85892011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8590
8591 * config/c6x/t-elf (LIB2ADDEH): Set.
8592 * config/c6x/t-c6x-elf: Remove.
8593
d385f772
RO
85942011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8595
8596 * config/i386/sol2-ci.S: Rename to ...
8597 * config/i386/crti.S: ... this.
8598 * config/i386/sol2-cn.S: Rename to ...
8599 * config/i386/crtn.S: ... this.
8600 * config/sparc/sol2-ci.S: Rename to ...
8601 * config/sparc/crti.S: ... this.
8602 * config/sparc/sol2-cn.S: Rename to ...
8603 * config/sparc/crtn.S: ... this.
8604 * config/t-sol2 (CUSTOM_CRTIN): Remove.
8605 (crti.o, crtn.o): Remove.
8606
1ba878a9
TG
86072011-11-04 Tristan Gingold <gingold@adacore.com>
8608
8609 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
8610
02750c15
KK
86112011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
8612
8613 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
8614
bf86b067
HPN
86152011-11-03 Hans-Peter Nilsson <hp@axis.com>
8616
8617 * config.host (crisv32-*-none, cris-*-none): Remove.
8618 (crisv32-*-elf): Append to tmake_file, don't just set it.
8619 (cris-*-elf): Add missing t-fdpbit to tmake_file.
8620
d0bc53bd
RO
86212011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8622
8623 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
8624 (ecrtn$(objext)): Likewise.
8625 (ncrti$(objext)): Likewise.
8626 (ncrtn$(objext)): Likewise.
8627
036da830
AS
86282011-11-03 Andreas Schwab <schwab@redhat.com>
8629
8630 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
8631
d2a7d041
DM
86322011-11-02 David S. Miller <davem@davemloft.net>
8633
8634 * configure.ac: Set host_address on sparc too.
8635 * configure: Regenerate.
8636 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
8637 based upon host_address.
8638 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
8639
af8ed618
JM
86402011-11-02 Jason Merrill <jason@redhat.com>
8641
8642 * config/rs6000/t-ppccomm: Add missing \.
8643
5d1c8e77
RO
86442011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8645
8646 * gthr-single.h, gthr.h: New files.
8647 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
8648 config/gthr-vxworks.h, config/i386/gthr-win32.h,
8649 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
8650 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
8651 * config/i386/gthr-win32.c: Include "gthr-win32.h".
8652 * configure.ac (thread_header): New variable.
8653 Set it depending on target_thread_file.
8654 (gthr-default.h): Link from $thread_header.
8655 * configure: Regenerate.
8656 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
8657
852b75ed
RO
86582011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8659
8660 * configure.ac (tm_file_): New variable.
8661 Determine from tm_file.
8662 (tm_file, tm_defines): Substitute.
8663 * configure: Regenerate.
8664 * mkheader.sh: New file.
8665 * Makefile.in (clean): Remove libgcc_tm.h.
8666 ($(objects)): Depend on libgcc_tm.h.
8667 (libgcc_tm_defines, libgcc_tm_file): New variables.
8668 (libgcc_tm.h, libgcc_tm.stamp): New targets.
8669 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
8670 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
8671 ($(extra-parts)): Depend on libgcc_tm.h.
8672 * config.host (tm_defines, tm_file): New variable.
8673 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
8674 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
8675 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
8676 (avr-*-rtems*): Likewise.
8677 (avr-*-*): Likewise.
8678 (frv-*-elf): Likewise.
8679 (frv-*-*linux*): Likewise.
8680 (h8300-*-rtems*): Likewise.
8681 (h8300-*-elf*): Likewise.
8682 (i[34567]86-*-darwin*): Likewise.
8683 (x86_64-*-darwin*): Likewise.
8684 (rx-*-elf): Likewise.
8685 (tic6x-*-uclinux): Likewise.
8686 (tic6x-*-elf): Likewise.
8687 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
8688 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
8689 * config/i386/cygming-crtbegin.c: Likewise.
8690 * config/i386/cygming-crtend.c: Likewise.
8691 * config/ia64/fde-vms.c: Likewise.
8692 * config/ia64/unwind-ia64.c: Likewise.
8693 * config/libbid/bid_gcc_intrinsics.h: Likewise.
8694 * config/rs6000/darwin-fallback.c: Likewise.
8695 * config/stormy16/lib2funcs.c: Likewise.
8696 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
8697 * crtstuff.c: Likewise.
8698 * dfp-bit.h: Likewise.
8699 * emutls.c: Likewise.
8700 * fixed-bit.c: Likewise.
8701 * fp-bit.c: Likewise.
8702 * generic-morestack-thread.c: Likewise.
8703 * generic-morestack.c: Likewise.
8704 * libgcc2.c: Likewise.
8705 * libgcov.c: Likewise.
8706 * unwind-dw2-fde-dip.c: Likewise.
8707 * unwind-dw2-fde.c: Likewise.
8708 * unwind-dw2.c: Likewise.
8709 * unwind-sjlj.c: Likewise.
8710
f9989b51
RO
87112011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8712
8713 * configure.ac: Include ../config/picflag.m4.
8714 (GCC_PICFLAG): Call it.
8715 Substitute.
8716 * configure: Regenerate.
8717 * Makefile.in (gcc_srcdir): Remove.
8718 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
8719 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
8720 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
8721 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
8722 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
8723 Use $<.
8724 Remove comment.
8725 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
8726 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
8727 to refer to libgcc2.c.
8728 Use $<.
8729 * config/darwin-64.c: New file.
8730 * config/darwin-crt3.c: Remove comment.
8731 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
8732 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
8733 config/udivmodsi4.c: New files.
8734 * config/memcmp.c, config/memcpy.c, config/memmove.c,
8735 config/memset.c: New files.
8736 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
8737 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
8738 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
8739 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
8740 * config/t-openbsd-thread: New file.
8741 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
8742 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
8743 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
8744 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
8745 qrnnd.S.
8746 Adapt filename.
8747 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
8748 to refer to gthr-posix.c.
8749 * config/alpha/t-vms (LIB2ADD): Set.
8750 * config/alpha/vms-gcc_shell_handler.c: New file.
8751 * config/arm/bpabi.c, config/arm/fp16.c,
8752 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
8753 config/arm/unaligned-funcs.c: New files.
8754 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
8755 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8756 * config/arm/t-linux: Likewise.
8757 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
8758 * config/arm/t-netbsd: New file.
8759 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
8760 * config/arm/t-symbian (LIB2ADD_ST): Set.
8761 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
8762 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8763 * config/bfin/t-elf: New file.
8764 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
8765 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
8766 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
8767 config/c6x/ltf.c: New files.
8768 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
8769 (HOST_LIBGCC2_CFLAGS): Set.
8770 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
8771 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8772 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
8773 New files.
8774 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
8775 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
8776 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
8777 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
8778 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
8779 files.
8780 * config/frv/t-frv (LIB2ADD): Set.
8781 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8782 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
8783 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
8784 config/h8300/popcounthi2.c: New files.
8785 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8786 * config/i386/gthr-win32.c: New file.
8787 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
8788 * config/i386/t-cygwin: Likewise.
8789 * config/i386/t-darwin, config/i386/t-darwin64,
8790 config/i386/t-gthr-win32, config/i386/t-interix: New files.
8791 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
8792 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8793 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8794 * config/ia64/quadlib.c: New file.
8795 * config/ia64/t-hpux (LIB2ADD): Set.
8796 * config/ia64/t-ia64: Add comment.
8797 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
8798 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8799 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
8800 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
8801 * config/m32c/t-m32c (LIB2ADD): Set.
8802 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8803 * config/m32r/t-m32r: Likewise.
8804 * config/m68k/fpgnulib.c: New file.
8805 * config/m68k/t-floatlib (LIB2ADD): Set.
8806 (xfgnulib.c): New target.
8807 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
8808 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
8809 * config/mep/t-mep (LIB2ADD): Set.
8810 * config/microblaze/divsi3.asm: Rename to divsi3.S.
8811 * config/microblaze/moddi3.asm: Rename to moddi3.S.
8812 * config/microblaze/modsi3.asm: Rename to modsi3.S.
8813 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
8814 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
8815 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
8816 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
8817 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
8818 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
8819 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
8820 New files.
8821 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
8822 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
8823 * config/pa/fptr.c, config/pa/lib2funcs.S,
8824 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
8825 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
8826 (LIB2ADD, LIB2ADD_ST): Set.
8827 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
8828 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
8829 Set.
8830 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
8831 * config/pdp11/t-pdp11: New file.
8832 * config/picochip/libgccExtras/adddi3.S,
8833 config/picochip/libgccExtras/ashlsi3.S,
8834 config/picochip/libgccExtras/ashrsi3.S,
8835 config/picochip/libgccExtras/clzsi2.S,
8836 config/picochip/libgccExtras/cmpsi2.S,
8837 config/picochip/libgccExtras/divmod15.S,
8838 config/picochip/libgccExtras/divmodhi4.S,
8839 config/picochip/libgccExtras/divmodsi4.S,
8840 config/picochip/libgccExtras/lshrsi3.S,
8841 config/picochip/libgccExtras/parityhi2.S,
8842 config/picochip/libgccExtras/popcounthi2.S,
8843 config/picochip/libgccExtras/subdi3.S,
8844 config/picochip/libgccExtras/ucmpsi2.S,
8845 config/picochip/libgccExtras/udivmodhi4.S,
8846 config/picochip/libgccExtras/udivmodsi4.S: New files.
8847 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
8848 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
8849 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
8850 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
8851 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
8852 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
8853 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
8854 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
8855 files.
8856 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
8857 (HOST_LIBGCC2_CFLAGS): Set.
8858 * config/rs6000/t-darwin64: New file.
8859 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
8860 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
8861 * config/rs6000/t-ppccomm (LIB2ADD): Add
8862 $(srcdir)/config/rs6000/tramp.S.
8863 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
8864 Add $(srcdir)/config/rs6000/eabi.S.
8865 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
8866 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
8867 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
8868 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
8869 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
8870 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
8871 * config/rs6000/tramp.S: New file.
8872 * config/s390/t-tpf: Remove.
8873 * config/sh/linux-atomic.S: New file.
8874 * config/sh/t-linux (LIB2ADD): Set.
8875 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
8876 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
8877 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
8878 to unwind-dw2.c.
8879 (HOST_LIBGCC2_CFLAGS): Set.
8880 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
8881 * config/spu/divmodti4.c, config/spu/divv2df3.c,
8882 config/spu/float_disf.c, config/spu/float_unsdidf.c,
8883 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
8884 config/spu/mfc_multi_tag_release.c,
8885 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
8886 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
8887 config/spu/multi3.c: New files.
8888 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
8889 (HOST_LIBGCC2_CFLAGS): Set.
8890 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
8891 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
8892 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
8893 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
8894 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
8895 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
8896 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
8897 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
8898 config/stormy16/umodsi3.c: New files.
8899 * config/xtensa/lib2funcs.S: New file.
8900 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
8901 * config/xtensa/t-xtensa (LIB2ADD): Set.
8902 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
8903 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
8904 Add t-freebsd-thread to tmake_file for posix threads.
8905 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
8906 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
8907 (*-*-lynxos*): Likewise.
8908 (*-*-netbsd*): Likewise.
8909 (*-*-openbsd*): Likewise.
8910 Add t-openbsd-thread to tmake_file for posix threads.
8911 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
8912 (*-*-vxworks*): Set tmake_file.
8913 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8914 (alpha*-*-freebsd*): Likewise.
8915 (alpha*-*-netbsd*): Likewise.
8916 (alpha*-*-openbsd*): Likewise.
8917 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
8918 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
8919 (alpha*-dec-*vms*): Likewise.
8920 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
8921 (bfin*-elf*): Add bfin/t-elf to tmake_file.
8922 (bfin*-uclinux*): Likewise.
8923 (bfin*-linux-uclibc*): Likewise.
8924 (crisv32-*-elf): Add cris/t-cris to tmake_file.
8925 (crisv32-*-none): Likewise.
8926 (cris-*-elf): Likewise.
8927 (cris-*-none): Likewise.
8928 (cris-*-linux*, crisv32-*-linux*): Likewise.
8929 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
8930 tmake_file.
8931 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
8932 tmake_file.
8933 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
8934 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
8935 (x86_64-*-elf*): Likewise.
8936 (i[34567]86-*-nto-qnx*): Likewise.
8937 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
8938 win32 threads.
8939 (x86_64-*-mingw*): Likewise.
8940 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
8941 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
8942 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
8943 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
8944 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
8945 tmake_file.
8946 (mipsisa64sr71k-*-elf*): Likewise.
8947 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
8948 (mips-*-elf*, mipsel-*-elf*): Likewise.
8949 (mips64-*-elf*, mips64el-*-elf*): Likewise.
8950 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
8951 (mips*-*-rtems*): Likewise.
8952 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
8953 to tmake_file.
8954 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
8955 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
8956 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
8957 (spu-*-elf*): Likewise.
8958 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
8959
45b86625
RO
89602011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8961
8962 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
8963 $(srcdir) to refer to $(LIB1ASMSRC).
8964 Use $<.
8965 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
8966 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
8967 config/arm/lib1funcs.S: New files.
8968 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
8969 * config/arm/t-arm: New file.
8970 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
8971 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
8972 config/arm/t-strongarm-elf: New files.
8973 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
8974 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
8975 * config/avr/lib1funcs.S: New file.
8976 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8977 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
8978 * config/c6x/lib1funcs.S: New file.
8979 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8980 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
8981 * config/frv/lib1funcs.S: New file.
8982 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
8983 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
8984 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
8985 * config/ia64/__divxf3.asm: Rename to ...
8986 * config/ia64/__divxf3.S: ... this.
8987 Adapt lib1funcs.asm filename.
8988 * config/ia64/_fixtfdi.asm: Rename to ...
8989 * config/ia64/_fixtfdi.S: ... this.
8990 Adapt lib1funcs.asm filename.
8991 * config/ia64/_fixunstfdi.asm: Rename to ...
8992 * config/ia64/_fixunstfdi.S: ... this.
8993 Adapt lib1funcs.asm filename.
8994 * config/ia64/_floatditf.asm: Rename to ...
8995 * config/ia64/_floatditf.S: ... this.
8996 Adapt lib1funcs.asm filename.
8997 * config/ia64/lib1funcs.S: New file.
8998 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
8999 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9000 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
9001 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
9002 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
9003 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
9004 * config/mep/lib1funcs.S: New file.
9005 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9006 * config/mips/mips16.S: New file.
9007 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9008 * config/pa/milli64.S: New file.
9009 * config/pa/t-linux, config/pa/t-linux64: New files.
9010 * config/picochip/lib1funcs.S: New file.
9011 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9012 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
9013 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
9014 * config/sh/t-netbsd: New file.
9015 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
9016 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
9017 * config/sh/t-sh64: New file.
9018 * config/sparc/lb1spc.S: New file.
9019 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
9020 filename.
9021 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
9022 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
9023 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
9024 config/xtensa/lib1funcs.S: New files.
9025 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
9026 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
9027 tmake_file.
9028 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
9029 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
9030 (arm*-*-linux*): Likewise.
9031 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
9032 arm*-*-linux-*eabi, add arm/t-linux otherwise.
9033 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
9034 (arm*-*-ecos-elf): Likewise.
9035 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9036 (arm*-*-rtems*): Likewise.
9037 (arm*-*-elf): Likewise.
9038 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
9039 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
9040 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
9041 (bfin*-uclinux*): Likewise.
9042 (bfin*-linux-uclibc*): Likewise.
9043 (bfin*-rtems*): Likewise.
9044 (bfin*-*): Likewise.
9045 (fido-*-elf): Merge into m68k-*-elf*.
9046 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
9047 (frv-*-*linux*): Add frv/t-frv to tmake_file.
9048 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
9049 (h8300-*-elf*): Likewise.
9050 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
9051 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
9052 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
9053 (i[34567]86-*-mingw*): Likewise.
9054 (x86_64-*-mingw*): Likewise.
9055 (i[34567]86-*-interix3*): Likewise.
9056 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
9057 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
9058 (m68k-*-elf*): Also handle fido-*-elf.
9059 Add m68k/t-floatlib to tmake_file.
9060 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
9061 (m68k-*-linux*): Likewise.
9062 (m68k-*-rtems*): Likewise.
9063 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
9064 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
9065 sh64*-*-*.
9066 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
9067 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
9068 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
9069 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
9070 sh/t-netbsd to tmake_file.
9071 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
9072 (sh-*-rtems*): Add sh/t-sh to tmake_file.
9073 (sh-wrs-vxworks): Likewise.
9074 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
9075 *-leon[3-9]*.
9076 (v850*-*-*): Add v850/t-v850 to tmake_file.
9077 (vax-*-linux*): Add vax/t-linux to tmake_file.
9078 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
9079
5f73c6cc
RO
90802011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9081
9082 * crtstuff.c: New file.
9083 * Makefile.in (CRTSTUFF_CFLAGS): Define.
9084 (CRTSTUFF_T_CFLAGS): Define.
9085 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
9086 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
9087 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
9088 crtstuff.c.
9089 Use $<.
9090 (crtbeginT.o): Use $(objext).
9091 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
9092 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
9093 (gcc-extra-parts): Remove.
9094 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
9095 Set extra_parts.
9096 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9097 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
9098 Add t-crtstuff-pic to tmake_file.
9099 (*-*-lynxos*): New case.
9100 Set tmake_file, extra_parts.
9101 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
9102 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
9103 *-*-netbsdelf[2-9]*.
9104 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
9105 (*-*-rtems*): Set extra_parts.
9106 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
9107 (*-*-uclinux*): New case.
9108 Set extra_parts.
9109 (*-*-vms*): New case.
9110 Set tmake_file, extra_parts.
9111 (*-*-elf): Set extra_parts.
9112 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
9113 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
9114 vms/t-vms64.
9115 Set extra_parts.
9116 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
9117 Set extra_parts.
9118 (arm*-*-freebsd*): Add t-crtin to tmake_file.
9119 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
9120 (arm-wrs-vxworks): Append to tmake_file.
9121 Set extra_parts.
9122 (arm*-*-uclinux*): Set extra_parts.
9123 (arm*-*-ecos-elf): Likewise.
9124 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
9125 arm*-*-eabi*.
9126 (arm*-*-rtems*): Set extra_parts.
9127 (arm*-*-elf): Likewise.
9128 (avr-*-rtems*): Clear extra_parts.
9129 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
9130 Set extra_parts.
9131 (bfin*-uclinux*): Likewise.
9132 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
9133 (bfin*-rtems*): Append to tmake_file.
9134 Set extra_parts.
9135 (bfin*-*): Likewise.
9136 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
9137 (crisv32-*-elf): ... this.
9138 (crisv32-*-none): ... this.
9139 (cris-*-elf, cris-*-none): New cases.
9140 Add cris/t-elfmulti to tmake_file.
9141 (fr30-*-elf): Append to tmake_file.
9142 Set extra_parts.
9143 (frv-*-elf): Append to tmake_file, add frv/t-frv.
9144 Set extra_parts.
9145 (h8300-*-rtems*): Append to tmake_file.
9146 Set extra_parts.
9147 (h8300-*-elf*): Likewise.
9148 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
9149 Set extra_parts.
9150 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
9151 Set extra_parts.
9152 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
9153 (x86_64-*-elf*): Likewise.
9154 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
9155 (x86_64-*-freebsd*): Likewise.
9156 (x86_64-*-netbsd*): Likewise.
9157 (i[34567]86-*-linux*): Likewise.
9158 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
9159 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
9160 (x86_64-*-linux*): Likewise.
9161 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
9162 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
9163 tmake_file.
9164 Set extra_parts.
9165 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
9166 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
9167 Append to extra_parts, remove crtbegin.o, crtend.o.
9168 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
9169 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
9170 crtend.o, crtbeginS.o, crtendS.o.
9171 (ia64*-*-linux*): Comment extra_parts.
9172 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
9173 Set extra_parts.
9174 (iq2000*-*-elf*): Clear extra_parts.
9175 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
9176 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
9177 (m32r-*-elf*, m32r-*-rtems*): Split off ...
9178 (m32r-*-rtems*): ... this.
9179 Add m32r/t-m32r to tmake_file.
9180 (m68k-*-elf*): Add t-crtin to tmake_file.
9181 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
9182 (mcore-*-elf): Likewise.
9183 (microblaze*-*-*): Set extra_parts.
9184 (mips*-sde-elf*): New case.
9185 Set tmake_file, extra_parts.
9186 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
9187 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
9188 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
9189 tmake_file.
9190 Set extra_parts.
9191 (mipsisa64sr71k-*-elf*): Likewise.
9192 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
9193 (mips-*-elf*, mipsel-*-elf*): Likewise.
9194 (mips64-*-elf*, mips64el-*-elf*): Likewise.
9195 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
9196 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
9197 (mips*-*-rtems*): Likewise.
9198 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
9199 (moxie-*-*): Split into ...
9200 (moxie-*-elf, moxie-*-uclinux*): ... this.
9201 Add to extra_parts, remove crtbegin.o, crtend.o.
9202 (moxie-*-rtems*): New case.
9203 Set tmake_file.
9204 Clear extra_parts.
9205 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
9206 Set extra_parts.
9207 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
9208 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
9209 tmake_file.
9210 Set extra_parts.
9211 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
9212 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
9213 Set extra_parts.
9214 (powerpc-*-eabisim*): Likewise.
9215 (powerpc-*-elf*): Likewise.
9216 (powerpc-*-eabialtivec*): Likewise.
9217 (powerpc-xilinx-eabi*): Likewise.
9218 (powerpc-*-eabi*): Likewise.
9219 (powerpc-*-rtems*): Likewise.
9220 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
9221 tmake_file.
9222 Set extra_parts.
9223 (powerpc-*-lynxos*): Add to tmake_file.
9224 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
9225 rs6000/t-crtstuff, t-crtstuff-pic.
9226 Set extra_parts.
9227 (powerpcle-*-eabisim*): Likewise.
9228 (powerpcle-*-eabi*): Likewise.
9229 (rx-*-elf): Remove extra_parts.
9230 (s390x-ibm-tpf*): Set extra_parts.
9231 (score-*-elf): Set extra_parts.
9232 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9233 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9234 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9235 (sh64l*-*-netbsd*): Split into ...
9236 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
9237 Add t-crtstuff-pic to tmake_file.
9238 Set extra_parts.
9239 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
9240 Set extra_parts.
9241 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
9242 (sparc-*-elf*): Remove t-crtin from tmake_file.
9243 Add to extra_parts, remove crtbegin.o, crtend.o.
9244 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
9245 (sparc64-*-linux*): Likewise.
9246 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
9247 Add to extra_parts, remove crtbegin.o, crtend.o.
9248 (sparc64-*-elf*): Remove t-crtin from tmake_file.
9249 Add to extra_parts, remove crtbegin.o, crtend.o.
9250 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
9251 Add to extra_parts, remove crtbegin.o, crtend.o.
9252 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
9253 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
9254 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
9255 Set extra_parts.
9256 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
9257 Set extra_parts.
9258 (tic6x-*-*): Change to ...
9259 (tic6x-*-elf): ... this.
9260 Set extra_parts.
9261 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
9262 Set extra_parts.
9263 (am33_2.0-*-linux*): Add comment.
9264 (mep*-*-*): Add mep/t-mep to tmake_file.
9265 Set extra_parts.
9266 * config/alpha/t-vms: New file.
9267 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
9268 * config/arm/crti.S, config/arm/crtn.S: New files.
9269 * config/bfin/crti.S, config/bfin/crtn.S: New files.
9270 * config/bfin/crtlibid.S: New file.
9271 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
9272 * config/c6x/crti.S, config/c6x/crtn.S: New files.
9273 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
9274 (crti.o, crtin.o): New rules.
9275 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9276 * config/c6x/t-uclinux: New file.
9277 * config/cris/t-elfmulti: New file.
9278 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
9279 * config/fr30/crti.S, config/fr30/crtn.S: New files.
9280 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
9281 * config/frv/t-frv: New file.
9282 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
9283 * config/h8300/crti.S, config/h8300/crtn.S: New files.
9284 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
9285 New files.
9286 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
9287 refer to cygming-crtbegin.c, cygming-crtend.c.
9288 Use $<.
9289 * config/i386/t-nto: New file.
9290 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
9291 * config/ia64/crti.S, config/ia64/crtn.S: New files.
9292 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
9293 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
9294 Use .S extension.
9295 Use $<.
9296 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
9297 (crtinitS.o): New rule.
9298 * config/ia64/vms-crtinit.S: New file.
9299 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
9300 * config/m32r/initfini.c: New file.
9301 * config/m32r/t-linux, config/m32r/t-m32r: New files.
9302 * config/m68k/crti.S, config/m68k/crtn.S: New files.
9303 * config/mcore/crti.S, config/mcore/crtn.S: New files.
9304 * config/mep/t-mep: New file.
9305 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
9306 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
9307 * config/mips/crti.S, config/mips/crtn.S: New files.
9308 * config/mips/t-crtstuff: New file.
9309 * config/mmix/crti.S, config/mmix/crtn.S: New files.
9310 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
9311 (CUSTOM_CRTIN): Set.
9312 ($(T)crti.o, $(T)crtn.o): Remove $(T),
9313 dependencies.
9314 Use $(srcdir) to refer to crti.S, crtn.S.
9315 Use .S extension, $<.
9316 * config/moxie/crti.asm: Rename to ...
9317 * config/moxie/crti.S: ... this.
9318 * config/moxie/crtn.asm: Rename to ...
9319 * config/moxie/crtn.S: ... this.
9320 * config/moxie/t-moxie: Remove.
9321 * config/pa/stublib.c: New file.
9322 * config/pa/t-stublib, config/pa/t-stublib64: New files.
9323 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
9324 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
9325 * config/rs6000/t-crtstuff: New file.
9326 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
9327 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
9328 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
9329 Make output file explicit.
9330 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
9331 Make output file explicit.
9332 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
9333 Make output file explicit.
9334 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
9335 Make output file explicit.
9336 * config/score/crti.S, config/score/crtn.S: New files.
9337 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
9338 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
9339 files.
9340 * config/sh/t-sh, config/sh/t-superh: New files.
9341 * config/sparc/t-linux64: New file.
9342 * config/spu/cache.S, config/spu/cachemgr.c: New files.
9343 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
9344 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
9345 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
9346 * config/t-crtin: Remove.
9347 * config/t-crtstuff-pic: New file.
9348 * config/t-sol2 (CUSTOM_CRTIN): Set.
9349 (crti.o, crtn.o): New rules.
9350 * config/vms/t-vms: New file.
9351 * config/vms/vms-ucrt0.c: New file.
9352 * config/xtensa/t-elf: New file.
9353
b040f2be
RO
93542011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9355
9356 * Makefile.in (SHLIB_NM_FLAGS): Set.
9357 * mkmap-flat.awk, mkmap-symver.awk: New files.
9358 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
9359 exceptions.
9360 * configure: Regenerate.
9361 * config/libgcc-glibc.ver: New file.
9362 * config/libgcc-libsystem.ver: New file.
9363 * config/t-libunwind (SHLIB_LC): Set.
9364 * config/t-linux: New file.
9365 * config/t-slibgcc (INSTALL_SHLIB): New.
9366 (SHLIB_INSTALL): Use it.
9367 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
9368 to mkmap-symver.awk.
9369 (SHLIB_MAPFILES): Don't append, adapt pathname.
9370 (SHLIB_VERPFX): Set.
9371 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
9372 to mkmap-symver.awk.
9373 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
9374 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
9375 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
9376 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
9377 to mkmap-flat.awk.
9378 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
9379 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
9380 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
9381 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
9382 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
9383 * config/i386/libgcc-darwin.10.4.ver,
9384 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
9385 New files.
9386 * config/i386/t-darwin: Remove.
9387 * config/i386/t-darwin64: Likewise.
9388 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
9389 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
9390 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
9391 * config/i386/t-linux: New file.
9392 * config/i386/t-mingw32: New file.
9393 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
9394 * config/ia64/t-glibc: Rename to ...
9395 * config/ia64/t-linux: ... this.
9396 (SHLIB_MAPFILES): Set.
9397 * config/ia64/t-glibc-libunwind: Rename to ...
9398 * config/ia64/t-linux-libunwind: ... this.
9399 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
9400 * config/ia64/t-slibgcc-hpux: New file.
9401 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
9402 * config/m68k/t-slibgcc-elf-ver: New file.
9403 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
9404 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
9405 to mkmap-flat.awk.
9406 * config/pa/t-slibgcc-hpux: New file.
9407 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
9408 files.
9409 * config/rs6000/libgcc-darwin.10.4.ver,
9410 config/rs6000/libgcc-darwin.10.5.ver: New files.
9411 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
9412 config/rs6000/libgcc-glibc.ver.
9413 * config/rs6000/libgcc-ppc64.ver: Rename to
9414 config/rs6000/libgcc-ibm-ldouble.ver.
9415 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
9416 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
9417 * config/rs6000/t-ldbl128: Rename to ...
9418 * config/rs6000/t-linux: ... this.
9419 (SHLIB_MAPFILES): Adapt filename.
9420 * config/rs6000/t-slibgcc-aix: New file.
9421 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
9422 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
9423 libgcc-excl.ver, libgcc-glibc.ver.
9424 (SHLIB_LINK, SHLIB_INSTALL): Remove.
9425 * config/sparc/libgcc-glibc.ver: New file.
9426 * config/sparc/t-linux: New file.
9427 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
9428 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
9429 t-slibgcc-elf-ver to tmake_file.
9430 Add t-slibgcc-nolc-override to tmake_file for posix threads on
9431 *-*-freebsd[34].
9432 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9433 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
9434 t-slibgcc-elf-ver, t-linux to tmake_file.
9435 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
9436 tmake_file.
9437 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
9438 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
9439 (alpha*-dec-*vms*): Likewise.
9440 (arm*-*-freebsd*): Append to tmake_file.
9441 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
9442 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
9443 arm*-*-linux-*eabi.
9444 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
9445 tmake_file for arm*-*-symbianelf*.
9446 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
9447 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
9448 cris/t-linux.
9449 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
9450 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
9451 pa/t-slibgcc-dwarf-ver to tmake_file.
9452 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
9453 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
9454 (hppa*64*-*-hpux11*): Likewise.
9455 (hppa[12]*-*-hpux11*): Likewise.
9456 (x86_64-*-darwin*): Don't override tmake_file, but only keep
9457 i386/t-crtpc, i386/t-crtfm.
9458 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
9459 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9460 to tmake_file.
9461 Add i386/t-cygwin to tmake_file.
9462 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
9463 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
9464 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
9465 to tmake_file.
9466 Add i386/t-mingw32 to tmake_file.
9467 (x86_64-*-mingw*): Likewise.
9468 (ia64*-*-freebsd*): Append to tmake_file.
9469 (ia64*-*-linux*): Append to tmake_file.
9470 Replace ia64/t-glibc by ia64/t-linux.
9471 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
9472 system libunwind.
9473 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
9474 t-slibgcc-hpux to tmake_file.
9475 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
9476 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
9477 (m32rle-*-linux*): Likewise.
9478 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
9479 sjlj exceptions.
9480 (microblaze*-linux*): New case.
9481 Append to tmake_file, add t-slibgcc-nolc-override.
9482 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
9483 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
9484 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
9485 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9486 rs6000/t-slibgcc-aix to tmake_file.
9487 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9488 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9489 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9490 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9491 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9492 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
9493 sh*-*-linux*.
9494 (sparc-*-linux*): Append to tmake_file for *-leon*.
9495 Add sparc/t-linux to tmake_file for non-Leon targets.
9496 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
9497 (tic6x-*-uclinux): New case.
9498 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
9499 (tic6x-*-*): Add c6x/t-elf to tmake_file.
9500 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
9501 (am33_2.0-*-linux*): Append to tmake_file.
9502 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
9503 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
9504 x86_64-*-kfreebsd*-gnu.
9505 Add i386/t-linux to tmake_file.
9506
18b4bd7b
ILT
95072011-10-28 Ian Lance Taylor <iant@google.com>
9508
9509 * config/i386/morestack.S: Correct CFI information to do proper
9510 returns throughout function. In 32-bit mode, save %ebx so that it
9511 is restored on unwind.
9512
5b2d9d90
BS
95132011-10-25 Bernd Schmidt <bernds@codesourcery.com>
9514
9515 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
9516 case where B3 isn't the return register.
9517
0d53e346
BS
9518 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
9519 logic for doubleword pops.
9520
cbffbd59
AT
95212011-10-25 Andreas Tobler <andreast@fgznet.ch>
9522
9523 * config/rs6000/t-freebsd: Add wildcard.
9524
56dc349e
PB
95252011-10-21 Paul Brook <paul@codesourcery.com>
9526
9527 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
9528
1e06b07d
UB
95292011-10-16 Uros Bizjak <ubizjak@gmail.com>
9530 Eric Botcazou <ebotcazou@adacore.com>
9531
9532 PR target/50737
9533 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
9534 fs->signal_frame to 1.
9535
b5204884
ILT
95362011-10-07 Ian Lance Taylor <iant@google.com>
9537
9538 * generic-morestack-thread.c: #include <errno.h>.
9539
91a639a1
ILT
95402011-10-07 Ian Lance Taylor <iant@google.com>
9541
9542 PR target/46093
9543 * generic-morestack.c (__generic_morestack): Make sure the segment
9544 is large enough for both the stack frame and the copied
9545 parameters.
9546
cc49116d
RO
95472011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9548
9549 PR bootstrap/49804
9550 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
9551 extra_parts.
9552
2996d8c3
NC
95532011-09-28 Nick Clifton <nickc@redhat.com>
9554
9555 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
9556 64-bit doubles are not enabled.
9557 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
9558 and floatunsisf functions.
9559
1e874273 95602011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 9561
1e874273
PB
9562 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
9563 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
9564 * unwind-arm-common.inc: New file.
9565 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
9566 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
9567 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
9568 * config/c6x/libunwind.S: New file.
9569 * config/c6x/pr-support.c: New file.
9570 * config/c6x/unwind-c6x.c: New file.
9571 * config/c6x/unwind-c6x.h: New file.
9572 * config/c6x/t-c6x-elf: New file.
9573
f70c879a
UB
95742011-08-23 Uros Bizjak <ubizjak@gmail.com>
9575
9576 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
9577 (ASM_DIVZERO): Ditto.
9578 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
9579
c55b374b
RS
95802011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
9581
9582 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
9583
1e138510
RS
95842011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
9585
9586 PR target/50090
9587 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
9588 instead of an assembly one.
9589
1563503d
PB
95902011-08-12 Paolo Bonzini <bonzini@gnu.org>
9591
9592 PR bootstrap/50047
9593 * Makefile.in (install-unwind_h): Create
9594 $(gcc_objdir)/include/unwind.h atomically.
9595
3627ac1a
RO
95962011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9597
9598 * Makefile.in (install-unwind_h): Remove destination file first.
9599
c6412d86
RO
96002011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9601
9602 * sync.c: New file.
9603 * config/mips/t-mips16: New file.
9604 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
9605 (mips*-*-linux*): Likewise.
9606 (mips*-sde-elf*): Likewise.
9607 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
9608 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
9609 Add mips/t-mips16 to tmake_file.
9610 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
9611 (mips-*-elf*): Likewise.
9612 (mips64-*-elf*): Likewise.
9613 (mips64orion-*-elf*): Likewise.
9614 (mips*-*-rtems*): Likewise.
9615 (mipstx39-*-elf*): Likewise.
9616 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
9617 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
9618 LIBGCC_SYNC_CFLAGS.
9619 Use $(srcdir) to refer to sync.c.
9620 Use $<.
9621 ($(libgcc-sync-funcs-o)): Likewise.
9622 ($(libgcc-sync-size-funcs-s-o)): Likewise.
9623 ($(libgcc-sync-funcs-s-o)): Likewise.
9624
3cb6e5bd
AS
96252011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9626
9627 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
9628 t-libunwind.
9629
cca2207a
L
96302011-08-08 H.J. Lu <hongjiu.lu@intel.com>
9631
9632 PR other/48007
9633 * config/i386/value-unwind.h: New.
9634
ed39fbad
RS
96352011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
9636
9637 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
9638 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
9639 Add to tmake_file rather than overriding it.
9640
aca0b0b3
RO
96412011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9642
9643 * config/t-softfp: Remove.
9644 * soft-fp: Moved from ../gcc/config.
9645 * soft-fp/README: Remove t-softfp reference.
9646 * soft-fp/t-softfp: Move to config/t-softfp.
9647 (softfp_machine_header): Remove.
9648 (softfp_file_list): Remove config subdir.
9649 (soft-fp-objects): New variable.
9650 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
9651 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
9652 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
9653 * config/t-softfp-excl: New file.
9654 * config/t-softfp-sfdf: New file.
9655 * config/t-softfp-tf: New file.
9656 * config/no-sfp-machine.h: New file.
9657 * config/arm/sfp-machine.h: New file.
9658 * config/arm/t-softfp: New file.
9659 * config/c6x/sfp-machine.h: New file.
9660 * config/i386/32/t-fprules-softfp: Rename to ...
9661 * config/i386/32/t-softfp: ... this.
9662 (tifunctions, LIB2ADD): Remove.
9663 (softfp_int_modes): Override.
9664 * config/i386/64/t-softfp-compat (tf-functions): Remove config
9665 subdir.
9666 * config/i386/64/eqtf2.c: Likewise.
9667 * config/i386/64/getf2.c: Likewise.
9668 * config/i386/64/letf2.c: Likewise.
9669 * config/ia64/sft-machine.h: New file.
9670 * config/ia64/t-fprules-softfp: Rename to ...
9671 * config/ia64/t-softfp: ... this.
9672 * config/lm32/sfp-machine.h: New file.
9673 * config/moxie/t-moxie-softfp: Remove.
9674 * config/rs6000/ibm-ldouble-format: New file.
9675 * config/rs6000/ibm-ldouble.c: New file.
9676 * config/rs6000/libgcc-ppc-glibc.ver: New file
9677 * config/rs6000/libgcc-ppc64.ver: New file
9678 * config/rs6000/sfp-machine.h: New file.
9679 * config/rs6000/t-freebsd: New file.
9680 * config/rs6000/t-ibm-ldouble: New file.
9681 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
9682 libgcc-ppc-glibc.ver.
9683 * config/rs6000/t-linux64: New file.
9684 * config/rs6000/t-ppccomm (LIB2ADD): Add
9685 $(srcdir)/config/rs6000/ibm-ldouble.c.
9686 * config/rs6000/t-ppccomm-ldbl: New file.
9687 * config/score/sfp-machine.h: New file.
9688 * config.host (sfp_machine_header): Explain.
9689 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
9690 t-softfp to tmake_file.
9691 (arm*-*-uclinux*): Likewise.
9692 (arm*-*-ecos-elf): Likewise.
9693 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
9694 (arm*-*-rtems*): Likewise.
9695 (arm*-*-elf): Likewise.
9696 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
9697 in tmake_file.
9698 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
9699 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
9700 (lm32-*-uclinux*): Likewise.
9701 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
9702 t-softfp-excl, t-softfp.
9703 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
9704 (powerpc64-*-darwin*): Likewise.
9705 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
9706 to tmake_file.
9707 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
9708 tmake_file.
9709 (powerpc-*-eabisim*): Likewise.
9710 (powerpc-*-elf*): Likewise.
9711 (powerpc-*-eabialtivec*): Likewise.
9712 (powerpc-xilinx-eabi*): Likewise.
9713 (powerpc-*-rtems*): Likewise.
9714 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
9715 t-softfp-excl, t-softfp to tmake_file.
9716 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
9717 rs6000/t-ppccomm-ldbl to tmake_file.
9718 (powerpcle-*-elf*): Likewise.
9719 (powerpcle-*-eabisim*): Likewise.
9720 (powerpcle-*-eabi*): Likewise.
9721 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9722 rs6000/t-ibm-ldouble to tmake_file.
9723 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9724 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9725 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
9726 (tic6x-*-*): Likewise.
9727 (i[34567]86-*-darwin*, x86_64-*-darwin*,
9728 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
9729 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
9730 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
9731 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
9732 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
9733 t-softfp to tmake_file.
9734 * configure.ac (sfp_machine_header): Provide default if unset.
9735 Substitute.
9736 Link sfp-machine.h to config/$sfp_machine_header.
9737 * configure: Regenerate.
9738
569dc494
RO
97392011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9740
9741 * Makefile.in (double_type_size, long_double_type_size): Set.
9742 Remove $(fpbit-in-libgcc) support.
9743 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
9744 (fpbit-src): New variable.
9745 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
9746 Compile with -DFLOAT $(FPBIT_CFLAGS).
9747 Use $<.
9748 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
9749 Compile with $(FPBIT_CFLAGS).
9750 Use $<.
9751 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
9752 Compile with -DFLOAT $(TPBIT_CFLAGS).
9753 Use $<.
9754 * configure.ac (double_type_size, long_double_type_size):
9755 Determine and substitute.
9756 * configure: Regenerate.
9757 * fp-bit.c, fp-bit.h: New files.
9758 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
9759 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
9760 * config/mips/t-mips: New file.
9761 * config/mips/t-sdemtk: New file.
9762 * config/rs6000/ppc64-fp.c: New file.
9763 * config/rs6000/t-darwin (LIB2ADD): Add
9764 $(srcdir)/config/rs6000/ppc64-fp.c.
9765 * config/rs6000/t-ppc64-fp: New file.
9766 * config/rx/rx-lib.h: New file.
9767 * config/rx/t-rx (FPBIT): Set to true.
9768 ($(gcc_objdir)/fp-bit.c): Remove.
9769 (DPBIT): Set to true only with -m64bit-doubles.
9770 ($(gcc_objdir)/dp-bit.c): Remove.
9771 * config/sparc/t-softfp: Remove.
9772 * config/spu/t-elf: New file.
9773 * config/t-fdpbit, config/t-fpbit: New files.
9774 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
9775 (mips*-*-*): Likewise.
9776 (arm-wrs-vxworks): Likewise.
9777 (arm*-*-freebsd*): Likewise.
9778 (avr-*-rtems*): Add t-fpbit to tmake_file.
9779 (avr-*-*): Likewise.
9780 (bfin*-elf*): Add t-fdpbit to tmake_file.
9781 (bfin*-uclinux*): Likewise.
9782 (bfin*-linux-uclibc*): Likewise.
9783 (bfin*-rtems*): New case.
9784 Add t-fdpbit to tmake_file.
9785 (bfin*-*): Add t-fdpbit to tmake_file.
9786 (crisv32-*-elf): Likewise.
9787 (cris-*-linux*): Likewise.
9788 (fr30-*-elf): Likewise.
9789 (frv-*-elf, frv-*-*linux*): Likewise.
9790 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
9791 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
9792 (m32r-*-elf*): Likewise.
9793 (m32rle-*-elf*): Likewise.
9794 (m32r-*-linux*): Likewise.
9795 (m32rle-*-linux*): Likewise.
9796 (mcore-*-elf): Add t-fdpbit to tmake_file.
9797 (microblaze*-*-*): Likewise.
9798 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
9799 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
9800 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
9801 Fix typo.
9802 Add mips/t-tpbit to tmake-file.
9803 (mips*-*-linux*): Fix typo.
9804 (mips*-sde-elf*): New case
9805 Add mips/t-sdemtk unless using newlib.
9806 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
9807 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
9808 (mn10300-*-*): Likewise.
9809 (pdp11-*-*): Likewise.
9810 (picochip-*-*): Add t-fpbit to tmake_file.
9811 (powerpc-*-eabisimaltivec*): Likewise.
9812 (powerpc-*-eabisim*): Likewise.
9813 (powerpc-*-elf*): Likewise.
9814 (powerpc-*-eabialtivec*): Likewise.
9815 (powerpc-xilinx-eabi*): New case.
9816 Add t-fdpbit to tmake_file.
9817 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
9818 (powerpc-*-rtems*): Likewise.
9819 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
9820 tmake_file.
9821 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
9822 tmake_file.
9823 (powerpc-*-lynxos*): Likewise.
9824 (powerpcle-*-elf*): Likewise.
9825 (powerpcle-*-eabisim*): Likewise.
9826 (powerpcle-*-eabi*): Likewise.
9827 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
9828 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
9829 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9830 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9831 (rx-*-elf): Add t-fdpbit to tmake_file.
9832 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
9833 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
9834 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
9835 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
9836 sh*-*-netbsd*.
9837 (sh-*-rtems*): Add t-fdpbit to tmake_file.
9838 (sh-wrs-vxworks): Likewise.
9839 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
9840 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
9841 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
9842 (sparc64-*-rtems*): ... new case.
9843 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
9844 (spu-*-elf*): Likewise.
9845 Add spu/t-elf to tmake_file.
9846 (v850*-*-*): Add t-fdpbit to tmake_file.
9847 (xstormy16-*-elf): Likewise.
9848 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
9849 (mep*-*-*): Likewise.
9850
201cdb74
RO
98512011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9852
9853 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
9854 variables.
9855 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
9856 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
9857 (install-unwind_h): New target.
9858 (all): Depend on it.
9859 * config.host (unwind_header): New variable.
9860 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
9861 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
9862 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
9863 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
9864 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
9865 Set unwind_header.
9866 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
9867 Set unwind_header.
9868 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
9869 arm*-*-eabi*.
9870 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
9871 Set unwind_header.
9872 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
9873 (ia64*-*-freebsd*): Likewise.
9874 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
9875 tmake_file.
9876 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
9877 $with_system_libunwind.
9878 (ia64*-*-hpux*): Set tmake_file.
9879 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
9880 (picochip-*-*): Set tmake_file.
9881 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
9882 md_unwind_header.
9883 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
9884 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
9885 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
9886 (xtensa*-*-elf*): Set tmake_file.
9887 (xtensa*-*-linux*): Likewise.
9888 * configure.ac: Include ../config/unwind_ipinfo.m4.
9889 Call GCC_CHECK_UNWIND_GETIPINFO.
9890 Link unwind.h to $unwind_header.
9891 * configure: Regenerate.
9892 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
9893 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
9894 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
9895 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
9896 * config/unwind-dw2-fde-darwin.c: New file.
9897 * config/arm/libunwind.S, config/arm/pr-support.c,
9898 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
9899 config/arm/unwind-arm.h,: New files.
9900 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
9901 config/ia64/t-eh-ia64, config/ia64/t-glibc,
9902 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
9903 config/ia64/t-vms, config/ia64/unwind-ia64.c,
9904 config/ia64/unwind-ia64.h: New files.
9905 * config/picochip/t-picochip: New file.
9906 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
9907 files.
9908 * config/rs6000/t-darwin (LIB2ADDEH): Set.
9909 * config/s390/t-tpf (LIB2ADDEH): Remove.
9910 * config/t-darwin (LIB2ADDEH): Set.
9911 * config/t-eh-dw2-dip: New file.
9912 * config/t-libunwind, config/t-libunwind-elf: New files.
9913 * config/t-sol2 (LIB2ADDEH): Remove.
9914 * config/xtensa/t-xtensa: New file.
9915
40f2f11f
L
99162011-08-02 H.J. Lu <hongjiu.lu@intel.com>
9917
9918 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
9919 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
9920 long long to check rt_sigreturn syscall.
9921
bd15e32c
AM
99222011-08-02 Alan Modra <amodra@gmail.com>
9923
9924 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9925 Restore for indirect call bcrtl from correct stack slot, and only
9926 if cfa+40 isn't valid.
9927
655b30bf
JB
99282011-08-01 Julian Brown <julian@codesourcery.com>
9929
9930 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
9931 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
9932 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
9933
247eb06f
JB
99342011-08-01 Julian Brown <julian@codesourcery.com>
9935
9936 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
9937 (libgcc-std.ver.in): Use above.
9938 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
9939 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
9940 throughout file.
9941 * config/t-fixedpoint-gnu-prefix: New file.
9942 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
9943 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
9944 instead of __PFX__.
9945
02a8fe00
L
99462011-07-28 H.J. Lu <hongjiu.lu@intel.com>
9947
9948 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
9949 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
9950 for x86-64. Properly check __x86_64__ and __LP64__.
9951
5fce9126
L
99522010-07-28 H.J. Lu <hongjiu.lu@intel.com>
9953
9954 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
9955 version.
9956 (_FP_WS_TYPE): Likewise.
9957 (_FP_I_TYPE): Likewise.
9958
2374a88a
AM
99592011-07-28 Alan Modra <amodra@gmail.com>
9960
9961 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
9962 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
9963 in a plt call stub. Do restore r2 if stopped on bctrl.
9964
e44dbbe1
RO
99652011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9966
9967 * config.host (i[3456x]86-*-netware*): Remove.
9968 * config/i386/netware-crt0.c, config/i386/t-nwld,
9969 config/i386/t-slibgcc-nwld: Remove.
9970
bcead286
BS
99712011-07-15 Bernd Schmidt <bernds@codesourcery.com>
9972
9973 * config.host: Handle tic6x-*-*.
9974 * config/c6x/c6x-abi.h: New file.
9975
b3fe1584
RO
99762011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9977
9978 * config/i386/crtprec.c: New file.
9979 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
9980 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
9981 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
9982 (x86_64-*-darwin*): Likewise.
9983 (i[34567]86-*-solaris2*: Likewise.
9984
35d8090d
RO
99852011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9986
9987 * config/alpha/crtfastmath.c: New file.
9988 * config/i386/crtfastmath.c: New file.
9989 * config/ia64/crtfastmath.c: New file.
9990 * config/mips/crtfastmath.c: New file.
9991 * config/sparc/crtfastmath.c: New file.
9992
9993 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
9994 crtfastmath.c.
9995 Add -frandom-seed=gcc-crtfastmath.
9996 * config/alpha/t-crtfm: Remove.
9997 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
9998 * config/ia64/t-ia64 (crtfastmath.o): Remove.
9999
10000 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
10001 (alpha*-dec-osf5.1*): Likewise.
10002 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
10003 Add crtfastmath.o to extra_parts.
10004 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
10005 Add crtfastmath.o to extra_parts.
10006 (x86_64-*-darwin*): Likewise.
10007 (x86_64-*-mingw*): Likewise.
10008 (ia64*-*-elf*): Add t-crtfm to tmake_file.
10009 (ia64*-*-freebsd*): Likewise.
10010 (ia64*-*-linux*): Likewise.
10011 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
10012 Add crtfastmath.o to extra_parts.
10013
e141542e
RO
100142011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10015
10016 * config/darwin-crt3.o: New file.
10017 * config/rs6000/darwin-crt2.c: New file.
10018 * config/t-darwin: New file.
10019 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
10020 (crt2.o): New rule.
10021 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
10022 (powerpc-*-darwin*): Add crt2.o to extra_parts.
10023 (powerpc64-*-darwin*): Likewise.
10024
2d1efe2d
RO
100252011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10026
10027 * config/i386/netware-crt0.c: New file.
10028 * config/i386/t-nwld: Rename to ...
10029 * config/i386/t-slibgcc-nwld: ... this.
10030 * config/i386/t-nwld: New file.
10031 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
10032 tmake_file.
10033 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
10034 extra_parts.
10035
4a8bb046
RO
100362011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10037
10038 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
10039 i386/t-crtstuff.
10040 * configure: Regenerate.
10041
2d8d5935
RO
100422011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10043
10044 * dfp-bit.c, dfp-bit.h: New files.
10045 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
10046 variables.
10047 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
10048 ($(d64pbit-o)): Likewise.
10049 ($(d128pbit-o)): Likewise.
10050 * config/t-dfprules: New file.
10051 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
10052 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
10053 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10054 (x86_64-*-linux*): Likewise.
10055 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
10056 (i[34567]86-*-cygwin*): Likewise.
10057 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
10058 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10059
2c50b2c3
RO
100602011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10061
10062 * Makfile.in (LIBGCOV): New variable.
10063 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
10064 * libgcov.c: New file.
10065
a039d7c2
RO
100662011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10067
10068 * fixed-bit.c, fixed-bit.h: New files.
10069 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
10070 refer to fixed-bit.c.
10071
1e4b2746
JM
100722011-07-07 Joseph Myers <joseph@codesourcery.com>
10073
10074 * config.host (*local*): Remove.
10075
fbdd5d87
RO
100762011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10077
10078 PR target/39150
10079 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
10080 like i?86-*-solaris2.1[0-9]*.
10081 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
10082 * configure.ac (i?86-*-solaris2*): Likewise.
10083 * configure: Regenerate.
10084
9e7714f4
TS
100852011-07-06 Thomas Schwinge <thomas@schwinge.name>
10086
10087 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10088 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
10089 md_unwind_header by splitting out of...
10090 (i[34567]86-*-linux*): ... this.
10091 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
10092 Remove md_unwind_header by splitting out of...
10093 (x86_64-*-linux*): ... this.
10094
6dab9931
GJL
100952011-07-04 Georg-Johann Lay <avr@gjlay.de>
10096
10097 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
10098
4be46d19
NC
100992011-06-28 Nick Clifton <nickc@redhat.com>
10100
10101 * config.host: Recognize all V850 variants.
10102
1da9434b
UB
101032011-06-22 Uros Bizjak <ubizjak@gmail.com>
10104
10105 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
10106
e4d48a4d
RO
101072011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10108
10109 * shared-object.mk (c_flags-$o): Save c_flags.
10110 ($(base)$(objext)): Use it.
10111 ($(base)_s$(objext)): Likewise.
10112
3801c801
BS
101132011-06-21 Bernd Schmidt <bernds@codesourcery.com>
10114
10115 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
10116 * libgcc-std.ver.in (GCC_4.7.0): New section.
10117
0ad8bb3b 101182011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 10119
0ad8bb3b
GJL
10120 PR target/49313
10121 PR target/29524
10122 * config/avr/t-avr: Fix line endings.
10123 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
10124 _parityXX2.
10125
ea963999
OH
101262011-06-14 Olivier Hainque <hainque@adacore.com>
10127 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10128
10129 * config/mips/irix6-unwind.h: New file.
10130 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
10131
b11b0904
EB
101322011-06-10 Eric Botcazou <ebotcazou@adacore.com>
10133
10134 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
10135 (sparc64_fallback_frame_state): Use it.
10136 (sparc64_frob_update_context): Further adjust context.
10137 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
10138 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
10139 * config/sparc/sol2-cn.S: Likewise.
10140
10e48e39
RO
101412011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10142
10143 * enable-execute-stack-empty.c: New file.
10144 * enable-execute-stack-mprotect.c: New file.
10145 * config/i386/enable-execute-stack-mingw32.c: New file.
10146 * config.host (enable_execute_stack): New variable.
10147 Select appropriate variants.
10148 * configure.ac: Link enable-execute-stack.c to
10149 $enable_execute_stack.
10150 * configure: Regenerate.
10151 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
10152 (lib2funcs): Remove _enable_execute_stack.
10153
10c4cabc
DM
101542011-06-09 David S. Miller <davem@davemloft.net>
10155 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10156
10157 * config.host (sparc-*-linux*): Correct md_unwind_header
10158 filename.
10159 (s390x-ibm-tpf*): Fix typo.
10160
aa4203e7
RO
101612011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10162
10163 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
10164 Add crtfastmath.o to extra_parts.
10165 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
10166 mips/t-crtfm.
10167 * config/mips/t-crtfm: Remove.
10168
0defd786
JDA
101692011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10170
10171 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
10172
82f247af
KK
101732011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
10174
10175 * config.host (sh*-*-linux*): Fix typo.
10176
58cd1d70
RO
101772011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10178
10179 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
10180 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
10181 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
10182 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
10183 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
10184 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
10185 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
10186 Wrap in !__MINGW64__.
10187 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
10188 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
10189 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
10190 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
10191 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
10192 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
10193 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
10194 Wrap in !__LP64__.
10195 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
10196 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
10197 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
10198 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
10199 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
10200 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
10201 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
10202 * config/no-unwind.h: New file.
10203 * config.host (md_unwind_header): Document.
10204 Define.
10205 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
10206 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
10207 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
10208 hppa[12]*-*-hpux11*): Set md_unwind_header.
10209 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
10210 Set md_unwind_header.
10211 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
10212 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
10213 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
10214 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
10215 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
10216 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
10217 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
10218 md_unwind_header.
10219 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
10220 * configure: Regenerate.
10221
737346fa
RO
102222011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10223
10224 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
10225 Set tmake_file, extra_parts.
10226 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
10227 Remove O32 support.
10228 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
10229 Remove O32 support.
10230 * config/mips/t-irix6: New file.
10231 * config/mips/t-slibgcc-irix: New file.
10232
c192cee6
RO
102332011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10234
10235 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
10236 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
10237
ee33b5f0
RO
102382011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10239
10240 * configure.ac (target_thread_file): Determine thread model.
10241 * configure: Regenerate.
10242 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
10243 * config/alpha/t-alpha: New file.
10244 * config/alpha/t-crtfm: Use $<.
10245 * config/alpha/t-ieee: New file.
10246 * config/alpha/t-osf-pthread: New file.
10247 * config/alpha/t-slibgcc-osf: New file.
10248 * config/alpha/libgcc-osf5.ver: New file.
10249
0699e415
RO
102502011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10251
10252 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
10253 tmake_file.
10254 Add crtfastmath.o to extra_parts.
10255
a3fab9c2
RO
102562011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10257
10258 * config/gmon-sol2.c: Reindent.
10259 Cleanup comments.
10260 Remove, correct casts.
10261 Use STDERR_FILENO, NULL.
10262 (BASEADDRESS): Remove.
10263 (minbrk): Remove.
10264 (errno, sbrk): Remove declarations.
10265 (monstartup) [hp300]: Remove.
10266 (mcount): Remove.
10267
ca24c5ad
RO
102682011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10269
10270 * Makefile.in (cpu_type): Define.
10271 * config.host (i[34567]86-*-rtems*): Handle it.
10272 (i[34567]86-*-solaris2*): Move body ...
10273 (*-*-solaris2*): ... here.
10274 New case, generalize.
10275 (sparc-*-elf*): Handle it.
10276 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
10277 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
10278 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
10279 Fold into ...
10280 (sparc*-*-solaris2*): ... this.
10281 New case.
10282 (sparc64-*-elf*): Handle it.
10283 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
10284 Merge ../gcc/config/i386/gmon-sol2.c.
10285 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
10286 Use C comments.
10287 Merge ../gcc/config/i386/sol2-gc1.asm.
10288 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
10289 Use C comments.
10290 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
10291 Use C comments.
10292 * config/i386/t-crtfm (crtfastmath.o): Use $<.
10293 * config/i386/t-crtstuff: New file.
10294 * config/i386/t-softfp: New file.
10295 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
10296 $(T)crti.o, $(T)crtn.o): Remove.
10297 (gcrt1.o): New rule.
10298 (TARGET_LIBGCC2_CFLAGS): Remove.
10299 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
10300 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
10301 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
10302 * config/sparc/t-sol2: New file.
10303 * config/sparc/t-crtfm: Move to ...
10304 * config/t-crtfm: ... this.
10305 Use $(cpu_type), $<.
10306 * config/t-crtin: New file.
10307 * config/sparc/t-softfp: New file.
10308 * config/sparc/t-softmul: New file.
10309 * config/t-rtems: New file.
10310 * config/t-slibgcc: New file.
10311 * config/t-slibgcc-elf-ver: New file.
10312 * config/t-slibgcc-gld: New file.
10313 * config/t-slibgcc-sld: New file.
10314 * config/t-sol2: New file.
10315 * configure.ac: Include ../config/lib-ld.m4.
10316 Call AC_LIB_PROG_LD_GNU.
10317 Substitute cpu_type.
10318 * configure: Regenerate.
10319
ad5f3d7b
BS
103202011-05-27 Bernd Schmidt <bernds@codesourcery.com>
10321
10322 PR bootstrap/49173
10323 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
10324 libgcc-std.ver in the build directory.
10325 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
10326 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
10327
cdbf4541
BS
103282011-05-25 Bernd Schmidt <bernds@codesourcery.com>
10329
10330 * libgcc-std.ver.in: New file.
10331 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
10332 variables.
10333 (libgcc-std.ver): New rule.
10334 * config/t-gnu-prefix: New file.
10335
c8028650
RO
103362011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10337
10338 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
10339
4a68b4ca
JM
103402011-05-10 Joseph Myers <joseph@codesourcery.com>
10341
10342 * config/i386/darwin-lib.h: New file.
10343
80cf2e08
JM
103442011-05-10 Joseph Myers <joseph@codesourcery.com>
10345
10346 * config/arm/symbian-lib.h: New.
10347
a3330c9d
CD
103482011-05-04 Chris Demetriou <cgd@google.com>
10349
10350 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
10351 (__x86.get_pc_thunk.bx): ...this.
10352 (__morestack): Adjust for rename, remove undef of __i686.
10353
6ace0756
CD
103542011-05-03 Chris Demetriou <cgd@google.com>
10355
10356 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
10357
ebb9f8b0
JM
103582011-03-22 Joseph Myers <joseph@codesourcery.com>
10359
10360 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
10361 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
10362 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
10363 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
10364 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
10365 Remove cases.
10366
9cfa1499
AT
103672011-03-14 Andreas Tobler <andreast@fgznet.ch>
10368
10369 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
10370 Adjust copyright year.
10371
457186f6
ILT
103722011-03-07 Ian Lance Taylor <iant@google.com>
10373
10374 * generic-morestack.c (__splitstack_find): Adjust returned stack
10375 pointer to include all registers pushed by __morestack.
10376
58c741a6
DK
103772011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
10378
10379 PR target/40125
10380 * configure.ac: Call ACX_NONCANONICAL_TARGET.
10381 (toolexecdir): Calculate and AC_SUBST.
10382 (toolexeclibdir): Likewise.
10383 * Makefile.in (target_noncanonical): Import.
10384 (toolexecdir): Likewise.
10385 (toolexeclibdir): Likewise.
10386 * configure: Regenerate.
10387
26716c44
NF
103882010-12-13 Nathan Froyd <froydnj@codesourcery.com>
10389
10390 PR target/46040
10391 * config/arm/bpabi.h: Rename to...
10392 * config/arm/bpabi-lib.h: ...this.
10393
b595b1a1
RO
103942010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10395
10396 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
10397 appropriate.
10398 * configure: Regenerate.
10399
a3abe41c
NF
104002010-11-24 Nathan Froyd <froydnj@codesourcery.com>
10401
10402 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
10403 __FLOAT_WORD_ORDER__.
10404 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
10405 Delete.
10406
455c8f48
RW
104072010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10408
10409 PR other/46202
10410 * Makefile.in (install-strip): New phony target.
10411
f3824a8b
ILT
104122010-11-07 Ian Lance Taylor <iant@google.com>
10413
10414 PR target/46089
10415 * config/i386/morestack.S (__morestack_large_model): New
10416 function.
10417
18ed6ee4
NF
104182010-10-23 Nathan Froyd <froydnj@codesourcery.com>
10419
10420 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
10421 Delete.
10422 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
10423
8ac7fdcb
NF
104242010-10-14 Nathan Froyd <froydnj@codesourcery.com>
10425
10426 * config/arm/bpabi.h: New file.
10427 * config/frv/frv-abi.h: New file.
10428
cdb388c2
ILT
104292010-10-01 Ian Lance Taylor <iant@google.com>
10430
10431 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
10432 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
10433
ef7c141c
L
104342010-10-01 H.J. Lu <hongjiu.lu@intel.com>
10435
10436 PR target/45858
10437 * config.host: Add the missing `$'.
10438
80920132
ME
104392010-09-30 Michael Eager <eager@eagercon.com>
10440
10441 * config.host: Add microblaze*-*-*.
10442 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
10443 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
10444 udivsi3.asm,umodsi3.asm}: New.
10445
6dace308
ILT
104462010-09-28 Ian Lance Taylor <iant@google.com>
10447
10448 * configure.ac: Adjust CFI test to test assembler directly rather
10449 than checking gcc preprocessor macro.
10450 * configure: Rebuild.
10451
b6110d6d
ILT
104522010-09-27 Ian Lance Taylor <iant@google.com>
10453
10454 * configure.ac: Test whether assembler supports CFI directives.
10455 * config.host: Only add t-stack and i386/t-stack-i386 to
10456 tmake_file if libgcc_cv_cfi is "yes".
10457 * configure: Rebuild.
10458
7458026b
ILT
104592010-09-27 Ian Lance Taylor <iant@google.com>
10460
10461 * generic-morestack.h: New file.
10462 * generic-morestack.c: New file.
10463 * generic-morestack-thread.c: New file.
10464 * config/i386/morestack.S: New file.
10465 * config/t-stack: New file.
10466 * config/i386/t-stack-i386: New file.
10467 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
10468 i386/t-stack-i386 to tmake_file.
10469
5b50fc0c
IS
104702010-09-21 Iain Sandoe <iains@gcc.gnu.org>
10471
10472 * Makefile.in (libgcc-extra-parts): Check for static archives and
10473 invoke ranlib after installing them.
10474 (gcc-extra-parts): Likewise.
10475 (install-leaf): Likewise.
10476
b93cf342
L
104772010-09-14 H.J. Lu <hongjiu.lu@intel.com>
10478
10479 * configure: Regenerated.
10480
996b42ef
KT
104812010-09-10 Kai Tietz <kai.tietz@onevision.com>
10482
b93cf342 10483 * configure: Regenerated.
996b42ef 10484
be1c764e
GP
104852010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
10486 Andrew Pinski <pinskia@gmail.com>
10487
1da9434b 10488 PR target/40959
be1c764e
GP
10489 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
10490
cc0ae0ca
L
104912010-09-06 H.J. Lu <hongjiu.lu@intel.com>
10492
10493 PR target/45524
10494 * configure: Regenerated.
10495
84f47d20
AS
104962010-09-06 Andreas Schwab <schwab@redhat.com>
10497
10498 * configure: Regenerate.
10499
4159fb8d
UB
105002010-09-03 Uros Bizjak <ubizjak@gmail.com>
10501
10502 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
10503 64bit targets.
10504 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
10505 for 64bit targets.
10506
0df8fcc8
UB
105072010-09-03 Uros Bizjak <ubizjak@gmail.com>
10508 Iain Sandoe <iains@gcc.gnu.org>
10509
10510 PR target/45476
10511 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
10512 LIB2FUNCS_EXCLUDE functions.
10513
3c39bca6
AK
105142010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10515
10516 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
10517 Include dfp.m4.
10518 * configure: Regenerate.
10519
d78552bd
UB
105202010-09-01 Uros Bizjak <ubizjak@gmail.com>
10521
10522 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
10523 i386/t-freebsd to tmake_file.
10524 * config/i386/t-freebsd: New file.
10525 * config/i386/libgcc-bsd.ver: New file.
10526
c5b79d4e
NF
105272010-07-23 Nathan Froyd <froydnj@codesourcery.com>
10528
10529 * config.host (powerpc*-eabispe*): Set tmake_file.
10530 (powerpc*-eabi*): Likewise.
10531 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
10532 crtbeginS, crtendS, crtbeginT.
10533
48b09a92
KH
105342010-06-12 Kazu Hirata <kazu@codesourcery.com>
10535
10536 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
10537 to tmake_file. Add crtfastmath.o to extra_parts.
10538 * config/mips/t-crtfm: New.
10539
7d296953 105402010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
10541
10542 * config.host (sparc64-*-rtems*): New target.
10543
ed104137
RO
105442010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10545
10546 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10547 assembler syntax.
10548
3f56ef8b
TS
105492010-04-15 Thomas Schwinge <tschwinge@gnu.org>
10550
10551 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
10552
8c200350
RO
105532010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10554
10555 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
10556 alpha-dec-osf5.0* support.
10557
7d296953 105582010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
10559
10560 * config.host: Add lm32-*-rtems*.
10561
f128db92 105622010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 10563 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
10564
10565 PR target/39048
10566 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
10567 like other remaining 32-bit x86 OSes.
10568 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
10569 assembler syntax.
10570 * config/i386/libgcc-sol2.ver: New file.
10571 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
10572
7d296953 105732010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
10574
10575 PR c/43553
10576 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
10577 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
10578 is used and substitute set_use_emutls.
10579 * configure: Regenerated.
10580
15baf7f8
TG
105812010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
10582
10583 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
10584
7f5441df
RO
105852010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10586
10587 PR target/38085
10588 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
10589 MULTILIB_CFLAGS.
10590 ($(T)gcrt1.o): Likewise.
10591 ($(T)crt1.o): Likewise.
10592 ($(T)crti.o): Likewise.
10593 ($(T)crtn.o): Likewise.
10594
ef74edbd
RW
105952010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10596
10597 PR other/42980
10598 * Makefile.in (install): Use $(MAKE) string in rule, for
10599 parallel make.
10600
e7c914db
HPN
106012010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
10602
10603 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
10604 * config/mmix/t-mmix: New file.
10605 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
10606
1bcb71c4
JH
106072010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
10608
10609 PR java/41991
10610 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
10611 SHLIB_MAPFILES.
10612
e6e50811
AG
106132010-01-04 Anthony Green <green@moxielogic.com>
10614
10615 * config/moxie/crti.asm, config/moxie/crtn.asm,
10616 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
10617 config/moxie/t-moxie: New files.
10618 * config.host: Add t-moxie-softfp reference.
10619
7d296953 106202009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
10621
10622 PR other/39888
10623 * config/t-slibgcc-darwin: Fix embedded rpaths for
10624 --enable-version-specific-runtime-libs, build extension stub
10625 libs exposing features available from current libgcc_s.
10626
7d296953 106272009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 10628
d78552bd
UB
10629 * config.host: Add lm32 targets.
10630 * config/lm32: New directory.
10631 * config/lm32/libgcc_lm32.h: New file.
10632 * config/lm32/_mulsi3.c: New file.
10633 * config/lm32/_udivmodsi4.c: New file.
10634 * config/lm32/_divsi3.c: New file.
10635 * config/lm32/_modsi3.c: New file.
10636 * config/lm32/_udivsi3.c: New file.
10637 * config/lm32/_umodsi3.c: New file.
10638 * config/lm32/_lshrsi3.S: New file.
10639 * config/lm32/_ashrsi3.S: New file.
10640 * config/lm32/_ashlsi3.S: New file.
10641 * config/lm32/crti.S: New file.
10642 * config/lm32/crtn.S: New file.
10643 * config/lm32/t-lm32: New file.
10644 * config/lm32/t-elf: New file.
10645 * config/lm32/t-uclinux: New file.
aa4945c1 10646
65a324b4
NC
106472009-10-26 Nick Clifton <nickc@redhat.com>
10648
10649 * config.host: Add support for RX target.
10650 * config/rx: New directory.
10651 * config/rx/rx-abi-functions.c: New file. Supplementary
10652 functions for libgcc to support the RX ABI.
10653 * config/rx/rx-abi.h: New file. Supplementary header file for
10654 libgcc RX ABI functions.
10655 * config/rx/t-rx: New file: Makefile fragment for building
10656 libgcc for the RX.
10657
dfb3b0e3
UB
106582009-10-09 Uros Bizjak <ubizjak@gmail.com>
10659
10660 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
10661 constraint of y0 to "g".
10662
81dd9fd7
AK
106632009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10664
10665 * config.host: Include the s390 makefile fragments.
10666 * config/s390/32/_fixdfdi.c: New file.
10667 * config/s390/32/_fixsfdi.c: New file.
10668 * config/s390/32/_fixtfdi.c: New file.
10669 * config/s390/32/_fixunsdfdi.c: New file.
10670 * config/s390/32/_fixunssfdi.c: New file.
10671 * config/s390/32/_fixunstfdi.c: New file.
10672 * config/s390/32/t-floattodi: New file.
10673 * config/s390/libgcc-glibc.ver: New file.
10674 * config/s390/t-crtstuff: New file.
10675 * config/s390/t-linux: New file.
10676 * config/s390/t-tpf: New file.
10677
df58e648
RW
106782009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10679
10680 * configure.ac (AC_PREREQ): Bump to 2.64.
10681
79052be3
KK
106822009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
10683
10684 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
10685
5213506e
RW
106862009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10687
10688 * configure: Regenerate.
10689
a9a25daa
DR
106902009-08-09 Douglas B Rupp <rupp@gnat.com>
10691
10692 * config.host (ia64-hp-*vms*): New target.
10693 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
10694 with ia64-hp-*vms*.
10695
6efbd53f
RW
106962009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10697
10698 * configure.ac: Add snippet for maintainer-mode.
10699 * configure: Regenerate.
10700 * Makefile.in (AUTOCONF, configure_deps): New variables.
10701 ($(srcdir)/configure)): New rule, active only with maintainer
10702 mode turned on.
10703
7acf4da6
DD
107042009-06-23 DJ Delorie <dj@redhat.com>
10705
10706 Add MeP port.
10707 * config.host: Add mep support.
10708
54f549af
KT
107092009-06-22 Kai Tietz <kai.tietz@onevision.com>
10710
34481f28 10711 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10712 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
10713
10714 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
10715 for mingw targets.
54f549af
KT
10716 * config/i386/64/_multc3.c: Likewise.
10717 * config/i386/64/_powitf2.c: Likewise.
10718 * config/i386/64/eqtf2.c: Likewise.
10719 * config/i386/64/getf2.c: Likewise.
10720 * config/i386/64/letf2.c: Likewise.
10721 * config/i386/64/letf2.c: Likewise.
34481f28
UB
10722 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
10723 unsigned long long for x64 mingw targets.
10724 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
10725 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 10726
fea96e25
MR
107272009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
10728
10729 * config.host (vax-*-linux*): New.
10730
cceb575c
AG
107312009-05-31 Anthony Green <green@moxielogic.com>
10732
10733 * config.host: Add moxie support.
10734 * config/moxie/t-moxie: New file.
10735
7d296953 107362009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
10737
10738 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 10739 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 10740
532bfb0a
AJ
107412009-04-17 Aurelien Jarno <aurelien@aurel32.net>
10742
10743 * config.host: Add i386/${host_address}/t-fprules-softfp to
10744 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
10745
748086b7
JJ
107462009-04-09 Nick Clifton <nickc@redhat.com>
10747
10748 * config/ia64/tf-signs.c: Change copyright header to refer to
10749 version 3 of the GNU General Public License with version 3.1
10750 of the GCC Runtime Library Exception and to point readers at
10751 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
10752 web page.
10753 * config/i386/32/tf-signs.c: Likewise.
10754 * config/libbid/_addsub_dd.c: Likewise.
10755 * config/libbid/_addsub_sd.c: Likewise.
10756 * config/libbid/_addsub_td.c: Likewise.
10757 * config/libbid/_dd_to_df.c: Likewise.
10758 * config/libbid/_dd_to_di.c: Likewise.
10759 * config/libbid/_dd_to_sd.c: Likewise.
10760 * config/libbid/_dd_to_sf.c: Likewise.
10761 * config/libbid/_dd_to_si.c: Likewise.
10762 * config/libbid/_dd_to_td.c: Likewise.
10763 * config/libbid/_dd_to_tf.c: Likewise.
10764 * config/libbid/_dd_to_udi.c: Likewise.
10765 * config/libbid/_dd_to_usi.c: Likewise.
10766 * config/libbid/_dd_to_xf.c: Likewise.
10767 * config/libbid/_df_to_dd.c: Likewise.
10768 * config/libbid/_df_to_sd.c: Likewise.
10769 * config/libbid/_df_to_td.c: Likewise.
10770 * config/libbid/_di_to_dd.c: Likewise.
10771 * config/libbid/_di_to_sd.c: Likewise.
10772 * config/libbid/_di_to_td.c: Likewise.
10773 * config/libbid/_div_dd.c: Likewise.
10774 * config/libbid/_div_sd.c: Likewise.
10775 * config/libbid/_div_td.c: Likewise.
10776 * config/libbid/_eq_dd.c: Likewise.
10777 * config/libbid/_eq_sd.c: Likewise.
10778 * config/libbid/_eq_td.c: Likewise.
10779 * config/libbid/_ge_dd.c: Likewise.
10780 * config/libbid/_ge_sd.c: Likewise.
10781 * config/libbid/_ge_td.c: Likewise.
10782 * config/libbid/_gt_dd.c: Likewise.
10783 * config/libbid/_gt_sd.c: Likewise.
10784 * config/libbid/_gt_td.c: Likewise.
10785 * config/libbid/_isinfd128.c: Likewise.
10786 * config/libbid/_isinfd32.c: Likewise.
10787 * config/libbid/_isinfd64.c: Likewise.
10788 * config/libbid/_le_dd.c: Likewise.
10789 * config/libbid/_le_sd.c: Likewise.
10790 * config/libbid/_le_td.c: Likewise.
10791 * config/libbid/_lt_dd.c: Likewise.
10792 * config/libbid/_lt_sd.c: Likewise.
10793 * config/libbid/_lt_td.c: Likewise.
10794 * config/libbid/_mul_dd.c: Likewise.
10795 * config/libbid/_mul_sd.c: Likewise.
10796 * config/libbid/_mul_td.c: Likewise.
10797 * config/libbid/_ne_dd.c: Likewise.
10798 * config/libbid/_ne_sd.c: Likewise.
10799 * config/libbid/_ne_td.c: Likewise.
10800 * config/libbid/_sd_to_dd.c: Likewise.
10801 * config/libbid/_sd_to_df.c: Likewise.
10802 * config/libbid/_sd_to_di.c: Likewise.
10803 * config/libbid/_sd_to_sf.c: Likewise.
10804 * config/libbid/_sd_to_si.c: Likewise.
10805 * config/libbid/_sd_to_td.c: Likewise.
10806 * config/libbid/_sd_to_tf.c: Likewise.
10807 * config/libbid/_sd_to_udi.c: Likewise.
10808 * config/libbid/_sd_to_usi.c: Likewise.
10809 * config/libbid/_sd_to_xf.c: Likewise.
10810 * config/libbid/_sf_to_dd.c: Likewise.
10811 * config/libbid/_sf_to_sd.c: Likewise.
10812 * config/libbid/_sf_to_td.c: Likewise.
10813 * config/libbid/_si_to_dd.c: Likewise.
10814 * config/libbid/_si_to_sd.c: Likewise.
10815 * config/libbid/_si_to_td.c: Likewise.
10816 * config/libbid/_td_to_dd.c: Likewise.
10817 * config/libbid/_td_to_df.c: Likewise.
10818 * config/libbid/_td_to_di.c: Likewise.
10819 * config/libbid/_td_to_sd.c: Likewise.
10820 * config/libbid/_td_to_sf.c: Likewise.
10821 * config/libbid/_td_to_si.c: Likewise.
10822 * config/libbid/_td_to_tf.c: Likewise.
10823 * config/libbid/_td_to_udi.c: Likewise.
10824 * config/libbid/_td_to_usi.c: Likewise.
10825 * config/libbid/_td_to_xf.c: Likewise.
10826 * config/libbid/_tf_to_dd.c: Likewise.
10827 * config/libbid/_tf_to_sd.c: Likewise.
10828 * config/libbid/_tf_to_td.c: Likewise.
10829 * config/libbid/_udi_to_dd.c: Likewise.
10830 * config/libbid/_udi_to_sd.c: Likewise.
10831 * config/libbid/_udi_to_td.c: Likewise.
10832 * config/libbid/_unord_dd.c: Likewise.
10833 * config/libbid/_unord_sd.c: Likewise.
10834 * config/libbid/_unord_td.c: Likewise.
10835 * config/libbid/_usi_to_dd.c: Likewise.
10836 * config/libbid/_usi_to_sd.c: Likewise.
10837 * config/libbid/_usi_to_td.c: Likewise.
10838 * config/libbid/_xf_to_dd.c: Likewise.
10839 * config/libbid/_xf_to_sd.c: Likewise.
10840 * config/libbid/_xf_to_td.c: Likewise.
10841 * config/libbid/bid128.c: Likewise.
10842 * config/libbid/bid128_2_str.h: Likewise.
10843 * config/libbid/bid128_2_str_macros.h: Likewise.
10844 * config/libbid/bid128_2_str_tables.c: Likewise.
10845 * config/libbid/bid128_add.c: Likewise.
10846 * config/libbid/bid128_compare.c: Likewise.
10847 * config/libbid/bid128_div.c: Likewise.
10848 * config/libbid/bid128_fma.c: Likewise.
10849 * config/libbid/bid128_logb.c: Likewise.
10850 * config/libbid/bid128_minmax.c: Likewise.
10851 * config/libbid/bid128_mul.c: Likewise.
10852 * config/libbid/bid128_next.c: Likewise.
10853 * config/libbid/bid128_noncomp.c: Likewise.
10854 * config/libbid/bid128_quantize.c: Likewise.
10855 * config/libbid/bid128_rem.c: Likewise.
10856 * config/libbid/bid128_round_integral.c: Likewise.
10857 * config/libbid/bid128_scalb.c: Likewise.
10858 * config/libbid/bid128_sqrt.c: Likewise.
10859 * config/libbid/bid128_string.c: Likewise.
10860 * config/libbid/bid128_to_int16.c: Likewise.
10861 * config/libbid/bid128_to_int32.c: Likewise.
10862 * config/libbid/bid128_to_int64.c: Likewise.
10863 * config/libbid/bid128_to_int8.c: Likewise.
10864 * config/libbid/bid128_to_uint16.c: Likewise.
10865 * config/libbid/bid128_to_uint32.c: Likewise.
10866 * config/libbid/bid128_to_uint64.c: Likewise.
10867 * config/libbid/bid128_to_uint8.c: Likewise.
10868 * config/libbid/bid32_to_bid128.c: Likewise.
10869 * config/libbid/bid32_to_bid64.c: Likewise.
10870 * config/libbid/bid64_add.c: Likewise.
10871 * config/libbid/bid64_compare.c: Likewise.
10872 * config/libbid/bid64_div.c: Likewise.
10873 * config/libbid/bid64_fma.c: Likewise.
10874 * config/libbid/bid64_logb.c: Likewise.
10875 * config/libbid/bid64_minmax.c: Likewise.
10876 * config/libbid/bid64_mul.c: Likewise.
10877 * config/libbid/bid64_next.c: Likewise.
10878 * config/libbid/bid64_noncomp.c: Likewise.
10879 * config/libbid/bid64_quantize.c: Likewise.
10880 * config/libbid/bid64_rem.c: Likewise.
10881 * config/libbid/bid64_round_integral.c: Likewise.
10882 * config/libbid/bid64_scalb.c: Likewise.
10883 * config/libbid/bid64_sqrt.c: Likewise.
10884 * config/libbid/bid64_string.c: Likewise.
10885 * config/libbid/bid64_to_bid128.c: Likewise.
10886 * config/libbid/bid64_to_int16.c: Likewise.
10887 * config/libbid/bid64_to_int32.c: Likewise.
10888 * config/libbid/bid64_to_int64.c: Likewise.
10889 * config/libbid/bid64_to_int8.c: Likewise.
10890 * config/libbid/bid64_to_uint16.c: Likewise.
10891 * config/libbid/bid64_to_uint32.c: Likewise.
10892 * config/libbid/bid64_to_uint64.c: Likewise.
10893 * config/libbid/bid64_to_uint8.c: Likewise.
10894 * config/libbid/bid_b2d.h: Likewise.
10895 * config/libbid/bid_binarydecimal.c: Likewise.
10896 * config/libbid/bid_conf.h: Likewise.
10897 * config/libbid/bid_convert_data.c: Likewise.
10898 * config/libbid/bid_decimal_data.c: Likewise.
10899 * config/libbid/bid_decimal_globals.c: Likewise.
10900 * config/libbid/bid_div_macros.h: Likewise.
10901 * config/libbid/bid_dpd.c: Likewise.
10902 * config/libbid/bid_flag_operations.c: Likewise.
10903 * config/libbid/bid_from_int.c: Likewise.
10904 * config/libbid/bid_functions.h: Likewise.
10905 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10906 * config/libbid/bid_inline_add.h: Likewise.
10907 * config/libbid/bid_internal.h: Likewise.
10908 * config/libbid/bid_round.c: Likewise.
10909 * config/libbid/bid_sqrt_macros.h: Likewise.
10910
109112009-04-09 Jakub Jelinek <jakub@redhat.com>
10912
10913 * Makefile.in: Change copyright header to refer to version
10914 3 of the GNU General Public License and to point readers at the
10915 COPYING3 file and the FSF's license web page.
10916 * config.host: Likewise.
10917
633dd061
AM
109182009-04-07 Alan Modra <amodra@bigpond.net.au>
10919
10920 * config.host: Reorder and merge to match config.gcc change.
10921
457d1d00
AM
109222009-04-03 Alan Modra <amodra@bigpond.net.au>
10923
10924 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
10925
52c0e446
JM
109262009-03-28 Joseph Myers <joseph@codesourcery.com>
10927
10928 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
10929 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
10930 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
10931 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
10932
ba181049
UB
109332009-02-12 Uros Bizjak <ubizjak@gmail.com>
10934
10935 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
10936 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10937
c252db20
L
109382009-02-12 H.J. Lu <hongjiu.lu@intel.com>
10939
ba181049
UB
10940 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
10941 ia64/t-softfp-compat to tmake_file.
c252db20
L
10942
10943 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
10944
10945 * config/ia64/__divxf3.asm: New.
10946 * config/ia64/_fixtfdi.asm: Likewise.
10947 * config/ia64/_fixunstfdi.asm: Likewise.
10948 * config/ia64/_floatditf.asm: Likewise.
10949 * config/ia64/t-fprules-softfp: Likewise.
10950 * config/ia64/t-softfp-compat: Likewise.
10951 * config/ia64/tf-signs.c: Likewise.
10952
c60535f9
BE
109532009-01-18 Ben Elliston <bje@au.ibm.com>
10954
10955 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
10956
ce16861e
BE
109572009-01-16 Ben Elliston <bje@au.ibm.com>
10958
10959 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
10960 to tmake_file.
10961
bcf4713b
BE
109622009-01-13 Ben Elliston <bje@au.ibm.com>
10963
10964 * config/t-softfp: New file.
10965 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
10966 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
10967
7d296953 109682009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
10969
10970 * config.host: Add m32r*-*-rtems*.
10971
7d296953 109722008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
10973
10974 * config.host: Add m32c*-*-rtems*.
10975
19523300
RO
109762008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10977
10978 PR bootstrap/33100
10979 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
10980 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
10981 * configure: Regenerate.
10982 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
10983 tmake_file here from gcc/config.gcc.
10984 Move extra_parts here from gcc/config.gcc.
10985 * config/i386/t-sol2: Move here from gcc/config/i386.
10986 Use gcc_srcdir instead of srcdir.
10987
0a4a51c7
AN
109882008-11-18 Adam Nemet <anemet@caviumnetworks.com>
10989
10990 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
10991 case.
10992
2a761e46
TS
109932008-11-09 Thomas Schwinge <tschwinge@gnu.org>
10994
10995 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
10996
c0451df7
TS
109972008-10-08 Thomas Schwinge <tschwinge@gnu.org>
10998
10999 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
11000
358da97e
HS
110012008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
11002
11003 Add picoChip port.
11004 * config.host: Add picochip-*-*.
11005
c660f132
BW
110062008-08-06 Bob Wilson <bob.wilson@acm.org>
11007
11008 * config.host: Match more processor names for Xtensa.
11009
d1349557
L
110102008-07-08 H.J. Lu <hongjiu.lu@intel.com>
11011
11012 * config/i386/64/t-softfp-compat: Update comments.
11013
dd7b73c0
L
110142008-07-07 H.J. Lu <hongjiu.lu@intel.com>
11015
11016 * config/i386/64/_divtc3-compat.c: Moved to ...
11017 * config/i386/64/_divtc3.c: Here.
11018
11019 * config/i386/64/_multc3-compat.c: Moved to ...
11020 * config/i386/64/_multc3.c: Here.
11021
11022 * config/i386/64/_powitf2-compat.c: Moved to ...
11023 * config/i386/64/_powitf2.c: Here.
11024
11025 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
11026 .c suffix instead of -compat.c.
11027
6e1fab3d
UB
110282008-07-05 Uros Bizjak <ubizjak@gmail.com>
11029
11030 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
11031 (_FP_MUL_MEAT_D): Ditto.
11032 (_FP_DIV_MEAT_S): Ditto.
11033 (_FP_DIV_MEAT_D): Ditto.
11034
f92518d7
RS
110352008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
11036
11037 * Makefile.in: Add support for __sync_* libgcc functions.
11038
d0aede14
L
110392008-07-03 H.J. Lu <hongjiu.lu@intel.com>
11040
11041 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
11042
c174f11c
L
110432008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 PR boostrap/36702
11046 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
11047 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
11048
11049 * config/i386/64/t-fprules-softfp: Moved to ...
11050 * config/i386/64/t-softfp-compat: This. New.
11051
5f464fa2
UB
110522008-07-02 Uros Bizjak <ubizjak@gmail.com>
11053
11054 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
11055 Initialize f with 0.0.
11056
ff473280
L
110572008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11058
11059 PR target/36669
11060 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
11061
11062 * config/i386/64/_divtc3-compat.c: New.
11063 * config/i386/64/_multc3-compat.c: Likewise.
11064 * config/i386/64/_powitf2-compat.c: Likewise.
11065 * config/i386/64/eqtf2.c: Likewise.
11066 * config/i386/64/getf2.c: Likewise.
11067 * config/i386/64/letf2.c: Likewise.
11068 * config/i386/64/t-fprules-softfp: Likewise.
11069
110702008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11071
11072 * config.host: Add i386/${host_address}/t-fprules-softfp to
11073 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 11074 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
11075
11076 * configure.ac: Set host_address to 64 or 32 for x86.
11077 * configure: Regenerated.
11078
11079 * Makefile.in (config.status): Also depend on
11080 $(srcdir)/config.host.
11081
11082 * config/i386/32/t-fprules-softfp: New.
11083 * config/i386/32/tf-signs.c: Likewise.
11084
11085 * config/i386/64/sfp-machine.h: New. Moved from gcc.
11086
110872008-07-02 H.J. Lu <hongjiu.lu@intel.com>
11088 Uros Bizjak <ubizjak@gmail.com>
11089
11090 * config/i386/32/sfp-machine.h: New.
11091
30551d99
NF
110922008-06-26 Nathan Froyd <froydnj@codesourcery.com>
11093
11094 * config/rs6000/t-ppccomm: Remove rules that conflict with
11095 auto-generated rules.
11096
18c04407
RW
110972008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11098
11099 * configure.ac: sinclude override.m4.
11100 * configure: Regenerate.
11101
10fbe77a
BRF
111022008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
11103
11104 * configure: Regenerate.
11105
bc6d4c3f
JM
111062008-06-10 Joseph Myers <joseph@codesourcery.com>
11107
11108 * Makefile.in (DECNUMINC): Remove
11109 -I$(MULTIBUILDTOP)../../libdecnumber.
11110 * gstdint.h: New.
11111
cd985f66
JM
111122008-06-07 Joseph Myers <joseph@codesourcery.com>
11113
11114 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
11115 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
11116 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
11117 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
11118 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
11119 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
11120 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
11121 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
11122 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
11123 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
11124 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
11125 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
11126 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
11127 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
11128
93fea8d3
AL
111292008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
11130
11131 * config.host (sh2[lbe]*-*-linux*): Allow target.
11132
18724e30
NF
111332008-04-30 Nathan Froyd <froydnj@codesourcery.com>
11134
11135 * config/rs6000/t-ppccomm: Add build rules for new files.
11136 (LIB2ADD_ST): New variable.
11137
47583040
AH
111382008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
11139
11140 PR target/34210
11141 PR target/35508
11142 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
11143 * config/t-avr: New file. Build 16bit libgcc functions.
11144
cf8e67fe
JJ
111452008-03-02 Jakub Jelinek <jakub@redhat.com>
11146
11147 PR target/35401
11148 * config/t-slibgcc-darwin: Make install-leaf dependent on
11149 install-darwin-libgcc-stubs instead of install.
11150
8d8da227
JM
111512008-01-25 Joseph Myers <joseph@codesourcery.com>
11152
11153 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
11154 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
11155 sh-*-rtemscoff*): Remove cases.
11156
edbf8b16
RS
111572007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
11158
11159 * Makefile.in (all): Use install-leaf rather than install.
11160 (install): Split most of the rule into...
11161 (install-leaf): ...this new one.
11162
89deeaff
EK
111632007-12-19 Etsushi Kato <ek.kato@gmail.com>
11164 Paolo Bonzini <bonzini@gnu.org>
11165
11166 PR target/30572
5f464fa2
UB
11167 * Makefile.in: Use @shlib_slibdir@ substitution to get
11168 correct install name on darwin.
89deeaff 11169 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 11170
4081d704
HPN
111712007-12-15 Hans-Peter Nilsson <hp@axis.com>
11172
11173 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
11174 cris-*-elf and cris-*-none.
11175 (crisv32-*-linux*): Similar, as cris-*-linux*.
11176
f43e89a3
RIL
111772007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
11178
11179 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
11180
b4e9c2c6
L
111812007-10-27 H.J. Lu <hongjiu.lu@intel.com>
11182
11183 PR regression/33926
11184 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
11185 * configure: Regenerated.
11186
b2a00c89
L
111872007-09-27 H.J. Lu <hongjiu.lu@intel.com>
11188
11189 * Makefile.in (dfp-filenames): Replace decimal_globals,
11190 decimal_data, binarydecimal and convert_data with
11191 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
11192 and bid_convert_data, respectively.
11193
8d2a9e0e
CF
111942007-09-17 Chao-ying Fu <fu@mips.com>
11195 Nigel Stephens <nigel@mips.com>
11196
11197 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
11198 * Makefile.in (fixed_point): Define.
11199 Check if fixed_point is yes to build support functions.
11200 * configure.ac: Check for fixed_point support.
11201 * configure: Regenerated.
11202 * gen-fixed.sh: New file to generate lists of fixed-point labels,
11203 funcs, modes, from, to.
11204
2b53935d
JJ
112052007-09-11 Janis Johnson <janis187@us.ibm.com
11206
11207 * Makefile.in (dfp-filenames): Add bid128_noncomp.
11208
2533577f
JJ
112092007-09-10 Janis Johnson <janis187@us.ibm.com>
11210
11211 * Makefile.in (dfp-filenames): Remove decUtility, add
11212 decDouble, decPacked, decQuad, decSingle.
11213
3ae3dbd6
HK
112142007-08-27 Hans Kester <hans.kester@ellips.nl>
11215
11216 * config.host : Add x86_64-elf target.
11217
22867d02
L
112182007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11219
11220 * configure.ac (set_have_cc_tls): Add a missing =.
11221 * configure: Regenerated.
11222
6f461e76
L
112232007-07-06 H.J. Lu <hongjiu.lu@intel.com>
11224
11225 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
11226 and x86_64-*-linux*.
11227
11228 * config/t-tls: New file.
11229
dfb3b0e3 11230 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
11231
11232 * configure.ac: Include ../config/enable.m4 and
11233 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
11234 supports TLS and substitute set_have_cc_tls.
11235 * configure: Regenerated.
11236
200359e8
L
112372007-07-04 H.J. Lu <hongjiu.lu@intel.com>
11238
11239 * Makefile.in: Use libbid for DFP when BID is enabled.
11240
76f5e200
DS
112412007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
11242
11243 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 11244 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
11245 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
11246
9bd196f0 112472007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 11248 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
11249
11250 PR target/29498
11251 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
11252 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
11253 * config/i386/t-crtfm: Compile crtfastmath.o with
11254 -minline-all-stringops.
11255
1910440e
RS
112562007-05-10 Richard Sandiford <richard@codesourcery.com>
11257
11258 * config.host (sparc-wrs-vxworks): New target.
11259
7d33c31d
KH
112602007-04-14 Kazu Hirata <kazu@codesourcery.com>
11261
11262 * config.host: Recognize fido.
11263
96fccd0d
JJ
112642007-04-04 Janis Johnson <janis187@us.ibm.com>
11265
11266 * configure: Check host, not target, for decimal float support.
11267
577565f9
UB
112682007-04-03 Uros Bizjak <ubizjak@gmail.com>
11269
11270 * config/i386/t-crtpc: New file.
11271 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 11272 (x86_64-*-linux*): Ditto.
577565f9 11273
ccf8e764
RH
112742007-02-30 Kai Tietz <kai.tietz@onevision.com>
11275
11276 * config.host (x86_64-*-mingw*): New target.
11277
79b87c74
MM
112782007-03-23 Michael Meissner <michael.meissner@amd.com>
11279 H.J. Lu <hongjiu.lu@intel.com>
11280
11281 * Makefile.in (enable_decimal_float): New.
11282 (DECNUMINC): Add
11283 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
11284 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
11285 (decbits-filenames): This.
11286 (decbits-objects): New.
11287 (libgcc-objects): Add $(decbits-objects).
11288
11289 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
11290 Substitute enable_decimal_float.
11291 * configure: Regenerated.
11292
8fce4e31
HPN
112932007-03-19 Hans-Peter Nilsson <hp@axis.com>
11294
11295 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
11296
e8bb4597
BM
112972007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
11298
11299 * Makefile.in (install-info): New dummy target.
11300
344189f9
BS
113012007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
11302
11303 * config.host (bfin*-linux-uclibc*): Set extra_parts.
11304
ac84c172
BM
113052007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
11306
11307 * Makefile.in: Add install-html and install-pdf dummy
11308 targets.
11309
cd5c2357
RS
113102007-02-05 Roger Sayle <roger@eyesopen.com>
11311 Daniel Jacobowitz <dan@codesourcery.com>
11312
11313 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
11314 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
11315 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
11316
d9a66f98
JJ
113172007-01-29 Janis Johnson <janis187@us.ibm.com>
11318
11319 * Makefile.in (dec-filenames): Add decExcept.
11320
9891ec5f
DJ
113212007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11322
11323 PR bootstrap/30469
11324 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
11325 -fprofile-use.
11326
d6efbf5a
DJ
113272007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
11328
11329 * configure.ac: Add --enable-version-specific-runtime-libs.
11330 Correct $slibdir default.
11331 * configure: Regenerated.
11332
17caeff2
JM
113332007-01-23 Joseph Myers <joseph@codesourcery.com>
11334
11335 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
11336
5ea41e3a
AP
113372007-01-21 Andrew Pinski <pinskia@gmail.com>
11338
11339 PR target/30519
11340 * config.host (alpha*-*-linux*): Set extra_parts.
11341
26900826
KK
113422007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
11343
11344 * config/sh/t-linux: New.
11345 * config.host (sh*-*-linux*): Set tmake_file.
11346
97af925b
DJ
113472007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
11348
11349 * Makefile.in (install): Handle multilibs.
11350
b0088af7
BM
113512007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11352
11353 * Makefile.in: Added .PHONY entry for documentation targets.
11354
e0a9456a
BM
113552007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
11356
11357 * Makefile.in: Add empty info, html, dvi, pdf targets.
11358
7fd453b4
MS
113592007-01-04 Mike Stump <mrs@apple.com>
11360
11361 * Makefile.in (MAKEINFO): Remove.
11362 (PERL): Likewise.
11363
14e8fc8b
PB
113642007-01-04 Paolo Bonzini <bonzini@gnu.org>
11365
11366 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
11367 * configure: Regenerate.
11368 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 11369 (gcc_objdir): Use it.
14e8fc8b 11370
1555beba
DJ
113712007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11372
11373 * config.host (ia64*-*-linux*): Set tmake_file.
11374
79e6eaeb
DJ
113752007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11376
11377 * Makefile.in (version): Define.
11378
fa958513
DJ
113792007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11380 Paolo Bonzini <bonzini@gnu.org>
11381
11382 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
11383 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
11384 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
11385 config/sparc/t-crtfm, config/t-slibgcc-darwin,
11386 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
11387 shared-object.mk, siditi-object.mk, static-object.mk: New files.
11388 * configure: Generated.
818ab71a 11389\f
c48514be 11390Copyright (C) 2007-2021 Free Software Foundation, Inc.
818ab71a
JJ
11391
11392Copying and distribution of this file, with or without modification,
11393are permitted in any medium without royalty provided the copyright
11394notice and this notice are preserved.