]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
3dd09cd9
GA
12023-12-06 Alexandre Oliva <oliva@adacore.com>
2
3 * Makefile.in (LIB2ADD): Add strub.c.
4 * libgcc2.h (__strub_enter, __strub_update, __strub_leave):
5 Declare.
6 * strub.c: New.
7 * libgcc-std.ver.in (__strub_enter): Add to GCC_14.0.0.
8 (__strub_update, __strub_leave): Likewise.
9
833819e7
GA
102023-12-03 Jeff Law <jlaw@ventanamicro.com>
11
12 * unwind-pe.h (_Unwind_gnu_Find_got): Add prototype.
13
142023-12-03 Jeff Law <jlaw@ventanamicro.com>
15
16 * config/rx/rx-abi-functions.c (__ltdf2, __gtdf2): Add prototype.
17 (__ledf2, __gedf2, __eqdf2, __nedf2): Likewise.
18 (__ltsf2, __gtsf2, __lesf2, __gesf2, __eqsf2, __nesf2): Likewise.
19
202023-12-03 Jeff Law <jlaw@ventanamicro.com>
21
22 * config/frv/frvbegin.c (atexit): Add prototype.
23
2e0f3f97
GA
242023-12-01 Alexandre Oliva <oliva@adacore.com>
25
26 * libgcc-std.ver.in (__hardcfr_check): Add to GCC_14.0.0.
27
282023-12-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
29
30 PR target/112777
31 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Honor that __LIBGCC_HAVE_LIBATOMIC is
32 always defined as either 0 or 1.
33
342023-12-01 Florian Weimer <fweimer@redhat.com>
35
36 * config/aarch64/linux-unwind.h
37 (aarch64_fallback_frame_state): Add cast to the expected type
38 in sc assignment.
39
8428bcd7
GA
402023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
41
42 PR target/111404
43 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
44 either new value or loaded value.
45
ad3e759c
GA
462023-11-27 Richard Earnshaw <rearnsha@arm.com>
47
48 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
49
77cf1dba
GA
502023-11-24 Richard Earnshaw <rearnsha@arm.com>
51
52 * config.host (arm*-*-eabi* | arm*-*-rtems*):
53 Add arm/t-sync to the makefile rules.
54 * config/arm/lib1funcs.S (__sync_synchronize_none)
55 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
56 (__sync_synchronize): New functions.
57 * config/arm/t-sync: New file.
58 * config/arm/sync-none.specs: Likewise.
59 * config/arm/sync-dmb.specs: Likewise.
60 * config/arm/sync-cp15dmb.specs: Likewise.
61
6fb55db0
GA
622023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
63
64 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
65
92c480a4
GA
662023-11-21 Jakub Jelinek <jakub@redhat.com>
67
68 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
69
9d58d2d8
GA
702023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
71
72 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
73 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
74
752023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
76
77 Revert:
78 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
79
80 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
81 (gcov_type_unsigned): Likewise.
82
b9fd8399
GA
832023-11-10 Keith Packard <keithp@keithp.com>
84
85 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
86 (__divdf3): Restore sign bit properly.
87 (__addsf3): Correct exponent check.
88 * config/m68k/fpgnulib.c (EXPMASK): Define.
89 (__extendsfdf2): Handle Inf and NaN properly.
90 (__truncdfsf2): Handle underflow and overflow correctly.
91 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
92 (__truncxfdf2): Handle underflow and denorms correctly.
93 (__fixxfsi): Reimplement.
94
952023-11-09 Jakub Jelinek <jakub@redhat.com>
96
97 PR libgcc/65833
98 * config/t-softfp (softfp_bid_list): Add
99 {U,}TItype <-> _Decimal{32,64,128} conversions.
100 * soft-fp/floattisd.c: New file.
101 * soft-fp/floattidd.c: New file.
102 * soft-fp/floattitd.c: New file.
103 * soft-fp/floatuntisd.c: New file.
104 * soft-fp/floatuntidd.c: New file.
105 * soft-fp/floatuntitd.c: New file.
106 * soft-fp/fixsdti.c: New file.
107 * soft-fp/fixddti.c: New file.
108 * soft-fp/fixtdti.c: New file.
109 * soft-fp/fixunssdti.c: New file.
110 * soft-fp/fixunsddti.c: New file.
111 * soft-fp/fixunstdti.c: New file.
112
c48f1056
GA
1132023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
114
115 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
116 (__offload_ind_func_table): New.
117 (__offload_ind_funcs_end): New.
118 (__OFFLOAD_TABLE__): Add entries for indirect functions.
119
38904b73
GA
1202023-11-03 Thomas Schwinge <thomas@codesourcery.com>
121
122 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
123
eac0917b
GA
1242023-10-31 Alexandre Oliva <oliva@adacore.com>
125
126 * hardcfr.c: Adjust copyright year.
127
444a485f
GA
1282023-10-24 Sergei Trofimovich <siarheit@google.com>
129
130 * config/aarch64/heap-trampoline.c: Disable when libc is not
131 present.
132 * config/i386/heap-trampoline.c: Ditto.
133
3b632746
GA
1342023-10-22 Iain Sandoe <iain@sandoe.co.uk>
135
136 * config/t-slibgcc-darwin: Generate libgcc_s
137 with an @rpath name.
138 * config.host: Handle Darwin rpaths.
139 * config/t-darwin-rpath: New file.
140
1412023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
142 Maxim Blinov <maxim.blinov@embecosm.com>
143 Iain Sandoe <iain@sandoe.co.uk>
144 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
145
146 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
147 (__builtin_nested_func_ptr_deleted): Declare.
148 * libgcc-std.ver.in: Add the new symbols.
149 * config/aarch64/heap-trampoline.c: Implement heap-based
150 trampolines for aarch64.
151 * config/aarch64/t-heap-trampoline: Add rule to build
152 config/aarch64/heap-trampoline.c
153 * config/i386/heap-trampoline.c: Implement heap-based
154 trampolines for x86_64.
155 * config/i386/t-heap-trampoline: Add rule to build
156 config/i386/heap-trampoline.cc
157 * config.host: Handle --enable-heap-trampolines on
158 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
159
6f684dd2
GA
1602023-10-20 Andrew Stubbs <ams@codesourcery.com>
161
162 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
163
1642023-10-20 Alexandre Oliva <oliva@adacore.com>
165
166 * Makefile.in (LIB2ADD): Add hardcfr.c.
167 * hardcfr.c: New.
168
300d7d3a
GA
1692023-10-13 Florian Weimer <fweimer@redhat.com>
170
171 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
172 missing cast.
173
1742023-10-13 Florian Weimer <fweimer@redhat.com>
175
176 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
177 missing cast.
178
1792023-10-13 Florian Weimer <fweimer@redhat.com>
180
181 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
182 missing cast.
183
1842023-10-13 Florian Weimer <fweimer@redhat.com>
185
186 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
187 missing cast.
188
1892023-10-13 Florian Weimer <fweimer@redhat.com>
190
191 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
192
0d9b4e86
GA
1932023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
194
195 * config/aarch64/lse.S (BTI_C): Remove define.
196
4907d220
GA
1972023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
198
199 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
200 Use const unsigned type and a builtin.
201
a134b6ce
GA
2022023-09-06 Jakub Jelinek <jakub@redhat.com>
203
204 PR c/102989
205 * libgcc2.c (bitint_negate): Add function comment.
206 * soft-fp/bitint.h (bitint_negate): Add function comment.
207 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
208
2092023-09-06 Jakub Jelinek <jakub@redhat.com>
210
211 PR c/102989
212 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
213 * config/i386/64/t-softfp (softfp_extras): Likewise.
214 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
215 routines.
216 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
217 bf, hf and xf mode floatbitint.
218 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
219 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
220 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
221 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
222 * config/t-softfp (softfp_floatbitint_funcs): New.
223 (softfp_bid_list): New.
224 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
225 (softfp_bid_file_list): New.
226 (LIB2ADD_ST): Add $(softfp_bid_file_list).
227 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
228 floatbitinttf.
229 * config/t-softfp-tf (softfp_extras): Likewise.
230 * libgcc2.c (bitint_reduce_prec): New inline function.
231 (BITINT_INC, BITINT_END): Define.
232 (bitint_mul_1, bitint_addmul_1): New helper functions.
233 (__mulbitint3): New function.
234 (bitint_negate, bitint_submul_1): New helper functions.
235 (__divmodbitint4): New function.
236 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
237 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
238 (__mulbitint3, __divmodbitint4): Declare.
239 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
240 * Makefile.in (lib2funcs): Add _mulbitint3.
241 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
242 * soft-fp/bitint.h: New file.
243 * soft-fp/fixdfbitint.c: New file.
244 * soft-fp/fixsfbitint.c: New file.
245 * soft-fp/fixtfbitint.c: New file.
246 * soft-fp/fixxfbitint.c: New file.
247 * soft-fp/floatbitintbf.c: New file.
248 * soft-fp/floatbitintdf.c: New file.
249 * soft-fp/floatbitinthf.c: New file.
250 * soft-fp/floatbitintsf.c: New file.
251 * soft-fp/floatbitinttf.c: New file.
252 * soft-fp/floatbitintxf.c: New file.
253 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
254 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
255 * soft-fp/bitintpow10.c: New file.
256 * soft-fp/fixsdbitint.c: New file.
257 * soft-fp/fixddbitint.c: New file.
258 * soft-fp/fixtdbitint.c: New file.
259 * soft-fp/floatbitintsd.c: New file.
260 * soft-fp/floatbitintdd.c: New file.
261 * soft-fp/floatbitinttd.c: New file.
262
2632023-09-06 Jakub Jelinek <jakub@redhat.com>
264
265 PR c/102989
266 * soft-fp/bitintpow10.h: New file.
267
d820cd78
GA
2682023-09-05 Yang Yujie <yangyujie@loongson.cn>
269
270 * config.host: add loongarch*-elf target.
271
886afed6
GA
2722023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
273
274 PR libgcc/110956
275 * unwind-dw2-fde.c: Associate object with address of unwinding
276 table.
277
4b92dba7
GA
2782023-08-07 John Ericson <git@JohnEricson.me>
279
280 * configure: Regenerate.
281
2822023-08-07 Alan Modra <amodra@gmail.com>
283
284 * configure: Regenerate.
285
82c2a34b
GA
2862023-07-23 Andrew Pinski <apinski@marvell.com>
287
288 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
289 (riscv*-*-freebsd*): Likewise.
290 * config/riscv/t-crtstuff: New file.
291
49bed11d
GA
2922023-07-19 liuhongt <hongtao.liu@intel.com>
293
294 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
295 files.
296
af3d3ce3
GA
2972023-07-11 Florian Weimer <fweimer@redhat.com>
298
299 PR libgcc/110179
300 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
301 implicit conversion of pointer value to integer.
302
738808bd
GA
3032023-07-06 Kito Cheng <kito.cheng@sifive.com>
304
305 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
306 (FP_HANDLE_EXCEPTIONS): Ditto.
307
e517d3f5
GA
3082023-06-19 Andrew Stubbs <ams@codesourcery.com>
309
310 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
311 * config/gcn/lib2-divmod.c: Likewise.
312 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
313 new vector libfuncs.
314 * config/gcn/t-amdgcn: Add new files.
315 * config/gcn/amdgcn_veclib.h: New file.
316 * config/gcn/lib2-vec_divmod-di.c: New file.
317 * config/gcn/lib2-vec_divmod-hi.c: New file.
318 * config/gcn/lib2-vec_divmod-qi.c: New file.
319 * config/gcn/lib2-vec_divmod.c: New file.
320
3212023-06-19 Andrew Stubbs <ams@codesourcery.com>
322
323 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
324 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
325 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
326 * config/gcn/lib2-divmod-hi.c: Removed.
327
8c5b1365
GA
3282023-06-07 Florian Weimer <fweimer@redhat.com>
329
330 PR libgcc/109712
331 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
332 parsing eh_frame.
333
14da7648
GA
3342023-06-05 Kewen Lin <linkw@linux.ibm.com>
335
336 * config/i386/morestack.S: Use @init_array rather than
337 @progbits for section type of section .init_array.
338 * config/rs6000/morestack.S: Likewise.
339 * config/s390/morestack.S: Likewise.
340
3412023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
342
343 * config/mips/lib1funcs.S: New file.
344 define __speculation_barrier and include mips16.S.
345 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
346 define LIB1ASMFUNCS as _speculation_barrier.
347 set version info for __speculation_barrier.
348 * config/mips/libgcc-mips.ver: New file.
349 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
350 included in lib1funcs.S now.
351
321cee7e
GA
3522023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
353
354 PR libgcc/109670
355 * unwind-dw2-fde.c: Fix radix sort buffer management.
356
3572023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
358
359 PR libgcc/109685
360 * unwind-dw2-fde.c: Free sort array in atomic fast path.
361
5df01f89
GA
3622023-05-19 Iain Sandoe <iain@sandoe.co.uk>
363
364 * config.host: Arrange to set min Darwin OS versions from
365 the configured host version.
366 * config/darwin10-unwind-find-enc-func.c: Do not use current
367 headers, but declare the nexessary structures locally to the
368 versions in use for Mac OSX 10.6.
369 * config/t-darwin: Amend to handle configured min OS
370 versions.
371 * config/t-darwin-min-1: New.
372 * config/t-darwin-min-5: New.
373 * config/t-darwin-min-8: New.
374
3427b51b
GA
3752023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
376
377 * unwind-dw2-fde.c: Fix assert in non-atomic path.
378
3792023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
380
381 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
382
d7cb9720
GA
3832023-05-02 Patrick O'Neill <patrick@rivosinc.com>
384
385 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
386 sequentially consistent LR.aqrl/SC.rl pairs.
387
1fc8da95
GA
3882023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
389
390 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
391 -DTARGET_HAS_NO_HW_DIVIDE.
392
4a3dbcbd
GA
3932023-04-27 Hans-Peter Nilsson <hp@axis.com>
394
395 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
396 -DTARGET_HAS_NO_HW_DIVIDE.
397
3982023-04-26 Patrick O'Neill <patrick@rivosinc.com>
399
400 PR target/104338
401 * config/riscv/atomic.c: Add reference to duplicate logic.
402
0f04ebb4
GA
4032023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
404
405 PR target/109402
406 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
407 stack manipulations.
408
5229788d
GA
4092023-04-05 John David Anglin <danglin@gcc.gnu.org>
410
411 PR target/109374
412 * config/pa/milli64.S (RETURN_COLUMN): Define.
413 ($$divI): Add CFI directives.
414 ($$divU): Likewise.
415 ($$remI): Likewise.
416 ($$remU): Likewise.
417
09abeb73
GA
4182023-03-19 Stafford Horne <shorne@gmail.com>
419
420 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
421 statement clearing existing exceptions.
422
a9835599
GA
4232023-03-13 Max Filippov <jcmvbkbc@gmail.com>
424
425 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
426 * config/xtensa/crtn.S: Likewise.
427 * config/xtensa/lib1funcs.S: Likewise.
428 * config/xtensa/lib2funcs.S: Likewise.
429
44ea7318
GA
4302023-03-12 Jakub Jelinek <jakub@redhat.com>
431
432 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
433 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
434 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
435 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
436 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
437 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
438 * soft-fp/floatundibf.c: New file.
439 * soft-fp/floatdibf.c: New file.
440
c8065441
GA
4412023-03-10 Jakub Jelinek <jakub@redhat.com>
442
443 PR target/107703
444 * soft-fp/floattibf.c: New file.
445 * soft-fp/floatuntibf.c: New file.
446 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
447 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
448 floatuntibf.
449 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
450
6a87fdd3
GA
4512023-03-08 Kewen Lin <linkw@linux.ibm.com>
452
453 PR libgcc/108727
454 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
455 bump size.
456
3dd4ada4
GA
4572023-03-06 Michael Meissner <meissner@linux.ibm.com>
458
459 PR target/107299
460 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
461 whether long double is IBM or IEEE.
462 (INFINITY): Likewise.
463 (FABS): Likewise.
464 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
465 (INFINITY): Likewise.
466 * config/rs6000/quad-float128.h (TF): Remove definition.
467 (TFtype): Define to be long double or _Float128.
468 (TCtype): Define to be _Complex long double or _Complex _Float128.
469 * libgcc2.h (TFtype): Allow machine config files to override this.
470 (TCtype): Likewise.
471 * soft-fp/quad.h (TFtype): Likewise.
472
ae719781
GA
4732023-02-13 Kito Cheng <kito.cheng@sifive.com>
474
475 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
476 * config/riscv/value-unwind.h: New.
477
49e52115
GA
4782023-02-03 Christophe Lyon <christophe.lyon@arm.com>
479
480 * config/arm/pr-support.c (__gnu_unwind_execute): Use
481 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
482
897a0502
GA
4832023-01-30 Flavio Cruz <flaviocruz@gmail.com>
484
485 * config.host: Recognize x86_64-*-gnu* targets.
486 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
487 TODO for now.
488
607f278a
GA
4892023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
490
491 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
492 "0xb5".
493
4942023-01-23 Andrea Corallo <andrea.corallo@arm.com>
495 Tejas Belagod <tbelagod@arm.com>
496 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
497
498 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
499 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
500 with AUTG if found.
501 * config/arm/unwind-arm.c (struct pseudo_regs): New.
502 (phase1_vrs): Introduce new field to store pseudo-reg state.
503 (phase2_vrs): Likewise.
504 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
505 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
506 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
507
9f98cfa5
GA
5082023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
509
510 PR target/107678
511 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
512 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
513 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
514 encode the return address signing state.
515 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
516 Check current return address signing state.
517 (aarch64_frob_update_contex): Remove.
518
5013c3bb
GA
5192023-01-13 John David Anglin <danglin@gcc.gnu.org>
520
521 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
522 pa/t-pa64-linux.
523 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
524 instead of pa/t-hpux and pa/t-pa64.
525 * config/pa/linux-atomic.c: Define u32 type.
526 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
527 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
528 defines to use atomic_load calls for type.
529 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
530 * config/pa/sync-libfuncs.c: New file.
531 * config/pa/t-netbsd (LIB2ADD_ST): Define.
532 * config/pa/t-openbsd (LIB2ADD_ST): Define.
533 * config/pa/t-pa64-hpux: New file.
534 * config/pa/t-pa64-linux: New file.
535
5362023-01-13 Jonathan Wakely <jwakely@redhat.com>
537
538 PR libstdc++/108331
539 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
540 struct matching the previous __gthread_mutex_t struct.
541 (__GTHREAD_LEGACY_MUTEX_T): Define.
542
5432023-01-13 Seija Kijin <doremylover456@gmail.com>
544
545 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
546 unified syntax.
547
d901bf8a
GA
5482023-01-07 LIU Hao <lh_mouse@126.com>
549
550 PR middle-end/108300
551 * config/i386/enable-execute-stack-mingw32.c: Define
552 `WIN32_LEAN_AND_MEAN` before <windows.h>.
553 * libgcc2.c: Likewise.
554 * unwind-generic.h: Likewise.
555
0f8fbb57
GA
5562023-01-03 Florian Weimer <fweimer@redhat.com>
557
558 * unwind-dw2-execute_cfa.h: New file. Extracted from
559 the execute_cfa_program function in unwind-dw2.c.
560 * unwind-dw2.c (execute_cfa_program_generic): New function.
561 (execute_cfa_program_specialized): Likewise.
562 (execute_cfa_program): Call execute_cfa_program_specialized
563 or execute_cfa_program_generic, as appropriate.
564
5652023-01-03 Florian Weimer <fweimer@redhat.com>
566
567 Revert:
568 2023-01-03 Florian Weimer <fweimer@redhat.com>
569
570 * unwind-dw2.c (dwarf_reg_size): New function.
571 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
572 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
573 (uw_init_context_1): Do not initialize dwarf_reg_size_table
574 if not in use.
575
5762023-01-03 Florian Weimer <fweimer@redhat.com>
577
578 Revert:
579 2023-01-03 Florian Weimer <fweimer@redhat.com>
580
581 * unwind-dw2-execute_cfa.h: New file. Extracted from
582 the execute_cfa_program function in unwind-dw2.c.
583 * unwind-dw2.c (execute_cfa_program_generic): New function.
584 (execute_cfa_program_specialized): Likewise.
585 (execute_cfa_program): Call execute_cfa_program_specialized
586 or execute_cfa_program_generic, as appropriate.
587
fee53a31
GA
5882023-01-02 Florian Weimer <fweimer@redhat.com>
589
590 * unwind-dw2-execute_cfa.h: New file. Extracted from
591 the execute_cfa_program function in unwind-dw2.c.
592 * unwind-dw2.c (execute_cfa_program_generic): New function.
593 (execute_cfa_program_specialized): Likewise.
594 (execute_cfa_program): Call execute_cfa_program_specialized
595 or execute_cfa_program_generic, as appropriate.
596
5972023-01-02 Florian Weimer <fweimer@redhat.com>
598
599 * unwind-dw2.c (dwarf_reg_size): New function.
600 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
601 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
602 (uw_init_context_1): Do not initialize dwarf_reg_size_table
603 if not in use.
604
bc38aee7
GA
6052022-12-25 Jonathan Yong <10walls@gmail.com>
606
607 * config/i386/gthr-win32.h: undef CC_NONE
608
843c4d2f
GA
6092022-12-24 Iain Sandoe <iain@sandoe.co.uk>
610
611 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
612 install of libgcc_s.1.dylib when the installation is into the build
613 gcc directory.
614
376d6b8c
GA
6152022-12-23 Eric Botcazou <ebotcazou@adacore.com>
616
617 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
618 as well as new i386/t-slibgcc-mingw fragment.
619 (x86_64-*-mingw*): Likewise.
620 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
621 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
622 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
623 Include stdlib.h instead of errno.h and do not include _mingw.h.
624 (CONST_CAST2): Add specific definition for C++.
625 (ATTRIBUTE_UNUSED): New macro.
626 (__UNUSED_PARAM): Delete.
627 Define WIN32_LEAN_AND_MEAN before including windows.h.
628 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
629 (__gthread_objc_init_thread_system): Likewise.
630 (__gthread_objc_thread_get_data): Minor tweak.
631 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
632 (__gthread_objc_condition_deallocate): Likewise.
633 (__gthread_objc_condition_wait): Likewise.
634 (__gthread_objc_condition_broadcast): Likewise.
635 (__gthread_objc_condition_signal): Likewise.
636 Include sys/time.h.
637 (__gthr_win32_DWORD): New typedef.
638 (__gthr_win32_HANDLE): Likewise.
639 (__gthr_win32_CRITICAL_SECTION): Likewise.
640 (__gthr_win32_CONDITION_VARIABLE): Likewise.
641 (__gthread_t): Adjust.
642 (__gthread_key_t): Likewise.
643 (__gthread_mutex_t): Likewise.
644 (__gthread_recursive_mutex_t): Likewise.
645 (__gthread_cond_t): New typedef.
646 (__gthread_time_t): Likewise.
647 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
648 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
649 (__GTHREAD_COND_INIT_FUNCTION): Define.
650 (__GTHREAD_TIME_INIT): Likewise.
651 (__gthr_i486_lock_cmp_xchg): Delete.
652 (__gthr_win32_create): Declare.
653 (__gthr_win32_join): Likewise.
654 (__gthr_win32_self): Likewise.
655 (__gthr_win32_detach): Likewise.
656 (__gthr_win32_equal): Likewise.
657 (__gthr_win32_yield): Likewise.
658 (__gthr_win32_mutex_destroy): Likewise.
659 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
660 (__gthr_win32_cond_broadcast): Likewise.
661 (__gthr_win32_cond_signal): Likewise.
662 (__gthr_win32_cond_wait): Likewise.
663 (__gthr_win32_cond_timedwait): Likewise.
664 (__gthr_win32_recursive_mutex_init_function): Delete.
665 (__gthr_win32_recursive_mutex_lock): Likewise.
666 (__gthr_win32_recursive_mutex_unlock): Likewise.
667 (__gthr_win32_recursive_mutex_destroy): Likewise.
668 (__gthread_create): New inline function.
669 (__gthread_join): Likewise.
670 (__gthread_self): Likewise.
671 (__gthread_detach): Likewise.
672 (__gthread_equal): Likewise.
673 (__gthread_yield): Likewise.
674 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
675 (__gthread_cond_broadcast): Likewise.
676 (__gthread_cond_signal): Likewise.
677 (__gthread_cond_wait): Likewise.
678 (__gthread_cond_timedwait): Likewise.
679 (__GTHREAD_WIN32_INLINE): New macro.
680 (__GTHREAD_WIN32_COND_INLINE): Likewise.
681 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
682 Define WIN32_LEAN_AND_MEAN before including windows.h.
683 (__gthread_once): Minor tweaks.
684 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
685 (__gthread_key_delete): Minor tweak.
686 (__gthread_getspecific): Likewise.
687 (__gthread_setspecific): Likewise.
688 (__gthread_mutex_init_function): Reimplement.
689 (__gthread_mutex_destroy): Likewise.
690 (__gthread_mutex_lock): Likewise.
691 (__gthread_mutex_trylock): Likewise.
692 (__gthread_mutex_unlock): Likewise.
693 (__gthr_win32_abs_to_rel_time): Declare.
694 (__gthread_recursive_mutex_init_function): Reimplement.
695 (__gthread_recursive_mutex_destroy): Likewise.
696 (__gthread_recursive_mutex_lock): Likewise.
697 (__gthread_recursive_mutex_trylock): Likewise.
698 (__gthread_recursive_mutex_unlock): Likewise.
699 (__gthread_cond_destroy): New inline function.
700 (__gthread_cond_wait_recursive): Likewise.
701 * config/i386/gthr-win32.c: Delete everything.
702 Include gthr-win32.h to get the out-of-line version of inline routines.
703 Add compile-time checks for the local version of the Win32 types.
704 * config/i386/gthr-win32-cond.c: New file.
705 * config/i386/gthr-win32-thread.c: Likewise.
706 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
707 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
708 the static version of libgcc.
709 * config/i386/t-slibgcc-mingw: New file.
710 * config/i386/libgcc-mingw.ver: Likewise.
711
5fb1e674
GA
7122022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
713
714 * unwind-dw2-fde.c: Initialize fde object lazily when
715 the first exception tries to pass through.
716
7172022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
718
719 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
720
e6110da4
GA
7212022-12-08 Max Filippov <jcmvbkbc@gmail.com>
722
723 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
724 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
725 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
726 (XSHAL_ABI): Remove stray symbols from macro definitions.
727
4bc2d9f6
GA
7282022-12-07 Max Filippov <jcmvbkbc@gmail.com>
729
730 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
731 xtensa-config-builtin.h.
732 * config/xtensa/crtn.S: Likewise.
733 * config/xtensa/lib1funcs.S: Likewise.
734 * config/xtensa/lib2funcs.S: Likewise.
735 * config/xtensa/xtensa-config-builtin.h: New File.
736
05788e9b
GA
7372022-11-04 Florian Weimer <fweimer@redhat.com>
738
739 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
740 values actually used by BFD ld.
741
00716b77
GA
7422022-10-23 LIU Hao <lh_mouse@126.com>
743
744 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
745 libobjc, instead of 'gthr.h'
746
87f9c4a4
GA
7472022-10-19 LIU Hao <lh_mouse@126.com>
748
749 * config.host: Add new cases for `mcf` thread model
750 * config/i386/gthr-mcf.h: New file
751 * config/i386/t-mingw-mcfgthread: New file
752 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
753 * configure: Regenerate
754
21de009f
GA
7552022-10-18 Jonathan Wakely <jwakely@redhat.com>
756
757 * Makefile.in: Quote variable.
758
6237663c
GA
7592022-10-17 H.J. Lu <hjl.tools@gmail.com>
760
761 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
762 argument.
763 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
764 _Unwind_Frames_Increment.
765 (_Unwind_ForcedUnwind_Phase2): Likewise.
766 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
767 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
768 return address on normal stack doesn't match the return address
769 on shadow stack.
770
7712022-10-17 Florian Weimer <fweimer@redhat.com>
772
773 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
774 and reduce its size.
775
baeec7cc
GA
7762022-10-14 Jakub Jelinek <jakub@redhat.com>
777
778 * config/i386/t-softfp (softfp_extensions): Add bfsf.
779 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
780 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
781 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
782 -msse2.
783 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
784 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
785 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
786 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
787 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
788 * soft-fp/brain.h: New file.
789 * soft-fp/truncsfbf2.c: New file.
790 * soft-fp/truncdfbf2.c: New file.
791 * soft-fp/truncxfbf2.c: New file.
792 * soft-fp/trunctfbf2.c: New file.
793 * soft-fp/trunchfbf2.c: New file.
794 * soft-fp/truncbfhf2.c: New file.
795 * soft-fp/extendbfsf2.c: New file.
796
781f477a
GA
7972022-10-12 Martin Liska <mliska@suse.cz>
798
799 * libgcov-driver.c: Use new function.
800 * libgcov.h (gcov_write_summary): Rename to ...
801 (gcov_write_object_summary): ... this.
802
ab332cd7
GA
8032022-10-11 Olivier Hainque <hainque@adacore.com>
804
805 * config.host (*vxworks*): When enable_shared, add
806 libgcc and crtstuff "shared" fragments for rtp except
807 large code model.
808 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
809 the list of fragments.
810
629d04d3
GA
8112022-10-06 Jakub Jelinek <jakub@redhat.com>
812
813 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
814 fs->regs.how[X] instead of fs->regs.reg[X].how.
815
8162022-10-06 Jakub Jelinek <jakub@redhat.com>
817
818 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
819 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
820 REG_UNDEFINED): New anonymous enum, moved from inside of
821 struct frame_state_reg_info.
822 (struct frame_state_reg_info): Remove reg[].how element and the
823 anonymous enum there. Add how element.
824 * unwind-dw2.c: Include stddef.h.
825 (uw_frame_state_for): Don't clear first
826 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
827 (execute_cfa_program, __frame_state_for, uw_update_context_1,
828 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
829 or fs.regs.how[X] instead of fs.regs.reg[X].how.
830 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
831 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
832 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
833 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
834 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
835 Likewise.
836 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
837 Likewise.
838 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
839 * config/arc/linux-unwind.h (arc_fallback_frame_state,
840 arc_frob_update_context): Likewise.
841 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
842 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
843 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
844 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
845 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
846 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
847 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
848 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
849 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
850 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
851 x86_fallback_frame_state): Likewise.
852 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
853 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
854 x86_fallback_frame_state): Likewise.
855 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
856 Likewise.
857 * config/i386/dragonfly-unwind.h
858 (x86_64_dragonfly_fallback_frame_state): Likewise.
859 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
860 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
861 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
862 Likewise.
863 * config/aarch64/freebsd-unwind.h
864 (aarch64_freebsd_fallback_frame_state): Likewise.
865 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
866 Likewise.
867 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
868 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
869 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
870 Likewise.
871 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
872 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
873 Likewise.
874 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
875 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
876 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
877 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
878
42231015
GA
8792022-10-02 Olivier Hainque <hainque@adacore.com>
880
881 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
882 -I options for gcc/include and gcc/include-fixed at the end
883 and make them -isystem.
884
8852022-10-02 Olivier Hainque <hainque@adacore.com>
886
887 * config/gthr-vxworks.h: Prevent Wpragma warning for the
888 pragma diagnostics on Wstrict-prototypes.
889
bbdcdf5c
GA
8902022-09-29 Olivier Hainque <hainque@adacore.com>
891
892 * config/vxcrtstuff.c: Improve the comment attached to the use
893 of auto-host.h and of __dso_handle. Remove redundant guard on
894 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
895
220c4d8e
GA
8962022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
897
898 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
899 for the non-fast-path case. Drop destructor priority.
900
279c6715
GA
9012022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
902
903 * unwind-dw2-fde.c: (release_register_frames) Remember
904 when the btree has been destroyed.
905 (__deregister_frame_info_bases) Disable the assert when
906 shutting down.
907
0990a778
GA
9082022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
909
910 * unwind-dw2-fde.c: Replace uintptr_t with typedef
911 for __UINTPTR_TYPE__.
912 * unwind-dw2-btree.h: Likewise.
913
7ee0fa10
GA
9142022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
915
916 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
917 (__register_frame_info_table_bases): Use btree in atomic fast path.
918 (__deregister_frame_info_bases): Likewise.
919 (_Unwind_Find_FDE): Likewise.
920 (base_from_object): Make parameter const.
921 (classify_object_over_fdes): Add query-only mode.
922 (get_pc_range): Compute PC range for lookup.
923 * unwind-dw2-fde.h (last_fde): Make parameter const.
924 * unwind-dw2-btree.h: New file.
925
542c60c4
GA
9262022-08-31 Martin Liska <mliska@suse.cz>
927
928 * config.host: Remove hppa.
929
3de9fb32
GA
9302022-08-30 Martin Liska <mliska@suse.cz>
931
932 * config.host: Remove the port.
933
16f542d6
GA
9342022-08-26 Martin Liska <mliska@suse.cz>
935
936 * config.host: Remove cr16 related stuff.
937 * config/cr16/crti.S: Removed.
938 * config/cr16/crtlibid.S: Removed.
939 * config/cr16/crtn.S: Removed.
940 * config/cr16/divmodhi3.c: Removed.
941 * config/cr16/lib1funcs.S: Removed.
942 * config/cr16/t-cr16: Removed.
943 * config/cr16/t-crtlibid: Removed.
944 * config/cr16/unwind-cr16.c: Removed.
945 * config/cr16/unwind-dw2.h: Removed.
946
47a61e65
GA
9472022-08-16 Kito Cheng <kito.cheng@sifive.com>
948
949 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
950 (_FP_NANFRAC_H): Ditto.
951 (_FP_NANSIGN_H): Ditto.
952 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
953 routines.
954 (softfp_truncations): Ditto.
955 (softfp_extras): Ditto.
956 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
957
9582022-08-16 Kito Cheng <kito.cheng@sifive.com>
959
960 * soft-fp/fixhfdi.c: New.
961 * soft-fp/fixhfsi.c: Likewise.
962 * soft-fp/fixunshfdi.c: Likewise.
963 * soft-fp/fixunshfsi.c: Likewise.
964 * soft-fp/floatdihf.c: Likewise.
965 * soft-fp/floatsihf.c: Likewise.
966 * soft-fp/floatundihf.c: Likewise.
967 * soft-fp/floatunsihf.c: Likewise.
968 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
969 lines and update URL for license.
970 * soft-fp/addsf3.c: Likewise.
971 * soft-fp/addtf3.c: Likewise.
972 * soft-fp/divdf3.c: Likewise.
973 * soft-fp/divsf3.c: Likewise.
974 * soft-fp/divtf3.c: Likewise.
975 * soft-fp/double.h: Likewise.
976 * soft-fp/eqdf2.c: Likewise.
977 * soft-fp/eqhf2.c: Likewise.
978 * soft-fp/eqsf2.c: Likewise.
979 * soft-fp/eqtf2.c: Likewise.
980 * soft-fp/extenddftf2.c: Likewise.
981 * soft-fp/extended.h: Likewise.
982 * soft-fp/extendhfdf2.c: Likewise.
983 * soft-fp/extendhfsf2.c: Likewise.
984 * soft-fp/extendhftf2.c: Likewise.
985 * soft-fp/extendhfxf2.c: Likewise.
986 * soft-fp/extendsfdf2.c: Likewise.
987 * soft-fp/extendsftf2.c: Likewise.
988 * soft-fp/extendxftf2.c: Likewise.
989 * soft-fp/fixdfdi.c: Likewise.
990 * soft-fp/fixdfsi.c: Likewise.
991 * soft-fp/fixdfti.c: Likewise.
992 * soft-fp/fixhfti.c: Likewise.
993 * soft-fp/fixsfdi.c: Likewise.
994 * soft-fp/fixsfsi.c: Likewise.
995 * soft-fp/fixsfti.c: Likewise.
996 * soft-fp/fixtfdi.c: Likewise.
997 * soft-fp/fixtfsi.c: Likewise.
998 * soft-fp/fixtfti.c: Likewise.
999 * soft-fp/fixunsdfdi.c: Likewise.
1000 * soft-fp/fixunsdfsi.c: Likewise.
1001 * soft-fp/fixunsdfti.c: Likewise.
1002 * soft-fp/fixunshfti.c: Likewise.
1003 * soft-fp/fixunssfdi.c: Likewise.
1004 * soft-fp/fixunssfsi.c: Likewise.
1005 * soft-fp/fixunssfti.c: Likewise.
1006 * soft-fp/fixunstfdi.c: Likewise.
1007 * soft-fp/fixunstfsi.c: Likewise.
1008 * soft-fp/fixunstfti.c: Likewise.
1009 * soft-fp/floatdidf.c: Likewise.
1010 * soft-fp/floatdisf.c: Likewise.
1011 * soft-fp/floatditf.c: Likewise.
1012 * soft-fp/floatsidf.c: Likewise.
1013 * soft-fp/floatsisf.c: Likewise.
1014 * soft-fp/floatsitf.c: Likewise.
1015 * soft-fp/floattidf.c: Likewise.
1016 * soft-fp/floattihf.c: Likewise.
1017 * soft-fp/floattisf.c: Likewise.
1018 * soft-fp/floattitf.c: Likewise.
1019 * soft-fp/floatundidf.c: Likewise.
1020 * soft-fp/floatundisf.c: Likewise.
1021 * soft-fp/floatunditf.c: Likewise.
1022 * soft-fp/floatunsidf.c: Likewise.
1023 * soft-fp/floatunsisf.c: Likewise.
1024 * soft-fp/floatunsitf.c: Likewise.
1025 * soft-fp/floatuntidf.c: Likewise.
1026 * soft-fp/floatuntihf.c: Likewise.
1027 * soft-fp/floatuntisf.c: Likewise.
1028 * soft-fp/floatuntitf.c: Likewise.
1029 * soft-fp/gedf2.c: Likewise.
1030 * soft-fp/gesf2.c: Likewise.
1031 * soft-fp/getf2.c: Likewise.
1032 * soft-fp/half.h: Likewise.
1033 * soft-fp/ledf2.c: Likewise.
1034 * soft-fp/lesf2.c: Likewise.
1035 * soft-fp/letf2.c: Likewise.
1036 * soft-fp/muldf3.c: Likewise.
1037 * soft-fp/mulsf3.c: Likewise.
1038 * soft-fp/multf3.c: Likewise.
1039 * soft-fp/negdf2.c: Likewise.
1040 * soft-fp/negsf2.c: Likewise.
1041 * soft-fp/negtf2.c: Likewise.
1042 * soft-fp/op-1.h: Likewise.
1043 * soft-fp/op-2.h: Likewise.
1044 * soft-fp/op-4.h: Likewise.
1045 * soft-fp/op-8.h: Likewise.
1046 * soft-fp/op-common.h: Likewise.
1047 * soft-fp/quad.h: Likewise.
1048 * soft-fp/single.h: Likewise.
1049 * soft-fp/soft-fp.h: Likewise.
1050 * soft-fp/subdf3.c: Likewise.
1051 * soft-fp/subsf3.c: Likewise.
1052 * soft-fp/subtf3.c: Likewise.
1053 * soft-fp/truncdfhf2.c: Likewise.
1054 * soft-fp/truncdfsf2.c: Likewise.
1055 * soft-fp/truncsfhf2.c: Likewise.
1056 * soft-fp/trunctfdf2.c: Likewise.
1057 * soft-fp/trunctfhf2.c: Likewise.
1058 * soft-fp/trunctfsf2.c: Likewise.
1059 * soft-fp/trunctfxf2.c: Likewise.
1060 * soft-fp/truncxfhf2.c: Likewise.
1061 * soft-fp/unorddf2.c: Likewise.
1062 * soft-fp/unordsf2.c: Likewise.
1063 * soft-fp/unordtf2.c: Likewise.
1064
79fb1124
GA
10652022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1066
1067 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1068 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1069 configurations.
1070
87509781
GA
10712022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1072
1073 * config.host: Removed tilegx and tilepro entries.
1074 * config/tilegx/sfp-machine.h: Removed.
1075 * config/tilegx/sfp-machine32.h: Removed.
1076 * config/tilegx/sfp-machine64.h: Removed.
1077 * config/tilegx/t-crtstuff: Removed.
1078 * config/tilegx/t-softfp: Removed.
1079 * config/tilegx/t-tilegx: Removed.
1080 * config/tilepro/atomic.c: Removed.
1081 * config/tilepro/atomic.h: Removed.
1082 * config/tilepro/linux-unwind.h: Removed.
1083 * config/tilepro/sfp-machine.h: Removed.
1084 * config/tilepro/softdivide.c: Removed.
1085 * config/tilepro/softmpy.S: Removed.
1086 * config/tilepro/t-crtstuff: Removed.
1087 * config/tilepro/t-tilepro: Removed.
1088
e3bba42f
GA
10892022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1090
1091 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1092 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1093
3164de6a
GA
10942022-06-01 H.J. Lu <hjl.tools@gmail.com>
1095
1096 PR libgcc/27576
1097 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1098
3dff965c
GA
10992022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1100
1101 PR libgcc/105708
1102 * config/aarch64/lse-init.c: Increase constructor priority.
1103
11042022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1105
1106 PR target/104689
1107 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1108 Handle the !REG_UNSAVED case.
1109 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1110
57f2ce6a
GA
11112022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1112
1113 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1114 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1115 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1116
11172022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1118
1119 * config.host: Add t-dfprules to AArch64 targets.
1120
11212022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1122
1123 * configure: Regenerate.
1124
9df4ffe4
GA
11252022-05-13 Sebastian Pop <spop@amazon.com>
1126
1127 PR target/105162
1128 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1129 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1130
e8778989
GA
11312022-05-10 Martin Liska <mliska@suse.cz>
1132 Hans-Peter Helfert <peter-helfert@t-online.de>
1133
1134 PR gcov-profile/105535
1135 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1136 n_functions.
1137
6259d8aa
GA
11382022-05-02 Martin Liska <mliska@suse.cz>
1139
1140 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1141
6b6f53d8
GA
11422022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1143
1144 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1145 (gcov_profile_merge_stream): Likewise.
1146
11472022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1148
1149 * libgcov-util.c (consume_stream): New.
1150 (get_target_profiles_for_merge): Likewise.
1151 (gcov_profile_merge_stream): Likewise.
1152
11532022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1154
1155 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1156
11572022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1158
1159 * libgcov-util.c (read_gcda_file): Do not open file.
1160 (ftw_read_file): Open file here.
1161
11622022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1163
1164 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1165 list.
1166 (ftw_read_file): Remove list append here.
1167
11682022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1169
1170 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1171 (ftw_read_file): Duplicate filename for read_gcda_file().
1172
11732022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1174
1175 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1176 (__gcov_filename_to_gcfn): Declare and document.
1177 * libgcov-driver.c (dump_string): New.
1178 (__gcov_filename_to_gcfn): Likewise.
1179 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1180
11812022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1182
1183 * libgcov.h (gcov_seek): Remove define and declaration.
1184
11852022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1186
1187 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1188 parameter. Pass mode to gcov_open() calls.
1189 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1190 gcov_exit_open_gcda_file() call.
1191 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1192 calls.
1193 (__gcov_dump_one): Open file for reading and writing.
1194
11952022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1196
1197 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1198 reading and writing.
1199 * libgcov-util.c (read_gcda_file): Open file for reading.
1200 * libgcov.h (gcov_open): Delete declaration.
1201
12022022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1203
1204 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1205 profiles. Accept empty target and source profile lists.
1206
405eda0d
GA
12072022-04-08 Sergei Trofimovich <siarheit@google.com>
1208
1209 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1210
9f774626
GA
12112022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1212 Lulu Cheng <chenglulu@loongson.cn>
1213
1214 * configure: Regenerate file.
1215
12162022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1217 Lulu Cheng <chenglulu@loongson.cn>
1218
1219 * config/loongarch/crtfastmath.c: New file.
1220 * config/loongarch/linux-unwind.h: Like wise.
1221 * config/loongarch/sfp-machine.h: Like wise.
1222 * config/loongarch/t-crtstuff: Like wise.
1223 * config/loongarch/t-loongarch: Like wise.
1224 * config/loongarch/t-loongarch64: Like wise.
1225 * config/loongarch/t-softfp-tf: Like wise.
1226 * config.host: Add LoongArch tuples.
1227 * configure.ac: Add LoongArch support.
1228
d7f00da1
GA
12292022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1230
1231 PR libgcc/86224
1232 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1233 for __mulsi3.
1234 (__udivsi3_internal, __divsi3_internal): Similarly.
1235 (__umodsi3, __modsi3): Use the internal function names.
1236
8cc4f9cd
GA
12372022-03-09 Tobias Burnus <tobias@codesourcery.com>
1238
1239 PR target/102215
1240 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1241 a line up to non-arg-dependent value first.
1242 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1243 __atomic_compare_exchange_{1,2}.
1244
8d96e14c
GA
12452022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1246
1247 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1248 * config/t-darwin-ehs: Add dependency on unwind.h.
1249
756a6185
GA
12502022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1251
1252 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1253 with 0 instead of NULL.
1254
12552022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1256
1257 PR target/104656
1258 * configure.ac: --disable-gcov if targetting bpf-*.
1259 * configure: Regenerate.
1260
e0b8716f
GA
12612022-01-25 Florian Weimer <fweimer@redhat.com>
1262
1263 PR libgcc/104207
1264 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1265
fc829782
GA
12662022-01-17 Martin Liska <mliska@suse.cz>
1267
1268 * libgcov-driver.c: Rename .c names to .cc.
1269
9248ee41
GA
12702022-01-15 David <gccbugzilla@limegreensocks.com>
1271
1272 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1273 Remove inlined version, Windows 95 is no longer relevant.
1274 * config/i386/gthr-win32.h
1275 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1276
617db51d
GA
12772022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1278
1279 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1280 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1281
7d11b64b
GA
12822022-01-04 Florian Weimer <fweimer@redhat.com>
1283
1284 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1285 if available.
1286
5da23a13
GA
12872022-01-02 John David Anglin <danglin@gcc.gnu.org>
1288
1289 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1290 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1291 return is not equal _ASM_EFAULT.
1292 (__kernel_cmpxchg2): Likewise.
1293
2554e2da
GA
12942021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1295
1296 * config.host: Add shim declaration header to powerpc*-darwin builds.
1297 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1298 file.
1299 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1300 objects.
1301 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1302 the shared EH lib. Add all-multi to the dependencies for the
1303 libgcc_s.1.dylib redirections.
1304
7f1239cb
GA
13052021-12-13 Olivier Hainque <hainque@adacore.com>
1306
1307 * config.host (powerpc*-*-vxworks7*): Remove
1308 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1309
13102021-12-13 Olivier Hainque <hainque@adacore.com>
1311
1312 * config.host (*vxworks*): Remove special case for
1313 arm on the use of vxcrtstuff.
1314
13152021-12-13 Fred Konrad <konrad@adacore.com>
1316 Olivier Hainque <hainque@adacore.com>
1317
1318 * config/t-vxcrtstuffS: New Makefile fragment.
1319 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1320 functions for INITFINI_ARRAY support in shared libs and guard
1321 the definition of eh table registration functions on conditions
1322 indicating they are needed.
1323
13242021-12-13 Olivier Hainque <hainque@adacore.com>
1325
1326 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1327 ahead of the other files in tmake_files.
1328 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1329 overriding it.
1330
13312021-12-13 Olivier Hainque <hainque@adacore.com>
1332
1333 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1334 both VxWorks7 and earlier.
1335 * config/t-vxworks7: Remove.
1336 * config.host: Remove special case for vxworks7.
1337
e8decbe7
GA
13382021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1339
1340 * config/vxcrtstuff.c: Make constructor and destructor
1341 functions static when possible.
1342
13432021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1344
1345 * config/vxcrtstuff.c: Remove constructor/destructor
1346 declarations.
1347
0bceef16
GA
13482021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1349
1350 * config/t-darwin: Add libgcc_tm.h to the dependencies
1351 for darwin10-unwind-find-enc-func.
1352
13532021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1354
1355 * config/rs6000/t-vxworks: New file.
1356 * config.host (powerpc*-*-vxworks*): Use it instead of
1357 t-ppccomm.
1358
4b4839e3
GA
13592021-12-09 Fred Konrad <konrad@adacore.com>
1360
1361 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1362 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1363
13642021-12-09 Olivier Hainque <hainque@adacore.com>
1365 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1366
1367 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1368 $(LIBGCC2_INCLUDES).
1369 * config/t-vxworks7: Likewise.
1370
641ff219
GA
13712021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1372
1373 * config.host (*-*-darwin*): Add logic to build a shared
1374 unwinder library for Darwin8-10.
1375 * config/i386/t-darwin: Build legacy libgcc_s.1.
1376 * config/rs6000/t-darwin: Likewise.
1377 * config/t-darwin: Reorganise the EH fragments to place
1378 them for inclusion in a shared EH lib.
1379 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1380 the supporting pieces (all FAT libs).
1381 * config/t-darwin-noeh: Removed.
1382 * config/darwin-unwind.ver: New file.
1383 * config/rs6000/t-darwin-ehs: New file.
1384 * config/t-darwin-ehs: New file.
1385
3a580f96
GA
13862021-12-06 Nelson Chu <nelson.chu@sifive.com>
1387
1388 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1389 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1390 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1391 HIDDEN_DEF.
1392
c177e806
GA
13932021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1394
1395 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1396 ssize_t and vfork after including auto-host.h.
1397
87cd82c8
GA
13982021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1399
1400 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1401 crtend.o to extra_parts.
1402
d62c8c74
GA
14032021-11-27 John David Anglin <danglin@gcc.gnu.org>
1404
1405 * config/pa/t-dimode (lib2difuncs): Fix typo.
1406
091ccc06
GA
14072021-11-25 Florian Weimer <fweimer@redhat.com>
1408
1409 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1410 Remove func, ret.
1411 (find_fde_tail): New function. Split from
1412 _Unwind_IteratePhdrCallback. Move the result initialization
1413 from _Unwind_Find_FDE.
1414 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1415
06be28f6
GA
14162021-11-22 Florian Weimer <fweimer@redhat.com>
1417
1418 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1419 (struct unw_eh_callback_data): Make dbase member conditional.
1420 (unw_eh_callback_data_dbase): New function.
1421 (base_from_cb_data): Simplify for the non-dbase case.
1422 (_Unwind_IteratePhdrCallback): Adjust.
1423 (_Unwind_Find_FDE): Likewise.
1424
14252021-11-22 Florian Weimer <fweimer@redhat.com>
1426
1427 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1428 tbase member.
1429 (base_from_cb_data): Adjust.
1430 (_Unwind_IteratePhdrCallback): Likewise.
1431 (_Unwind_Find_FDE): Likewise.
1432
9c077398
GA
14332021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1434
1435 * config.host: Add weak emutls crt to the extra_parts.
1436 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1437 workaround.
1438 * config/libgcc-libsystem.ver: Add exclude list for the system-
1439 provided unwinder.
1440 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1441 * config/i386/libgcc-darwin.10.4.ver: Removed.
1442 * config/i386/libgcc-darwin.10.5.ver: Removed.
1443 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1444 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1445 * config/t-darwin-noeh: New file.
1446
14472021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1448
1449 * config/t-darwin: Build weak-defined emutls objects.
1450 * emutls.c (__emutls_get_address): Add optional attributes.
1451 (__emutls_register_common): Likewise.
1452 (EMUTLS_ATTR): New.
1453
b39265d4
GA
14542021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1455
1456 PR libgcc/103044
1457 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1458 called with a null argument or at the end of the backtrace and return.
1459 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1460
8d36a0d2
GA
14612021-11-10 Jakub Jelinek <jakub@redhat.com>
1462
1463 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1464 formatting fix.
1465
851dff04
GA
14662021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1467
1468 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1469 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1470
14712021-11-05 John David Anglin <danglin@gcc.gnu.org>
1472
1473 PR libgomp/96661
1474 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1475 (hppa*64*-*-hpux11*): Likewise.
1476 * config/pa/sfp-exceptions.c: New.
1477 * config/pa/sfp-machine.h: New.
1478 * config/pa/t-dimode: New.
1479 * config/pa/t-softfp-sfdftf: New.
1480
04a2cf3f
GA
14812021-10-27 John David Anglin <danglin@gcc.gnu.org>
1482
1483 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1484 tmake_file.
1485 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1486 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1487 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1488 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1489 (LIB1ASMFUNCS): Revise.
1490 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1491
c2bd5d8a
GA
14922021-10-22 Stafford Horne <shorne@gmail.com>
1493
1494 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1495 Change to 0.
1496
5d5885c9
GA
14972021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1498
1499 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1500 outside of get_regs() in order to use it in another function, this
1501 is done twice: for __powerpc64__ and for !__powerpc64__.
1502 (struct trace_arg): New struct.
1503 (struct layout): New struct.
1504 (ppc_backchain_fallback): New function.
1505 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1506 state and call MD_BACKCHAIN_FALLBACK.
1507
9eb28a0f
GA
15082021-10-13 Martin Liska <mliska@suse.cz>
1509
1510 PR gcov-profile/90364
1511 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1512 checksums.
1513 (write_one_data): Write also checksum.
1514 * libgcov-util.c (read_gcda_file): Read also checksum field.
1515 * libgcov.h (struct gcov_info): Add new field.
1516
ce6eec39
GA
15172021-10-08 Ian Lance Taylor <iant@golang.org>
1518
1519 * config/i386/morestack.S: Use .init_array for constructor if
1520 available.
1521 * config/rs6000/morestack.S: Likewise.
1522 * config/s390/morestack.S: Likewise.
1523
154fd089
GA
15242021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1525
1526 PR target/101104
1527 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1528 Use more correct values for native IBM 128-bit.
1529
fd133479
GA
15302021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1531
1532 * config/i386/libgcc-darwin.ver: Add Symbols for
1533 __cpu_model, __cpu_indicator_init.
1534
e4777439
GA
15352021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1536
1537 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1538 using __APPLE__.
1539
34fac9ef
GA
15402021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1541
1542 * config/t-slibgcc-darwin: Delete unused code.
1543
15442021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1545
1546 * config/i386/t-darwin: Add in a vers file for X86-specific
1547 symbols.
1548 * config/t-darwin: Add the generic symbol maps here...
1549 * config/t-slibgcc-darwin: ... removing from here.
1550 * config/i386/libgcc-darwin.ver: New file.
1551
15522021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1553
1554 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1555 and __mulhc3.
1556
15572021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1558
1559 * config.host: Use convenience library for Darwin10
1560 unwinder shim.
1561 * config/t-darwin: Build Darwin10 unwinder shim as a
1562 convenience library.
1563
07985c47
GA
15642021-09-13 Andrew Pinski <apinski@marvell.com>
1565
1566 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1567 * config/m32r/libgcc-glibc.ver: Removed.
1568 * config/m32r/t-linux: Removed.
1569
b6db7cd4
GA
15702021-09-08 liuhongt <hongtao.liu@intel.com>
1571
1572 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1573 libgcc_s.so.1.
1574
15752021-09-08 Jakub Jelinek <jakub@redhat.com>
1576 Iain Sandoe <iain@sandoe.co.uk>
1577
1578 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1579 and export *hf* and *hc* functions at GCC_12.0.0.
1580
9f99555f
GA
15812021-09-06 liuhongt <hongtao.liu@intel.com>
1582
1583 * Makefile.in: Adjust to support specific CFLAGS for each
1584 libgcc source file.
1585 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1586 related libgcc source files.
1587 * config/i386/t-softfp: Ditto.
1588 * config/i386/_divhc3.c: New file.
1589 * config/i386/_mulhc3.c: New file.
1590
7b739540
GA
15912021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1592
1593 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1594 alias_DFtype, alias_TFtype): New.
1595 (ALIAS_SELECTOR): New.
1596 (strong_alias): Use __typeof and a _Generic selector to
1597 provide the type to the synthesized function.
1598
9f7c2bad
GA
15992021-09-02 liuhongt <hongtao.liu@intel.com>
1600
1601 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1602 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1603 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1604 * config/i386/t-softfp: Add hf soft-fp.
1605 * config.host: Add i386/64/t-softfp.
1606 * config/i386/64/t-softfp: New file.
1607
16082021-09-02 liuhongt <hongtao.liu@intel.com>
1609
1610 * soft-fp/eqhf2.c: New file.
1611 * soft-fp/extendhfdf2.c: New file.
1612 * soft-fp/extendhfsf2.c: New file.
1613 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1614 * soft-fp/truncdfhf2.c: New file
1615 * soft-fp/truncsfhf2.c: New file
1616
e11c6046
GA
16172021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1618
1619 * unwind-arm-common.inc (abort): Remove.
1620
6d51ee43
GA
16212021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1622
1623 * config/aarch64/value-unwind.h: Add missing runtime exception
1624 paragraph.
1625 * config/frv/frv-abi.h: Likewise.
1626 * config/i386/value-unwind.h: Likewise.
1627 * config/pa/pa64-hpux-lib.h: Likewise.
1628
ccc19145
GA
16292021-08-26 David Edelsohn <dje.gcc@gmail.com>
1630
1631 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1632 __gcc_qadd.
1633 (__gcc_qadd): Call ldouble_qadd_internal.
1634 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1635 argument negated.
1636
16372021-08-26 Jonathan Yong <10walls@gmail.com>
1638
1639 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1640 and register_frame_dtor warnings.
1641
05ace294
GA
16422021-08-24 Richard Earnshaw <rearnsha@arm.com>
1643
1644 PR target/102035
1645 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1646 Add vlldm erratum work-around.
1647
4be4fa4e
GA
16482021-08-21 John David Anglin <danglin@gcc.gnu.org>
1649
1650 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1651
9d1d9fc8
GA
16522021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1653
1654 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1655 (gcov_type_unsigned): Likewise.
1656
7dd8f198
GA
16572021-08-14 Stafford Horne <shorne@gmail.com>
1658
1659 PR target/99783
1660 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1661 * config/or1k/t-crtstuff: New file.
1662
f92f4778
GA
16632021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1664
1665 * libgcov-driver.c (#include <stdint.h>): Remove.
1666 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1667
16682021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1669
1670 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1671 * gcov.h (gcov_info): Declare.
1672 (__gcov_info_to_gdca): Likewise.
1673 * libgcov.h (gcov_write_counter): Remove.
1674 (gcov_write_tag_length): Likewise.
1675 * libgcov-driver.c (#include <stdint.h>): New.
1676 (#include <string.h>): Remove.
1677 (NEED_L_GCOV): Conditionally define.
1678 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1679 (are_all_counters_zero): New.
1680 (gcov_dump_handler): Likewise.
1681 (gcov_allocate_handler): Likewise.
1682 (dump_unsigned): Likewise.
1683 (dump_counter): Likewise.
1684 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1685 Use dump_unsigned() and dump_counter().
1686 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1687 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1688 (__gcov_info_to_gcda): New.
1689
8ebf4fb5
GA
16902021-08-05 Jakub Jelinek <jakub@redhat.com>
1691
1692 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1693 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1694 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1695 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1696
2697f832
GA
16972021-08-04 Jakub Jelinek <jakub@redhat.com>
1698
1699 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1700
d97d71a1
GA
17012021-07-15 Alan Modra <amodra@gmail.com>
1702
1703 * config/rs6000/morestack.S (R2_SAVE): Define.
1704 (__morestack): Save and restore r2. Set up r2 for called
1705 functions.
1706
bea7c16a
GA
17072021-07-01 H.J. Lu <hjl.tools@gmail.com>
1708
1709 * soft-fp/extendhfxf2.c: New file.
1710 * soft-fp/truncxfhf2.c: Likewise.
1711
6bc18203
GA
17122021-06-29 Julian Brown <julian@codesourcery.com>
1713
1714 * config/gcn/lib2-bswapti2.c: New file.
1715 * config/gcn/lib2-divmod-di.c: New file.
1716 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1717 typedefs.
1718 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1719 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1720 lib2-bswapti2.c.
1721
17222021-06-29 Julian Brown <julian@codesourcery.com>
1723
1724 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1725 return types to USItype.
1726 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1727
fcf617f0
GA
17282021-06-23 Kewen Lin <linkw@linux.ibm.com>
1729
1730 * configure: Regenerate.
1731 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1732 typos among the name, CFLAGS and the test.
1733 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1734 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1735 Remove.
1736 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1737 macro FLOAT128_HW_INSNS_ISA3_1.
1738 (FP128_3_1_CFLAGS_HW): Fix option typo.
1739 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1740 FLOAT128_HW_INSNS_ISA3_1.
1741 (__floattikf_resolve): Likewise.
1742 (__floatuntikf_resolve): Likewise.
1743 (__fixkfti_resolve): Likewise.
1744 (__fixunskfti_resolve): Likewise.
1745 (__floattikf): Likewise.
1746 (__floatuntikf): Likewise.
1747 (__fixkfti): Likewise.
1748 (__fixunskfti): Likewise.
1749
f16f65f8
GA
17502021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1751
1752 PR target/99939
1753 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1754 macro.
1755 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1756 on passing -mcmse option.
1757
43c35d0d
GA
17582021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1759
1760 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1761 _ARCH_PPC64 .
1762
4f625f47
GA
17632021-06-09 Carl Love <cel@us.ibm.com>
1764
1765 * config.host: Add if test and set for
1766 libgcc_cv_powerpc_3_1_float128_hw.
1767 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1768 Change calls of __fixkfti to __fixkfti_sw.
1769 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1770 Change calls of __fixunskfti to __fixunskfti_sw.
1771 * config/rs6000/float128-p10.c (__floattikf_hw,
1772 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1773 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1774 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1775 __fixunskfti_resolve): Add resolve functions.
1776 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1777 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1778 __fixtfti, __fixunstfti): Add editor commands to change names.
1779 * config/rs6000/float128-sed-hw (__floattitf,
1780 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1781 change names.
1782 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1783 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1784 * config/rs6000/quad-float128.h (__floattikf_sw,
1785 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1786 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1787 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1788 * config/rs6000/t-float128 (floattikf, floatuntikf,
1789 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1790 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1791 file names to fp128_ppc_funcs.
1792 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1793 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1794 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1795 * config/rs6000/t-float128-p10-hw: New file.
1796 * configure: Update script for isa 3.1 128-bit float support.
1797 * configure.ac: Add check for 128-bit float hardware support.
1798 * config/rs6000/fixkfti-sw.c: New file.
1799 * config/rs6000/fixunskfti-sw.c: New file.
1800 * config/rs6000/floattikf-sw.c: New file.
1801 * config/rs6000/floatuntikf-sw.c: New file.
1802
f9af11c7
GA
18032021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1804
1805 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1806
4d0385df 18072021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1808
1809 * libgcov-driver.c: Fix GNU coding style.
1810
aa891c56
GA
18112021-05-10 Martin Liska <mliska@suse.cz>
1812
1813 * libgcov-driver.c (gcov_version): Use different name that does
1814 not clash with newly introduced macro.
1815
3c8e539d
GA
18162021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1817
1818 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1819 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1820 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1821
e4ff4ffb
GA
18222021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1823
1824 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1825 Define.
1826 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1827 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1828 Define.
1829 (__divkc3): Improve complex divide.
1830
05ec629f
GA
18312021-04-23 Michael Meissner <meissner@linux.ibm.com>
1832
1833 PR target/98952
1834 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1835 trampoline size comparison in 32-bit by reversing test and
1836 combining load immediate with compare.
1837 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1838 in 32-bit by reversing test and combining load immediate with
1839 compare.
1840
b1da9916
GA
18412021-04-05 Florian Weimer <fweimer@redhat.com>
1842 Michael Meissner <meissner@linux.ibm.com>
1843
1844 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1845 point functions for $(decimal_float) only.
1846
c0756c4e
GA
18472021-04-03 Jakub Jelinek <jakub@redhat.com>
1848
1849 PR target/97653
1850 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1851 $(objext) instead of $(object). Use _floatunditf instead of
1852 _floatunsditf. Add tf <-> ti conversion objects.
1853 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1854
65374af2
GA
18552021-03-29 Michael Meissner <meissner@linux.ibm.com>
1856
1857 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1858 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1859 (fp128_decstr_objs): Delete.
1860 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1861 _Float128 to a Decimal type. Call __strtoieee128 to do
1862 conversions from a Decimal type to _Float128.
1863 * config/rs6000/_sprintfkf.c: Delete file.
1864 * config/rs6000/_sprintfkf.h: Delete file.
1865 * config/rs6000/_strtokf.c: Delete file.
1866 * config/rs6000/_strtokf.h: Delete file.
1867
bf1f3168
GA
18682021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1869
1870 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1871 to __BYTE_ORDER__.
1872
0ad6a2e2
GA
18732021-03-06 Jakub Jelinek <jakub@redhat.com>
1874
1875 PR gcov-profile/99406
1876 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1877 defined, define these macros if not defined already.
1878
67f10d28
GA
18792021-03-04 Martin Liska <mliska@suse.cz>
1880
1881 PR gcov-profile/99105
1882 * libgcov-driver.c (write_top_counters): Rename to ...
1883 (write_topn_counters): ... this.
1884 (write_one_data): Pre-allocate buffer for number of items
1885 in the corresponding linked lists.
1886 * libgcov.h (malloc_mmap): New function.
1887 (allocate_gcov_kvp): Use it.
1888
18892021-03-04 Martin Liska <mliska@suse.cz>
1890
1891 PR gcov-profile/99385
1892 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1893
f3641ac7
GA
18942021-03-03 Martin Liska <mliska@suse.cz>
1895
1896 PR gcov-profile/97461
1897 * config.in: Regenerate.
1898 * configure: Likewise.
1899 * configure.ac: Check sys/mman.h header file
1900 * libgcov-driver.c (struct gcov_kvp): Remove static
1901 pre-allocated pool and use a dynamic one.
1902 * libgcov.h (MMAP_CHUNK_SIZE): New.
1903 (gcov_counter_add): Use mmap to allocate pool for struct
1904 gcov_kvp.
1905
d97a92dc
GA
19062021-03-02 Michael Meissner <meissner@linux.ibm.com>
1907
1908 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1909 the function.
1910 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1911
4028d01a
GA
19122021-02-24 Jakub Jelinek <jakub@redhat.com>
1913
1914 PR libgcc/99236
1915 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1916 negation of m in unsigned type.
1917
19182021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1919 Hau Hsu <hsuhau617@gmail.com>
1920
1921 PR target/99157
1922 * config/arm/t-arm: Fix cmse support detection.
1923
2f5765cf
GA
19242021-02-22 Michael Meissner <meissner@linux.ibm.com>
1925
1926 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1927
19282021-02-22 Michael Meissner <meissner@linux.ibm.com>
1929
1930 * config/rs6000/_dd_to_kf.c: New file.
1931 * config/rs6000/_kf_to_dd.c: New file.
1932 * config/rs6000/_kf_to_sd.c: New file.
1933 * config/rs6000/_kf_to_td.c: New file.
1934 * config/rs6000/_sd_to_kf.c: New file.
1935 * config/rs6000/_sprintfkf.c: New file.
1936 * config/rs6000/_sprintfkf.h: New file.
1937 * config/rs6000/_strtokf.h: New file.
1938 * config/rs6000/_strtokf.c: New file.
1939 * config/rs6000/_td_to_kf.c: New file.
1940 * config/rs6000/quad-float128.h: Add new declarations.
1941 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1942 (fp128_decstr_funcs): New macro.
1943 (ibm128_dec_funcs): New macro.
1944 (fp128_ppc_funcs): Add the new conversions.
1945 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1946 compiled with -mabi=ieeelongdouble.
1947 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1948 compiled with -mabi=ibmlongdouble.
1949 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1950 compiled with -mabi=ieeelongdouble.
1951 (FP128_CFLAGS_DECIMAL): New macro.
1952 (IBM128_CFLAGS_DECIMAL): New macro.
1953 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1954 (BFP_TO_DFP): Add PowerPC _Float128 support.
1955 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1956 IEEE 128-bit floating point.
1957 (DFP_TO_BFP): Add PowerPC _Float128 support.
1958 (BFP_TO_DFP): Add PowerPC _Float128 support.
1959 (BFP_SPRINTF): New macro.
1960
aa69f0a8
GA
19612021-01-27 Jakub Jelinek <jakub@redhat.com>
1962
1963 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1964 * config/i386/savms64f.h: Likewise.
1965 * config/i386/resms64.h: Likewise.
1966 * config/i386/resms64f.h: Likewise.
1967 * config/i386/resms64x.h: Likewise.
1968 * config/i386/resms64fx.h: Likewise.
1969
e62bb7f0
GA
19702021-01-26 Martin Liska <mliska@suse.cz>
1971
1972 PR gcov-profile/98739
1973 * libgcov.h (gcov_topn_add_value): Do not train when
1974 we have a merged profile with a negative number of total
1975 value.
1976
161e4c08
GA
19772021-01-25 Martin Liska <mliska@suse.cz>
1978
1979 PR gcov-profile/98739
1980 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1981 ends with a dropped counter.
1982 * libgcov.h (gcov_topn_add_value): Add return value.
1983
be0851b8
GA
19842021-01-13 Stafford Horne <shorne@gmail.com>
1985
1986 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1987 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1988 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1989 FP_EX_ALL): New constant macros.
1990 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1991 FP_HANDLE_EXCEPTIONS): New macros.
1992 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1993
19942021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1995
1996 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1997 posix siginfo case to struct handler_args. Detect between legacy
1998 and siginfo from the second parameter, which is a small sigcode in
1999 the legacy case, and a pointer in the siginfo case.
2000
108beb75
GA
20012020-12-20 Max Filippov <jcmvbkbc@gmail.com>
2002
2003 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
2004 functions.
2005 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
2006 _bswapdi2.
2007
f6e8e279
GA
20082020-12-08 Ian Lance Taylor <iant@golang.org>
2009
2010 * generic-morestack-thread.c (free_segments): Block signals during
2011 thread exit.
2012
b8dd0ef7
GA
20132020-12-03 Michael Meissner <meissner@linux.ibm.com>
2014
2015 PR libgcc/97543
2016 PR libgcc/97643
2017 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
2018 (IBM128_SHARED_OBJS): New make variable.
2019 (IBM128_OBJS): New make variable. Set all objects to use the
2020 explicit IBM format, and disable gnu attributes.
2021 (IBM128_CFLAGS): New make variable.
2022 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
2023 modules.
2024
20252020-12-03 Alexandre Oliva <oliva@adacore.com>
2026
2027 * config/t-vxworks (LIB2ADD): Drop.
2028 * config/t-vxworks7 (LIB2ADD): Likewise.
2029 * config/vxcache.c: Remove.
2030
94358e47
GA
20312020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
2032
2033 * libgcc2.c (bswapsi2): Make constants unsigned.
2034
360258da
GA
20352020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
2036
2037 * libgcc2.c (absvSI2): Simplify/improve implementation by using
2038 builtin_add_overflow.
2039 (absvsi2, absvDI2): Likewise.
2040
82e5048e
GA
20412020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2042
2043 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2044 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2045
25bb75f8
GA
20462020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2047
2048 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2049 (if MUL_32): Use mult64_hw for __muldi3.
2050 (if MUL_F5): Use mult64_hw for __muldi3.
2051 * config/msp430/lib2mul.c (__muldi3): New.
2052 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2053
29c5d9ce
GA
20542020-11-17 Alan Modra <amodra@gmail.com>
2055
2056 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2057 (LIB2_SIDITI_CONV_FUNCS): Define.
2058 * config/rs6000/ppc64-fp.c: Delete file.
2059
cba30651
GA
20602020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2061
2062 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2063 hwmult library functions.
2064
bb622641
GA
20652020-11-10 Jeff Law <law@redhat.com>
2066
2067 * libgcc2.c: Fix whitespace issues in most recent change.
2068
20692020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2070
2071 * libgcc2.c (__addvSI3): Use overflow builtins.
2072 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2073 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2074 (__negvsi2, __negvDI2): Likewise.
2075 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2076 generated code.
2077 * libgcc2.h (__ucmpdi2): Adjust prototype.
2078
fd2325ea
GA
20792020-11-03 Pat Bernardi <bernardi@adacore.com>
2080 Olivier Hainque <hainque@adacore.com>
2081
2082 * config.host (aarch64-vxworks7*, tmake_file): Add
2083 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2084
20852020-11-03 Martin Storsjö <martin@martin.st>
2086
2087 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2088 before calling the callback.
2089
88ce3d5f
GA
20902020-10-30 Olivier Hainque <hainque@adacore.com>
2091 Douglas Rupp <rupp@adacore.com>
2092 Pat Bernardi <bernardi@adacore.com>
2093
2094 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2095 to apply to VxWorks 7 as well.
2096
4f0606fe
GA
20972020-10-29 Olivier Hainque <hainque@adacore.com>
2098
2099 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2100 controlling the definition of VX_ENTER_TLS_DTOR and
2101 VX_LEAVE_TLS_DTOR based on a version major check.
2102
21032020-10-29 Olivier Hainque <hainque@adacore.com>
2104
2105 * config/gthr-vxworks-thread.c: Fix name of macro used
2106 to condition the inclusion of an actual implementation.
2107
89bb01e7
GA
21082020-10-27 Martin Liska <mliska@suse.cz>
2109
2110 PR gcov-profile/97461
2111 * libgcov.h (gcov_counter_add): Use first static counters
2112 as it should help to have malloc wrappers set up.
2113
efe71fcc
GA
21142020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2115
2116 * config/gthr-vxworks-thread.c: #include gthr.h before
2117 testing the guard defined there.
2118 * config/gthr-vxworks-cond.c: Likewise.
2119
56ddd5e2
GA
21202020-10-21 Douglas Rupp <rupp@adacore.com>
2121 Olivier Hainque <hainque@adacore.com>
2122
2123 * config.host (powerpc*-wrs-vxworks7*): New case.
2124 * configure.ac: Handle powerpc*-*-vxworks7* as
2125 powerpc*-*-linux* for ppc-fp_type.
2126 * configure: Regenerate.
2127
56e4eee9
GA
21282020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2129
2130 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2131 section on VxWorks >= 6.
2132 * config/gthr-vxworks-thread.c: Condition the entire
2133 implementation on __GTHREAD_CXX0X.
2134
21352020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2136
2137 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2138 section on VxWorks >= 6.
2139 * config/gthr-vxworks-cond.c: Condition the entire
2140 implementation on __GTHREAD_HAS_COND.
2141
21422020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2143
2144 * config/gthr-vxworks.c: #include <taskLib.h>.
2145
21462020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2147
2148 * config/gthr-vxworks.h: Rewrite remaining occurrence
2149 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2150
21512020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2152 Olivier Hainque <hainque@adacore.com>
2153
2154 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2155 except on VxWorks 6.
2156
21572020-10-16 Olivier Hainque <hainque@adacore.com>
2158
2159 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2160
b2698c21
GA
21612020-10-14 Alexandre Oliva <oliva@adacore.com>
2162
2163 * config/gthr-vxworks-thread.c: Include stdlib.h.
2164 (tls_delete_hook): Prototype it.
2165 (__gthread_cond_signal): Return early if no waiters. Consume
2166 signal in case the semaphore got full. Use semInfoGet instead
2167 of kernel-mode-only semInfo.
2168 (__gthread_cond_timedwait): Use semExchange. Always take the
2169 mutex again before returning.
2170 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2171
21722020-10-14 Olivier Hainque <hainque@adacore.com>
2173
2174 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2175 $(MULTISUBDIR) to the -I path for fixed headers, as we
2176 arrange to have different sets of such headers for different
2177 multilibs when they are activated.
2178 * config/t-vxworks7: Likewise.
2179
21802020-10-14 Olivier Hainque <hainque@adacore.com>
2181
2182 * config/t-vxworks: Add include-fixed to include search
2183 paths for libgcc on VxWorks.
2184 * config/t-vxworks7: Likewise.
2185
c74a0e82
GA
21862020-10-09 H.J. Lu <hjl.tools@gmail.com>
2187
2188 PR target/97148
2189 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2190 instead of <cetintrin.h>.
2191
6c2675fa
GA
21922020-10-01 Alan Modra <amodra@gmail.com>
2193
2194 * config/rs6000/morestack.S,
2195 * config/rs6000/tramp.S: Support __PCREL__ code.
2196
21972020-10-01 Alan Modra <amodra@gmail.com>
2198
2199 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2200
93bca37c
GA
22012020-09-29 Maciej W. Rozycki <macro@wdc.com>
2202
2203 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2204 variable.
2205
e84761c6
GA
22062020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2207
2208 * config/aarch64/libgcc-softfp.ver: New file.
2209 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2210
4383c595
GA
22112020-09-27 Clement Chigot <clement.chigot@atos.net>
2212
2213 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2214
521d2711
GA
22152020-09-22 Sergei Trofimovich <siarheit@google.com>
2216
2217 PR gcov-profile/96913
2218 * libgcov-driver.c (write_one_data): Avoid function pointer
2219 comparison in TOP streaming decision.
2220
2aad20c0
GA
22212020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2222 Christophe Lyon <christophe.lyon@linaro.org>
2223
2224 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2225 qualifier.
2226 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2227 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2228 missing prototypes.
2229
22302020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2231
2232 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2233 unused variable warning.
2234
ecde1b0a
GA
22352020-09-16 Jojo R <jiejie_rong@c-sky.com>
2236
2237 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2238
80f86e78
GA
22392020-09-09 Tom de Vries <tdevries@suse.de>
2240
2241 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2242 Wbuiltin-declaration-mismatch.
2243
57ea0894
GA
22442020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2245
2246 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2247 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2248 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2249
b3cb5606
GA
22502020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2251
2252 * config/nvptx/atomic.c: New.
2253 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2254
6a1ad710
GA
22552020-08-03 Ian Lance Taylor <iant@golang.org>
2256
2257 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2258
22592020-08-03 Jakub Jelinek <jakub@redhat.com>
2260
2261 PR target/96402
2262 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2263 of x(tmp0), x(tmp1) in STXP arguments.
2264
48cc2e46
GA
22652020-07-31 Maciej W. Rozycki <macro@wdc.com>
2266
2267 * config/riscv/save-restore.S [__riscv_xlen == 64]
2268 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2269 (__riscv_save_2): Replace negative immediates used for the final
2270 stack pointer adjustment with positive ones, right-shifted by 4.
2271
22722020-07-31 Martin Liska <mliska@suse.cz>
2273
2274 * libgcov-driver.c: Add __gcov_kvp_pool
2275 and __gcov_kvp_pool_index variables.
2276 * libgcov.h (allocate_gcov_kvp): New.
2277 (gcov_topn_add_value): Use it.
2278
53256ee3
GA
22792020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2280
2281 * config/aarch64/lse.S: Add PAC property note.
2282
9bb403dc
GA
22832020-07-23 Martin Liska <mliska@suse.cz>
2284
2285 PR gcov-profile/96035
2286 * libgcov-driver-system.c: Create gcov folders with 0777
2287 so that it respects a system umask.
2288
8ca07a30
GA
22892020-07-14 David Edelsohn <dje.gcc@gmail.com>
2290
2291 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2292
ea69fcf9
GA
22932020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2294
2295 PR target/94891
2296 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2297 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2298 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2299 (MD_DEMANGLE_RETURN_ADDR): This.
2300 (aarch64_post_extract_frame_addr): Rename to ...
2301 (aarch64_demangle_return_addr): This.
2302 (aarch64_post_frob_eh_handler_addr): Remove.
2303 * unwind-dw2.c (uw_update_context): Demangle return address.
2304 (uw_frob_return_addr): Remove.
2305
3f8ca9cb
GA
23062020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2307
2308 PR target/96001
2309 * config/aarch64/lse.S: Add BTI marking and related definitions,
2310 and add BTI c to function entries.
2311
23122020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2313
2314 * config/aarch64/lse.S: Add stack note.
2315
b5f24739
GA
23162020-07-02 Martin Liska <mliska@suse.cz>
2317
2318 PR gcov-profile/95348
2319 * libgcov-driver.c (merge_one_data): Merge only profiles
2320 that are not of non-zero type.
2321 (write_one_data): Write counters only if there's one non-zero
2322 value.
2323 * libgcov-util.c (tag_function): Change signature from unsigned
2324 to int.
2325 (tag_blocks): Likewise.
2326 (tag_arcs): Likewise.
2327 (tag_counters): Likewise.
2328 (tag_summary): Likewise.
2329 (tag_lines): Read only if COUNTERS is non-zero.
2330 (read_gcda_file): Handle negative length for COUNTERS type.
2331
d61ffe12
GA
23322020-06-25 Martin Liska <mliska@suse.cz>
2333
2334 * libgcov-driver.c (merge_summary): Remove function as its name
2335 is misleading and doing something different.
2336 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2337 in gcov-tool.
2338 * libgcov-util.c (curr_object_summary): Remove.
2339 (read_gcda_file): Remove unused curr_object_summary.
2340 (gcov_merge): Merge summaries.
2341 * libgcov.h: Add summary argument for gcov_info struct.
2342
2e546c26
GA
23432020-06-24 H.J. Lu <hjl.tools@gmail.com>
2344
2345 PR target/95259
2346 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2347 "common/config/i386/i386-cpuinfo.h" and
2348 "common/config/i386/cpuinfo.h".
2349 (__cpu_features2): Changed to array.
2350 (get_amd_cpu): Removed.
2351 (get_intel_cpu): Likewise.
2352 (get_available_features): Likewise.
2353 (__cpu_indicator_init): Call cpu_indicator_init.
2354 * config/i386/cpuinfo.h: Removed.
2355
4543acc8
GA
23562020-06-23 David Edelsohn <dje.gcc@gmail.com>
2357
2358 * Makefile.in: Remove uses of empty.mk. Use -include.
2359 * config/avr/t-avr: Use -include.
2360 * empty.mk: Delete.
2361
f86e11a2
GA
23622020-06-21 David Edelsohn <dje.gcc@gmail.com>
2363
2364 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2365 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2366 and 64 bit with -maix64.
2367 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2368 Build and install AIX-style FAT libraries.
2369
aff95ee7
GA
23702020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2371
2372 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2373 'i386/gnu-unwind.h'
2374 * config/i386/gnu-unwind.h: New file.
2375
23762020-06-17 Martin Liska <mliska@suse.cz>
2377
2378 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2379 (merge_wrapper): Add both counts and use them properly.
2380 (topn_to_memory_representation): New function.
2381 (gcov_merge): Covert on disk representation to in memory
2382 representation.
2383 * libgcov.h: Remove const operator.
2384
6fb94d67
GA
23852020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2386
2387 * configure: Regenerate.
2388 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2389 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2390
b952c2cf
GA
23912020-06-09 Martin Liska <mliska@suse.cz>
2392
2393 PR gcov-profile/95494
2394 * libgcov-driver.c (write_top_counters): Cast first to
2395 intptr_t as sizeof(*) != sizeof(gcov_type).
2396 * libgcov.h (gcov_counter_set_if_null): Remove.
2397 (gcov_topn_add_value): Cast first to intptr_t and update
2398 linked list directly.
2399
24002020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2401
2402 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2403 with uw_install_context_1.
2404
3add3425
GA
24052020-06-04 Andreas Schwab <schwab@suse.de>
2406
2407 PR target/59230
2408 PR libfortran/59227
2409 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2410 soft-fp/divtf3.c.
2411 (LIB2ADD): Add config/ia64/divtf3.c.
2412 * config/ia64/divtf3.c: New file.
2413
9a5b7438
GA
24142020-06-03 Martin Liska <mliska@suse.cz>
2415
2416 PR gcov-profile/95480
2417 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2418 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2419 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2420 (gcov_counter_set_if_null): Likewise.
2421
a9312a79
GA
24222020-06-02 Jim Wilson <jimw@sifive.com>
2423
2424 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2425 to bgtz.
2426
24272020-06-02 Martin Liska <mliska@suse.cz>
2428
2429 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2430 of xmalloc.
2431
24322020-06-02 Martin Liska <mliska@suse.cz>
2433
2434 * libgcov-driver.c (prune_topn_counter): Remove.
2435 (prune_counters): Likewise.
2436 (merge_one_data): Special case TOP N counters
2437 as they have variable length.
2438 (write_top_counters): New.
2439 (write_one_data): Special case TOP N.
2440 (dump_one_gcov): Do not prune TOP N counters.
2441 * libgcov-merge.c (merge_topn_values_set): Remove.
2442 (__gcov_merge_topn): Use gcov_topn_add_value.
2443 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2444 Likewise here.
2445 * libgcov.h (gcov_counter_add): New.
2446 (gcov_counter_set_if_null): Likewise.
2447 (gcov_topn_add_value): New.
2448
4a9aa9de
GA
24492020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2450
2451 * config/i386/sfp-exceptions.c (struct fenv):
2452 Add __attribute__ ((gcc_struct)).
2453
885ef72f
GA
24542020-05-29 H.J. Lu <hjl.tools@gmail.com>
2455
2456 PR bootstrap/95413
2457 * configure: Regenerated.
2458
53ffb43a
GA
24592020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2460
2461 PR gcov-profile/95332
2462 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2463 * libgcov.h (gcov_magic): Disable GCC poison.
2464
5855bdfa
L
24652020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2466
2467 PR target/95212
2468 * config/i386/cpuinfo.h (processor_features): Move
2469 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2470
35b98036
L
24712020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2472
2473 PR target/91695
2474 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2475 check.
2476
45395445
L
24772020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2478
2479 PR target/95212
2480 PR target/95220
2481 * config/i386/cpuinfo.c (get_available_features): Fix
2482 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2483 * config/i386/cpuinfo.h (processor_features): Add
2484 FEATURE_AVX512VP2INTERSECT.
2485
4c1a5d8b
L
24862020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2487
2488 PR bootstrap/95147
2489 * configure: Regenerated.
2490
8d286dd1
L
24912020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2492
2493 * configure: Regenerated.
2494
39748a89
HPN
24952020-05-09 Hans-Peter Nilsson <hp@axis.com>
2496
2497 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2498 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2499
d3a1459c
UB
25002020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2501
2502 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2503 (__math_force_eval_div): New define.
2504 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2505 generic division to generate INVALID, DIVZERO and INEXACT
2506 exceptions.
2507
12667785
KT
25082020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2509
2510 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2511 instead of getauxval.
2512 (AT_HWCAP): Define.
2513 (HWCAP_ATOMICS): Define.
2514 Guard detection on __gnu_linux__.
2515
ef836167
MM
25162020-05-05 Michael Meissner <meissner@linux.ibm.com>
2517
2518 * config.host: Delete changes meant for a private branch.
2519 * config/rs6000/t-float128: Likewise.
2520 * configure.ac: Likewise.
2521 * configure: Likewise.
2522
811b7636
ML
25232020-05-05 Martin Liska <mliska@suse.cz>
2524
2525 PR gcov-profile/93623
2526 * Makefile.in: Remove __gcov_flush.
2527 * gcov.h (__gcov_flush): Remove.
2528 * libgcov-interface.c (__gcov_flush): Remove.
2529 (init_mx): Use renamed mutex.
2530 (__gcov_lock): Likewise.
2531 (__gcov_unlock): Likewise.
2532 (__gcov_fork): Likewise.
2533 (__gcov_flush): Remove.
2534
c0532db4
ML
25352020-05-05 Martin Liska <mliska@suse.cz>
2536
2537 PR gcov-profile/93623
2538 * libgcov-interface.c (__gcov_fork): Do not flush
2539 and reset only in child process.
2540 (__gcov_execl): Dump counters only and reset them
2541 only if exec* fails.
2542 (__gcov_execlp): Likewise.
2543 (__gcov_execle): Likewise.
2544 (__gcov_execv): Likewise.
2545 (__gcov_execvp): Likewise.
2546 (__gcov_execve): Likewise.
2547
d39f7dc8
ML
25482020-05-05 Martin Liska <mliska@suse.cz>
2549
2550 PR gcov-profile/93623
2551 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2552 * libgcov-interface.c (ALIAS_void_fn): Remove.
2553 (__gcov_lock): New.
2554 (__gcov_unlock): New.
2555 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2556 (__gcov_reset): Likewise.
2557 (__gcov_dump): Likewise.
2558 * libgcov.h (__gcov_lock): New declaration.
2559 (__gcov_unlock): Likewise.
2560
afb9b710
UB
25612020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2562
2563 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2564 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2565 generic division to generate INVALID and DIVZERO exceptions.
2566
66711279
SH
25672020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2568
2569 * config/rs6000/crtresfpr.S: Use .machine ppc.
2570 * config/rs6000/crtresxfpr.S: Likewise.
2571 * config/rs6000/crtsavfpr.S: Likewise.
2572
fb22faf4
SN
25732020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2574
2575 PR target/94514
2576 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2577 Update context->flags accroding to the frame state.
2578
df73e584
UB
25792020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2580
2581 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2582 Remove unneeded assignments to volatile memory.
2583
5b2f76e3
JJ
25842020-04-15 Jakub Jelinek <jakub@redhat.com>
2585
2586 PR target/93053
2587 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2588 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2589 is not defined, use just .arch armv8-a.
2590 (B, M, N, OPN): Define.
2591 (COMMENT): New .macro.
2592 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2593 defined. Otherwise, move the operands right after the glue? and
2594 comment out operands where the macros are used.
2595 * configure: Regenerated.
2596 * config.in: Regenerated.
2597
50c78532
ILT
25982020-04-07 Ian Lance Taylor <iant@golang.org>
2599
2600 PR libgcc/94513
2601 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2602 syscall instead.
2603
458ca332
ILT
26042020-04-04 Ian Lance Taylor <iant@golang.org>
2605
2606 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2607
710d54ed
ILT
26082020-04-03 Ian Lance Taylor <iant@golang.org>
2609
2610 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2611 than mmap/munmap, to avoid hooks.
2612
b749b5ec
JJ
26132020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2614
2615 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2616 (TPFRA_OFFSET): Macros removed.
2617 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2618 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2619 (PG3_SKIPPING_OFFSET): New macros.
2620 (__isPATrange): Use cinfc_fast for the check.
2621 (__isSkipResetAddr): New function.
2622 (s390_fallback_frame_state): Check for skip trace addresses. Use
2623 either ICST_CRET or ICST_SRET to calculate return address
2624 location.
2625 (__tpf_eh_return): Handle skip trace addresses.
2626
a9cd2d78
RE
26272020-03-26 Richard Earnshaw <rearnsha@arm.com>
2628
2629 PR target/94220
2630 * config/arm/lib1funcs.asm (COND): Use a single definition for
2631 unified syntax.
2632 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2633 (aeabi_idivmod): Likewise.
2634 (divsi3_skip_div0_test): Likewise.
2635
f582ca0f
MI
26362020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2637
2638 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2639
068fe0a9
AK
26402020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2641
2642 * config.host: Include the new makefile fragment.
2643 * config/s390/t-tpf: New file.
2644
6b9ce2b4
RE
26452020-03-03 Richard Earnshaw <rearnsha@arm.com>
2646
2647 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2648 syntax.
2649 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2650 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2651 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2652 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2653 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2654 syntax.
2655 (divsi3, modsi3): Likewise.
2656 (clzdi2, ctzsi2): Likewise.
2657 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2658 unified syntax.
2659 (UNWIND_WRAPPER): Likewise.
2660
8dd5d8f3
ML
26612020-03-02 Martin Liska <mliska@suse.cz>
2662
2663 * libgcov-interface.c: Remove duplicate
2664 declaration of __gcov_flush_mx.
2665
ea0b1252
ML
26662020-02-18 Martin Liska <mliska@suse.cz>
2667
2668 PR ipa/92924
2669 * libgcov-merge.c (merge_topn_values_set): Record
2670 when a TOP N counter becomes invalid. When merging
2671 remove a smallest value if the space is needed.
2672
02ce382c
SL
26732020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2674
2675 PR libstdc++/79193
2676 PR libstdc++/88999
2677
2678 * configure: Regenerated.
2679
7214fce3
JL
26802020-02-10 Jeff Law <law@redhat.com>
2681
2682 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2683 sections.
2684 * config/frv/frvend.c: Similarly.
2685
cf0f07ef
L
26862020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2687
2688 PR libgcc/85334
2689 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2690 New.
2691
5602b48b
CL
26922020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2693
2694 PR target/93615
2695 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2696 _Unwind_gnu_Find_got.
2697 * unwind-pe.h: Likewise.
2698
811a475e
JJ
26992020-02-07 Jakub Jelinek <jakub@redhat.com>
2700
2701 PR target/93615
2702 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2703 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2704 trailing :s in asm. Formatting fixes.
2705 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2706
2d33dcfe
SL
27072020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2708
2709 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2710
2711 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2712 * config/nios2-elf-lib.h: New.
2713 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2714 code for finding GOT base for nios2.
2715
3ae37f92
ML
27162020-01-27 Martin Liska <mliska@suse.cz>
2717
2718 PR gcov-profile/93403
2719 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2720 Call __gcov_indirect_call_profiler_body.
2721 (__gcov_indirect_call_profiler_body): New.
2722 (__gcov_indirect_call_profiler_v4_atomic): New.
2723 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2724 New declaration.
2725
2744b8b2
CZ
27262020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2727
2728 * config/arc/crti.S: Add RF16 object attribute.
2729 * config/arc/crtn.S: Likewise.
2730 * config/arc/crttls.S: Likewise.
2731 * config/arc/lib1funcs.S: Likewise.
2732 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2733 * config/arc/lib2funcs.c: New file.
2734 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2735
e8e66971
MR
27362020-01-24 Maciej W. Rozycki <macro@wdc.com>
2737
2738 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2739 * configure.ac: Handle `--with-toolexeclibdir='.
2740 * configure: Regenerate.
2741
54b3d52c
DM
27422020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2743
2744 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2745
a3c1e1f2
DM
27462020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2747
2748 * config/mips/gnustack.h: New file.
2749 * config/mips/crti.S: Include gnustack.h.
2750 * config/mips/crtn.S: Likewise.
2751 * config/mips/mips16.S: Likewise.
2752 * config/mips/vr4120-div.S: Likewise.
2753
e9ee848d
ML
27542020-01-23 Martin Liska <mliska@suse.cz>
2755
2756 * libgcov-driver.c (prune_topn_counter): Remove
2757 check for -1 as we only prune run-time counters
2758 that do not generate an invalid state.
2759
7491c17f
ML
27602020-01-22 Martin Liska <mliska@suse.cz>
2761
2762 PR tree-optimization/92924
2763 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2764 try to find an existing value, then find an empty slot
2765 if not found.
2766
5f32f9cf
ML
27672020-01-22 Martin Liska <mliska@suse.cz>
2768
2769 PR tree-optimization/92924
2770 * libgcov-driver.c (prune_topn_counter): New.
2771 (prune_counters): Likewise.
2772 (dump_one_gcov): Prune a run-time counter.
2773 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2774 For a known value, add GCOV_TOPN_VALUES to value.
2775 Otherwise, decrement all counters by one.
2776
463f6499
HPN
27772020-01-18 Hans-Peter Nilsson <hp@axis.com>
2778
2779 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2780
84479e3a
JDA
27812020-01-18 John David Anglin <danglin@gcc.gnu.org>
2782
2783 PR libgcc/92988
2784 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2785 DEFAULT_USE_CXA_ATEXIT is true.
2786
e953433f 27872020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 2788 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
2789
2790 * config/arm/t-arm: Check return value of gcc rather than lack of
2791 output.
2792
03e87724
GJL
27932020-01-14 Georg-Johann Lay <avr@gjlay.de>
2794
2795 * config/avr/lib1funcs.S (skip): Simplify.
2796
af9bd920
KCY
27972020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2798
2799 * config/gcn/atomic.c: Remove include of stdint.h.
2800 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2801 __UINTPTR_TYPE__.
2802
d6491d15
KCY
28032020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2804
2805 * config/gcn/atomic.c: New.
2806 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2807
f30dd607
GJL
28082020-01-08 Georg-Johann Lay <avr@gjlay.de>
2809
2810 Implement 64-bit double functions.
2811
2812 PR target/92055
2813 * config.host (tmake_file) [target=avr]: Add t-libf7,
2814 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2815 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2816 depending on sizeof (double) or sizeof (long double).
2817 * config/avr/libf7: New folder.
2818
5205a445
OH
28192020-01-05 Olivier Hainque <hainque@adacore.com>
2820
2821 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2822 by IN_LIBGCC2.
2823
8d9254fc
JJ
28242020-01-01 Jakub Jelinek <jakub@redhat.com>
2825
2826 Update copyright years.
2827
abb6c3ee
OH
28282019-12-30 Olivier Hainque <hainque@adacore.com>
2829
2830 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2831 * config/gthr-vxworks-tls.c: Likewise.
2832
d7f5094a
OH
28332019-12-30 Olivier Hainque <hainque@adacore.com>
2834
2835 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2836 standard zero-initializer syntax.
2837
49cfaa2a
OH
28382019-12-30 Olivier Hainque <hainque@adacore.com>
2839
2840 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2841 reference to the internal VX_GET_TLS_DATA interface.
2842
89b9a554
OH
28432019-12-30 Olivier Hainque <hainque@adacore.com>
2844
2845 * config/vxcrtstuff.c: Fix incorrect spelling of
2846 USE_INITFINI_ARRAY in guard.
2847
e8aa9f55
JL
28482019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2849
2850 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2851 Override default "extra_parts" variable.
2852 * configure: Regenerate.
2853 * configure.ac: Disable TM clone registry by default for
2854 msp430-elfbare.
2855
a9046e98
JL
28562019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2857
2858 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2859 "extra_parts".
2860 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2861
34a53788
JL
28622019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2863
2864 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2865 true.
2866
21a098f4
JL
28672019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2868
2869 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2870 defined instead of its value.
2871
ad8b7783
JL
28722019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2873
2874 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2875 if it will have contents.
2876
08d7ff78
GJL
28772019-12-05 Georg-Johann Lay <avr@gjlay.de>
2878
2879 PR target/92055
2880 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2881
3d3a96a2
SN
28822019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2883
34b4d99d 2884 PR libgcc/91737
3d3a96a2
SN
2885 * config.host: Add t-gthr-noweak on *-*-musl*.
2886 * config/t-gthr-noweak: New file.
2887
632b5e3d
JDA
28882019-11-17 John David Anglin <danglin@gcc.gnu.org>
2889
2890 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2891 volatile void *. Remove trap check.
2892 (__kernel_cmpxchg2): Likewise.
2893 (FETCH_AND_OP_2): Adjust operand types.
2894 (OP_AND_FETCH_2): Likewise.
2895 (FETCH_AND_OP_WORD): Likewise.
2896 (OP_AND_FETCH_WORD): Likewise.
2897 (COMPARE_AND_SWAP_2): Likewise.
2898 (__sync_val_compare_and_swap_4): Likewise.
2899 (__sync_bool_compare_and_swap_4): Likewise.
2900 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2901 (__sync_lock_test_and_set_4): Likewise.
2902 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2903 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2904 for release.
2905 (__sync_lock_release_8): Remove.
2906
838fd641
SN
29072019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2908
2909 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2910 of __sigset_t.
2911
27204060
JL
29122019-11-14 Jerome Lambourg <lambourg@adacore.com>
2913 Doug Rupp <rupp@adacore.com>
2914 Olivier Hainque <hainque@adacore.com>
2915
2916 * config.host: Collapse the arm-vxworks entries into
2917 a single arm-wrs-vxworks7* one.
2918 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2919 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2920 kernel modules, to be overriden by libstdc++ when we link with
2921 it. Rely on externally provided __exidx_start/end.
2922
3004f893
DR
29232019-11-14 Doug Rupp <rupp@adacore.com>
2924 Olivier Hainque <hainque@adacore.com>
2925
2926 * config.host: Handle aarch64*-wrs-vxworks7*.
2927
36e5f4d4
OH
29282019-11-12 Olivier Hainque <hainque@adacore.com>
2929
2930 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2931 sources except the cxx0x support to LIB2ADDEH. We don't support
2932 cxx0x on AE/653.
2933 * config/t-vxworksae: New file.
2934 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2935 Makefile fragment files at their expected position in the tmake_file
2936 list, in accordance with what is done for other VxWorks variants.
2937
806dd047
CG
29382019-11-12 Corentin Gay <gay@adacore.com>
2939 Jerome Lambourg <lambourg@adacore.com>
2940 Olivier Hainque <hainque@adacore.com>
2941
2942 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2943 sources to LIB2ADDEH.
2944 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2945 * config/t-vxworks7: Likewise.
2946
2947 * config.host: Append a block at the end of the file to add the
2948 t-gthr files to the tmake_file list for VxWorks after everything
2949 else.
2950
2951 * config/vxlib.c: Rename as gthr-vxworks.c.
2952 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2953
2954 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2955 API and a basic error checking API, both internal. Simplify the
2956 __gthread_once_t type definition and initializers. Add sections
2957 for condition variables support and for the C++0x thread support,
2958 conditioned against Vx653 for the latter.
2959
2960 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2961 implementation, leveraging the TAS internal API.
2962 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2963 API, leveraging the general availability of TLS services in VxWorks7
2964 post SR6xxx.
2965 (__gthread_setspecific, __gthread_setspecific): Use it.
2966 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2967 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2968 support based on VxWorks primitives.
2969 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2970 based on VxWorks primitives.
2971
78e49fb1
JL
29722019-11-06 Jerome Lambourg <lambourg@adacore.com>
2973 Olivier Hainque <hainque@adacore.com>
2974
2975 * config/vxcrtstuff.c: New file.
2976 * config/t-vxcrtstuff: New Makefile fragment.
2977 * config.host: Append t-vxcrtstuff to the tmake_file list
2978 on all VxWorks ports using dwarf for table based EH.
2979
29f3def3
GJL
29802019-11-07 Georg-Johann Lay <avr@gjlay.de>
2981
2982 Support 64-bit double and 64-bit long double configurations.
2983
2984 PR target/92055
2985 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2986 long double is a 32-bit type.
2987 * config/avr/t-avrlibc: Copy double64 and long-double64
2988 multilib(s) from the vanilla one.
2989 * config/avr/t-copy-libgcc: New Makefile snip.
2990
62ec242e
JL
29912019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2992
2993 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2994 the target output object format is not ELF.
2995 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2996
da5c1bbe
OE
29972019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2998
2999 PR libgcc/78804
3000 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
3001 * fp-bit.c (pack_d, unpack_d): Remove special cases for
3002 FLOAT_BIT_ORDER_MISMATCH.
3003 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
3004
8dc56a22
JW
30052019-11-01 Jim Wilson <jimw@sifive.com>
3006
3007 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
3008
91c64455
JL
30092019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3010
3011 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
3012 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
3013 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
3014 Define symbols for 32-bit and f5series hardware multiply
3015 register addresses.
3016 Replace hard-coded register addresses with symbols.
3017 Fix "_mspabi*" typo.
3018 Fix whitespace.
3019 * config/msp430/lib2mul.c: Add comment.
3020
85093ac6
JDA
30212019-10-15 John David Anglin <danglin@gcc.gnu.org>
3022
3023 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
3024 unsigned int. Adjust callers.
3025 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
3026 unsigned int *. Load relocation offset before function pointer.
3027 Add barrier to ensure ordering.
3028
1aea083d
JDA
30292019-10-12 John David Anglin <danglin@gcc.gnu.org>
3030
3031 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
3032 Load PIC register after branch target. Fix white space.
3033 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
3034 implementations. Load PIC register after branch target. Don't
3035 clobber function pointer when it points to function descriptor.
3036 Use nullification instead of branch in LINUX implementation.
3037
c49af82c
JDA
30382019-10-03 John David Anglin <danglin@gcc.gnu.org>
3039
3040 * config/pa/fptr.c: Disable -Warray-bounds warning.
3041
88a51d68
RH
30422019-09-25 Richard Henderson <richard.henderson@linaro.org>
3043
9e46fd07
RH
3044 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3045 not the ubuntu modified 2.69.
3046
58d169ba
RH
3047 PR target/91833
3048 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3049 initialization if !HAVE_SYS_AUXV_H.
3050 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3051 * config.in, configure: Rebuild.
3052
88a51d68
RH
3053 PR target/91834
3054 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3055 overlap the inputs.
3056
761e6bb9
SZ
30572019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
3058
3059 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3060 CTR_EL0.IDC and CTR_EL0.DIC.
3061
76c93295
CL
30622019-09-20 Christophe Lyon <christophe.lyon@st.com>
3063
3064 Revert:
3065 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3066 Mickaël Guêné <mickael.guene@st.com>
3067
3068 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3069 architecture.
3070
33befddc
RH
30712019-09-19 Richard Henderson <richard.henderson@linaro.org>
3072
3073 * config/aarch64/lse-init.c: New file.
3074 * config/aarch64/lse.S: New file.
3075 * config/aarch64/t-lse: New file.
3076 * config.host: Add t-lse to all aarch64 tuples.
3077
ae1152e5
CL
30782019-09-10 Christophe Lyon <christophe.lyon@st.com>
3079 Mickaël Guêné <mickael.guene@st.com>
3080
84818dbb
CL
3081 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3082 architecture.
3083
30842019-09-10 Christophe Lyon <christophe.lyon@st.com>
3085 Mickaël Guêné <mickael.guene@st.com>
3086
ae1152e5
CL
3087 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3088 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3089 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3090 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3091 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3092 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3093 (__gnu_personality_sigframe_fdpic): New.
3094 (get_eit_entry): Add FDPIC signal frame support.
3095
5d727a4b
CL
30962019-09-10 Christophe Lyon <christophe.lyon@st.com>
3097 Mickaël Guêné <mickael.guene@st.com>
3098
3099 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3100 (__kernel_dmb): Likewise.
3101 (__fdpic_cmpxchg): New function.
3102 (__fdpic_dmb): New function.
3103 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3104 (gnu_Unwind_Find_got): New function.
3105 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3106 * unwind-arm-common.inc (UCB_PR_GOT): New.
3107 (funcdesc_t): New struct.
3108 (get_eit_entry): Add FDPIC support.
3109 (unwind_phase2): Likewise.
3110 (unwind_phase2_forced): Likewise.
3111 (__gnu_Unwind_RaiseException): Likewise.
3112 (__gnu_Unwind_Resume): Likewise.
3113 (__gnu_Unwind_Backtrace): Likewise.
3114 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3115
b1e21e5a 31162019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 3117 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 3118
11189793
CL
3119 * libgcc/crtstuff.c: Add support for FDPIC.
3120
31212019-09-10 Christophe Lyon <christophe.lyon@st.com>
3122
3123 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 3124
91dfef96
JM
31252019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3126
3127 * config.host: Set cpu_type for bpf-*-* targets.
3128 * config/bpf/t-bpf: Likewise.
3129 * config/bpf/crtn.S: Likewise.
3130 * config/bpf/crti.S: New file.
3131
2f4d8951
JW
31322019-09-06 Jim Wilson <jimw@sifive.com>
3133
3134 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3135 (riscv*-*-freebsd*): Likewise.
3136
2f2aeda9
UW
31372019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3138
3139 * config.host: Remove references to spu.
3140 * config/spu/: Remove directory.
3141
d16017da
JL
31422019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3143
3144 PR target/91306
3145 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3146 element type, instead of "sizeof" the element type.
3147 (__DTOR_LIST__): Likewise.
3148 (__TMC_LIST__): Likewise.
3149 (__do_global_dtors_aux_fini_array_entry): Likewise.
3150 (__frame_dummy_init_array_entry): Likewise.
3151 (__CTOR_END__): Likewise.
3152 (__DTOR_END__): Likweise.
3153 (__FRAME_END__): Likewise.
3154 (__TMC_END__): Likewise.
3155
a9fcfec3
HL
31562019-08-20 Lili Cui <lilicui@intel.com>
3157
3158 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3159 INTEL_COREI7_COOPERLAKE.
3160
428642b1
MT
31612019-07-31 Matt Thomas <matt@3am-software.com>
3162 Nick Hudson <nick@nthcliff.demon.co.uk>
3163 Matthew Green <mrg@eterna.com.au>
3164 Maya Rashish <coypu@sdf.org>
3165
3166 * config.host (hppa*-*-netbsd*): New case.
3167 * config/pa/t-netbsd: New file.
3168
f0efd925
JH
31692019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3170
3171 * config/arm/cmse.c (cmse_check_address_range): Add
3172 warn_unused_result attribute.
3173
a861990d
ML
31742019-07-22 Martin Liska <mliska@suse.cz>
3175
3176 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3177 * config/pa/t-stublib: Likewise.
3178
9c0dba7c
SH
31792019-07-22 Stafford Horne <shorne@gmail.com>
3180
3181 PR target/90362
3182 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3183 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3184 instructions are not available on every processor. Change a
3185 l.bnf to l.bf to fix logic issue.
3186
61afc8f8
IS
31872019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3188
3189 * config.host: Remove reference to t-darwin8.
3190
179c7ef5
IS
31912019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3192
3193 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3194 list.
3195 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3196 mmacosx-version-min for crts to run across all system versions.
3197 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3198 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3199 system versions >= 10.4.
3200
596341c7
ML
32012019-07-03 Martin Liska <mliska@suse.cz>
3202
3203 * Makefile.in: Use topn_values instead of one_value names.
3204 * libgcov-merge.c (__gcov_merge_single): Move to ...
3205 (__gcov_merge_topn): ... this.
3206 (merge_single_value_set): Move to ...
3207 (merge_topn_values_set): ... this.
3208 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3209 ...
3210 (__gcov_topn_values_profiler_body): ... this.
3211 (__gcov_one_value_profiler_v2): Move to ...
3212 (__gcov_topn_values_profiler): ... this.
3213 (__gcov_one_value_profiler_v2_atomic): Move to ...
3214 (__gcov_topn_values_profiler_atomic): ... this.
3215 (__gcov_indirect_call_profiler_v4): Remove.
3216 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3217 (__gcov_topn_counter_op): ... this.
3218 * libgcov.h (L_gcov_merge_single): Remove.
3219 (L_gcov_merge_topn): New.
3220 (__gcov_merge_single): Remove.
3221 (__gcov_merge_topn): New.
3222 (__gcov_one_value_profiler_v2): Move to ..
3223 (__gcov_topn_values_profiler): ... this.
3224 (__gcov_one_value_profiler_v2_atomic): Move to ...
3225 (__gcov_topn_values_profiler_atomic): ... this.
3226
1b309ca5
ML
32272019-07-03 Martin Liska <mliska@suse.cz>
3228
3229 * libgcov-merge.c (merge_single_value_set): Support N values.
3230 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3231
5a460280
ID
32322019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3233
3234 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3235 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3236 * configure.ac: Add --disable-tm-clone-registry option.
3237 * configure: Regenerate.
3238
45309d28
ML
32392019-06-27 Martin Liska <mliska@suse.cz>
3240
3241 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3242 dead assignments.
3243 * libgcov-util.c: Likewise.
3244
c2f7a665
ML
32452019-06-27 Martin Liska <mliska@suse.cz>
3246
3247 * libgcov-util.c (gcov_profile_merge): Release allocated
3248 memory.
3249 (calculate_overlap): Likewise.
3250
a8e55c61
IS
32512019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3252
3253 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3254 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3255 Build objects for the out of line save/restore register functions
3256 so that they can be used for any supported Darwin version.
3257 * config/t-darwin: Default the build Darwin version to Darwin8
3258 (MacOS 10.4).
3259
e5ce4cbc
ML
32602019-06-25 Martin Liska <mliska@suse.cz>
3261
3262 * libgcov-driver-system.c (replace_filename_variables): Do not
3263 call strlen with NULL argument.
3264
52a47d28
AS
32652019-06-25 Andrew Stubbs <ams@codesourcery.com>
3266
3267 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3268 * config/gcn/unwind-gcn.c: New file.
3269
76d46331
KCY
32702019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3271 Andrew Stubbs <ams@codesourcery.com>
3272
3273 * configure: Regenerate.
3274 * config/gcn/gthr-gcn.h: New.
3275
787783a0
TV
32762019-06-18 Tom de Vries <tdevries@suse.de>
3277
3278 * config/nvptx/crt0.c (__main): Declare.
3279
f32f7585
MG
32802019-06-17 Matthew Green <mrg@eterna.com.au>
3281 Maya Rashish <coypu@sdf.org>
3282
3283 * config.host (aarch64*-*-netbsd*): New case.
3284
0fcc78f7
JL
32852019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3286
3287 * config/msp430/slli.S (__mspabi_sllll): New library function for
3288 performing a logical left shift of a 64-bit value.
3289 * config/msp430/srai.S (__mspabi_srall): New library function for
3290 performing a arithmetic right shift of a 64-bit value.
3291 * config/msp430/srll.S (__mspabi_srlll): New library function for
3292 performing a logical right shift of a 64-bit value.
3293
b27c1082
MT
32942019-06-14 Matt Thomas <matt@3am-software.com>
3295 Matthew Green <mrg@eterna.com.au>
3296 Nick Hudson <skrll@netbsd.org>
3297 Maya Rashish <coypu@sdf.org>
3298
3299 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3300 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3301 functions to build.
3302 * config/arm/t-netbsd-eabi: New file.
3303
ae7deb4b
DD
33042019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3305
3306 * config.host: Add PRU target.
3307 * config/pru/asri.c: New file.
3308 * config/pru/eqd.c: New file.
3309 * config/pru/eqf.c: New file.
3310 * config/pru/ged.c: New file.
3311 * config/pru/gef.c: New file.
3312 * config/pru/gtd.c: New file.
3313 * config/pru/gtf.c: New file.
3314 * config/pru/led.c: New file.
3315 * config/pru/lef.c: New file.
3316 * config/pru/lib2bitcountHI.c: New file.
3317 * config/pru/lib2divHI.c: New file.
3318 * config/pru/lib2divQI.c: New file.
3319 * config/pru/lib2divSI.c: New file.
3320 * config/pru/libgcc-eabi.ver: New file.
3321 * config/pru/ltd.c: New file.
3322 * config/pru/ltf.c: New file.
3323 * config/pru/mpyll.S: New file.
3324 * config/pru/pru-abi.h: New file.
3325 * config/pru/pru-asm.h: New file.
3326 * config/pru/pru-divmod.h: New file.
3327 * config/pru/sfp-machine.h: New file.
3328 * config/pru/t-pru: New file.
3329
0d7b3e47
JJ
33302019-06-11 Jakub Jelinek <jakub@redhat.com>
3331
3332 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3333
54e2d83c
ML
33342019-06-10 Martin Liska <mliska@suse.cz>
3335
3336 PR bootstrap/90808
3337 * libgcov.h: Add ATTRIBUTE_UNUSED.
3338
92d41717
ML
33392019-06-10 Martin Liska <mliska@suse.cz>
3340
3341 * Makefile.in: Add __gcov_one_value_profiler_v2,
3342 __gcov_one_value_profiler_v2_atomic and
3343 __gcov_indirect_call_profiler_v4.
3344 * libgcov-merge.c (__gcov_merge_single): Change
3345 function signature.
3346 (merge_single_value_set): New.
3347 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3348 Update functionality.
3349 (__gcov_one_value_profiler): Remove.
3350 (__gcov_one_value_profiler_v2): ... this.
3351 (__gcov_one_value_profiler_atomic): Rename to ...
3352 (__gcov_one_value_profiler_v2_atomic): this.
3353 (__gcov_indirect_call_profiler_v3): Rename to ...
3354 (__gcov_indirect_call_profiler_v4): ... this.
3355 * libgcov.h (__gcov_one_value_profiler): Remove.
3356 (__gcov_one_value_profiler_atomic): Remove.
3357 (__gcov_one_value_profiler_v2_atomic): New.
3358 (__gcov_indirect_call_profiler_v3): Remove.
3359 (__gcov_one_value_profiler_v2): New.
3360 (__gcov_indirect_call_profiler_v4): New.
3361 (gcov_get_counter_ignore_scaling): New function.
3362
e37333ba
ML
33632019-06-07 Martin Liska <mliska@suse.cz>
3364
3365 * Makefile.in: Remove usage of
3366 _gcov_merge_icall_topn.
3367 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3368 (gcov_sort_icall_topn_counter): Likewise.
3369 (gcov_sort_topn_counter_arrays): Likewise.
3370 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3371 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3372 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3373 Likewise.
3374 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3375 (struct indirect_call_tuple): Remove.
3376 (__gcov_indirect_call_topn_profiler): Remove.
3377 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3378 * libgcov.h (gcov_sort_n_vals): Remove.
3379 (L_gcov_merge_icall_topn): Likewise.
3380 (__gcov_merge_icall_topn): Likewise.
3381 (__gcov_indirect_call_topn_profiler): Likewise.
3382
34a4a9c2
IS
33832019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3384
3385 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3386 altivec enabled.
3387
d1b2f85f
JL
33882019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3389
3390 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3391 section.
3392 (__mspabi_slli): Likewise.
3393 (__mspabi_slll_n): Likewise.
3394 (__mspabi_slll): Likewise.
3395 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3396 (__mspabi_srai): Likewise.
3397 (__mspabi_sral_n): Likewise.
3398 (__mspabi_sral): Likewise.
3399 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3400 (__mspabi_srli): Likewise.
3401 (__mspabi_srll_n): Likewise.
3402 (__mspabi_srll): Likewise.
3403
e69a13d1
YS
34042019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3405
3406 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3407 Add appropriate tm_file clause as well.
3408 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3409
b009eac1
JC
34102019-06-05 James Clarke <jrtc27@jrtc27.com>
3411
3412 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3413 rather than .data/.bss so it can be accessed via gp-relative
3414 addressing.
3415
781d39f2
DE
34162019-06-05 David Edelsohn <dje.gcc@gmail.com>
3417
3418 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3419 (CR2_REGNO): Rename to R_CR2.
3420 (XER_REGNO): Rename to R_XER.
3421 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3422 (VRSAVE_REGNO): Rename to R_VRSAVE.
3423 (VSCR_REGNO): R_VSCR.
3424
76aaa9cd
YS
34252019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3426
3427 * config.host (rx-*-linux*): Add new case.
3428 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3429
8fc16d72
ST
34302019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3431
3432 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3433 function.
3434 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3435 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3436 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3437 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3438 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3439 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3440 string.
3441 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3442 string.
3443 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3444
e54b1a92
RO
34452019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3446
3447 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3448 Remove Solaris 9 and 10 support.
3449 (sparc_is_sighandler): Likewise.
3450
abbb8307
JDA
34512019-05-26 John David Anglin <danglin@gcc.gnu.org>
3452
3453 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3454
2581344d
L
34552019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3456
3457 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3458 4_FP_W_TYPEs are used for IEEE quad precision.
3459 * soft-fp/extendhftf2.c: Likewise.
3460 * soft-fp/extendsftf2.c: Likewise.
3461 * soft-fp/extendxftf2.c: Likewise.
3462 * soft-fp/trunctfdf2.c: Likewise.
3463 * soft-fp/trunctfhf2.c: Likewise.
3464 * soft-fp/trunctfsf2.c: Likewise.
3465 * soft-fp/trunctfxf2.c: Likewise.
3466 * config/rs6000/ibm-ldouble.c: Likewise.
3467
ccd1242e
RO
34682019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3469
3470 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3471 *-*-solaris2*.
3472 * configure.ac: Likewise.
3473 * configure: Regenerate.
3474
3475 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3476 Solaris 10 and Solaris 11 < snv_125 handling.
3477
ef5eb79d
IS
34782019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3479
3480 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3481
4f0e90fa
HL
34822019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3483
3484 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3485 * config/i386/cpuinfo.h (enum processor_features): Add
3486 FEATURE_AVX512BF16.
3487
48528842
RR
34882019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3489 Bernd Edlinger <bernd.edlinger@hotmail.de>
3490 Jakub Jelinek <jakub@redhat.com>
3491
3492 PR target/89093
3493 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3494 * config/arm/unwind-arm.c: Likewise.
3495 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3496 attribute for ARM.
3497
887e182f
MC
34982019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3499
3500 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3501 (RT_SIGRETURN): Update.
3502 (nds32_fallback_frame_state): Update.
3503
a90b0cdd
MS
35042019-02-21 Martin Sebor <msebor@redhat.com>
3505
3506 * libgcc2.h (__clear_cache): Correct signature.
3507 * libgcc2.c (__clear_cache): Same.
3508
1ed28eda
UB
35092019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3510
3511 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3512 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3513
fe95aee9
UB
35142019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3515
3516 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3517 regno instead of index to DWARF_ZERO_REG.
3518
bf7988f1
EB
35192019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3520
3521 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3522 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3523
ba2c1ca8
UB
35242019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3525
3526 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3527 to HOST_LIBGCC2_CFLAGS.
3528
6395ba73
L
35292019-01-23 Joseph Myers <joseph@codesourcery.com>
3530
3531 PR libgcc/88931
ba2c1ca8 3532 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3533
756721ba
ML
35342019-01-18 Martin Liska <mliska@suse.cz>
3535
3536 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3537 to ...
3538 (__gcov_indirect_call_profiler_v3): ... this.
3539 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3540 (__gcov_indirect_call_profiler_v3): Likewise.
3541 * Makefile.in: Bump function name.
3542
d273c40a
ML
35432019-01-18 Martin Liska <mliska@suse.cz>
3544
3545 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3546 (gcov_version): Use in gcov_error.
3547 (merge_one_data): Likewise.
3548 (dump_one_gcov): Likewise.
3549
be9d9fdb
ML
35502019-01-18 Martin Liska <mliska@suse.cz>
3551
3552 * libgcov-driver.c (gcov_version_string): New function.
3553 (gcov_version): Convert version integer into string.
3554
91d7b7fe
AS
35552019-01-17 Andrew Stubbs <ams@codesourcery.com>
3556 Kwok Cheung Yeung <kcy@codesourcery.com>
3557 Julian Brown <julian@codesourcery.com>
3558 Tom de Vries <tom@codesourcery.com>
3559
3560 * config.host: Recognize amdgcn*-*-amdhsa.
3561 * config/gcn/crt0.c: New file.
3562 * config/gcn/lib2-divmod-hi.c: New file.
3563 * config/gcn/lib2-divmod.c: New file.
3564 * config/gcn/lib2-gcn.h: New file.
3565 * config/gcn/sfp-machine.h: New file.
3566 * config/gcn/t-amdgcn: New file.
3567
67914693
SL
35682019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3569
3570 PR other/16615
3571
3572 * config/c6x/libunwind.S: Mechanically replace "can not" with
3573 "cannot".
3574 * config/tilepro/atomic.h: Likewise.
3575 * config/vxlib-tls.c: Likewise.
3576 * generic-morestack-thread.c: Likewise.
3577 * generic-morestack.c: Likewise.
3578 * mkmap-symver.awk: Likewise.
3579
a5544970
JJ
35802019-01-01 Jakub Jelinek <jakub@redhat.com>
3581
3582 Update copyright years.
3583
da77eace
L
35842018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3585
3586 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3587 to ignore -Waddress-of-packed-member.
3588
72e3a529
TP
35892018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3590
3591 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3592 parameter and corresponding code.
3593 (ARM_FUNC_START): Likewise in both definitions.
3594 Also update footer comment about condition that need to match with
3595 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3596 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3597 defined. Weakly define it in this case.
3598 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3599 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3600 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3601 comment to keep condition in sync with the one in
3602 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3603
5d54c798
WX
36042018-12-18 Wei Xiao <wei3.xiao@intel.com>
3605
3606 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3607 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3608
5a2580b6
RV
36092018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3610
3611 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3612 and .cfi_endproc directives for VxWorks targets.
3613
c0c5112b
PK
36142018-12-05 Paul Koning <ni1d@arrl.net>
3615
3616 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3617
1ea7ea18
AM
36182018-11-27 Alan Modra <amodra@gmail.com>
3619
3620 * config/rs6000/morestack.S (__stack_split_initialize),
3621 (__morestack_get_guard, __morestack_set_guard),
3622 (__morestack_make_guard): Provide CFI covering these functions.
3623 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3624
ff641ae1
XQ
36252018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3626
1ea7ea18 3627 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3628 (sc_pt_regs_lr): Update for kernel.
3629 (sc_pt_regs_tls): Update for kernel.
3630
28209372
XQ
36312018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3632
3633 * config/csky/linux-unwind.h: Fix coding style.
3634
b2a71af6
XQ
36352018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3636
3637 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3638 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3639 instructions to adapt to changes in the kernel
3640
d929e137
SH
36412018-11-09 Stafford Horne <shorne@gmail.com>
3642 Richard Henderson <rth@twiddle.net>
3643
3644 * config.host: Add OpenRISC support.
3645 * config/or1k/*: New.
3646
222cfefa
KC
36472018-11-08 Kito Cheng <kito@andestech.com>
3648
3649 * soft-fp/adddf3.c: Update from glibc.
3650 * soft-fp/addsf3.c: Likewise.
3651 * soft-fp/addtf3.c: Likewise.
3652 * soft-fp/divdf3.c: Likewise.
3653 * soft-fp/divsf3.c: Likewise.
3654 * soft-fp/divtf3.c: Likewise.
3655 * soft-fp/double.h: Likewise.
3656 * soft-fp/eqdf2.c: Likewise.
3657 * soft-fp/eqsf2.c: Likewise.
3658 * soft-fp/eqtf2.c: Likewise.
3659 * soft-fp/extenddftf2.c: Likewise.
3660 * soft-fp/extended.h: Likewise.
3661 * soft-fp/extendhftf2.c: Likewise.
3662 * soft-fp/extendsfdf2.c: Likewise.
3663 * soft-fp/extendsftf2.c: Likewise.
3664 * soft-fp/extendxftf2.c: Likewise.
3665 * soft-fp/fixdfdi.c: Likewise.
3666 * soft-fp/fixdfsi.c: Likewise.
3667 * soft-fp/fixdfti.c: Likewise.
3668 * soft-fp/fixhfti.c: Likewise.
3669 * soft-fp/fixsfdi.c: Likewise.
3670 * soft-fp/fixsfsi.c: Likewise.
3671 * soft-fp/fixsfti.c: Likewise.
3672 * soft-fp/fixtfdi.c: Likewise.
3673 * soft-fp/fixtfsi.c: Likewise.
3674 * soft-fp/fixtfti.c: Likewise.
3675 * soft-fp/fixunsdfdi.c: Likewise.
3676 * soft-fp/fixunsdfsi.c: Likewise.
3677 * soft-fp/fixunsdfti.c: Likewise.
3678 * soft-fp/fixunshfti.c: Likewise.
3679 * soft-fp/fixunssfdi.c: Likewise.
3680 * soft-fp/fixunssfsi.c: Likewise.
3681 * soft-fp/fixunssfti.c: Likewise.
3682 * soft-fp/fixunstfdi.c: Likewise.
3683 * soft-fp/fixunstfsi.c: Likewise.
3684 * soft-fp/fixunstfti.c: Likewise.
3685 * soft-fp/floatdidf.c: Likewise.
3686 * soft-fp/floatdisf.c: Likewise.
3687 * soft-fp/floatditf.c: Likewise.
3688 * soft-fp/floatsidf.c: Likewise.
3689 * soft-fp/floatsisf.c: Likewise.
3690 * soft-fp/floatsitf.c: Likewise.
3691 * soft-fp/floattidf.c: Likewise.
3692 * soft-fp/floattihf.c: Likewise.
3693 * soft-fp/floattisf.c: Likewise.
3694 * soft-fp/floattitf.c: Likewise.
3695 * soft-fp/floatundidf.c: Likewise.
3696 * soft-fp/floatundisf.c: Likewise.
3697 * soft-fp/floatunditf.c: Likewise.
3698 * soft-fp/floatunsidf.c: Likewise.
3699 * soft-fp/floatunsisf.c: Likewise.
3700 * soft-fp/floatunsitf.c: Likewise.
3701 * soft-fp/floatuntidf.c: Likewise.
3702 * soft-fp/floatuntihf.c: Likewise.
3703 * soft-fp/floatuntisf.c: Likewise.
3704 * soft-fp/floatuntitf.c: Likewise.
3705 * soft-fp/gedf2.c: Likewise.
3706 * soft-fp/gesf2.c: Likewise.
3707 * soft-fp/getf2.c: Likewise.
3708 * soft-fp/half.h: Likewise.
3709 * soft-fp/ledf2.c: Likewise.
3710 * soft-fp/lesf2.c: Likewise.
3711 * soft-fp/letf2.c: Likewise.
3712 * soft-fp/muldf3.c: Likewise.
3713 * soft-fp/mulsf3.c: Likewise.
3714 * soft-fp/multf3.c: Likewise.
3715 * soft-fp/negdf2.c: Likewise.
3716 * soft-fp/negsf2.c: Likewise.
3717 * soft-fp/negtf2.c: Likewise.
3718 * soft-fp/op-1.h: Likewise.
3719 * soft-fp/op-2.h: Likewise.
3720 * soft-fp/op-4.h: Likewise.
3721 * soft-fp/op-8.h: Likewise.
3722 * soft-fp/op-common.h: Likewise.
3723 * soft-fp/quad.h: Likewise.
3724 * soft-fp/single.h: Likewise.
3725 * soft-fp/soft-fp.h: Likewise.
3726 * soft-fp/subdf3.c: Likewise.
3727 * soft-fp/subsf3.c: Likewise.
3728 * soft-fp/subtf3.c: Likewise.
3729 * soft-fp/truncdfsf2.c: Likewise.
3730 * soft-fp/trunctfdf2.c: Likewise.
3731 * soft-fp/trunctfhf2.c: Likewise.
3732 * soft-fp/trunctfsf2.c: Likewise.
3733 * soft-fp/trunctfxf2.c: Likewise.
3734 * soft-fp/unorddf2.c: Likewise.
3735 * soft-fp/unordsf2.c: Likewise.
3736 * soft-fp/unordtf2.c: Likewise.
3737
2901f42f
VK
37382018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3739
3740 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3741 * config/i386/cpuinfo.h (processor_types): Add znver2.
3742
4310ca66
PK
37432018-11-01 Paul Koning <ni1d@arrl.net>
3744
3745 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3746 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3747
22e05272
JM
37482018-10-31 Joseph Myers <joseph@codesourcery.com>
3749
3750 PR bootstrap/82856
3751 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3752 * configure: Regenerate.
3753
8180cde0
CZ
37542018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3755
3756 * config/arc/lib1funcs.S (_muldi3): New function.
3757 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3758
be7b071e
RV
37592018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3760
3761 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3762
3239d726
ML
37632018-10-25 Martin Liska <mliska@suse.cz>
3764
3765 PR other/87735
3766 * libgcov-profiler.c: Revert.
3767
19b55958
ML
37682018-10-24 Martin Liska <mliska@suse.cz>
3769
3770 * libgcov-profiler.c: Start from 1 in order to distinguish
3771 functions which were seen and these that were not.
3772
a9a2fddb
PK
37732018-10-18 Paul Koning <ni1d@arrl.net>
3774
3775 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3776 standard.
3777 * divmod.c: Update references to __udivmodsi4.
3778 * udivmod.c: Ditto.
3779 * udivhi3.c: New file.
3780 * udivmodhi4.c: New file.
3781 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3782
fc8abc46
RV
37832018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3784
3785 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3786
87f918e3
OH
37872018-10-12 Olivier Hainque <hainque@adacore.com>
3788
3789 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3790 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3791
be86efa7
PK
37922018-10-08 Paul Koning <ni1d@arrl.net>
3793
3794 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3795
3edbcdbe
ML
37962018-10-04 Martin Liska <mliska@suse.cz>
3797
3798 PR gcov-profile/84107
3799 * libgcov-profiler.c (__gcov_indirect_call):
3800 Change type to indirect_call_tuple.
3801 (struct indirect_call_tuple): New struct.
3802 (__gcov_indirect_call_topn_profiler): Change type.
3803 (__gcov_indirect_call_profiler_v2): Use the new
3804 variables.
3805 * libgcov.h (struct indirect_call_tuple): New struct
3806 definition.
3807
af8096fc
UB
38082018-10-03 Uros Bizjak <ubizjak@gmail.com>
3809
3810 * libgcc2.c (isnan): Use __builtin_isnan.
3811 (isfinite): Use __builtin_isfinite.
3812 (isinf): Use __builtin_isinf.
3813
0a76bba4
UB
38142018-09-26 Uros Bizjak <ubizjak@gmail.com>
3815
3816 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3817
5244089f
OH
38182018-09-21 Alexandre Oliva <oliva@adacore.com>
3819
3820 * config/vxcache.c: New file. Provide __clear_cache, based on
3821 the cacheTextUpdate VxWorks service.
3822 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3823 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3824 * config/t-vxwoks7: Likewise.
3825
512cc015
ML
38262018-09-21 Martin Liska <mliska@suse.cz>
3827
3828 * libgcov-driver.c (crc32_unsigned): Remove.
3829 (gcov_histogram_insert): Likewise.
3830 (gcov_compute_histogram): Likewise.
3831 (compute_summary): Simplify rapidly.
3832 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3833 (merge_summary): Rapidly simplify.
3834 (dump_one_gcov): Ignore gcov_summary.
3835 (gcov_do_dump): Do not handle program summary, it's not
3836 used.
3837 * libgcov-util.c (tag_summary): Remove.
3838 (read_gcda_finalize): Fix coding style.
3839 (read_gcda_file): Initialize curr_object_summary.
3840 (compute_summary): Remove.
3841 (calculate_overlap): Remove settings of run_max.
3842
36ff254b
MC
38432018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3844
3845 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3846 ucontext_t type instead.
3847 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3848
229a033d
KC
38492018-09-21 Kito Cheng <kito.cheng@gmail.com>
3850
3851 * config/nds32/t-nds32-glibc: New file.
3852
53c6feb2
RO
38532018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3854
3855 * configure.ac (solaris_ld_v2_maps): New test.
3856 * configure: Regenerate.
3857 * Makefile.in (solaris_ld_v2_maps): New variable.
3858 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3859 if supported.
3860
ebdb6f23
RE
38612018-08-23 Richard Earnshaw <rearnsha@arm.com>
3862
3863 PR target/86951
3864 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3865 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3866 to build.
3867
a49c064e
IS
38682018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3869
1ea7ea18 3870 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3871 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3872 * config/darwin10-unwind-find-enc-func.c: … to here.
3873 * config/t-darwin: Build Darwin10 unwinder shim crt.
3874 * libgcc/config.host: Add the Darwin10 unwinder shim.
3875
9a5b8df7
RV
38762018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3877
3878 * config.host: Add crtbegin.o and crtend.o for
3879 powerpc-wrs-vxworks target.
3880
4cd0bc3b
J
38812018-08-17 Jojo <jijie_rong@c-sky.com>
3882 Huibin Wang <huibin_wang@c-sky.com>
3883 Sandra Loosemore <sandra@codesourcery.com>
3884 Chung-Lin Tang <cltang@codesourcery.com>
3885
3886 C-SKY port: libgcc
3887
3888 * config.host: Add C-SKY support.
3889 * config/csky/*: New.
3890
a4931745
CJW
38912018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3892
3893 * config/nds32/t-nds32-isr: Rearrange object dependency.
3894 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3895 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3896 and registers usage.
3897 * config/nds32/isr-library/excp_isr.S: Ditto.
3898 * config/nds32/isr-library/intr_isr.S: Ditto.
3899 * config/nds32/isr-library/reset.S: Ditto.
3900 * config/nds32/isr-library/restore_all.inc: Ditto.
3901 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3902 * config/nds32/isr-library/restore_partial.inc: Ditto.
3903 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3904 * config/nds32/isr-library/save_all.inc: Ditto.
3905 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3906 * config/nds32/isr-library/save_partial.inc: Ditto.
3907 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3908 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3909
2b1969f6
JDA
39102018-08-11 John David Anglin <danglin@gcc.gnu.org>
3911
3912 * config/pa/linux-atomic.c: Update comment.
3913 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3914 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3915 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3916 __ATOMIC_RELAXED for atomic loads.
3917 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3918 unordered store to release lock.
3919 (__sync_lock_release_8): Likewise.
3920 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3921
89fff9cc
NP
39222018-08-02 Nicolas Pitre <nico@fluxnic.net>
3923
3924 PR libgcc/86512
3925 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3926 exponent goes negative. Update my email address.
3927 * config/arm/ieee754-sf.S: Likewise.
3928
fd2e1dcd
ML
39292018-08-01 Martin Liska <mliska@suse.cz>
3930
3931 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3932 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3933
b7415975
CL
39342018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3935
3936 * config/arm/ieee754-df.S: Fix comment for code working on
3937 architectures >= 4.
3938 * config/arm/ieee754-sf.S: Likewise.
3939
b72e71a3
L
39402018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3941
3942 PR libgcc/85334
3943 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3944 Removed.
3945
1c686aa4
JC
39462018-07-05 James Clarke <jrtc27@jrtc27.com>
3947
3948 * configure: Regenerated.
3949
b61c9b99
RO
39502018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3951
3952 * Makefile.in (install_leaf): Use enable_gcov instead of
3953 enable_libgcov.
3954
1765b023
RV
39552018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3956
3957 * configure.ac: Add --disable-gcov option.
3958 * configure: Regenerate.
3959 * Makefile.in: Honour @enable_gcov@.
3960
9b2e34ef
CL
39612018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3962
3963 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3964 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3965 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3966 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3967 __ARM_ARCH__.
3968 * config/arm/ieee754-sf.S: Likewise.
3969 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3970
d1b0dd54
CL
39712018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3972
3973 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3974 longer supported.
3975 * config/arm/ieee754-sf.S: Likewise.
3976
1f3fa525
TM
39772018-06-20 Than McIntosh <thanm@google.com>
3978
3979 PR libgcc/86213
3980 * generic-morestack.c (allocate_segment): Move calls to getenv and
3981 getpagesize to __morestack_load_mmap.
3982 (__morestack_load_mmap) Initialize static_pagesize and
3983 use_guard_page here so as to avoid clobbering SSE regs during a
3984 __morestack call.
3985
6a8886e4
MM
39862018-06-18 Michael Meissner <meissner@linux.ibm.com>
3987
3988 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3989 support modules with -mno-gnu-attribute.
3990 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3991
fb997097
OH
39922018-06-07 Olivier Hainque <hainque@adacore.com>
3993
3994 * config/t-vxworks (LIBGCC_INCLUDES): Add
3995 -I$(MULTIBUILDTOP)../../gcc/include.
3996 * config/t-vxworks7: Likewise. Reformat a bit to match
3997 the t-vxworks layout.
3998
a548a5a1
OM
39992018-06-07 Olga Makhotina <olga.makhotina@intel.com>
4000
4001 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
4002
244aebfd
ML
40032018-06-07 Martin Liska <mliska@suse.cz>
4004
4005 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 4006 all_prg.
244aebfd 4007
6c086e8c
ML
40082018-06-07 Martin Liska <mliska@suse.cz>
4009
92a285c1 4010 PR bootstrap/86057
6c086e8c 4011 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 4012 memcpy instead of mempcpy.
6c086e8c 4013 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 4014 prefix and set it.
6c086e8c 4015 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 4016 here and properly copy content into it.
6c086e8c 4017 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 4018 field, change prefix from size_t into char *.
6c086e8c
ML
4019 (compute_summary): Do not calculate longest filename.
4020 (gcov_do_dump): Release memory of gf.filename after each file.
4021 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 4022 compute_summary.
6c086e8c
ML
4023 (calculate_overlap): Likewise.
4024
97a53d1d
ML
40252018-06-05 Martin Liska <mliska@suse.cz>
4026
4027 PR gcov-profile/47618
4028 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 4029 function.
97a53d1d
ML
4030 (gcov_exit_open_gcda_file): Use it.
4031
7f3577f5
ML
40322018-06-05 Martin Liska <mliska@suse.cz>
4033
4034 * libgcov-driver.c (gcov_compute_histogram): Remove usage
4035 of gcov_ctr_summary.
4036 (compute_summary): Do it just for a single summary.
4037 (merge_one_data): Likewise.
4038 (merge_summary): Simplify as we read just single summary.
4039 (dump_one_gcov): Pass proper argument.
4040 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4041 single summary.
4042 (gcov_info_count_all_cold): Likewise.
4043 (calculate_overlap): Likewise.
4044
cf3cd43d
CJW
40452018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
4046 Monk Chiang <sh.chiang04@gmail.com>
4047
4048 * config.host (nds32*-linux*): New.
4049 * config/nds32/linux-atomic.c: New file.
4050 * config/nds32/linux-unwind.h: New file.
4051
8b8003ed
UB
40522018-05-31 Uros Bizjak <ubizjak@gmail.com>
4053
4054 PR target/85591
4055 * config/i386/cpuinfo.c (get_amd_cpu): Return
4056 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4057
bbdf026f
RV
40582018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
4059
92a285c1 4060 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 4061
0e8f29da
ML
40622018-05-29 Martin Liska <mliska@suse.cz>
4063
92a285c1 4064 PR gcov-profile/85759
0e8f29da 4065 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 4066 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 4067 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 4068 overwrite a gcov file with a different timestamp.
0e8f29da 4069
54fd1590
K
40702018-05-23 Kalamatee <kalamatee@gmail.com>
4071
4072 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4073 path to Lf$finfty.
4074
09baee1a
KC
40752018-05-18 Kito Cheng <kito.cheng@gmail.com>
4076 Monk Chiang <sh.chiang04@gmail.com>
4077 Jim Wilson <jimw@sifive.com>
4078
4079 * config/riscv/save-restore.S: Add support for rv32e.
4080
c3f808d3
KT
40812018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4082
4083 * config/arm/libunwind.S: Update comment relating to armv5.
4084
fcf4f831
JL
40852018-05-17 Jerome Lambourg <lambourg@adacore.com>
4086
4087 * config/arm/cmse.c (cmse_check_address_range): Replace
4088 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4089
74b2bb19
OM
40902018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4091
4092 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4093 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4094
50e461df
OM
40952018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4096
4097 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4098 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4099
e5f1cdb1
AC
41002018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4101
4102 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4103
8f479d7a
AT
41042018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4105 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4106
4107 PR libgcc/84292
4108 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4109 op_and_fetch to return the right result.
4110
ae043291
AM
41112018-04-27 Alan Modra <amodra@gmail.com>
4112
4113 PR libgcc/85532
4114 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4115 -fno-asynchronous-unwind-tables.
4116
ba169b74
CJW
41172018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4118
4119 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4120 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4121
ffc2fc06
L
41222018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4123
4124 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4125 when including "config/i386/shadow-stack-unwind.h".
4126
7b47ecf2
L
41272018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 * configure: Regenerated.
4130
661eb8f9
MM
41312018-04-20 Michael Meissner <meissner@linux.ibm.com>
4132
4133 PR target/85456
4134 * config/rs6000/_powikf2.c: New file. Add support for the
4135 __builtin_powil function when long double is IEEE 128-bit floating
4136 point.
4137 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4138 __powikf2 support.
4139 (__powikf2): Likewise.
4140 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4141 (__powikf2_hw): Likewise.
4142 (__powikf2): Likewise.
4143 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4144 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4145 (_powikf2-hw.c): Likewise.
4146
5707be3c
L
41472018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4148
4149 PR libgcc/85334
4150 * unwind-generic.h (_Unwind_Frames_Increment): New.
4151 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4152 Likewise.
4153 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4154 count with _Unwind_Frames_Increment.
4155 (_Unwind_ForcedUnwind_Phase2): Likewise.
4156
5f9ca0b8
L
41572018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4158
4159 PR libgcc/85379
4160 * config/i386/morestack.S (__stack_split_initialize): Add
4161 _CET_ENDBR.
4162
a0e1df88
JJ
41632018-04-19 Jakub Jelinek <jakub@redhat.com>
4164
4165 * configure: Regenerated.
4166
001ddaa8
DM
41672018-04-18 David Malcolm <dmalcolm@redhat.com>
4168
4169 PR jit/85384
4170 * configure: Regenerate.
4171
a57f99ba
JJ
41722018-04-16 Jakub Jelinek <jakub@redhat.com>
4173
4174 PR target/84945
4175 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4176 -Wdangling-else warnings. Mask shift counts to avoid
4177 -Wshift-count-negative and -Wshift-count-overflow false positives.
4178
4d47fe5a
RB
41792018-04-06 Ruslan Bukin <br@bsdpad.com>
4180
4181 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4182
059cc8ac
L
41832018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4184
4185 PR target/85100
4186 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4187 (XSTATE_FP): Likewise.
4188 (XSTATE_SSE): Likewise.
4189 (XSTATE_YMM): Likewise.
4190 (XSTATE_OPMASK): Likewise.
4191 (XSTATE_ZMM): Likewise.
4192 (XSTATE_HI_ZMM): Likewise.
4193 (XCR_AVX_ENABLED_MASK): Likewise.
4194 (XCR_AVX512F_ENABLED_MASK): Likewise.
4195 (get_available_features): Enable AVX and AVX512 features only
4196 if their states are supported by OSXSAVE.
4197
f2620385
IT
41982018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4199
4200 PR target/85025
4201 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4202 Fix a typo, tmp => 255.
4203
ae6dca8c
JJ
42042018-03-20 Jakub Jelinek <jakub@redhat.com>
4205
4206 PR target/84945
4207 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4208 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4209 ifndef SHARED only.
4210 (set_feature): Define.
4211 (get_available_features): Use set_feature macro. Set __cpu_features2
4212 to the second word of features ifndef SHARED.
4213
c36b04c1
JK
42142018-03-15 Julia Koval <julia.koval@intel.com>
4215
4216 * config/i386/cpuinfo.c (get_available_features): Add
4217 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4218 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4219 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4220 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4221 FEATURE_AVX512BITALG.
4222
79ab5364
JK
42232018-03-14 Julia Koval <julia.koval@intel.com>
4224
4225 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4226 icelake client and icelake server.
4227
66a00b11
JDA
42282018-03-06 John David Anglin <danglin@gcc.gnu.org>
4229
4230 * config/pa/fptr.c (_dl_read_access_allowed): New.
4231 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 4232
ce579a4f
JJ
42332018-02-28 Jakub Jelinek <jakub@redhat.com>
4234
4235 PR debug/83917
4236 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4237 $asm_hidden_op if visibility ("hidden") attribute works.
4238 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4239 * config/i386/i386-asm.h: Don't include auto-host.h.
4240 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4241 PACKAGE_URL): Don't undefine.
4242 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4243 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4244 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4245 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4246 definition instead of hardcoded .hidden.
4247 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4248 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4249 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4250 (USE_GAS_CFI_DIRECTIVES): Don't define.
4251 * configure: Regenerated.
4252 * config.in: Likewise.
4253
e5868319
JJ
42542018-02-26 Jakub Jelinek <jakub@redhat.com>
4255
4256 PR debug/83917
4257 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4258 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4259 inclusion of auto-target.h and auto-host.h.
4260 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4261 __GCC_HAVE_DWARF2_CFI_ASM.
4262 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4263 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4264 cfi_pop): Define.
4265 * config/i386/cygwin.S: Don't include auto-host.h here, just
4266 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4267 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4268 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4269 * config/i386/resms64fx.h: Add cfi_* directives.
4270 * config/i386/resms64x.h: Likewise.
4271
faef260e
MF
42722018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4273
4274 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4275 .literal_position directive.
4276 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4277
14e335ed
IT
42782018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4279
4280 PR target/84148
4281 * configure: Regenerate.
4282
95df0433
IT
42832018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4284
4285 PR target/84239
4286 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4287 Include cetintrin.h not x86intrin.h.
4288
f8de876d
IT
42892018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4290
4291 PR target/84239
95df0433 4292 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
4293 Use new _get_ssp and _inc_ssp intrinsics.
4294
02da1e9c
JK
42952018-02-02 Julia Koval <julia.koval@intel.com>
4296
4297 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4298
048c6a9a
CZ
42992018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4300
4301 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4302 option.
4303 (__divsi3): Use RF16 safe registers.
4304 (__modsi3): Likewise.
4305
0889f168
MF
43062018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4307
4308 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4309 (__divsf3): Make NaN return value quiet.
4310 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4311 (__divdf3): Make NaN return value quiet.
4312
bc8b0d04
SP
43132018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4314
4315 * config/rl78/anddi3.S: New assembly file.
4316 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4317
99cc06ea
SP
43182018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4319
4320 * config/rl78/umindi3.S: New assembly file.
4321 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4322
6e9007a0
SP
43232018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4324
4325 * config/rl78/smindi3.S: New assembly file.
4326 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4327
d975e494 43282018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4329
d975e494
SP
4330 * config/rl78/smaxdi3.S: New assembly file.
4331 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4332
6a18c146 43332018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4334
5dd16013
SP
4335 * config/rl78/umaxdi3.S: New assembly file.
4336 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 4337
07baf4a5
JDA
43382018-01-21 John David Anglin <danglin@gcc.gnu.org>
4339
4340 PR lto/83452
4341 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4342 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 4343
dbc3af4f
RS
43442018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4345
4346 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4347 (DWARF_LAZY_REGISTER_VALUE): Define.
4348 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4349 to provide a fallback register value.
4350
68df9882
MM
43512018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4352
4353 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4354 __ibm128, instead of trying to use long double.
4355 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4356 accomidate -mabi=ieeelongdouble multilibs.
4357 (CVT_IBM128_TO_FLOAT128): Likewise.
4358 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4359 the appropriate IBM extended double type.
4360 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4361 (__gcc_qsub): Likewise.
4362 (__gcc_qmul): Likewise.
4363 (__gcc_qdiv): Likewise.
4364 (pack_ldouble): Likewise.
4365 (__gcc_qneg): Likewise.
4366 (__gcc_qeq): Likewise.
4367 (__gcc_qne): Likewise.
4368 (__gcc_qge): Likewise.
4369 (__gcc_qle): Likewise.
4370 (__gcc_stoq): Likewise.
4371 (__gcc_dtoq): Likewise.
4372 (__gcc_itoq): Likewise.
4373 (__gcc_utoq): Likewise.
4374 (__gcc_qunord): Likewise.
4375 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4376 quad-float128.h for the definitions.
4377 (COPYSIGN): Use the f128 version instead of the q version.
4378 (INFINITY): Likewise.
4379 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4380 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4381 quad-float128.h for the definitions.
4382 (COPYSIGN): Use the f128 version instead of the q version.
4383 (INFINITY): Likewise.
4384 (FABS): Likewise.
4385 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4386 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4387 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4388
64b371b1
SH
43892018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4390
4391 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4392 configuration.
4393
85ec4feb
JJ
43942018-01-03 Jakub Jelinek <jakub@redhat.com>
4395
4396 Update copyright years.
4397
43982017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
4399
4400 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4401 * config/riscv/multi3.c: New file.
4402 * config/riscv/multi3.S: Remove.
4403
3a4c600f
JW
44042017-12-08 Jim Wilson <jimw@sifive.com>
4405
4406 * config/riscv/div.S: Use FUNC_* macros.
4407 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4408 * config/riscv/save-restore.S: Likewise.
4409 * config/riscv/riscv-asm.h: New.
4410
75ad35b5
MM
44112017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4412
6ae3512c
MM
4413 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4414 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4415
75ad35b5
MM
4416 PR libgcc/83112
4417 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4418 correct type for all ifunc resolvers to silence -Wattribute-alias
4419 warnings. Eliminate the forward declaration of the resolver
4420 functions which is no longer needed.
4421 (__subkf3_resolve): Likewise.
4422 (__mulkf3_resolve): Likewise.
4423 (__divkf3_resolve): Likewise.
4424 (__negkf2_resolve): Likewise.
4425 (__eqkf2_resolve): Likewise.
4426 (__nekf2_resolve): Likewise.
4427 (__gekf2_resolve): Likewise.
4428 (__gtkf2_resolve): Likewise.
4429 (__lekf2_resolve): Likewise.
4430 (__ltkf2_resolve): Likewise.
4431 (__unordkf2_resolve): Likewise.
4432 (__extendsfkf2_resolve): Likewise.
4433 (__extenddfkf2_resolve): Likewise.
4434 (__trunckfsf2_resolve): Likewise.
4435 (__trunckfdf2_resolve): Likewise.
4436 (__fixkfsi_resolve): Likewise.
4437 (__fixkfdi_resolve): Likewise.
4438 (__fixunskfsi_resolve): Likewise.
4439 (__fixunskfdi_resolve): Likewise.
4440 (__floatsikf_resolve): Likewise.
4441 (__floatdikf_resolve): Likewise.
4442 (__floatunsikf_resolve): Likewise.
4443 (__floatundikf_resolve): Likewise.
4444 (__extendkftf2_resolve): Likewise.
4445 (__trunctfkf2_resolve): Likewise.
4446
4447 PR libgcc/83103
4448 * config/rs6000/quad-float128.h (TF): Don't define if long double
4449 is IEEE 128-bit floating point.
4450 (TCtype): Define as either TCmode or KCmode, depending on whether
4451 long double is IEEE 128-bit floating point.
4452 (__mulkc3_sw): Add declarations for software/hardware versions of
4453 complex multiply/divide.
4454 (__divkc3_sw): Likewise.
4455 (__mulkc3_hw): Likewise.
4456 (__divkc3_hw): Likewise.
4457 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4458 handlers to switch between using software emulation and hardware
4459 float128 instructions, build the complex multiply/divide functions
4460 for both software and hardware support.
4461 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4462 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4463 (__divkc3_resolve): Likewise.
4464 (__mulkc3): Likewise.
4465 (__divkc3): Likewise.
4466 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4467 (fp128_hw_src): Likewise.
4468 (fp128_hw_static_obj): Likewise.
4469 (fp128_hw_shared_obj): Likewise.
4470 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4471 _mulkc3.c and _divkc3.c, changing the function name.
4472 (_divkc3-hw.c): Likewise.
4473 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4474 and _divkc3-hw.c.
4475
c234d831
UB
44762017-11-26 Julia Koval <julia.koval@intel.com>
4477
4478 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4479 * config/i386/cpuinfo.h (processor_subtypes): Add
4480 INTEL_COREI7_CANNONLAKE.
4481
1ebafce0
IT
44822017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4483
4484 PR bootstrap/83015
4485 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4486 parameter.
4487 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4488 * config/ia64/unwind-ia64.c: Add frames parameter.
4489 * unwind-sjlj.c: Likewise.
4490
6a10fff4
IT
44912017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4492
4493 * config/i386/linux-unwind.h: Include
4494 config/i386/shadow-stack-unwind.h.
4495 * config/i386/shadow-stack-unwind.h: New file.
4496 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4497 pass it to _Unwind_Frames_Extra.
4498 * unwind-generic.h (_Unwind_Frames_Extra): New.
4499 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4500 parameter. Add local variable frames to count number of frames.
4501 (_Unwind_ForcedUnwind_Phase2): Likewise.
4502 (_Unwind_RaiseException): Add local variable frames to count
4503 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4504 uw_install_context.
4505 (_Unwind_ForcedUnwind): Likewise.
4506 (_Unwind_Resume): Likewise.
4507 (_Unwind_Resume_or_Rethrow): Likewise.
4508
1ecae1fc
IT
45092017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4510
4511 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4512 (CET_FLAGS): New.
4513 * config/i386/morestack.S: Include <cet.h>.
4514 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4515 * config/i386/resms64.h: Include <cet.h>.
4516 * config/i386/resms64f.h: Likewise.
4517 * config/i386/resms64fx.h: Likewise.
4518 * config/i386/resms64x.h: Likewise.
4519 * config/i386/savms64.h: Likewise.
4520 * config/i386/savms64f.h: Likewise.
4521 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4522 (CRTSTUFF_T_CFLAGS): Likewise.
4523 * configure.ac: Include ../config/cet.m4.
4524 Set and substitute CET_FLAGS.
4525 * configure: Regenerated.
4526
f021f1d3
RO
45272017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4528
4529 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4530 renaming.
4531 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4532 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4533 * configure: Regenerate.
4534
65f480c7
TV
45352017-11-07 Tom de Vries <tom@codesourcery.com>
4536
4537 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4538 after "do {} while (0)".
4539
2a321acb
TV
45402017-11-07 Tom de Vries <tom@codesourcery.com>
4541
4542 PR other/82784
4543 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4544 semicolon after "do {} while (0)".
4545 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4546 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4547 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4548 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4549
59fcf6c3
AT
45502017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4551
4552 PR libgcc/82635
4553 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4554 sysctl to determine whether we're in a trampoline.
4555 Keep the pattern matching method for systems without
4556 KERN_PROC_SIGTRAMP sysctl.
4557
b0c7ddf8
CM
45582017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4559 Vineet Gupta <vgupta@synopsys.com>
4560
4561 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4562 * config/arc/linux-unwind-reg.def: New file.
4563 * config/arc/linux-unwind-reg.h: Likewise.
4564
5feee954
SP
45652017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4566
4567 * config/rl78/subdi3.S: New assembly file.
4568 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4569
a0bf6cf7
SP
45702017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4571
4572 * config/rl78/adddi3.S: New assembly file.
4573 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4574
e7176f75
JJ
45752017-10-13 Jakub Jelinek <jakub@redhat.com>
4576
4577 PR target/82274
4578 * libgcc2.c (__mulvDI3): If both operands have
4579 the same highpart of -1 and the topmost bit of lowpart is 0,
4580 multiplication overflows even if both lowparts are 0.
4581
db6601d2
JB
45822017-09-28 James Bowman <james.bowman@ftdichip.com>
4583
4584 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4585
938b6f1e
JM
45862017-09-26 Joseph Myers <joseph@codesourcery.com>
4587
4588 * config/microblaze/crti.S, config/microblaze/crtn.S,
4589 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4590 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4591 config/microblaze/mulsi3.S,
4592 config/microblaze/stack_overflow_exit.S,
4593 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4594 config/pa/milli64.S: Add .note.GNU-stack section.
4595
89762a83
DS
45962017-09-23 Daniel Santos <daniel.santos@pobox.com>
4597
4598 * configure.ac: Add Check for HAVE_AS_AVX.
4599 * config.in: Regenerate.
4600 * configure: Likewise.
4601 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4602 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4603 Correct out-of-date comments.
4604
cace2309
SP
46052017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4606
4607 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4608 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4609
3cb626e4
DS
46102017-09-17 Daniel Santos <daniel.santos@pobox.com>
4611
cace2309 4612 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4613 (ASMNAME): Modify to use PASTE2.
4614 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4615 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4616 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4617 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4618 * config/i386/resms64f.S: Likewise.
4619 * config/i386/resms64fx.S: Likewise.
4620 * config/i386/resms64x.S: Likewise.
4621 * config/i386/savms64.S: Likewise.
4622 * config/i386/savms64f.S: Likewise.
4623 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4624 includes it's corresponding header file.
cace2309
SP
4625 * config/i386/avx_resms64f.S: Likewise.
4626 * config/i386/avx_resms64fx.S: Likewise.
4627 * config/i386/avx_resms64x.S: Likewise.
4628 * config/i386/avx_savms64.S: Likewise.
4629 * config/i386/avx_savms64f.S: Likewise.
4630 * config/i386/sse_resms64.S: Likewise.
4631 * config/i386/sse_resms64f.S: Likewise.
4632 * config/i386/sse_resms64fx.S: Likewise.
4633 * config/i386/sse_resms64x.S: Likewise.
4634 * config/i386/sse_savms64.S: Likewise.
4635 * config/i386/sse_savms64f.S: Likewise.
4636 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4637
2f19c491 46382017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4639 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4640
611e7036
OH
46412017-08-31 Olivier Hainque <hainque@adacore.com>
4642
4643 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4644 match as powerpc-wrs-vxworks*.
4645
c8f34527
JY
46462017-08-07 Jonathan Yong <10walls@gmail.com>
4647
4648 * config.host (*-cygwin): Include file from mingw
4649 config/i386/enable-execute-stack-mingw32.c
4650
0b458d2b 46512017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
4652 Doug Rupp <rupp@adacore.com>
4653 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
4654
4655 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4656 as well as arm-wrs-vxworks.
4657 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4658 LIB2ADDEH.
4659 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4660 __exidx_start and __exidx_end for downloadable modules.
4661
4df612fa
OH
46622017-08-01 Olivier Hainque <hainque@adacore.com>
4663
4664 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4665 * config/t-vxworks7: Likewise.
4666
5560e8c0
OH
46672017-08-01 Olivier Hainque <hainque@adacore.com>
4668
4669 * config/t-vxworks: Instead of redefining LIB2ADD,
4670 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4671
16bab95a
SH
46722017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4673
4674 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4675
9cbc07cc
DS
46762017-07-24 Daniel Santos <daniel.santos@pobox.com>
4677
4678 PR testsuite/80759
4679 * config.host: include i386/t-msabi for darwin and solaris.
4680 * config/i386/i386-asm.h
4681 (ELFFN): Rename to FN_TYPE.
4682 (FN_SIZE): New macro.
4683 (FN_HIDDEN): Likewise.
4684 (ASMNAME): Likewise.
4685 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4686 .globl.
4687 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4688 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4689 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4690 .macro.
4691 * config/i386/resms64f.S: Likewise.
4692 * config/i386/resms64fx.S: Likewise.
4693 * config/i386/resms64x.S: Likewise.
4694 * config/i386/savms64.S: Likewise.
4695 * config/i386/savms64f.S: Likewise.
4696
de742204
JM
46972017-07-19 John Marino <gnugcc@marino.st>
4698
4699 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4700
3787ee47
MM
47012017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4702
4703 PR target/81193
4704 * configure.ac (PowerPC float128 hardware support): Test whether
4705 we can use __builtin_cpu_supports before enabling the ifunc
4706 handler.
4707 * configure: Regenerate.
4708
b1938888
VG
47092017-07-10 Vineet Gupta <vgupta@synopsys.com>
4710
4711 * config.host: Remove uclibc from arc target spec.
4712
bec75e53
KW
47132017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4714
4715 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4716
d4391a62
PB
47172017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4718
4719 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4720 (have_ieee_hw_p): Delete function.
4721 (SW_OR_HW) Use __builtin_cpu_supports().
4722
9296dd9b
TP
47232017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4724
4725 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4726
b85a969e
OH
47272017-07-03 Olivier Hainque <hainque@adacore.com>
4728
d4391a62 4729 * config/t-vxworks7: New file, really.
b85a969e 4730
883312dc
JM
47312017-06-28 Joseph Myers <joseph@codesourcery.com>
4732
4733 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4734 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4735 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4736 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4737 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4738 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4739 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4740 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4741 config/sh/linux-unwind.h (sh_fallback_frame_state),
4742 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4743 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4744 ucontext_t instead of struct ucontext.
4745
50567938
JL
47462017-06-27 Jerome Lambourg <lambourg@adacore.com>
4747
4748 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4749 (x86_64-wrs-vxworks7): Likewise.
4750
e4b0df93
OH
47512017-06-27 Olivier Hainque <hainque@adacore.com>
4752
4753 * config/t-vxworks7: New file.
4754 * config.host (*-*-vxworks7): Use it.
4755
60edf8bb
MT
47562017-06-22 Matt Turner <mattst88@gmail.com>
4757
4758 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4759 skylake case.
4760
a51a76e5
RB
47612017-06-21 Richard Biener <rguenther@suse.de>
4762
4763 PR gcov-profile/81080
4764 * configure.ac: Add AC_SYS_LARGEFILE.
4765 * libgcov.h: Include auto-target.h before tsystem.h to pick
4766 up _FILE_OFFSET_BITS which might differ for multilibs.
4767 * config.in: Regenerate.
4768 * configure: Likewise.
4769
f0cd49c5
RE
47702017-06-16 Richard Earnshaw <rearnsha@arm.com>
4771
4772 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4773
4f751c54
ML
47742017-06-09 Martin Liska <mliska@suse.cz>
4775
4776 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4777 Reset __gcov_indirect_call_callee to NULL.
4778
1ac644c8
OH
47792017-06-08 Olivier Hainque <hainque@adacore.com>
4780
4781 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4782 the set of -I options, support for direct inclusions of net/uio.h
4783 by VxWorks header files via ioLib.h.
4784
d8b9cd27
TR
47852017-06-07 Tony Reix <tony.reix@atos.net>
4786 Matthieu Sarter <matthieu.sarter.external@atos.net>
4787 David Edelsohn <dje.gcc@gmail.com>
4788
92a285c1
ML
4789 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4790 unconditionally.
4791 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4792 AIX 7.2 support.
d8b9cd27 4793
38a75ccc
OH
47942017-06-02 Olivier Hainque <hainque@adacore.com>
4795
4796 * config/vxlib.c (__gthread_once): Add missing value to
4797 return statement.
4798
5b2edf53
OH
47992017-05-30 Olivier Hainque <hainque@adacore.com>
4800
4801 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4802 dollar sign before $(MULTIDIR).
4803
7d66e265
RH
48042017-05-26 Richard Henderson <rth@redhat.com>
4805
4806 PR libgcc/80037
4807 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4808
78eca309
AT
48092017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4810
4811 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4812 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4813 * config/arm/unwind-arm.c: Implement the above.
4814
c39d309a
AZ
48152017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4816
4817 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4818 section for a non-executable stack.
4819
eac8c9f2
KW
48202017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4821
4822 PR target/80600
4823 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4824
d6d4d770
DS
48252017-05-14 Daniel Santos <daniel.santos@pobox.com>
4826
4827 * config.host: Add i386/t-msabi to i386/t-linux file list.
4828 * config/i386/i386-asm.h: New file.
4829 * config/i386/resms64.S: New file.
4830 * config/i386/resms64f.S: New file.
4831 * config/i386/resms64fx.S: New file.
4832 * config/i386/resms64x.S: New file.
4833 * config/i386/savms64.S: New file.
4834 * config/i386/savms64f.S: New file.
4835 * config/i386/t-msabi: New file.
4836
8ef2b9a7
AT
48372017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4838
4839 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4840 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4841
7ab8766a
JC
48422017-05-05 Joshua Conner <joshconner@google.com>
4843
4844 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4845 pc-relative indirect handling for fuchsia.
4846 * config/t-slibgcc-fuchsia: New file.
4847 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4848 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4849
46928a8f
ML
48502017-04-19 Martin Liska <mliska@suse.cz>
4851
4852 PR gcov-profile/80435
4853 * Makefile.in: Install gcov.h.
4854 * gcov.h: New file.
4855 * libgcov.h: Use the header and make __gcov_flush publicly
4856 visible.
4857
63971184
ML
48582017-04-18 Martin Liska <mliska@suse.cz>
4859
4860 PR gcov-profile/78783
4861 * libgcov-driver.c (gcov_get_filename): New function.
4862
29d8aae6
JL
48632017-04-07 Jeff Law <law@redhat.com>
4864
4865 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4866 target makefile fragment.
4867 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4868
2bdf7fc6
AM
48692017-04-07 Alan Modra <amodra@gmail.com>
4870
4871 PR target/45053
4872 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4873
5764ee3c
JW
48742017-04-03 Jonathan Wakely <jwakely@redhat.com>
4875
4876 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4877
c4192ad7
CZ
48782017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4879
4880 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4881
4ccfdb28
JM
48822017-03-10 John Marino <gnugcc@marino.st>
4883
4884 * config/aarch64/freebsd-unwind.h: New file.
4885 * config.host: Add aarch64-*-freebsd unwinder.
4886
4144e4e3
SB
48872017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4888
4889 * config/rs6000/crtrestvr.s: Use .machine altivec.
4890 * config/rs6000/crtsavevr.s: Ditto.
4891
7502c597
SB
48922017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4893
4894 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4895 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4896 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4897 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4898 * configure: Regenerate.
4899 * config.in: Regenerate.
4900
db9f7f65
JY
49012017-03-02 Jonathan Yong <10walls@gmail.com>
4902
4903 * config/i386/gthr-win32.h: Define NOGDI before
4904 windows.h include to prevent w32api CC_NONE macro
4905 clash with libgfortran.
4906
126437c5
JY
49072017-03-02 Jonathan Yong <10walls@gmail.com>
4908
4909 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4910
31927af6
AP
49112017-02-16 Andrew Pinski <apinski@cavium.com>
4912
4913 * config/aarch64/value-unwind.h: New file.
4914 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4915 to tm_file.
4916
0bd99911
PD
49172017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4918
4919 * config.host: Add RISC-V tuples.
4920 * config/riscv/atomic.c: New file.
4921 * config/riscv/crti.S: Likewise.
4922 * config/riscv/crtn.S: Likewise.
4923 * config/riscv/div.S: Likewise.
4924 * config/riscv/linux-unwind.h: Likewise.
4925 * config/riscv/muldi3.S: Likewise.
4926 * config/riscv/multi3.S: Likewise.
4927 * config/riscv/save-restore.S: Likewise.
4928 * config/riscv/sfp-machine.h: Likewise.
4929 * config/riscv/t-elf: Likewise.
4930 * config/riscv/t-elf32: Likewise.
4931 * config/riscv/t-elf64: Likewise.
4932 * config/riscv/t-softfp32: Likewise.
4933 * config/riscv/t-softfp64: Likewise.
4934
a8c9ef2a
JJ
49352017-01-24 Jakub Jelinek <jakub@redhat.com>
4936
4937 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4938 /* FALLTHRU */ comments.
4939
c6c82710
GP
49402017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4941
4942 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4943
a876231c
JW
49442017-01-20 Jiong Wang <jiong.wang@arm.com>
4945
4946 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4947 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4948 DW_CFA_GNU_window_save for AArch64 and LP64.
4949
aa348be2
JW
49502017-01-20 Jiong Wang <jiong.wang@arm.com>
4951
4952 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4953
5636faf2
JW
49542017-01-19 Jiong Wang <jiong.wang@arm.com>
4955
4956 * config/aarch64/aarch64-unwind.h: New file.
4957 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4958 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4959 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4960 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4961 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4962 (aarch64_post_extract_frame_addr): New function.
4963 (aarch64_post_frob_eh_handler_addr): New function.
4964 (aarch64_frob_update_context): New function.
4965 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4966 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4967 aarch64*-*-freebsd*):
4968 Initialize md_unwind_header to include aarch64-unwind.h.
4969 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4970 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4971 __aarch64__.
4972 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4973 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4974 (uw_frob_return_addr): New function.
4975 (uw_install_context): Use uw_frob_return_addr.
4976
3c36aa6b
JJ
49772017-01-17 Jakub Jelinek <jakub@redhat.com>
4978
4979 PR other/79046
4980 * configure.ac: Add GCC_BASE_VER.
4981 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4982 version from BASE-VER file.
4983 * configure: Regenerated.
4984
829afb8f
JS
49852017-01-13 Joe Seymour <joe.s@somniumtech.com>
4986
4987 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4988 libmul_f5.a): Filter archived prerequisites.
4989
79fc8ffe
AS
49902017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4991
4992 * config/i386/cpuinfo.h (processor_features): Add
4993 FEATURE_AVX512VPOPCNTDQ.
4994 * config/i386/cpuinfo.c (get_available_features): Habdle new
4995 feature.
4996
fec5f4e0
JM
49972017-01-04 Joseph Myers <joseph@codesourcery.com>
4998
4999 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
5000 payload if [__mips_nan2008].
5001
8f56cb51
AM
50022017-01-04 Alan Modra <amodra@gmail.com>
5003
5004 * Makefile.in (configure_deps): Update.
5005 * configure: Regenerate.
5006
cbe34bb5
JJ
50072017-01-01 Jakub Jelinek <jakub@redhat.com>
5008
5009 Update copyright years.
5010
ab955692
KW
50112016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
5012
5013 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
5014 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
5015 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
5016
de34320f
MK
50172016-12-17 Matthias Klose <doko@ubuntu.com>
5018
5019 * config/arc/gmon: Remove empty directory.
5020
e04ea1da
CZ
50212016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
5022
5023 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
5024 crtgend.
5025 (arc*-*-elf*): Likewise.
5026 * config/arc/t-arc: Remove old gmon lib targets.
5027 * config/arc/crtg.S: Remove.
5028 * config/arc/crtgend.S: Likewise.
5029 * config/arc/gmon/atomic.h: Likewise.
5030 * config/arc/gmon/auxreg.h: Likewise.
5031 * config/arc/gmon/dcache_linesz.S: Likewise.
5032 * config/arc/gmon/gmon.c: Likewise.
5033 * config/arc/gmon/machine-gmon.h: Likewise.
5034 * config/arc/gmon/mcount.c: Likewise.
5035 * config/arc/gmon/prof-freq-stub.S: Likewise.
5036 * config/arc/gmon/prof-freq.c: Likewise.
5037 * config/arc/gmon/profil.S: Likewise.
5038 * config/arc/gmon/sys/gmon.h: Likewise.
5039 * config/arc/gmon/sys/gmon_out.h: Likewise.
5040 * config/arc/t-arc-newlib: Likewise.
5041 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5042
8ae1c2c1
GS
50432016-12-12 George Spelvin <linux@sciencehorizons.net>
5044
5045 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5046
a5b947fa
GS
50472016-12-12 George Spelvin <linux@sciencehorizons.net>
5048
5049 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5050 R16 instead of push + pop.
5051 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5052
d6574dd1
KW
50532016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
5054
5055 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5056 tmake_file.
5057
62440b4f
CM
50582016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
5059
5060 * config.host (arc*-*-linux-uclibc*): Use default extra
5061 objects. Include linux-android header.
5062 * config/arc/crti.S (_init): Declare symbol as function.
5063 (_fini): Likewise.
5064
31cfd832
TK
50652016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5066
5067 PR fortran/78379
5068 * config/i386/cpuinfo.c: Move denums for processor vendors,
5069 processor type, processor subtypes and declaration of
5070 struct __processor_model into
5071 * config/i386/cpuinfo.h: New header file.
5072
c92e08e3
AV
50732016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5074 Thomas Preud'homme <thomas.preudhomme@arm.com>
5075
5076 * config/arm/cmse_nonsecure_call.S: New.
5077 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5078
de7b5723
AV
50792016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5080 Thomas Preud'homme <thomas.preudhomme@arm.com>
5081
5082 * config/arm/t-arm (HAVE_CMSE): New.
5083 * config/arm/cmse.c: New.
5084
7a0d2bce
TP
50852016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5086
b3a5bff4
TP
5087 PR gcc/74748
5088 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5089 use generic linker version information on Blackfin.
5090
7a0d2bce
TP
5091 PR gcc/74748
5092 * libgcc/mkmap-symver.awk: add support for skip_underscore
5093
b410cf1d
IS
50942016-11-27 Iain Sandoe <iain@codesourcery.com>
5095 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5096
5097 PR target/67710
5098 * config/t-darwin: Default builds to 10.5 codegen.
5099
2e5f8203
JG
51002016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5101
5102 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5103 (_FP_NANSIGN_H): Likewise.
5104 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5105 (softfp_truncations): Add tfhf.
5106 (softfp_extras): Add required conversion functions.
5107
bea64ca3
JG
51082016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5109 Matthew Wahab <matthew.wahab@arm.com>
5110
5111 * config/arm/fp16.c (binary64): New.
5112 (__gnu_d2h_internal): New.
5113 (__gnu_d2h_ieee): New.
5114 (__gnu_d2h_alternative): New.
5115
8630cadb
JG
51162016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5117 Matthew Wahab <matthew.wahab@arm.com>
5118
5119 * config/arm/fp16.c (struct format): New.
5120 (binary32): New.
5121 (__gnu_float2h_internal): New. Body moved from
5122 __gnu_f2h_internal and generalize.
5123 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5124 Call it with binary32.
5125
5823ef23
JG
51262016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5127
5128 * soft-fp/extendhftf2.c: Update from glibc.
5129 * soft-fp/fixhfti.c: Likewise.
5130 * soft-fp/fixunshfti.c: Likewise.
5131 * soft-fp/floattihf.c: Likewise.
5132 * soft-fp/floatuntihf.c: Likewise.
5133 * soft-fp/half.h: Likewise.
5134 * soft-fp/trunctfhf2.c: Likewise.
5135
62a7df9f
MG
51362016-11-20 Marc Glisse <marc.glisse@inria.fr>
5137
5138 PR libgcc/77813
5139 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5140 __TMC_END__ behind a passthrough asm.
5141
7a384912
WL
51422016-11-18 Walter Lee <walt@tilera.com>
5143
62a7df9f 5144 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 5145
9775c1a5
L
51462016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5147
5148 * config/i386/cpuinfo.c (processor_features): Add
5149 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5150
48c842ab
CZ
51512016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5152
5153 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5154 (__ARC_NORM__): Use instead ARC_OPTFPE.
5155 * config/arc/fp-hack.h: Likewise.
5156 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5157 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5158
5012919d
AM
51592016-11-16 Alexander Monakov <amonakov@ispras.ru>
5160
5161 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5162 * config/nvptx/mgomp.c: New file.
5163 * config/nvptx/t-nvptx: Add mgomp.c
5164
00178b98
WB
51652016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5166
5167 PR libgcc/68468
5168 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5169
d64af69f
CZ
51702016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5171
5172 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5173 of checking for cpus.
5174 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5175 (__modsi3, __clzsi2): Likewise.
5176
9d8f95de
SN
51772016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5178
5179 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5180 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5181 * config/i386/t-cpuinfo-static: New.
5182
7d29f8e3
ML
51832016-11-03 Martin Liska <mliska@suse.cz>
5184
5185 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5186 (__gcov_time_profiler_atomic): Likewise.
5187
5de3e2d8
BE
51882016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5189
5190 PR libgcc/78067
5191 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5192 count_leading_zeros.
5193
18362447
UB
51942016-11-02 Uros Bizjak <ubizjak@gmail.com>
5195
5196 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5197 * libgcc2.c (__divmoddi4): New function.
5198 * libgcc2.h (__divmoddi4): Declare.
5199 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5200 and __PFX_divmodti4.
5201
33107571
FW
52022016-10-24 Florian Weimer <fweimer@redhat.com>
5203
5204 PR libgcc/78064
5205 * unwind-c.c: Include auto-target.h.
5206
4c6d7494
JDA
52072016-10-19 John David Anglin <danglin@gcc.gnu.org>
5208
18362447 5209 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
5210 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5211 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5212 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5213 hppa*64*-*-hpux11*.
5214
2a26adf1
MF
52152016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5216
5217 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5218 definition.
5219 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5220 definition.
5221 * config/xtensa/t-windowed (LIB2ADDEH): Use
5222 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5223 or xtensa/t-linux.
5224
66192aa1
DKC
52252016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5226
5227 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5228 __ieee754_sqrt): New functions.
5229 (__divdf3): Add implementation with new FPU instructions under
5230 #if XCHAL_HAVE_DFP_DIV.
5231 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5232 __ieee754_sqrtf): New functions.
5233 (__divsf3): Add implementation with new FPU instructions under
5234 #if XCHAL_HAVE_FP_DIV.
5235 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5236 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5237
4d0cdd0c
TP
52382016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5239
5240 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5241 equivalent.
5242 * config/tilepro/atomic.c: Likewise and stop casting model to
5243 enum memmodel.
5244
73f01cca
JM
52452016-10-10 Joseph Myers <joseph@codesourcery.com>
5246
5247 PR target/77586
5248 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5249 soft-fp.
5250
b20e7532
AT
52512016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5252
5253 * config.host: Add support for aarch64-*-freebsd*.
5254
a786cec4
AS
52552016-10-05 Andreas Schwab <schwab@suse.de>
5256
5257 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5258 (.section .init_array): Don't call __do_jv_register_classes.
5259 (.section .init): Likewise.
5260
5a79befb
JJ
52612016-10-04 Jakub Jelinek <jakub@redhat.com>
5262
5263 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5264 (__JCR_LIST__): Remove.
5265 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5266 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5267 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5268 * config/ia64/crtend.S (__JCR_END__): Remove.
5269 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5270 conditionals.
5271 (__JCR_LIST__, __JCR_END__): Remove.
5272 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5273 (__do_global_ctors_1): Likewise.
5274
e0ab3753
UB
52752015-09-28 Uros Bizjak <ubizjak@gmail.com>
5276
5277 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5278 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5279
8c9434c2
ML
52802016-09-27 Martin Liska <mliska@suse.cz>
5281
5282 PR gcov-profile/7970
5283 PR gcov-profile/16855
5284 PR gcov-profile/44779
5285 * libgcov-driver.c (__gcov_init): Do not register a atexit
5286 handler.
5287 (__gcov_exit): Rename from gcov_exit.
5288 * libgcov.h (__gcov_exit): Declare.
5289
56b653f1
ML
52902016-09-27 Martin Liska <mliska@suse.cz>
5291
5292 PR bootstrap/77749
5293 * Makefile.in: Remove _gcov_merge_delta.
5294 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5295 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5296 * libgcov.h: Remove declaration of __gcov_merge_delta.
5297
7e02fd1b
EB
52982016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5299
5300 * configure.ac: Do not create links, only substitute the filenames.
5301 * configure: Regenerate.
5302 * Makefile.in: Assign the substitution results to variables.
5303 (LIBGCC_LINKS): Define.
5304 (enable-execute-stack.c): New rule.
5305 (unwind.h): Likewise.
5306 (md-unwind-support.h): Likewise.
5307 (sfp-machine.h): Likewise.
5308 (gthr-default.h): Likewise.
5309 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5310 unwind.h as prerequisite of install-unwind_h-forbuild.
5311
29991048
JJ
53122016-09-16 Jakub Jelinek <jakub@redhat.com>
5313
5314 PR libgcc/71744
5315 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5316 is not the primary registry and atomics are available.
5317 (any_objects_registered): New variable.
5318 (__register_frame_info_bases, __register_frame_info_table_bases):
5319 Atomically store 1 to any_objects_registered after registering first
5320 unwind info.
5321 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5322
0abcd6cc
JG
53232016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5324
5325 PR target/63250
5326 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5327 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5328 (HFtype): Likewise.
5329 (HCtype): Likewise.
5330 (__divhc3): Likewise.
5331 (__mulhc3): Likewise.
5332 * libgcc2.c: Support _mulhc3 and _divhc3.
5333
d758aeb5
JM
53342016-09-07 Joseph Myers <joseph@codesourcery.com>
5335
5336 PR libgcc/77519
5337 * libgcc2.c (NOTRUNC): Invert settings.
5338
7fe76f6a
ML
53392016-09-06 Martin Liska <mliska@suse.cz>
5340
5341 PR gcov-profile/77378
5342 PR gcov-profile/77466
5343 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5344 conditionaly enable/disable *_atomic functions.
5345
21184026
JM
53462016-08-26 Joseph Myers <joseph@codesourcery.com>
5347
5348 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5349 where not already enabled.
5350
726f49c3
SN
53512016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5352
5353 * config/mips/linux-unwind.h: Use sys/syscall.h.
5354
feeb6268
JM
53552016-08-16 Joseph Myers <joseph@codesourcery.com>
5356
5357 PR libgcc/77265
5358 * soft-fp/adddf3.c: Update from glibc.
5359 * soft-fp/addsf3.c: Likewise.
5360 * soft-fp/addtf3.c: Likewise.
5361 * soft-fp/divdf3.c: Likewise.
5362 * soft-fp/divsf3.c: Likewise.
5363 * soft-fp/divtf3.c: Likewise.
5364 * soft-fp/double.h: Likewise.
5365 * soft-fp/eqdf2.c: Likewise.
5366 * soft-fp/eqsf2.c: Likewise.
5367 * soft-fp/eqtf2.c: Likewise.
5368 * soft-fp/extenddftf2.c: Likewise.
5369 * soft-fp/extended.h: Likewise.
5370 * soft-fp/extendsfdf2.c: Likewise.
5371 * soft-fp/extendsftf2.c: Likewise.
5372 * soft-fp/extendxftf2.c: Likewise.
5373 * soft-fp/fixdfdi.c: Likewise.
5374 * soft-fp/fixdfsi.c: Likewise.
5375 * soft-fp/fixdfti.c: Likewise.
5376 * soft-fp/fixsfdi.c: Likewise.
5377 * soft-fp/fixsfsi.c: Likewise.
5378 * soft-fp/fixsfti.c: Likewise.
5379 * soft-fp/fixtfdi.c: Likewise.
5380 * soft-fp/fixtfsi.c: Likewise.
5381 * soft-fp/fixtfti.c: Likewise.
5382 * soft-fp/fixunsdfdi.c: Likewise.
5383 * soft-fp/fixunsdfsi.c: Likewise.
5384 * soft-fp/fixunsdfti.c: Likewise.
5385 * soft-fp/fixunssfdi.c: Likewise.
5386 * soft-fp/fixunssfsi.c: Likewise.
5387 * soft-fp/fixunssfti.c: Likewise.
5388 * soft-fp/fixunstfdi.c: Likewise.
5389 * soft-fp/fixunstfsi.c: Likewise.
5390 * soft-fp/fixunstfti.c: Likewise.
5391 * soft-fp/floatdidf.c: Likewise.
5392 * soft-fp/floatdisf.c: Likewise.
5393 * soft-fp/floatditf.c: Likewise.
5394 * soft-fp/floatsidf.c: Likewise.
5395 * soft-fp/floatsisf.c: Likewise.
5396 * soft-fp/floatsitf.c: Likewise.
5397 * soft-fp/floattidf.c: Likewise.
5398 * soft-fp/floattisf.c: Likewise.
5399 * soft-fp/floattitf.c: Likewise.
5400 * soft-fp/floatundidf.c: Likewise.
5401 * soft-fp/floatundisf.c: Likewise.
5402 * soft-fp/floatunditf.c: Likewise.
5403 * soft-fp/floatunsidf.c: Likewise.
5404 * soft-fp/floatunsisf.c: Likewise.
5405 * soft-fp/floatunsitf.c: Likewise.
5406 * soft-fp/floatuntidf.c: Likewise.
5407 * soft-fp/floatuntisf.c: Likewise.
5408 * soft-fp/floatuntitf.c: Likewise.
5409 * soft-fp/gedf2.c: Likewise.
5410 * soft-fp/gesf2.c: Likewise.
5411 * soft-fp/getf2.c: Likewise.
5412 * soft-fp/ledf2.c: Likewise.
5413 * soft-fp/lesf2.c: Likewise.
5414 * soft-fp/letf2.c: Likewise.
5415 * soft-fp/muldf3.c: Likewise.
5416 * soft-fp/mulsf3.c: Likewise.
5417 * soft-fp/multf3.c: Likewise.
5418 * soft-fp/negdf2.c: Likewise.
5419 * soft-fp/negsf2.c: Likewise.
5420 * soft-fp/negtf2.c: Likewise.
5421 * soft-fp/op-1.h: Likewise.
5422 * soft-fp/op-2.h: Likewise.
5423 * soft-fp/op-4.h: Likewise.
5424 * soft-fp/op-8.h: Likewise.
5425 * soft-fp/op-common.h: Likewise.
5426 * soft-fp/quad.h: Likewise.
5427 * soft-fp/single.h: Likewise.
5428 * soft-fp/soft-fp.h: Likewise.
5429 * soft-fp/subdf3.c: Likewise.
5430 * soft-fp/subsf3.c: Likewise.
5431 * soft-fp/subtf3.c: Likewise.
5432 * soft-fp/truncdfsf2.c: Likewise.
5433 * soft-fp/trunctfdf2.c: Likewise.
5434 * soft-fp/trunctfsf2.c: Likewise.
5435 * soft-fp/trunctfxf2.c: Likewise.
5436 * soft-fp/unorddf2.c: Likewise.
5437 * soft-fp/unordsf2.c: Likewise.
5438 * soft-fp/unordtf2.c: Likewise.
5439
2e6fc1ac
GG
54402016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5441
5442 PR gcov-profile/67097
5443 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5444
a266236e
ML
54452016-08-10 Martin Liska <mliska@suse.cz>
5446
5447 PR gcov-profile/58306
5448 * Makefile.in: New functions (modules) are added.
5449 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5450 function.
5451 (__gcov_pow2_profiler_atomic): New function.
5452 (__gcov_one_value_profiler_body): New argument is instroduced.
5453 (__gcov_one_value_profiler): Call with the new argument.
5454 (__gcov_one_value_profiler_atomic): Likewise.
5455 (__gcov_indirect_call_profiler_v2): Likewise.
5456 (__gcov_time_profiler_atomic): New function.
5457 (__gcov_average_profiler_atomic): Likewise.
5458 (__gcov_ior_profiler_atomic): Likewise.
5459 * libgcov.h: Declare the aforementioned functions.
5460
e0c8eebf
ML
54612016-08-09 Martin Liska <mliska@suse.cz>
5462
5463 * libgcov-util.c: Fix typo and GNU coding style.
5464
6dce6418
ML
54652016-08-09 Martin Liska <mliska@suse.cz>
5466
5467 * Makefile.in: Remove __gcov_indirect_call_profiler.
5468 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5469 function.
5470 * libgcov.h: And the declaration of the function.
5471
dcb1e137
ML
54722016-08-09 Martin Liska <mliska@suse.cz>
5473
5474 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5475 power of two.
5476
d6e69705
BS
54772016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5478
5479 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5480 * config/rs6000/_mulkc3.c: Likewise.
5481
96aa1f95
GJL
54822016-07-29 Georg-Johann Lay <avr@gjlay.de>
5483
5484 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5485 zero_reg as previous call to __umulhisi3 already cleared it.
5486
a1b01d34
AJ
54872016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5488
5489 PR target/59833
5490 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5491
985a47b2
NC
54922016-07-19 Nick Clifton <nickc@redhat.com>
5493
5494 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5495 Add crtinit.o and crtfini.o to extra_parts.
5496
f906f5ed
BS
54972016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5498
5499 * config/rs6000/_divkc3.c: New.
5500 * config/rs6000/_mulkc3.c: New.
5501 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5502 and _divkc3.
5503 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5504 fp128_ppc_funcs.
5505
82742404
HW
55062016-07-11 Hale Wang <hale.wang@arm.com>
5507 Andre Vieira <andre.simoesdiasvieira@arm.com>
5508
5509 * config/arm/lib1funcs.S: Add new wrapper.
5510
05a437c1
TP
55112016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5512
5513 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5514
3d16d9ec
TP
55152016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5516
5517 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5518 and ARMv5t* rather than for a fixed list of architectures.
5519
6f493951
TP
55202016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5521
5522 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5523 implementation suitable for.
5524 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5525 for all Thumb-1 only targets.
5526 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5527 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5528 __ARM_ARCH_6M__.
5529 (EQUIV): Likewise.
5530 (ARM_FUNC_ALIAS): Likewise.
5531 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5532 version.
5533 (modsi3): Likewise.
5534 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5535 (clzdi2): Likewise.
5536 (ctzsi2): Likewise.
5537 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5538 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5539 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5540 __ARM_ARCH_6M__ and add comment to indicate the connection between
5541 this condition and the one in gcc/config/arm/elf.h.
5542 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5543 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5544 * config/arm/t-softfp: Likewise.
5545
1770511a
TS
55462016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5547
5548 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5549 CTOR_LISTS_DEFINED_EXTERNALLY.
5550
ba6be749
WL
55512016-06-28 Walter Lee <walt@tilera.com>
5552
5553 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5554 asm/unistd.h.
5555 (SPR_CMPEXCH_VALUE): Define for tilegx.
5556 (__NR_FAST_cmpxchg): Define for tilepro.
5557 (__NR_FAST_atomic_update): Define for tilepro.
5558 (__NR_FAST_cmpxchg64): Define for tilepro.
5559
a34c0db5
JS
55602016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5561
18362447 5562 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5563
0609abda
TS
55642016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5565
5566 * config.host: Remove support for mep-*.
5567 * config/mep/lib1funcs.S: Remove.
5568 * config/mep/lib2funcs.c: Remove.
5569 * config/mep/t-mep: Remove.
5570 * config/mep/tramp.c: Remove.
5571
3e326935
TS
55722016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5573
5574 * config.host: Remove support for avr-rtems.
5575 * config/avr/t-rtems: Remove.
5576
914b155c
TS
55772016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5578
5579 * config.host: Remove m32r-rtems support.
5580
5ebf89bd
TS
55812016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5582
5583 * config.host: Remove h8300-rtems support.
5584
8466af06
TS
55852016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5586
5587 * config.host: Remove support for knetbsd.
5588
d980e738
TS
55892016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5590
5591 * config.host: Remove support for openbsd 2 and 3.
5592
ee2499b4
TS
55932016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5594
5595 * config.host: Remove interix support.
5596 * config/i386/t-interix: Remove.
5597
9f92937b
JDA
55982016-06-18 John David Anglin <danglin@gcc.gnu.org>
5599
5600 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5601 least-significant bit in function pointer for fixup.
5602
0a0ec53d
AC
56032016-06-05 Aaron Conole <aconole@redhat.com>
5604 Nathan Sidwell <nathan@acm.org>
5605
5606 PR libgcc/71400
5607 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5608 (get_gcov_error_file): Check __gcov_error_file before trying to
5609 initialize it.
5610 (gcov_error): Always use get_gcov_error_file.
5611
8aa5bdd6
AC
56122016-06-02 Aaron Conole <aconole@redhat.com>
5613
5614 * libgcov-driver-system.c (__gcov_error_file): New.
5615 (get_gcov_error_file): New.
5616 (gcov_error): Use and set __gcov_error_file.
5617 (gcov_error_exit): New.
5618 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5619
40774faf
NS
56202016-05-26 Nathan Sidwell <nathan@acm.org>
5621
5622 * config/nvptx/free.asm: Delete.
5623 * config/nvptx/malloc.asm: Delete.
5624 * config/nvptx/realloc.c: Delete.
5625 * t-nvptx: Update.
5626
69a6d5ad
NS
56272016-05-25 Nathan Sidwell <nathan@acm.org>
5628
5629 * config/nvptx/crt0.s: Delete.
5630 * config/nvptx/crt0.c: New.
5631 * t-nvptx: Update.
5632
6befaff6
SL
56332016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5634
385c7747 5635 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5636 dw2/seh configuration.
5637 [x86_64-*-mingw*]: Likewise.
5638
ad251dfd
JS
56392016-05-10 Joel Sherrill <joel@rtems.org>
5640
5641 PR libgcc/70720
5642 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5643 targets so the same extra_parts are built. Also have tmake_file add
5644 on to its value rather than override.
5645
bc6d9014
OE
56462016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5647
5648 * config.host: Remove SH5 support.
5649 * configure: Likewise.
5650
9129c8cf
OE
56512016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5652
5653 * config/sh/crt1.S: Remove SH5 support.
5654 * config/sh/crti.S: Likewise.
5655 * config/sh/crtn.S: Likewise.
5656 * config/sh/lib1funcs-4-300.S: Likewise.
5657 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5658 * config/sh/lib1funcs.S: Likewise.
5659 * config/sh/linux-unwind.h: Likewise.
5660 * config/sh/t-sh64: Delete.
5661
39d50464
CZ
56622016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5663
5664 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5665
8b48923b
CZ
56662016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5667 Joern Rennecke <joern.rennecke@embecosm.com>
5668
5669 * config/arc/crttls.S: New file.
5670 * config/arc/t-arc: New rule.
5671 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5672
2de1cf8c
NC
56732016-04-25 Nick Clifton <nickc@redhat.com>
5674
5675 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5676 (__mspabi_cmpd): Likewise.
5677 * config/msp430/floathidf.c (__floathidf): Likewise.
5678 * config/msp430/floathisf.c (__floathisf): Likewise
5679 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5680 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5681 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5682 second parameter.
5683 (__ashrsi3): Likewise.
5684
b8ce3fe2
WB
56852016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5686
5687 * config/m68k/linux-atomic.c: Do not include unistd.h
5688
4986f823
MG
56892016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5690
5691 * config/arm/ieee754-df.S: Fix typos in comments.
5692
35fbda43
MM
56932016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5694
5695 PR target/70381
5696 * configure.ac (powerpc*-*-linux*): Rework tests to build
5697 __float128 emulation routines to not depend on using #pragma GCC
5698 target to enable -mfloat128.
5699 * configure: Regnerate.
5700
72d1a48d
EB
57012016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5702
5703 PR target/67172
5704 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5705 __MINGW32__ is defined.
5706
dc2e8995
JB
57072016-03-28 James Bowman <james.bowman@ftdichip.com>
5708
385c7747 5709 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 5710
104cdaf1
MM
57112016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5712
5713 PR libgcc/70363
5714 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5715 built with an assembler that does not support ISA 3.0
5716 instructions, rename __extendkftf2_sw to __extendkftf2.
5717
a5046f48
RO
57182016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5719
5720 PR target/38239
5721 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5722 call-clobbered registers.
5723 (internal_mcount): Remove __i386__ handling.
5724
df674f74
JS
57252016-02-26 Joel Sherrill <joel@rtems.org>
5726
5727 * config.host: Add x86_64-*-rtems*.
5728
7cb065d6
JS
57292016-02-26 Joel Sherrill <joel@rtems.org>
5730
5731 * libgcc/config.host: Add aarch64-*-rtems*.
5732
47dfdc53
PM
57332016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5734 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5735
5736 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5737 union of u64 and double.
5738 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5739 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5740 value.
5741 (FP_ROUNDMODE): Update the usage of _fpscr.
5742
e6861a99
IV
57432016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5744
5745 PR driver/68463
5746 * Makefile.in (crtoffloadtable$(objext)): New rule.
5747 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5748 enable_offload_targets is not empty.
5749 * configure: Regenerate.
5750 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5751 crtoffloadtable.
5752
9bfcbdee
MF
57532016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5754
5755 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5756 .literal_position before the function.
5757 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5758 Likewise.
5759
4cb4721f
MK
57602016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5761
5762 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5763 * config/s390/morestack.S: New file.
5764 * config/s390/t-stack-s390: New file.
5765 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5766
b29d9a29
WL
57672016-02-12 Walter Lee <walt@tilera.com>
5768
5769 * config.host (tilegx*-*-linux*): remove ti from
5770 softfp_int_modes for 32-bit configs.
5771
03a0ae7d
ILT
57722016-02-10 Ian Lance Taylor <iant@google.com>
5773
5774 PR go/68562
5775 * config/i386/morestack.S (__stack_split_initialize): Align
5776 stack.
5777
68750bce
AT
57782016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5779
5780 PR bootstrap/69611
5781 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5782 __FLOAT128__ to compile only for __float128 capable targets.
5783
7d296953
JJ
57842016-01-25 Jakub Jelinek <jakub@redhat.com>
5785
5786 PR target/69444
5787 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5788 instead of ___NO_FPRS__.
5789
a71c0334 57902016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5791 Steven Munroe <munroesj@linux.vnet.ibm.com>
5792 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
5793
5794 * config/rs6000/float128-sed: New files to convert TF names to KF
5795 names for PowerPC IEEE 128-bit floating point support.
5796 * config/rs6000/float128-sed-hw: Likewise.
5797
5798 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5799 floating point hardware support.
5800
5801 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5802 128-bit floating point software emulation or use ISA 3.0 hardware
5803 support if it is available.
5804
5805 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5806 floating point.
5807
5808 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5809 floating point to IBM extended double.
5810
5811 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5812 double to IEEE 128-bit floating point.
5813
5814 * config/rs6000/t-float128: New Makefile fragments to enable
5815 building __float128 emulation support.
5816 * config/rs6000/t-float128-hw: Likewise.
5817
5818 * config/rs6000/sfp-exceptions.c: New file to provide exception
5819 support for IEEE 128-bit floating point.
5820
5821 * config/rs6000/floattikf.c: New files for converting between IEEE
5822 128-bit floating point and signed/unsigned 128-bit integers.
5823 * config/rs6000/fixunskfti.c: Likewise.
5824 * config/rs6000/fixkfti.c: Likewise.
5825 * config/rs6000/floatuntikf.c: Likewise.
5826
5827 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5828 when building on 64-bit systems, or when VSX is enabled.
5829 (_FP_W_TYPE): Likewise.
5830 (_FP_WS_TYPE): Likewise.
5831 (_FP_I_TYPE): Likewise.
5832 (TItype): Define on 64-bit systems.
5833 (UTItype): Likewise.
5834 (TI_BITS): Likewise.
5835 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5836 (_FP_MUL_MEAT_Q): Likewise.
5837 (_FP_DIV_MEAT_D): Likewise.
5838 (_FP_DIV_MEAT_Q): Likewise.
5839 (_FP_NANFRAC_D): Likewise.
5840 (_FP_NANFRAC_Q): Likewise.
5841 (ISA_BIT): Add exception support if we are being compiled on a
5842 machine with hardware floating point support to build the IEEE
5843 128-bit emulation functions.
5844 (FP_EX_INVALID): Likewise.
5845 (FP_EX_OVERFLOW): Likewise.
5846 (FP_EX_UNDERFLOW): Likewise.
5847 (FP_EX_DIVZERO): Likewise.
5848 (FP_EX_INEXACT): Likewise.
5849 (FP_EX_ALL): Likewise.
5850 (__sfp_handle_exceptions): Likewise.
5851 (FP_HANDLE_EXCEPTIONS): Likewise.
5852 (FP_RND_NEAREST): Likewise.
5853 (FP_RND_ZERO): Likewise.
5854 (FP_RND_PINF): Likewise.
5855 (FP_RND_MINF): Likewise.
5856 (FP_RND_MASK): Likewise.
5857 (_FP_DECL_EX): Likewise.
5858 (FP_INIT_ROUNDMODE): Likewise.
5859 (FP_ROUNDMODE): Likewise.
5860
5861 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5862 VSX code, enable IEEE 128-bit floating point. If the compiler can
5863 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5864 floating point hardware instructions and it supports declaring
5865 functions with the ifunc attribute, enable ifunc functions to
5866 switch between software and hardware support.
5867 * configure.ac (powerpc*-*-linux*): Likewise.
5868 * configure: Regenerate.
5869
bdc27e50
NC
58702016-01-15 Nick Clifton <nickc@redhat.com>
5871
5872 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5873 dependency as the source file to be compiled.
5874 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5875 (lib2hw_mul_f5.o): Likewise.
5876
006df05d
MM
58772016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5878
5879 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5880 * libgcc/config/rs6000/fixkfti.c: Likewise.
5881 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5882 * libgcc/config/rs6000/float128-hw.c: Likewise.
5883 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5884 * libgcc/config/rs6000/float128-sed: Likewise.
5885 * libgcc/config/rs6000/floattikf.c: Likewise.
5886 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5887 * libgcc/config/rs6000/quad-float128.h: Likewise.
5888 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5889 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5890 * libgcc/config/rs6000/t-float128: Likewise.
5891 * libgcc/config/rs6000/t-float128-hw: Likewise.
5892 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5893 * libgcc/config.host: Likewise.
5894 * libgcc/configure: Likewise.
5895 * libgcc/configure.ac: Likewise.
5896
29176d57 58972016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5898 Steven Munroe <munroesj@linux.vnet.ibm.com>
5899 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5900
5901 * config/rs6000/sfp-exceptions.c: New file to provide exception
5902 support for IEEE 128-bit floating point.
5903
5904 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5905 floating point hardware support.
5906
5907 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5908 point conversions.
5909 * config/rs6000/fixunskfti.c: Likewise.
5910 * config/rs6000/fixkfti.c: Likewise.
5911 * config/rs6000/floatuntikf.c: Likewise.
5912 * config/rs6000/extendkftf2-sw.c: Likewise.
5913 * config/rs6000/trunctfkf2-sw.c: Likewise.
5914
5915 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5916 128-bit floating point software emulation or use ISA 3.0 hardware
5917 support if it is available.
5918
5919 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5920 floating point.
5921
5922 * config/rs6000/t-float128: New Makefile fragments to enable
5923 building __float128 emulation support.
5924 * config/rs6000/t-float128-hw: Likewise.
5925
5926 * config/rs6000/float128-sed: New file to convert TF names to KF
5927 names for PowerPC IEEE 128-bit floating point support.
5928
5929 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5930 when building on 64-bit systems, or when VSX is enabled.
5931 (_FP_W_TYPE): Likewise.
5932 (_FP_WS_TYPE): Likewise.
5933 (_FP_I_TYPE): Likewise.
5934 (TItype): Define on 64-bit systems.
5935 (UTItype): Likewise.
5936 (TI_BITS): Likewise.
5937 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5938 (_FP_MUL_MEAT_Q): Likewise.
5939 (_FP_DIV_MEAT_D): Likewise.
5940 (_FP_DIV_MEAT_Q): Likewise.
5941 (_FP_NANFRAC_D): Likewise.
5942 (_FP_NANFRAC_Q): Likewise.
5943 (ISA_BIT): Add exception support if we are being compiled on a
5944 machine with hardware floating point support to build the IEEE
5945 128-bit emulation functions.
5946 (FP_EX_INVALID): Likewise.
5947 (FP_EX_OVERFLOW): Likewise.
5948 (FP_EX_UNDERFLOW): Likewise.
5949 (FP_EX_DIVZERO): Likewise.
5950 (FP_EX_INEXACT): Likewise.
5951 (FP_EX_ALL): Likewise.
5952 (__sfp_handle_exceptions): Likewise.
5953 (FP_HANDLE_EXCEPTIONS): Likewise.
5954 (FP_RND_NEAREST): Likewise.
5955 (FP_RND_ZERO): Likewise.
5956 (FP_RND_PINF): Likewise.
5957 (FP_RND_MINF): Likewise.
5958 (FP_RND_MASK): Likewise.
5959 (_FP_DECL_EX): Likewise.
5960 (FP_INIT_ROUNDMODE): Likewise.
5961 (FP_ROUNDMODE): Likewise.
5962
5963 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5964 compiler can do __float128.
5965 * configure: Regenerate.
5966
5967 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5968 VSX code, enable IEEE 128-bit floating point.
5969
a2218983
OH
59702016-01-05 Olivier Hainque <hainque@adacore.com>
5971
5972 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5973 specificities.
a2218983 5974
818ab71a
JJ
59752016-01-04 Jakub Jelinek <jakub@redhat.com>
5976
5977 Update copyright years.
5978
5a6c8ffa
AP
59792015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5980
5981 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5982 soft-fp targets.
5a6c8ffa 5983
077067a5
BE
59842015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5985
5986 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5987 instead of abort to avoid dependency on stdlib.h.
5988
787c1027
JDA
59892015-12-09 John David Anglin <danglin@gcc.gnu.org>
5990
5991 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5992 to initialize call to __dl_fixup once.
5993
04a9ae28
NC
59942015-12-04 Nick Clifton <nickc@redhat.com>
5995
5996 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5997 Allow for the second argument being negative.
5998 * config.host (extra_parts): Define for MSP430. Create separate
5999 libraries for each of the hardware multiply formats.
6000 * config/msp430/lib2hw_mul.S: Build only the multiply routines
6001 that are needed.
6002 * config/msp430/lib2mul.c: Likewise.
6003 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
6004 Add rules to build hardware multiply libraries.
6005 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
6006 __mspabi_divul function.
6007 (__mspabi_divllu): New stub function.
6008
9a32d437
JDA
60092015-12-01 John David Anglin <danglin@gcc.gnu.org>
6010
6011 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
6012 fixup values if saved GOT address doesn't match runtime address.
6013 (fixup_branch_offset): Reorder list.
6014
e5ef217c
RO
60152015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6016
6017 * Makefile.in (VTV_CFLAGS): New variable.
6018 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
6019 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
6020 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6021 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
6022 to extra_parts if $enable_vtable_verify = yes.
6023
78cc43a2
SN
60242015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
6025
6026 PR target/68059
6027 * config/arm/linux-atomic-64bit.c (__write): Rename to...
6028 (write): ...this and fix the return type.
6029
9afebea2
DD
60302015-11-19 DJ Delorie <dj@redhat.com>
6031
6032 * config/msp430/lib2hw_mul.S: Fix alignment.
6033
33f47f42
NS
60342015-11-18 Nathan Sidwell <nathan@codesourcery.com>
6035
6036 * config/nvptx/reduction.c: New.
6037 * config/nvptx/t-nvptx (LIB2ADD): Add it.
6038
d9adb476
DE
60392015-11-15 David Edelsohn <dje.gcc@gmail.com>
6040
6041 * config/rs6000/on_exit.c: New file.
6042 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6043 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6044
c0ab1970
CZ
60452015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
6046
6047 * config/arc/dp-hack.h: Add support for ARCHS.
6048 * config/arc/ieee-754/divdf3.S: Likewise.
6049 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6050 * config/arc/ieee-754/muldf3.S: Likewise.
6051 * config/arc/ieee-754/mulsf3.S: Likewise
6052 * config/arc/lib1funcs.S: Likewise
6053 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6054 for ARCv2 cores.
6055 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6056 for ARCv2 cores.
6057 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6058 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6059 cores.
6060
e6b6bf09
RO
60612015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6062
6063 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6064 value.
6065 * config/ia64/crtend.S: Likewise.
6066
a153644f
TS
60672015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6068
6069 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6070 __CHAR_BIT__ instead of BITS_PER_UNIT.
6071 * fixed-bit.h: Likewise.
6072 * fp-bit.h: Likewise.
6073 * libgcc2.c (__popcountSI2): Likewise.
6074 (__popcountDI2): Likewise.
6075 * libgcc2.h: Likewise.
6076 * libgcov.h: Likewise.
6077
3dee689d
DE
60782015-11-07 David Edelsohn <dje.gcc@gmail.com>
6079
6080 * config/rs6000/atexit.c: New file.
6081 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6082 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6083 * config/rs6000/cxa_finalize.c
6084 (catomic_compare_and_exchange_bool_acq): Negate return value.
6085
2ef543e4
VK
60862015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6087
6088 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6089 (processor_subtypes): Add znver1.
6090 (get_amd_cpu): Detect znver1.
6091
1300f017
CL
60922015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6093
6094 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6095 Include crtfastmath.o.
6096
3e5bb7ee
JR
60972015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6098
6099 PR libgcc/66883
6100 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 6101
793aa938
KP
61022015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6103
6104 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6105 * config/rl78/divmodsi.S: Update return register to r8.
6106 * config/rl78/divmodhi.S: Update return register to r8,r9.
6107 Branch to main_loop_done_himode to pop registers before return.
6108
7d296953 61092015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
6110
6111 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6112 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6113
6a192b5a
KY
61142015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6115
6116 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6117
4a0a9457
MF
61182015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6119
6120 * config.host (xtensa*-*-uclinux*): New configuration.
6121
ab91c076
KY
61222015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6123
385c7747 6124 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
6125 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6126
30954527
JM
61272015-09-28 Joseph Myers <joseph@codesourcery.com>
6128
6129 * soft-fp/adddf3.c: Update from glibc.
6130 * soft-fp/addsf3.c: Likewise.
6131 * soft-fp/addtf3.c: Likewise.
6132 * soft-fp/divdf3.c: Likewise.
6133 * soft-fp/divsf3.c: Likewise.
6134 * soft-fp/divtf3.c: Likewise.
6135 * soft-fp/double.h: Likewise.
6136 * soft-fp/eqdf2.c: Likewise.
6137 * soft-fp/eqsf2.c: Likewise.
6138 * soft-fp/eqtf2.c: Likewise.
6139 * soft-fp/extenddftf2.c: Likewise.
6140 * soft-fp/extended.h: Likewise.
6141 * soft-fp/extendsfdf2.c: Likewise.
6142 * soft-fp/extendsftf2.c: Likewise.
6143 * soft-fp/extendxftf2.c: Likewise.
6144 * soft-fp/fixdfdi.c: Likewise.
6145 * soft-fp/fixdfsi.c: Likewise.
6146 * soft-fp/fixdfti.c: Likewise.
6147 * soft-fp/fixsfdi.c: Likewise.
6148 * soft-fp/fixsfsi.c: Likewise.
6149 * soft-fp/fixsfti.c: Likewise.
6150 * soft-fp/fixtfdi.c: Likewise.
6151 * soft-fp/fixtfsi.c: Likewise.
6152 * soft-fp/fixtfti.c: Likewise.
6153 * soft-fp/fixunsdfdi.c: Likewise.
6154 * soft-fp/fixunsdfsi.c: Likewise.
6155 * soft-fp/fixunsdfti.c: Likewise.
6156 * soft-fp/fixunssfdi.c: Likewise.
6157 * soft-fp/fixunssfsi.c: Likewise.
6158 * soft-fp/fixunssfti.c: Likewise.
6159 * soft-fp/fixunstfdi.c: Likewise.
6160 * soft-fp/fixunstfsi.c: Likewise.
6161 * soft-fp/fixunstfti.c: Likewise.
6162 * soft-fp/floatdidf.c: Likewise.
6163 * soft-fp/floatdisf.c: Likewise.
6164 * soft-fp/floatditf.c: Likewise.
6165 * soft-fp/floatsidf.c: Likewise.
6166 * soft-fp/floatsisf.c: Likewise.
6167 * soft-fp/floatsitf.c: Likewise.
6168 * soft-fp/floattidf.c: Likewise.
6169 * soft-fp/floattisf.c: Likewise.
6170 * soft-fp/floattitf.c: Likewise.
6171 * soft-fp/floatundidf.c: Likewise.
6172 * soft-fp/floatundisf.c: Likewise.
6173 * soft-fp/floatunditf.c: Likewise.
6174 * soft-fp/floatunsidf.c: Likewise.
6175 * soft-fp/floatunsisf.c: Likewise.
6176 * soft-fp/floatunsitf.c: Likewise.
6177 * soft-fp/floatuntidf.c: Likewise.
6178 * soft-fp/floatuntisf.c: Likewise.
6179 * soft-fp/floatuntitf.c: Likewise.
6180 * soft-fp/gedf2.c: Likewise.
6181 * soft-fp/gesf2.c: Likewise.
6182 * soft-fp/getf2.c: Likewise.
6183 * soft-fp/ledf2.c: Likewise.
6184 * soft-fp/lesf2.c: Likewise.
6185 * soft-fp/letf2.c: Likewise.
6186 * soft-fp/muldf3.c: Likewise.
6187 * soft-fp/mulsf3.c: Likewise.
6188 * soft-fp/multf3.c: Likewise.
6189 * soft-fp/negdf2.c: Likewise.
6190 * soft-fp/negsf2.c: Likewise.
6191 * soft-fp/negtf2.c: Likewise.
6192 * soft-fp/op-1.h: Likewise.
6193 * soft-fp/op-2.h: Likewise.
6194 * soft-fp/op-4.h: Likewise.
6195 * soft-fp/op-8.h: Likewise.
6196 * soft-fp/op-common.h: Likewise.
6197 * soft-fp/quad.h: Likewise.
6198 * soft-fp/single.h: Likewise.
6199 * soft-fp/soft-fp.h: Likewise.
6200 * soft-fp/subdf3.c: Likewise.
6201 * soft-fp/subsf3.c: Likewise.
6202 * soft-fp/subtf3.c: Likewise.
6203 * soft-fp/truncdfsf2.c: Likewise.
6204 * soft-fp/trunctfdf2.c: Likewise.
6205 * soft-fp/trunctfsf2.c: Likewise.
6206 * soft-fp/trunctfxf2.c: Likewise.
6207 * soft-fp/unorddf2.c: Likewise.
6208 * soft-fp/unordsf2.c: Likewise.
6209 * soft-fp/unordtf2.c: Likewise.
6210
4dfe21ac
RE
62112015-09-24 Richard Earnshaw <rearnsha@arm.com>
6212
6213 PR libgcc/67624
6214 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6215
df2a1cc4
RO
62162015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6217
6218 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6219 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6220 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6221 messages.
6222 (internal_mcount): Likewise.
6223 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6224 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6225
2d110442
RO
62262015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6227
6228 * configure.ac (libgcc_cv_solaris_crts): New test.
6229 * configure: Regenerate.
6230 * config.in: Regenerate.
6231 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6232 * config/gmon-sol2.c: Rename to ...
6233 * config/sol2/gmon.c: ... this.
6234 Include auto-target.h.
6235 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6236 * config/t-sol2: Rename to ...
6237 * config/sol2/t-sol2: ... this.
6238 (gmon.o): Reflect renaming.
6239 (crtp.o, crtpg.o): New rules.
6240 * config.host (*-*-solaris2*): Reflect renaming.
6241 Use system CRTs if present.
6242 Remove default CRT case.
6243
d572e439
JDA
62442015-09-23 John David Anglin <danglin@gcc.gnu.org>
6245
6246 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6247 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6248 __kernel_cmpxchg2.
6249 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6250 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6251 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6252 (__sync_lock_test_and_set_##WIDTH): Likewise.
6253 (__sync_lock_release_##WIDTH): Likewise.
6254 (__sync_fetch_and_##OP##_4): Change result to match type of
6255 __kernel_cmpxchg.
6256 (__sync_##OP##_and_fetch_4): Likewise.
6257 (__sync_val_compare_and_swap_4): Likewise.
6258 (__sync_bool_compare_and_swap_4): likewise.
6259 (__sync_lock_test_and_set_4): Likewise.
6260 (__sync_lock_release_4): Likewise.
6261 (FETCH_AND_OP_2): Add long long variants.
6262 (OP_AND_FETCH_2): Likewise.
6263 (COMPARE_AND_SWAP_2 ): Likewise.
6264 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6265 (SYNC_LOCK_RELEASE_2): Likewise.
6266 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6267
7d296953 62682015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
6269
6270 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6271 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6272 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6273 (get_available_features): Habdle new features.
6274
131314e1
JB
62752015-09-21 James Bowman <james.bowman@ftdichip.com>
6276
6277 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6278 memory layout. Deal correctly with BSS region larger than 32K.
6279 Handle a watchdog reset like a power-on reset. Clean up unused
6280 code.
6281
04218b35
AD
62822015-09-18 Andrew Dixie <andrewd@gentrack.com>
6283 David Edelsohn <dje.gcc@gmail.com>
6284
6285 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6286 * config/rs6000/crtdbase.S: New file.
6287 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6288
c8338173
MF
62892015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6290
6291 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6292 Add support for call0 ABI.
6293
7a84bf71
JDA
62942015-09-13 John David Anglin <danglin@gcc.gnu.org>
6295
6296 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6297
4efab402
SH
62982015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6299
6300 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6301 (__GTHREAD_HAS_COND): Likewise.
6302 (__gthread_t): Likewise.
6303 (__gthread_cond_t): Likewise.
6304 (__gthread_time_t): Likewise.
6305 (__GTHREAD_MUTEX_INIT): Likewise.
6306 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6307 (__GTHREAD_COND_INIT): Likewise.
6308 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6309 (__GTHREAD_TIME_INIT): Likewise.
6310 (__gthread_create): Likewise.
6311 (__gthread_join): Likewise.
6312 (__gthread_detach): Likewise.
6313 (__gthread_equal): Likewise.
6314 (__gthread_self): Likewise.
6315 (__gthread_yield): Likewise.
6316 (__gthread_cond_broadcast): Likewise.
6317 (__gthread_cond_signal): Likewise.
6318 (__gthread_cond_wait): Likewise.
6319 (__gthread_cond_timedwait): Likewise.
6320 (__gthread_cond_wait_recursive): Likewise.
6321 (__gthread_cond_destroy): Likewise.
6322 (rtems_gxx_once): Delete.
6323 (rtems_gxx_key_create): Likewise.
6324 (rtems_gxx_key_delete): Likewise.
6325 (rtems_gxx_getspecific): Likewise.
6326 (rtems_gxx_setspecific): Likewise.
6327 (rtems_gxx_mutex_init): Likewise.
6328 (rtems_gxx_mutex_destroy): Likewise.
6329 (rtems_gxx_mutex_lock): Likewise.
6330 (rtems_gxx_mutex_trylock): Likewise.
6331 (rtems_gxx_mutex_unlock): Likewise.
6332 (rtems_gxx_recursive_mutex_init): Likewise.
6333 (rtems_gxx_recursive_mutex_lock): Likewise.
6334 (rtems_gxx_recursive_mutex_trylock): Likewise.
6335 (rtems_gxx_recursive_mutex_unlock): Likewise.
6336 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6337 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6338 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6339 (__gthread_once): Likewise.
6340 (__gthread_key_create): Likewise.
6341 (__gthread_key_delete): Likewise.
6342 (__gthread_getspecific): Likewise.
6343 (__gthread_setspecific): Likewise.
6344 (__gthread_key_t): Use <pthread.h> type.
6345 (__gthread_once_t): Likewise
6346 (__gthread_mutex_t): Use <sys/lock.h> type.
6347 (__gthread_recursive_mutex_t): Likewise
6348 (__gthread_mutex_lock): Use <sys/lock.h> function.
6349 (__gthread_mutex_trylock): Likewise.
6350 (__gthread_mutex_timedlock): Likewise.
6351 (__gthread_mutex_unlock): Likewise.
6352 (__gthread_mutex_destroy): Likewise.
6353 (__gthread_recursive_mutex_lock): Likewise.
6354 (__gthread_recursive_mutex_trylock): Likewise.
6355 (__gthread_recursive_mutex_timedlock): Likewise.
6356 (__gthread_recursive_mutex_unlock): Likewise.
6357 (__gthread_recursive_mutex_destroy): Likewise.
6358
991995c4
MF
63592015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6360
6361 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6362 context->sp instead of context->cfa.
6363
0e19db59
MF
63642015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6365
6366 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6367 with unwind-dw2-fde-dip.
6368
b6ac5f62
MF
63692015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6370
6371 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6372 CALL12 followed by series of ENTRY to spill windowed registers.
6373 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6374 instead of making linux spill syscall.
6375
3e0f3349
YR
63762015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6377
6378 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6379 (get_intel_cpu): Likewise.
6380
51c728b1
L
63812015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6382
6383 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6384 (get_intel_cpu): Add Knights Landing support.
6385
aff4eeac
UB
63862015-08-11 Uros Bizjak <ubizjak@gmail.com>
6387
6388 PR target/66954
6389 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6390 (get_available_features): Handle FEATURE_PCLMUL.
6391
736e56da
L
63922015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6393
6394 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6395 Broadwell.
6396
54d22142
UB
63972015-07-22 Uros Bizjak <ubizjak@gmail.com>
6398
6399 PR target/66954
6400 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6401 (get_available_features): Handle FEATURE_AES.
6402
20ca17e4
CLT
64032015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6404
6405 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6406 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6407
ebe4a560
NS
64082015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6409
6410 * offloadstuff.c: Constify host data.
6411
180744c0
JB
64122015-07-17 Jan Beulich <jbeulich@suse.com>
6413
6414 * config/t-softfp: Split up "else ifneq".
6415
a03c6ae3
SL
64162015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6417 Cesar Philippidis <cesar@codesourcery.com>
6418 Chung-Lin Tang <cltang@codesourcery.com>
6419
6420 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6421 for __nios2_arch__ level.
6422
73358db5
JM
64232015-07-13 John Marino <gnugcc@marino.st>
6424
6425 * config/i386/t-dragonfly: New.
6426
f9a12f7b
JDA
64272015-07-01 John David Anglin <danglin@gcc.gnu.org>
6428
6429 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6430 better match light-weight syscall argument order.
6431 (__kernel_cmpxchg2): Likewise.
6432 Adjust callers.
6433
cb78b51c
L
64342015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6435
6436 * config.host: Support i[34567]86-*-elfiamcu target.
6437 * config/t-softfp-sfdftf: New file.
6438 * config/i386/32/t-iamcu: Likewise.
6439 * configure: Regenerated.
6440
4fa0f9ea
JL
64412015-06-23 James Lemke <jwlemke@codesourcery.com>
6442
6443 libgcc/config/arm/
6444 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6445
428b3812
L
64462015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6447
6448 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6449
7d296953 64502015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6451
6452 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6453 md_unwind_header
6454 * config/i386/freebsd-unwind.h: New.
6455
9b789cc1
UB
64562015-05-22 Uros Bizjak <ubizjak@gmail.com>
6457
6458 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6459 i386/t-crtfm to tmake_file.
6460 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6461 (set_fast_math): Use set_fast_math_sse for SSE targets.
6462 * config/i386/t-crtfm: Remove.
6463
3dafb220
AM
64642015-05-21 Alan Modra <amodra@gmail.com>
6465
6466 PR libgcc/66225
6467 * config/rs6000/morestack.S: Remove ".abiversion 1".
6468
0f0fd745
AM
64692015-05-20 Alan Modra <amodra@gmail.com>
6470
6471 * config/rs6000/morestack.S: New.
6472 * config/rs6000/t-stack-rs6000: New.
6473 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6474 to tmake_file.
6475 * generic-morestack.c: Don't build for powerpc 32-bit.
6476
515ae71b
EB
64772015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6478
6479 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6480 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6481
36805406
JL
64822015-05-16 James Bowman <james.bowman@ftdichip.com>
6483
6484 * config.host: FT32 target added.
6485 * config/ft32/*: New files for FT32 target.
6486
ff935d0c
MG
64872015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6488
385c7747
UB
6489 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6490 New macros.
6491 * config/arm/ieee754-df.S: Add CFI directives.
6492 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6493
9b92a9f3
EB
64942015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6495
6496 * configure.ac: Include config/sjlj.m4.
6497 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6498 * config.in: Regenerate.
6499 * configure: Likewise.
6500 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6501
98b5dc61
UB
65022015-05-12 Uros Bizjak <ubizjak@gmail.com>
6503
6504 * libgcov-util.c: Add space between string literal and macro name.
6505
5a0ff57c
SL
65062015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6507 Chris Jones <chrisj@nvidia.com>
6508 Joshua Conner <jconner@nvidia.com>
6509
6510 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6511 (arm*-*-uclinux*): Likewise.
6512 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6513 * config/arm/crtfastmath.c: New file.
6514
d28ad5d4
BS
65152014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6516
6517 * Makefile.in (real_host_noncanonical): New variable.
6518 (libsubdir): Use it.
6519 * configure.ac (real_host_noncanonical): Compute. Remove special
6520 case for intelmicemul.
6521 * configure: Regenerate.
6522
cc86234f
UB
65232015-04-28 Uros Bizjak <ubizjak@gmail.com>
6524
6525 * config/frv/elf-lib.h: New file.
6526 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6527 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6528 to tm_file.
6529
65302015-04-28 Uros Bizjak <ubizjak@gmail.com>
6531
6532 * config/frv/frvbengin.c: Do not include defaults.h
6533 * config/frv/frvend.c: Ditto.
6534
2f6bd6eb
YS
65352015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6536
6537 * config.host: Add h8300-*-linux
6538 * config/h8300/t-linux: New file.
6539 * config/h8300/lib1funs.s: Change symbol prefix.
6540 * config/h8300/sfp-machine.h: 64bit double support.
6541
15aa7b44
GR
65422015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6543 Szabolcs Nagy <szabolcs.nagy@arm.com>
6544
6545 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6546 Linux if target provides dl_iterate_phdr.
6547
abd0cdc9
L
65482015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6549
6550 PR target/65612
6551 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6552 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6553 (__cpu_indicator_init@GCC_4.8.0): New.
6554 (__cpu_model@GCC_4.8.0): Likewise.
6555 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6556 -DUSE_ELF_SYMVER.
6557
72ed1126
NC
65582015-04-16 Nick Clifton <nickc@redhat.com>
6559
6560 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6561 and __modhi3 functions.
6562 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6563 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6564
d26b2237
CG
65652015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6566
6567 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6568 do-while loop as macro body to avoid warnings.
6569
cacf1f59
JJ
65702015-04-10 Jakub Jelinek <jakub@redhat.com>
6571 Iain Sandoe <iain@codesourcery.com>
6572
6573 PR target/65351
6574 * configure: Regenerate.
6575
e8a4ed3b
JJ
65762015-04-07 Jakub Jelinek <jakub@redhat.com>
6577 Iain Sandoe <iain@codesourcery.com>
6578
6579 PR target/65351
6580 * configure: Regenerate.
6581
0341335e
CLT
65822015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6583
6584 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6585
590e2636 65862015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6587
590e2636
MF
6588 Implement call0 ABI for xtensa
6589 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6590 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6591 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6592 use ret in call0 ABI.
6593 * config/xtensa/t-windowed: New file.
6594 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6595 * libgcc/configure: Regenerated.
6596 * libgcc/configure.ac: Check if xtensa target is configured for
6597 windowed ABI and thus needs to use custom unwind code.
6598
7727f8f2
JW
65992015-02-12 Jonathan Wakely <jwakely@redhat.com>
6600
6601 PR libgcc/64885
6602 * gthr-single.h: Use __unused__ attribute instead of unused.
6603 * config/gthr-vxworks.h: Likewise.
6604 * config/i386/gthr-win32.h: Likewise.
6605
0e4a0def
KT
66062015-02-27 Kai Tietz <ktietz@redhat.com>
6607
6608 PR target/65038
6609 * config.in: Regenerated.
6610 * configure: Likewise.
6611 * configure.ac (AC_HEADER_STDC): Added explicit.
6612 (AC_CHECK_HEADERS): Check for default headers plus
6613 for ftw.h header.
6614 * libgcov-util.c (gcov_read_profile_dir): Disable use
6615 of ftw-function, if header is not found.
6616 (ftw_read_file): Likewise.
6617
b6530d0a
TS
66182015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6619
6620 PR target/65181
6621 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6622 -Dinhibit_libc.
6623
53cfb467
SL
66242015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6625
6626 * config/arm/bpabi.S (test_div_by_zero): Make label names
6627 consistent between thumb2 and arm mode cases. Separate the
6628 signed comparison on the high word of the numerator from the
6629 unsigned comparison on the low word.
6630 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6631 signed comparison.
6632
77d10a1b
JM
66332015-02-17 Joseph Myers <joseph@codesourcery.com>
6634
6635 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6636 and <string.h>.
6637 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6638
98174188
RE
66392015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6640
6641 PR gcov-profile/61889
471274de 6642 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6643
771bef14
NC
66442015-02-02 Nick Clifton <nickc@redhat.com>
6645
6646 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6647 rounding up the fraction.
6648
40702893
JDA
66492015-01-31 John David Anglin <danglin@gcc.gnu.org>
6650
6651 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6652 oldval and newval to const void *. Fix typo.
6653 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6654 (FETCH_AND_OP_WORD): Likewise.
6655 (OP_AND_FETCH_WORD): Likewise.
6656 (COMPARE_AND_SWAP_2): Likewise.
6657 (__sync_val_compare_and_swap_4): Likewise.
6658 (__sync_lock_test_and_set_4): Likewise.
6659 (SYNC_LOCK_RELEASE_2): Likewise.
6660 Remove support for long long atomic operations.
6661
f7f049fa
CT
66622015-01-27 Caroline Tice <cmtice@google.com>
6663
6664 Committing VTV Cywin/Ming patch for Patrick Wollgast
6665 * Makefile.in: Move rules to build vtv_*.o out of the check
6666 for CUSTOM_CRTSTUFF.
6667 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6668 i[34567]86-*-mingw*)
3d3b561f 6669 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
6670 enable_vtable_verify.
6671
8410904a
NC
66722015-01-27 Nick Clifton <nickc@redhat.com>
6673
6674 * config/rl78/cmpsi2.S: Use function start and end macros.
6675 (__gcc_bcmp): New function.
6676 * config/rl78/lshrsi3.S: Use function start and end macros.
6677 * config/rl78/mulsi3.S: Add support for G10.
6678 (__mulqi3): New function for G10.
6679 * config/rl78/signbit.S: Use function start and end macros.
6680 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6681 fpmath-sf.S.
6682 (LIB2FUNCS_EXCLUDE): Define.
6683 (LIB2FUNCS_ST): Define.
6684 * config/rl78/trampoline.S: Use function start and end macros.
6685 * config/rl78/vregs.h (START_FUNC): New macro.
6686 (START_ANOTHER_FUNC): New macro.
6687 (END_FUNC): New macro.
6688 (END_ANOTHER_FUNC): New macro.
6689 * config/rl78/bit-count.S: New file. Contains assembler
6690 implementations of the bit counting functions: ___clzhi2,
6691 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6692 __paritysi2, __popcounthi2 and __popcountsi2.
6693 * config/rl78/fpbit-sf.S: New file. Contains assembler
6694 implementationas of the math functions: __negsf2, __cmpsf2,
6695 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6696 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6697 * config/rl78/fpmath-sf.S: New file. Contains assembler
6698 implementations of the math functions: __subsf3, __addsf3,
6699 __mulsf3 and __divsf3
6700
f962fbf1
RO
67012015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6702
6703 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6704 Add i386/elf-lib.h to tm_file.
6705 * config/i386/elf-lib.h: Fix comment.
6706 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6707 && __sun__ && __svr4__]: Remove workaround.
6708
939911c5
ASJ
67092015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6710
6711 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6712 FEATURE_BMI2.
6713 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6714
c8f2dff2
L
67152015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6716
6717 * config/i386/cpuinfo.c (processor_subtypes): Add
6718 INTEL_COREI7_BROADWELL.
6719 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6720 model numbers.
6721
7bbf9734
UB
67222015-01-23 Uros Bizjak <ubizjak@gmail.com>
6723
6724 * config/i386/elf-lib.h: New file.
6725 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6726 Wrap definition in #ifdef __i386__.
6727 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6728 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6729 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6730 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6731 to tm_file.
6732
324820f1
CG
67332015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6734
6735 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6736 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6737
a9ce4e4a
CLT
67382015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6739
6740 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6741 Update rt_sigframe format and address for current Nios II
6742 Linux conventions.
6743
82a19768
AT
67442015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6745
6746 * config.host (arm*-*-freebsd*): Add new configuration for
6747 arm*-*-freebsd*.
6748 * config/arm/freebsd-atomic.c: New file.
6749 * config/arm/t-freebsd: Likewise.
6750 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6751 'PC-relative indirect' OS's.
6752
0969ec7d
EB
67532015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6754
6755 * config.host: Add Visium support.
6756 * config/visium: New directory.
6757
5624e564
JJ
67582015-01-05 Jakub Jelinek <jakub@redhat.com>
6759
6760 Update copyright years.
6761
82f84ecb
MF
67622014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6763
6764 * config.host: Support mipsisa32r6 and mipsisa64r6.
6765 * config/mips/mips16.S: Do not build for R6.
6766
69044fa9
OE
67672014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6768
6769 * config/sh/crt.h: New.
6770 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6771 symbols.
6772 * config/sh/crt1.S: Likewise.
6773
2405e0ea
UB
67742014-12-15 Uros Bizjak <ubizjak@gmail.com>
6775
6776 PR libgcc/63832
6777 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6778 func_ptr *dtor_list temporary variable to avoid "array subscript
6779 is above array bounds" warnings.
6780
7d296953 67812014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
6782
6783 * Makefile.in (with_aix_soname): Define.
6784 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6785 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6786 * configure: Recreate.
6787
a66272f6
OH
67882014-12-05 Olivier Hainque <hainque@adacore.com>
6789
6790 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6791 now provided by defaults.h.
6792
6342b2c5
OE
67932014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6794
7d0ee249 6795 PR target/55351
6342b2c5
OE
6796 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6797 whether it's defined.
6798
c17eac85
IT
67992014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6800
6801 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6802 * config/i386/cpuinfo.c (get_available_features): Detect it.
6803
1025cb6c
TW
68042014-11-27 Tony Wang <tony.wang@arm.com>
6805
6806 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6807 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6808 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6809
d19f2e38
SB
68102014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6811
6812 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6813
17f6e9a3
JDA
68142014-11-24 John David Anglin <danglin@gcc.gnu.org>
6815
6816 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6817 instead.
6818
0cd7c672
GM
68192014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6820 John David Anglin <danglin@gcc.gnu.org>
6821
6822 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6823 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6824 (OP_AND_FETCH_2): Likewise.
6825 (COMPARE_AND_SWAP_2): Likewise.
6826 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6827 (SYNC_LOCK_RELEASE_2): Likewise.
6828 (SUBWORD_SYNC_OP): Remove.
6829 (SUBWORD_VAL_CAS): Likewise.
6830 (SUBWORD_BOOL_CAS): Likewise.
6831 (FETCH_AND_OP_WORD): Update.
6832 Consistently use signed types.
cc86234f 6833
85c64bbe
BS
68342014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6835 Thomas Schwinge <thomas@codesourcery.com>
6836 Ilya Verbin <ilya.verbin@intel.com>
6837 Andrey Turetskiy <andrey.turetskiy@intel.com>
6838
6839 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6840 (crtoffloadend$(objext)): Likewise.
6841 * configure: Regenerate.
6842 * configure.ac (accel_dir_suffix): Compute new variable.
6843 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6844 if enable_offload_targets is not empty.
6845 * offloadstuff.c: New file.
6846
52a1ff8b
NC
68472014-11-13 Nick Clifton <nickc@redhat.com>
6848
6849 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6850 Use START_FUNC and END_FUNC macros to enable linker garbage
6851 collection.
6852 * config/rl78/divmodqi.S: Likewise.
6853 * config/rl78/divmodsi.S: Likewise.
6854 * config/rl78/mulsi3.S: Likewise.
6855 * config/rl78/lib2div.c: Remove G10 functions.
6856 * config/rl78/lib2muls.c: Likewise.
6857 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6858 * config/rl78/vregs.h (START_FUNC): New macro.
6859 (END_FUNC): New macro.
6860
050af144
MF
68612014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6862
6863 * config/mips/mips16.S: Set .module when supported. Update O32
6864 FP64 calling convention and use for FPXX when possible. Add FPXX
6865 calling convention fallback case.
6866
738f2522
BS
68672014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6868
6869 * config.host: Handle nvptx-*-*.
6870 * shared-object.mk (as-flags-$o): Define.
6871 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6872 -xassembler-with-cpp.
6873 * static-object.mk: Identical changes.
6874 * config/nvptx/t-nvptx: New file.
6875 * config/nvptx/crt0.s: New file.
6876 * config/nvptx/free.asm: New file.
6877 * config/nvptx/malloc.asm: New file.
6878 * config/nvptx/realloc.c: New file.
6879
e610393c
JM
68802014-10-30 Joseph Myers <joseph@codesourcery.com>
6881
6882 * Makefile.in (libgcc.map.in): New target.
6883 (libgcc.map): Use libgcc.map.in.
6884 * config/t-softfp (softfp_compat): New variable to be set by
6885 users.
6886 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6887 variables.
6888 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6889 directory.
6890 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6891 that use compat symbols and disable all code unless [SHARED].
6892 * config/t-softfp-compat: New file.
6893 * find-symver.awk: New file.
6894 * configure.ac (--with-glibc-version): New configure option.
6895 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6896 * configure: Regenerate.
6897 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6898 soft-float and e500.
6899
bc1b3a88
JM
69002014-10-29 Joseph Myers <joseph@codesourcery.com>
6901
6902 * config/t-hardfp (hardfp_exclusions): Document new variable for
6903 user to define.
6904 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6905 * config/t-softfp (softfp_extras): Document new variable for user
6906 to define.
6907 (softfp_func_list): Add functions from $(softfp_extras).
6908 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6909 * config.host (powerpc*-*-linux*): For e500v1, use
6910 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6911 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6912 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6913
ef2810c1
JDA
69142014-10-26 John David Anglin <danglin@gcc.gnu.org>
6915
6916 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6917 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6918 memory read accesses are ok.
6919
d80c2bea
JM
69202014-10-25 Joseph Myers <joseph@codesourcery.com>
6921
6922 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6923 * configure: Regenerate.
6924 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6925 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6926 of soft-fp for 32-bit classic hard float. Do not use
6927 t-softfp-excl for soft float.
6928
693b297b
JM
69292014-10-22 Joseph Myers <joseph@codesourcery.com>
6930
6931 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6932 configurations.
6933 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6934 Remove variables.
6935
18a3415e
GJL
69362014-10-22 Georg-Johann Lay <avr@gjlay.de>
6937
6938 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6939 introduced with 2014-10-21 trunk r216525.
6940
c1dd9790 69412014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6942 Vidya Praveen <vidya.praveen@atmel.com>
6943 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6944 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6945 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6946
6947 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6948 order.
6949
6950 Updated library functions for AVRTINY arch.
6951 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6952 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6953 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6954 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6955 wsubi/wadi macors.
6956 (__mulsi3_helper): Update stack, preserve callee saved regs and
6957 argument from stack. Restore callee save registers.
6958 (__mulpsi3): Likewise.
6959 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6960 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6961 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6962 AVRTINY.
6963 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6964 (__do_copy_data): Added new definition for AVRTINY.
6965 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6966 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6967 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6968 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6969 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6970 macors.
18a3415e 6971 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6972 AVRTINY.
6973
18a3415e 6974 Fix broken long multiplication on tiny arch.
c1dd9790 6975
5f606431
JM
69762014-10-09 Joseph Myers <joseph@codesourcery.com>
6977
6978 * soft-fp/double.h: Update from glibc.
6979 * soft-fp/eqdf2.c: Likewise.
6980 * soft-fp/eqsf2.c: Likewise.
6981 * soft-fp/eqtf2.c: Likewise.
6982 * soft-fp/extenddftf2.c: Likewise.
6983 * soft-fp/extended.h: Likewise.
6984 * soft-fp/extendsfdf2.c: Likewise.
6985 * soft-fp/extendsftf2.c: Likewise.
6986 * soft-fp/extendxftf2.c: Likewise.
6987 * soft-fp/gedf2.c: Likewise.
6988 * soft-fp/gesf2.c: Likewise.
6989 * soft-fp/getf2.c: Likewise.
6990 * soft-fp/ledf2.c: Likewise.
6991 * soft-fp/lesf2.c: Likewise.
6992 * soft-fp/letf2.c: Likewise.
6993 * soft-fp/op-1.h: Likewise.
6994 * soft-fp/op-2.h: Likewise.
6995 * soft-fp/op-4.h: Likewise.
6996 * soft-fp/op-8.h: Likewise.
6997 * soft-fp/op-common.h: Likewise.
6998 * soft-fp/quad.h: Likewise.
6999 * soft-fp/single.h: Likewise.
7000 * soft-fp/soft-fp.h: Likewise.
7001 * soft-fp/unorddf2.c: Likewise.
7002 * soft-fp/unordsf2.c: Likewise.
7003 * soft-fp/unordtf2.c: Likewise.
7004 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
7005 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
7006 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
7007 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
7008 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
7009 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
7010 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
7011 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
7012 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
7013 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
7014
9b84e7a8
RX
70152014-10-08 Rong Xu <xur@google.com>
7016
7017 * libgcov-util.c (read_gcda_file): Fix format.
7018 (find_match_gcov_info): Ditto.
7019 (calculate_2_entries): New.
7020 (compute_one_gcov): Ditto.
7021 (gcov_info_count_all_cold): Ditto.
7022 (gcov_info_count_all_zero): Ditto.
7023 (extract_file_basename): Ditto.
7024 (get_file_basename): Ditto.
7025 (set_flag): Ditto.
7026 (matched_gcov_info): Ditto.
7027 (calculate_overlap): Ditto.
7028 (gcov_profile_overlap): Ditto.
7029 * libgcov-driver.c (compute_summary): Make
7030 it avavilable for external calls.
7031
fe1090c1
RX
70322014-10-06 Rong Xu <xur@google.com>
7033
7034 * Makefile.in: Ditto.
7035 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
7036 (gcov_sort_icall_topn_counter): Ditto.
7037 (gcov_sort_topn_counter_arrays): Ditto.
7038 (dump_one_gcov): Sort indirect_call topn counters.
7039 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7040 function.
7041 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7042 utility function.
7043 (__gcov_indirect_call_topn_profiler): New profiler function.
7044 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7045 * libgcov.h: New decls.
7046
3daa7bbf
TS
70472014-10-04 Trevor Saunders <tsaunders@mozilla.com>
7048
7049 * config.host: Remove support for score-*.
7050
9a79452d
JM
70512014-09-22 Joseph Myers <joseph@codesourcery.com>
7052
7053 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7054 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7055 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7056 __LIBGCC_XF_MANT_DIG__.
7057 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7058 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7059 __LIBGCC_TF_MANT_DIG__.
7060 * libgcc2.c (NOTRUNC): Define in terms of
7061 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7062 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7063
1a849e50
JM
70642014-09-22 Joseph Myers <joseph@codesourcery.com>
7065
7066 PR target/63312
7067 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7068 New macros.
7069
598a1586
HPN
70702014-09-22 Hans-Peter Nilsson <hp@axis.com>
7071
7072 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7073 override USE_PT_GNU_EH_FRAME.
7074 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7075 check USE_EH_FRAME_REGISTRY_ALWAYS against
7076 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7077 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7078 variable for substituted force_explicit_eh_registry.
7079 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7080 * configure.ac (explicit-exception-frame-registration):
7081 New AC_ARG_ENABLE.
7082 * configure: Regenerate.
7083
3a8fe7c6
OH
70842014-09-19 Olivier Hainque <hainque@adacore.com>
7085
7086 * config.host (powerpc-wrs-vxworksmils): New configuration,
7087 same as vxworksae.
7088
dd69f047
JM
70892014-09-18 Joseph Myers <joseph@codesourcery.com>
7090
7091 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7092
e770bfd9
JM
70932014-09-18 Joseph Myers <joseph@codesourcery.com>
7094
7095 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7096 bits not set bits as indicating trapping exceptions.
7097
cadb2b96
NS
70982014-09-17 Nathan sidwell <nathan@acm.org>
7099
7100 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7101 (LIBGCOV_DRIVER): ... here.
7102 * libgcov-driver.c (gcov_master): New.
7103 (gcov_exit): Remove from master chain.
7104 (__gcov_init): Add to master chain if version compatible. Don't
7105 clear the version.
7106 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7107 (gcov_reset_int): Clear master chain, if compatible.
7108 (gcov_dump_int): New internal interface. Dump master chain, if
7109 compatible.
7110 (gcov_dump): Alias for gcov_dump_int.
7111 * libgcov.h (struct gcov_root): Add next and prev fields.
7112 (struct gcov_master): New struct.
7113 (__gcov_master): New.
7114 (gcov_dump_int): Declare.
7115
580d22a3
OH
71162014-09-17 Olivier Hainque <hainque@adacore.com>
7117
7118 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7119 and crtbegin.o + crtend.o to extra_parts.
7120
8cc4b7a2
JM
71212014-09-12 Joseph Myers <joseph@codesourcery.com>
7122
7123 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7124 __LIBGCC_HAS_SF_MODE__.
7125 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7126 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7127 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7128 * config/libbid/bid_gcc_intrinsics.h
7129 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7130 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7131 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7132 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7133 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7134 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7135
ea3f2b24
GJL
71362014-09-11 Georg-Johann Lay <avr@gjlay.de>
7137
7138 PR target/63223
7139 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7140 and R24 as needed. Make work for all devices and .text locations.
7141 (__do_global_ctors, __do_global_dtors): Use word addresses.
7142 (__tablejump__, __tablejump_elpm__): Remove functions.
7143 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7144 Add _tablejump2.
7145 (XICALL, XIJMP): New macros.
7146
b677236a
MS
71472014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7148 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7149
7150 * config.host (aarch64*): Include crtfastmath.o and
7151 t-crtfm.
7152 * config/aarch64/crtfastmath.c: New file.
7153
157e859f
TS
71542014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7155
7156 * config.host: Remove picochip support.
7157 * config/picochip/adddi3.S: Remove.
7158 * config/picochip/ashlsi3.S: Remove.
7159 * config/picochip/ashlsi3.c: Remove.
7160 * config/picochip/ashrsi3.S: Remove.
7161 * config/picochip/ashrsi3.c: Remove.
7162 * config/picochip/clzsi2.S: Remove.
7163 * config/picochip/cmpsi2.S: Remove.
7164 * config/picochip/divmod15.S: Remove.
7165 * config/picochip/divmodhi4.S: Remove.
7166 * config/picochip/divmodsi4.S: Remove.
7167 * config/picochip/lib1funcs.S: Remove.
7168 * config/picochip/longjmp.S: Remove.
7169 * config/picochip/lshrsi3.S: Remove.
7170 * config/picochip/lshrsi3.c: Remove.
7171 * config/picochip/parityhi2.S: Remove.
7172 * config/picochip/popcounthi2.S: Remove.
7173 * config/picochip/setjmp.S: Remove.
7174 * config/picochip/subdi3.S: Remove.
7175 * config/picochip/t-picochip: Remove.
7176 * config/picochip/ucmpsi2.S: Remove.
7177 * config/picochip/udivmodhi4.S: Remove.
7178 * config/picochip/udivmodsi4.S: Remove.
7179
66bb34c0
JM
71802014-09-08 Joseph Myers <joseph@codesourcery.com>
7181
7182 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7183 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7184 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7185 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7186 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7187 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7188 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7189 defined and LIBGCC2_HAS_DF_MODE is defined.
7190 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7191 defined and LIBGCC2_HAS_XF_MODE is defined.
7192 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7193 defined and LIBGCC2_HAS_TF_MODE is defined.
7194
9686a2e6
JM
71952014-09-08 Joseph Myers <joseph@codesourcery.com>
7196
7197 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7198 and ROUND_TOWARDS_ZERO conditionals.
7199
71c3e2ef
NS
72002014-09-07 Nathan sidwell <nathan@acm.org>
7201
7202 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7203 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7204
53d68b9f
JM
72052014-09-05 Joseph Myers <joseph@codesourcery.com>
7206
7207 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7208 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7209 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7210 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7211 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7212 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7213 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7214 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7215 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7216 (DWARF_FRAME_REGISTERS): Change all uses to
7217 __LIBGCC_DWARF_FRAME_REGISTERS__.
7218 (EH_RETURN_STACKADJ_RTX): Change all uses to
7219 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7220 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7221 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7222 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7223 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7224 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7225 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7226 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7227 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7228 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7229 __LIBGCC_STACK_POINTER_REGNUM__.
7230 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7231 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7232 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7233 to __LIBGCC_STACK_POINTER_REGNUM__.
7234 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7235 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7236 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7237 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7238 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7239 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7240 (STACK_POINTER_REGNUM): Change all uses to
7241 __LIBGCC_STACK_POINTER_REGNUM__.
7242 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7243 use to __LIBGCC_STACK_POINTER_REGNUM__.
7244 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7245 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7246 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7247 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7248 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7249 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7250 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7251 to __LIBGCC_STACK_POINTER_REGNUM__.
7252 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7253 Remove conditional definition.
7254 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7255 __LIBGCC_TEXT_SECTION_ASM_OP__.
7256 (EH_FRAME_SECTION_NAME): Change all uses to
7257 __LIBGCC_EH_FRAME_SECTION_NAME__.
7258 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7259 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7260 (CTORS_SECTION_ASM_OP): Change all uses to
7261 __LIBGCC_CTORS_SECTION_ASM_OP__.
7262 (DTORS_SECTION_ASM_OP): Change all uses to
7263 __LIBGCC_DTORS_SECTION_ASM_OP__.
7264 (JCR_SECTION_NAME): Change all uses to
7265 __LIBGCC_JCR_SECTION_NAME__.
7266 (INIT_SECTION_ASM_OP): Change all uses to
7267 __LIBGCC_INIT_SECTION_ASM_OP__.
7268 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7269 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7270 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7271 __LIBGCC_STACK_GROWS_DOWNWARD__.
7272 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7273 __LIBGCC_INIT_SECTION_ASM_OP__.
7274 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7275 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7276 (EH_FRAME_SECTION_NAME): Change all uses to
7277 __LIBGCC_EH_FRAME_SECTION_NAME__.
7278 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7279 definitions. Change all uses to
7280 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7281 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7282 __LIBGCC_STACK_GROWS_DOWNWARD__.
7283 (DWARF_FRAME_REGISTERS): Change all uses to
7284 __LIBGCC_DWARF_FRAME_REGISTERS__.
7285 (EH_RETURN_STACKADJ_RTX): Change all uses to
7286 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7287 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7288 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7289 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7290 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7291 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7292
b20ee094
NS
72932014-09-02 Nathan sidwell <nathan@acm.org>
7294
7295 * libgcov-interface.c (STRONG_ALIAS): New.
7296 (__gcov_flush): Call __gcov_reset_int.
7297 (__gcov_reset): Strong alias for ...
7298 (__gcov_reset_ing): ... this renamed hidden version.
7299 * libgcov.h (__gcov_reset_int): New declaration.
7300
1ac83976
YS
73012014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7302
25efdb9f
YS
7303 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7304 call from here...
7305 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7306 (__dso_handle): Define on Cygwin.
7307 * config/i386/t-cygming (crtbeginS.o): New rule.
7308 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7309
1ac83976
YS
7310 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7311 declaration syntax.
7312
c6f9ea3b
SE
73132014-08-13 Steve Ellcey <sellcey@mips.com>
7314
7315 * crtstuff.c: Undef caddr_t.
7316
5b1ea7c5
SE
73172014-08-12 Steve Ellcey <sellcey@mips.com>
7318
7319 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7320
4303c581
NS
73212014-08-07 Nathan Sidwell <nathan@acm.org>
7322
7323 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7324 (LIBGCOV_DRIVER): ... to here.
7325 * libgcov.h (gcov_do_dump): New #define.
7326 (struct gcov_root): New.
7327 (__gcov_root): New declaration.
7328 (__gcov_dump_one): Declare.
7329 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7330 run_accounted): Delete.
7331 (gcov_compute_histogram): Add LIST argument, adjust.
7332 (compute_summary): Adjust gcov_compute_histogram call.
7333 (gcov_do_dump): Not hidden, static in libgcov.
7334 (gcov_clear): Move to interface.c.
7335 (__gcov_dump_one): New, broken out of ...
7336 (gcov_exit): ... here. Make static.
7337 (__gcov_root): New.
7338 (__gcov_init): Adjust.
7339 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7340 declarations.
7341 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7342 (gcov_clear): Moved from driver.c. Add LIST argument.
7343 (__gcov_reset): Adjust for changed interfaces.
7344 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7345
23742a9e
RAR
73462014-08-04 Rohit <rohitarulraj@freescale.com>
7347
7348 PR target/60102
7349 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 7350 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 7351
b98a872b
NS
73522014-08-01 Nathan Sidwell <nathan@acm.org>
7353
7354 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7355 LIBGCOV_INTERFACE): Reformat.
7356 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7357 IN_GCOV_TOOL.
7358 * libgcov-interface.c: Reformat some comments.
7359 (__gcov_flush_mx): Add declaration. Tidy up definition.
7360
6adaaa1d
AM
73612014-07-31 Alan Modra <amodra@gmail.com>
7362 Peter Bergner <bergner@vnet.ibm.com>
7363
7364 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7365 (pack_ldouble): New function.
7366 (__gcc_qadd): Use it.
7367 (__gcc_qmul): Likewise.
7368 (__gcc_qdiv): Likewise.
7369 (__gcc_qneg): Likewise.
7370 (__gcc_stoq): Likewise.
7371 (__gcc_dtoq): Likewise.
7372
87cb0c0c
UW
73732014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7374
7375 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7376 (__tpf_eh_return): Add original return address as second parameter.
7377 Handle cases where unwinder routines were called directly, instead
7378 of from within the C++ library.
7379
19926161
NS
73802014-07-29 Nathan Sidwell <nathan@acm.org>
7381
7382 * libgcov.h: Move renaming of entry points to lib gcov specific
7383 portion.
7384 (gcov_do_dump): New rename.
7385 (gcov_rewrite): Remove inline, make HIDDEN.
7386 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7387 (gcov_exit_compute_summary): Rename to ...
7388 (compute_summary): ... here. Add LIST argument.
7389 (gcov_exit_merge_gcda): Rename to ...
7390 (merge_one_data): ... here.
7391 (gcov_exit_write_gcda): Rename to ...
7392 (write_one_data): ... here.
7393 (gcov_exit_merge_summary): Rename to ...
7394 (merge_summary): Add RUN_COUNTED argument.
7395 (gcov_exit_dump_gcov): Rename to ...
7396 (dump_one_gcov): Add RUN_COUNTED argument.
7397 (gcov_do_dump): New function, broken out of ...
7398 (gcov_exit): ... here. Call it.
7399
17522262
AG
74002014-07-27 Anthony Green <green@moxielogic.com>
7401
7402 * config.host: Add moxiebox configuration suppport.
7403
6dc33097
NS
74042014-07-27 Nathan Sidwell <nathan@acm.org>
7405
7406 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7407 (struct gcov_filename): ... here. Include buffer and max length
7408 fields.
7409 (gcov_max_filename): Remove.
7410 (gi_filename): Remove.
7411 (gcov_exit_compute_summary): Compute max filename here.
7412 (gcov_exit_merge_gcda): Add filename parm, adjust.
7413 (gcov_exit_merge_summary): Likewise.
7414 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7415 (gcov_exit): Likewise.
7416 (__gcov_init): Don't calculate max length here.
7417 * libgcov_util.c (max_filename_len): Remove.
7418 (read_gcda_file): Don't calculate max length here.
7419 (gcov_read_profile_dir): Don't propagate here.
7420 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7421 struct gcov_filename changes.
7422 (gcov_exit_open_gcda_file): Likewise.
7423
770f687d
NS
74242014-07-25 Nathan Sidwell <nathan@acm.org>
7425
7426 * libgcov-driver.c (set_gcov_dump_complete,
7427 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7428 functions polluting user's namespace.
7429 (gcov_exit): Set variable directly.
7430 (gcov_clear): Reset variable directly.
7431 * libgcov-interface.c (get_gcov_dymp_complete,
7432 reset_gov_dump_complete): Remove declarations.
7433 (__gcov_reset, __gcov_dump): Don't call them.
7434
fabf71ba
DD
74352014-07-24 DJ Delorie <dj@redhat.com>
7436
7437 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7438 (__gcc_deregister_frame): Move logic to detect deregister function
7439 to ...
7440 (__gcc_register_frame): here, so it's consistent with the register
7441 logic.
fabf71ba 7442
d10ee722
NS
74432014-07-23 Nathan Sidwell <nathan@acm.org>
7444
7445 * libgcov-driver.c (set_gcov_list): Remove.
7446 (gcov_list): Make non-static in GCOV_TOOL.
7447 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7448
a4137090
JDA
74492014-07-17 John David Anglin <danglin@gcc.gnu.org>
7450
7451 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7452 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7453 Don't use SYNC_LOCK_RELEASE for int type.
7454
72602c6c
RB
74552014-07-14 Richard Biener <rguenther@suse.de>
7456
7457 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7458
d5313205
RX
74592014-07-11 Rong Xu <xur@google.com>
7460
7461 * libgcov-util.c (gcov_max_filename): Fix declartion.
7462
c77556a5
RX
74632014-07-10 Rong Xu <xur@google.com>
7464
7465 Add gcov-tool: an offline gcda profile processing tool
7466 Support.
7467 * libgcov-driver.c (gcov_max_filename): Make available
7468 to gcov-tool.
7469 * libgcov-merge.c (__gcov_merge_add): Replace
7470 gcov_read_counter() with a Macro.
7471 (__gcov_merge_ior): Ditto.
7472 (__gcov_merge_time_profile): Ditto.
7473 (__gcov_merge_single): Ditto.
7474 (__gcov_merge_delta): Ditto.
7475 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7476 in the utility functions.
7477 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7478 gcov_list object link lists.
7479 (tag_function): Ditto.
7480 (tag_blocks): Ditto.
7481 (tag_arcs): Ditto.
7482 (tag_lines): Ditto.
7483 (tag_counters): Ditto.
7484 (tag_summary): Ditto.
7485 (read_gcda_finalize): Ditto.
7486 (read_gcda_file): Ditto.
7487 (ftw_read_file): Ditto.
7488 (read_profile_dir_init): Ditto.
7489 (gcov_read_profile_dir): Ditto.
7490 (gcov_read_counter_mem): Ditto.
7491 (gcov_get_merge_weight): Ditto.
7492 (merge_wrapper): A wrapper function that calls merging handler.
7493 (gcov_merge): Merge two gcov_info objects with weights.
7494 (find_match_gcov_info): Find the matched gcov_info in the list.
7495 (gcov_profile_merge): Merge two gcov_info object lists.
7496 (__gcov_add_counter_op): Process edge profile counter values.
7497 (__gcov_ior_counter_op): Process IOR profile counter values.
7498 (__gcov_delta_counter_op): Process delta profile counter values.
7499 (__gcov_single_counter_op): Process single profile counter values.
7500 (fp_scale): Callback function for float-point scaling.
cc86234f 7501 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7502 (gcov_profile_scale): Scaling profile counters.
7503 (gcov_profile_normalize): Normalize profile counters.
7504 * libgcov.h: Add headers and functions for gcov-tool use.
7505 (gcov_get_counter): New.
7506 (gcov_get_counter_target): Ditto.
7507 (struct gcov_info): Make the functions field mutable in gcov-tool
7508 compilation.
7509
5c7dac8a
KT
75102014-06-23 Kai Tietz <ktietz@redhat.com>
7511
7512 PR libgcc/61585
7513 * unwind-seh.c (_Unwind_GetGR): Check for proper
7514 index range.
7515 (_Unwind_SetGR): Likewise.
7516
161c9312
NC
75172014-05-22 Nick Clifton <nickc@redhat.com>
7518
7519 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7520 -mhwmult=none.
7521
e3f0315f
TJ
75222014-05-22 Teresa Johnson <tejohnson@google.com>
7523
7524 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7525 include.
7526
dbed5a9b
JM
75272014-05-20 John Marino <gnugcc@marino.st>
7528
7529 * config.host (*-*-dragonfly*): New target.
7530 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7531 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7532 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7533 * config/i386/dragonfly-unwind.h: New.
7534
1ec380e5
MR
75352014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7536
7537 PR libgcc/60166
7538 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7539 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7540
54fde020
BE
75412014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7542
7543 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7544 implementation.
7545
999db125
GJL
75462014-05-12 Georg-Johann Lay <avr@gjlay.de>
7547
7548 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7549
cceaf54a
RO
75502014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7551
7552 PR libgcc/61097
7553 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7554 if --enable-shared.
7555
e3fe9b5b
BE
75562014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7557
7558 Work around for current cygwin32 build problems.
7559 * config/i386/cygming-crtbegin.c (__register_frame_info,
7560 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7561 functions only for 64-bit systems.
7562
54cf37e9
RO
75632014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7564
7565 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7566 (sigill_caught, sigill_hdlr): Remove.
7567
d9f069ab
RO
75682014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7569
7570 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7571 check.
7572 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7573 Solaris 9 single-threaded support.
7574 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7575 Solaris 9 single-threaded support. Add call_user_handler code
7576 sequences.
7577 (sparc_is_sighandler): Likewise.
7578
59976ef8
AK
75792014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7580
7581 * config.host: Append t-floattodi to tmake_file depending on
7582 host_address.
7583
d02bbcf3
JS
75842014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7585
31466bc0 7586 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7587
c2e7e597
UB
75882014-03-10 Uros Bizjak <ubizjak@gmail.com>
7589
7590 PR libgcc/60472
7591 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7592 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7593 Use __builtin_expect when checking *jcr_list for NULL.
7594
227a7dc8
RO
75952014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7596
7597 PR libgcc/59339
7598 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7599 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7600 vtv_*.o to extra_parts if enable_vtable_verify.
7601
df2b279c
NC
76022014-03-06 Nick Clifton <nickc@redhat.com>
7603
7604 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7605 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7606
dc11d79b
JY
76072014-02-28 Joey Ye <joey.ye@arm.com>
7608
7609 PR libgcc/60166
7610 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7611 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7612 Set to zero.
7613
341c653c
WL
76142014-02-24 Walter Lee <walt@tilera.com>
7615
7616 * config.host: Support "tilegx*" and "tilepro*" triplets.
7617 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7618 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7619
95ce7613
CLT
76202014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7621 Chung-Lin Tang <cltang@codesourcery.com>
7622
7623 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7624 * config/nios2/crti.S: Remove .file directive.
7625 * config/nios2/crtn.S: Likewise.
7626
0bb4fc05
KT
76272014-02-18 Kai Tietz <ktietz@redhat.com>
7628 Jonathan Schleifer <js@webkeks.org>
7629
7630 PR objc/56870
7631 * unwind-seh.c (_GCC_specific_handler): Pass proper
7632 value to unwind-handler.
7633
9acf28f1
JM
76342014-02-12 Joseph Myers <joseph@codesourcery.com>
7635
7636 * soft-fp/adddf3.c: Update from glibc.
7637 * soft-fp/addsf3.c: Likewise.
7638 * soft-fp/addtf3.c: Likewise.
7639 * soft-fp/divdf3.c: Likewise.
7640 * soft-fp/divsf3.c: Likewise.
7641 * soft-fp/divtf3.c: Likewise.
7642 * soft-fp/double.h: Likewise.
7643 * soft-fp/eqdf2.c: Likewise.
7644 * soft-fp/eqsf2.c: Likewise.
7645 * soft-fp/eqtf2.c: Likewise.
7646 * soft-fp/extenddftf2.c: Likewise.
7647 * soft-fp/extended.h: Likewise.
7648 * soft-fp/extendsfdf2.c: Likewise.
7649 * soft-fp/extendsftf2.c: Likewise.
7650 * soft-fp/extendxftf2.c: Likewise.
7651 * soft-fp/fixdfdi.c: Likewise.
7652 * soft-fp/fixdfsi.c: Likewise.
7653 * soft-fp/fixdfti.c: Likewise.
7654 * soft-fp/fixsfdi.c: Likewise.
7655 * soft-fp/fixsfsi.c: Likewise.
7656 * soft-fp/fixsfti.c: Likewise.
7657 * soft-fp/fixtfdi.c: Likewise.
7658 * soft-fp/fixtfsi.c: Likewise.
7659 * soft-fp/fixtfti.c: Likewise.
7660 * soft-fp/fixunsdfdi.c: Likewise.
7661 * soft-fp/fixunsdfsi.c: Likewise.
7662 * soft-fp/fixunsdfti.c: Likewise.
7663 * soft-fp/fixunssfdi.c: Likewise.
7664 * soft-fp/fixunssfsi.c: Likewise.
7665 * soft-fp/fixunssfti.c: Likewise.
7666 * soft-fp/fixunstfdi.c: Likewise.
7667 * soft-fp/fixunstfsi.c: Likewise.
7668 * soft-fp/fixunstfti.c: Likewise.
7669 * soft-fp/floatdidf.c: Likewise.
7670 * soft-fp/floatdisf.c: Likewise.
7671 * soft-fp/floatditf.c: Likewise.
7672 * soft-fp/floatsidf.c: Likewise.
7673 * soft-fp/floatsisf.c: Likewise.
7674 * soft-fp/floatsitf.c: Likewise.
7675 * soft-fp/floattidf.c: Likewise.
7676 * soft-fp/floattisf.c: Likewise.
7677 * soft-fp/floattitf.c: Likewise.
7678 * soft-fp/floatundidf.c: Likewise.
7679 * soft-fp/floatundisf.c: Likewise.
7680 * soft-fp/floatunditf.c: Likewise.
7681 * soft-fp/floatunsidf.c: Likewise.
7682 * soft-fp/floatunsisf.c: Likewise.
7683 * soft-fp/floatunsitf.c: Likewise.
7684 * soft-fp/floatuntidf.c: Likewise.
7685 * soft-fp/floatuntisf.c: Likewise.
7686 * soft-fp/floatuntitf.c: Likewise.
7687 * soft-fp/gedf2.c: Likewise.
7688 * soft-fp/gesf2.c: Likewise.
7689 * soft-fp/getf2.c: Likewise.
7690 * soft-fp/ledf2.c: Likewise.
7691 * soft-fp/lesf2.c: Likewise.
7692 * soft-fp/letf2.c: Likewise.
7693 * soft-fp/muldf3.c: Likewise.
7694 * soft-fp/mulsf3.c: Likewise.
7695 * soft-fp/multf3.c: Likewise.
7696 * soft-fp/negdf2.c: Likewise.
7697 * soft-fp/negsf2.c: Likewise.
7698 * soft-fp/negtf2.c: Likewise.
7699 * soft-fp/op-1.h: Likewise.
7700 * soft-fp/op-2.h: Likewise.
7701 * soft-fp/op-4.h: Likewise.
7702 * soft-fp/op-8.h: Likewise.
7703 * soft-fp/op-common.h: Likewise.
7704 * soft-fp/quad.h: Likewise.
7705 * soft-fp/single.h: Likewise.
7706 * soft-fp/soft-fp.h: Likewise.
7707 * soft-fp/subdf3.c: Likewise.
7708 * soft-fp/subsf3.c: Likewise.
7709 * soft-fp/subtf3.c: Likewise.
7710 * soft-fp/truncdfsf2.c: Likewise.
7711 * soft-fp/trunctfdf2.c: Likewise.
7712 * soft-fp/trunctfsf2.c: Likewise.
7713 * soft-fp/trunctfxf2.c: Likewise.
7714 * soft-fp/unorddf2.c: Likewise.
7715 * soft-fp/unordsf2.c: Likewise.
7716 * soft-fp/unordtf2.c: Likewise.
7717 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7718 macro.
7719 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7720 Likewise.
7721 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7722 Likewise.
7723 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7724 Likewise.
7725 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7726 Likewise.
7727 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7728 Likewise.
7729 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7730 Likewise.
7731 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7732 Likewise.
7733 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7734 Likewise.
7735 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7736 Likewise.
7737 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7738 Likewise.
7739 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7740 Likewise.
7741 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7742 Likewise.
7743 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7744 Likewise.
7745 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7746 Likewise.
7747 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7748 Likewise.
7749
ce245ec6
AK
77502014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7751
7752 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7753 cannot be represented.
7754 * config/s390/32/_fixsfdi.c: Likewise.
7755 * config/s390/32/_fixtfdi.c: Likewise.
7756 * config/s390/32/_fixunsdfdi.c: Likewise.
7757 * config/s390/32/_fixunssfdi.c: Likewise.
7758 * config/s390/32/_fixunstfdi.c: Likewise.
7759
1c51d688
RS
77602014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7761
7762 * configure.ac (libgcc_cv_mips_hard_float): New.
7763 * configure: Regenerate.
7764 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7765 t-softfp-sfdf for hard-float targets.
7766 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7767 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7768 (softfp_truncations, softfp_exclude_libgcc2): New.
7769 * config/t-hardfp: New file.
7770 * config/t-hardfp-sfdf: Likewise.
7771 * config/hardfp.c: Likewise.
7772
bbf391db
AK
77732014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7774
7775 * config.host: Include t-floattodi also for s390x.
7776 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7777 * config/s390/32/_fixsfdi.c: Likewise.
7778 * config/s390/32/_fixtfdi.c: Likewise.
7779 * config/s390/32/_fixunsdfdi.c: Likewise.
7780 * config/s390/32/_fixunssfdi.c: Likewise.
7781 * config/s390/32/_fixunstfdi.c: Likewise.
7782
91da0481
RO
77832014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7784
7785 PR target/59788
7786 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7787 (install-libgcc-unwind-map-forbuild): New target.
7788 (all): Depend on install-libgcc-unwind-map-forbuild.
7789 (install-libgcc-unwind-map): New target.
7790 (install): Depend on install-libgcc-unwind-map.
7791
02b67731
SL
77922014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7793
7794 * config/nios2/crti.S (_init): Initialize GOT pointer from
7795 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7796
1ea0a651
RS
77972014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7798
7799 * configure.ac: Check __mips64 when setting host_address.
7800 * configure: Regenerate.
7801 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7802 mips/t-mips64 and t-softfp.
7803 (mips*-*-linux*): Don't add mips/t-tpbit.
7804 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7805 (DPBIT, DPBIT_CFLAGS): Delete.
7806 * config/mips/sfp-machine.h: New file.
7807 * config/mips/t-mips64: Likewise.
7808 * config/mips/t-softfp-tf: Likewise.
7809 * config/mips/t-tpbit: Delete.
7810
f32b0061
MS
78112014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7812
7813 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7814 as long long.
7815
a5420aa4
WL
78162014-01-25 Walter Lee <walt@tilera.com>
7817
7818 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7819 config.h or system.h.
7820 (bool) Define.
7821
24534912
WL
78222014-01-25 Walter Lee <walt@tilera.com>
7823
7824 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7825 (post_atomic_barrier): Ditto.
7826 (__fetch_and_do): New macro.
7827 (__atomic_fetch_and_do): Use __fetch_and_do.
7828 (__sync_fetch_and_do): New macro.
7829 (__sync_fetch_and_add_4): New function.
7830 (__sync_fetch_and_sub_4): New function.
7831 (__sync_fetch_and_or_4): New function.
7832 (__sync_fetch_and_and_4): New function.
7833 (__sync_fetch_and_xor_4): New function.
7834 (__sync_fetch_and_nand_4): New function.
7835 (__sync_fetch_and_add_8): New function.
7836 (__sync_fetch_and_sub_8): New function.
7837 (__sync_fetch_and_or_8): New function.
7838 (__sync_fetch_and_and_8): New function.
7839 (__sync_fetch_and_xor_8): New function.
7840 (__sync_fetch_and_nand_8): New function.
7841 (__do_and_fetch): New macro.
7842 (__atomic_do_and_fetch): Use __do_and_fetch.
7843 (__sync_do_and_fetch): New macro.
7844 (__sync_add_and_fetch_4): New function.
7845 (__sync_sub_and_fetch_4): New function.
7846 (__sync_or_and_fetch_4): New function.
7847 (__sync_and_and_fetch_4): New function.
7848 (__sync_xor_and_fetch_4): New function.
7849 (__sync_nand_and_fetch_4): New function.
7850 (__sync_add_and_fetch_8): New function.
7851 (__sync_sub_and_fetch_8): New function.
7852 (__sync_or_and_fetch_8): New function.
7853 (__sync_and_and_fetch_8): New function.
7854 (__sync_xor_and_fetch_8): New function.
7855 (__sync_nand_and_fetch_8): New function.
7856 (__sync_exchange_methods): New macro.
7857 (__sync_val_compare_and_swap_4): New function.
7858 (__sync_bool_compare_and_swap_4): New function.
7859 (__sync_lock_test_and_test_4): New function.
7860 (__sync_val_compare_and_swap_8): New function.
7861 (__sync_bool_compare_and_swap_8): New function.
7862 (__sync_lock_test_and_test_8): New function.
7863 (__subword_cmpxchg_body): New macro.
7864 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7865 (__atomic_compare_exchange_2): Ditto.
7866 (__sync_subword_cmpxchg): New macro.
7867 (__sync_val_compare_and_swap_1): New function.
7868 (__sync_bool_compare_and_swap_1): New function.
7869 (__sync_val_compare_and_swap_2): New function.
7870 (__sync_bool_compare_and_swap_2): New function.
7871 (__atomic_subword): Rename to ...
7872 (__subword): ... New name.
7873 (__atomic_subword_fetch): Use __subword.
7874 (__sync_subword_fetch): New macro.
7875 (__sync_fetch_and_add_1): New function.
7876 (__sync_fetch_and_sub_1): New function.
7877 (__sync_fetch_and_or_1): New function.
7878 (__sync_fetch_and_and_1): New function.
7879 (__sync_fetch_and_xor_1): New function.
7880 (__sync_fetch_and_nand_1): New function.
7881 (__sync_fetch_and_add_2): New function.
7882 (__sync_fetch_and_sub_2): New function.
7883 (__sync_fetch_and_or_2): New function.
7884 (__sync_fetch_and_and_2): New function.
7885 (__sync_fetch_and_xor_2): New function.
7886 (__sync_fetch_and_nand_2): New function.
7887 (__sync_add_and_fetch_1): New function.
7888 (__sync_sub_and_fetch_1): New function.
7889 (__sync_or_and_fetch_1): New function.
7890 (__sync_and_and_fetch_1): New function.
7891 (__sync_xor_and_fetch_1): New function.
7892 (__sync_nand_and_fetch_1): New function.
7893 (__sync_add_and_fetch_2): New function.
7894 (__sync_sub_and_fetch_2): New function.
7895 (__sync_or_and_fetch_2): New function.
7896 (__sync_and_and_fetch_2): New function.
7897 (__sync_xor_and_fetch_2): New function.
7898 (__sync_nand_and_fetch_2): New function.
7899 (__atomic_subword_lock): Use __subword.
7900 (__sync_subword_lock): New macro.
7901 (__sync_lock_test_and_set_1): New function.
7902 (__sync_lock_test_and_set_2): New function.
7903
4d6d3bc5
WL
79042014-01-25 Walter Lee <walt@tilera.com>
7905
7906 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7907 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7908 (__atomic_subword): Ditto.
7909
cbd9890e
WL
79102014-01-25 Walter Lee <walt@tilera.com>
7911
7912 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7913 a prefix op argument.
7914 (__atomic_nand_fetch_4): Add prefix op.
7915 (__atomic_nand_fetch_8): Ditto.
7916
7d296953 79172014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7918
7919 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7920
46dd1242
L
79212014-01-09 Rong Xu <xur@google.com>
7922
7923 * libgcov-driver.c (this_prg): make it local to save
7924 bss space.
7925 (gcov_exit_compute_summary): Ditto.
7926 (gcov_exit_merge_gcda): Ditto.
7927 (gcov_exit_merge_summary): Ditto.
7928 (gcov_exit_dump_gcov): Ditto.
7929
cc86234f 79302014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7931
7932 * libgcov-driver.c: Use libgcov.h.
7933 (buffer_fn_data): Use xmalloc instead of malloc.
7934 (gcov_exit_merge_gcda): Ditto.
7935 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7936 * libgcov.h: New common header files for libgcov-*.h.
7937 * libgcov-interface.c: Use libgcov.h
7938 * libgcov-merge.c: Ditto.
7939 * libgcov-profiler.c: Ditto.
7940 * Makefile.in: Add dependence to libgcov.h
7941
a02e7bdd
JM
79422014-01-02 Joseph Myers <joseph@codesourcery.com>
7943
7944 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7945 case of small numerator and finite nonzero result.
7946
ac1dca3c
RS
79472014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7948
7949 Update copyright years
7950
f9030485
RS
79512014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7952
7953 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7954 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7955 config/arc/dp-hack.h, config/arc/fp-hack.h,
7956 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7957 config/arc/ieee-754/arc600-dsp/divdf3.S,
7958 config/arc/ieee-754/arc600-dsp/divsf3.S,
7959 config/arc/ieee-754/arc600-dsp/muldf3.S,
7960 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7961 config/arc/ieee-754/arc600-mul64/divdf3.S,
7962 config/arc/ieee-754/arc600-mul64/divsf3.S,
7963 config/arc/ieee-754/arc600-mul64/muldf3.S,
7964 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7965 config/arc/ieee-754/arc600/divsf3.S,
7966 config/arc/ieee-754/arc600/mulsf3.S,
7967 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7968 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7969 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7970 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7971 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7972 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7973 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7974 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7975 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7976 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7977 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7978 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7979 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7980 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7981 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7982 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7983 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7984 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7985 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7986 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7987 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7988 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7989 vtv_start_preinit.c: Use the standard form for the copyright notice.
7990
e430824f
CLT
79912013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7992 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 7993 Based on patches from Altera Corporation
e430824f
CLT
7994
7995 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7996 * config/nios2/lib2-nios2.h: New file.
7997 * config/nios2/lib2-divmod-hi.c: New file.
7998 * config/nios2/linux-unwind.h: New file.
7999 * config/nios2/lib2-divmod.c: New file.
8000 * config/nios2/linux-atomic.c: New file.
8001 * config/nios2/t-nios2: New file.
8002 * config/nios2/crti.asm: New file.
8003 * config/nios2/t-linux: New file.
8004 * config/nios2/lib2-divtable.c: New file.
8005 * config/nios2/lib2-mul.c: New file.
8006 * config/nios2/tramp.c: New file.
8007 * config/nios2/crtn.asm: New file.
8008
1879e97f
UB
80092013-12-26 Uros Bizjak <ubizjak@gmail.com>
8010
8011 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
8012 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
8013 from cpuid.h to check vendor signatures.
8014
f4a4bdbb
GG
80152013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
8016
c2e7e597 8017 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
8018 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
8019 (get_amd_cpu): Likewise.
8020
8d2ae544
L
80212013-12-25 H.J. Lu <hongjiu.lu@intel.com>
8022
8023 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
8024 Haswell.
8025
74924838
ASJ
80262013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
8027 H.J. Lu <hongjiu.lu@intel.com>
8028
0bb52f25
L
8029 PR target/59422
8030 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
8031 and AMD_JAGUAR.
8032 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
8033 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
8034 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
8035 FEATURE_XOP and FEATURE_FMA.
8036 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
8037 AMDFAM15H_BDVER3.
8038 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 8039 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
8040 FEATURE_FMA4 and FEATURE_XOP.
8041
d3c11974
L
80422013-12-23 H.J. Lu <hongjiu.lu@intel.com>
8043
8044 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8045 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8046 (get_intel_cpu): Updated.
8047
064c4ff2
ZC
80482013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
8049
8050 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8051
8b02e720
UB
80522013-12-09 Uros Bizjak <ubizjak@gmail.com>
8053
8054 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 8055 instructions when __SSE_MATH__ is defined.
8b02e720 8056
3fa2ccb4
RC
80572013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
8058
8059 * config.host (microblaze-*-rtems*): New.
8060
ecd78fc9
KV
80612013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
8062
8063 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8064 architectures that do not have hardware divide instruction.
8065 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8066
b21fbbd2
RS
80672013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8068
8069 * longlong.h: Delete (moved to include/).
8070
b03fb8c9
AZ
80712013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8072
8073 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8074 of normal number and qNaN to not raise an inexact exception.
8075
3c716922
UB
80762013-11-28 Uros Bizjak <ubizjak@gmail.com>
8077
8078 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8079
80802013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
8081
8082 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8083 for correct opcodes on BE.
8084
a3458d22
UB
80852013-11-27 Uros Bizjak <ubizjak@gmail.com>
8086
8087 * soft-fp/op-4.h: Update from glibc.
8088
30b8f78b
KV
80892013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8090
8091 * libgcc2.c (__udivmoddi4): Define new implementation when
8092 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8093 divide instructions.
8094
82552a29
OE
80952013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8096
8097 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8098
80e87457
RO
80992013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8100
8101 * config/t-softfp (soft-fp-objects-base): New variable.
8102 (soft-fp-objects): Use it.
8103
44178879
DE
81042013-11-23 David Edelson <dje.gcc@gmail.com>
8105 Andrew Dixie <andrewd@gentrack.com>
8106
8107 PR target/33704
8108 * config/rs6000/aixinitfini.c: New file.
8109 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8110 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8111 symbols.
8112
e5287671
YR
81132013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8114
a3458d22 8115 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 8116
867c8b03
JH
81172013-11-18 Jan Hubicka <jh@suse.cz>
8118
7f369373
JH
8119 * libgcov-driver.c (run_accounted): Make global level static.
8120 (gcov_exit_merge_summary): Silence warning; do not clear
8121 run_accounted here.
8122 (gcov_exit): Clear it here.
8123
1d0b3334
JH
8124 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8125 run_accounted.
8126
867c8b03
JH
8127 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8128 (all_prg, crc32): Remove static vars.
8129 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8130 all_prg.
8131 (gcov_exit_merge_gcda): Add crc32 parameter.
8132 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8133 do not account run if it was already accounted.
8134 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8135 (gcov_exit): Initialize all_prg; update.
8136
66204992
AS
81372013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8138
8139 * configure: Regenerate.
8140
b54214fe
UW
81412013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8142 Alan Modra <amodra@gmail.com>
8143
8144 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8145 (frob_update_context): Use it.
8146
81472013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8148 Alan Modra <amodra@gmail.com>
8149
8150 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8151 (trampoline_initial): Provide ELFv2 variant.
8152 (__trampoline_setup): Likewise.
8153
8154 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8155 check for AIX indirect function call sequence if _CALL_ELF == 2.
8156
81572013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8158 Alan Modra <amodra@gmail.com>
8159
8160 * config/rs6000/linux-unwind.h (get_regs): Do not support
8161 old kernel versions if _CALL_ELF == 2.
8162 (frob_update_context): Do not support PLT stub variants only
8163 generated by old linkers if _CALL_ELF == 2.
8164
13e0981a
UW
81652013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8166 Alan Modra <amodra@gmail.com>
8167
8168 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8169 location of CR save area for 64-bit little-endian systems.
8170
1a80085d
EB
81712013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8172
8173 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8174 in tmake_file.
8175 * config/arm/t-vxworks: Delete.
8176
cabeea52
KT
81772013-11-10 Kai Tietz <ktietz@redhat.com>
8178
8179 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8180 Increment load-count on use of LIBGCC_SONAME DLL.
8181 (hmod_libgcc): New static variable to hold handle of
8182 LIBGCC_SONAME DLL.
8183 (__gcc_deregister_frame): Decrement load-count of
8184 LIBGCC_SONAME DLL.
8185
ac088ba1
BRF
81862013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8187
8188 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8189 availability.
8190 * configure: Regenerate
8191
d59a8fcc
UB
81922013-11-07 Uros Bizjak <ubizjak@gmail.com>
8193
8194 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8195 FP_EX_DENORM. Store result to volatile location after SSE division
8196 to close interrupt window. Remove unneeded fwait after x87
8197 division since interrupt window will be closed by emitted fstp.
9de84e84 8198 Rewrite FP_EX_INEXACT handling.
d59a8fcc 8199
9954c743
JM
82002013-11-06 Joseph Myers <joseph@codesourcery.com>
8201
8202 * soft-fp/README: Update.
8203 * soft-fp/adddf3.c: Update from glibc.
8204 * soft-fp/addsf3.c: Likewise.
8205 * soft-fp/addtf3.c: Likewise.
8206 * soft-fp/divdf3.c: Likewise.
8207 * soft-fp/divsf3.c: Likewise.
8208 * soft-fp/divtf3.c: Likewise.
8209 * soft-fp/double.h: Likewise.
8210 * soft-fp/eqdf2.c: Likewise.
8211 * soft-fp/eqsf2.c: Likewise.
8212 * soft-fp/eqtf2.c: Likewise.
8213 * soft-fp/extenddftf2.c: Likewise.
8214 * soft-fp/extended.h: Likewise.
8215 * soft-fp/extendsfdf2.c: Likewise.
8216 * soft-fp/extendsftf2.c: Likewise.
8217 * soft-fp/extendxftf2.c: Likewise.
8218 * soft-fp/fixdfdi.c: Likewise.
8219 * soft-fp/fixdfsi.c: Likewise.
8220 * soft-fp/fixdfti.c: Likewise.
8221 * soft-fp/fixsfdi.c: Likewise.
8222 * soft-fp/fixsfsi.c: Likewise.
8223 * soft-fp/fixsfti.c: Likewise.
8224 * soft-fp/fixtfdi.c: Likewise.
8225 * soft-fp/fixtfsi.c: Likewise.
8226 * soft-fp/fixtfti.c: Likewise.
8227 * soft-fp/fixunsdfdi.c: Likewise.
8228 * soft-fp/fixunsdfsi.c: Likewise.
8229 * soft-fp/fixunsdfti.c: Likewise.
8230 * soft-fp/fixunssfdi.c: Likewise.
8231 * soft-fp/fixunssfsi.c: Likewise.
8232 * soft-fp/fixunssfti.c: Likewise.
8233 * soft-fp/fixunstfdi.c: Likewise.
8234 * soft-fp/fixunstfsi.c: Likewise.
8235 * soft-fp/fixunstfti.c: Likewise.
8236 * soft-fp/floatdidf.c: Likewise.
8237 * soft-fp/floatdisf.c: Likewise.
8238 * soft-fp/floatditf.c: Likewise.
8239 * soft-fp/floatsidf.c: Likewise.
8240 * soft-fp/floatsisf.c: Likewise.
8241 * soft-fp/floatsitf.c: Likewise.
8242 * soft-fp/floattidf.c: Likewise.
8243 * soft-fp/floattisf.c: Likewise.
8244 * soft-fp/floattitf.c: Likewise.
8245 * soft-fp/floatundidf.c: Likewise.
8246 * soft-fp/floatundisf.c: Likewise.
8247 * soft-fp/floatunditf.c: Likewise.
8248 * soft-fp/floatunsidf.c: Likewise.
8249 * soft-fp/floatunsisf.c: Likewise.
8250 * soft-fp/floatunsitf.c: Likewise.
8251 * soft-fp/floatuntidf.c: Likewise.
8252 * soft-fp/floatuntisf.c: Likewise.
8253 * soft-fp/floatuntitf.c: Likewise.
8254 * soft-fp/gedf2.c: Likewise.
8255 * soft-fp/gesf2.c: Likewise.
8256 * soft-fp/getf2.c: Likewise.
8257 * soft-fp/ledf2.c: Likewise.
8258 * soft-fp/lesf2.c: Likewise.
8259 * soft-fp/letf2.c: Likewise.
8260 * soft-fp/muldf3.c: Likewise.
8261 * soft-fp/mulsf3.c: Likewise.
8262 * soft-fp/multf3.c: Likewise.
8263 * soft-fp/negdf2.c: Likewise.
8264 * soft-fp/negsf2.c: Likewise.
8265 * soft-fp/negtf2.c: Likewise.
8266 * soft-fp/op-1.h: Likewise.
8267 * soft-fp/op-2.h: Likewise.
8268 * soft-fp/op-4.h: Likewise.
8269 * soft-fp/op-8.h: Likewise.
8270 * soft-fp/op-common.h: Likewise.
8271 * soft-fp/quad.h: Likewise.
8272 * soft-fp/single.h: Likewise.
8273 * soft-fp/soft-fp.h: Likewise.
8274 * soft-fp/subdf3.c: Likewise.
8275 * soft-fp/subsf3.c: Likewise.
8276 * soft-fp/subtf3.c: Likewise.
8277 * soft-fp/truncdfsf2.c: Likewise.
8278 * soft-fp/trunctfdf2.c: Likewise.
8279 * soft-fp/trunctfsf2.c: Likewise.
8280 * soft-fp/trunctfxf2.c: Likewise.
8281 * soft-fp/unorddf2.c: Likewise.
8282 * soft-fp/unordsf2.c: Likewise.
8283 * soft-fp/unordtf2.c: Likewise.
8284
02ac9503
UB
82852013-11-05 Uros Bizjak <ubizjak@gmail.com>
8286
8287 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8288 (_FP_MUL_MEAT_D): Ditto.
8289 (_FP_DIV_MEAT_S): Ditto.
8290 (_FP_DIV_MEAT_D): Ditto.
8291 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8292 t-softfp-sfdf and t-softfp to tmake_file.
8293
61221141
UB
82942013-11-03 Uros Bizjak <ubizjak@gmail.com>
8295
8296 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8297 * config/i386/crtprec.c: Ditto.
8298
9304f876
CJW
82992013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8300 Shiva Chen <shiva0217@gmail.com>
8301
8302 * config.host (nds32*-elf*): Add nds32 target.
8303 * config/nds32 : New directory and files.
8304
0e499e75
HPN
83052013-10-16 Hans-Peter Nilsson <hp@axis.com>
8306
8307 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8308 * config.host (cpu_type) <Setting default>: Add entry for
8309 crisv32-*-*.
8310 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8311 <crisv32-*-linux*>: Adjust.
8312 * longlong.h: Wrap the whole CRIS section in a single
8313 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8314 and sub_ddmmss.
8315 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8316 defined.
8317 [__CRIS__] (__umulsidi3): Define.
8318 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8319 * config/cris/sfp-machine.h: New file.
8320 * config/cris/umulsidi3.S: New file.
8321 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8322 * config/cris/arit.c (SIGNMULT): New macro.
8323 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8324 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8325 saving 3 out of originally 33 cycles from the fastest
8326 path, 3 out of 54 from the medium path and one from the longest
8327 path. Improve comments.
8328
16022041
RS
83292013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8330
8331 * sync.c: Remove static aliases and define each function directly
8332 under its real name.
8333
69778659
JDA
83342013-10-02 John David Anglin <danglin@gcc.gnu.org>
8335
8336 * config.host (hppa*64*-*-linux*): Define extra_parts.
8337 (hppa*-*-linux*): Likewise.
8338
2deaf8b0
JR
83392013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8340
8341 * config/arc/crtgend.S: Add 2013 to Copyright years.
8342 * config/arc/gmon/atomic.h: Likewise.
8343 * config/arc/gmon/auxreg.h: Likewise.
8344 * config/arc/gmon/sys/gmon_out.h: Likewise.
8345 * config/arc/gmon/sys/gmon.h: Likewise.
8346 * config/arc/gmon/prof-freq.c: Likewise.
8347 * config/arc/gmon/mcount.c: Likewise.
8348 * config/arc/gmon/prof-freq-stub.S: Likewise.
8349 * config/arc/gmon/gmon.c: Likewise.
8350 * config/arc/gmon/machine-gmon.h: Likewise.
8351 * config/arc/gmon/profil.S: Likewise.
8352 * config/arc/gmon/dcache_linesz.S: Likewise.
8353 * config/arc/crtg.S: Likewise.
8354 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8355 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8356 * config/arc/ieee-754/adddf3.S: Likewise.
8357 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8358 * config/arc/ieee-754/fixsfsi.S: Likewise.
8359 * config/arc/ieee-754/gtsf2.S: Likewise.
8360 * config/arc/ieee-754/floatsisf.S: Likewise.
8361 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8362 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8363 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8364 * config/arc/ieee-754/fixdfsi.S: Likewise.
8365 * config/arc/ieee-754/addsf3.S: Likewise.
8366 * config/arc/ieee-754/gesf2.S: Likewise.
8367 * config/arc/ieee-754/floatsidf.S: Likewise.
8368 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8369 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8370 * config/arc/ieee-754/gtdf2.S: Likewise.
8371 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8372 * config/arc/ieee-754/uneqdf2.S: Likewise.
8373 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8374 * config/arc/ieee-754/uneqsf2.S: Likewise.
8375 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8376 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8377 * config/arc/ieee-754/eqdf2.S: Likewise.
8378 * config/arc/ieee-754/ordsf2.S: Likewise.
8379 * config/arc/ieee-754/divsf3.S: Likewise.
8380 * config/arc/ieee-754/divdf3.S: Likewise.
8381 * config/arc/ieee-754/floatunsidf.S: Likewise.
8382 * config/arc/ieee-754/orddf2.S: Likewise.
8383 * config/arc/ieee-754/eqsf2.S: Likewise.
8384 * config/arc/ieee-754/gedf2.S: Likewise.
8385 * config/arc/crtn.S: Likewise.
8386 * config/arc/crti.S: Likewise.
8387 * config/arc/t-arc700-uClibc: Likewise.
8388 * config/arc/asm.h: Likewise.
8389 * config/arc/libgcc-excl.ver: Likewise.
8390 * config/arc/t-arc-newlib: Likewise.
8391 * config/arc/divtab-arc700.c: Likewise.
8392 * config/arc/initfini.c: Likewise.
8393 * config/arc/fp-hack.h: Likewise.
8394
c8e318b0
JR
83952013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8396 Diego Novillo <dnovillo@google.com>
8397
8398 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
8399 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8400 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8401 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 8402
d38a64b4
JR
84032013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8404 Brendan Kehoe <brendan@zen.org>
8405 Simon Cook <simon.cook@embecosm.com>
8406
8407 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8408 * config/arc: New directory.
8409 * longlong.h [__arc__] (umul_ppmm): Remove.
8410 [__arc__] (__umulsidi3): Define.
8411 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8412 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8413
dff717d2
JC
84142013-09-17 Jacek Caban <jacek@codeweavers.com>
8415
8416 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8417 CreateSemaphoreA.
8418 * config/i386/gthr-win32.h: Likewise.
8419
5c0029de
DD
84202013-09-16 DJ Delorie <dj@redhat.com>
8421
844ad6c6 8422 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
8423 * config/rl78/lib2mul.c: Enable for RL78/G10.
8424 * config/rl78/lib2div.c: Likewise.
8425 * config/rl78/lshrsi3.S: Use vregs.h.
8426 * config/rl78/cmpsi2.S: Likewise.
8427 * config/rl78/trampoline.S: Likewise.
8428 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8429
ceb2fc49
DD
84302013-09-14 DJ Delorie <dj@redhat.com>
8431 Nick Clifton <nickc@redhat.com>
8432
8433 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8434 * config/rl78/vregs.h: New.
8435 * config/rl78/signbit.S: New file. Implements signbit function.
8436 * config/rl78/divmodsi.S: New.
8437 * config/rl78/divmodhi.S: New.
8438 * config/rl78/divmodqi.S: New.
8439 * config/rl78/t-rl78: Build them here...
8440 * config/rl78/lib2div.c: ...but not here.
8441
f6a83b4a
DD
84422013-09-12 DJ Delorie <dj@redhat.com>
8443
8444 * config.host (msp*-*-elf): New.
8445 * config/msp430/: New port.
8446
9107b096
IS
84472013-08-18 Iain Sandoe <iain@codesourcery.com>
8448
8449 PR gcov-profile/58127
8450 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8451 __thread var for emulated TLS.
8452 (__gcov_indirect_call_counters): Likewise.
8453
0f9bde1f 84542013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8455 Catherine Moore <clm@codesourcery.com>
7d296953 8456 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8457
8458 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8459 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8460 (CALL_STUB_NO_RET): Likewise.
8461 (CALL_STUB_RET): Likewise.
8462 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8463 __mips16_ret call/return stub symbols.
8464 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8465 to tmake_file.
8466
2dc14aac
MR
84672013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8468
8469 * config.host <mips*-*-linux*>: Remove a stray comment.
8470
748d71f3
JH
84712013-08-10 Jan Hubicka <jh@suse.cz>
8472
8473 Work around binutils PR14342
8474 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8475 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8476 (L_gcov_indirect_call_profiler_v2): New.
8477
2fa3d31b
JH
84782013-08-06 Jan Hubicka <jh@suse.cz>
8479
8480 * libgcov.c (__gcov_indirect_call_callee,
8481 __gcov_indirect_call_counters): New global vars.
8482 (__gcov_indirect_call_profiler): replace by ...
8483 (__gcov_indirect_call_profiler_v2) ... this one.
8484
2077db1b
CT
84852013-08-06 Caroline Tice <cmtice@google.com>
8486
d0595b65 8487 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8488 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8489 * configure.ac: Add code to check/set enable_vtable_verify.
8490 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8491 true.
d0595b65
CT
8492 * vtv_start_preinit.c: New file.
8493 * vtv_end_preinit.c: New file.
8494 * vtv_start.c: New file.
8495 * vtv_end.c: New file.
8496 * configure: Regenerated.
2077db1b 8497
46549c20
MK
84982013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8499
8500 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8501 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8502 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8503 GPL-3.0-with-GCC-exception.
8504
72be589b
MR
85052013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8506
8507 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8508 ISA and up.
8509
902a3faf
AK
85102013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8511
8512 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8513 mapping for FPRs when creating the fallback framestate.
8514
02371798
GJL
85152013-07-19 Georg-Johann Lay <avr@gjlay.de>
8516
8517 PR target/57516
8518 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8519 (__round_s2_const, __round_u2_const)
8520 (__round_s4_const, __round_u4_const, __round_x8):
8521 Saturate result if addition result cannot be represented.
8522
ab0e8379
MK
85232013-07-15 Matthias Klose <doko@ubuntu.com>
8524
8525 * libgcc2.c: Don't include <limits.h>.
8526
7da38058
JJ
85272013-07-09 Janis Johnson <janisjo@codesourcery.com>
8528
8529 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8530
1f6eac90
JJ
85312013-07-06 Jakub Jelinek <jakub@redhat.com>
8532
8533 PR target/29776
8534 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8535
4ea3d774
JJ
85362013-06-28 Jakub Jelinek <jakub@redhat.com>
8537
8538 PR middle-end/36041
8539 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8540 Define.
8541 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8542 instead of table lookups.
8543 (__popcountDI2): Likewise.
8544
9d2cdf25
CJW
85452013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8546
8547 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8548 correctly.
8549
fa1e55b0
JM
85502013-06-21 Joseph Myers <joseph@codesourcery.com>
8551
8552 PR other/53317
8553 * soft-fp/adddf3.c: Update from glibc.
8554 * soft-fp/addsf3.c: Likewise.
8555 * soft-fp/addtf3.c: Likewise.
8556 * soft-fp/divdf3.c: Likewise.
8557 * soft-fp/divsf3.c: Likewise.
8558 * soft-fp/divtf3.c: Likewise.
8559 * soft-fp/double.h: Likewise.
8560 * soft-fp/eqdf2.c: Likewise.
8561 * soft-fp/eqsf2.c: Likewise.
8562 * soft-fp/eqtf2.c: Likewise.
8563 * soft-fp/extenddftf2.c: Likewise.
8564 * soft-fp/extended.h: Likewise.
8565 * soft-fp/extendsfdf2.c: Likewise.
8566 * soft-fp/extendsftf2.c: Likewise.
8567 * soft-fp/fixdfdi.c: Likewise.
8568 * soft-fp/fixdfsi.c: Likewise.
8569 * soft-fp/fixsfdi.c: Likewise.
8570 * soft-fp/fixsfsi.c: Likewise.
8571 * soft-fp/fixtfdi.c: Likewise.
8572 * soft-fp/fixtfsi.c: Likewise.
8573 * soft-fp/fixunsdfdi.c: Likewise.
8574 * soft-fp/fixunsdfsi.c: Likewise.
8575 * soft-fp/fixunssfdi.c: Likewise.
8576 * soft-fp/fixunssfsi.c: Likewise.
8577 * soft-fp/fixunstfdi.c: Likewise.
8578 * soft-fp/fixunstfsi.c: Likewise.
8579 * soft-fp/floatdidf.c: Likewise.
8580 * soft-fp/floatdisf.c: Likewise.
8581 * soft-fp/floatditf.c: Likewise.
8582 * soft-fp/floatsidf.c: Likewise.
8583 * soft-fp/floatsisf.c: Likewise.
8584 * soft-fp/floatsitf.c: Likewise.
8585 * soft-fp/floatundidf.c: Likewise.
8586 * soft-fp/floatundisf.c: Likewise.
8587 * soft-fp/floatunditf.c: Likewise.
8588 * soft-fp/floatunsidf.c: Likewise.
8589 * soft-fp/floatunsisf.c: Likewise.
8590 * soft-fp/floatunsitf.c: Likewise.
8591 * soft-fp/gedf2.c: Likewise.
8592 * soft-fp/gesf2.c: Likewise.
8593 * soft-fp/getf2.c: Likewise.
8594 * soft-fp/ledf2.c: Likewise.
8595 * soft-fp/lesf2.c: Likewise.
8596 * soft-fp/letf2.c: Likewise.
8597 * soft-fp/muldf3.c: Likewise.
8598 * soft-fp/mulsf3.c: Likewise.
8599 * soft-fp/multf3.c: Likewise.
8600 * soft-fp/negdf2.c: Likewise.
8601 * soft-fp/negsf2.c: Likewise.
8602 * soft-fp/negtf2.c: Likewise.
8603 * soft-fp/op-1.h: Likewise.
8604 * soft-fp/op-2.h: Likewise.
8605 * soft-fp/op-4.h: Likewise.
8606 * soft-fp/op-8.h: Likewise.
8607 * soft-fp/op-common.h: Likewise.
8608 * soft-fp/quad.h: Likewise.
8609 * soft-fp/single.h: Likewise.
8610 * soft-fp/soft-fp.h: Likewise.
8611 * soft-fp/subdf3.c: Likewise.
8612 * soft-fp/subsf3.c: Likewise.
8613 * soft-fp/subtf3.c: Likewise.
8614 * soft-fp/truncdfsf2.c: Likewise.
8615 * soft-fp/trunctfdf2.c: Likewise.
8616 * soft-fp/trunctfsf2.c: Likewise.
8617 * soft-fp/unorddf2.c: Likewise.
8618 * soft-fp/unordsf2.c: Likewise.
8619 * soft-fp/unordtf2.c: Likewise.
8620 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8621 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8622 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8623 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8624 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8625 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8626 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8627 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8628 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8629 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8630 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8631 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8632
0de86a92
JU
86332013-06-16 JĂĽrgen Urban <JuergenUrban@gmx.de>
8634
8635 * config/mips/lib2funcs.c: New file.
8636 * config/mips/t-mips (LIB2ADD_ST): Add it.
8637
0d008882
OE
86382013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8639
8640 PR target/6526
8641 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8642 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8643
776434d1
WL
86442013-06-08 Walter Lee <walt@tilera.com>
8645
8646 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8647 Replace int64_t with long long. Add __extension__ where
8648 appropriate.
8649 * config/tilepro/atomic.c: Include config.h.
8650
6ab3ebb4
DR
86512013-06-06 Douglas B Rupp <rupp@adacore.com>
8652
8653 * config.host (arm-wrs-vxworks): Configure with other soft float.
8654
107eea2c
JU
86552013-06-04 JĂĽrgen Urban <JuergenUrban@gmx.de>
8656
8657 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8658 (mips64r5900el-*-elf*): New configurations.
8659
5cc19c62
AM
86602013-06-04 Alan Modra <amodra@gmail.com>
8661
8662 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8663
0f1d3965
YR
86642013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8665
8666 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8667
0ba045df
EB
86682013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8669
8670 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8671 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8672 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8673
49dcafd4
EB
86742013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8675
8676 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8677 (powerpc-wrs-vxworks): Likewise.
8678
4fcb5d87
EB
86792013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8680
8681 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8682 signal frames as well.
8683 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8684 STACK_BIAS to the CFA offset.
8685
0ec33224
RH
86862013-05-17 Richard Henderson <rth@redhat.com>
8687
8688 PR target/49146
8689 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8690 (execute_cfa_program): Use it when storing to fs->regs.
8691
492a8029
KT
86922013-05-08 Kai Tietz <ktietz@redhat.com>
8693
8694 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8695 (__deregister_frame_info): Likewise.
8696
701e2f0a
TS
86972013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8698
e5123d08
TS
8699 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8700 NaN's payload.
8701
701e2f0a
TS
8702 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8703
b9a7eb5d
AM
87042013-04-25 Alan Modra <amodra@gmail.com>
8705
8706 * config.host: Match little-endian powerpc-linux.
8707
dfe192f5
YZ
87082013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8709
8710 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8711 as 'unsigned long long' instead of 'unsigned long'.
8712 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8713 'signed long'.
8714
b6b9af2f
JB
87152013-04-10 Julian Brown <julian@codesourcery.com>
8716
8717 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8718 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8719 unsigned char/unsigned short.
8720 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8721
ecabdd00
JDA
87222013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8723
8724 PR other/55274
8725 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8726
34652576
MI
87272013-04-04 Meador Inge <meadori@codesourcery.com>
8728
8729 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8730 computing the location of the link register.
8731 (aeabi_uldivmod): Ditto.
8732
e9fd8c19
KT
87332013-03-27 Kai Tietz <ktietz@redhat.com>
8734
8735 * config.host: Add support for cygwin x64 target.
8736 * configure: Regenerated.
8737
a6406324
WL
87382013-03-26 Walter Lee <walt@tilera.com>
8739
8740 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8741 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8742
55446c7e
KT
87432013-03-25 Kai Tietz <ktietz@redhat.com>
8744
8745 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8746
d2ae19d9
RM
87472013-03-20 Robert Mason <rbmj@verizon.net>
8748
8749 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8750 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8751 (__gthread_leave_tsd_dtor_context): Add prototypes.
8752 (tls_delete_hook): Update.
8753
22c4c869
CM
87542013-03-20 Catherine Moore <clm@codesourcery.com>
8755 Joseph Myers <joseph@codesourcery.com>
8756 Chao-ying Fu <fu@mips.com>
8757
8758 * config/mips/mips16.S: Don't build for microMIPS.
8759 * config/mips/linux-unwind.h: Handle microMIPS frame.
8760 * config/mips/crtn.S (fini, init): New labels.
8761
fbd28bc3
JJ
87622013-03-14 Jakub Jelinek <jakub@redhat.com>
8763
8764 PR tree-optimization/53265
8765 * unwind-dw2.c (execute_cfa_program): Avoid
8766 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8767 on targets with DWARF_FRAME_REGISTERS < 32.
8768
decc676e
OE
87692013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8770
8771 PR target/49880
8772 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8773 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8774
84ea618a
ST
87752013-03-07 Sriraman Tallam <tmsriram@google.com>
8776
8777 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8778 sandybridge processors.
8779
8f6d1c86
OE
87802013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8781
8782 PR target/56529
8783 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8784 inclusion list.
8785
ecdbd01a 87862013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
8787
8788 * config/microblaze/crti.S: Setup stack protection at entry
8789
0b4ce21b
GJL
87902013-03-04 Georg-Johann Lay <avr@gjlay.de>
8791
8792 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8793 (__rotldi3): Shift bytewise if applicable.
8794
b7c3f1ca
JG
87952013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8796
8797 * config/aarch64/sync-cache.c
8798 (__aarch64_sync_cache_range): Silence warnings.
8799
6d65e8f1
CM
88002013-02-25 Catherine Moore <clm@codesourcery.com>
8801
8802 Revert:
8803 2013-02-24 Catherine Moore <clm@codesourcery.com>
8804 Joseph Myers <joseph@codesourcery.com>
8805 Chao-ying Fu <fu@mips.com>
8806
8807 * config/mips/mips16.S: Don't build for microMIPS.
8808 * config/mips/linux-unwind.h: Handle microMIPS frame.
8809 * config/mips/crtn.S (fini, init): New labels.
8810
6941b508
CM
88112013-02-24 Catherine Moore <clm@codesourcery.com>
8812 Joseph Myers <joseph@codesourcery.com>
8813 Chao-ying Fu <fu@mips.com>
8814
8815 * config/mips/mips16.S: Don't build for microMIPS.
8816 * config/mips/linux-unwind.h: Handle microMIPS frame.
8817 * config/mips/crtn.S (fini, init): New labels.
8818
7c422dbb 88192012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8820 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8821 as dividend.
8822
110207ad
AM
88232013-02-16 Alan Modra <amodra@gmail.com>
8824
8825 PR target/55431
8826 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8827 (ppc_fallback_frame_state): Always set up save locations for fp
8828 and altivec. Don't bother with non-callee-saved regs, r0-r13
8829 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8830
e68a4ef6
GJL
88312013-02-12 Georg-Johann Lay <avr@gjlay.de>
8832
8833 PR target/54222
8834 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8835 _ssmulHA, _ssmulSA.
8836 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8837 _ssmulha3, _usmulusa3, _ssmulsa3.
8838 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8839 (__muldi3): XCALL __muldi3_6 instead of rcall.
8840 (__umulsidi3, __mulsidi3): New functions.
8841 (do_prologue_saves, do_epilogue_restores): New .macros.
8842 (__divdi3_moddi3): Use them.
8843 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8844 (__usmulusa3, __ssmulsa3): New functions.
8845
6c59ffd1
IS
88462013-02-11 Iain Sandoe <iain@codesourcery.com>
8847 Jack Howarth <howarth@bromo.med.uc.edu>
8848 Patrick Marlier <patrick.marlier@gmail.com>
8849
8850 PR libitm/55693
8851 * config/darwin-crt-tm.c: Remove dummy functions hack.
8852
85d768f3
GJL
88532013-02-08 Georg-Johann Lay <avr@gjlay.de>
8854
8855 PR target/54222
8856 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8857 * config/avr/lib2-object.mk: New iterator to build objects from it.
8858 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8859 lib2funcs.c.
8860 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8861 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8862 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8863 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8864 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8865 * config/avr/lib1funcs-fixed.S: Implement them.
8866
5d5bf775
RS
88672013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8868
8869 Update copyright years.
8870
99113dff
DE
88712013-02-01 David Edelsohn <dje.gcc@gmail.com>
8872
8873 PR target/54601
8874 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8875 Add crtcxa to extra_parts.
8876 * config/rs6000/exit.h: New file.
8877 * config/rs6000/cxa_atexit.c: New file.
8878 * config/rs6000/cxa_finalize.c: New file.
8879 * config/rs6000/crtcxa.c: New file.
8880 * config/rs6000/t-aix-cxa: New file.
8881 * config/rs6000/libgcc-aix-cxa.ver: New file.
8882
dbdbd982
NC
88832013-01-31 Nick Clifton <nickc@redhat.com>
8884
8885 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8886 variant.
8887
5893f158
GJL
88882013-01-29 Georg-Johann Lay <avr@gjlay.de>
8889
8890 PR target/54222
8891 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8892 _mulQQ, _mulHQ, _mulHA, _mulSA,
8893 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8894 _divQQ, _divHQ, _divHA, _divSA,
8895 _divUQQ, _divUHQ, _divUHA, _divUSA.
8896
ecdbd01a 88972013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8898
dbdbd982 8899 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8900 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8901 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8902 to exclude functions from being built with libgcc.c and use
8903 the microblaze assembly.
8904
ecdbd01a 89052013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8906
8907 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8908 extra_parts.
8909
922c57d1
YZ
89102013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8911
8912 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8913 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8914 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8915 alignment operation.
8916
e0f8b6a0
SN
89172013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8918
8919 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8920 loop start address for cache clearing.
8921
00892272
GJL
89222013-01-14 Georg-Johann Lay <avr@gjlay.de>
8923
8924 * config/avr/lib1funcs.S: Remove trailing blanks.
8925 * config/avr/lib1funcs-fixed.S: Ditto.
8926
e59ec5fd
GJL
89272013-01-14 Georg-Johann Lay <avr@gjlay.de>
8928
8929 * config/avr/avr-lib.h: Add GPL copyright notice.
8930
3ffc1958
GJL
89312013-01-14 Georg-Johann Lay <avr@gjlay.de>
8932
8933 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8934 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8935 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8936 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8937
25c210f9
MK
89382013-01-07 Mark Kettenis <kettenis@openbsd.org>
8939
8940 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8941 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8942
db59befb
NC
89432013-01-04 Nick Clifton <nickc@redhat.com>
8944
8945 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8946 the CALLT instruction is supported.
8947
5aa12dbf
JW
89482012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8949
8950 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8951 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8952
65f14117
JT
89532012-12-13 John Tytgat <John@bass-software.com>
8954
8955 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8956 is 25.
8957
ee3ae4f7
JJ
89582012-12-12 Jakub Jelinek <jakub@redhat.com>
8959
8960 PR libgcc/55451
8961 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8962 undefined signed overflows.
8963
2fcfba3d
UB
89642012-12-09 Uros Bizjak <ubizjak@gmail.com>
8965
8966 PR target/55344
8967 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8968
4f2b3dc2
UB
89692012-12-06 Uros Bizjak <ubizjak@gmail.com>
8970
8971 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8972 (FP_TRAPPING_EXCEPTIONS): Define.
8973 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8974 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8975
066161a2
RH
89762012-12-04 Richard Henderson <rth@redhat.com>
8977
8978 PR bootstrap/55571
8979 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8980
7d296953 89812012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8982
4f2b3dc2 8983 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8984 (FP_EX_SHIFT): Define.
8985 (FP_TRAPPING_EXCEPTIONS): Define.
8986
7d296953 89872012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8988
8989 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8990 (FP_ROUNDMODE): Use FP_RND_MASK.
8991 * config/aarch64/sfp-exceptions.c: New.
8992 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8993 Use __sfp_handle_exceptions.
8994
5005fe22
RE
89952012-12-04 Richard Earnshaw <rearnsha@arm.com>
8996
8997 * config.host: (arm*-*-freebsd*): Remove.
8998 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8999 (arm*-*-elf*): Remove.
9000 (arm*-*-wince-pe*): Remove.
9001 * arm/unwind-arm.c (struct fpa_reg): Delete.
9002 (struct fpa_regs): Delete.
9003 (phase1_vrs): Remove fpa element.
9004 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
9005 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
9006 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
9007 * ieee754-sf.S (floatundisf): Remove FPA support.
9008 (floatdisf): Likewise.
9009 * ieee75f-df.S (floatundidf): Likewise.
9010 (floatdidf): Likewise.
9011
e5a81c8e
KT
90122012-11-29 Kai Tietz <ktietz@redhat.com>
9013
9014 PR target/55445
9015 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
9016 * unwind-generic.h: Likewise.
9017 * unwind-seh.c: Likewise.
9018
f4919e4a
RH
90192012-11-28 Richard Henderson <rth@redhat.com>
9020
9021 PR libgcc/48076
9022 * emutls.c (__emutls_get_address): Avoid race condition between
9023 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 9024
e13d9d5a
GJL
90252012-11-22 Georg-Johann Lay <avr@gjlay.de>
9026
9027 Adjust decimal point of signed accum mode to GCC default.
9028
9029 PR target/54222
9030 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
9031 _divqq_helper.
9032 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
9033 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
9034 (__mulha3, __mulsa3)
9035 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
9036 decimal point of signed accum types.
9037
e13d9d5a
GJL
9038 (__mulusa3_round): New function.
9039 (__mulusa3): Use it.
9040 (__divqq_helper): New function.
9041 (__udivuqq3): Use it.
9042
1b845c6e
JJ
90432012-11-20 Jakub Jelinek <jakub@redhat.com>
9044
9045 PR bootstrap/55370
9046 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9047
822a258a
TJ
90482012-11-18 Teresa Johnson <tejohnson@google.com>
9049
9050 PR bootstrap/55051
9051 * libgcov.c (gcov_exit): Remove merged program summary
9052 comparison unless !GCOV_LOCKED.
9053
7d296953 90542012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
9055
9056 * soft-fp: Updated from glibc upstream.
9057
e808687a
ILT
90582012-11-06 Ian Lance Taylor <iant@google.com>
9059
9060 * generic-morestack.c (__generic_morestack): Align the returned
9061 stack pointer to a 32 byte boundary.
9062 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9063 increment the return address until we have decided that we don't
9064 have a varargs function.
9065 (__morestack) [32-bit]: Align stack correctly when calling C
9066 functions.
9067 (__morestack) [64-bit]: Likewise.
9068
460277e0
TS
90692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9070
9071 * configure: Regenerate.
9072
73edb277
UB
90732012-11-02 Uros Bizjak <ubizjak@gmail.com>
9074
9075 PR target/55175
9076 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9077 * config/i386/sfp-machine.h: Guard exception handling
9078 code with _SOFT_FLOAT.
9079 * config/i386/32/sfp-machine.h: Guard rounding handling
9080 code with _SOFT_FLOAT.
9081 * config/i386/64/sfp-machine.h: Ditto.
9082
c1d4fa04
JS
90832012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9084
9085 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9086 as extra_parts.
9087
eff6ca85
UB
90882012-10-26 Uros Bizjak <ubizjak@gmail.com>
9089
9090 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9091 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9092 when appropriate. Correct structure element types.
9093 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9094 -minline-all-stringops from compile flags.
9095
7d296953 90962012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
9097
9098 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9099
7d296953 91002012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 9101
eff6ca85 9102 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 9103
6f288860
SH
91042012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9105
9106 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9107 tmake_file.
9108
1e3d5096
IB
91092012-10-23 Ian Bolton <ian.bolton@arm.com>
9110 Jim MacArthur <jim.macarthur@arm.com>
9111 Marcus Shawcroft <marcus.shawcroft@arm.com>
9112 Nigel Stephens <nigel.stephens@arm.com>
9113 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9114 Richard Earnshaw <rearnsha@arm.com>
9115 Sofiane Naci <sofiane.naci@arm.com>
9116 Stephen Thomas <stephen.thomas@arm.com>
9117 Tejas Belagod <tejas.belagod@arm.com>
9118 Yufeng Zhang <yufeng.zhang@arm.com>
9119
9120 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9121 * config/aarch64/crti.S: New file.
9122 * config/aarch64/crtn.S: New file.
9123 * config/aarch64/linux-unwind.h: New file.
9124 * config/aarch64/sfp-machine.h: New file.
9125 * config/aarch64/sync-cache.c: New file.
9126 * config/aarch64/t-aarch64: New file.
9127 * config/aarch64/t-softfp: New file.
9128
8a740f07
HPN
91292012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9130
9131 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9132 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9133 no-longer-needed LDBU insns.
9134
7d296953 91352012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
9136
9137 * config.host
9138 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9139 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9140
595fefee
MGD
91412012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9142
9143 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9144
9945a876
MK
91452012-10-15 Matthias Klose <doko@ubuntu.com>
9146
9147 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9148
1183dc2c
PC
91492012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9150
9151 * configure: Regenerate.
9152 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9153
945a9c1f
UB
91542012-10-10 Uros Bizjak <ubizjak@gmail.com>
9155
9156 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9157 instructions for 64bit targets only.
9158
fb8bf47a
UB
91592012-10-10 Uros Bizjak <ubizjak@gmail.com>
9160
9161 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9162 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9163 * config/i386/32/sfp-machine.h: ... here.
9164 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9165 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9166 New defines.
9167
acb72498
MK
91682012-10-07 Matthias Klose <doko@ubuntu.com>
9169
9170 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9171 as unused.
9172 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9173
8eaee0f0
MK
91742012-10-06 Mark Kettenis <kettenis@openbsd.org>
9175
9176 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9177 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9178 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9179 (ElfW): Likewise.
9180
5e3e4fe8
JW
91812012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9182
9183 PR other/53889
9184 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9185 Fix parameter names.
9186
86086376
OE
91872012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9188
9189 PR target/33135
9190 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9191 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9192 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9193
9597375a
OE
91942012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9195
9196 PR target/50457
9197 * config/sh/linux-atomic.S: Delete.
9198 * config/sh/linux-atomic.c: New.
9199 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9200 linux-atomic.c. Add cflags to disable warnings.
9201
1504e3e1
JW
92022012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9203
9204 PR other/53889
9205 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9206 function.
9207 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9208 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9209 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9210 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
9211 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9212 Likewise.
1504e3e1
JW
9213 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9214 Likewise.
9215 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9216 Likewise.
9217 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9218 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9219
17f293b0
MK
92202012-09-19 Mark Kettenis <kettenis@openbsd.org>
9221
9597375a
OE
9222 * config.host (hppa-*-openbsd*): New target.
9223 * config/pa/t-openbsd: New file.
17f293b0 9224
51526856
GJL
92252012-09-15 Georg-Johann Lay <avr@gjlay.de>
9226
9227 PR target/54222
9228 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9229 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9230 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9231 (__divsa3): Use __negsi2 to negate r_quoL.
9232 * config/avr/lib1funcs.S (FALIAS): New macro.
9233 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9234 (__negsi2): ...this new function.
9235 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9236 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9237 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9238 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9239 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9240 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9241
aadb5b43
OE
92422012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9243
9244 PR target/54089
9245 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9246 (lshrsi3): Reimplement as lshrsi3_r0.
9247
d5d66749
AS
92482012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9249
9250 PR target/46191
9251 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9252 of libgcc.a.
9253
c6c36e73
TJ
92542012-09-07 Teresa Johnson <tejohnson@google.com>
9255
9597375a 9256 PR gcov-profile/54487
c6c36e73 9257 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 9258 differences.
c6c36e73 9259
b588ae30
GJL
92602012-09-05 Georg-Johann Lay <avr@gjlay.de>
9261
9262 PR target/54461
9263 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9264 not configured --with-avrlibc=no.
9265 * config/avr/t-avrlibc: New file.
9266 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9267 (DPBIT_FUNCS): Ditto.
9268 (TPBIT_FUNCS): Ditto.
9269
abd16fb1
TJ
92702012-09-04 Teresa Johnson <tejohnson@google.com>
9271
9272 * libgcov.c (struct gcov_summary_buffer): New structure.
9273 (gcov_histogram_insert): New function.
9274 (gcov_compute_histogram): Ditto.
9275 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9276 histograms during summary merging.
9277
613061fd
MK
92782012-09-01 Mark Kettenis <kettenis@openbsd.org>
9279
9280 * config.host (x86_64-*-openbsd*): New target.
73edb277 9281
867a8345
CLT
92822012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9283
9284 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9285 attribute.
9286
4aeaaca3
GJL
92872012-08-24 Georg-Johann Lay <avr@gjlay.de>
9288
9289 PR target/54222
9290 * config/avr/t-avr (conv_X): Rename to func_X.
9291
e55e4056
GJL
92922012-08-24 Georg-Johann Lay <avr@gjlay.de>
9293
9294 PR target/54222
9295 * config/avr/lib1funcs-fixed.S: New file.
9296 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9297 after they are used.
9298 (neg2, neg4): New macros.
9299 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9300 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9301 (__umulhisi3): Speed up MUL variant if there is enough flash.
9302 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9303 avr-modes.def.
9304 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9305 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9306 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9307 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9308 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9309 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9310 (LIB2FUNCS_EXCLUDE): Add supported functions.
9311
a147b6d2
GJL
93122012-08-22 Georg-Johann Lay <avr@gjlay.de>
9313
9314 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9315 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9316 libgcc-s-objects.
9317 * fixed-obj.mk: Only expand dependency if $o is not in
9318 LIB2FUNCS_EXCLUDE.
9319
c637141a
L
93202012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9321
9322 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9323
130e00bd
JM
93242012-08-22 Joseph Myers <joseph@codesourcery.com>
9325
9326 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9327 depend on --enable-shared.
9328 ($(lib1asmfuncs-o)): Use %.vis files independent of
9329 --enable-shared.
9330 * static-object.mk ($(base)$(objext), $(base).vis)
9331 ($(base)_s$(objext)): Use same rules for visibility handling as in
9332 shared-object.mk.
9333
4b1b3788
ILT
93342012-08-21 Ian Lance Taylor <iant@google.com>
9335
9336 * config/i386/morestack.S (__morestack_non_split): Increase amount
9337 of space allocated for non-split code stack.
9338
d2468141
JM
93392012-08-19 Joseph Myers <joseph@codesourcery.com>
9340
9341 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9342 even if inhibit_libc.
9343
a508e1a8
JB
93442012-08-17 Julian Brown <julian@codesourcery.com>
9345
9346 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9347 -fexceptions -fnon-call-exceptions if not defined.
9348 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9349 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9350
5615a07d
AS
93512012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9352
9353 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9354 type.
9355
138f5acd
DE
93562012-08-16 David Edelsohn <dje.gcc@gmail.com>
9357
9358 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9359 rs6000/t-slibgcc-aix.
9360
18efc0dd
SB
93612012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9362
9363 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9364
6b39bc38
SB
93652012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9366
9367 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9368
cd25dea0
L
93692012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9370
9371 PR driver/54171
9372 * Makefile.in (version): Replace top_srcdir with srcdir.
9373
a3dda30b
JY
93742012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9375
9376 * Makefile.in (version): set to BASE-VER file from gcc directory.
9377
d04aacfc
NC
93782012-08-01 Nick Clifton <nickc@redhat.com>
9379
9380 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9381 Implements __clrsb for an HImode argument.
9382
0d13c974
NC
93832012-07-31 Nick Clifton <nickc@redhat.com>
9384
9385 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9386 Implements __clrsb for an HImode argument.
9387 * config/stormy16/clrsbhi2.c: New file:
9388 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9389
efbb59b2
SB
93902012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9391
9392 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9393
bf1431e3
TG
93942012-07-19 Tristan Gingold <gingold@adacore.com>
9395 Richard Henderson <rth@redhat.com>
9396
9397 * unwind-seh.c: New file.
9398 * unwind-generic.h: Include windows.h for SEH.
9399 (_Unwind_Exception): Use 6 private fields for SEH.
9400 (_GCC_specific_handler): Declare.
9401 * unwind-c.c (__gcc_personality_seh0): New function.
9402 Adjust for SEH.
9403 * config/i386/libgcc-cygming.ver: New file.
9404 * config/i386/t-seh-eh: New file.
9405 * config.host (x86_64-*-mingw*): Default to seh.
9406
659140c8
SB
94072012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9408
9409 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9410
a20d08fd
UB
94112012-06-17 Uros Bizjak <ubizjak@gmail.com>
9412
9413 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9414 __builtin_expect when checking for exceptions.
9415 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9416
79261115
UB
94172012-06-13 Uros Bizjak <ubizjak@gmail.com>
9418
4a172156
UB
9419 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9420 function declaration.
9421 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9422 (FP_RND_MASK): New.
9423 * config/ia64/sfp-exceptions.c: New.
9424 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 9425
bb5c97d4
UB
94262012-06-13 Uros Bizjak <ubizjak@gmail.com>
9427
9428 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9429 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9430 * config/i386/64/sfp-machine: ... (delete here) ...
9431 * config/i386/sfp-machine.h: ... to here.
9432 (FP_EX_MASK): Remove.
9433 (FP_RND_MASK): New.
9434 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9435
91fe5efb
ST
94362012-06-11 Sriraman Tallam <tmsriram@google.com>
9437
9438 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9439 * config/i386/libgcc-sol2.ver: Ditto.
9440 * config/i386/libgcc-glibc.ver: Ditto.
9441
67a218c5
RM
94422012-06-11 Roland McGrath <mcgrathr@google.com>
9443
9444 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9445 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9446 pthread_cancel.
9447
492fbea1
UB
94482012-06-09 Uros Bizjak <ubizjak@gmail.com>
9449
9450 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9451 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9452 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9453 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9454 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9455 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9456 * config/i386/64/sfp-machine: ... (delete here) ...
9457 * config/i386/sfp-machine.h: ... to here.
9458 (FP_EX_MASK): New.
9459 (__sfp_handle_exceptions): New function declaration.
9460 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9461 * config/i386/sfp-exceptions.c: New.
9462 * config/i386/t-softfp: New.
9463 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9464 i386/t-softfp to tmake_file.
9465
7b4cf266
DM
94662012-06-03 David S. Miller <davem@davemloft.net>
9467
9468 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9469 change.
9470
0de0d5c6
DM
94712012-05-31 David S. Miller <davem@davemloft.net>
9472
9473 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9474 multiply and divide instructions on 32-bit when V9.
9475 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9476
d8c9d391
JM
94772012-05-29 Joseph Myers <joseph@codesourcery.com>
9478
9479 * config/arm/ieee754-df.S: Fix typos.
9480 * config/arm/ieee754-sf.S: Fix typos.
9481 * config/c6x/libunwind.S: Fix typos.
9482 * config/epiphany/udivsi3-float.c: Fix typos.
9483 * config/microblaze/muldi3_hard.S: Fix typos.
9484 * config/picochip/adddi3.S: Fix typos.
9485 * config/picochip/ashlsi3.S: Fix typos.
9486 * config/picochip/ashrsi3.S: Fix typos.
9487 * config/picochip/clzsi2.S: Fix typos.
9488 * config/picochip/cmpsi2.S: Fix typos.
9489 * config/picochip/divmod15.S: Fix typos.
9490 * config/picochip/divmodhi4.S: Fix typos.
9491 * config/picochip/divmodsi4.S: Fix typos.
9492 * config/picochip/longjmp.S: Fix typos.
9493 * config/picochip/lshrsi3.S: Fix typos.
9494 * config/picochip/parityhi2.S: Fix typos.
9495 * config/picochip/popcounthi2.S: Fix typos.
9496 * config/picochip/setjmp.S: Fix typos.
9497 * config/picochip/subdi3.S: Fix typos.
9498 * config/picochip/ucmpsi2.S: Fix typos.
9499 * config/picochip/udivmodhi4.S: Fix typos.
9500 * config/picochip/udivmodsi4.S: Fix typos.
9501 * config/spu/divv2df3.c: Fix typos.
9502 * config/spu/mfc_multi_tag_release.c: Fix typos.
9503 * config/spu/mfc_tag_release.c: Fix typos.
9504 * configure.ac: Fix typos.
9505 * configure: Regenerate.
9506
31a18a7e
ILT
95072012-05-25 Ian Lance Taylor <iant@google.com>
9508
9509 * config/i386/morestack.S (__morestack_non_split): Check whether
9510 caller is varargs and needs %bp to hold the stack frame on return.
9511
c5768510
OH
95122012-05-25 Olivier Hainque <hainque@adacore.com>
9513
9514 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9515 sequence in the non pic case on VxWorks.
9516
7c7c339b
OH
95172012-05-24 Olivier Hainque <hainque@adacore.com>
9518
73fb7630 9519 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9520 "install-leaf" to "install".
9521
fdc1b7d3
OH
95222012-05-24 Olivier Hainque <hainque@adacore.com>
9523
9524 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9525 Use a separate command for stamp removals.
9526
07ba94b9
AP
95272012-05-21 Andrew Pinski <apinski@cavium.com>
9528
9529 PR bootstrap/53183
9530 * configure.ac: Define the default includes to being none.
9531 * configure: Regenerate.
9532
4677d2eb
OH
95332012-05-16 Olivier Hainque <hainque@adacore.com>
9534
9535 * Makefile.in (install-unwind_h): Rename into ...
9536 (install-unwind_h-forbuild): New target.
9537 (all): Use it instead of the former install-unwind_h.
9538 (install-unwind_h): Reinstate, copy to user install destination
9539 for include files, not to the internal gcc object directory one.
9540 (install-leaf): Depend on it.
9541
7d67c380
OH
95422012-05-15 Olivier Hainque <hainque@adacore.com>
9543
9544 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9545 register numbers. LR_REGNO replaces R_LR.
9546 (ucontext_for): New, helper for ...
9547 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9548 and 5.3 of ...
9549 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9550
aca06c90
RO
95512012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9552
9553 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9554 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9555 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9556 i386/t-cpuinfo ...
9557 (i[34567]86-*-*, x86_64-*-*): ... here.
9558
9559 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9560 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9561
9562 * config/i386/i386-cpuinfo.c: Rename to ...
9563 * config/i386/cpuinfo.c: ... this.
9564 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9565
9566 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9567 (libgcc_cv_init_priority): New test.
9568 * configure: Regenerate.
9569 * config.in: New file.
9570 * Makefile.in (clean): Rename config.h to auto-target.h.
9571 (config.h): Likewise.
9572 (stamp-h): Likewise.
9573
9574 * config/i386/cpuinfo.c (auto-target.h): Include.
9575 (CONSTRUCTOR_PRIORITY): Define.
9576 (__cpu_indicator_init): Use it.
9577
0d03ac1b
L
95782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9579
9580 * longlong.h: Use a URL instead of an FSF postal address.
9581 Replace spaces with tab.
9582
4a172156 95832012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9584
9585 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9586 (__gcov_dump): Ditto.
9587 (gcov_dump_complete): New global variable.
9588 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9589 (__gcov_flush): Outline functionality now in gcov_clear.
9590 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9591
e4bb767e
AJ
95922012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9593
31a18a7e
ILT
9594 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9595 (mips*-*-linux*): Include mips/t-tpbit when long double is
9596 16 bytes long.
e4bb767e 9597
5ddecff9
ST
95982012-04-25 Sriraman Tallam <tmsriram@google.com>
9599
9600 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9601 (get_available_features): New argument. Check for AVX2.
9602 (__cpu_indicator_init): Modify call to get_available_features.
9603
b427dd7a
AM
96042012-04-25 Alan Modra <amodra@gmail.com>
9605
9606 * config/rs6000/crtsavevr.S: New file.
9607 * config/rs6000/crtrestvr.S: New file.
9608 * config/rs6000/t-savresfgpr: Build the above.
9609 * config/rs6000/t-netbsd: Likewise.
9610
ad491329
ST
96112012-04-24 Sriraman Tallam <tmsriram@google.com>
9612
9613 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9614
792317cc
ST
96152012-04-24 Sriraman Tallam <tmsriram@google.com>
9616
9617 * libgcc/config/i386/i386-cpuinfo.c: New file.
9618 * libgcc/config/i386/t-cpuinfo: New file.
9619 * libgcc/config.host: Include t-cpuinfo.
9620 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9621
e1be98a4
CF
96222012-04-24 Chao-ying Fu <fu@mips.com>
9623
9624 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9625
1bde7dab
TS
96262012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9627
9628 struct siginfo vs. siginfo_t
9629
9630 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9631 siginfo_t instead of struct siginfo.
9632 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9633 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9634 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9635 (ia64_handle_unwabi): Likewise.
9636 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9637 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9638 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9639 (sh_fallback_frame_state): Likewise.
9640 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9641 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9642
24590f66
L
96432012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9644
9645 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9646 system call number.
9647
9a9dcce8
EB
96482012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9649
9650 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9651 if it hasn't been previously saved.
9652
6401aaf5
L
96532012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9654
9655 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9656 only for glibc.
9657
7fd6378e
GJL
96582012-03-28 Georg-Johann Lay <avr@gjlay.de>
9659
9660 PR target/52737
9661 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9662 instead of __AVR_HAVE_8BIT_SP__.
9663
9e916de7
TG
96642012-03-26 Tristan Gingold <gingold@adacore.com>
9665
9666 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9667 (unw_table_entry): Use unw_word instead of unsigned long.
9668 (_Unwind_FindTableEntry): Likewise.
9669 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9670 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9671 (_Unwind_FindTableEntry): Likewise.
9672 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9673 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9674 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9675 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9676 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9677 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9678 (uw_init_context_1, uw_install_context): Likewise.
9679 (unw_word): Move to unwind-ia64.h
9680
4b12e93d
TG
96812012-03-26 Tristan Gingold <gingold@adacore.com>
9682
9683 * config/vms/vms-ucrt0.c: Update copyright years.
9684 Add a sanity check.
9685 (___gcc_main_flags): Declare.
9686 (__main): Check flags to remap argv and exit code.
9687 * config.host (*-*-*vms*): Adjust extra_parts.
9688 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9689 (crt0.o): Add.
9690
06ea7371
RE
96912012-03-22 Richard Earnshaw <rearnsha@arm.com>
9692
9693 * arm/lib1funcs.asm (ctzsi2): New function.
9694 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9695 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9696 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9697 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9698 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9699 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9700
d82ad50d
AT
97012012-03-21 Andreas Tobler <andreast@fgznet.ch>
9702
9703 * config.host: Add bits to support powerpc64-*-freebsd*.
9704 * config/rs6000/freebsd-unwind.h: New file.
9705 * config/rs6000/t-freebsd64: New file.
9706
b260a8c0
RG
97072012-03-20 Richard Guenther <rguenther@suse.de>
9708
9709 PR gcov-profile/52627
9710 * libgcov.c (init_mx): Fix mutex name.
9711
86286a8a
TG
97122012-03-16 Tristan Gingold <gingold@adacore.com>
9713
9714 * config/ia64/vms-unwind.h: Remove ulong (and replace
9715 it by unw_reg where used). Define unw_reg with __int64.
9716
7888f266
RO
97172012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9718
9719 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9720 Solaris 8 handling.
9721 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9722 Solaris 8 handling.
9723 (sparc_is_sighandler): Likewise.
9724
f155bc64
L
97252012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9726
9727 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9728 <= saved reg size.
9729
d47657bd
RO
97302012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9731
9732 * config/arm/crtn.S: Fix typo.
9733
5bef73a1
RG
97342012-03-13 Richard Guenther <rguenther@suse.de>
9735
9736 * libgcov.c: Remove stdio.h include and NULL un-define.
9737
9c4271f3
RG
97382012-03-13 Richard Guenther <rguenther@suse.de>
9739
9740 PR target/52569
9741 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9742
c6d10e7c
RG
97432012-03-13 Richard Guenther <rguenther@suse.de>
9744
9745 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9746
074a385f
RG
97472012-03-13 Richard Guenther <rguenther@suse.de>
9748
9749 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9750 and __gthread_mutex_init_function definitions.
9751
c4bc5c25
RO
97522012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9753
9754 * config.host (mips*-*-openbsd*): Remove.
9755
5c30094f
RO
97562012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9757
9758 * config.host: Remove alpha*-dec-osf5.1* handling.
9759 * config/alpha/gthr-posix.c: Remove.
9760 * config/alpha/libgcc-osf5.ver: Remove.
9761 * config/alpha/osf5-unwind.h: Remove.
9762 * config/alpha/t-osf-pthread: Remove.
9763 * config/alpha/t-slibgcc-osf: Remove.
9764 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9765 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9766 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9767 * mkmap-flat.awk: Remove osf_export handling.
9768
33e3e24d
RG
97692012-03-12 Richard Guenther <rguenther@suse.de>
9770
9771 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9772 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9773 (__gthread_mutex_init_function): New function.
9774 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9775
9776 PR gcov/49484
9777 * libgcov.c: Include gthr.h.
9778 (__gcov_flush_mx): New global variable.
9779 (init_mx, init_mx_once): New functions.
9780 (__gcov_flush): Protect self with a mutex.
9781 (__gcov_fork): Re-initialize mutex after forking.
9782 * unwind-dw2-fde.c: Change condition under which to use
9783 __GTHREAD_MUTEX_INIT_FUNCTION.
9784
d8aba32a
TG
97852012-03-12 Tristan Gingold <gingold@adacore.com>
9786
9787 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9788 * config/ia64/t-vms: Likewise.
9789
75ffafdc
MH
97902012-03-11 Michael Hope <michael.hope@linaro.org>
9791
4a172156
UB
9792 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9793 for Thumb-2.
75ffafdc 9794
ef6c2c53
WL
97952012-03-07 Walter Lee <walt@tilera.com>
9796
9797 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9798 "arch_atomic_".
9799 (atomic_xor): Rename and move definition to
9800 config/tilepro/atomic.h.
9801 (atomic_nand): Ditto.
9802 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9803 "arch_atomic_".
9804 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9805 (arch_atomic_nand): Ditto.
9806
4e30d980
GJL
98072012-03-07 Georg-Johann Lay <avr@gjlay.de>
9808
9809 PR target/52507
9810 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9811
61108225
GJL
98122012-03-07 Georg-Johann Lay <avr@gjlay.de>
9813
9814 PR target/52505
9815 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9816 from RAM.
9817
b30e10ab
GJL
98182012-03-07 Georg-Johann Lay <avr@gjlay.de>
9819
9820 PR target/52461
9821 PR target/52508
9822 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9823 if RAMPZ affects reading from RAM.
9824 (__tablejump_elpm__): Ditto.
9825 (.xload): Ditto.
9826 (__movmemx_hi): Ditto.
9827 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9828 (__do_global_dtors): Ditto.
9829 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9830 (__movmemx_hi): Ditto.
9831
8993fde4
RH
98322012-03-05 Richard Henderson <rth@redhat.com>
9833
9834 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9835 [ARM] (count_trailing_zeros): Use the builtin.
9836
b7633ee3
KT
98372012-03-01 Kai Tietz <ktietz@redhat.com>
9838
9839 * soft-fp: Imported from glibc upstream.
9840
fbd3340c
KT
98412012-02-28 Kai Tietz <ktietz@redhat.com>
9842
9843 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9844 for mingw-targets as attribute gcc_struct.
9845
e9e053eb
ILT
98462012-02-28 Ian Lance Taylor <iant@google.com>
9847
9848 * generic-morestack.c (__splitstack_releasecontext): Correct call
9849 to __morestack_release_segments.
9850
d80c632e
ST
98512012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9852
9853 PR target/52390
9854 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9855 for __linux__ when removing signals from __morestack_fullmask.
9856
0253a8b1
GJL
98572012-02-23 Georg-Johann Lay <avr@gjlay.de>
9858
9859 PR target/52261
9860 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9861
e10e461e
UW
98622012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9863
9864 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9865 instead of HAVE_INITFINI_ARRAY.
9866 * config/ia64/crtend.S: Likewise.
9867
0c0c6398
KT
98682012-02-20 Kai Tietz <ktietz@redhat.com>
9869
d7470374
KT
9870 PR libstdc++/52300
9871 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9872
0c0c6398
KT
9873 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9874 to w32-unwind.h header.
9875
78c27266
RS
98762012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9877
9878 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9879 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9880 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9881 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9882
5adeb246
RS
98832012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9884
9885 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9886
672ed313
IS
98872012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9888
9889 PR libitm/52220
9890 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9891
e948a1fb
IS
98922012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9893 Patrick Marlier <patrick.marlier@gmail.com>
9894
9895 PR libitm/52220
9896 * config/darwin-crt-tm.c: Generate dummy functions.
9897
6017aed3
IS
98982012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9899 Patrick Marlier <patrick.marlier@gmail.com>
9900
9901 PR libitm/52042
9902 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9903 (__doTMRegistrations): Call it.
e9e053eb 9904 (__doTMdeRegistrations): Likewise.
6017aed3 9905
2da8c1ad 99062012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9907 Anatoly Sokolov <aesok@post.ru>
9908 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9909
9910 PR target/52261
9911 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9912 (__epilogue_restores__): Ditto.
9913
0f952eb4
EB
99142012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9915
9916 PR target/51921
9917 PR target/52205
9918 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9919 Solaris 11 and slightly reformat.
9920 (sparc_is_sighandler): Likewise.
9921
dd552284
WL
99222012-02-14 Walter Lee <walt@tilera.com>
9923
9924 * config.host: Handle tilegx and tilepro.
9925 * config/tilegx/sfp-machine.h: New file.
9926 * config/tilegx/sfp-machine32.h: New file.
9927 * config/tilegx/sfp-machine64.h: New file.
9928 * config/tilegx/t-crtstuff: New file.
9929 * config/tilegx/t-softfp: New file.
9930 * config/tilegx/t-tilegx: New file.
9931 * config/tilepro/atomic.c: New file.
9932 * config/tilepro/atomic.h: New file.
9933 * config/tilepro/linux-unwind.h: New file.
9934 * config/tilepro/sfp-machine.h: New file.
9935 * config/tilepro/softdivide.c: New file.
9936 * config/tilepro/softmpy.S: New file.
9937 * config/tilepro/t-crtstuff: New file.
9938 * config/tilepro/t-tilepro: New file.
9939
b59cbd50
JW
99402012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9941
9942 PR libstdc++/51296
9943 PR libstdc++/51906
9944 * gthr-posix.h: Allow static initializer macros to be disabled.
9945 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9946
6caf807f
CLT
99472012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9948
9949 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9950 Add t-slibgcc-libgcc to tmake_file.
9951 * config/mips/libgcc-mips16.ver: Revert previous patch.
9952 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9953
7d296953
JJ
99542012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9955 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9956
9957 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9958 * config/cr16/crti.S: New file.
9959 * config/cr16/crtlibid.S: New file.
9960 * config/cr16/crtn.S: New file.
9961 * config/cr16/lib1funcs.S: New file.
9962 * config/cr16/t-cr16: New file.
9963 * config/cr16/t-crtlibid: New file.
9964 * config/cr16/unwind-dw2.h: New file.
9965 * config/cr16/unwind-cr16.c: New file.
9966 * config/cr16/divmodhi3.c: New file.
9967
8ef03aa7
AM
99682012-01-25 Alan Modra <amodra@gmail.com>
9969
9970 * config/rs6000/t-linux64: Delete. Move..
9971 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9972 * config/rs6000/t-linux: ..and libgcc flags to here.
9973
daecebc8
DR
99742012-01-22 Douglas B Rupp <rupp@gnat.com>
9975
9976 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9977 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9978 * configure: Regenerate.
9979
ddaf8125
RS
99802012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9981 Richard Sandiford <rdsandiford@googlemail.com>
9982
9983 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9984 * config/mips/mips16.S (__mips16_rdhwr): New function.
9985 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9986
2cd8b32c
NS
99872012-01-11 Nathan Sidwell <nathan@acm.org>
9988
9989 * libgcov.c (__gcov_init): Ignore objects with no functions.
9990
cba300dd
GJL
99912012-01-10 Georg-Johann Lay <avr@gjlay.de>
9992
9993 PR target/49868
9994 Extend __pgmx semantics to linearize memory.
9995 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9996 * config/avr/lib1funcs.S (__xload_1): New function.
9997 (__movmemx_qi, __movmemx_hi): New functions.
9998 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9999 semantics.
9ffaf4bc 10000
3d137660
EB
100012012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10002
10003 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
10004 purported sigacthandler address isn't null before dereferencing it.
10005 (sparc_is_sighandler): Likewise.
10006
bf4db96c
EB
100072012-01-09 Eric Botcazou <ebotcazou@adacore.com>
10008
10009 PR ada/41929
10010 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
10011 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
10012 (sparc_is_sighandler): Likewise.
10013 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
10014
1ab3568b
TG
100152012-01-06 Tristan Gingold <gingold@adacore.com>
10016
10017 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
10018 compatibility thunks...
10019 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
10020 (crtbeginS.o, crtendS.o): ... and these to ...
10021 * config/ia64/t-ia64-elf: ... this new file.
10022 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
10023 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
10024
925b0ed8
AK
100252012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10026
10027 * configure: Regenerate.
10028 * config/s390/t-crtstuff: Remove -fPIC.
10029
a99ad737
JW
100302012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
10031
10032 PR bootstrap/51006
10033 * enable-execute-stack-mprotect.c (getpagesize): Do not define
10034 for NetBSD.
10035
884f56d1
GJL
100362012-01-02 Georg-Johann Lay <avr@gjlay.de>
10037
10038 PR target/51345
10039 * config/avr/lib1funcs.S: Remove FIXME comments.
10040 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10041
8c57e547
GJL
100422012-01-02 Georg-Johann Lay <avr@gjlay.de>
10043
10044 Implement light-weight DImode support.
10045 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10046 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10047 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10048 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10049
04dbc287
NS
100502011-12-30 Nathan Sidwell <nathan@acm.org>
10051
10052 * libgcov.c (gcov_crc32): Remove global var.
10053 (free_fn_data): New function.
10054 (buffer_fn_data): Pass in filename, more robust error recovery.
10055 (crc32_unsigned): New function.
10056 (gcov_exit): More robust detection of new program. More robust
10057 error recovery.
10058 (__gcov_init): Do not update program's crc here.
10059
8e1d97d4
TG
100602011-12-21 Tristan Gingold <gingold@adacore.com>
10061
10062 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10063
9ffaf4bc
ILT
100642011-12-21 Ian Lance Taylor <iant@google.com>
10065
10066 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10067
a0c8d0c1
ILT
100682011-12-20 Ian Lance Taylor <iant@google.com>
10069
10070 * config/i386/morestack.S (__morestack_non_split): If there is
10071 enough stack space already, don't split. Ask for more stack space
10072 than we required.
10073
69048898
SDJ
100742011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10075
10076 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10077 `sys/sdt.h'.
10078 (_Unwind_DebugHook): New function.
10079 (uw_restore_core_regs): New define.
10080 (unwind_phase2): Use uw_restore_core_regs instead of
10081 restore_core_regs.
10082 (unwind_phase2_forced): Likewise.
10083 (__gnu_Unwind_Resume): Likewise.
10084
1bb4b6a3
UB
100852011-12-20 Uros Bizjak <ubizjak@gmail.com>
10086
10087 * config/alpha/linux-unwind.h: Update copyright years.
10088 (MD_FROB_UPDATE_CONTEXT): New define.
10089 (alpha_frob_update_context): New function.
10090
eb028768
RS
100912011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10092
10093 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10094 tmake_file rather replacing it.
10095
6a2045bf
IS
100962011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10097
10098 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 10099 function is not used for PPC64.
6a2045bf
IS
10100 (save_world): Amend comments. Update the VRsave mask to reflect the
10101 saved regs.
10102 (rest_world): Update comments, do not clobber r10, do not use r8.
10103 (eh_rest_world_r10): Amend comments, do not use r8.
10104 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10105 no longer used, move restore of CR and target address to the end of
10106 the routine.
10107
a13780a6
L
101082011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10111 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10112
d7288dfb
GJL
101132011-12-14 Georg-Johann Lay <avr@gjlay.de>
10114
10115 PR target/49313
10116 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10117 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10118
8d2c862d
EB
101192011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10120
10121 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10122
3447cae6
GJL
101232011-12-09 Georg-Johann Lay <avr@gjlay.de>
10124
10125 PR target/49313
10126 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10127 * config/avr/lib1funcs.S (__muldi3): New function.
10128
806fc6aa
AP
101292011-12-06 Andrew Pinski <apinski@cavium.com>
10130
10131 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10132 size of func_ptr.
10133 (__frame_dummy_init_array_entry): Likewise.
10134
28c5e6b5
GJL
101352011-12-06 Georg-Johann Lay <avr@gjlay.de>
10136
10137 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10138
10139 PR target/51345
10140 PR target/51002
10141 * config/avr/lib1funcs.S (__prologue_saves__,
10142 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10143 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10144
8f90394a
IS
101452011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10146
10147 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10148
06dd33ac
JDA
101492011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10150
10151 PR other/51272
10152 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10153 (_ITM_deregisterTMCloneTable): Likewise.
10154 (__register_frame_info): Fix unused warning.
10155 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10156 pthread_default_stacksize_np): Likewise.
10157 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 10158
85b8555e
DD
101592011-11-29 DJ Delorie <dj@redhat.com>
10160
10161 * config.host (rl78-*-elf): New case.
10162 * config/rl78: New directory for the Renesas RL78.
10163
4d5ae4ea
BS
101642011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10165
10166 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10167 formatting.
10168
f9c55897
RO
101692011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10170
10171 PR other/51022
10172 * config/rs6000/t-savresfgpr: New file.
10173 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10174 $(srcdir)/config/rs6000/eabi.S.
10175 * config/rs6000/t-ppccomm-ldbl: Remove.
10176 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10177 tmake_file.
10178 (powerpc-*-eabispe*): Likewise.
10179 (powerpc-*-eabi*): Likewise.
10180 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10181 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10182 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10183 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10184 tmake_file.
10185 (powerpc-*-eabisim*): Likewise.
10186 (powerpc-*-elf*): Likewise.
10187 (powerpc-*-eabialtivec*): Likewise.
10188 (powerpc-xilinx-eabi*): Likewise.
10189 (powerpc-*-rtems*): Likewise.
10190 (powerpcle-*-elf*): Likewise.
10191 (powerpcle-*-eabisim*): Likewise.
10192 (powerpcle-*-eabi*): Likewise.
10193
a01207c4
ILT
101942011-11-27 Ian Lance Taylor <iant@google.com>
10195
10196 * generic-morestack.c (__splitstack_find): Check for NULL old
10197 stack value.
10198 (__splitstack_resetcontext): New function.
10199 (__splitstack_releasecontext): New function.
10200 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10201
2b0b8ab2
IS
102022011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10203
10204 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10205
c1d8101c
IS
102062011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10207
10208 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10209
8b281334
RH
102102011-11-26 Richard Henderson <rth@redhat.com>
10211
10212 * config/m68k/linux-atomic.c: New file.
10213 * config/m68k/t-linux: New file.
10214 * config.host (m68k-uclinux, m68k-linux): Use it.
10215
7546aa9d
RH
102162011-11-26 Richard Henderson <rth@redhat.com>
10217
10218 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10219 (__TMC_END__): Only declare if hidden is available; in the definition,
10220 if hidden is unavailable add a null record.
10221 (deregister_tm_clones, register_tm_clones): New.
10222 (__do_global_dtors_aux, frame_dummy): Use them.
10223 (__do_global_dtors, __do_global_ctors_1): Likewise.
10224
e2362f5d
IS
102252011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10226
10227 * config/darwin-crt-tm.c: New file.
10228 * config.host (darwin): Build crttms.o crttme.o to provide
10229 startup and shutdown for tm clones.
10230 * config/t-darwin (crttms.o): New build rule.
10231 (crttme.o): Likewise.
10232
6685dd96
HPN
102332011-11-21 Hans-Peter Nilsson <hp@axis.com>
10234
10235 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10236 et al.
10237
b0dc7e4c
RH
102382011-11-21 Richard Henderson <rth@redhat.com>
10239
10240 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10241 (__TMC_LIST__, __TMC_END__): New.
10242 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10243 (__do_global_dtors): Likewise.
10244 (frame_dummy): Call _ITM_registerTMCloneTable.
10245 (__do_global_ctors_1): Likewise.
10246
d4b4b542
RO
102472011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10248
10249 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10250 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10251 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10252 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10253 * config/i386/t-darwin64: Remove.
10254 * config/sh/t-netbsd (LIB2ADD): Remove.
10255
989bdb74
GJL
102562011-11-21 Georg-Johann Lay <avr@gjlay.de>
10257
10258 PR target/49313
10259 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10260 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10261 * config/avr/lib1funcs.S (wmov): New assembler macro.
10262 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10263 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10264 (__udivmod64): New function.
10265 (__negdi2): New function.
10266
515a0cfc
GP
102672011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10268
10269 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10270 *-*-freebsd*aout*): Remove.
10271
0115d17f
HPN
102722011-11-20 Hans-Peter Nilsson <hp@axis.com>
10273
10274 * static-object.mk (c_flags-$o): Save c_flags.
10275 ($(base)$(objext)): Use it.
10276
93aeb62b
SE
102772011-11-18 Steve Ellcey <sje@cup.hp.com>
10278
10279 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10280
7bc6df2c
GJL
102812011-11-18 Georg-Johann Lay <avr@gjlay.de>
10282
10283 PR target/49868
10284 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10285 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10286 New functions.
10287
425d737b
MGD
102882011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10289
10290 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10291 functions.
1bb4b6a3 10292 (aeabi_uidivmod): Likewise.
425d737b
MGD
10293 (umodsi3): Likewise.
10294 (divsi3): Likewise.
10295 (aeabi_idivmod): Likewise.
10296 (modsi3): Likewise.
10297
f2a176dc
TG
102982011-11-16 Tristan Gingold <gingold@adacore.com>
10299
10300 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10301
7c209481
GJL
103022011-11-15 Georg-Johann Lay <avr@gjlay.de>
10303
10304 PR target/49868
10305 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10306 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10307
9dfd5832
JDA
103082011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10309
10310 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10311 tmake_file list.
10312 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10313 * config/pa/t-stublib64: Delete.
10314
f77dca5d
RH
103152011-11-12 Richard Henderson <rth@redhat.com>
10316
10317 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10318 cast the pointer argument to _Unwind_SetGRPtr.
10319
902828f0
RO
103202011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10321
10322 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10323
e14304ef
ILT
103242011-11-09 Ian Lance Taylor <iant@google.com>
10325
10326 * generic-morestack.c: Include <string.h>.
10327 (uintptr_type): Define.
10328 (struct initial_sp): Add dont_block_signals field. Reduce size of
10329 extra array by 1.
10330 (allocate_segment): Set prev field to NULL. Don't set
10331 __morestack_current_segment or __morestack_segments.
10332 (__generic_morestack): Update current->prev and *pp after calling
10333 allocate_segment.
10334 (__morestack_block_signals): Don't do anything if
10335 dont_block_signals is set.
10336 (__morestack_unblock_signals): Likewise.
10337 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10338 uintptr_type.
10339 (__splitstack_block_signals): New function.
10340 (enum __splitstack_content_offsets): Define.
10341 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10342 (__splitstack_makecontext): New function.
10343 (__splitstack_block_signals_context): New function.
10344 (__splitstack_find_context): New function.
10345 * config/i386/morestack.S (__morestack_get_guard): New function.
10346 (__morestack_set_guard, __morestack_make_guard): New functions.
10347 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10348
e3d871e4
RO
103492011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10350
10351 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10352 (i[34567]86-*-mingw*): ... here.
10353 (x86_64-*-mingw*): ... here.
10354
e55cef40
RO
103552011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10356
10357 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10358
5366b186
NS
103592011-11-07 Nathan Sidwell <nathan@acm.org>
10360
10361 * libgcov.c (struct gcov_fn_buffer): New struct.
10362 (buffer_fn_data): New helper.
10363 (gcov_exit): Rework for new gcov data structures.
10364
74155a6f
GJL
103652011-11-07 Georg-Johann Lay <avr@gjlay.de>
10366
10367 PR target/49313
10368 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10369
200feb07
RO
103702011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10371
10372 * config.host (tmake_file): Correct comment.
10373 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10374 t-libgcc-pic.
10375 (bfin*-uclinux*): Likewise.
10376 (bfin*-linux-uclibc*): Likewise.
10377 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10378
10379 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10380 assigning.
10381 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10382 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10383 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10384 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10385 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10386 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10387 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10388 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10389 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10390 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10391 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10392 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10393 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10394
10395 * config/bfin/t-elf: Remove.
10396 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10397
c9cd1a07
RO
103982011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10399
10400 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10401 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10402 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10403 (lm32-*-elf*): ... this.
10404 (lm32-*-rtems*): ... and this.
10405 Add to tmake_file.
10406 (m32r-*-rtems*): Add to tmake_file.
10407 (moxie-*-rtems*): Likewise.
10408 (sparc-*-rtems*): Likewise.
10409 Remove t-rtems from tmake_file.
10410 (sparc64-*-rtems*): Likewise.
10411 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10412 instead.
10413
9fbcc75d
RO
104142011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10415
10416 PR bootstrap/50982
10417 * config/gthr-posix.h: Move ...
10418 * gthr-posix.h: ... here.
10419 * config/gthr-lynx.h: Reflect this.
10420 * config/gthr-vxworks.h: Likewise.
10421 * config/rs6000/gthr-aix.h: Likewise.
10422 * configure.ac (target_thread_file): Likewise.
10423 * configure: Regenerate.
10424
76644b68
SH
104252011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10426
10427 * config.host (arm*-*-rtemseabi*): New target.
10428
5e490f2a
JDA
104292011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10430
10431 PR other/50991
10432 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10433 extra-parts.
10434
feeeff5c
JR
104352011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10436
10437 * config.host (epiphany-*-elf*): New configuration.
10438 * config/epiphany: New Directory.
10439
d618bb2c
RC
104402011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10441
10442 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10443 * config/avr/t-rtems: New.
10444 Filter out _exit from LIB1ASMFUNCS.
10445
1bb6f778
DM
104462011-11-04 David S. Miller <davem@davemloft.net>
10447
10448 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10449 * configure: Rebuild.
10450
9a7f7422
AK
104512011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10452
10453 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10454 variable.
10455
e4fe948a
GJL
104562011-11-04 Georg-Johann Lay <avr@gjlay.de>
10457
10458 PR target/50931
10459 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10460 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10461
7084e037
JS
104622011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10463
10464 PR target/50989
10465 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10466
1a032034
RO
104672011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10468
10469 * config/c6x/t-elf (LIB2ADDEH): Set.
10470 * config/c6x/t-c6x-elf: Remove.
10471
d385f772
RO
104722011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10473
10474 * config/i386/sol2-ci.S: Rename to ...
10475 * config/i386/crti.S: ... this.
10476 * config/i386/sol2-cn.S: Rename to ...
10477 * config/i386/crtn.S: ... this.
10478 * config/sparc/sol2-ci.S: Rename to ...
10479 * config/sparc/crti.S: ... this.
10480 * config/sparc/sol2-cn.S: Rename to ...
10481 * config/sparc/crtn.S: ... this.
10482 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10483 (crti.o, crtn.o): Remove.
10484
1ba878a9
TG
104852011-11-04 Tristan Gingold <gingold@adacore.com>
10486
10487 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10488
02750c15
KK
104892011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10490
10491 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10492
bf86b067
HPN
104932011-11-03 Hans-Peter Nilsson <hp@axis.com>
10494
10495 * config.host (crisv32-*-none, cris-*-none): Remove.
10496 (crisv32-*-elf): Append to tmake_file, don't just set it.
10497 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10498
d0bc53bd
RO
104992011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10500
10501 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10502 (ecrtn$(objext)): Likewise.
10503 (ncrti$(objext)): Likewise.
10504 (ncrtn$(objext)): Likewise.
10505
036da830
AS
105062011-11-03 Andreas Schwab <schwab@redhat.com>
10507
10508 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10509
d2a7d041
DM
105102011-11-02 David S. Miller <davem@davemloft.net>
10511
10512 * configure.ac: Set host_address on sparc too.
10513 * configure: Regenerate.
10514 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10515 based upon host_address.
10516 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10517
af8ed618
JM
105182011-11-02 Jason Merrill <jason@redhat.com>
10519
10520 * config/rs6000/t-ppccomm: Add missing \.
10521
5d1c8e77
RO
105222011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10523
10524 * gthr-single.h, gthr.h: New files.
10525 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10526 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10527 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10528 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10529 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10530 * configure.ac (thread_header): New variable.
10531 Set it depending on target_thread_file.
10532 (gthr-default.h): Link from $thread_header.
10533 * configure: Regenerate.
10534 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10535
852b75ed
RO
105362011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10537
10538 * configure.ac (tm_file_): New variable.
10539 Determine from tm_file.
10540 (tm_file, tm_defines): Substitute.
10541 * configure: Regenerate.
10542 * mkheader.sh: New file.
10543 * Makefile.in (clean): Remove libgcc_tm.h.
10544 ($(objects)): Depend on libgcc_tm.h.
10545 (libgcc_tm_defines, libgcc_tm_file): New variables.
10546 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10547 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10548 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10549 ($(extra-parts)): Depend on libgcc_tm.h.
10550 * config.host (tm_defines, tm_file): New variable.
10551 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10552 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10553 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10554 (avr-*-rtems*): Likewise.
10555 (avr-*-*): Likewise.
10556 (frv-*-elf): Likewise.
10557 (frv-*-*linux*): Likewise.
10558 (h8300-*-rtems*): Likewise.
10559 (h8300-*-elf*): Likewise.
10560 (i[34567]86-*-darwin*): Likewise.
10561 (x86_64-*-darwin*): Likewise.
10562 (rx-*-elf): Likewise.
10563 (tic6x-*-uclinux): Likewise.
10564 (tic6x-*-elf): Likewise.
10565 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10566 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10567 * config/i386/cygming-crtbegin.c: Likewise.
10568 * config/i386/cygming-crtend.c: Likewise.
10569 * config/ia64/fde-vms.c: Likewise.
10570 * config/ia64/unwind-ia64.c: Likewise.
10571 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10572 * config/rs6000/darwin-fallback.c: Likewise.
10573 * config/stormy16/lib2funcs.c: Likewise.
10574 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10575 * crtstuff.c: Likewise.
10576 * dfp-bit.h: Likewise.
10577 * emutls.c: Likewise.
10578 * fixed-bit.c: Likewise.
10579 * fp-bit.c: Likewise.
10580 * generic-morestack-thread.c: Likewise.
10581 * generic-morestack.c: Likewise.
10582 * libgcc2.c: Likewise.
10583 * libgcov.c: Likewise.
10584 * unwind-dw2-fde-dip.c: Likewise.
10585 * unwind-dw2-fde.c: Likewise.
10586 * unwind-dw2.c: Likewise.
10587 * unwind-sjlj.c: Likewise.
10588
f9989b51
RO
105892011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10590
10591 * configure.ac: Include ../config/picflag.m4.
10592 (GCC_PICFLAG): Call it.
10593 Substitute.
10594 * configure: Regenerate.
10595 * Makefile.in (gcc_srcdir): Remove.
10596 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10597 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10598 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10599 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10600 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10601 Use $<.
10602 Remove comment.
10603 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10604 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10605 to refer to libgcc2.c.
10606 Use $<.
10607 * config/darwin-64.c: New file.
10608 * config/darwin-crt3.c: Remove comment.
10609 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10610 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10611 config/udivmodsi4.c: New files.
10612 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10613 config/memset.c: New files.
10614 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10615 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10616 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10617 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10618 * config/t-openbsd-thread: New file.
10619 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10620 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10621 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10622 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10623 qrnnd.S.
10624 Adapt filename.
10625 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10626 to refer to gthr-posix.c.
10627 * config/alpha/t-vms (LIB2ADD): Set.
10628 * config/alpha/vms-gcc_shell_handler.c: New file.
10629 * config/arm/bpabi.c, config/arm/fp16.c,
10630 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10631 config/arm/unaligned-funcs.c: New files.
10632 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10633 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10634 * config/arm/t-linux: Likewise.
10635 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10636 * config/arm/t-netbsd: New file.
10637 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10638 * config/arm/t-symbian (LIB2ADD_ST): Set.
10639 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10640 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10641 * config/bfin/t-elf: New file.
10642 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10643 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10644 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10645 config/c6x/ltf.c: New files.
10646 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10647 (HOST_LIBGCC2_CFLAGS): Set.
10648 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10649 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10650 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10651 New files.
10652 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10653 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10654 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10655 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10656 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10657 files.
10658 * config/frv/t-frv (LIB2ADD): Set.
10659 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10660 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10661 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10662 config/h8300/popcounthi2.c: New files.
10663 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10664 * config/i386/gthr-win32.c: New file.
10665 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10666 * config/i386/t-cygwin: Likewise.
10667 * config/i386/t-darwin, config/i386/t-darwin64,
10668 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10669 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10670 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10671 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10672 * config/ia64/quadlib.c: New file.
10673 * config/ia64/t-hpux (LIB2ADD): Set.
10674 * config/ia64/t-ia64: Add comment.
10675 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10676 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10677 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10678 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10679 * config/m32c/t-m32c (LIB2ADD): Set.
10680 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10681 * config/m32r/t-m32r: Likewise.
10682 * config/m68k/fpgnulib.c: New file.
10683 * config/m68k/t-floatlib (LIB2ADD): Set.
10684 (xfgnulib.c): New target.
10685 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10686 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10687 * config/mep/t-mep (LIB2ADD): Set.
10688 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10689 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10690 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10691 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10692 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10693 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10694 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10695 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10696 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10697 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10698 New files.
10699 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10700 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10701 * config/pa/fptr.c, config/pa/lib2funcs.S,
10702 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10703 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10704 (LIB2ADD, LIB2ADD_ST): Set.
10705 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10706 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10707 Set.
10708 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10709 * config/pdp11/t-pdp11: New file.
10710 * config/picochip/libgccExtras/adddi3.S,
10711 config/picochip/libgccExtras/ashlsi3.S,
10712 config/picochip/libgccExtras/ashrsi3.S,
10713 config/picochip/libgccExtras/clzsi2.S,
10714 config/picochip/libgccExtras/cmpsi2.S,
10715 config/picochip/libgccExtras/divmod15.S,
10716 config/picochip/libgccExtras/divmodhi4.S,
10717 config/picochip/libgccExtras/divmodsi4.S,
10718 config/picochip/libgccExtras/lshrsi3.S,
10719 config/picochip/libgccExtras/parityhi2.S,
10720 config/picochip/libgccExtras/popcounthi2.S,
10721 config/picochip/libgccExtras/subdi3.S,
10722 config/picochip/libgccExtras/ucmpsi2.S,
10723 config/picochip/libgccExtras/udivmodhi4.S,
10724 config/picochip/libgccExtras/udivmodsi4.S: New files.
10725 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10726 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10727 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10728 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10729 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10730 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10731 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10732 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10733 files.
10734 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10735 (HOST_LIBGCC2_CFLAGS): Set.
10736 * config/rs6000/t-darwin64: New file.
10737 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10738 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10739 * config/rs6000/t-ppccomm (LIB2ADD): Add
10740 $(srcdir)/config/rs6000/tramp.S.
10741 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10742 Add $(srcdir)/config/rs6000/eabi.S.
10743 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10744 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10745 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10746 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10747 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10748 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10749 * config/rs6000/tramp.S: New file.
10750 * config/s390/t-tpf: Remove.
10751 * config/sh/linux-atomic.S: New file.
10752 * config/sh/t-linux (LIB2ADD): Set.
10753 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10754 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10755 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10756 to unwind-dw2.c.
10757 (HOST_LIBGCC2_CFLAGS): Set.
10758 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10759 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10760 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10761 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10762 config/spu/mfc_multi_tag_release.c,
10763 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10764 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10765 config/spu/multi3.c: New files.
10766 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10767 (HOST_LIBGCC2_CFLAGS): Set.
10768 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10769 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10770 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10771 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10772 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10773 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10774 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10775 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10776 config/stormy16/umodsi3.c: New files.
10777 * config/xtensa/lib2funcs.S: New file.
10778 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10779 * config/xtensa/t-xtensa (LIB2ADD): Set.
10780 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10781 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10782 Add t-freebsd-thread to tmake_file for posix threads.
10783 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10784 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10785 (*-*-lynxos*): Likewise.
10786 (*-*-netbsd*): Likewise.
10787 (*-*-openbsd*): Likewise.
10788 Add t-openbsd-thread to tmake_file for posix threads.
10789 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10790 (*-*-vxworks*): Set tmake_file.
10791 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10792 (alpha*-*-freebsd*): Likewise.
10793 (alpha*-*-netbsd*): Likewise.
10794 (alpha*-*-openbsd*): Likewise.
10795 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10796 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10797 (alpha*-dec-*vms*): Likewise.
10798 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10799 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10800 (bfin*-uclinux*): Likewise.
10801 (bfin*-linux-uclibc*): Likewise.
10802 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10803 (crisv32-*-none): Likewise.
10804 (cris-*-elf): Likewise.
10805 (cris-*-none): Likewise.
10806 (cris-*-linux*, crisv32-*-linux*): Likewise.
10807 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10808 tmake_file.
10809 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10810 tmake_file.
10811 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10812 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10813 (x86_64-*-elf*): Likewise.
10814 (i[34567]86-*-nto-qnx*): Likewise.
10815 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10816 win32 threads.
10817 (x86_64-*-mingw*): Likewise.
10818 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10819 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10820 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10821 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10822 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10823 tmake_file.
10824 (mipsisa64sr71k-*-elf*): Likewise.
10825 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10826 (mips-*-elf*, mipsel-*-elf*): Likewise.
10827 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10828 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10829 (mips*-*-rtems*): Likewise.
10830 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10831 to tmake_file.
10832 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10833 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10834 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10835 (spu-*-elf*): Likewise.
10836 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10837
45b86625
RO
108382011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10839
10840 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10841 $(srcdir) to refer to $(LIB1ASMSRC).
10842 Use $<.
10843 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10844 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10845 config/arm/lib1funcs.S: New files.
10846 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10847 * config/arm/t-arm: New file.
10848 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10849 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10850 config/arm/t-strongarm-elf: New files.
10851 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10852 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10853 * config/avr/lib1funcs.S: New file.
10854 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10855 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10856 * config/c6x/lib1funcs.S: New file.
10857 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10858 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10859 * config/frv/lib1funcs.S: New file.
10860 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10861 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10862 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10863 * config/ia64/__divxf3.asm: Rename to ...
10864 * config/ia64/__divxf3.S: ... this.
10865 Adapt lib1funcs.asm filename.
10866 * config/ia64/_fixtfdi.asm: Rename to ...
10867 * config/ia64/_fixtfdi.S: ... this.
10868 Adapt lib1funcs.asm filename.
10869 * config/ia64/_fixunstfdi.asm: Rename to ...
10870 * config/ia64/_fixunstfdi.S: ... this.
10871 Adapt lib1funcs.asm filename.
10872 * config/ia64/_floatditf.asm: Rename to ...
10873 * config/ia64/_floatditf.S: ... this.
10874 Adapt lib1funcs.asm filename.
10875 * config/ia64/lib1funcs.S: New file.
10876 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10877 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10878 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10879 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10880 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10881 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10882 * config/mep/lib1funcs.S: New file.
10883 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10884 * config/mips/mips16.S: New file.
10885 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10886 * config/pa/milli64.S: New file.
10887 * config/pa/t-linux, config/pa/t-linux64: New files.
10888 * config/picochip/lib1funcs.S: New file.
10889 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10890 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10891 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10892 * config/sh/t-netbsd: New file.
10893 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10894 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10895 * config/sh/t-sh64: New file.
10896 * config/sparc/lb1spc.S: New file.
10897 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10898 filename.
10899 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10900 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10901 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10902 config/xtensa/lib1funcs.S: New files.
10903 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10904 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10905 tmake_file.
10906 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10907 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10908 (arm*-*-linux*): Likewise.
10909 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10910 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10911 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10912 (arm*-*-ecos-elf): Likewise.
10913 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10914 (arm*-*-rtems*): Likewise.
10915 (arm*-*-elf): Likewise.
10916 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10917 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10918 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10919 (bfin*-uclinux*): Likewise.
10920 (bfin*-linux-uclibc*): Likewise.
10921 (bfin*-rtems*): Likewise.
10922 (bfin*-*): Likewise.
10923 (fido-*-elf): Merge into m68k-*-elf*.
10924 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10925 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10926 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10927 (h8300-*-elf*): Likewise.
10928 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10929 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10930 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10931 (i[34567]86-*-mingw*): Likewise.
10932 (x86_64-*-mingw*): Likewise.
10933 (i[34567]86-*-interix3*): Likewise.
10934 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10935 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10936 (m68k-*-elf*): Also handle fido-*-elf.
10937 Add m68k/t-floatlib to tmake_file.
10938 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10939 (m68k-*-linux*): Likewise.
10940 (m68k-*-rtems*): Likewise.
10941 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10942 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10943 sh64*-*-*.
10944 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10945 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10946 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10947 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10948 sh/t-netbsd to tmake_file.
10949 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10950 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10951 (sh-wrs-vxworks): Likewise.
10952 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10953 *-leon[3-9]*.
10954 (v850*-*-*): Add v850/t-v850 to tmake_file.
10955 (vax-*-linux*): Add vax/t-linux to tmake_file.
10956 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10957
5f73c6cc
RO
109582011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10959
10960 * crtstuff.c: New file.
10961 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10962 (CRTSTUFF_T_CFLAGS): Define.
10963 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10964 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10965 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10966 crtstuff.c.
10967 Use $<.
10968 (crtbeginT.o): Use $(objext).
10969 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10970 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10971 (gcc-extra-parts): Remove.
10972 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10973 Set extra_parts.
10974 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10975 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10976 Add t-crtstuff-pic to tmake_file.
10977 (*-*-lynxos*): New case.
10978 Set tmake_file, extra_parts.
10979 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10980 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10981 *-*-netbsdelf[2-9]*.
10982 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10983 (*-*-rtems*): Set extra_parts.
10984 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10985 (*-*-uclinux*): New case.
10986 Set extra_parts.
10987 (*-*-vms*): New case.
10988 Set tmake_file, extra_parts.
10989 (*-*-elf): Set extra_parts.
10990 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10991 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10992 vms/t-vms64.
10993 Set extra_parts.
10994 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10995 Set extra_parts.
10996 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10997 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10998 (arm-wrs-vxworks): Append to tmake_file.
10999 Set extra_parts.
11000 (arm*-*-uclinux*): Set extra_parts.
11001 (arm*-*-ecos-elf): Likewise.
11002 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
11003 arm*-*-eabi*.
11004 (arm*-*-rtems*): Set extra_parts.
11005 (arm*-*-elf): Likewise.
11006 (avr-*-rtems*): Clear extra_parts.
11007 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
11008 Set extra_parts.
11009 (bfin*-uclinux*): Likewise.
11010 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
11011 (bfin*-rtems*): Append to tmake_file.
11012 Set extra_parts.
11013 (bfin*-*): Likewise.
11014 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
11015 (crisv32-*-elf): ... this.
11016 (crisv32-*-none): ... this.
11017 (cris-*-elf, cris-*-none): New cases.
11018 Add cris/t-elfmulti to tmake_file.
11019 (fr30-*-elf): Append to tmake_file.
11020 Set extra_parts.
11021 (frv-*-elf): Append to tmake_file, add frv/t-frv.
11022 Set extra_parts.
11023 (h8300-*-rtems*): Append to tmake_file.
11024 Set extra_parts.
11025 (h8300-*-elf*): Likewise.
11026 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
11027 Set extra_parts.
11028 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
11029 Set extra_parts.
11030 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
11031 (x86_64-*-elf*): Likewise.
11032 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
11033 (x86_64-*-freebsd*): Likewise.
11034 (x86_64-*-netbsd*): Likewise.
11035 (i[34567]86-*-linux*): Likewise.
11036 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11037 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11038 (x86_64-*-linux*): Likewise.
11039 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11040 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11041 tmake_file.
11042 Set extra_parts.
11043 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11044 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11045 Append to extra_parts, remove crtbegin.o, crtend.o.
11046 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11047 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11048 crtend.o, crtbeginS.o, crtendS.o.
11049 (ia64*-*-linux*): Comment extra_parts.
11050 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11051 Set extra_parts.
11052 (iq2000*-*-elf*): Clear extra_parts.
11053 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11054 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11055 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11056 (m32r-*-rtems*): ... this.
11057 Add m32r/t-m32r to tmake_file.
11058 (m68k-*-elf*): Add t-crtin to tmake_file.
11059 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11060 (mcore-*-elf): Likewise.
11061 (microblaze*-*-*): Set extra_parts.
11062 (mips*-sde-elf*): New case.
11063 Set tmake_file, extra_parts.
11064 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11065 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11066 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11067 tmake_file.
11068 Set extra_parts.
11069 (mipsisa64sr71k-*-elf*): Likewise.
11070 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11071 (mips-*-elf*, mipsel-*-elf*): Likewise.
11072 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11073 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11074 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11075 (mips*-*-rtems*): Likewise.
11076 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11077 (moxie-*-*): Split into ...
11078 (moxie-*-elf, moxie-*-uclinux*): ... this.
11079 Add to extra_parts, remove crtbegin.o, crtend.o.
11080 (moxie-*-rtems*): New case.
11081 Set tmake_file.
11082 Clear extra_parts.
11083 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11084 Set extra_parts.
11085 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11086 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11087 tmake_file.
11088 Set extra_parts.
11089 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11090 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11091 Set extra_parts.
11092 (powerpc-*-eabisim*): Likewise.
11093 (powerpc-*-elf*): Likewise.
11094 (powerpc-*-eabialtivec*): Likewise.
11095 (powerpc-xilinx-eabi*): Likewise.
11096 (powerpc-*-eabi*): Likewise.
11097 (powerpc-*-rtems*): Likewise.
11098 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11099 tmake_file.
11100 Set extra_parts.
11101 (powerpc-*-lynxos*): Add to tmake_file.
11102 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11103 rs6000/t-crtstuff, t-crtstuff-pic.
11104 Set extra_parts.
11105 (powerpcle-*-eabisim*): Likewise.
11106 (powerpcle-*-eabi*): Likewise.
11107 (rx-*-elf): Remove extra_parts.
11108 (s390x-ibm-tpf*): Set extra_parts.
11109 (score-*-elf): Set extra_parts.
11110 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11111 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11112 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11113 (sh64l*-*-netbsd*): Split into ...
11114 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11115 Add t-crtstuff-pic to tmake_file.
11116 Set extra_parts.
11117 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11118 Set extra_parts.
11119 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11120 (sparc-*-elf*): Remove t-crtin from tmake_file.
11121 Add to extra_parts, remove crtbegin.o, crtend.o.
11122 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11123 (sparc64-*-linux*): Likewise.
11124 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11125 Add to extra_parts, remove crtbegin.o, crtend.o.
11126 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11127 Add to extra_parts, remove crtbegin.o, crtend.o.
11128 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11129 Add to extra_parts, remove crtbegin.o, crtend.o.
11130 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11131 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11132 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11133 Set extra_parts.
11134 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11135 Set extra_parts.
11136 (tic6x-*-*): Change to ...
11137 (tic6x-*-elf): ... this.
11138 Set extra_parts.
11139 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11140 Set extra_parts.
11141 (am33_2.0-*-linux*): Add comment.
11142 (mep*-*-*): Add mep/t-mep to tmake_file.
11143 Set extra_parts.
11144 * config/alpha/t-vms: New file.
11145 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11146 * config/arm/crti.S, config/arm/crtn.S: New files.
11147 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11148 * config/bfin/crtlibid.S: New file.
11149 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11150 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11151 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11152 (crti.o, crtin.o): New rules.
11153 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11154 * config/c6x/t-uclinux: New file.
11155 * config/cris/t-elfmulti: New file.
11156 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11157 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11158 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11159 * config/frv/t-frv: New file.
11160 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11161 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11162 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11163 New files.
11164 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11165 refer to cygming-crtbegin.c, cygming-crtend.c.
11166 Use $<.
11167 * config/i386/t-nto: New file.
11168 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11169 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11170 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11171 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11172 Use .S extension.
11173 Use $<.
11174 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11175 (crtinitS.o): New rule.
11176 * config/ia64/vms-crtinit.S: New file.
11177 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11178 * config/m32r/initfini.c: New file.
11179 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11180 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11181 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11182 * config/mep/t-mep: New file.
11183 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11184 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11185 * config/mips/crti.S, config/mips/crtn.S: New files.
11186 * config/mips/t-crtstuff: New file.
11187 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11188 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11189 (CUSTOM_CRTIN): Set.
11190 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11191 dependencies.
11192 Use $(srcdir) to refer to crti.S, crtn.S.
11193 Use .S extension, $<.
11194 * config/moxie/crti.asm: Rename to ...
11195 * config/moxie/crti.S: ... this.
11196 * config/moxie/crtn.asm: Rename to ...
11197 * config/moxie/crtn.S: ... this.
11198 * config/moxie/t-moxie: Remove.
11199 * config/pa/stublib.c: New file.
11200 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11201 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11202 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11203 * config/rs6000/t-crtstuff: New file.
11204 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11205 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11206 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11207 Make output file explicit.
11208 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11209 Make output file explicit.
11210 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11211 Make output file explicit.
11212 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11213 Make output file explicit.
11214 * config/score/crti.S, config/score/crtn.S: New files.
11215 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11216 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11217 files.
11218 * config/sh/t-sh, config/sh/t-superh: New files.
11219 * config/sparc/t-linux64: New file.
11220 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11221 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11222 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11223 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11224 * config/t-crtin: Remove.
11225 * config/t-crtstuff-pic: New file.
11226 * config/t-sol2 (CUSTOM_CRTIN): Set.
11227 (crti.o, crtn.o): New rules.
11228 * config/vms/t-vms: New file.
11229 * config/vms/vms-ucrt0.c: New file.
11230 * config/xtensa/t-elf: New file.
11231
b040f2be
RO
112322011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11233
11234 * Makefile.in (SHLIB_NM_FLAGS): Set.
11235 * mkmap-flat.awk, mkmap-symver.awk: New files.
11236 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11237 exceptions.
11238 * configure: Regenerate.
11239 * config/libgcc-glibc.ver: New file.
11240 * config/libgcc-libsystem.ver: New file.
11241 * config/t-libunwind (SHLIB_LC): Set.
11242 * config/t-linux: New file.
11243 * config/t-slibgcc (INSTALL_SHLIB): New.
11244 (SHLIB_INSTALL): Use it.
11245 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11246 to mkmap-symver.awk.
11247 (SHLIB_MAPFILES): Don't append, adapt pathname.
11248 (SHLIB_VERPFX): Set.
11249 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11250 to mkmap-symver.awk.
11251 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11252 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11253 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11254 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11255 to mkmap-flat.awk.
11256 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11257 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11258 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11259 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11260 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11261 * config/i386/libgcc-darwin.10.4.ver,
11262 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11263 New files.
11264 * config/i386/t-darwin: Remove.
11265 * config/i386/t-darwin64: Likewise.
11266 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11267 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11268 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11269 * config/i386/t-linux: New file.
11270 * config/i386/t-mingw32: New file.
11271 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11272 * config/ia64/t-glibc: Rename to ...
11273 * config/ia64/t-linux: ... this.
11274 (SHLIB_MAPFILES): Set.
11275 * config/ia64/t-glibc-libunwind: Rename to ...
11276 * config/ia64/t-linux-libunwind: ... this.
11277 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11278 * config/ia64/t-slibgcc-hpux: New file.
11279 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11280 * config/m68k/t-slibgcc-elf-ver: New file.
11281 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11282 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11283 to mkmap-flat.awk.
11284 * config/pa/t-slibgcc-hpux: New file.
11285 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11286 files.
11287 * config/rs6000/libgcc-darwin.10.4.ver,
11288 config/rs6000/libgcc-darwin.10.5.ver: New files.
11289 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11290 config/rs6000/libgcc-glibc.ver.
11291 * config/rs6000/libgcc-ppc64.ver: Rename to
11292 config/rs6000/libgcc-ibm-ldouble.ver.
11293 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11294 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11295 * config/rs6000/t-ldbl128: Rename to ...
11296 * config/rs6000/t-linux: ... this.
11297 (SHLIB_MAPFILES): Adapt filename.
11298 * config/rs6000/t-slibgcc-aix: New file.
11299 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11300 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11301 libgcc-excl.ver, libgcc-glibc.ver.
11302 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11303 * config/sparc/libgcc-glibc.ver: New file.
11304 * config/sparc/t-linux: New file.
11305 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11306 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11307 t-slibgcc-elf-ver to tmake_file.
11308 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11309 *-*-freebsd[34].
11310 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11311 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11312 t-slibgcc-elf-ver, t-linux to tmake_file.
11313 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11314 tmake_file.
11315 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11316 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11317 (alpha*-dec-*vms*): Likewise.
11318 (arm*-*-freebsd*): Append to tmake_file.
11319 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11320 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11321 arm*-*-linux-*eabi.
11322 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11323 tmake_file for arm*-*-symbianelf*.
11324 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11325 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11326 cris/t-linux.
11327 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11328 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11329 pa/t-slibgcc-dwarf-ver to tmake_file.
11330 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11331 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11332 (hppa*64*-*-hpux11*): Likewise.
11333 (hppa[12]*-*-hpux11*): Likewise.
11334 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11335 i386/t-crtpc, i386/t-crtfm.
11336 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11337 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11338 to tmake_file.
11339 Add i386/t-cygwin to tmake_file.
11340 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11341 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11342 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11343 to tmake_file.
11344 Add i386/t-mingw32 to tmake_file.
11345 (x86_64-*-mingw*): Likewise.
11346 (ia64*-*-freebsd*): Append to tmake_file.
11347 (ia64*-*-linux*): Append to tmake_file.
11348 Replace ia64/t-glibc by ia64/t-linux.
11349 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11350 system libunwind.
11351 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11352 t-slibgcc-hpux to tmake_file.
11353 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11354 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11355 (m32rle-*-linux*): Likewise.
11356 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11357 sjlj exceptions.
11358 (microblaze*-linux*): New case.
11359 Append to tmake_file, add t-slibgcc-nolc-override.
11360 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11361 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11362 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11363 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11364 rs6000/t-slibgcc-aix to tmake_file.
11365 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11366 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11367 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11368 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11369 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11370 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11371 sh*-*-linux*.
11372 (sparc-*-linux*): Append to tmake_file for *-leon*.
11373 Add sparc/t-linux to tmake_file for non-Leon targets.
11374 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11375 (tic6x-*-uclinux): New case.
11376 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11377 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11378 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11379 (am33_2.0-*-linux*): Append to tmake_file.
11380 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11381 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11382 x86_64-*-kfreebsd*-gnu.
11383 Add i386/t-linux to tmake_file.
11384
18b4bd7b
ILT
113852011-10-28 Ian Lance Taylor <iant@google.com>
11386
11387 * config/i386/morestack.S: Correct CFI information to do proper
11388 returns throughout function. In 32-bit mode, save %ebx so that it
11389 is restored on unwind.
11390
5b2d9d90
BS
113912011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11392
11393 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11394 case where B3 isn't the return register.
11395
0d53e346
BS
11396 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11397 logic for doubleword pops.
11398
cbffbd59
AT
113992011-10-25 Andreas Tobler <andreast@fgznet.ch>
11400
11401 * config/rs6000/t-freebsd: Add wildcard.
11402
56dc349e
PB
114032011-10-21 Paul Brook <paul@codesourcery.com>
11404
11405 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11406
1e06b07d
UB
114072011-10-16 Uros Bizjak <ubizjak@gmail.com>
11408 Eric Botcazou <ebotcazou@adacore.com>
11409
11410 PR target/50737
11411 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11412 fs->signal_frame to 1.
11413
b5204884
ILT
114142011-10-07 Ian Lance Taylor <iant@google.com>
11415
11416 * generic-morestack-thread.c: #include <errno.h>.
11417
91a639a1
ILT
114182011-10-07 Ian Lance Taylor <iant@google.com>
11419
11420 PR target/46093
11421 * generic-morestack.c (__generic_morestack): Make sure the segment
11422 is large enough for both the stack frame and the copied
11423 parameters.
11424
cc49116d
RO
114252011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11426
11427 PR bootstrap/49804
11428 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11429 extra_parts.
11430
2996d8c3
NC
114312011-09-28 Nick Clifton <nickc@redhat.com>
11432
11433 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11434 64-bit doubles are not enabled.
11435 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11436 and floatunsisf functions.
11437
1e874273 114382011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11439
1e874273
PB
11440 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11441 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11442 * unwind-arm-common.inc: New file.
11443 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11444 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11445 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11446 * config/c6x/libunwind.S: New file.
11447 * config/c6x/pr-support.c: New file.
11448 * config/c6x/unwind-c6x.c: New file.
11449 * config/c6x/unwind-c6x.h: New file.
11450 * config/c6x/t-c6x-elf: New file.
11451
f70c879a
UB
114522011-08-23 Uros Bizjak <ubizjak@gmail.com>
11453
11454 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11455 (ASM_DIVZERO): Ditto.
11456 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11457
c55b374b
RS
114582011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11459
11460 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11461
1e138510
RS
114622011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11463
11464 PR target/50090
11465 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11466 instead of an assembly one.
11467
1563503d
PB
114682011-08-12 Paolo Bonzini <bonzini@gnu.org>
11469
11470 PR bootstrap/50047
11471 * Makefile.in (install-unwind_h): Create
11472 $(gcc_objdir)/include/unwind.h atomically.
11473
3627ac1a
RO
114742011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11475
11476 * Makefile.in (install-unwind_h): Remove destination file first.
11477
c6412d86
RO
114782011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11479
11480 * sync.c: New file.
11481 * config/mips/t-mips16: New file.
11482 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11483 (mips*-*-linux*): Likewise.
11484 (mips*-sde-elf*): Likewise.
11485 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11486 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11487 Add mips/t-mips16 to tmake_file.
11488 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11489 (mips-*-elf*): Likewise.
11490 (mips64-*-elf*): Likewise.
11491 (mips64orion-*-elf*): Likewise.
11492 (mips*-*-rtems*): Likewise.
11493 (mipstx39-*-elf*): Likewise.
11494 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11495 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11496 LIBGCC_SYNC_CFLAGS.
11497 Use $(srcdir) to refer to sync.c.
11498 Use $<.
11499 ($(libgcc-sync-funcs-o)): Likewise.
11500 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11501 ($(libgcc-sync-funcs-s-o)): Likewise.
11502
3cb6e5bd
AS
115032011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11504
11505 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11506 t-libunwind.
11507
cca2207a
L
115082011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11509
11510 PR other/48007
11511 * config/i386/value-unwind.h: New.
11512
ed39fbad
RS
115132011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11514
11515 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11516 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11517 Add to tmake_file rather than overriding it.
11518
aca0b0b3
RO
115192011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11520
11521 * config/t-softfp: Remove.
11522 * soft-fp: Moved from ../gcc/config.
11523 * soft-fp/README: Remove t-softfp reference.
11524 * soft-fp/t-softfp: Move to config/t-softfp.
11525 (softfp_machine_header): Remove.
11526 (softfp_file_list): Remove config subdir.
11527 (soft-fp-objects): New variable.
11528 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11529 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11530 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11531 * config/t-softfp-excl: New file.
11532 * config/t-softfp-sfdf: New file.
11533 * config/t-softfp-tf: New file.
11534 * config/no-sfp-machine.h: New file.
11535 * config/arm/sfp-machine.h: New file.
11536 * config/arm/t-softfp: New file.
11537 * config/c6x/sfp-machine.h: New file.
11538 * config/i386/32/t-fprules-softfp: Rename to ...
11539 * config/i386/32/t-softfp: ... this.
11540 (tifunctions, LIB2ADD): Remove.
11541 (softfp_int_modes): Override.
11542 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11543 subdir.
11544 * config/i386/64/eqtf2.c: Likewise.
11545 * config/i386/64/getf2.c: Likewise.
11546 * config/i386/64/letf2.c: Likewise.
11547 * config/ia64/sft-machine.h: New file.
11548 * config/ia64/t-fprules-softfp: Rename to ...
11549 * config/ia64/t-softfp: ... this.
11550 * config/lm32/sfp-machine.h: New file.
11551 * config/moxie/t-moxie-softfp: Remove.
11552 * config/rs6000/ibm-ldouble-format: New file.
11553 * config/rs6000/ibm-ldouble.c: New file.
11554 * config/rs6000/libgcc-ppc-glibc.ver: New file
11555 * config/rs6000/libgcc-ppc64.ver: New file
11556 * config/rs6000/sfp-machine.h: New file.
11557 * config/rs6000/t-freebsd: New file.
11558 * config/rs6000/t-ibm-ldouble: New file.
11559 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11560 libgcc-ppc-glibc.ver.
11561 * config/rs6000/t-linux64: New file.
11562 * config/rs6000/t-ppccomm (LIB2ADD): Add
11563 $(srcdir)/config/rs6000/ibm-ldouble.c.
11564 * config/rs6000/t-ppccomm-ldbl: New file.
11565 * config/score/sfp-machine.h: New file.
11566 * config.host (sfp_machine_header): Explain.
11567 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11568 t-softfp to tmake_file.
11569 (arm*-*-uclinux*): Likewise.
11570 (arm*-*-ecos-elf): Likewise.
11571 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11572 (arm*-*-rtems*): Likewise.
11573 (arm*-*-elf): Likewise.
11574 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11575 in tmake_file.
11576 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11577 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11578 (lm32-*-uclinux*): Likewise.
11579 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11580 t-softfp-excl, t-softfp.
11581 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11582 (powerpc64-*-darwin*): Likewise.
11583 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11584 to tmake_file.
11585 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11586 tmake_file.
11587 (powerpc-*-eabisim*): Likewise.
11588 (powerpc-*-elf*): Likewise.
11589 (powerpc-*-eabialtivec*): Likewise.
11590 (powerpc-xilinx-eabi*): Likewise.
11591 (powerpc-*-rtems*): Likewise.
11592 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11593 t-softfp-excl, t-softfp to tmake_file.
11594 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11595 rs6000/t-ppccomm-ldbl to tmake_file.
11596 (powerpcle-*-elf*): Likewise.
11597 (powerpcle-*-eabisim*): Likewise.
11598 (powerpcle-*-eabi*): Likewise.
11599 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11600 rs6000/t-ibm-ldouble to tmake_file.
11601 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11602 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11603 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11604 (tic6x-*-*): Likewise.
11605 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11606 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11607 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11608 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11609 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11610 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11611 t-softfp to tmake_file.
11612 * configure.ac (sfp_machine_header): Provide default if unset.
11613 Substitute.
11614 Link sfp-machine.h to config/$sfp_machine_header.
11615 * configure: Regenerate.
11616
569dc494
RO
116172011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11618
11619 * Makefile.in (double_type_size, long_double_type_size): Set.
11620 Remove $(fpbit-in-libgcc) support.
11621 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11622 (fpbit-src): New variable.
11623 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11624 Compile with -DFLOAT $(FPBIT_CFLAGS).
11625 Use $<.
11626 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11627 Compile with $(FPBIT_CFLAGS).
11628 Use $<.
11629 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11630 Compile with -DFLOAT $(TPBIT_CFLAGS).
11631 Use $<.
11632 * configure.ac (double_type_size, long_double_type_size):
11633 Determine and substitute.
11634 * configure: Regenerate.
11635 * fp-bit.c, fp-bit.h: New files.
11636 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11637 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11638 * config/mips/t-mips: New file.
11639 * config/mips/t-sdemtk: New file.
11640 * config/rs6000/ppc64-fp.c: New file.
11641 * config/rs6000/t-darwin (LIB2ADD): Add
11642 $(srcdir)/config/rs6000/ppc64-fp.c.
11643 * config/rs6000/t-ppc64-fp: New file.
11644 * config/rx/rx-lib.h: New file.
11645 * config/rx/t-rx (FPBIT): Set to true.
11646 ($(gcc_objdir)/fp-bit.c): Remove.
11647 (DPBIT): Set to true only with -m64bit-doubles.
11648 ($(gcc_objdir)/dp-bit.c): Remove.
11649 * config/sparc/t-softfp: Remove.
11650 * config/spu/t-elf: New file.
11651 * config/t-fdpbit, config/t-fpbit: New files.
11652 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11653 (mips*-*-*): Likewise.
11654 (arm-wrs-vxworks): Likewise.
11655 (arm*-*-freebsd*): Likewise.
11656 (avr-*-rtems*): Add t-fpbit to tmake_file.
11657 (avr-*-*): Likewise.
11658 (bfin*-elf*): Add t-fdpbit to tmake_file.
11659 (bfin*-uclinux*): Likewise.
11660 (bfin*-linux-uclibc*): Likewise.
11661 (bfin*-rtems*): New case.
11662 Add t-fdpbit to tmake_file.
11663 (bfin*-*): Add t-fdpbit to tmake_file.
11664 (crisv32-*-elf): Likewise.
11665 (cris-*-linux*): Likewise.
11666 (fr30-*-elf): Likewise.
11667 (frv-*-elf, frv-*-*linux*): Likewise.
11668 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11669 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11670 (m32r-*-elf*): Likewise.
11671 (m32rle-*-elf*): Likewise.
11672 (m32r-*-linux*): Likewise.
11673 (m32rle-*-linux*): Likewise.
11674 (mcore-*-elf): Add t-fdpbit to tmake_file.
11675 (microblaze*-*-*): Likewise.
11676 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11677 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11678 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11679 Fix typo.
11680 Add mips/t-tpbit to tmake-file.
11681 (mips*-*-linux*): Fix typo.
11682 (mips*-sde-elf*): New case
11683 Add mips/t-sdemtk unless using newlib.
11684 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11685 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11686 (mn10300-*-*): Likewise.
11687 (pdp11-*-*): Likewise.
11688 (picochip-*-*): Add t-fpbit to tmake_file.
11689 (powerpc-*-eabisimaltivec*): Likewise.
11690 (powerpc-*-eabisim*): Likewise.
11691 (powerpc-*-elf*): Likewise.
11692 (powerpc-*-eabialtivec*): Likewise.
11693 (powerpc-xilinx-eabi*): New case.
11694 Add t-fdpbit to tmake_file.
11695 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11696 (powerpc-*-rtems*): Likewise.
11697 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11698 tmake_file.
11699 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11700 tmake_file.
11701 (powerpc-*-lynxos*): Likewise.
11702 (powerpcle-*-elf*): Likewise.
11703 (powerpcle-*-eabisim*): Likewise.
11704 (powerpcle-*-eabi*): Likewise.
11705 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11706 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11707 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11708 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11709 (rx-*-elf): Add t-fdpbit to tmake_file.
11710 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11711 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11712 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11713 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11714 sh*-*-netbsd*.
11715 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11716 (sh-wrs-vxworks): Likewise.
11717 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11718 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11719 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11720 (sparc64-*-rtems*): ... new case.
11721 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11722 (spu-*-elf*): Likewise.
11723 Add spu/t-elf to tmake_file.
11724 (v850*-*-*): Add t-fdpbit to tmake_file.
11725 (xstormy16-*-elf): Likewise.
11726 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11727 (mep*-*-*): Likewise.
11728
201cdb74
RO
117292011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11730
11731 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11732 variables.
11733 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11734 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11735 (install-unwind_h): New target.
11736 (all): Depend on it.
11737 * config.host (unwind_header): New variable.
11738 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11739 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11740 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11741 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11742 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11743 Set unwind_header.
11744 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11745 Set unwind_header.
11746 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11747 arm*-*-eabi*.
11748 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11749 Set unwind_header.
11750 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11751 (ia64*-*-freebsd*): Likewise.
11752 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11753 tmake_file.
11754 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11755 $with_system_libunwind.
11756 (ia64*-*-hpux*): Set tmake_file.
11757 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11758 (picochip-*-*): Set tmake_file.
11759 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11760 md_unwind_header.
11761 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11762 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11763 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11764 (xtensa*-*-elf*): Set tmake_file.
11765 (xtensa*-*-linux*): Likewise.
11766 * configure.ac: Include ../config/unwind_ipinfo.m4.
11767 Call GCC_CHECK_UNWIND_GETIPINFO.
11768 Link unwind.h to $unwind_header.
11769 * configure: Regenerate.
11770 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11771 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11772 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11773 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11774 * config/unwind-dw2-fde-darwin.c: New file.
11775 * config/arm/libunwind.S, config/arm/pr-support.c,
11776 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11777 config/arm/unwind-arm.h,: New files.
11778 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11779 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11780 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11781 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11782 config/ia64/unwind-ia64.h: New files.
11783 * config/picochip/t-picochip: New file.
11784 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11785 files.
11786 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11787 * config/s390/t-tpf (LIB2ADDEH): Remove.
11788 * config/t-darwin (LIB2ADDEH): Set.
11789 * config/t-eh-dw2-dip: New file.
11790 * config/t-libunwind, config/t-libunwind-elf: New files.
11791 * config/t-sol2 (LIB2ADDEH): Remove.
11792 * config/xtensa/t-xtensa: New file.
11793
40f2f11f
L
117942011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11795
11796 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11797 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11798 long long to check rt_sigreturn syscall.
11799
bd15e32c
AM
118002011-08-02 Alan Modra <amodra@gmail.com>
11801
11802 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11803 Restore for indirect call bcrtl from correct stack slot, and only
11804 if cfa+40 isn't valid.
11805
655b30bf
JB
118062011-08-01 Julian Brown <julian@codesourcery.com>
11807
11808 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11809 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11810 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11811
247eb06f
JB
118122011-08-01 Julian Brown <julian@codesourcery.com>
11813
11814 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11815 (libgcc-std.ver.in): Use above.
11816 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11817 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11818 throughout file.
11819 * config/t-fixedpoint-gnu-prefix: New file.
11820 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11821 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11822 instead of __PFX__.
11823
02a8fe00
L
118242011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11825
11826 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11827 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11828 for x86-64. Properly check __x86_64__ and __LP64__.
11829
5fce9126
L
118302010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11831
11832 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11833 version.
11834 (_FP_WS_TYPE): Likewise.
11835 (_FP_I_TYPE): Likewise.
11836
2374a88a
AM
118372011-07-28 Alan Modra <amodra@gmail.com>
11838
11839 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11840 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11841 in a plt call stub. Do restore r2 if stopped on bctrl.
11842
e44dbbe1
RO
118432011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11844
11845 * config.host (i[3456x]86-*-netware*): Remove.
11846 * config/i386/netware-crt0.c, config/i386/t-nwld,
11847 config/i386/t-slibgcc-nwld: Remove.
11848
bcead286
BS
118492011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11850
11851 * config.host: Handle tic6x-*-*.
11852 * config/c6x/c6x-abi.h: New file.
11853
b3fe1584
RO
118542011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11855
11856 * config/i386/crtprec.c: New file.
11857 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11858 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11859 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11860 (x86_64-*-darwin*): Likewise.
11861 (i[34567]86-*-solaris2*: Likewise.
11862
35d8090d
RO
118632011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11864
11865 * config/alpha/crtfastmath.c: New file.
11866 * config/i386/crtfastmath.c: New file.
11867 * config/ia64/crtfastmath.c: New file.
11868 * config/mips/crtfastmath.c: New file.
11869 * config/sparc/crtfastmath.c: New file.
11870
11871 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11872 crtfastmath.c.
11873 Add -frandom-seed=gcc-crtfastmath.
11874 * config/alpha/t-crtfm: Remove.
11875 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11876 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11877
11878 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11879 (alpha*-dec-osf5.1*): Likewise.
11880 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11881 Add crtfastmath.o to extra_parts.
11882 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11883 Add crtfastmath.o to extra_parts.
11884 (x86_64-*-darwin*): Likewise.
11885 (x86_64-*-mingw*): Likewise.
11886 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11887 (ia64*-*-freebsd*): Likewise.
11888 (ia64*-*-linux*): Likewise.
11889 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11890 Add crtfastmath.o to extra_parts.
11891
e141542e
RO
118922011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11893
11894 * config/darwin-crt3.o: New file.
11895 * config/rs6000/darwin-crt2.c: New file.
11896 * config/t-darwin: New file.
11897 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11898 (crt2.o): New rule.
11899 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11900 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11901 (powerpc64-*-darwin*): Likewise.
11902
2d1efe2d
RO
119032011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11904
11905 * config/i386/netware-crt0.c: New file.
11906 * config/i386/t-nwld: Rename to ...
11907 * config/i386/t-slibgcc-nwld: ... this.
11908 * config/i386/t-nwld: New file.
11909 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11910 tmake_file.
11911 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11912 extra_parts.
11913
4a8bb046
RO
119142011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11915
11916 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11917 i386/t-crtstuff.
11918 * configure: Regenerate.
11919
2d8d5935
RO
119202011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11921
11922 * dfp-bit.c, dfp-bit.h: New files.
11923 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11924 variables.
11925 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11926 ($(d64pbit-o)): Likewise.
11927 ($(d128pbit-o)): Likewise.
11928 * config/t-dfprules: New file.
11929 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11930 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11931 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11932 (x86_64-*-linux*): Likewise.
11933 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11934 (i[34567]86-*-cygwin*): Likewise.
11935 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11936 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11937
2c50b2c3
RO
119382011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11939
11940 * Makfile.in (LIBGCOV): New variable.
11941 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11942 * libgcov.c: New file.
11943
a039d7c2
RO
119442011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11945
11946 * fixed-bit.c, fixed-bit.h: New files.
11947 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11948 refer to fixed-bit.c.
11949
1e4b2746
JM
119502011-07-07 Joseph Myers <joseph@codesourcery.com>
11951
11952 * config.host (*local*): Remove.
11953
fbdd5d87
RO
119542011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11955
11956 PR target/39150
11957 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11958 like i?86-*-solaris2.1[0-9]*.
11959 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11960 * configure.ac (i?86-*-solaris2*): Likewise.
11961 * configure: Regenerate.
11962
9e7714f4
TS
119632011-07-06 Thomas Schwinge <thomas@schwinge.name>
11964
11965 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11966 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11967 md_unwind_header by splitting out of...
11968 (i[34567]86-*-linux*): ... this.
11969 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11970 Remove md_unwind_header by splitting out of...
11971 (x86_64-*-linux*): ... this.
11972
6dab9931
GJL
119732011-07-04 Georg-Johann Lay <avr@gjlay.de>
11974
11975 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11976
4be46d19
NC
119772011-06-28 Nick Clifton <nickc@redhat.com>
11978
11979 * config.host: Recognize all V850 variants.
11980
1da9434b
UB
119812011-06-22 Uros Bizjak <ubizjak@gmail.com>
11982
11983 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11984
e4d48a4d
RO
119852011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11986
11987 * shared-object.mk (c_flags-$o): Save c_flags.
11988 ($(base)$(objext)): Use it.
11989 ($(base)_s$(objext)): Likewise.
11990
3801c801
BS
119912011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11992
11993 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11994 * libgcc-std.ver.in (GCC_4.7.0): New section.
11995
0ad8bb3b 119962011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11997
0ad8bb3b
GJL
11998 PR target/49313
11999 PR target/29524
12000 * config/avr/t-avr: Fix line endings.
12001 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
12002 _parityXX2.
12003
ea963999
OH
120042011-06-14 Olivier Hainque <hainque@adacore.com>
12005 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12006
12007 * config/mips/irix6-unwind.h: New file.
12008 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
12009
b11b0904
EB
120102011-06-10 Eric Botcazou <ebotcazou@adacore.com>
12011
12012 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
12013 (sparc64_fallback_frame_state): Use it.
12014 (sparc64_frob_update_context): Further adjust context.
12015 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
12016 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
12017 * config/sparc/sol2-cn.S: Likewise.
12018
10e48e39
RO
120192011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12020
12021 * enable-execute-stack-empty.c: New file.
12022 * enable-execute-stack-mprotect.c: New file.
12023 * config/i386/enable-execute-stack-mingw32.c: New file.
12024 * config.host (enable_execute_stack): New variable.
12025 Select appropriate variants.
12026 * configure.ac: Link enable-execute-stack.c to
12027 $enable_execute_stack.
12028 * configure: Regenerate.
12029 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
12030 (lib2funcs): Remove _enable_execute_stack.
12031
10c4cabc
DM
120322011-06-09 David S. Miller <davem@davemloft.net>
12033 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12034
12035 * config.host (sparc-*-linux*): Correct md_unwind_header
12036 filename.
12037 (s390x-ibm-tpf*): Fix typo.
12038
aa4203e7
RO
120392011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12040
12041 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12042 Add crtfastmath.o to extra_parts.
12043 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12044 mips/t-crtfm.
12045 * config/mips/t-crtfm: Remove.
12046
0defd786
JDA
120472011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12048
12049 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12050
82f247af
KK
120512011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
12052
12053 * config.host (sh*-*-linux*): Fix typo.
12054
58cd1d70
RO
120552011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12056
12057 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12058 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12059 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12060 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12061 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12062 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12063 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12064 Wrap in !__MINGW64__.
12065 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12066 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12067 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12068 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12069 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12070 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12071 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12072 Wrap in !__LP64__.
12073 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12074 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12075 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12076 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12077 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12078 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12079 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12080 * config/no-unwind.h: New file.
12081 * config.host (md_unwind_header): Document.
12082 Define.
12083 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12084 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12085 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12086 hppa[12]*-*-hpux11*): Set md_unwind_header.
12087 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12088 Set md_unwind_header.
12089 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12090 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12091 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12092 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12093 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12094 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12095 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12096 md_unwind_header.
12097 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12098 * configure: Regenerate.
12099
737346fa
RO
121002011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12101
12102 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12103 Set tmake_file, extra_parts.
12104 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12105 Remove O32 support.
12106 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12107 Remove O32 support.
12108 * config/mips/t-irix6: New file.
12109 * config/mips/t-slibgcc-irix: New file.
12110
c192cee6
RO
121112011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12112
12113 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12114 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12115
ee33b5f0
RO
121162011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12117
12118 * configure.ac (target_thread_file): Determine thread model.
12119 * configure: Regenerate.
12120 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12121 * config/alpha/t-alpha: New file.
12122 * config/alpha/t-crtfm: Use $<.
12123 * config/alpha/t-ieee: New file.
12124 * config/alpha/t-osf-pthread: New file.
12125 * config/alpha/t-slibgcc-osf: New file.
12126 * config/alpha/libgcc-osf5.ver: New file.
12127
0699e415
RO
121282011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12129
12130 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12131 tmake_file.
12132 Add crtfastmath.o to extra_parts.
12133
a3fab9c2
RO
121342011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12135
12136 * config/gmon-sol2.c: Reindent.
12137 Cleanup comments.
12138 Remove, correct casts.
12139 Use STDERR_FILENO, NULL.
12140 (BASEADDRESS): Remove.
12141 (minbrk): Remove.
12142 (errno, sbrk): Remove declarations.
12143 (monstartup) [hp300]: Remove.
12144 (mcount): Remove.
12145
ca24c5ad
RO
121462011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12147
12148 * Makefile.in (cpu_type): Define.
12149 * config.host (i[34567]86-*-rtems*): Handle it.
12150 (i[34567]86-*-solaris2*): Move body ...
12151 (*-*-solaris2*): ... here.
12152 New case, generalize.
12153 (sparc-*-elf*): Handle it.
12154 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12155 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12156 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12157 Fold into ...
12158 (sparc*-*-solaris2*): ... this.
12159 New case.
12160 (sparc64-*-elf*): Handle it.
12161 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12162 Merge ../gcc/config/i386/gmon-sol2.c.
12163 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12164 Use C comments.
12165 Merge ../gcc/config/i386/sol2-gc1.asm.
12166 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12167 Use C comments.
12168 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12169 Use C comments.
12170 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12171 * config/i386/t-crtstuff: New file.
12172 * config/i386/t-softfp: New file.
12173 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12174 $(T)crti.o, $(T)crtn.o): Remove.
12175 (gcrt1.o): New rule.
12176 (TARGET_LIBGCC2_CFLAGS): Remove.
12177 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12178 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12179 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12180 * config/sparc/t-sol2: New file.
12181 * config/sparc/t-crtfm: Move to ...
12182 * config/t-crtfm: ... this.
12183 Use $(cpu_type), $<.
12184 * config/t-crtin: New file.
12185 * config/sparc/t-softfp: New file.
12186 * config/sparc/t-softmul: New file.
12187 * config/t-rtems: New file.
12188 * config/t-slibgcc: New file.
12189 * config/t-slibgcc-elf-ver: New file.
12190 * config/t-slibgcc-gld: New file.
12191 * config/t-slibgcc-sld: New file.
12192 * config/t-sol2: New file.
12193 * configure.ac: Include ../config/lib-ld.m4.
12194 Call AC_LIB_PROG_LD_GNU.
12195 Substitute cpu_type.
12196 * configure: Regenerate.
12197
ad5f3d7b
BS
121982011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12199
12200 PR bootstrap/49173
12201 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12202 libgcc-std.ver in the build directory.
12203 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12204 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12205
cdbf4541
BS
122062011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12207
12208 * libgcc-std.ver.in: New file.
12209 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12210 variables.
12211 (libgcc-std.ver): New rule.
12212 * config/t-gnu-prefix: New file.
12213
c8028650
RO
122142011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12215
12216 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12217
4a68b4ca
JM
122182011-05-10 Joseph Myers <joseph@codesourcery.com>
12219
12220 * config/i386/darwin-lib.h: New file.
12221
80cf2e08
JM
122222011-05-10 Joseph Myers <joseph@codesourcery.com>
12223
12224 * config/arm/symbian-lib.h: New.
12225
a3330c9d
CD
122262011-05-04 Chris Demetriou <cgd@google.com>
12227
12228 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12229 (__x86.get_pc_thunk.bx): ...this.
12230 (__morestack): Adjust for rename, remove undef of __i686.
12231
6ace0756
CD
122322011-05-03 Chris Demetriou <cgd@google.com>
12233
12234 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12235
ebb9f8b0
JM
122362011-03-22 Joseph Myers <joseph@codesourcery.com>
12237
12238 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12239 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12240 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12241 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12242 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12243 Remove cases.
12244
9cfa1499
AT
122452011-03-14 Andreas Tobler <andreast@fgznet.ch>
12246
12247 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12248 Adjust copyright year.
12249
457186f6
ILT
122502011-03-07 Ian Lance Taylor <iant@google.com>
12251
12252 * generic-morestack.c (__splitstack_find): Adjust returned stack
12253 pointer to include all registers pushed by __morestack.
12254
58c741a6
DK
122552011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12256
12257 PR target/40125
12258 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12259 (toolexecdir): Calculate and AC_SUBST.
12260 (toolexeclibdir): Likewise.
12261 * Makefile.in (target_noncanonical): Import.
12262 (toolexecdir): Likewise.
12263 (toolexeclibdir): Likewise.
12264 * configure: Regenerate.
12265
26716c44
NF
122662010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12267
12268 PR target/46040
12269 * config/arm/bpabi.h: Rename to...
12270 * config/arm/bpabi-lib.h: ...this.
12271
b595b1a1
RO
122722010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12273
12274 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12275 appropriate.
12276 * configure: Regenerate.
12277
a3abe41c
NF
122782010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12279
12280 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12281 __FLOAT_WORD_ORDER__.
12282 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12283 Delete.
12284
455c8f48
RW
122852010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12286
12287 PR other/46202
12288 * Makefile.in (install-strip): New phony target.
12289
f3824a8b
ILT
122902010-11-07 Ian Lance Taylor <iant@google.com>
12291
12292 PR target/46089
12293 * config/i386/morestack.S (__morestack_large_model): New
12294 function.
12295
18ed6ee4
NF
122962010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12297
12298 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12299 Delete.
12300 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12301
8ac7fdcb
NF
123022010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12303
12304 * config/arm/bpabi.h: New file.
12305 * config/frv/frv-abi.h: New file.
12306
cdb388c2
ILT
123072010-10-01 Ian Lance Taylor <iant@google.com>
12308
12309 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12310 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12311
ef7c141c
L
123122010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12313
12314 PR target/45858
12315 * config.host: Add the missing `$'.
12316
80920132
ME
123172010-09-30 Michael Eager <eager@eagercon.com>
12318
12319 * config.host: Add microblaze*-*-*.
12320 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12321 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12322 udivsi3.asm,umodsi3.asm}: New.
12323
6dace308
ILT
123242010-09-28 Ian Lance Taylor <iant@google.com>
12325
12326 * configure.ac: Adjust CFI test to test assembler directly rather
12327 than checking gcc preprocessor macro.
12328 * configure: Rebuild.
12329
b6110d6d
ILT
123302010-09-27 Ian Lance Taylor <iant@google.com>
12331
12332 * configure.ac: Test whether assembler supports CFI directives.
12333 * config.host: Only add t-stack and i386/t-stack-i386 to
12334 tmake_file if libgcc_cv_cfi is "yes".
12335 * configure: Rebuild.
12336
7458026b
ILT
123372010-09-27 Ian Lance Taylor <iant@google.com>
12338
12339 * generic-morestack.h: New file.
12340 * generic-morestack.c: New file.
12341 * generic-morestack-thread.c: New file.
12342 * config/i386/morestack.S: New file.
12343 * config/t-stack: New file.
12344 * config/i386/t-stack-i386: New file.
12345 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12346 i386/t-stack-i386 to tmake_file.
12347
5b50fc0c
IS
123482010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12349
12350 * Makefile.in (libgcc-extra-parts): Check for static archives and
12351 invoke ranlib after installing them.
12352 (gcc-extra-parts): Likewise.
12353 (install-leaf): Likewise.
12354
b93cf342
L
123552010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12356
12357 * configure: Regenerated.
12358
996b42ef
KT
123592010-09-10 Kai Tietz <kai.tietz@onevision.com>
12360
b93cf342 12361 * configure: Regenerated.
996b42ef 12362
be1c764e
GP
123632010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12364 Andrew Pinski <pinskia@gmail.com>
12365
1da9434b 12366 PR target/40959
be1c764e
GP
12367 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12368
cc0ae0ca
L
123692010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12370
12371 PR target/45524
12372 * configure: Regenerated.
12373
84f47d20
AS
123742010-09-06 Andreas Schwab <schwab@redhat.com>
12375
12376 * configure: Regenerate.
12377
4159fb8d
UB
123782010-09-03 Uros Bizjak <ubizjak@gmail.com>
12379
12380 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12381 64bit targets.
12382 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12383 for 64bit targets.
12384
0df8fcc8
UB
123852010-09-03 Uros Bizjak <ubizjak@gmail.com>
12386 Iain Sandoe <iains@gcc.gnu.org>
12387
12388 PR target/45476
12389 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12390 LIB2FUNCS_EXCLUDE functions.
12391
3c39bca6
AK
123922010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12393
12394 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12395 Include dfp.m4.
12396 * configure: Regenerate.
12397
d78552bd
UB
123982010-09-01 Uros Bizjak <ubizjak@gmail.com>
12399
12400 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12401 i386/t-freebsd to tmake_file.
12402 * config/i386/t-freebsd: New file.
12403 * config/i386/libgcc-bsd.ver: New file.
12404
c5b79d4e
NF
124052010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12406
12407 * config.host (powerpc*-eabispe*): Set tmake_file.
12408 (powerpc*-eabi*): Likewise.
12409 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12410 crtbeginS, crtendS, crtbeginT.
12411
48b09a92
KH
124122010-06-12 Kazu Hirata <kazu@codesourcery.com>
12413
12414 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12415 to tmake_file. Add crtfastmath.o to extra_parts.
12416 * config/mips/t-crtfm: New.
12417
7d296953 124182010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
12419
12420 * config.host (sparc64-*-rtems*): New target.
12421
ed104137
RO
124222010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12423
12424 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12425 assembler syntax.
12426
3f56ef8b
TS
124272010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12428
12429 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12430
8c200350
RO
124312010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12432
12433 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12434 alpha-dec-osf5.0* support.
12435
7d296953 124362010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12437
12438 * config.host: Add lm32-*-rtems*.
12439
f128db92 124402010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12441 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12442
12443 PR target/39048
12444 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12445 like other remaining 32-bit x86 OSes.
12446 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12447 assembler syntax.
12448 * config/i386/libgcc-sol2.ver: New file.
12449 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12450
7d296953 124512010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12452
12453 PR c/43553
12454 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12455 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12456 is used and substitute set_use_emutls.
12457 * configure: Regenerated.
12458
15baf7f8
TG
124592010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12460
12461 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12462
7f5441df
RO
124632010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12464
12465 PR target/38085
12466 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12467 MULTILIB_CFLAGS.
12468 ($(T)gcrt1.o): Likewise.
12469 ($(T)crt1.o): Likewise.
12470 ($(T)crti.o): Likewise.
12471 ($(T)crtn.o): Likewise.
12472
ef74edbd
RW
124732010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12474
12475 PR other/42980
12476 * Makefile.in (install): Use $(MAKE) string in rule, for
12477 parallel make.
12478
e7c914db
HPN
124792010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12480
12481 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12482 * config/mmix/t-mmix: New file.
12483 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12484
1bcb71c4
JH
124852010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12486
12487 PR java/41991
12488 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12489 SHLIB_MAPFILES.
12490
e6e50811
AG
124912010-01-04 Anthony Green <green@moxielogic.com>
12492
12493 * config/moxie/crti.asm, config/moxie/crtn.asm,
12494 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12495 config/moxie/t-moxie: New files.
12496 * config.host: Add t-moxie-softfp reference.
12497
7d296953 124982009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12499
12500 PR other/39888
12501 * config/t-slibgcc-darwin: Fix embedded rpaths for
12502 --enable-version-specific-runtime-libs, build extension stub
12503 libs exposing features available from current libgcc_s.
12504
7d296953 125052009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12506
d78552bd
UB
12507 * config.host: Add lm32 targets.
12508 * config/lm32: New directory.
12509 * config/lm32/libgcc_lm32.h: New file.
12510 * config/lm32/_mulsi3.c: New file.
12511 * config/lm32/_udivmodsi4.c: New file.
12512 * config/lm32/_divsi3.c: New file.
12513 * config/lm32/_modsi3.c: New file.
12514 * config/lm32/_udivsi3.c: New file.
12515 * config/lm32/_umodsi3.c: New file.
12516 * config/lm32/_lshrsi3.S: New file.
12517 * config/lm32/_ashrsi3.S: New file.
12518 * config/lm32/_ashlsi3.S: New file.
12519 * config/lm32/crti.S: New file.
12520 * config/lm32/crtn.S: New file.
12521 * config/lm32/t-lm32: New file.
12522 * config/lm32/t-elf: New file.
12523 * config/lm32/t-uclinux: New file.
aa4945c1 12524
65a324b4
NC
125252009-10-26 Nick Clifton <nickc@redhat.com>
12526
12527 * config.host: Add support for RX target.
12528 * config/rx: New directory.
12529 * config/rx/rx-abi-functions.c: New file. Supplementary
12530 functions for libgcc to support the RX ABI.
12531 * config/rx/rx-abi.h: New file. Supplementary header file for
12532 libgcc RX ABI functions.
12533 * config/rx/t-rx: New file: Makefile fragment for building
12534 libgcc for the RX.
12535
dfb3b0e3
UB
125362009-10-09 Uros Bizjak <ubizjak@gmail.com>
12537
12538 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12539 constraint of y0 to "g".
12540
81dd9fd7
AK
125412009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12542
12543 * config.host: Include the s390 makefile fragments.
12544 * config/s390/32/_fixdfdi.c: New file.
12545 * config/s390/32/_fixsfdi.c: New file.
12546 * config/s390/32/_fixtfdi.c: New file.
12547 * config/s390/32/_fixunsdfdi.c: New file.
12548 * config/s390/32/_fixunssfdi.c: New file.
12549 * config/s390/32/_fixunstfdi.c: New file.
12550 * config/s390/32/t-floattodi: New file.
12551 * config/s390/libgcc-glibc.ver: New file.
12552 * config/s390/t-crtstuff: New file.
12553 * config/s390/t-linux: New file.
12554 * config/s390/t-tpf: New file.
12555
df58e648
RW
125562009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12557
12558 * configure.ac (AC_PREREQ): Bump to 2.64.
12559
79052be3
KK
125602009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12561
12562 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12563
5213506e
RW
125642009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12565
12566 * configure: Regenerate.
12567
a9a25daa
DR
125682009-08-09 Douglas B Rupp <rupp@gnat.com>
12569
12570 * config.host (ia64-hp-*vms*): New target.
12571 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12572 with ia64-hp-*vms*.
12573
6efbd53f
RW
125742009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12575
12576 * configure.ac: Add snippet for maintainer-mode.
12577 * configure: Regenerate.
12578 * Makefile.in (AUTOCONF, configure_deps): New variables.
12579 ($(srcdir)/configure)): New rule, active only with maintainer
12580 mode turned on.
12581
7acf4da6
DD
125822009-06-23 DJ Delorie <dj@redhat.com>
12583
12584 Add MeP port.
12585 * config.host: Add mep support.
12586
54f549af
KT
125872009-06-22 Kai Tietz <kai.tietz@onevision.com>
12588
34481f28 12589 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12590 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12591
12592 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12593 for mingw targets.
54f549af
KT
12594 * config/i386/64/_multc3.c: Likewise.
12595 * config/i386/64/_powitf2.c: Likewise.
12596 * config/i386/64/eqtf2.c: Likewise.
12597 * config/i386/64/getf2.c: Likewise.
12598 * config/i386/64/letf2.c: Likewise.
12599 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12600 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12601 unsigned long long for x64 mingw targets.
12602 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12603 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12604
fea96e25
MR
126052009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12606
12607 * config.host (vax-*-linux*): New.
12608
cceb575c
AG
126092009-05-31 Anthony Green <green@moxielogic.com>
12610
12611 * config.host: Add moxie support.
12612 * config/moxie/t-moxie: New file.
12613
7d296953 126142009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12615
12616 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12617 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12618
532bfb0a
AJ
126192009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12620
12621 * config.host: Add i386/${host_address}/t-fprules-softfp to
12622 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12623
748086b7
JJ
126242009-04-09 Nick Clifton <nickc@redhat.com>
12625
12626 * config/ia64/tf-signs.c: Change copyright header to refer to
12627 version 3 of the GNU General Public License with version 3.1
12628 of the GCC Runtime Library Exception and to point readers at
12629 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12630 web page.
12631 * config/i386/32/tf-signs.c: Likewise.
12632 * config/libbid/_addsub_dd.c: Likewise.
12633 * config/libbid/_addsub_sd.c: Likewise.
12634 * config/libbid/_addsub_td.c: Likewise.
12635 * config/libbid/_dd_to_df.c: Likewise.
12636 * config/libbid/_dd_to_di.c: Likewise.
12637 * config/libbid/_dd_to_sd.c: Likewise.
12638 * config/libbid/_dd_to_sf.c: Likewise.
12639 * config/libbid/_dd_to_si.c: Likewise.
12640 * config/libbid/_dd_to_td.c: Likewise.
12641 * config/libbid/_dd_to_tf.c: Likewise.
12642 * config/libbid/_dd_to_udi.c: Likewise.
12643 * config/libbid/_dd_to_usi.c: Likewise.
12644 * config/libbid/_dd_to_xf.c: Likewise.
12645 * config/libbid/_df_to_dd.c: Likewise.
12646 * config/libbid/_df_to_sd.c: Likewise.
12647 * config/libbid/_df_to_td.c: Likewise.
12648 * config/libbid/_di_to_dd.c: Likewise.
12649 * config/libbid/_di_to_sd.c: Likewise.
12650 * config/libbid/_di_to_td.c: Likewise.
12651 * config/libbid/_div_dd.c: Likewise.
12652 * config/libbid/_div_sd.c: Likewise.
12653 * config/libbid/_div_td.c: Likewise.
12654 * config/libbid/_eq_dd.c: Likewise.
12655 * config/libbid/_eq_sd.c: Likewise.
12656 * config/libbid/_eq_td.c: Likewise.
12657 * config/libbid/_ge_dd.c: Likewise.
12658 * config/libbid/_ge_sd.c: Likewise.
12659 * config/libbid/_ge_td.c: Likewise.
12660 * config/libbid/_gt_dd.c: Likewise.
12661 * config/libbid/_gt_sd.c: Likewise.
12662 * config/libbid/_gt_td.c: Likewise.
12663 * config/libbid/_isinfd128.c: Likewise.
12664 * config/libbid/_isinfd32.c: Likewise.
12665 * config/libbid/_isinfd64.c: Likewise.
12666 * config/libbid/_le_dd.c: Likewise.
12667 * config/libbid/_le_sd.c: Likewise.
12668 * config/libbid/_le_td.c: Likewise.
12669 * config/libbid/_lt_dd.c: Likewise.
12670 * config/libbid/_lt_sd.c: Likewise.
12671 * config/libbid/_lt_td.c: Likewise.
12672 * config/libbid/_mul_dd.c: Likewise.
12673 * config/libbid/_mul_sd.c: Likewise.
12674 * config/libbid/_mul_td.c: Likewise.
12675 * config/libbid/_ne_dd.c: Likewise.
12676 * config/libbid/_ne_sd.c: Likewise.
12677 * config/libbid/_ne_td.c: Likewise.
12678 * config/libbid/_sd_to_dd.c: Likewise.
12679 * config/libbid/_sd_to_df.c: Likewise.
12680 * config/libbid/_sd_to_di.c: Likewise.
12681 * config/libbid/_sd_to_sf.c: Likewise.
12682 * config/libbid/_sd_to_si.c: Likewise.
12683 * config/libbid/_sd_to_td.c: Likewise.
12684 * config/libbid/_sd_to_tf.c: Likewise.
12685 * config/libbid/_sd_to_udi.c: Likewise.
12686 * config/libbid/_sd_to_usi.c: Likewise.
12687 * config/libbid/_sd_to_xf.c: Likewise.
12688 * config/libbid/_sf_to_dd.c: Likewise.
12689 * config/libbid/_sf_to_sd.c: Likewise.
12690 * config/libbid/_sf_to_td.c: Likewise.
12691 * config/libbid/_si_to_dd.c: Likewise.
12692 * config/libbid/_si_to_sd.c: Likewise.
12693 * config/libbid/_si_to_td.c: Likewise.
12694 * config/libbid/_td_to_dd.c: Likewise.
12695 * config/libbid/_td_to_df.c: Likewise.
12696 * config/libbid/_td_to_di.c: Likewise.
12697 * config/libbid/_td_to_sd.c: Likewise.
12698 * config/libbid/_td_to_sf.c: Likewise.
12699 * config/libbid/_td_to_si.c: Likewise.
12700 * config/libbid/_td_to_tf.c: Likewise.
12701 * config/libbid/_td_to_udi.c: Likewise.
12702 * config/libbid/_td_to_usi.c: Likewise.
12703 * config/libbid/_td_to_xf.c: Likewise.
12704 * config/libbid/_tf_to_dd.c: Likewise.
12705 * config/libbid/_tf_to_sd.c: Likewise.
12706 * config/libbid/_tf_to_td.c: Likewise.
12707 * config/libbid/_udi_to_dd.c: Likewise.
12708 * config/libbid/_udi_to_sd.c: Likewise.
12709 * config/libbid/_udi_to_td.c: Likewise.
12710 * config/libbid/_unord_dd.c: Likewise.
12711 * config/libbid/_unord_sd.c: Likewise.
12712 * config/libbid/_unord_td.c: Likewise.
12713 * config/libbid/_usi_to_dd.c: Likewise.
12714 * config/libbid/_usi_to_sd.c: Likewise.
12715 * config/libbid/_usi_to_td.c: Likewise.
12716 * config/libbid/_xf_to_dd.c: Likewise.
12717 * config/libbid/_xf_to_sd.c: Likewise.
12718 * config/libbid/_xf_to_td.c: Likewise.
12719 * config/libbid/bid128.c: Likewise.
12720 * config/libbid/bid128_2_str.h: Likewise.
12721 * config/libbid/bid128_2_str_macros.h: Likewise.
12722 * config/libbid/bid128_2_str_tables.c: Likewise.
12723 * config/libbid/bid128_add.c: Likewise.
12724 * config/libbid/bid128_compare.c: Likewise.
12725 * config/libbid/bid128_div.c: Likewise.
12726 * config/libbid/bid128_fma.c: Likewise.
12727 * config/libbid/bid128_logb.c: Likewise.
12728 * config/libbid/bid128_minmax.c: Likewise.
12729 * config/libbid/bid128_mul.c: Likewise.
12730 * config/libbid/bid128_next.c: Likewise.
12731 * config/libbid/bid128_noncomp.c: Likewise.
12732 * config/libbid/bid128_quantize.c: Likewise.
12733 * config/libbid/bid128_rem.c: Likewise.
12734 * config/libbid/bid128_round_integral.c: Likewise.
12735 * config/libbid/bid128_scalb.c: Likewise.
12736 * config/libbid/bid128_sqrt.c: Likewise.
12737 * config/libbid/bid128_string.c: Likewise.
12738 * config/libbid/bid128_to_int16.c: Likewise.
12739 * config/libbid/bid128_to_int32.c: Likewise.
12740 * config/libbid/bid128_to_int64.c: Likewise.
12741 * config/libbid/bid128_to_int8.c: Likewise.
12742 * config/libbid/bid128_to_uint16.c: Likewise.
12743 * config/libbid/bid128_to_uint32.c: Likewise.
12744 * config/libbid/bid128_to_uint64.c: Likewise.
12745 * config/libbid/bid128_to_uint8.c: Likewise.
12746 * config/libbid/bid32_to_bid128.c: Likewise.
12747 * config/libbid/bid32_to_bid64.c: Likewise.
12748 * config/libbid/bid64_add.c: Likewise.
12749 * config/libbid/bid64_compare.c: Likewise.
12750 * config/libbid/bid64_div.c: Likewise.
12751 * config/libbid/bid64_fma.c: Likewise.
12752 * config/libbid/bid64_logb.c: Likewise.
12753 * config/libbid/bid64_minmax.c: Likewise.
12754 * config/libbid/bid64_mul.c: Likewise.
12755 * config/libbid/bid64_next.c: Likewise.
12756 * config/libbid/bid64_noncomp.c: Likewise.
12757 * config/libbid/bid64_quantize.c: Likewise.
12758 * config/libbid/bid64_rem.c: Likewise.
12759 * config/libbid/bid64_round_integral.c: Likewise.
12760 * config/libbid/bid64_scalb.c: Likewise.
12761 * config/libbid/bid64_sqrt.c: Likewise.
12762 * config/libbid/bid64_string.c: Likewise.
12763 * config/libbid/bid64_to_bid128.c: Likewise.
12764 * config/libbid/bid64_to_int16.c: Likewise.
12765 * config/libbid/bid64_to_int32.c: Likewise.
12766 * config/libbid/bid64_to_int64.c: Likewise.
12767 * config/libbid/bid64_to_int8.c: Likewise.
12768 * config/libbid/bid64_to_uint16.c: Likewise.
12769 * config/libbid/bid64_to_uint32.c: Likewise.
12770 * config/libbid/bid64_to_uint64.c: Likewise.
12771 * config/libbid/bid64_to_uint8.c: Likewise.
12772 * config/libbid/bid_b2d.h: Likewise.
12773 * config/libbid/bid_binarydecimal.c: Likewise.
12774 * config/libbid/bid_conf.h: Likewise.
12775 * config/libbid/bid_convert_data.c: Likewise.
12776 * config/libbid/bid_decimal_data.c: Likewise.
12777 * config/libbid/bid_decimal_globals.c: Likewise.
12778 * config/libbid/bid_div_macros.h: Likewise.
12779 * config/libbid/bid_dpd.c: Likewise.
12780 * config/libbid/bid_flag_operations.c: Likewise.
12781 * config/libbid/bid_from_int.c: Likewise.
12782 * config/libbid/bid_functions.h: Likewise.
12783 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12784 * config/libbid/bid_inline_add.h: Likewise.
12785 * config/libbid/bid_internal.h: Likewise.
12786 * config/libbid/bid_round.c: Likewise.
12787 * config/libbid/bid_sqrt_macros.h: Likewise.
12788
127892009-04-09 Jakub Jelinek <jakub@redhat.com>
12790
12791 * Makefile.in: Change copyright header to refer to version
12792 3 of the GNU General Public License and to point readers at the
12793 COPYING3 file and the FSF's license web page.
12794 * config.host: Likewise.
12795
633dd061
AM
127962009-04-07 Alan Modra <amodra@bigpond.net.au>
12797
12798 * config.host: Reorder and merge to match config.gcc change.
12799
457d1d00
AM
128002009-04-03 Alan Modra <amodra@bigpond.net.au>
12801
12802 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12803
52c0e446
JM
128042009-03-28 Joseph Myers <joseph@codesourcery.com>
12805
12806 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12807 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12808 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12809 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12810
ba181049
UB
128112009-02-12 Uros Bizjak <ubizjak@gmail.com>
12812
12813 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12814 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12815
c252db20
L
128162009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12817
ba181049
UB
12818 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12819 ia64/t-softfp-compat to tmake_file.
c252db20
L
12820
12821 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12822
12823 * config/ia64/__divxf3.asm: New.
12824 * config/ia64/_fixtfdi.asm: Likewise.
12825 * config/ia64/_fixunstfdi.asm: Likewise.
12826 * config/ia64/_floatditf.asm: Likewise.
12827 * config/ia64/t-fprules-softfp: Likewise.
12828 * config/ia64/t-softfp-compat: Likewise.
12829 * config/ia64/tf-signs.c: Likewise.
12830
c60535f9
BE
128312009-01-18 Ben Elliston <bje@au.ibm.com>
12832
12833 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12834
ce16861e
BE
128352009-01-16 Ben Elliston <bje@au.ibm.com>
12836
12837 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12838 to tmake_file.
12839
bcf4713b
BE
128402009-01-13 Ben Elliston <bje@au.ibm.com>
12841
12842 * config/t-softfp: New file.
12843 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12844 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12845
7d296953 128462009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12847
12848 * config.host: Add m32r*-*-rtems*.
12849
7d296953 128502008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12851
12852 * config.host: Add m32c*-*-rtems*.
12853
19523300
RO
128542008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12855
12856 PR bootstrap/33100
12857 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12858 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12859 * configure: Regenerate.
12860 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12861 tmake_file here from gcc/config.gcc.
12862 Move extra_parts here from gcc/config.gcc.
12863 * config/i386/t-sol2: Move here from gcc/config/i386.
12864 Use gcc_srcdir instead of srcdir.
12865
0a4a51c7
AN
128662008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12867
12868 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12869 case.
12870
2a761e46
TS
128712008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12872
12873 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12874
c0451df7
TS
128752008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12876
12877 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12878
358da97e
HS
128792008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12880
12881 Add picoChip port.
12882 * config.host: Add picochip-*-*.
12883
c660f132
BW
128842008-08-06 Bob Wilson <bob.wilson@acm.org>
12885
12886 * config.host: Match more processor names for Xtensa.
12887
d1349557
L
128882008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12889
12890 * config/i386/64/t-softfp-compat: Update comments.
12891
dd7b73c0
L
128922008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12893
12894 * config/i386/64/_divtc3-compat.c: Moved to ...
12895 * config/i386/64/_divtc3.c: Here.
12896
12897 * config/i386/64/_multc3-compat.c: Moved to ...
12898 * config/i386/64/_multc3.c: Here.
12899
12900 * config/i386/64/_powitf2-compat.c: Moved to ...
12901 * config/i386/64/_powitf2.c: Here.
12902
12903 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12904 .c suffix instead of -compat.c.
12905
6e1fab3d
UB
129062008-07-05 Uros Bizjak <ubizjak@gmail.com>
12907
12908 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12909 (_FP_MUL_MEAT_D): Ditto.
12910 (_FP_DIV_MEAT_S): Ditto.
12911 (_FP_DIV_MEAT_D): Ditto.
12912
f92518d7
RS
129132008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12914
12915 * Makefile.in: Add support for __sync_* libgcc functions.
12916
d0aede14
L
129172008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12920
c174f11c
L
129212008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12922
12923 PR boostrap/36702
12924 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12925 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12926
12927 * config/i386/64/t-fprules-softfp: Moved to ...
12928 * config/i386/64/t-softfp-compat: This. New.
12929
5f464fa2
UB
129302008-07-02 Uros Bizjak <ubizjak@gmail.com>
12931
12932 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12933 Initialize f with 0.0.
12934
ff473280
L
129352008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12936
12937 PR target/36669
12938 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12939
12940 * config/i386/64/_divtc3-compat.c: New.
12941 * config/i386/64/_multc3-compat.c: Likewise.
12942 * config/i386/64/_powitf2-compat.c: Likewise.
12943 * config/i386/64/eqtf2.c: Likewise.
12944 * config/i386/64/getf2.c: Likewise.
12945 * config/i386/64/letf2.c: Likewise.
12946 * config/i386/64/t-fprules-softfp: Likewise.
12947
129482008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12949
12950 * config.host: Add i386/${host_address}/t-fprules-softfp to
12951 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12952 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12953
12954 * configure.ac: Set host_address to 64 or 32 for x86.
12955 * configure: Regenerated.
12956
12957 * Makefile.in (config.status): Also depend on
12958 $(srcdir)/config.host.
12959
12960 * config/i386/32/t-fprules-softfp: New.
12961 * config/i386/32/tf-signs.c: Likewise.
12962
12963 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12964
129652008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12966 Uros Bizjak <ubizjak@gmail.com>
12967
12968 * config/i386/32/sfp-machine.h: New.
12969
30551d99
NF
129702008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12971
12972 * config/rs6000/t-ppccomm: Remove rules that conflict with
12973 auto-generated rules.
12974
18c04407
RW
129752008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12976
12977 * configure.ac: sinclude override.m4.
12978 * configure: Regenerate.
12979
10fbe77a
BRF
129802008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12981
12982 * configure: Regenerate.
12983
bc6d4c3f
JM
129842008-06-10 Joseph Myers <joseph@codesourcery.com>
12985
12986 * Makefile.in (DECNUMINC): Remove
12987 -I$(MULTIBUILDTOP)../../libdecnumber.
12988 * gstdint.h: New.
12989
cd985f66
JM
129902008-06-07 Joseph Myers <joseph@codesourcery.com>
12991
12992 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12993 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12994 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12995 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12996 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12997 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12998 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12999 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
13000 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
13001 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
13002 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
13003 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
13004 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
13005 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
13006
93fea8d3
AL
130072008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
13008
13009 * config.host (sh2[lbe]*-*-linux*): Allow target.
13010
18724e30
NF
130112008-04-30 Nathan Froyd <froydnj@codesourcery.com>
13012
13013 * config/rs6000/t-ppccomm: Add build rules for new files.
13014 (LIB2ADD_ST): New variable.
13015
47583040
AH
130162008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
13017
13018 PR target/34210
13019 PR target/35508
13020 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
13021 * config/t-avr: New file. Build 16bit libgcc functions.
13022
cf8e67fe
JJ
130232008-03-02 Jakub Jelinek <jakub@redhat.com>
13024
13025 PR target/35401
13026 * config/t-slibgcc-darwin: Make install-leaf dependent on
13027 install-darwin-libgcc-stubs instead of install.
13028
8d8da227
JM
130292008-01-25 Joseph Myers <joseph@codesourcery.com>
13030
13031 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
13032 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
13033 sh-*-rtemscoff*): Remove cases.
13034
edbf8b16
RS
130352007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
13036
13037 * Makefile.in (all): Use install-leaf rather than install.
13038 (install): Split most of the rule into...
13039 (install-leaf): ...this new one.
13040
89deeaff
EK
130412007-12-19 Etsushi Kato <ek.kato@gmail.com>
13042 Paolo Bonzini <bonzini@gnu.org>
13043
13044 PR target/30572
5f464fa2
UB
13045 * Makefile.in: Use @shlib_slibdir@ substitution to get
13046 correct install name on darwin.
89deeaff 13047 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 13048
4081d704
HPN
130492007-12-15 Hans-Peter Nilsson <hp@axis.com>
13050
13051 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13052 cris-*-elf and cris-*-none.
13053 (crisv32-*-linux*): Similar, as cris-*-linux*.
13054
f43e89a3
RIL
130552007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
13056
13057 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13058
b4e9c2c6
L
130592007-10-27 H.J. Lu <hongjiu.lu@intel.com>
13060
13061 PR regression/33926
13062 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13063 * configure: Regenerated.
13064
b2a00c89
L
130652007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13066
13067 * Makefile.in (dfp-filenames): Replace decimal_globals,
13068 decimal_data, binarydecimal and convert_data with
13069 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13070 and bid_convert_data, respectively.
13071
8d2a9e0e
CF
130722007-09-17 Chao-ying Fu <fu@mips.com>
13073 Nigel Stephens <nigel@mips.com>
13074
13075 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13076 * Makefile.in (fixed_point): Define.
13077 Check if fixed_point is yes to build support functions.
13078 * configure.ac: Check for fixed_point support.
13079 * configure: Regenerated.
13080 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13081 funcs, modes, from, to.
13082
2b53935d
JJ
130832007-09-11 Janis Johnson <janis187@us.ibm.com
13084
13085 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13086
2533577f
JJ
130872007-09-10 Janis Johnson <janis187@us.ibm.com>
13088
13089 * Makefile.in (dfp-filenames): Remove decUtility, add
13090 decDouble, decPacked, decQuad, decSingle.
13091
3ae3dbd6
HK
130922007-08-27 Hans Kester <hans.kester@ellips.nl>
13093
13094 * config.host : Add x86_64-elf target.
13095
22867d02
L
130962007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13097
13098 * configure.ac (set_have_cc_tls): Add a missing =.
13099 * configure: Regenerated.
13100
6f461e76
L
131012007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13102
13103 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13104 and x86_64-*-linux*.
13105
13106 * config/t-tls: New file.
13107
dfb3b0e3 13108 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
13109
13110 * configure.ac: Include ../config/enable.m4 and
13111 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13112 supports TLS and substitute set_have_cc_tls.
13113 * configure: Regenerated.
13114
200359e8
L
131152007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13116
13117 * Makefile.in: Use libbid for DFP when BID is enabled.
13118
76f5e200
DS
131192007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13120
13121 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 13122 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
13123 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13124
9bd196f0 131252007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 13126 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
13127
13128 PR target/29498
13129 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13130 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13131 * config/i386/t-crtfm: Compile crtfastmath.o with
13132 -minline-all-stringops.
13133
1910440e
RS
131342007-05-10 Richard Sandiford <richard@codesourcery.com>
13135
13136 * config.host (sparc-wrs-vxworks): New target.
13137
7d33c31d
KH
131382007-04-14 Kazu Hirata <kazu@codesourcery.com>
13139
13140 * config.host: Recognize fido.
13141
96fccd0d
JJ
131422007-04-04 Janis Johnson <janis187@us.ibm.com>
13143
13144 * configure: Check host, not target, for decimal float support.
13145
577565f9
UB
131462007-04-03 Uros Bizjak <ubizjak@gmail.com>
13147
13148 * config/i386/t-crtpc: New file.
13149 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 13150 (x86_64-*-linux*): Ditto.
577565f9 13151
ccf8e764
RH
131522007-02-30 Kai Tietz <kai.tietz@onevision.com>
13153
13154 * config.host (x86_64-*-mingw*): New target.
13155
79b87c74
MM
131562007-03-23 Michael Meissner <michael.meissner@amd.com>
13157 H.J. Lu <hongjiu.lu@intel.com>
13158
13159 * Makefile.in (enable_decimal_float): New.
13160 (DECNUMINC): Add
13161 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13162 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13163 (decbits-filenames): This.
13164 (decbits-objects): New.
13165 (libgcc-objects): Add $(decbits-objects).
13166
13167 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13168 Substitute enable_decimal_float.
13169 * configure: Regenerated.
13170
8fce4e31
HPN
131712007-03-19 Hans-Peter Nilsson <hp@axis.com>
13172
13173 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13174
e8bb4597
BM
131752007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13176
13177 * Makefile.in (install-info): New dummy target.
13178
344189f9
BS
131792007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13180
13181 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13182
ac84c172
BM
131832007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13184
13185 * Makefile.in: Add install-html and install-pdf dummy
13186 targets.
13187
cd5c2357
RS
131882007-02-05 Roger Sayle <roger@eyesopen.com>
13189 Daniel Jacobowitz <dan@codesourcery.com>
13190
13191 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13192 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13193 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13194
d9a66f98
JJ
131952007-01-29 Janis Johnson <janis187@us.ibm.com>
13196
13197 * Makefile.in (dec-filenames): Add decExcept.
13198
9891ec5f
DJ
131992007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13200
13201 PR bootstrap/30469
13202 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13203 -fprofile-use.
13204
d6efbf5a
DJ
132052007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13206
13207 * configure.ac: Add --enable-version-specific-runtime-libs.
13208 Correct $slibdir default.
13209 * configure: Regenerated.
13210
17caeff2
JM
132112007-01-23 Joseph Myers <joseph@codesourcery.com>
13212
13213 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13214
5ea41e3a
AP
132152007-01-21 Andrew Pinski <pinskia@gmail.com>
13216
13217 PR target/30519
13218 * config.host (alpha*-*-linux*): Set extra_parts.
13219
26900826
KK
132202007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13221
13222 * config/sh/t-linux: New.
13223 * config.host (sh*-*-linux*): Set tmake_file.
13224
97af925b
DJ
132252007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13226
13227 * Makefile.in (install): Handle multilibs.
13228
b0088af7
BM
132292007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13230
13231 * Makefile.in: Added .PHONY entry for documentation targets.
13232
e0a9456a
BM
132332007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13234
13235 * Makefile.in: Add empty info, html, dvi, pdf targets.
13236
7fd453b4
MS
132372007-01-04 Mike Stump <mrs@apple.com>
13238
13239 * Makefile.in (MAKEINFO): Remove.
13240 (PERL): Likewise.
13241
14e8fc8b
PB
132422007-01-04 Paolo Bonzini <bonzini@gnu.org>
13243
13244 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13245 * configure: Regenerate.
13246 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 13247 (gcc_objdir): Use it.
14e8fc8b 13248
1555beba
DJ
132492007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13250
13251 * config.host (ia64*-*-linux*): Set tmake_file.
13252
79e6eaeb
DJ
132532007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13254
13255 * Makefile.in (version): Define.
13256
fa958513
DJ
132572007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13258 Paolo Bonzini <bonzini@gnu.org>
13259
13260 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13261 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13262 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13263 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13264 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13265 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13266 * configure: Generated.
818ab71a 13267\f
68127a8e 13268Copyright (C) 2007-2023 Free Software Foundation, Inc.
818ab71a
JJ
13269
13270Copying and distribution of this file, with or without modification,
13271are permitted in any medium without royalty provided the copyright
13272notice and this notice are preserved.