]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/ChangeLog
Daily bump.
[thirdparty/gcc.git] / libgcc / ChangeLog
CommitLineData
8428bcd7
GA
12023-11-30 Wilco Dijkstra <wilco.dijkstra@arm.com>
2
3 PR target/111404
4 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Execute STLXP using
5 either new value or loaded value.
6
ad3e759c
GA
72023-11-27 Richard Earnshaw <rearnsha@arm.com>
8
9 * config/arm/lib1funcs.S (__sync_synchronize): Adjust warning message.
10
77cf1dba
GA
112023-11-24 Richard Earnshaw <rearnsha@arm.com>
12
13 * config.host (arm*-*-eabi* | arm*-*-rtems*):
14 Add arm/t-sync to the makefile rules.
15 * config/arm/lib1funcs.S (__sync_synchronize_none)
16 (__sync_synchronize_cp15dmb, __sync_synchronize_dmb)
17 (__sync_synchronize): New functions.
18 * config/arm/t-sync: New file.
19 * config/arm/sync-none.specs: Likewise.
20 * config/arm/sync-dmb.specs: Likewise.
21 * config/arm/sync-cp15dmb.specs: Likewise.
22
6fb55db0
GA
232023-11-23 Jose E. Marchesi <jose.marchesi@oracle.com>
24
25 * hardcfr.c (__hardcfr_check_fail): Mark as always_inline.
26
92c480a4
GA
272023-11-21 Jakub Jelinek <jakub@redhat.com>
28
29 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Formatting fixes.
30
9d58d2d8
GA
312023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
32
33 * libgcov.h (GCOV_SUPPORTS_ATOMIC): Always define it.
34 Set it also to 1, if __LIBGCC_HAVE_LIBATOMIC is defined.
35
362023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
37
38 Revert:
39 2023-11-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
40
41 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
42 (gcov_type_unsigned): Likewise.
43
b9fd8399
GA
442023-11-10 Keith Packard <keithp@keithp.com>
45
46 * config/m68k/lb1sf68.S (__adddf3): Properly check for non-zero denorm.
47 (__divdf3): Restore sign bit properly.
48 (__addsf3): Correct exponent check.
49 * config/m68k/fpgnulib.c (EXPMASK): Define.
50 (__extendsfdf2): Handle Inf and NaN properly.
51 (__truncdfsf2): Handle underflow and overflow correctly.
52 (__extenddfxf2): Handle underflow, denorms, Inf and NaN correctly.
53 (__truncxfdf2): Handle underflow and denorms correctly.
54 (__fixxfsi): Reimplement.
55
562023-11-09 Jakub Jelinek <jakub@redhat.com>
57
58 PR libgcc/65833
59 * config/t-softfp (softfp_bid_list): Add
60 {U,}TItype <-> _Decimal{32,64,128} conversions.
61 * soft-fp/floattisd.c: New file.
62 * soft-fp/floattidd.c: New file.
63 * soft-fp/floattitd.c: New file.
64 * soft-fp/floatuntisd.c: New file.
65 * soft-fp/floatuntidd.c: New file.
66 * soft-fp/floatuntitd.c: New file.
67 * soft-fp/fixsdti.c: New file.
68 * soft-fp/fixddti.c: New file.
69 * soft-fp/fixtdti.c: New file.
70 * soft-fp/fixunssdti.c: New file.
71 * soft-fp/fixunsddti.c: New file.
72 * soft-fp/fixunstdti.c: New file.
73
c48f1056
GA
742023-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
75
76 * offloadstuff.c (OFFLOAD_IND_FUNC_TABLE_SECTION_NAME): New.
77 (__offload_ind_func_table): New.
78 (__offload_ind_funcs_end): New.
79 (__OFFLOAD_TABLE__): Add entries for indirect functions.
80
38904b73
GA
812023-11-03 Thomas Schwinge <thomas@codesourcery.com>
82
83 * config/gcn/gthr-gcn.h (__gthread_getspecific): 's%NULL%0'.
84
eac0917b
GA
852023-10-31 Alexandre Oliva <oliva@adacore.com>
86
87 * hardcfr.c: Adjust copyright year.
88
444a485f
GA
892023-10-24 Sergei Trofimovich <siarheit@google.com>
90
91 * config/aarch64/heap-trampoline.c: Disable when libc is not
92 present.
93 * config/i386/heap-trampoline.c: Ditto.
94
3b632746
GA
952023-10-22 Iain Sandoe <iain@sandoe.co.uk>
96
97 * config/t-slibgcc-darwin: Generate libgcc_s
98 with an @rpath name.
99 * config.host: Handle Darwin rpaths.
100 * config/t-darwin-rpath: New file.
101
1022023-10-22 Andrew Burgess <andrew.burgess@embecosm.com>
103 Maxim Blinov <maxim.blinov@embecosm.com>
104 Iain Sandoe <iain@sandoe.co.uk>
105 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
106
107 * libgcc2.h (__builtin_nested_func_ptr_created): Declare.
108 (__builtin_nested_func_ptr_deleted): Declare.
109 * libgcc-std.ver.in: Add the new symbols.
110 * config/aarch64/heap-trampoline.c: Implement heap-based
111 trampolines for aarch64.
112 * config/aarch64/t-heap-trampoline: Add rule to build
113 config/aarch64/heap-trampoline.c
114 * config/i386/heap-trampoline.c: Implement heap-based
115 trampolines for x86_64.
116 * config/i386/t-heap-trampoline: Add rule to build
117 config/i386/heap-trampoline.cc
118 * config.host: Handle --enable-heap-trampolines on
119 x86_64-*-linux*, aarch64-*-linux*, x86_64-*-darwin*.
120
6f684dd2
GA
1212023-10-20 Andrew Stubbs <ams@codesourcery.com>
122
123 * config/gcn/amdgcn_veclib.h (CDNA3_PLUS): Set false for __RDNA2__.
124
1252023-10-20 Alexandre Oliva <oliva@adacore.com>
126
127 * Makefile.in (LIB2ADD): Add hardcfr.c.
128 * hardcfr.c: New.
129
300d7d3a
GA
1302023-10-13 Florian Weimer <fweimer@redhat.com>
131
132 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Add
133 missing cast.
134
1352023-10-13 Florian Weimer <fweimer@redhat.com>
136
137 * config/arc/linux-unwind.h (arc_fallback_frame_state): Add
138 missing cast.
139
1402023-10-13 Florian Weimer <fweimer@redhat.com>
141
142 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Add
143 missing cast.
144
1452023-10-13 Florian Weimer <fweimer@redhat.com>
146
147 * config/csky/linux-unwind.h (csky_fallback_frame_state): Add
148 missing cast.
149
1502023-10-13 Florian Weimer <fweimer@redhat.com>
151
152 * config/m68k/fpgnulib.c (__cmpdf2): Declare.
153
0d9b4e86
GA
1542023-09-26 Wilco Dijkstra <wilco.dijkstra@arm.com>
155
156 * config/aarch64/lse.S (BTI_C): Remove define.
157
4907d220
GA
1582023-09-20 Pekka Seppänen <pexu@gcc.mail.kapsi.fi>
159
160 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key):
161 Use const unsigned type and a builtin.
162
a134b6ce
GA
1632023-09-06 Jakub Jelinek <jakub@redhat.com>
164
165 PR c/102989
166 * libgcc2.c (bitint_negate): Add function comment.
167 * soft-fp/bitint.h (bitint_negate): Add function comment.
168 (FP_TO_BITINT, FP_FROM_BITINT): Add comment explaining the macros.
169
1702023-09-06 Jakub Jelinek <jakub@redhat.com>
171
172 PR c/102989
173 * config/aarch64/t-softfp (softfp_extras): Use += rather than :=.
174 * config/i386/64/t-softfp (softfp_extras): Likewise.
175 * config/i386/libgcc-glibc.ver (GCC_14.0.0): Export _BitInt support
176 routines.
177 * config/i386/t-softfp (softfp_extras): Add fixxfbitint and
178 bf, hf and xf mode floatbitint.
179 (CFLAGS-floatbitintbf.c, CFLAGS-floatbitinthf.c): Add -msse2.
180 * config/riscv/t-softfp32 (softfp_extras): Use += rather than :=.
181 * config/rs6000/t-e500v1-fp (softfp_extras): Likewise.
182 * config/rs6000/t-e500v2-fp (softfp_extras): Likewise.
183 * config/t-softfp (softfp_floatbitint_funcs): New.
184 (softfp_bid_list): New.
185 (softfp_func_list): Add sf and df mode from and to _BitInt libcalls.
186 (softfp_bid_file_list): New.
187 (LIB2ADD_ST): Add $(softfp_bid_file_list).
188 * config/t-softfp-sfdftf (softfp_extras): Add fixtfbitint and
189 floatbitinttf.
190 * config/t-softfp-tf (softfp_extras): Likewise.
191 * libgcc2.c (bitint_reduce_prec): New inline function.
192 (BITINT_INC, BITINT_END): Define.
193 (bitint_mul_1, bitint_addmul_1): New helper functions.
194 (__mulbitint3): New function.
195 (bitint_negate, bitint_submul_1): New helper functions.
196 (__divmodbitint4): New function.
197 * libgcc2.h (LIBGCC2_UNITS_PER_WORD): When building _BitInt support
198 libcalls, redefine depending on __LIBGCC_BITINT_LIMB_WIDTH__.
199 (__mulbitint3, __divmodbitint4): Declare.
200 * libgcc-std.ver.in (GCC_14.0.0): Export _BitInt support routines.
201 * Makefile.in (lib2funcs): Add _mulbitint3.
202 (LIB2_DIVMOD_FUNCS): Add _divmodbitint4.
203 * soft-fp/bitint.h: New file.
204 * soft-fp/fixdfbitint.c: New file.
205 * soft-fp/fixsfbitint.c: New file.
206 * soft-fp/fixtfbitint.c: New file.
207 * soft-fp/fixxfbitint.c: New file.
208 * soft-fp/floatbitintbf.c: New file.
209 * soft-fp/floatbitintdf.c: New file.
210 * soft-fp/floatbitinthf.c: New file.
211 * soft-fp/floatbitintsf.c: New file.
212 * soft-fp/floatbitinttf.c: New file.
213 * soft-fp/floatbitintxf.c: New file.
214 * soft-fp/op-common.h (_FP_FROM_INT): Add support for rsize up to
215 4 * _FP_W_TYPE_SIZE rather than just 2 * _FP_W_TYPE_SIZE.
216 * soft-fp/bitintpow10.c: New file.
217 * soft-fp/fixsdbitint.c: New file.
218 * soft-fp/fixddbitint.c: New file.
219 * soft-fp/fixtdbitint.c: New file.
220 * soft-fp/floatbitintsd.c: New file.
221 * soft-fp/floatbitintdd.c: New file.
222 * soft-fp/floatbitinttd.c: New file.
223
2242023-09-06 Jakub Jelinek <jakub@redhat.com>
225
226 PR c/102989
227 * soft-fp/bitintpow10.h: New file.
228
d820cd78
GA
2292023-09-05 Yang Yujie <yangyujie@loongson.cn>
230
231 * config.host: add loongarch*-elf target.
232
886afed6
GA
2332023-08-11 Thomas Neumann <thomas.neumann@in.tum.de>
234
235 PR libgcc/110956
236 * unwind-dw2-fde.c: Associate object with address of unwinding
237 table.
238
4b92dba7
GA
2392023-08-07 John Ericson <git@JohnEricson.me>
240
241 * configure: Regenerate.
242
2432023-08-07 Alan Modra <amodra@gmail.com>
244
245 * configure: Regenerate.
246
82c2a34b
GA
2472023-07-23 Andrew Pinski <apinski@marvell.com>
248
249 * config.host (riscv*-*-linux*): Add t-crtstuff to tmake_file.
250 (riscv*-*-freebsd*): Likewise.
251 * config/riscv/t-crtstuff: New file.
252
49bed11d
GA
2532023-07-19 liuhongt <hongtao.liu@intel.com>
254
255 * config/i386/t-softfp: Add -msse2 to libbid HFtype related
256 files.
257
af3d3ce3
GA
2582023-07-11 Florian Weimer <fweimer@redhat.com>
259
260 PR libgcc/110179
261 * unwind-dw2-fde-dip.c (find_fde_tail): Add cast to avoid
262 implicit conversion of pointer value to integer.
263
738808bd
GA
2642023-07-06 Kito Cheng <kito.cheng@sifive.com>
265
266 * config/riscv/sfp-machine.h (FP_INIT_ROUNDMODE): Check zfinx.
267 (FP_HANDLE_EXCEPTIONS): Ditto.
268
e517d3f5
GA
2692023-06-19 Andrew Stubbs <ams@codesourcery.com>
270
271 * config/gcn/lib2-divmod-di.c: Reimplement like lib2-divmod.c.
272 * config/gcn/lib2-divmod.c: Likewise.
273 * config/gcn/lib2-gcn.h: Add new types and prototypes for all the
274 new vector libfuncs.
275 * config/gcn/t-amdgcn: Add new files.
276 * config/gcn/amdgcn_veclib.h: New file.
277 * config/gcn/lib2-vec_divmod-di.c: New file.
278 * config/gcn/lib2-vec_divmod-hi.c: New file.
279 * config/gcn/lib2-vec_divmod-qi.c: New file.
280 * config/gcn/lib2-vec_divmod.c: New file.
281
2822023-06-19 Andrew Stubbs <ams@codesourcery.com>
283
284 * config/gcn/lib2-gcn.h (QItype, UQItype, HItype, UHItype): Delete.
285 (__divhi3, __modhi3, __udivhi3, __umodhi3): Delete.
286 * config/gcn/t-amdgcn: Don't build lib2-divmod-hi.c.
287 * config/gcn/lib2-divmod-hi.c: Removed.
288
8c5b1365
GA
2892023-06-07 Florian Weimer <fweimer@redhat.com>
290
291 PR libgcc/109712
292 * unwind-dw2-fde-dip.c (find_fde_tail): Correct fast path for
293 parsing eh_frame.
294
14da7648
GA
2952023-06-05 Kewen Lin <linkw@linux.ibm.com>
296
297 * config/i386/morestack.S: Use @init_array rather than
298 @progbits for section type of section .init_array.
299 * config/rs6000/morestack.S: Likewise.
300 * config/s390/morestack.S: Likewise.
301
3022023-06-05 YunQiang Su <yunqiang.su@cipunited.com>
303
304 * config/mips/lib1funcs.S: New file.
305 define __speculation_barrier and include mips16.S.
306 * config/mips/t-mips: define LIB1ASMSRC as mips/lib1funcs.S.
307 define LIB1ASMFUNCS as _speculation_barrier.
308 set version info for __speculation_barrier.
309 * config/mips/libgcc-mips.ver: New file.
310 * config/mips/t-mips16: don't define LIB1ASMSRC as mips16.S
311 included in lib1funcs.S now.
312
321cee7e
GA
3132023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
314
315 PR libgcc/109670
316 * unwind-dw2-fde.c: Fix radix sort buffer management.
317
3182023-06-03 Thomas Neumann <tneumann@users.sourceforge.net>
319
320 PR libgcc/109685
321 * unwind-dw2-fde.c: Free sort array in atomic fast path.
322
5df01f89
GA
3232023-05-19 Iain Sandoe <iain@sandoe.co.uk>
324
325 * config.host: Arrange to set min Darwin OS versions from
326 the configured host version.
327 * config/darwin10-unwind-find-enc-func.c: Do not use current
328 headers, but declare the nexessary structures locally to the
329 versions in use for Mac OSX 10.6.
330 * config/t-darwin: Amend to handle configured min OS
331 versions.
332 * config/t-darwin-min-1: New.
333 * config/t-darwin-min-5: New.
334 * config/t-darwin-min-8: New.
335
3427b51b
GA
3362023-05-15 Thomas Neumann <tneumann@users.sourceforge.net>
337
338 * unwind-dw2-fde.c: Fix assert in non-atomic path.
339
3402023-05-15 Sören Tempel <soeren+git@soeren-tempel.net>
341
342 * unwind-dw2-fde.c: Accept empty ranges when deregistering frames.
343
d7cb9720
GA
3442023-05-02 Patrick O'Neill <patrick@rivosinc.com>
345
346 * config/riscv/atomic.c: Change LR.aq/SC.rl pairs into
347 sequentially consistent LR.aqrl/SC.rl pairs.
348
1fc8da95
GA
3492023-05-01 Dimitar Dimitrov <dimitar@dinux.eu>
350
351 * config/pru/t-pru (HOST_LIBGCC2_CFLAGS): Add
352 -DTARGET_HAS_NO_HW_DIVIDE.
353
4a3dbcbd
GA
3542023-04-27 Hans-Peter Nilsson <hp@axis.com>
355
356 * config/cris/t-cris (HOST_LIBGCC2_CFLAGS): Add
357 -DTARGET_HAS_NO_HW_DIVIDE.
358
3592023-04-26 Patrick O'Neill <patrick@rivosinc.com>
360
361 PR target/104338
362 * config/riscv/atomic.c: Add reference to duplicate logic.
363
0f04ebb4
GA
3642023-04-08 Tetsuma Hoshino <t-hoshino@pony-e.jp>
365
366 PR target/109402
367 * config/v850/lib1funcs.S (___muldi3): Remove unnecessary
368 stack manipulations.
369
5229788d
GA
3702023-04-05 John David Anglin <danglin@gcc.gnu.org>
371
372 PR target/109374
373 * config/pa/milli64.S (RETURN_COLUMN): Define.
374 ($$divI): Add CFI directives.
375 ($$divU): Likewise.
376 ($$remI): Likewise.
377 ($$remU): Likewise.
378
09abeb73
GA
3792023-03-19 Stafford Horne <shorne@gmail.com>
380
381 * config/or1k/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
382 statement clearing existing exceptions.
383
a9835599
GA
3842023-03-13 Max Filippov <jcmvbkbc@gmail.com>
385
386 * config/xtensa/crti.S: Add .note.GNU-stack section on linux.
387 * config/xtensa/crtn.S: Likewise.
388 * config/xtensa/lib1funcs.S: Likewise.
389 * config/xtensa/lib2funcs.S: Likewise.
390
44ea7318
GA
3912023-03-12 Jakub Jelinek <jakub@redhat.com>
392
393 * config/aarch64/t-softfp (softfp_extensions): Add bfsf.
394 (softfp_truncations): Add tfbf dfbf sfbf hfbf.
395 (softfp_extras): Add floatdibf floatundibf floattibf floatuntibf.
396 * config/aarch64/libgcc-softfp.ver (GCC_13.0.0): Export
397 __extendbfsf2 and __trunc{s,d,t,h}fbf2.
398 * config/aarch64/sfp-machine.h (_FP_NANFRAC_B, _FP_NANSIGN_B): Define.
399 * soft-fp/floatundibf.c: New file.
400 * soft-fp/floatdibf.c: New file.
401
c8065441
GA
4022023-03-10 Jakub Jelinek <jakub@redhat.com>
403
404 PR target/107703
405 * soft-fp/floattibf.c: New file.
406 * soft-fp/floatuntibf.c: New file.
407 * config/i386/libgcc-glibc.ver: Export __float{,un}tibf @ GCC_13.0.0.
408 * config/i386/64/t-softfp (softfp_extras): Add floattibf and
409 floatuntibf.
410 (CFLAGS-floattibf.c, CFLAGS-floatunstibf.c): Add -msse2.
411
6a87fdd3
GA
4122023-03-08 Kewen Lin <linkw@linux.ibm.com>
413
414 PR libgcc/108727
415 * config/rs6000/morestack.S (__morestack): Use PARAMS for new stack
416 bump size.
417
3dd4ada4
GA
4182023-03-06 Michael Meissner <meissner@linux.ibm.com>
419
420 PR target/107299
421 * config/rs6000/_divkc3.c (COPYSIGN): Use the correct built-in based on
422 whether long double is IBM or IEEE.
423 (INFINITY): Likewise.
424 (FABS): Likewise.
425 * config/rs6000/_mulkc3.c (COPYSIGN): Likewise.
426 (INFINITY): Likewise.
427 * config/rs6000/quad-float128.h (TF): Remove definition.
428 (TFtype): Define to be long double or _Float128.
429 (TCtype): Define to be _Complex long double or _Complex _Float128.
430 * libgcc2.h (TFtype): Allow machine config files to override this.
431 (TCtype): Likewise.
432 * soft-fp/quad.h (TFtype): Likewise.
433
ae719781
GA
4342023-02-13 Kito Cheng <kito.cheng@sifive.com>
435
436 * config.host (riscv*-*-*): Add config/riscv/value-unwind.h.
437 * config/riscv/value-unwind.h: New.
438
49e52115
GA
4392023-02-03 Christophe Lyon <christophe.lyon@arm.com>
440
441 * config/arm/pr-support.c (__gnu_unwind_execute): Use
442 TARGET_HAVE_PACBTI to define set_pac and set_pac_sp.
443
897a0502
GA
4442023-01-30 Flavio Cruz <flaviocruz@gmail.com>
445
446 * config.host: Recognize x86_64-*-gnu* targets.
447 * config/i386/gnu-unwind.h: Update to handle __x86_64__ with a
448 TODO for now.
449
607f278a
GA
4502023-01-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
451
452 * config/arm/pr-support.c (__gnu_unwind_execute): Decode opcode
453 "0xb5".
454
4552023-01-23 Andrea Corallo <andrea.corallo@arm.com>
456 Tejas Belagod <tbelagod@arm.com>
457 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
458
459 * config/arm/pr-support.c (__gnu_unwind_execute): Decode
460 exception opcode (0xb4) for saving RA_AUTH_CODE and authenticate
461 with AUTG if found.
462 * config/arm/unwind-arm.c (struct pseudo_regs): New.
463 (phase1_vrs): Introduce new field to store pseudo-reg state.
464 (phase2_vrs): Likewise.
465 (_Unwind_VRS_Get): Load pseudo register state from virtual reg set.
466 (_Unwind_VRS_Set): Store pseudo register state to virtual reg set.
467 (_Unwind_VRS_Pop): Load pseudo register value from stack into VRS.
468
9f98cfa5
GA
4692023-01-18 Wilco Dijkstra <wilco.dijkstra@arm.com>
470
471 PR target/107678
472 * unwind-dw2.h (REG_UNSAVED_ARCHEXT): Add new enum.
473 * unwind-dw2.c (uw_update_context_1): Add REG_UNSAVED_ARCHEXT case.
474 * unwind-dw2-execute_cfa.h: Use REG_UNSAVED_ARCHEXT/REG_UNSAVED to
475 encode the return address signing state.
476 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr)
477 Check current return address signing state.
478 (aarch64_frob_update_contex): Remove.
479
5013c3bb
GA
4802023-01-13 John David Anglin <danglin@gcc.gnu.org>
481
482 * config.host (hppa*64*-*-linux*): Adjust tmake_file to use
483 pa/t-pa64-linux.
484 (hppa*64*-*-hpux11*): Adjust tmake_file to use pa/t-pa64-hpux
485 instead of pa/t-hpux and pa/t-pa64.
486 * config/pa/linux-atomic.c: Define u32 type.
487 (ATOMIC_LOAD): Define new macro to implement atomic_load_1,
488 atomic_load_2, atomic_load_4 and atomic_load_8. Update sync
489 defines to use atomic_load calls for type.
490 (SYNC_LOCK_LOAD_2): New macro to implement __sync_lock_load_8.
491 * config/pa/sync-libfuncs.c: New file.
492 * config/pa/t-netbsd (LIB2ADD_ST): Define.
493 * config/pa/t-openbsd (LIB2ADD_ST): Define.
494 * config/pa/t-pa64-hpux: New file.
495 * config/pa/t-pa64-linux: New file.
496
4972023-01-13 Jonathan Wakely <jwakely@redhat.com>
498
499 PR libstdc++/108331
500 * config/i386/gthr-win32.h (__gthr_win32_legacy_mutex_t): New
501 struct matching the previous __gthread_mutex_t struct.
502 (__GTHREAD_LEGACY_MUTEX_T): Define.
503
5042023-01-13 Seija Kijin <doremylover456@gmail.com>
505
506 * config/arm/lib1funcs.S (clear_cache): Use SVC to conform to
507 unified syntax.
508
d901bf8a
GA
5092023-01-07 LIU Hao <lh_mouse@126.com>
510
511 PR middle-end/108300
512 * config/i386/enable-execute-stack-mingw32.c: Define
513 `WIN32_LEAN_AND_MEAN` before <windows.h>.
514 * libgcc2.c: Likewise.
515 * unwind-generic.h: Likewise.
516
0f8fbb57
GA
5172023-01-03 Florian Weimer <fweimer@redhat.com>
518
519 * unwind-dw2-execute_cfa.h: New file. Extracted from
520 the execute_cfa_program function in unwind-dw2.c.
521 * unwind-dw2.c (execute_cfa_program_generic): New function.
522 (execute_cfa_program_specialized): Likewise.
523 (execute_cfa_program): Call execute_cfa_program_specialized
524 or execute_cfa_program_generic, as appropriate.
525
5262023-01-03 Florian Weimer <fweimer@redhat.com>
527
528 Revert:
529 2023-01-03 Florian Weimer <fweimer@redhat.com>
530
531 * unwind-dw2.c (dwarf_reg_size): New function.
532 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
533 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
534 (uw_init_context_1): Do not initialize dwarf_reg_size_table
535 if not in use.
536
5372023-01-03 Florian Weimer <fweimer@redhat.com>
538
539 Revert:
540 2023-01-03 Florian Weimer <fweimer@redhat.com>
541
542 * unwind-dw2-execute_cfa.h: New file. Extracted from
543 the execute_cfa_program function in unwind-dw2.c.
544 * unwind-dw2.c (execute_cfa_program_generic): New function.
545 (execute_cfa_program_specialized): Likewise.
546 (execute_cfa_program): Call execute_cfa_program_specialized
547 or execute_cfa_program_generic, as appropriate.
548
fee53a31
GA
5492023-01-02 Florian Weimer <fweimer@redhat.com>
550
551 * unwind-dw2-execute_cfa.h: New file. Extracted from
552 the execute_cfa_program function in unwind-dw2.c.
553 * unwind-dw2.c (execute_cfa_program_generic): New function.
554 (execute_cfa_program_specialized): Likewise.
555 (execute_cfa_program): Call execute_cfa_program_specialized
556 or execute_cfa_program_generic, as appropriate.
557
5582023-01-02 Florian Weimer <fweimer@redhat.com>
559
560 * unwind-dw2.c (dwarf_reg_size): New function.
561 (_Unwind_GetGR, _Unwind_SetGR, _Unwind_SetGRPtr)
562 (_Unwind_SetSpColumn, uw_install_context_1): Use it.
563 (uw_init_context_1): Do not initialize dwarf_reg_size_table
564 if not in use.
565
bc38aee7
GA
5662022-12-25 Jonathan Yong <10walls@gmail.com>
567
568 * config/i386/gthr-win32.h: undef CC_NONE
569
843c4d2f
GA
5702022-12-24 Iain Sandoe <iain@sandoe.co.uk>
571
572 * config/t-slibgcc-darwin (install-darwin-libgcc-stubs): Skip the
573 install of libgcc_s.1.dylib when the installation is into the build
574 gcc directory.
575
376d6b8c
GA
5762022-12-23 Eric Botcazou <ebotcazou@adacore.com>
577
578 * config.host (i[34567]86-*-mingw*): Add thread fragment after EH one
579 as well as new i386/t-slibgcc-mingw fragment.
580 (x86_64-*-mingw*): Likewise.
581 * config/i386/gthr-win32.h: If _WIN32_WINNT is at least 0x0600, define
582 both __GTHREAD_HAS_COND and __GTHREADS_CXX0X to 1.
583 Error out if _GTHREAD_USE_MUTEX_TIMEDLOCK is 1.
584 Include stdlib.h instead of errno.h and do not include _mingw.h.
585 (CONST_CAST2): Add specific definition for C++.
586 (ATTRIBUTE_UNUSED): New macro.
587 (__UNUSED_PARAM): Delete.
588 Define WIN32_LEAN_AND_MEAN before including windows.h.
589 (__gthread_objc_data_tls): Use TLS_OUT_OF_INDEXES instead of (DWORD)-1.
590 (__gthread_objc_init_thread_system): Likewise.
591 (__gthread_objc_thread_get_data): Minor tweak.
592 (__gthread_objc_condition_allocate): Use ATTRIBUTE_UNUSED.
593 (__gthread_objc_condition_deallocate): Likewise.
594 (__gthread_objc_condition_wait): Likewise.
595 (__gthread_objc_condition_broadcast): Likewise.
596 (__gthread_objc_condition_signal): Likewise.
597 Include sys/time.h.
598 (__gthr_win32_DWORD): New typedef.
599 (__gthr_win32_HANDLE): Likewise.
600 (__gthr_win32_CRITICAL_SECTION): Likewise.
601 (__gthr_win32_CONDITION_VARIABLE): Likewise.
602 (__gthread_t): Adjust.
603 (__gthread_key_t): Likewise.
604 (__gthread_mutex_t): Likewise.
605 (__gthread_recursive_mutex_t): Likewise.
606 (__gthread_cond_t): New typedef.
607 (__gthread_time_t): Likewise.
608 (__GTHREAD_MUTEX_INIT_DEFAULT): Delete.
609 (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
610 (__GTHREAD_COND_INIT_FUNCTION): Define.
611 (__GTHREAD_TIME_INIT): Likewise.
612 (__gthr_i486_lock_cmp_xchg): Delete.
613 (__gthr_win32_create): Declare.
614 (__gthr_win32_join): Likewise.
615 (__gthr_win32_self): Likewise.
616 (__gthr_win32_detach): Likewise.
617 (__gthr_win32_equal): Likewise.
618 (__gthr_win32_yield): Likewise.
619 (__gthr_win32_mutex_destroy): Likewise.
620 (__gthr_win32_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
621 (__gthr_win32_cond_broadcast): Likewise.
622 (__gthr_win32_cond_signal): Likewise.
623 (__gthr_win32_cond_wait): Likewise.
624 (__gthr_win32_cond_timedwait): Likewise.
625 (__gthr_win32_recursive_mutex_init_function): Delete.
626 (__gthr_win32_recursive_mutex_lock): Likewise.
627 (__gthr_win32_recursive_mutex_unlock): Likewise.
628 (__gthr_win32_recursive_mutex_destroy): Likewise.
629 (__gthread_create): New inline function.
630 (__gthread_join): Likewise.
631 (__gthread_self): Likewise.
632 (__gthread_detach): Likewise.
633 (__gthread_equal): Likewise.
634 (__gthread_yield): Likewise.
635 (__gthread_cond_init_function): Likewise if __GTHREADS_HAS_COND is 1.
636 (__gthread_cond_broadcast): Likewise.
637 (__gthread_cond_signal): Likewise.
638 (__gthread_cond_wait): Likewise.
639 (__gthread_cond_timedwait): Likewise.
640 (__GTHREAD_WIN32_INLINE): New macro.
641 (__GTHREAD_WIN32_COND_INLINE): Likewise.
642 (__GTHREAD_WIN32_ACTIVE_P): Likewise.
643 Define WIN32_LEAN_AND_MEAN before including windows.h.
644 (__gthread_once): Minor tweaks.
645 (__gthread_key_create): Use ATTRIBUTE_UNUSED and TLS_OUT_OF_INDEXES.
646 (__gthread_key_delete): Minor tweak.
647 (__gthread_getspecific): Likewise.
648 (__gthread_setspecific): Likewise.
649 (__gthread_mutex_init_function): Reimplement.
650 (__gthread_mutex_destroy): Likewise.
651 (__gthread_mutex_lock): Likewise.
652 (__gthread_mutex_trylock): Likewise.
653 (__gthread_mutex_unlock): Likewise.
654 (__gthr_win32_abs_to_rel_time): Declare.
655 (__gthread_recursive_mutex_init_function): Reimplement.
656 (__gthread_recursive_mutex_destroy): Likewise.
657 (__gthread_recursive_mutex_lock): Likewise.
658 (__gthread_recursive_mutex_trylock): Likewise.
659 (__gthread_recursive_mutex_unlock): Likewise.
660 (__gthread_cond_destroy): New inline function.
661 (__gthread_cond_wait_recursive): Likewise.
662 * config/i386/gthr-win32.c: Delete everything.
663 Include gthr-win32.h to get the out-of-line version of inline routines.
664 Add compile-time checks for the local version of the Win32 types.
665 * config/i386/gthr-win32-cond.c: New file.
666 * config/i386/gthr-win32-thread.c: Likewise.
667 * config/i386/t-gthr-win32: Add config/i386/gthr-win32-thread.c to the
668 EH part, config/i386/gthr-win32-cond.c and config/i386/gthr-win32.c to
669 the static version of libgcc.
670 * config/i386/t-slibgcc-mingw: New file.
671 * config/i386/libgcc-mingw.ver: Likewise.
672
5fb1e674
GA
6732022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
674
675 * unwind-dw2-fde.c: Initialize fde object lazily when
676 the first exception tries to pass through.
677
6782022-12-16 Thomas Neumann <tneumann@users.sourceforge.net>
679
680 * unwind-dw2-fde.c: Use radix sort instead of split+sort+merge.
681
e6110da4
GA
6822022-12-08 Max Filippov <jcmvbkbc@gmail.com>
683
684 * config/xtensa/xtensa-config-builtin.h (XCHAL_NUM_AREGS)
685 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE, XCHAL_ICACHE_LINESIZE)
686 (XCHAL_DCACHE_LINESIZE, XCHAL_MMU_MIN_PTE_PAGE_SIZE)
687 (XSHAL_ABI): Remove stray symbols from macro definitions.
688
4bc2d9f6
GA
6892022-12-07 Max Filippov <jcmvbkbc@gmail.com>
690
691 * config/xtensa/crti.S (xtensa-config.h): Replace #inlcude with
692 xtensa-config-builtin.h.
693 * config/xtensa/crtn.S: Likewise.
694 * config/xtensa/lib1funcs.S: Likewise.
695 * config/xtensa/lib2funcs.S: Likewise.
696 * config/xtensa/xtensa-config-builtin.h: New File.
697
05788e9b
GA
6982022-11-04 Florian Weimer <fweimer@redhat.com>
699
700 * unwind-dw2-fde-dip.c (find_fde_tail): Special-case encoding
701 values actually used by BFD ld.
702
00716b77
GA
7032022-10-23 LIU Hao <lh_mouse@126.com>
704
705 * config/i386/gthr-mcf.h: Include 'gthr_libobjc.h' when building
706 libobjc, instead of 'gthr.h'
707
87f9c4a4
GA
7082022-10-19 LIU Hao <lh_mouse@126.com>
709
710 * config.host: Add new cases for `mcf` thread model
711 * config/i386/gthr-mcf.h: New file
712 * config/i386/t-mingw-mcfgthread: New file
713 * config/i386/t-slibgcc-cygming: Add mcfgthread for libgcc DLL
714 * configure: Regenerate
715
21de009f
GA
7162022-10-18 Jonathan Wakely <jwakely@redhat.com>
717
718 * Makefile.in: Quote variable.
719
6237663c
GA
7202022-10-17 H.J. Lu <hjl.tools@gmail.com>
721
722 * unwind-generic.h (_Unwind_Frames_Increment): Add the EXC
723 argument.
724 * unwind.inc (_Unwind_RaiseException_Phase2): Pass EXC to
725 _Unwind_Frames_Increment.
726 (_Unwind_ForcedUnwind_Phase2): Likewise.
727 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
728 Take the EXC argument. Return _URC_FATAL_PHASE2_ERROR if the
729 return address on normal stack doesn't match the return address
730 on shadow stack.
731
7322022-10-17 Florian Weimer <fweimer@redhat.com>
733
734 * unwind-dw2.h (struct frame_state_reg_info): Move cfa_how member
735 and reduce its size.
736
baeec7cc
GA
7372022-10-14 Jakub Jelinek <jakub@redhat.com>
738
739 * config/i386/t-softfp (softfp_extensions): Add bfsf.
740 (softfp_truncations): Add tfbf xfbf dfbf sfbf hfbf.
741 (CFLAGS-extendbfsf2.c, CFLAGS-truncsfbf2.c, CFLAGS-truncdfbf2.c,
742 CFLAGS-truncxfbf2.c, CFLAGS-trunctfbf2.c, CFLAGS-trunchfbf2.c): Add
743 -msse2.
744 * config/i386/libgcc-glibc.ver (GCC_13.0.0): Export
745 __extendbfsf2 and __trunc{s,d,x,t,h}fbf2.
746 * config/i386/sfp-machine.h (_FP_NANSIGN_B): Define.
747 * config/i386/64/sfp-machine.h (_FP_NANFRAC_B): Define.
748 * config/i386/32/sfp-machine.h (_FP_NANFRAC_B): Define.
749 * soft-fp/brain.h: New file.
750 * soft-fp/truncsfbf2.c: New file.
751 * soft-fp/truncdfbf2.c: New file.
752 * soft-fp/truncxfbf2.c: New file.
753 * soft-fp/trunctfbf2.c: New file.
754 * soft-fp/trunchfbf2.c: New file.
755 * soft-fp/truncbfhf2.c: New file.
756 * soft-fp/extendbfsf2.c: New file.
757
781f477a
GA
7582022-10-12 Martin Liska <mliska@suse.cz>
759
760 * libgcov-driver.c: Use new function.
761 * libgcov.h (gcov_write_summary): Rename to ...
762 (gcov_write_object_summary): ... this.
763
ab332cd7
GA
7642022-10-11 Olivier Hainque <hainque@adacore.com>
765
766 * config.host (*vxworks*): When enable_shared, add
767 libgcc and crtstuff "shared" fragments for rtp except
768 large code model.
769 (aarch64*-wrs-vxworks7*): Remove t-slibgcc-libgcc from
770 the list of fragments.
771
629d04d3
GA
7722022-10-06 Jakub Jelinek <jakub@redhat.com>
773
774 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
775 fs->regs.how[X] instead of fs->regs.reg[X].how.
776
7772022-10-06 Jakub Jelinek <jakub@redhat.com>
778
779 * unwind-dw2.h (REG_UNSAVED, REG_SAVED_OFFSET, REG_SAVED_REG,
780 REG_SAVED_EXP, REG_SAVED_VAL_OFFSET, REG_SAVED_VAL_EXP,
781 REG_UNDEFINED): New anonymous enum, moved from inside of
782 struct frame_state_reg_info.
783 (struct frame_state_reg_info): Remove reg[].how element and the
784 anonymous enum there. Add how element.
785 * unwind-dw2.c: Include stddef.h.
786 (uw_frame_state_for): Don't clear first
787 offsetof (_Unwind_FrameState, regs.how[0]) bytes of *fs.
788 (execute_cfa_program, __frame_state_for, uw_update_context_1,
789 uw_update_context): Use fs->regs.how[X] instead of fs->regs.reg[X].how
790 or fs.regs.how[X] instead of fs.regs.reg[X].how.
791 * config/sh/linux-unwind.h (sh_fallback_frame_state): Likewise.
792 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
793 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
794 * config/pa/hpux-unwind.h (UPDATE_FS_FOR_SAR, UPDATE_FS_FOR_GR,
795 UPDATE_FS_FOR_FR, UPDATE_FS_FOR_PC, pa_fallback_frame_state):
796 Likewise.
797 * config/alpha/vms-unwind.h (alpha_vms_fallback_frame_state):
798 Likewise.
799 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Likewise.
800 * config/arc/linux-unwind.h (arc_fallback_frame_state,
801 arc_frob_update_context): Likewise.
802 * config/riscv/linux-unwind.h (riscv_fallback_frame_state): Likewise.
803 * config/nios2/linux-unwind.h (NIOS2_REG): Likewise.
804 * config/nds32/linux-unwind.h (NDS32_PUT_FS_REG): Likewise.
805 * config/s390/tpf-unwind.h (s390_fallback_frame_state): Likewise.
806 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
807 * config/sparc/sol2-unwind.h (sparc64_frob_update_context,
808 MD_FALLBACK_FRAME_STATE_FOR): Likewise.
809 * config/sparc/linux-unwind.h (sparc64_fallback_frame_state,
810 sparc64_frob_update_context, sparc_fallback_frame_state): Likewise.
811 * config/i386/sol2-unwind.h (x86_64_fallback_frame_state,
812 x86_fallback_frame_state): Likewise.
813 * config/i386/w32-unwind.h (i386_w32_fallback_frame_state): Likewise.
814 * config/i386/linux-unwind.h (x86_64_fallback_frame_state,
815 x86_fallback_frame_state): Likewise.
816 * config/i386/freebsd-unwind.h (x86_64_freebsd_fallback_frame_state):
817 Likewise.
818 * config/i386/dragonfly-unwind.h
819 (x86_64_dragonfly_fallback_frame_state): Likewise.
820 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Likewise.
821 * config/csky/linux-unwind.h (csky_fallback_frame_state): Likewise.
822 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
823 Likewise.
824 * config/aarch64/freebsd-unwind.h
825 (aarch64_freebsd_fallback_frame_state): Likewise.
826 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
827 Likewise.
828 * config/or1k/linux-unwind.h (or1k_fallback_frame_state): Likewise.
829 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
830 * config/loongarch/linux-unwind.h (loongarch_fallback_frame_state):
831 Likewise.
832 * config/m68k/linux-unwind.h (m68k_fallback_frame_state): Likewise.
833 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
834 Likewise.
835 * config/rs6000/darwin-fallback.c (set_offset): Likewise.
836 * config/rs6000/aix-unwind.h (MD_FROB_UPDATE_CONTEXT): Likewise.
837 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
838 * config/rs6000/freebsd-unwind.h (frob_update_context): Likewise.
839
42231015
GA
8402022-10-02 Olivier Hainque <hainque@adacore.com>
841
842 * config/t-vxworks (LIBGCC2_INCLUDE): Augment comment. Move
843 -I options for gcc/include and gcc/include-fixed at the end
844 and make them -isystem.
845
8462022-10-02 Olivier Hainque <hainque@adacore.com>
847
848 * config/gthr-vxworks.h: Prevent Wpragma warning for the
849 pragma diagnostics on Wstrict-prototypes.
850
bbdcdf5c
GA
8512022-09-29 Olivier Hainque <hainque@adacore.com>
852
853 * config/vxcrtstuff.c: Improve the comment attached to the use
854 of auto-host.h and of __dso_handle. Remove redundant guard on
855 HAVE_INITFINI_ARRAY_SUPPORT within a USE_INITFINI_ARRAY section.
856
220c4d8e
GA
8572022-09-26 Thomas Neumann <tneumann@users.sourceforge.net>
858
859 * unwind-dw2-fde.c: Introduce a constant for in_shutdown
860 for the non-fast-path case. Drop destructor priority.
861
279c6715
GA
8622022-09-22 Thomas Neumann <tneumann@users.sourceforge.net>
863
864 * unwind-dw2-fde.c: (release_register_frames) Remember
865 when the btree has been destroyed.
866 (__deregister_frame_info_bases) Disable the assert when
867 shutting down.
868
0990a778
GA
8692022-09-18 Thomas Neumann <tneumann@users.sourceforge.net>
870
871 * unwind-dw2-fde.c: Replace uintptr_t with typedef
872 for __UINTPTR_TYPE__.
873 * unwind-dw2-btree.h: Likewise.
874
7ee0fa10
GA
8752022-09-16 Thomas Neumann <tneumann@users.sourceforge.net>
876
877 * unwind-dw2-fde.c (release_registered_frames): Cleanup at shutdown.
878 (__register_frame_info_table_bases): Use btree in atomic fast path.
879 (__deregister_frame_info_bases): Likewise.
880 (_Unwind_Find_FDE): Likewise.
881 (base_from_object): Make parameter const.
882 (classify_object_over_fdes): Add query-only mode.
883 (get_pc_range): Compute PC range for lookup.
884 * unwind-dw2-fde.h (last_fde): Make parameter const.
885 * unwind-dw2-btree.h: New file.
886
542c60c4
GA
8872022-08-31 Martin Liska <mliska@suse.cz>
888
889 * config.host: Remove hppa.
890
3de9fb32
GA
8912022-08-30 Martin Liska <mliska@suse.cz>
892
893 * config.host: Remove the port.
894
16f542d6
GA
8952022-08-26 Martin Liska <mliska@suse.cz>
896
897 * config.host: Remove cr16 related stuff.
898 * config/cr16/crti.S: Removed.
899 * config/cr16/crtlibid.S: Removed.
900 * config/cr16/crtn.S: Removed.
901 * config/cr16/divmodhi3.c: Removed.
902 * config/cr16/lib1funcs.S: Removed.
903 * config/cr16/t-cr16: Removed.
904 * config/cr16/t-crtlibid: Removed.
905 * config/cr16/unwind-cr16.c: Removed.
906 * config/cr16/unwind-dw2.h: Removed.
907
47a61e65
GA
9082022-08-16 Kito Cheng <kito.cheng@sifive.com>
909
910 * config/riscv/sfp-machine.h (_FP_NANFRAC_H): New.
911 (_FP_NANFRAC_H): Ditto.
912 (_FP_NANSIGN_H): Ditto.
913 * config/riscv/t-softfp32 (softfp_extensions): Add HF related
914 routines.
915 (softfp_truncations): Ditto.
916 (softfp_extras): Ditto.
917 * config/riscv/t-softfp64 (softfp_extras): Add HF related routines.
918
9192022-08-16 Kito Cheng <kito.cheng@sifive.com>
920
921 * soft-fp/fixhfdi.c: New.
922 * soft-fp/fixhfsi.c: Likewise.
923 * soft-fp/fixunshfdi.c: Likewise.
924 * soft-fp/fixunshfsi.c: Likewise.
925 * soft-fp/floatdihf.c: Likewise.
926 * soft-fp/floatsihf.c: Likewise.
927 * soft-fp/floatundihf.c: Likewise.
928 * soft-fp/floatunsihf.c: Likewise.
929 * soft-fp/adddf3.c: Updating copyright years, removing "Contributed by"
930 lines and update URL for license.
931 * soft-fp/addsf3.c: Likewise.
932 * soft-fp/addtf3.c: Likewise.
933 * soft-fp/divdf3.c: Likewise.
934 * soft-fp/divsf3.c: Likewise.
935 * soft-fp/divtf3.c: Likewise.
936 * soft-fp/double.h: Likewise.
937 * soft-fp/eqdf2.c: Likewise.
938 * soft-fp/eqhf2.c: Likewise.
939 * soft-fp/eqsf2.c: Likewise.
940 * soft-fp/eqtf2.c: Likewise.
941 * soft-fp/extenddftf2.c: Likewise.
942 * soft-fp/extended.h: Likewise.
943 * soft-fp/extendhfdf2.c: Likewise.
944 * soft-fp/extendhfsf2.c: Likewise.
945 * soft-fp/extendhftf2.c: Likewise.
946 * soft-fp/extendhfxf2.c: Likewise.
947 * soft-fp/extendsfdf2.c: Likewise.
948 * soft-fp/extendsftf2.c: Likewise.
949 * soft-fp/extendxftf2.c: Likewise.
950 * soft-fp/fixdfdi.c: Likewise.
951 * soft-fp/fixdfsi.c: Likewise.
952 * soft-fp/fixdfti.c: Likewise.
953 * soft-fp/fixhfti.c: Likewise.
954 * soft-fp/fixsfdi.c: Likewise.
955 * soft-fp/fixsfsi.c: Likewise.
956 * soft-fp/fixsfti.c: Likewise.
957 * soft-fp/fixtfdi.c: Likewise.
958 * soft-fp/fixtfsi.c: Likewise.
959 * soft-fp/fixtfti.c: Likewise.
960 * soft-fp/fixunsdfdi.c: Likewise.
961 * soft-fp/fixunsdfsi.c: Likewise.
962 * soft-fp/fixunsdfti.c: Likewise.
963 * soft-fp/fixunshfti.c: Likewise.
964 * soft-fp/fixunssfdi.c: Likewise.
965 * soft-fp/fixunssfsi.c: Likewise.
966 * soft-fp/fixunssfti.c: Likewise.
967 * soft-fp/fixunstfdi.c: Likewise.
968 * soft-fp/fixunstfsi.c: Likewise.
969 * soft-fp/fixunstfti.c: Likewise.
970 * soft-fp/floatdidf.c: Likewise.
971 * soft-fp/floatdisf.c: Likewise.
972 * soft-fp/floatditf.c: Likewise.
973 * soft-fp/floatsidf.c: Likewise.
974 * soft-fp/floatsisf.c: Likewise.
975 * soft-fp/floatsitf.c: Likewise.
976 * soft-fp/floattidf.c: Likewise.
977 * soft-fp/floattihf.c: Likewise.
978 * soft-fp/floattisf.c: Likewise.
979 * soft-fp/floattitf.c: Likewise.
980 * soft-fp/floatundidf.c: Likewise.
981 * soft-fp/floatundisf.c: Likewise.
982 * soft-fp/floatunditf.c: Likewise.
983 * soft-fp/floatunsidf.c: Likewise.
984 * soft-fp/floatunsisf.c: Likewise.
985 * soft-fp/floatunsitf.c: Likewise.
986 * soft-fp/floatuntidf.c: Likewise.
987 * soft-fp/floatuntihf.c: Likewise.
988 * soft-fp/floatuntisf.c: Likewise.
989 * soft-fp/floatuntitf.c: Likewise.
990 * soft-fp/gedf2.c: Likewise.
991 * soft-fp/gesf2.c: Likewise.
992 * soft-fp/getf2.c: Likewise.
993 * soft-fp/half.h: Likewise.
994 * soft-fp/ledf2.c: Likewise.
995 * soft-fp/lesf2.c: Likewise.
996 * soft-fp/letf2.c: Likewise.
997 * soft-fp/muldf3.c: Likewise.
998 * soft-fp/mulsf3.c: Likewise.
999 * soft-fp/multf3.c: Likewise.
1000 * soft-fp/negdf2.c: Likewise.
1001 * soft-fp/negsf2.c: Likewise.
1002 * soft-fp/negtf2.c: Likewise.
1003 * soft-fp/op-1.h: Likewise.
1004 * soft-fp/op-2.h: Likewise.
1005 * soft-fp/op-4.h: Likewise.
1006 * soft-fp/op-8.h: Likewise.
1007 * soft-fp/op-common.h: Likewise.
1008 * soft-fp/quad.h: Likewise.
1009 * soft-fp/single.h: Likewise.
1010 * soft-fp/soft-fp.h: Likewise.
1011 * soft-fp/subdf3.c: Likewise.
1012 * soft-fp/subsf3.c: Likewise.
1013 * soft-fp/subtf3.c: Likewise.
1014 * soft-fp/truncdfhf2.c: Likewise.
1015 * soft-fp/truncdfsf2.c: Likewise.
1016 * soft-fp/truncsfhf2.c: Likewise.
1017 * soft-fp/trunctfdf2.c: Likewise.
1018 * soft-fp/trunctfhf2.c: Likewise.
1019 * soft-fp/trunctfsf2.c: Likewise.
1020 * soft-fp/trunctfxf2.c: Likewise.
1021 * soft-fp/truncxfhf2.c: Likewise.
1022 * soft-fp/unorddf2.c: Likewise.
1023 * soft-fp/unordsf2.c: Likewise.
1024 * soft-fp/unordtf2.c: Likewise.
1025
79fb1124
GA
10262022-07-18 Claudiu Zissulescu <claziss@synopsys.com>
1027
1028 * config/arc/lib2funcs.c (udivmodsi4): Update AND mask.
1029 * config/arc/lib1funcs.S (umodsi3): Don't use it for RF16
1030 configurations.
1031
87509781
GA
10322022-06-25 Jeff Law <jeffreyalaw@gmail.com>
1033
1034 * config.host: Removed tilegx and tilepro entries.
1035 * config/tilegx/sfp-machine.h: Removed.
1036 * config/tilegx/sfp-machine32.h: Removed.
1037 * config/tilegx/sfp-machine64.h: Removed.
1038 * config/tilegx/t-crtstuff: Removed.
1039 * config/tilegx/t-softfp: Removed.
1040 * config/tilegx/t-tilegx: Removed.
1041 * config/tilepro/atomic.c: Removed.
1042 * config/tilepro/atomic.h: Removed.
1043 * config/tilepro/linux-unwind.h: Removed.
1044 * config/tilepro/sfp-machine.h: Removed.
1045 * config/tilepro/softdivide.c: Removed.
1046 * config/tilepro/softmpy.S: Removed.
1047 * config/tilepro/t-crtstuff: Removed.
1048 * config/tilepro/t-tilepro: Removed.
1049
e3bba42f
GA
10502022-06-09 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
1051
1052 * config/xtensa/lib1funcs.S (__clrsbsi2): New function.
1053 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _clrsbsi2.
1054
3164de6a
GA
10552022-06-01 H.J. Lu <hjl.tools@gmail.com>
1056
1057 PR libgcc/27576
1058 * crtstuff.c (__EH_FRAME_BEGIN__): Aligned to pointer size.
1059
3dff965c
GA
10602022-05-25 Wilco Dijkstra <wilco.dijkstra@arm.com>
1061
1062 PR libgcc/105708
1063 * config/aarch64/lse-init.c: Increase constructor priority.
1064
10652022-05-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
1066
1067 PR target/104689
1068 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
1069 Handle the !REG_UNSAVED case.
1070 * unwind-dw2.c (execute_cfa_program): Fail toggle if !REG_UNSAVED.
1071
57f2ce6a
GA
10722022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1073
1074 * Makefile.in (D32PBIT_FUNCS): Add _hf_to_sd and _sd_to_hf.
1075 (D64PBIT_FUNCS): Add _hf_to_dd and _dd_to_hf.
1076 (D128PBIT_FUNCS): Add _hf_to_td _td_to_hf.
1077
10782022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1079
1080 * config.host: Add t-dfprules to AArch64 targets.
1081
10822022-05-20 Christophe Lyon <christophe.lyon@arm.com>
1083
1084 * configure: Regenerate.
1085
9df4ffe4
GA
10862022-05-13 Sebastian Pop <spop@amazon.com>
1087
1088 PR target/105162
1089 * config/aarch64/lse.S: Define BARRIER and handle memory MODEL 5.
1090 * config/aarch64/t-lse: Add a 5th memory model for _sync functions.
1091
e8778989
GA
10922022-05-10 Martin Liska <mliska@suse.cz>
1093 Hans-Peter Helfert <peter-helfert@t-online.de>
1094
1095 PR gcov-profile/105535
1096 * libgcov.h (struct gcov_info): Use gcov_unsigned_t for
1097 n_functions.
1098
6259d8aa
GA
10992022-05-02 Martin Liska <mliska@suse.cz>
1100
1101 * libgcov-driver.c: Add ATTRIBUTE_UNUSED.
1102
6b6f53d8
GA
11032022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1104
1105 * libgcov-util.c (ftw_read_file): Improve notice using xstrerror().
1106 (gcov_profile_merge_stream): Likewise.
1107
11082022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1109
1110 * libgcov-util.c (consume_stream): New.
1111 (get_target_profiles_for_merge): Likewise.
1112 (gcov_profile_merge_stream): Likewise.
1113
11142022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1115
1116 * libgcov-util.c (ftw_read_file): Use size_t for strlen() variables.
1117
11182022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1119
1120 * libgcov-util.c (read_gcda_file): Do not open file.
1121 (ftw_read_file): Open file here.
1122
11232022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1124
1125 * libgcov-util.c (read_gcda_file): Prepend new info object to global
1126 list.
1127 (ftw_read_file): Remove list append here.
1128
11292022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1130
1131 * libgcov-util.c (read_gcda_file): Do not duplicate filename.
1132 (ftw_read_file): Duplicate filename for read_gcda_file().
1133
11342022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1135
1136 * gcov.h (__gcov_info_to_gcda): Mention __gcov_filename_to_gcfn().
1137 (__gcov_filename_to_gcfn): Declare and document.
1138 * libgcov-driver.c (dump_string): New.
1139 (__gcov_filename_to_gcfn): Likewise.
1140 (__gcov_info_to_gcda): Adjust comment to match C11 standard language.
1141
11422022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1143
1144 * libgcov.h (gcov_seek): Remove define and declaration.
1145
11462022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1147
1148 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Add mode
1149 parameter. Pass mode to gcov_open() calls.
1150 * libgcov-driver.c (dump_one_gcov): Add mode parameter. Pass mode to
1151 gcov_exit_open_gcda_file() call.
1152 (gcov_do_dump): Add mode parameter. Pass mode to dump_one_gcov()
1153 calls.
1154 (__gcov_dump_one): Open file for reading and writing.
1155
11562022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1157
1158 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Open file for
1159 reading and writing.
1160 * libgcov-util.c (read_gcda_file): Open file for reading.
1161 * libgcov.h (gcov_open): Delete declaration.
1162
11632022-04-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
1164
1165 * libgcov-util.c (gcov_profile_merge): Return the list of merged
1166 profiles. Accept empty target and source profile lists.
1167
405eda0d
GA
11682022-04-08 Sergei Trofimovich <siarheit@google.com>
1169
1170 * config/ia64/fde-glibc.c: Make a no-op in inhibit_libc mode.
1171
9f774626
GA
11722022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1173 Lulu Cheng <chenglulu@loongson.cn>
1174
1175 * configure: Regenerate file.
1176
11772022-03-29 Chenghua Xu <xuchenghua@loongson.cn>
1178 Lulu Cheng <chenglulu@loongson.cn>
1179
1180 * config/loongarch/crtfastmath.c: New file.
1181 * config/loongarch/linux-unwind.h: Like wise.
1182 * config/loongarch/sfp-machine.h: Like wise.
1183 * config/loongarch/t-crtstuff: Like wise.
1184 * config/loongarch/t-loongarch: Like wise.
1185 * config/loongarch/t-loongarch64: Like wise.
1186 * config/loongarch/t-softfp-tf: Like wise.
1187 * config.host: Add LoongArch tuples.
1188 * configure.ac: Add LoongArch support.
1189
d7f00da1
GA
11902022-03-19 Sergei Trofimovich <slyfox at gentoo dot org>
1191
1192 PR libgcc/86224
1193 * config/m68k/lb1sf68.S (__mulsi3_internal): Internal, hidden alias
1194 for __mulsi3.
1195 (__udivsi3_internal, __divsi3_internal): Similarly.
1196 (__umodsi3, __modsi3): Use the internal function names.
1197
8cc4f9cd
GA
11982022-03-09 Tobias Burnus <tobias@codesourcery.com>
1199
1200 PR target/102215
1201 * config/gcn/atomic.c (__sync_val_compare_and_swap_##SIZE): Move
1202 a line up to non-arg-dependent value first.
1203 (__ATOMIC_COMPARE_EXCHANGE): Define + call to generate
1204 __atomic_compare_exchange_{1,2}.
1205
8d96e14c
GA
12062022-03-04 Iain Sandoe <iain@sandoe.co.uk>
1207
1208 * config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
1209 * config/t-darwin-ehs: Add dependency on unwind.h.
1210
756a6185
GA
12112022-02-24 Xi Ruoyao <xry111@mengyan1223.wang>
1212
1213 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call find_fde_tail
1214 with 0 instead of NULL.
1215
12162022-02-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1217
1218 PR target/104656
1219 * configure.ac: --disable-gcov if targetting bpf-*.
1220 * configure: Regenerate.
1221
e0b8716f
GA
12222022-01-25 Florian Weimer <fweimer@redhat.com>
1223
1224 PR libgcc/104207
1225 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Add NULL check.
1226
fc829782
GA
12272022-01-17 Martin Liska <mliska@suse.cz>
1228
1229 * libgcov-driver.c: Rename .c names to .cc.
1230
9248ee41
GA
12312022-01-15 David <gccbugzilla@limegreensocks.com>
1232
1233 * config/i386/gthr-win32.c (__gthr_i486_lock_cmp_xchg):
1234 Remove inlined version, Windows 95 is no longer relevant.
1235 * config/i386/gthr-win32.h
1236 (__GTHREAD_I486_INLINE_LOCK_PRIMITIVES): unset.
1237
617db51d
GA
12382022-01-14 Claudiu Zissulescu <claziss@synopsys.com>
1239
1240 * config/arc/linux-unwind.h (arc_fallback_frame_state): Use
1241 DWARF_ALT_FRAME_RETURN_COLUMN macro.
1242
7d11b64b
GA
12432022-01-04 Florian Weimer <fweimer@redhat.com>
1244
1245 * unwind-dw2-fde-dip.c (_Unwind_Find_FDE): Call _dl_find_object
1246 if available.
1247
5da23a13
GA
12482022-01-02 John David Anglin <danglin@gcc.gnu.org>
1249
1250 * config/pa/linux-atomic.c (_ASM_EFAULT): Define.
1251 (__kernel_cmpxchg): Nullify illegal iitlbp instruction if error
1252 return is not equal _ASM_EFAULT.
1253 (__kernel_cmpxchg2): Likewise.
1254
2554e2da
GA
12552021-12-17 Iain Sandoe <iain@sandoe.co.uk>
1256
1257 * config.host: Add shim declaration header to powerpc*-darwin builds.
1258 * config/rs6000/t-darwin-ehs: Remove dependency on the powerpc end
1259 file.
1260 * config/t-darwin-ehs: Add dependencies to the shared unwinder
1261 objects.
1262 * config/t-slibgcc-darwin: Add extra_parts to the dependencies for
1263 the shared EH lib. Add all-multi to the dependencies for the
1264 libgcc_s.1.dylib redirections.
1265
7f1239cb
GA
12662021-12-13 Olivier Hainque <hainque@adacore.com>
1267
1268 * config.host (powerpc*-*-vxworks7*): Remove
1269 rs6000/t-linux and t-slibgcc-libgcc from tmake_file.
1270
12712021-12-13 Olivier Hainque <hainque@adacore.com>
1272
1273 * config.host (*vxworks*): Remove special case for
1274 arm on the use of vxcrtstuff.
1275
12762021-12-13 Fred Konrad <konrad@adacore.com>
1277 Olivier Hainque <hainque@adacore.com>
1278
1279 * config/t-vxcrtstuffS: New Makefile fragment.
1280 * config/vxcrtstuff.c: Provide __dso_handle. Provide _init/_fini
1281 functions for INITFINI_ARRAY support in shared libs and guard
1282 the definition of eh table registration functions on conditions
1283 indicating they are needed.
1284
12852021-12-13 Olivier Hainque <hainque@adacore.com>
1286
1287 * config.host (powerpc*-wrs-vxworks7*): Place t-crtstuff
1288 ahead of the other files in tmake_files.
1289 * config/t-vxworks: Add to CRTSTUFF_T_CFLAGS instead of
1290 overriding it.
1291
12922021-12-13 Olivier Hainque <hainque@adacore.com>
1293
1294 * config/t-vxworks (LIBGCC2_INCLUDES): Simplify and handle
1295 both VxWorks7 and earlier.
1296 * config/t-vxworks7: Remove.
1297 * config.host: Remove special case for vxworks7.
1298
e8decbe7
GA
12992021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1300
1301 * config/vxcrtstuff.c: Make constructor and destructor
1302 functions static when possible.
1303
13042021-12-11 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1305
1306 * config/vxcrtstuff.c: Remove constructor/destructor
1307 declarations.
1308
0bceef16
GA
13092021-12-10 Iain Sandoe <iain@sandoe.co.uk>
1310
1311 * config/t-darwin: Add libgcc_tm.h to the dependencies
1312 for darwin10-unwind-find-enc-func.
1313
13142021-12-10 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1315
1316 * config/rs6000/t-vxworks: New file.
1317 * config.host (powerpc*-*-vxworks*): Use it instead of
1318 t-ppccomm.
1319
4b4839e3
GA
13202021-12-09 Fred Konrad <konrad@adacore.com>
1321
1322 * config.host (powerpc*-wrs-vxworks7*): Fix path to
1323 rs6000/t-ppc64-fp, relative to config/ not libgcc/.
1324
13252021-12-09 Olivier Hainque <hainque@adacore.com>
1326 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1327
1328 * config/t-vxworks: Set CRTSTUFF_T_CFLAGS to
1329 $(LIBGCC2_INCLUDES).
1330 * config/t-vxworks7: Likewise.
1331
641ff219
GA
13322021-12-08 Iain Sandoe <iain@sandoe.co.uk>
1333
1334 * config.host (*-*-darwin*): Add logic to build a shared
1335 unwinder library for Darwin8-10.
1336 * config/i386/t-darwin: Build legacy libgcc_s.1.
1337 * config/rs6000/t-darwin: Likewise.
1338 * config/t-darwin: Reorganise the EH fragments to place
1339 them for inclusion in a shared EH lib.
1340 * config/t-slibgcc-darwin: Build a legacy libgcc_s.1 and
1341 the supporting pieces (all FAT libs).
1342 * config/t-darwin-noeh: Removed.
1343 * config/darwin-unwind.ver: New file.
1344 * config/rs6000/t-darwin-ehs: New file.
1345 * config/t-darwin-ehs: New file.
1346
3a580f96
GA
13472021-12-06 Nelson Chu <nelson.chu@sifive.com>
1348
1349 * config/riscv/div.S: Add the hidden alias symbol for __udivdi3, and
1350 then use HIDDEN_JUMPTARGET to target it since it is non-preemptible.
1351 * config/riscv/riscv-asm.h: Added new macros HIDDEN_JUMPTARGET and
1352 HIDDEN_DEF.
1353
c177e806
GA
13542021-11-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1355
1356 * config/vxcrtstuff.c: Undefine caddr_t, pid_t, rlim_t,
1357 ssize_t and vfork after including auto-host.h.
1358
87cd82c8
GA
13592021-11-29 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
1360
1361 * config.host (powerpc-wrs-vxworks): Do not add crtbegin.o and
1362 crtend.o to extra_parts.
1363
d62c8c74
GA
13642021-11-27 John David Anglin <danglin@gcc.gnu.org>
1365
1366 * config/pa/t-dimode (lib2difuncs): Fix typo.
1367
091ccc06
GA
13682021-11-25 Florian Weimer <fweimer@redhat.com>
1369
1370 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Add hdr.
1371 Remove func, ret.
1372 (find_fde_tail): New function. Split from
1373 _Unwind_IteratePhdrCallback. Move the result initialization
1374 from _Unwind_Find_FDE.
1375 (_Unwind_Find_FDE): Updated to call find_fde_tail.
1376
06be28f6
GA
13772021-11-22 Florian Weimer <fweimer@redhat.com>
1378
1379 * unwind-dw2-fde-dip.c (NEED_DBASE_MEMBER): Define.
1380 (struct unw_eh_callback_data): Make dbase member conditional.
1381 (unw_eh_callback_data_dbase): New function.
1382 (base_from_cb_data): Simplify for the non-dbase case.
1383 (_Unwind_IteratePhdrCallback): Adjust.
1384 (_Unwind_Find_FDE): Likewise.
1385
13862021-11-22 Florian Weimer <fweimer@redhat.com>
1387
1388 * unwind-dw2-fde-dip.c (struct unw_eh_callback_data): Remove
1389 tbase member.
1390 (base_from_cb_data): Adjust.
1391 (_Unwind_IteratePhdrCallback): Likewise.
1392 (_Unwind_Find_FDE): Likewise.
1393
9c077398
GA
13942021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1395
1396 * config.host: Add weak emutls crt to the extra_parts.
1397 * config/i386/darwin-lib.h (DECLARE_LIBRARY_RENAMES): Remove
1398 workaround.
1399 * config/libgcc-libsystem.ver: Add exclude list for the system-
1400 provided unwinder.
1401 * config/t-slibgcc-darwin: Bump SO version, remove stubs code.
1402 * config/i386/libgcc-darwin.10.4.ver: Removed.
1403 * config/i386/libgcc-darwin.10.5.ver: Removed.
1404 * config/rs6000/libgcc-darwin.10.4.ver: Removed.
1405 * config/rs6000/libgcc-darwin.10.5.ver: Removed.
1406 * config/t-darwin-noeh: New file.
1407
14082021-11-19 Iain Sandoe <iain@sandoe.co.uk>
1409
1410 * config/t-darwin: Build weak-defined emutls objects.
1411 * emutls.c (__emutls_get_address): Add optional attributes.
1412 (__emutls_register_common): Likewise.
1413 (EMUTLS_ATTR): New.
1414
b39265d4
GA
14152021-11-11 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1416
1417 PR libgcc/103044
1418 * config/rs6000/linux-unwind.h (ppc_backchain_fallback): Check if it's
1419 called with a null argument or at the end of the backtrace and return.
1420 * unwind.inc (_Unwind_ForcedUnwind_Phase2): Treat _URC_NORMAL_STOP.
1421
8d36a0d2
GA
14222021-11-10 Jakub Jelinek <jakub@redhat.com>
1423
1424 * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
1425 formatting fix.
1426
851dff04
GA
14272021-11-05 Iain Sandoe <iain@sandoe.co.uk>
1428
1429 * config/darwin10-unwind-find-enc-func.c: Include libgcc_tm.h.
1430 * config/i386/darwin-lib.h: Declare Darwin10 crt function.
1431
14322021-11-05 John David Anglin <danglin@gcc.gnu.org>
1433
1434 PR libgomp/96661
1435 * config.host (hppa*64*-*-linux*): Revise tmake_file.
1436 (hppa*64*-*-hpux11*): Likewise.
1437 * config/pa/sfp-exceptions.c: New.
1438 * config/pa/sfp-machine.h: New.
1439 * config/pa/t-dimode: New.
1440 * config/pa/t-softfp-sfdftf: New.
1441
04a2cf3f
GA
14422021-10-27 John David Anglin <danglin@gcc.gnu.org>
1443
1444 * config.host (hppa*64*-*-linux*): Don't add pa/t-linux to
1445 tmake_file.
1446 * config/pa/linux-atomic.c: Define u8, u16 and u64 types.
1447 Use them in FETCH_AND_OP_2, OP_AND_FETCH_2, COMPARE_AND_SWAP_2,
1448 SYNC_LOCK_TEST_AND_SET_2 and SYNC_LOCK_RELEASE_1 macros.
1449 * config/pa/t-linux64 (LIB1ASMSRC): New define.
1450 (LIB1ASMFUNCS): Revise.
1451 (HOST_LIBGCC2_CFLAGS): Add "-DLINUX=1".
1452
c2bd5d8a
GA
14532021-10-22 Stafford Horne <shorne@gmail.com>
1454
1455 * config/or1k/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
1456 Change to 0.
1457
5d5885c9
GA
14582021-10-14 Raphael Moreira Zinsly <rzinsly@linux.ibm.com>
1459
1460 * config/rs6000/linux-unwind.h (struct rt_sigframe): Move it to
1461 outside of get_regs() in order to use it in another function, this
1462 is done twice: for __powerpc64__ and for !__powerpc64__.
1463 (struct trace_arg): New struct.
1464 (struct layout): New struct.
1465 (ppc_backchain_fallback): New function.
1466 * unwind.inc (_Unwind_Backtrace): Look for _URC_NORMAL_STOP code
1467 state and call MD_BACKCHAIN_FALLBACK.
1468
9eb28a0f
GA
14692021-10-13 Martin Liska <mliska@suse.cz>
1470
1471 PR gcov-profile/90364
1472 * libgcov-driver.c (merge_one_data): Skip timestamp and verify
1473 checksums.
1474 (write_one_data): Write also checksum.
1475 * libgcov-util.c (read_gcda_file): Read also checksum field.
1476 * libgcov.h (struct gcov_info): Add new field.
1477
ce6eec39
GA
14782021-10-08 Ian Lance Taylor <iant@golang.org>
1479
1480 * config/i386/morestack.S: Use .init_array for constructor if
1481 available.
1482 * config/rs6000/morestack.S: Likewise.
1483 * config/s390/morestack.S: Likewise.
1484
154fd089
GA
14852021-10-03 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1486
1487 PR target/101104
1488 * libgcc2.c (RMIN2, RMINSCAL, RMAX2):
1489 Use more correct values for native IBM 128-bit.
1490
fd133479
GA
14912021-09-28 Iain Sandoe <iain@sandoe.co.uk>
1492
1493 * config/i386/libgcc-darwin.ver: Add Symbols for
1494 __cpu_model, __cpu_indicator_init.
1495
e4777439
GA
14962021-09-22 Iain Sandoe <iain@sandoe.co.uk>
1497
1498 * config/i386/sfp-machine.h: Guard Mach-O-specific code
1499 using __APPLE__.
1500
34fac9ef
GA
15012021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1502
1503 * config/t-slibgcc-darwin: Delete unused code.
1504
15052021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1506
1507 * config/i386/t-darwin: Add in a vers file for X86-specific
1508 symbols.
1509 * config/t-darwin: Add the generic symbol maps here...
1510 * config/t-slibgcc-darwin: ... removing from here.
1511 * config/i386/libgcc-darwin.ver: New file.
1512
15132021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1514
1515 * config/i386/t-softfp: Exclude libgcc2 versions of __divhc3
1516 and __mulhc3.
1517
15182021-09-19 Iain Sandoe <iain@sandoe.co.uk>
1519
1520 * config.host: Use convenience library for Darwin10
1521 unwinder shim.
1522 * config/t-darwin: Build Darwin10 unwinder shim as a
1523 convenience library.
1524
07985c47
GA
15252021-09-13 Andrew Pinski <apinski@marvell.com>
1526
1527 * config.host: Remove m32r-*-linux* and m32rle-*-linux*.
1528 * config/m32r/libgcc-glibc.ver: Removed.
1529 * config/m32r/t-linux: Removed.
1530
b6db7cd4
GA
15312021-09-08 liuhongt <hongtao.liu@intel.com>
1532
1533 * config/i386/t-softfp: Compile __{mul,div}hc3 into
1534 libgcc_s.so.1.
1535
15362021-09-08 Jakub Jelinek <jakub@redhat.com>
1537 Iain Sandoe <iain@sandoe.co.uk>
1538
1539 * config/i386/libgcc-glibc.ver: Add %inherit GCC_12.0.0 GCC_7.0.0
1540 and export *hf* and *hc* functions at GCC_12.0.0.
1541
9f99555f
GA
15422021-09-06 liuhongt <hongtao.liu@intel.com>
1543
1544 * Makefile.in: Adjust to support specific CFLAGS for each
1545 libgcc source file.
1546 * config/i386/64/t-softfp: Explicitly add -msse2 for HF
1547 related libgcc source files.
1548 * config/i386/t-softfp: Ditto.
1549 * config/i386/_divhc3.c: New file.
1550 * config/i386/_mulhc3.c: New file.
1551
7b739540
GA
15522021-09-03 Iain Sandoe <iain@sandoe.co.uk>
1553
1554 * config/i386/sfp-machine.h (alias_HFtype, alias_SFtype
1555 alias_DFtype, alias_TFtype): New.
1556 (ALIAS_SELECTOR): New.
1557 (strong_alias): Use __typeof and a _Generic selector to
1558 provide the type to the synthesized function.
1559
9f7c2bad
GA
15602021-09-02 liuhongt <hongtao.liu@intel.com>
1561
1562 * config/i386/32/sfp-machine.h (_FP_NANFRAC_H): New macro.
1563 * config/i386/64/sfp-machine.h (_FP_NANFRAC_H): Ditto.
1564 * config/i386/sfp-machine.h (_FP_NANSIGN_H): Ditto.
1565 * config/i386/t-softfp: Add hf soft-fp.
1566 * config.host: Add i386/64/t-softfp.
1567 * config/i386/64/t-softfp: New file.
1568
15692021-09-02 liuhongt <hongtao.liu@intel.com>
1570
1571 * soft-fp/eqhf2.c: New file.
1572 * soft-fp/extendhfdf2.c: New file.
1573 * soft-fp/extendhfsf2.c: New file.
1574 * soft-fp/half.h (FP_CMP_EQ_H): New marco.
1575 * soft-fp/truncdfhf2.c: New file
1576 * soft-fp/truncsfhf2.c: New file
1577
e11c6046
GA
15782021-09-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
1579
1580 * unwind-arm-common.inc (abort): Remove.
1581
6d51ee43
GA
15822021-08-31 Richard Sandiford <richard.sandiford@arm.com>
1583
1584 * config/aarch64/value-unwind.h: Add missing runtime exception
1585 paragraph.
1586 * config/frv/frv-abi.h: Likewise.
1587 * config/i386/value-unwind.h: Likewise.
1588 * config/pa/pa64-hpux-lib.h: Likewise.
1589
ccc19145
GA
15902021-08-26 David Edelsohn <dje.gcc@gmail.com>
1591
1592 * config/rs6000/ibm-ldouble.c (ldouble_qadd_internal): Rename from
1593 __gcc_qadd.
1594 (__gcc_qadd): Call ldouble_qadd_internal.
1595 (__gcc_qsub): Call ldouble_qadd_internal with second long double
1596 argument negated.
1597
15982021-08-26 Jonathan Yong <10walls@gmail.com>
1599
1600 * config/i386/cygming-crtend.c: Fix register_frame_ctor
1601 and register_frame_dtor warnings.
1602
05ace294
GA
16032021-08-24 Richard Earnshaw <rearnsha@arm.com>
1604
1605 PR target/102035
1606 * config/arm/cmse_nonsecure_call.S (__gnu_cmse_nonsecure_call):
1607 Add vlldm erratum work-around.
1608
4be4fa4e
GA
16092021-08-21 John David Anglin <danglin@gcc.gnu.org>
1610
1611 * config.host: Remove extra_parts from hppa[12]*-*-hpux11* case.
1612
9d1d9fc8
GA
16132021-08-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
1614
1615 * libgcov.h (gcov_type): Define using __LIBGCC_GCOV_TYPE_SIZE.
1616 (gcov_type_unsigned): Likewise.
1617
7dd8f198
GA
16182021-08-14 Stafford Horne <shorne@gmail.com>
1619
1620 PR target/99783
1621 * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff.
1622 * config/or1k/t-crtstuff: New file.
1623
f92f4778
GA
16242021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1625
1626 * libgcov-driver.c (#include <stdint.h>): Remove.
1627 (write_topn_counters): Use __INTPTR_TYPE__ instead of intptr_t.
1628
16292021-08-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
1630
1631 * Makefile.in (LIBGCOV_DRIVER): Add _gcov_info_to_gcda.
1632 * gcov.h (gcov_info): Declare.
1633 (__gcov_info_to_gdca): Likewise.
1634 * libgcov.h (gcov_write_counter): Remove.
1635 (gcov_write_tag_length): Likewise.
1636 * libgcov-driver.c (#include <stdint.h>): New.
1637 (#include <string.h>): Remove.
1638 (NEED_L_GCOV): Conditionally define.
1639 (NEED_L_GCOV_INFO_TO_GCDA): Likewise.
1640 (are_all_counters_zero): New.
1641 (gcov_dump_handler): Likewise.
1642 (gcov_allocate_handler): Likewise.
1643 (dump_unsigned): Likewise.
1644 (dump_counter): Likewise.
1645 (write_topn_counters): Add dump_fn, allocate_fn, and arg parameters.
1646 Use dump_unsigned() and dump_counter().
1647 (write_one_data): Add dump_fn, allocate_fn, and arg parameters. Use
1648 dump_unsigned(), dump_counter(), and are_all_counters_zero().
1649 (__gcov_info_to_gcda): New.
1650
8ebf4fb5
GA
16512021-08-05 Jakub Jelinek <jakub@redhat.com>
1652
1653 * config/t-slibgcc (SHLIB_LINK): Add $(LDFLAGS).
1654 * config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
1655 * config/t-slibgcc-vms (SHLIB_LINK): Likewise.
1656 * config/t-slibgcc-fuchsia (SHLIB_LDFLAGS): Remove $(LDFLAGS).
1657
2697f832
GA
16582021-08-04 Jakub Jelinek <jakub@redhat.com>
1659
1660 * config/t-slibgcc-fuchsia: Undo doubly applied patch.
1661
d97d71a1
GA
16622021-07-15 Alan Modra <amodra@gmail.com>
1663
1664 * config/rs6000/morestack.S (R2_SAVE): Define.
1665 (__morestack): Save and restore r2. Set up r2 for called
1666 functions.
1667
bea7c16a
GA
16682021-07-01 H.J. Lu <hjl.tools@gmail.com>
1669
1670 * soft-fp/extendhfxf2.c: New file.
1671 * soft-fp/truncxfhf2.c: Likewise.
1672
6bc18203
GA
16732021-06-29 Julian Brown <julian@codesourcery.com>
1674
1675 * config/gcn/lib2-bswapti2.c: New file.
1676 * config/gcn/lib2-divmod-di.c: New file.
1677 * config/gcn/lib2-gcn.h (DItype, UDItype, TItype, UTItype): Add
1678 typedefs.
1679 (__divdi3, __moddi3, __udivdi3, __umoddi3): Add prototypes.
1680 * config/gcn/t-amdgcn (LIB2ADD): Add lib2-divmod-di.c and
1681 lib2-bswapti2.c.
1682
16832021-06-29 Julian Brown <julian@codesourcery.com>
1684
1685 * config/gcn/lib2-divmod.c (__udivsi3, __umodsi3): Change argument and
1686 return types to USItype.
1687 * config/gcn/lib2-gcn.h (__udivsi3, __umodsi3): Update prototypes.
1688
fcf617f0
GA
16892021-06-23 Kewen Lin <linkw@linux.ibm.com>
1690
1691 * configure: Regenerate.
1692 * configure.ac (test for libgcc_cv_powerpc_3_1_float128_hw): Fix
1693 typos among the name, CFLAGS and the test.
1694 * config/rs6000/t-float128-hw (fp128_3_1_hw_funcs, fp128_3_1_hw_src,
1695 fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj, fp128_3_1_hw_obj):
1696 Remove.
1697 * config/rs6000/t-float128-p10-hw (FLOAT128_HW_INSNS): Append
1698 macro FLOAT128_HW_INSNS_ISA3_1.
1699 (FP128_3_1_CFLAGS_HW): Fix option typo.
1700 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): Guard this with
1701 FLOAT128_HW_INSNS_ISA3_1.
1702 (__floattikf_resolve): Likewise.
1703 (__floatuntikf_resolve): Likewise.
1704 (__fixkfti_resolve): Likewise.
1705 (__fixunskfti_resolve): Likewise.
1706 (__floattikf): Likewise.
1707 (__floatuntikf): Likewise.
1708 (__fixkfti): Likewise.
1709 (__fixunskfti): Likewise.
1710
f16f65f8
GA
17112021-06-11 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1712
1713 PR target/99939
1714 * config/arm/cmse_nonsecure_call.S: Add __ARM_FEATURE_MVE
1715 macro.
1716 * config/arm/t-arm: To link cmse.o and cmse_nonsecure_call.o
1717 on passing -mcmse option.
1718
43c35d0d
GA
17192021-06-10 Segher Boessenkool <segher@kernel.crashing.org>
1720
1721 * config/rs6000/quad-float128.h: Guard all uses of [U]TItype_ppc by
1722 _ARCH_PPC64 .
1723
4f625f47
GA
17242021-06-09 Carl Love <cel@us.ibm.com>
1725
1726 * config.host: Add if test and set for
1727 libgcc_cv_powerpc_3_1_float128_hw.
1728 * config/rs6000/fixkfti.c: Renamed to fixkfti-sw.c.
1729 Change calls of __fixkfti to __fixkfti_sw.
1730 * config/rs6000/fixunskfti.c: Renamed to fixunskfti-sw.c.
1731 Change calls of __fixunskfti to __fixunskfti_sw.
1732 * config/rs6000/float128-p10.c (__floattikf_hw,
1733 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw): New file.
1734 * config/rs6000/float128-ifunc.c (SW_OR_HW_ISA3_1): New macro.
1735 (__floattikf_resolve, __floatuntikf_resolve, __fixkfti_resolve,
1736 __fixunskfti_resolve): Add resolve functions.
1737 (__floattikf, __floatuntikf, __fixkfti, __fixunskfti): New functions.
1738 * config/rs6000/float128-sed (floattitf, __floatuntitf,
1739 __fixtfti, __fixunstfti): Add editor commands to change names.
1740 * config/rs6000/float128-sed-hw (__floattitf,
1741 __floatuntitf, __fixtfti, __fixunstfti): Add editor commands to
1742 change names.
1743 * config/rs6000/floattikf.c: Renamed to floattikf-sw.c.
1744 * config/rs6000/floatuntikf.c: Renamed to floatuntikf-sw.c.
1745 * config/rs6000/quad-float128.h (__floattikf_sw,
1746 __floatuntikf_sw, __fixkfti_sw, __fixunskfti_sw, __floattikf_hw,
1747 __floatuntikf_hw, __fixkfti_hw, __fixunskfti_hw, __floattikf,
1748 __floatuntikf, __fixkfti, __fixunskfti): New extern declarations.
1749 * config/rs6000/t-float128 (floattikf, floatuntikf,
1750 fixkfti, fixunskfti): Remove file names from fp128_ppc_funcs.
1751 (floattikf-sw, floatuntikf-sw, fixkfti-sw, fixunskfti-sw): Add
1752 file names to fp128_ppc_funcs.
1753 * config/rs6000/t-float128-hw(fp128_3_1_hw_funcs,
1754 fp128_3_1_hw_src, fp128_3_1_hw_static_obj, fp128_3_1_hw_shared_obj,
1755 fp128_3_1_hw_obj): Add variables for ISA 3.1 support.
1756 * config/rs6000/t-float128-p10-hw: New file.
1757 * configure: Update script for isa 3.1 128-bit float support.
1758 * configure.ac: Add check for 128-bit float hardware support.
1759 * config/rs6000/fixkfti-sw.c: New file.
1760 * config/rs6000/fixunskfti-sw.c: New file.
1761 * config/rs6000/floattikf-sw.c: New file.
1762 * config/rs6000/floatuntikf-sw.c: New file.
1763
f9af11c7
GA
17642021-05-13 Dimitar Dimitrov <dimitar@dinux.eu>
1765
1766 * config/pru/mpyll.S (__pruabi_mpyll): Place into own section.
1767
4d0385df 17682021-05-13 Martin Liska <mliska@suse.cz>
f9af11c7
GA
1769
1770 * libgcov-driver.c: Fix GNU coding style.
1771
aa891c56
GA
17722021-05-10 Martin Liska <mliska@suse.cz>
1773
1774 * libgcov-driver.c (gcov_version): Use different name that does
1775 not clash with newly introduced macro.
1776
3c8e539d
GA
17772021-04-29 Eric Botcazou <ebotcazou@adacore.com>
1778
1779 * libgcov.h: For the target, define GCOV_LOCKED_WITH_LOCKING
1780 if __MSVCRT__ and, for the host, define it if HOST_HAS_LK_LOCK.
1781 * libgcov-driver.c: Add directives if GCOV_LOCKED_WITH_LOCKING.
1782
e4ff4ffb
GA
17832021-04-28 Patrick McGehearty <patrick.mcgehearty@oracle.com>
1784
1785 * libgcc2.c (XMTYPE, XCTYPE, RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1786 Define.
1787 (__divsc3, __divdc3, __divxc3, __divtc3): Improve complex divide.
1788 * config/rs6000/_divkc3.c (RBIG, RMIN, RMIN2, RMINSCAL, RMAX2):
1789 Define.
1790 (__divkc3): Improve complex divide.
1791
05ec629f
GA
17922021-04-23 Michael Meissner <meissner@linux.ibm.com>
1793
1794 PR target/98952
1795 * config/rs6000/tramp.S (__trampoline_setup, elfv1 #ifdef): Fix
1796 trampoline size comparison in 32-bit by reversing test and
1797 combining load immediate with compare.
1798 (__trampoline_setup, elfv2 #ifdef): Fix trampoline size comparison
1799 in 32-bit by reversing test and combining load immediate with
1800 compare.
1801
b1da9916
GA
18022021-04-05 Florian Weimer <fweimer@redhat.com>
1803 Michael Meissner <meissner@linux.ibm.com>
1804
1805 * config/rs6000/t-float128 (fp128_ppc_funcs): Add decimal floating
1806 point functions for $(decimal_float) only.
1807
c0756c4e
GA
18082021-04-03 Jakub Jelinek <jakub@redhat.com>
1809
1810 PR target/97653
1811 * config/rs6000/t-linux (IBM128_STATIC_OBJS): Fix spelling, use
1812 $(objext) instead of $(object). Use _floatunditf instead of
1813 _floatunsditf. Add tf <-> ti conversion objects.
1814 (IBM128_SHARED_OBJS): Use proper substitution reference syntax.
1815
65374af2
GA
18162021-03-29 Michael Meissner <meissner@linux.ibm.com>
1817
1818 * config/rs6000/t-float128 (fp128_decstr_funcs): Delete.
1819 (fp128_ppc_funcs): Do not add $(fp128_decstr_funcs).
1820 (fp128_decstr_objs): Delete.
1821 * dfp-bit.h: Call __sprintfieee128 to do conversions from
1822 _Float128 to a Decimal type. Call __strtoieee128 to do
1823 conversions from a Decimal type to _Float128.
1824 * config/rs6000/_sprintfkf.c: Delete file.
1825 * config/rs6000/_sprintfkf.h: Delete file.
1826 * config/rs6000/_strtokf.c: Delete file.
1827 * config/rs6000/_strtokf.h: Delete file.
1828
bf1f3168
GA
18292021-03-23 Marcus Comstedt <marcus@mc.pp.se>
1830
1831 * config/riscv/sfp-machine.h (__BYTE_ORDER): Set according
1832 to __BYTE_ORDER__.
1833
0ad6a2e2
GA
18342021-03-06 Jakub Jelinek <jakub@redhat.com>
1835
1836 PR gcov-profile/99406
1837 * libgcov.h (MAP_FAILED, MAP_ANONYMOUS): If HAVE_SYS_MMAN_H is
1838 defined, define these macros if not defined already.
1839
67f10d28
GA
18402021-03-04 Martin Liska <mliska@suse.cz>
1841
1842 PR gcov-profile/99105
1843 * libgcov-driver.c (write_top_counters): Rename to ...
1844 (write_topn_counters): ... this.
1845 (write_one_data): Pre-allocate buffer for number of items
1846 in the corresponding linked lists.
1847 * libgcov.h (malloc_mmap): New function.
1848 (allocate_gcov_kvp): Use it.
1849
18502021-03-04 Martin Liska <mliska@suse.cz>
1851
1852 PR gcov-profile/99385
1853 * libgcov.h (allocate_gcov_kvp): Call mmap with fd equal to -1.
1854
f3641ac7
GA
18552021-03-03 Martin Liska <mliska@suse.cz>
1856
1857 PR gcov-profile/97461
1858 * config.in: Regenerate.
1859 * configure: Likewise.
1860 * configure.ac: Check sys/mman.h header file
1861 * libgcov-driver.c (struct gcov_kvp): Remove static
1862 pre-allocated pool and use a dynamic one.
1863 * libgcov.h (MMAP_CHUNK_SIZE): New.
1864 (gcov_counter_add): Use mmap to allocate pool for struct
1865 gcov_kvp.
1866
d97a92dc
GA
18672021-03-02 Michael Meissner <meissner@linux.ibm.com>
1868
1869 * config/rs6000/_sprintfkf.h (__sprintfkf): Fix prototype to match
1870 the function.
1871 * config/rs6000/_sprintfkf.c: Include _sprintfkf.h.
1872
4028d01a
GA
18732021-02-24 Jakub Jelinek <jakub@redhat.com>
1874
1875 PR libgcc/99236
1876 * libgcc2.c (__powisf2, __powidf2, __powitf2, __powixf2): Perform
1877 negation of m in unsigned type.
1878
18792021-02-24 Christophe Lyon <christophe.lyon@linaro.org>
1880 Hau Hsu <hsuhau617@gmail.com>
1881
1882 PR target/99157
1883 * config/arm/t-arm: Fix cmse support detection.
1884
2f5765cf
GA
18852021-02-22 Michael Meissner <meissner@linux.ibm.com>
1886
1887 * dfp-bit.c (BFP_TO_DFP): Fix a comment line that was too long.
1888
18892021-02-22 Michael Meissner <meissner@linux.ibm.com>
1890
1891 * config/rs6000/_dd_to_kf.c: New file.
1892 * config/rs6000/_kf_to_dd.c: New file.
1893 * config/rs6000/_kf_to_sd.c: New file.
1894 * config/rs6000/_kf_to_td.c: New file.
1895 * config/rs6000/_sd_to_kf.c: New file.
1896 * config/rs6000/_sprintfkf.c: New file.
1897 * config/rs6000/_sprintfkf.h: New file.
1898 * config/rs6000/_strtokf.h: New file.
1899 * config/rs6000/_strtokf.c: New file.
1900 * config/rs6000/_td_to_kf.c: New file.
1901 * config/rs6000/quad-float128.h: Add new declarations.
1902 * config/rs6000/t-float128 (fp128_dec_funcs): New macro.
1903 (fp128_decstr_funcs): New macro.
1904 (ibm128_dec_funcs): New macro.
1905 (fp128_ppc_funcs): Add the new conversions.
1906 (fp128_dec_objs): Force Decimal <-> __float128 conversions to be
1907 compiled with -mabi=ieeelongdouble.
1908 (fp128_decstr_objs): Force __float128 <-> string conversions to be
1909 compiled with -mabi=ibmlongdouble.
1910 (ibm128_dec_objs): Force Decimal <-> __float128 conversions to be
1911 compiled with -mabi=ieeelongdouble.
1912 (FP128_CFLAGS_DECIMAL): New macro.
1913 (IBM128_CFLAGS_DECIMAL): New macro.
1914 * dfp-bit.c (DFP_TO_BFP): Add PowerPC _Float128 support.
1915 (BFP_TO_DFP): Add PowerPC _Float128 support.
1916 * dfp-bit.h (BFP_KIND): Add new binary floating point kind for
1917 IEEE 128-bit floating point.
1918 (DFP_TO_BFP): Add PowerPC _Float128 support.
1919 (BFP_TO_DFP): Add PowerPC _Float128 support.
1920 (BFP_SPRINTF): New macro.
1921
aa69f0a8
GA
19222021-01-27 Jakub Jelinek <jakub@redhat.com>
1923
1924 * config/i386/savms64.h: Add .note.GNU-stack section on Linux.
1925 * config/i386/savms64f.h: Likewise.
1926 * config/i386/resms64.h: Likewise.
1927 * config/i386/resms64f.h: Likewise.
1928 * config/i386/resms64x.h: Likewise.
1929 * config/i386/resms64fx.h: Likewise.
1930
e62bb7f0
GA
19312021-01-26 Martin Liska <mliska@suse.cz>
1932
1933 PR gcov-profile/98739
1934 * libgcov.h (gcov_topn_add_value): Do not train when
1935 we have a merged profile with a negative number of total
1936 value.
1937
161e4c08
GA
19382021-01-25 Martin Liska <mliska@suse.cz>
1939
1940 PR gcov-profile/98739
1941 * libgcov-merge.c (__gcov_merge_topn): Mark when merging
1942 ends with a dropped counter.
1943 * libgcov.h (gcov_topn_add_value): Add return value.
1944
be0851b8
GA
19452021-01-13 Stafford Horne <shorne@gmail.com>
1946
1947 * config/or1k/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
1948 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_EX_OVERFLOW,
1949 FP_EX_UNDERFLOW, FP_EX_INEXACT, FP_EX_INVALID, FP_EX_DIVZERO,
1950 FP_EX_ALL): New constant macros.
1951 (_FP_DECL_EX, FP_ROUNDMODE, FP_INIT_ROUNDMODE,
1952 FP_HANDLE_EXCEPTIONS): New macros.
1953 (_FP_TININESS_AFTER_ROUNDING): Change to 1.
1954
19552021-01-13 Samuel Thibault <samuel.thibault@gnu.org>
1956
1957 * config/i386/gnu-unwind.h (x86_gnu_fallback_frame_state): Add the
1958 posix siginfo case to struct handler_args. Detect between legacy
1959 and siginfo from the second parameter, which is a small sigcode in
1960 the legacy case, and a pointer in the siginfo case.
1961
108beb75
GA
19622020-12-20 Max Filippov <jcmvbkbc@gmail.com>
1963
1964 * config/xtensa/lib1funcs.S (__bswapsi2, __bswapdi2): New
1965 functions.
1966 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _bswapsi2 and
1967 _bswapdi2.
1968
f6e8e279
GA
19692020-12-08 Ian Lance Taylor <iant@golang.org>
1970
1971 * generic-morestack-thread.c (free_segments): Block signals during
1972 thread exit.
1973
b8dd0ef7
GA
19742020-12-03 Michael Meissner <meissner@linux.ibm.com>
1975
1976 PR libgcc/97543
1977 PR libgcc/97643
1978 * config/rs6000/t-linux (IBM128_STATIC_OBJS): New make variable.
1979 (IBM128_SHARED_OBJS): New make variable.
1980 (IBM128_OBJS): New make variable. Set all objects to use the
1981 explicit IBM format, and disable gnu attributes.
1982 (IBM128_CFLAGS): New make variable.
1983 (gcc_s_compile): Add -mno-gnu-attribute to all shared library
1984 modules.
1985
19862020-12-03 Alexandre Oliva <oliva@adacore.com>
1987
1988 * config/t-vxworks (LIB2ADD): Drop.
1989 * config/t-vxworks7 (LIB2ADD): Likewise.
1990 * config/vxcache.c: Remove.
1991
94358e47
GA
19922020-11-30 Stefan Kanthak <stefan.kanthak@nexgo.de>
1993
1994 * libgcc2.c (bswapsi2): Make constants unsigned.
1995
360258da
GA
19962020-11-25 Stefan Kanthak <stefan.kanthak@nexgo.de>
1997
1998 * libgcc2.c (absvSI2): Simplify/improve implementation by using
1999 builtin_add_overflow.
2000 (absvsi2, absvDI2): Likewise.
2001
82e5048e
GA
20022020-11-20 Maciej W. Rozycki <macro@linux-mips.org>
2003
2004 * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__]
2005 (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR.
2006
25bb75f8
GA
20072020-11-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2008
2009 * config/msp430/lib2hw_mul.S (mult64_hw): New.
2010 (if MUL_32): Use mult64_hw for __muldi3.
2011 (if MUL_F5): Use mult64_hw for __muldi3.
2012 * config/msp430/lib2mul.c (__muldi3): New.
2013 * config/msp430/t-msp430 (LIB2FUNCS_EXCLUDE): Define.
2014
29c5d9ce
GA
20152020-11-17 Alan Modra <amodra@gmail.com>
2016
2017 * config/rs6000/t-ppc64-fp (LIB2ADD): Delete.
2018 (LIB2_SIDITI_CONV_FUNCS): Define.
2019 * config/rs6000/ppc64-fp.c: Delete file.
2020
cba30651
GA
20212020-11-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2022
2023 * config/msp430/lib2hw_mul.S: Omit _hw* suffix from GCC names for
2024 hwmult library functions.
2025
bb622641
GA
20262020-11-10 Jeff Law <law@redhat.com>
2027
2028 * libgcc2.c: Fix whitespace issues in most recent change.
2029
20302020-11-10 Stefan Kanthak <stefan.kanthak@nexgo.de>
2031
2032 * libgcc2.c (__addvSI3): Use overflow builtins.
2033 (__addvsi3, __addvDI3 ,__subvSI3, __subvsi3): Likewise.
2034 (__subvDI3 __mulvSI3, __mulvsi3, __negvSI2): Likewise.
2035 (__negvsi2, __negvDI2): Likewise.
2036 (__cmpdi2, __ucmpdi2): Adjust implementation to improve
2037 generated code.
2038 * libgcc2.h (__ucmpdi2): Adjust prototype.
2039
fd2325ea
GA
20402020-11-03 Pat Bernardi <bernardi@adacore.com>
2041 Olivier Hainque <hainque@adacore.com>
2042
2043 * config.host (aarch64-vxworks7*, tmake_file): Add
2044 ${cpu_type}/t-lse and t-slibgcc-libgcc.
2045
20462020-11-03 Martin Storsjö <martin@martin.st>
2047
2048 * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
2049 before calling the callback.
2050
88ce3d5f
GA
20512020-10-30 Olivier Hainque <hainque@adacore.com>
2052 Douglas Rupp <rupp@adacore.com>
2053 Pat Bernardi <bernardi@adacore.com>
2054
2055 * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
2056 to apply to VxWorks 7 as well.
2057
4f0606fe
GA
20582020-10-29 Olivier Hainque <hainque@adacore.com>
2059
2060 * config/gthr-vxworks-tls.c: Fix preprocessor logic
2061 controlling the definition of VX_ENTER_TLS_DTOR and
2062 VX_LEAVE_TLS_DTOR based on a version major check.
2063
20642020-10-29 Olivier Hainque <hainque@adacore.com>
2065
2066 * config/gthr-vxworks-thread.c: Fix name of macro used
2067 to condition the inclusion of an actual implementation.
2068
89bb01e7
GA
20692020-10-27 Martin Liska <mliska@suse.cz>
2070
2071 PR gcov-profile/97461
2072 * libgcov.h (gcov_counter_add): Use first static counters
2073 as it should help to have malloc wrappers set up.
2074
efe71fcc
GA
20752020-10-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2076
2077 * config/gthr-vxworks-thread.c: #include gthr.h before
2078 testing the guard defined there.
2079 * config/gthr-vxworks-cond.c: Likewise.
2080
56ddd5e2
GA
20812020-10-21 Douglas Rupp <rupp@adacore.com>
2082 Olivier Hainque <hainque@adacore.com>
2083
2084 * config.host (powerpc*-wrs-vxworks7*): New case.
2085 * configure.ac: Handle powerpc*-*-vxworks7* as
2086 powerpc*-*-linux* for ppc-fp_type.
2087 * configure: Regenerate.
2088
56e4eee9
GA
20892020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2090
2091 * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
2092 section on VxWorks >= 6.
2093 * config/gthr-vxworks-thread.c: Condition the entire
2094 implementation on __GTHREAD_CXX0X.
2095
20962020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2097
2098 * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
2099 section on VxWorks >= 6.
2100 * config/gthr-vxworks-cond.c: Condition the entire
2101 implementation on __GTHREAD_HAS_COND.
2102
21032020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2104
2105 * config/gthr-vxworks.c: #include <taskLib.h>.
2106
21072020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2108
2109 * config/gthr-vxworks.h: Rewrite remaining occurrence
2110 of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
2111
21122020-10-16 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2113 Olivier Hainque <hainque@adacore.com>
2114
2115 * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
2116 except on VxWorks 6.
2117
21182020-10-16 Olivier Hainque <hainque@adacore.com>
2119
2120 * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
2121
b2698c21
GA
21222020-10-14 Alexandre Oliva <oliva@adacore.com>
2123
2124 * config/gthr-vxworks-thread.c: Include stdlib.h.
2125 (tls_delete_hook): Prototype it.
2126 (__gthread_cond_signal): Return early if no waiters. Consume
2127 signal in case the semaphore got full. Use semInfoGet instead
2128 of kernel-mode-only semInfo.
2129 (__gthread_cond_timedwait): Use semExchange. Always take the
2130 mutex again before returning.
2131 * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
2132
21332020-10-14 Olivier Hainque <hainque@adacore.com>
2134
2135 * config/t-vxworks (LIBGCC2_INCLUDES): Append
2136 $(MULTISUBDIR) to the -I path for fixed headers, as we
2137 arrange to have different sets of such headers for different
2138 multilibs when they are activated.
2139 * config/t-vxworks7: Likewise.
2140
21412020-10-14 Olivier Hainque <hainque@adacore.com>
2142
2143 * config/t-vxworks: Add include-fixed to include search
2144 paths for libgcc on VxWorks.
2145 * config/t-vxworks7: Likewise.
2146
c74a0e82
GA
21472020-10-09 H.J. Lu <hjl.tools@gmail.com>
2148
2149 PR target/97148
2150 * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
2151 instead of <cetintrin.h>.
2152
6c2675fa
GA
21532020-10-01 Alan Modra <amodra@gmail.com>
2154
2155 * config/rs6000/morestack.S,
2156 * config/rs6000/tramp.S: Support __PCREL__ code.
2157
21582020-10-01 Alan Modra <amodra@gmail.com>
2159
2160 * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
2161
93bca37c
GA
21622020-09-29 Maciej W. Rozycki <macro@wdc.com>
2163
2164 * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
2165 variable.
2166
e84761c6
GA
21672020-09-28 Richard Sandiford <richard.sandiford@arm.com>
2168
2169 * config/aarch64/libgcc-softfp.ver: New file.
2170 * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
2171
4383c595
GA
21722020-09-27 Clement Chigot <clement.chigot@atos.net>
2173
2174 * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
2175
521d2711
GA
21762020-09-22 Sergei Trofimovich <siarheit@google.com>
2177
2178 PR gcov-profile/96913
2179 * libgcov-driver.c (write_one_data): Avoid function pointer
2180 comparison in TOP streaming decision.
2181
2aad20c0
GA
21822020-09-17 Torbjörn SVENSSON <torbjorn.svensson@st.com>
2183 Christophe Lyon <christophe.lyon@linaro.org>
2184
2185 * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
2186 qualifier.
2187 (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
2188 (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
2189 missing prototypes.
2190
21912020-09-17 Wei Wentao <weiwt.fnst@cn.fujitsu.com>
2192
2193 * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
2194 unused variable warning.
2195
ecde1b0a
GA
21962020-09-16 Jojo R <jiejie_rong@c-sky.com>
2197
2198 * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
2199
80f86e78
GA
22002020-09-09 Tom de Vries <tdevries@suse.de>
2201
2202 * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
2203 Wbuiltin-declaration-mismatch.
2204
57ea0894
GA
22052020-08-26 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2206
2207 * config/msp430/slli.S (__gnu_mspabi_sllp): New.
2208 * config/msp430/srai.S (__gnu_mspabi_srap): New.
2209 * config/msp430/srli.S (__gnu_mspabi_srlp): New.
2210
b3cb5606
GA
22112020-08-13 Kwok Cheung Yeung <kcy@codesourcery.com>
2212
2213 * config/nvptx/atomic.c: New.
2214 * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
2215
6a1ad710
GA
22162020-08-03 Ian Lance Taylor <iant@golang.org>
2217
2218 * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
2219
22202020-08-03 Jakub Jelinek <jakub@redhat.com>
2221
2222 PR target/96402
2223 * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
2224 of x(tmp0), x(tmp1) in STXP arguments.
2225
48cc2e46
GA
22262020-07-31 Maciej W. Rozycki <macro@wdc.com>
2227
2228 * config/riscv/save-restore.S [__riscv_xlen == 64]
2229 (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
2230 (__riscv_save_2): Replace negative immediates used for the final
2231 stack pointer adjustment with positive ones, right-shifted by 4.
2232
22332020-07-31 Martin Liska <mliska@suse.cz>
2234
2235 * libgcov-driver.c: Add __gcov_kvp_pool
2236 and __gcov_kvp_pool_index variables.
2237 * libgcov.h (allocate_gcov_kvp): New.
2238 (gcov_topn_add_value): Use it.
2239
53256ee3
GA
22402020-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2241
2242 * config/aarch64/lse.S: Add PAC property note.
2243
9bb403dc
GA
22442020-07-23 Martin Liska <mliska@suse.cz>
2245
2246 PR gcov-profile/96035
2247 * libgcov-driver-system.c: Create gcov folders with 0777
2248 so that it respects a system umask.
2249
8ca07a30
GA
22502020-07-14 David Edelsohn <dje.gcc@gmail.com>
2251
2252 * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
2253
ea69fcf9
GA
22542020-07-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2255
2256 PR target/94891
2257 * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
2258 (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
2259 (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
2260 (MD_DEMANGLE_RETURN_ADDR): This.
2261 (aarch64_post_extract_frame_addr): Rename to ...
2262 (aarch64_demangle_return_addr): This.
2263 (aarch64_post_frob_eh_handler_addr): Remove.
2264 * unwind-dw2.c (uw_update_context): Demangle return address.
2265 (uw_frob_return_addr): Remove.
2266
3f8ca9cb
GA
22672020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2268
2269 PR target/96001
2270 * config/aarch64/lse.S: Add BTI marking and related definitions,
2271 and add BTI c to function entries.
2272
22732020-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
2274
2275 * config/aarch64/lse.S: Add stack note.
2276
b5f24739
GA
22772020-07-02 Martin Liska <mliska@suse.cz>
2278
2279 PR gcov-profile/95348
2280 * libgcov-driver.c (merge_one_data): Merge only profiles
2281 that are not of non-zero type.
2282 (write_one_data): Write counters only if there's one non-zero
2283 value.
2284 * libgcov-util.c (tag_function): Change signature from unsigned
2285 to int.
2286 (tag_blocks): Likewise.
2287 (tag_arcs): Likewise.
2288 (tag_counters): Likewise.
2289 (tag_summary): Likewise.
2290 (tag_lines): Read only if COUNTERS is non-zero.
2291 (read_gcda_file): Handle negative length for COUNTERS type.
2292
d61ffe12
GA
22932020-06-25 Martin Liska <mliska@suse.cz>
2294
2295 * libgcov-driver.c (merge_summary): Remove function as its name
2296 is misleading and doing something different.
2297 (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
2298 in gcov-tool.
2299 * libgcov-util.c (curr_object_summary): Remove.
2300 (read_gcda_file): Remove unused curr_object_summary.
2301 (gcov_merge): Merge summaries.
2302 * libgcov.h: Add summary argument for gcov_info struct.
2303
2e546c26
GA
23042020-06-24 H.J. Lu <hjl.tools@gmail.com>
2305
2306 PR target/95259
2307 * config/i386/cpuinfo.c: Don't include "cpuinfo.h". Include
2308 "common/config/i386/i386-cpuinfo.h" and
2309 "common/config/i386/cpuinfo.h".
2310 (__cpu_features2): Changed to array.
2311 (get_amd_cpu): Removed.
2312 (get_intel_cpu): Likewise.
2313 (get_available_features): Likewise.
2314 (__cpu_indicator_init): Call cpu_indicator_init.
2315 * config/i386/cpuinfo.h: Removed.
2316
4543acc8
GA
23172020-06-23 David Edelsohn <dje.gcc@gmail.com>
2318
2319 * Makefile.in: Remove uses of empty.mk. Use -include.
2320 * config/avr/t-avr: Use -include.
2321 * empty.mk: Delete.
2322
f86e11a2
GA
23232020-06-21 David Edelsohn <dje.gcc@gmail.com>
2324
2325 * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
2326 * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
2327 and 64 bit with -maix64.
2328 * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
2329 Build and install AIX-style FAT libraries.
2330
aff95ee7
GA
23312020-06-17 Samuel Thibault <samuel.thibault@gnu.org>
2332
2333 * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
2334 'i386/gnu-unwind.h'
2335 * config/i386/gnu-unwind.h: New file.
2336
23372020-06-17 Martin Liska <mliska@suse.cz>
2338
2339 * libgcov-util.c (read_gcda_finalize): Remove const operator.
2340 (merge_wrapper): Add both counts and use them properly.
2341 (topn_to_memory_representation): New function.
2342 (gcov_merge): Covert on disk representation to in memory
2343 representation.
2344 * libgcov.h: Remove const operator.
2345
6fb94d67
GA
23462020-06-15 Max Filippov <jcmvbkbc@gmail.com>
2347
2348 * configure: Regenerate.
2349 * configure.ac: Use AC_COMPILE_IFELSE instead of manual
2350 preprocessor invocation to check for __XTENSA_CALL0_ABI__.
2351
b952c2cf
GA
23522020-06-09 Martin Liska <mliska@suse.cz>
2353
2354 PR gcov-profile/95494
2355 * libgcov-driver.c (write_top_counters): Cast first to
2356 intptr_t as sizeof(*) != sizeof(gcov_type).
2357 * libgcov.h (gcov_counter_set_if_null): Remove.
2358 (gcov_topn_add_value): Cast first to intptr_t and update
2359 linked list directly.
2360
23612020-06-09 Max Filippov <jcmvbkbc@gmail.com>
2362
2363 * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
2364 with uw_install_context_1.
2365
3add3425
GA
23662020-06-04 Andreas Schwab <schwab@suse.de>
2367
2368 PR target/59230
2369 PR libfortran/59227
2370 * config/ia64/t-softfp-compat (softfp_file_list): Filter out
2371 soft-fp/divtf3.c.
2372 (LIB2ADD): Add config/ia64/divtf3.c.
2373 * config/ia64/divtf3.c: New file.
2374
9a5b7438
GA
23752020-06-03 Martin Liska <mliska@suse.cz>
2376
2377 PR gcov-profile/95480
2378 * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
2379 * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
2380 (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
2381 (gcov_counter_set_if_null): Likewise.
2382
a9312a79
GA
23832020-06-02 Jim Wilson <jimw@sifive.com>
2384
2385 * config/riscv/div.S (__divdi3): For negative arguments, change bgez
2386 to bgtz.
2387
23882020-06-02 Martin Liska <mliska@suse.cz>
2389
2390 * libgcov.h (gcov_topn_add_value): Use xcalloc instead
2391 of xmalloc.
2392
23932020-06-02 Martin Liska <mliska@suse.cz>
2394
2395 * libgcov-driver.c (prune_topn_counter): Remove.
2396 (prune_counters): Likewise.
2397 (merge_one_data): Special case TOP N counters
2398 as they have variable length.
2399 (write_top_counters): New.
2400 (write_one_data): Special case TOP N.
2401 (dump_one_gcov): Do not prune TOP N counters.
2402 * libgcov-merge.c (merge_topn_values_set): Remove.
2403 (__gcov_merge_topn): Use gcov_topn_add_value.
2404 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2405 Likewise here.
2406 * libgcov.h (gcov_counter_add): New.
2407 (gcov_counter_set_if_null): Likewise.
2408 (gcov_topn_add_value): New.
2409
4a9aa9de
GA
24102020-06-01 Uroš Bizjak <ubizjak@gmail.com>
2411
2412 * config/i386/sfp-exceptions.c (struct fenv):
2413 Add __attribute__ ((gcc_struct)).
2414
885ef72f
GA
24152020-05-29 H.J. Lu <hjl.tools@gmail.com>
2416
2417 PR bootstrap/95413
2418 * configure: Regenerated.
2419
53ffb43a
GA
24202020-05-28 Dong JianQiang <dongjianqiang2@huawei.com>
2421
2422 PR gcov-profile/95332
2423 * libgcov-util.c (read_gcda_file): Call gcov_magic.
2424 * libgcov.h (gcov_magic): Disable GCC poison.
2425
5855bdfa
L
24262020-05-21 H.J. Lu <hongjiu.lu@intel.com>
2427
2428 PR target/95212
2429 * config/i386/cpuinfo.h (processor_features): Move
2430 FEATURE_AVX512VP2INTERSECT after FEATURE_AVX512BF16.
2431
35b98036
L
24322020-05-20 H.J. Lu <hongjiu.lu@intel.com>
2433
2434 PR target/91695
2435 * config/i386/cpuinfo.c (get_available_features): Fix VPCLMULQDQ
2436 check.
2437
45395445
L
24382020-05-19 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 PR target/95212
2441 PR target/95220
2442 * config/i386/cpuinfo.c (get_available_features): Fix
2443 FEATURE_GFNI check. Also check FEATURE_AVX512VP2INTERSECT.
2444 * config/i386/cpuinfo.h (processor_features): Add
2445 FEATURE_AVX512VP2INTERSECT.
2446
4c1a5d8b
L
24472020-05-15 H.J. Lu <hongjiu.lu@intel.com>
2448
2449 PR bootstrap/95147
2450 * configure: Regenerated.
2451
8d286dd1
L
24522020-05-14 H.J. Lu <hongjiu.lu@intel.com>
2453
2454 * configure: Regenerated.
2455
39748a89
HPN
24562020-05-09 Hans-Peter Nilsson <hp@axis.com>
2457
2458 * config.host: Remove support for crisv32-*-* and cris*-*-linux.
2459 * config/cris/libgcc-glibc.ver, config/cris/t-linux: Remove.
2460
d3a1459c
UB
24612020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2462
2463 * config/i386/sfp-exceptions.c (__math_force_eval): Remove.
2464 (__math_force_eval_div): New define.
2465 (__sfp_handle_exceptions): Use __math_force_eval_div to use
2466 generic division to generate INVALID, DIVZERO and INEXACT
2467 exceptions.
2468
12667785
KT
24692020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2470
2471 * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
2472 instead of getauxval.
2473 (AT_HWCAP): Define.
2474 (HWCAP_ATOMICS): Define.
2475 Guard detection on __gnu_linux__.
2476
ef836167
MM
24772020-05-05 Michael Meissner <meissner@linux.ibm.com>
2478
2479 * config.host: Delete changes meant for a private branch.
2480 * config/rs6000/t-float128: Likewise.
2481 * configure.ac: Likewise.
2482 * configure: Likewise.
2483
811b7636
ML
24842020-05-05 Martin Liska <mliska@suse.cz>
2485
2486 PR gcov-profile/93623
2487 * Makefile.in: Remove __gcov_flush.
2488 * gcov.h (__gcov_flush): Remove.
2489 * libgcov-interface.c (__gcov_flush): Remove.
2490 (init_mx): Use renamed mutex.
2491 (__gcov_lock): Likewise.
2492 (__gcov_unlock): Likewise.
2493 (__gcov_fork): Likewise.
2494 (__gcov_flush): Remove.
2495
c0532db4
ML
24962020-05-05 Martin Liska <mliska@suse.cz>
2497
2498 PR gcov-profile/93623
2499 * libgcov-interface.c (__gcov_fork): Do not flush
2500 and reset only in child process.
2501 (__gcov_execl): Dump counters only and reset them
2502 only if exec* fails.
2503 (__gcov_execlp): Likewise.
2504 (__gcov_execle): Likewise.
2505 (__gcov_execv): Likewise.
2506 (__gcov_execvp): Likewise.
2507 (__gcov_execve): Likewise.
2508
d39f7dc8
ML
25092020-05-05 Martin Liska <mliska@suse.cz>
2510
2511 PR gcov-profile/93623
2512 * Makefile.in: Add _gcov_lock_unlock to LIBGCOV_INTERFACE.
2513 * libgcov-interface.c (ALIAS_void_fn): Remove.
2514 (__gcov_lock): New.
2515 (__gcov_unlock): New.
2516 (__gcov_flush): Use __gcov_lock and __gcov_unlock.
2517 (__gcov_reset): Likewise.
2518 (__gcov_dump): Likewise.
2519 * libgcov.h (__gcov_lock): New declaration.
2520 (__gcov_unlock): Likewise.
2521
afb9b710
UB
25222020-05-01 Uroš Bizjak <ubizjak@gmail.com>
2523
2524 * config/i386/sfp-exceptions.c (__math_force_eval): New define.
d3a1459c 2525 (__sfp_handle_exceptions): Use __math_force_eval to evaluate
afb9b710
UB
2526 generic division to generate INVALID and DIVZERO exceptions.
2527
66711279
SH
25282020-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
2529
2530 * config/rs6000/crtresfpr.S: Use .machine ppc.
2531 * config/rs6000/crtresxfpr.S: Likewise.
2532 * config/rs6000/crtsavfpr.S: Likewise.
2533
fb22faf4
SN
25342020-04-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
2535
2536 PR target/94514
2537 * config/aarch64/aarch64-unwind.h (aarch64_frob_update_context):
2538 Update context->flags accroding to the frame state.
2539
df73e584
UB
25402020-04-19 Uroš Bizjak <ubizjak@gmail.com>
2541
2542 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions) [__SSE_MATH__]:
2543 Remove unneeded assignments to volatile memory.
2544
5b2f76e3
JJ
25452020-04-15 Jakub Jelinek <jakub@redhat.com>
2546
2547 PR target/93053
2548 * configure.ac (LIBGCC_CHECK_AS_LSE): Add HAVE_AS_LSE checking.
2549 * config/aarch64/lse.S: Include auto-target.h, if HAVE_AS_LSE
2550 is not defined, use just .arch armv8-a.
2551 (B, M, N, OPN): Define.
2552 (COMMENT): New .macro.
2553 (CAS, CASP, SWP, LDOP): Use .inst directive if HAVE_AS_LSE is not
2554 defined. Otherwise, move the operands right after the glue? and
2555 comment out operands where the macros are used.
2556 * configure: Regenerated.
2557 * config.in: Regenerated.
2558
50c78532
ILT
25592020-04-07 Ian Lance Taylor <iant@golang.org>
2560
2561 PR libgcc/94513
2562 * generic-morestack.c: Give up trying to use __mmap/__munmap, use
2563 syscall instead.
2564
458ca332
ILT
25652020-04-04 Ian Lance Taylor <iant@golang.org>
2566
2567 * generic-morestack.c: Only use __mmap on glibc >= 2.26.
2568
710d54ed
ILT
25692020-04-03 Ian Lance Taylor <iant@golang.org>
2570
2571 * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather
2572 than mmap/munmap, to avoid hooks.
2573
b749b5ec
JJ
25742020-04-03 Jim Johnston <jjohnst@us.ibm.com>
2575
2576 * config/s390/tpf-unwind.h (MIN_PATRANGE, MAX_PATRANGE)
2577 (TPFRA_OFFSET): Macros removed.
2578 (CP_CNF, cinfc_fast, CINFC_CMRESET, CINTFC_CMCENBKST)
2579 (CINTFC_CMCENBKED, ICST_CRET, ICST_SRET, LOWCORE_PAGE3_ADDR)
2580 (PG3_SKIPPING_OFFSET): New macros.
2581 (__isPATrange): Use cinfc_fast for the check.
2582 (__isSkipResetAddr): New function.
2583 (s390_fallback_frame_state): Check for skip trace addresses. Use
2584 either ICST_CRET or ICST_SRET to calculate return address
2585 location.
2586 (__tpf_eh_return): Handle skip trace addresses.
2587
a9cd2d78
RE
25882020-03-26 Richard Earnshaw <rearnsha@arm.com>
2589
2590 PR target/94220
2591 * config/arm/lib1funcs.asm (COND): Use a single definition for
2592 unified syntax.
2593 (aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
2594 (aeabi_idivmod): Likewise.
2595 (divsi3_skip_div0_test): Likewise.
2596
f582ca0f
MI
25972020-03-17 Mihail Ionescu <mihail.ionescu@arm.com>
2598
2599 * config/arm/t-arm: Do not compile cmse_nonsecure_call.S for v8.1-m.
2600
068fe0a9
AK
26012020-03-04 Andreas Krebbel <krebbel@linux.ibm.com>
2602
2603 * config.host: Include the new makefile fragment.
2604 * config/s390/t-tpf: New file.
2605
6b9ce2b4
RE
26062020-03-03 Richard Earnshaw <rearnsha@arm.com>
2607
2608 * config/arm/bpabi-v6m.S (aeabi_lcmp): Convert thumb1 code to unified
2609 syntax.
2610 (aeabi_ulcmp, aeabi_ldivmod, aeabi_uldivmod): Likewise.
2611 (aeabi_frsub, aeabi_cfcmpeq, aeabi_fcmpeq): Likewise.
2612 (aeabi_fcmp, aeabi_drsub, aeabi_cdrcmple): Likewise.
2613 (aeabi_cdcmpeq, aeabi_dcmpeq, aeabi_dcmp): Likewise.
2614 * config/arm/lib1funcs.S (Lend_fde): Convert thumb1 code to unified
2615 syntax.
2616 (divsi3, modsi3): Likewise.
2617 (clzdi2, ctzsi2): Likewise.
2618 * config/arm/libunwind.S (restore_core_regs): Convert thumb1 code to
2619 unified syntax.
2620 (UNWIND_WRAPPER): Likewise.
2621
8dd5d8f3
ML
26222020-03-02 Martin Liska <mliska@suse.cz>
2623
2624 * libgcov-interface.c: Remove duplicate
2625 declaration of __gcov_flush_mx.
2626
ea0b1252
ML
26272020-02-18 Martin Liska <mliska@suse.cz>
2628
2629 PR ipa/92924
2630 * libgcov-merge.c (merge_topn_values_set): Record
2631 when a TOP N counter becomes invalid. When merging
2632 remove a smallest value if the space is needed.
2633
02ce382c
SL
26342020-02-12 Sandra Loosemore <sandra@codesourcery.com>
2635
2636 PR libstdc++/79193
2637 PR libstdc++/88999
2638
2639 * configure: Regenerated.
2640
7214fce3
JL
26412020-02-10 Jeff Law <law@redhat.com>
2642
2643 * config/frv/frvbegin.c: Use right flags for .ctors and .dtors
2644 sections.
2645 * config/frv/frvend.c: Similarly.
2646
cf0f07ef
L
26472020-02-10 H.J. Lu <hongjiu.lu@intel.com>
2648
2649 PR libgcc/85334
2650 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
2651 New.
2652
5602b48b
CL
26532020-02-10 Christophe Lyon <christophe.lyon@linaro.org>
2654
2655 PR target/93615
2656 * unwind-arm-common.inc: Replace uses of gnu_Unwind_Find_got with
2657 _Unwind_gnu_Find_got.
2658 * unwind-pe.h: Likewise.
2659
811a475e
JJ
26602020-02-07 Jakub Jelinek <jakub@redhat.com>
2661
2662 PR target/93615
2663 * config/arm/unwind-arm.h (gnu_Unwind_Find_got): Rename to ...
2664 (_Unwind_gnu_Find_got): ... this. Use __asm instead of asm. Remove
2665 trailing :s in asm. Formatting fixes.
2666 (_Unwind_decode_typeinfo_ptr): Adjust caller.
2667
2d33dcfe
SL
26682020-01-31 Sandra Loosemore <sandra@codesourcery.com>
2669
2670 nios2: Support for GOT-relative DW_EH_PE_datarel encoding.
2671
2672 * config.host [nios2-*-linux*] (tmake_file, tm_file): Adjust.
2673 * config/nios2-elf-lib.h: New.
2674 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback): Use existing
2675 code for finding GOT base for nios2.
2676
3ae37f92
ML
26772020-01-27 Martin Liska <mliska@suse.cz>
2678
2679 PR gcov-profile/93403
2680 * libgcov-profiler.c (__gcov_indirect_call_profiler_v4):
2681 Call __gcov_indirect_call_profiler_body.
2682 (__gcov_indirect_call_profiler_body): New.
2683 (__gcov_indirect_call_profiler_v4_atomic): New.
2684 * libgcov.h (__gcov_indirect_call_profiler_v4_atomic):
2685 New declaration.
2686
2744b8b2
CZ
26872020-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2688
2689 * config/arc/crti.S: Add RF16 object attribute.
2690 * config/arc/crtn.S: Likewise.
2691 * config/arc/crttls.S: Likewise.
2692 * config/arc/lib1funcs.S: Likewise.
2693 * config/arc/fp-hack.h (ARC_OPTFPE): Define.
2694 * config/arc/lib2funcs.c: New file.
2695 * config/arc/t-arc: Add lib2funcs to LIB2ADD.
2696
e8e66971
MR
26972020-01-24 Maciej W. Rozycki <macro@wdc.com>
2698
2699 * Makefile.in (configure_deps): Add `toolexeclibdir.m4'.
2700 * configure.ac: Handle `--with-toolexeclibdir='.
2701 * configure: Regenerate.
2702
54b3d52c
DM
27032020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2704
2705 * config/mips/gnustack.h: Check for TARGET_LIBC_GNUSTACK also.
2706
a3c1e1f2
DM
27072020-01-23 Dragan Mladjenovic <dmladjenovic@wavecomp.com>
2708
2709 * config/mips/gnustack.h: New file.
2710 * config/mips/crti.S: Include gnustack.h.
2711 * config/mips/crtn.S: Likewise.
2712 * config/mips/mips16.S: Likewise.
2713 * config/mips/vr4120-div.S: Likewise.
2714
e9ee848d
ML
27152020-01-23 Martin Liska <mliska@suse.cz>
2716
2717 * libgcov-driver.c (prune_topn_counter): Remove
2718 check for -1 as we only prune run-time counters
2719 that do not generate an invalid state.
2720
7491c17f
ML
27212020-01-22 Martin Liska <mliska@suse.cz>
2722
2723 PR tree-optimization/92924
2724 * libgcov-profiler.c (__gcov_topn_values_profiler_body): First
2725 try to find an existing value, then find an empty slot
2726 if not found.
2727
5f32f9cf
ML
27282020-01-22 Martin Liska <mliska@suse.cz>
2729
2730 PR tree-optimization/92924
2731 * libgcov-driver.c (prune_topn_counter): New.
2732 (prune_counters): Likewise.
2733 (dump_one_gcov): Prune a run-time counter.
2734 * libgcov-profiler.c (__gcov_topn_values_profiler_body):
2735 For a known value, add GCOV_TOPN_VALUES to value.
2736 Otherwise, decrement all counters by one.
2737
463f6499
HPN
27382020-01-18 Hans-Peter Nilsson <hp@axis.com>
2739
2740 * config/cris/arit.c (DS): Apply attribute __fallthrough__.
2741
84479e3a
JDA
27422020-01-18 John David Anglin <danglin@gcc.gnu.org>
2743
2744 PR libgcc/92988
2745 * crtstuff.c (__do_global_dtors_aux): Only call __cxa_finalize if
2746 DEFAULT_USE_CXA_ATEXIT is true.
2747
e953433f 27482020-01-16 Mihail-Calin Ionescu <mihail.ionescu@arm.com>
674dcc3f 2749 Thomas Preud'homme <thomas.preudhomme@arm.com>
e953433f
MI
2750
2751 * config/arm/t-arm: Check return value of gcc rather than lack of
2752 output.
2753
03e87724
GJL
27542020-01-14 Georg-Johann Lay <avr@gjlay.de>
2755
2756 * config/avr/lib1funcs.S (skip): Simplify.
2757
af9bd920
KCY
27582020-01-10 Kwok Cheung Yeung <kcy@codesourcery.com>
2759
2760 * config/gcn/atomic.c: Remove include of stdint.h.
2761 (__sync_val_compare_and_swap_##SIZE): Replace uintptr_t with
2762 __UINTPTR_TYPE__.
2763
d6491d15
KCY
27642020-01-09 Kwok Cheung Yeung <kcy@codesourcery.com>
2765
2766 * config/gcn/atomic.c: New.
2767 * config/gcn/t-amdgcn (LIB2ADD): Add atomic.c.
2768
f30dd607
GJL
27692020-01-08 Georg-Johann Lay <avr@gjlay.de>
2770
2771 Implement 64-bit double functions.
2772
2773 PR target/92055
2774 * config.host (tmake_file) [target=avr]: Add t-libf7,
2775 t-libf7-math, t-libf7-math-symbols as specified by --with-libf7=.
2776 * config/avr/t-avrlibc: Don't copy libgcc.a if there are modules
2777 depending on sizeof (double) or sizeof (long double).
2778 * config/avr/libf7: New folder.
2779
5205a445
OH
27802020-01-05 Olivier Hainque <hainque@adacore.com>
2781
2782 * config/gthr-vxworks.h: Guard #include vxAtomicLib.h
2783 by IN_LIBGCC2.
2784
8d9254fc
JJ
27852020-01-01 Jakub Jelinek <jakub@redhat.com>
2786
2787 Update copyright years.
2788
abb6c3ee
OH
27892019-12-30 Olivier Hainque <hainque@adacore.com>
2790
2791 * config/gthr-vxworks.h: Use _vxworks-versions.h.
2792 * config/gthr-vxworks-tls.c: Likewise.
2793
d7f5094a
OH
27942019-12-30 Olivier Hainque <hainque@adacore.com>
2795
2796 * config/gthr-vxworks.h (GTHREAD_ONCE_INIT): Use
2797 standard zero-initializer syntax.
2798
49cfaa2a
OH
27992019-12-30 Olivier Hainque <hainque@adacore.com>
2800
2801 * config/gthr-vxworks-tls.c (__gthread_getspecific): Fix
2802 reference to the internal VX_GET_TLS_DATA interface.
2803
89b9a554
OH
28042019-12-30 Olivier Hainque <hainque@adacore.com>
2805
2806 * config/vxcrtstuff.c: Fix incorrect spelling of
2807 USE_INITFINI_ARRAY in guard.
2808
e8aa9f55
JL
28092019-12-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2810
2811 * config.host: s/msp430*-*-elf/msp430-*-elf*.
2812 Override default "extra_parts" variable.
2813 * configure: Regenerate.
2814 * configure.ac: Disable TM clone registry by default for
2815 msp430-elfbare.
2816
a9046e98
JL
28172019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2818
2819 * config.host (msp430*-*-elf): Add crt{begin,end}_no_eh.o to
2820 "extra_parts".
2821 * config/msp430/t-msp430: Add rules to build crt{begin,end}_no_eh.o.
2822
34a53788
JL
28232019-12-11 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2824
2825 * crtstuff.c: Declare __dso_handle only if DEFAULT_USE_CXA_ATEXIT is
2826 true.
2827
21a098f4
JL
28282019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2829
2830 * crtstuff.c (__do_global_dtors_aux): Check if USE_EH_FRAME_REGISTRY is
2831 defined instead of its value.
2832
ad8b7783
JL
28332019-12-09 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2834
2835 * crtstuff.c (__do_global_dtors_aux): Wrap in #if so it's only defined
2836 if it will have contents.
2837
08d7ff78
GJL
28382019-12-05 Georg-Johann Lay <avr@gjlay.de>
2839
2840 PR target/92055
2841 * config/avr/t-avrlibc (MULTISUBDIR): Search for double, not double64.
2842
3d3a96a2
SN
28432019-11-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
2844
34b4d99d 2845 PR libgcc/91737
3d3a96a2
SN
2846 * config.host: Add t-gthr-noweak on *-*-musl*.
2847 * config/t-gthr-noweak: New file.
2848
632b5e3d
JDA
28492019-11-17 John David Anglin <danglin@gcc.gnu.org>
2850
2851 * config/pa/linux-atomic.c (__kernel_cmpxchg): Change argument 1 to
2852 volatile void *. Remove trap check.
2853 (__kernel_cmpxchg2): Likewise.
2854 (FETCH_AND_OP_2): Adjust operand types.
2855 (OP_AND_FETCH_2): Likewise.
2856 (FETCH_AND_OP_WORD): Likewise.
2857 (OP_AND_FETCH_WORD): Likewise.
2858 (COMPARE_AND_SWAP_2): Likewise.
2859 (__sync_val_compare_and_swap_4): Likewise.
2860 (__sync_bool_compare_and_swap_4): Likewise.
2861 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
2862 (__sync_lock_test_and_set_4): Likewise.
2863 (SYNC_LOCK_RELEASE_1): Likewise. Use __kernel_cmpxchg2 for release.
2864 (__sync_lock_release_4): Adjust operand types. Use __kernel_cmpxchg
2865 for release.
2866 (__sync_lock_release_8): Remove.
2867
838fd641
SN
28682019-11-15 Szabolcs Nagy <szabolcs.nagy@arm.com>
2869
2870 * config/m68k/linux-unwind.h (struct uw_ucontext): Use sigset_t instead
2871 of __sigset_t.
2872
27204060
JL
28732019-11-14 Jerome Lambourg <lambourg@adacore.com>
2874 Doug Rupp <rupp@adacore.com>
2875 Olivier Hainque <hainque@adacore.com>
2876
2877 * config.host: Collapse the arm-vxworks entries into
2878 a single arm-wrs-vxworks7* one.
2879 * config/arm/unwind-arm-vxworks.c: Update comments. Provide
2880 __gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
2881 kernel modules, to be overriden by libstdc++ when we link with
2882 it. Rely on externally provided __exidx_start/end.
2883
3004f893
DR
28842019-11-14 Doug Rupp <rupp@adacore.com>
2885 Olivier Hainque <hainque@adacore.com>
2886
2887 * config.host: Handle aarch64*-wrs-vxworks7*.
2888
36e5f4d4
OH
28892019-11-12 Olivier Hainque <hainque@adacore.com>
2890
2891 * config/t-gthr-vxworksae: New file, add all the gthr-vxworks
2892 sources except the cxx0x support to LIB2ADDEH. We don't support
2893 cxx0x on AE/653.
2894 * config/t-vxworksae: New file.
2895 * config.host: Handle *-*-vxworksae: Add the two aforementioned
2896 Makefile fragment files at their expected position in the tmake_file
2897 list, in accordance with what is done for other VxWorks variants.
2898
806dd047
CG
28992019-11-12 Corentin Gay <gay@adacore.com>
2900 Jerome Lambourg <lambourg@adacore.com>
2901 Olivier Hainque <hainque@adacore.com>
2902
2903 * config/t-gthr-vxworks: New file, add all the gthr-vxworks
2904 sources to LIB2ADDEH.
2905 * config/t-vxworks: Remove adjustments to LIB2ADDEH.
2906 * config/t-vxworks7: Likewise.
2907
2908 * config.host: Append a block at the end of the file to add the
2909 t-gthr files to the tmake_file list for VxWorks after everything
2910 else.
2911
2912 * config/vxlib.c: Rename as gthr-vxworks.c.
2913 * config/vxlib-tls.c: Rename as gthr-vxworks-tls.c.
2914
2915 * config/gthr-vxworks.h: Simplify a few comments. Expose a TAS
2916 API and a basic error checking API, both internal. Simplify the
2917 __gthread_once_t type definition and initializers. Add sections
2918 for condition variables support and for the C++0x thread support,
2919 conditioned against Vx653 for the latter.
2920
2921 * config/gthr-vxworks.c (__gthread_once): Simplify comments and
2922 implementation, leveraging the TAS internal API.
2923 * config/gthr-vxworks-tls.c: Introduce an internal TLS data access
2924 API, leveraging the general availability of TLS services in VxWorks7
2925 post SR6xxx.
2926 (__gthread_setspecific, __gthread_setspecific): Use it.
2927 (tls_delete_hook): Likewise, and simplify the enter/leave dtor logic.
2928 * config/gthr-vxworks-cond.c: New file. GTHREAD_COND variable
2929 support based on VxWorks primitives.
2930 * config/gthr-vxworks-thread.c: New file. GTHREAD_CXX0X support
2931 based on VxWorks primitives.
2932
78e49fb1
JL
29332019-11-06 Jerome Lambourg <lambourg@adacore.com>
2934 Olivier Hainque <hainque@adacore.com>
2935
2936 * config/vxcrtstuff.c: New file.
2937 * config/t-vxcrtstuff: New Makefile fragment.
2938 * config.host: Append t-vxcrtstuff to the tmake_file list
2939 on all VxWorks ports using dwarf for table based EH.
2940
29f3def3
GJL
29412019-11-07 Georg-Johann Lay <avr@gjlay.de>
2942
2943 Support 64-bit double and 64-bit long double configurations.
2944
2945 PR target/92055
2946 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
2947 long double is a 32-bit type.
2948 * config/avr/t-avrlibc: Copy double64 and long-double64
2949 multilib(s) from the vanilla one.
2950 * config/avr/t-copy-libgcc: New Makefile snip.
2951
62ec242e
JL
29522019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2953
2954 * crtstuff.c: Define USE_TM_CLONE_REGISTRY to 0 if it's undefined and
2955 the target output object format is not ELF.
2956 s/defined(USE_TM_CLONE_REGISTRY)/USE_TM_CLONE_REGISTRY.
2957
da5c1bbe
OE
29582019-11-03 Oleg Endo <olegendo@gcc.gnu.org>
2959
2960 PR libgcc/78804
2961 * fp-bit.h: Remove FLOAT_BIT_ORDER_MISMATCH.
2962 * fp-bit.c (pack_d, unpack_d): Remove special cases for
2963 FLOAT_BIT_ORDER_MISMATCH.
2964 * config/arc/t-arc: Remove FLOAT_BIT_ORDER_MISMATCH.
2965
8dc56a22
JW
29662019-11-01 Jim Wilson <jimw@sifive.com>
2967
2968 * config/riscv/t-softfp32 (softfp_extra): Add FP divide routines
2969
91c64455
JL
29702019-10-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2971
2972 * config/msp430/lib2hw_mul.S: Fix wrong syntax in branch instruction.
2973 s/RESULT_LO/RESLO, s/RESULT_HI/RESHI, s/MPY_OP1/MPY,
2974 s/MPY_OP1_S/MPYS, s/MAC_OP1/MAC, s/MPY_OP2/OP2, s/MAC_OP2/OP2.
2975 Define symbols for 32-bit and f5series hardware multiply
2976 register addresses.
2977 Replace hard-coded register addresses with symbols.
2978 Fix "_mspabi*" typo.
2979 Fix whitespace.
2980 * config/msp430/lib2mul.c: Add comment.
2981
85093ac6
JDA
29822019-10-15 John David Anglin <danglin@gcc.gnu.org>
2983
2984 * config/pa/fptr.c (_dl_read_access_allowed): Change argument to
2985 unsigned int. Adjust callers.
2986 (__canonicalize_funcptr_for_compare): Change plabel type to volatile
2987 unsigned int *. Load relocation offset before function pointer.
2988 Add barrier to ensure ordering.
2989
1aea083d
JDA
29902019-10-12 John David Anglin <danglin@gcc.gnu.org>
2991
2992 * config/pa/lib2funcs.S (__gcc_plt_call): Load branch target to %r21.
2993 Load PIC register after branch target. Fix white space.
2994 * config/pa/milli64.S ($$dyncall): Separate LINUX and non LINUX
2995 implementations. Load PIC register after branch target. Don't
2996 clobber function pointer when it points to function descriptor.
2997 Use nullification instead of branch in LINUX implementation.
2998
c49af82c
JDA
29992019-10-03 John David Anglin <danglin@gcc.gnu.org>
3000
3001 * config/pa/fptr.c: Disable -Warray-bounds warning.
3002
88a51d68
RH
30032019-09-25 Richard Henderson <richard.henderson@linaro.org>
3004
9e46fd07
RH
3005 * config.in, configure: Re-rebuild with stock autoconf 2.69,
3006 not the ubuntu modified 2.69.
3007
58d169ba
RH
3008 PR target/91833
3009 * config/aarch64/lse-init.c: Include auto-target.h. Disable
3010 initialization if !HAVE_SYS_AUXV_H.
3011 * configure.ac (AC_CHECK_HEADERS): Add sys/auxv.h.
3012 * config.in, configure: Rebuild.
3013
88a51d68
RH
3014 PR target/91834
3015 * config/aarch64/lse.S (LDNM): Ensure STXR output does not
3016 overlap the inputs.
3017
761e6bb9
SZ
30182019-09-25 Shaokun Zhang <zhangshaokun@hisilicon.com>
3019
3020 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Add support for
3021 CTR_EL0.IDC and CTR_EL0.DIC.
3022
76c93295
CL
30232019-09-20 Christophe Lyon <christophe.lyon@st.com>
3024
3025 Revert:
3026 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
3027 Mickaël Guêné <mickael.guene@st.com>
3028
3029 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3030 architecture.
3031
33befddc
RH
30322019-09-19 Richard Henderson <richard.henderson@linaro.org>
3033
3034 * config/aarch64/lse-init.c: New file.
3035 * config/aarch64/lse.S: New file.
3036 * config/aarch64/t-lse: New file.
3037 * config.host: Add t-lse to all aarch64 tuples.
3038
ae1152e5
CL
30392019-09-10 Christophe Lyon <christophe.lyon@st.com>
3040 Mickaël Guêné <mickael.guene@st.com>
3041
84818dbb
CL
3042 * config/arm/unwind-arm.c (_Unwind_VRS_Set): Handle thumb-only
3043 architecture.
3044
30452019-09-10 Christophe Lyon <christophe.lyon@st.com>
3046 Mickaël Guêné <mickael.guene@st.com>
3047
ae1152e5
CL
3048 * unwind-arm-common.inc (ARM_SET_R7_RT_SIGRETURN)
3049 (THUMB2_SET_R7_RT_SIGRETURN, FDPIC_LDR_R12_WITH_FUNCDESC)
3050 (FDPIC_LDR_R9_WITH_GOT, FDPIC_LDR_PC_WITH_RESTORER)
3051 (FDPIC_FUNCDESC_OFFSET, ARM_NEW_RT_SIGFRAME_UCONTEXT)
3052 (ARM_UCONTEXT_SIGCONTEXT, ARM_SIGCONTEXT_R0, FDPIC_T2_LDR_R12_WITH_FUNCDESC)
3053 (FDPIC_T2_LDR_R9_WITH_GOT, FDPIC_T2_LDR_PC_WITH_RESTORER): New.
3054 (__gnu_personality_sigframe_fdpic): New.
3055 (get_eit_entry): Add FDPIC signal frame support.
3056
5d727a4b
CL
30572019-09-10 Christophe Lyon <christophe.lyon@st.com>
3058 Mickaël Guêné <mickael.guene@st.com>
3059
3060 * config/arm/linux-atomic.c (__kernel_cmpxchg): Add FDPIC support.
3061 (__kernel_dmb): Likewise.
3062 (__fdpic_cmpxchg): New function.
3063 (__fdpic_dmb): New function.
3064 * config/arm/unwind-arm.h (FDPIC_REGNUM): New define.
3065 (gnu_Unwind_Find_got): New function.
3066 (_Unwind_decode_typeinfo_ptr): Add FDPIC support.
3067 * unwind-arm-common.inc (UCB_PR_GOT): New.
3068 (funcdesc_t): New struct.
3069 (get_eit_entry): Add FDPIC support.
3070 (unwind_phase2): Likewise.
3071 (unwind_phase2_forced): Likewise.
3072 (__gnu_Unwind_RaiseException): Likewise.
3073 (__gnu_Unwind_Resume): Likewise.
3074 (__gnu_Unwind_Backtrace): Likewise.
3075 * unwind-pe.h (read_encoded_value_with_base): Likewise.
3076
b1e21e5a 30772019-09-10 Christophe Lyon <christophe.lyon@st.com>
11189793 3078 Mickaël Guêné <mickael.guene@st.com>
b1e21e5a 3079
11189793
CL
3080 * libgcc/crtstuff.c: Add support for FDPIC.
3081
30822019-09-10 Christophe Lyon <christophe.lyon@st.com>
3083
3084 * config.host: Handle *-*-uclinuxfdpiceabi.
b1e21e5a 3085
91dfef96
JM
30862019-09-09 Jose E. Marchesi <jose.marchesi@oracle.com>
3087
3088 * config.host: Set cpu_type for bpf-*-* targets.
3089 * config/bpf/t-bpf: Likewise.
3090 * config/bpf/crtn.S: Likewise.
3091 * config/bpf/crti.S: New file.
3092
2f4d8951
JW
30932019-09-06 Jim Wilson <jimw@sifive.com>
3094
3095 * config.host (riscv*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
3096 (riscv*-*-freebsd*): Likewise.
3097
2f2aeda9
UW
30982019-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3099
3100 * config.host: Remove references to spu.
3101 * config/spu/: Remove directory.
3102
d16017da
JL
31032019-08-23 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3104
3105 PR target/91306
3106 * crtstuff.c (__CTOR_LIST__): Align to the "__alignof__" the array
3107 element type, instead of "sizeof" the element type.
3108 (__DTOR_LIST__): Likewise.
3109 (__TMC_LIST__): Likewise.
3110 (__do_global_dtors_aux_fini_array_entry): Likewise.
3111 (__frame_dummy_init_array_entry): Likewise.
3112 (__CTOR_END__): Likewise.
3113 (__DTOR_END__): Likweise.
3114 (__FRAME_END__): Likewise.
3115 (__TMC_END__): Likewise.
3116
a9fcfec3
HL
31172019-08-20 Lili Cui <lilicui@intel.com>
3118
3119 * config/i386/cpuinfo.h: Add INTEL_COREI7_TIGERLAKE and
3120 INTEL_COREI7_COOPERLAKE.
3121
428642b1
MT
31222019-07-31 Matt Thomas <matt@3am-software.com>
3123 Nick Hudson <nick@nthcliff.demon.co.uk>
3124 Matthew Green <mrg@eterna.com.au>
3125 Maya Rashish <coypu@sdf.org>
3126
3127 * config.host (hppa*-*-netbsd*): New case.
3128 * config/pa/t-netbsd: New file.
3129
f0efd925
JH
31302019-07-31 Joel Hutton <Joel.Hutton@arm.com>
3131
3132 * config/arm/cmse.c (cmse_check_address_range): Add
3133 warn_unused_result attribute.
3134
a861990d
ML
31352019-07-22 Martin Liska <mliska@suse.cz>
3136
3137 * config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
3138 * config/pa/t-stublib: Likewise.
3139
9c0dba7c
SH
31402019-07-22 Stafford Horne <shorne@gmail.com>
3141
3142 PR target/90362
3143 * config/or1k/lib1funcs.S (__udivsi3): Change l.sfeqi
3144 to l.sfeq and l.sfltsi to l.sflts equivalents as the immediate
3145 instructions are not available on every processor. Change a
3146 l.bnf to l.bf to fix logic issue.
3147
61afc8f8
IS
31482019-07-04 Iain Sandoe <iain@sandoe.co.uk>
3149
3150 * config.host: Remove reference to t-darwin8.
3151
179c7ef5
IS
31522019-07-03 Iain Sandoe <iain@sandoe.co.uk>
3153
3154 * config.host (powerpc-*-darwin*,powerpc64-*-darwin*): Revise crt
3155 list.
3156 * config/rs6000/t-darwin: Build crt3_2 for older systems. Revise
3157 mmacosx-version-min for crts to run across all system versions.
3158 * config/rs6000/t-darwin64 (LIB2ADD): Remove.
3159 * config/t-darwin: Revise mmacosx-version-min for crts to run across
3160 system versions >= 10.4.
3161
596341c7
ML
31622019-07-03 Martin Liska <mliska@suse.cz>
3163
3164 * Makefile.in: Use topn_values instead of one_value names.
3165 * libgcov-merge.c (__gcov_merge_single): Move to ...
3166 (__gcov_merge_topn): ... this.
3167 (merge_single_value_set): Move to ...
3168 (merge_topn_values_set): ... this.
3169 * libgcov-profiler.c (__gcov_one_value_profiler_body): Move to
3170 ...
3171 (__gcov_topn_values_profiler_body): ... this.
3172 (__gcov_one_value_profiler_v2): Move to ...
3173 (__gcov_topn_values_profiler): ... this.
3174 (__gcov_one_value_profiler_v2_atomic): Move to ...
3175 (__gcov_topn_values_profiler_atomic): ... this.
3176 (__gcov_indirect_call_profiler_v4): Remove.
3177 * libgcov-util.c (__gcov_single_counter_op): Move to ...
3178 (__gcov_topn_counter_op): ... this.
3179 * libgcov.h (L_gcov_merge_single): Remove.
3180 (L_gcov_merge_topn): New.
3181 (__gcov_merge_single): Remove.
3182 (__gcov_merge_topn): New.
3183 (__gcov_one_value_profiler_v2): Move to ..
3184 (__gcov_topn_values_profiler): ... this.
3185 (__gcov_one_value_profiler_v2_atomic): Move to ...
3186 (__gcov_topn_values_profiler_atomic): ... this.
3187
1b309ca5
ML
31882019-07-03 Martin Liska <mliska@suse.cz>
3189
3190 * libgcov-merge.c (merge_single_value_set): Support N values.
3191 * libgcov-profiler.c (__gcov_one_value_profiler_body): Likewise.
3192
5a460280
ID
31932019-06-27 Ilia Diachkov <ilia.diachkov@optimitech.com>
3194
3195 * Makefile.in (USE_TM_CLONE_REGISTRY): New.
3196 (CRTSTUFF_CFLAGS): Use USE_TM_CLONE_REGISTRY.
3197 * configure.ac: Add --disable-tm-clone-registry option.
3198 * configure: Regenerate.
3199
45309d28
ML
32002019-06-27 Martin Liska <mliska@suse.cz>
3201
3202 * libgcov-driver-system.c (gcov_exit_open_gcda_file): Remove obviously
3203 dead assignments.
3204 * libgcov-util.c: Likewise.
3205
c2f7a665
ML
32062019-06-27 Martin Liska <mliska@suse.cz>
3207
3208 * libgcov-util.c (gcov_profile_merge): Release allocated
3209 memory.
3210 (calculate_overlap): Likewise.
3211
a8e55c61
IS
32122019-06-25 Iain Sandoe <iain@sandoe.co.uk>
3213
3214 * config.host: Add libef_ppc.a to the extra files for powerpc-darwin.
3215 * config/rs6000/t-darwin: (PPC_ENDFILE_SRC, PPC_ENDFILE_OBJS): New.
3216 Build objects for the out of line save/restore register functions
3217 so that they can be used for any supported Darwin version.
3218 * config/t-darwin: Default the build Darwin version to Darwin8
3219 (MacOS 10.4).
3220
e5ce4cbc
ML
32212019-06-25 Martin Liska <mliska@suse.cz>
3222
3223 * libgcov-driver-system.c (replace_filename_variables): Do not
3224 call strlen with NULL argument.
3225
52a47d28
AS
32262019-06-25 Andrew Stubbs <ams@codesourcery.com>
3227
3228 * config/gcn/t-amdgcn (LIB2ADD): Add unwind-gcn.c.
3229 * config/gcn/unwind-gcn.c: New file.
3230
76d46331
KCY
32312019-06-25 Kwok Cheung Yeung <kcy@codesourcery.com>
3232 Andrew Stubbs <ams@codesourcery.com>
3233
3234 * configure: Regenerate.
3235 * config/gcn/gthr-gcn.h: New.
3236
787783a0
TV
32372019-06-18 Tom de Vries <tdevries@suse.de>
3238
3239 * config/nvptx/crt0.c (__main): Declare.
3240
f32f7585
MG
32412019-06-17 Matthew Green <mrg@eterna.com.au>
3242 Maya Rashish <coypu@sdf.org>
3243
3244 * config.host (aarch64*-*-netbsd*): New case.
3245
0fcc78f7
JL
32462019-06-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3247
3248 * config/msp430/slli.S (__mspabi_sllll): New library function for
3249 performing a logical left shift of a 64-bit value.
3250 * config/msp430/srai.S (__mspabi_srall): New library function for
3251 performing a arithmetic right shift of a 64-bit value.
3252 * config/msp430/srll.S (__mspabi_srlll): New library function for
3253 performing a logical right shift of a 64-bit value.
3254
b27c1082
MT
32552019-06-14 Matt Thomas <matt@3am-software.com>
3256 Matthew Green <mrg@eterna.com.au>
3257 Nick Hudson <skrll@netbsd.org>
3258 Maya Rashish <coypu@sdf.org>
3259
3260 * config.host (arm*-*-netbsdelf*): Add support for EABI configurations.
3261 * config/arm/t-netbsd (LIB1ASMFUNCS): Add some additional assembler
3262 functions to build.
3263 * config/arm/t-netbsd-eabi: New file.
3264
ae7deb4b
DD
32652019-06-12 Dimitar Dimitrov <dimitar@dinux.eu>
3266
3267 * config.host: Add PRU target.
3268 * config/pru/asri.c: New file.
3269 * config/pru/eqd.c: New file.
3270 * config/pru/eqf.c: New file.
3271 * config/pru/ged.c: New file.
3272 * config/pru/gef.c: New file.
3273 * config/pru/gtd.c: New file.
3274 * config/pru/gtf.c: New file.
3275 * config/pru/led.c: New file.
3276 * config/pru/lef.c: New file.
3277 * config/pru/lib2bitcountHI.c: New file.
3278 * config/pru/lib2divHI.c: New file.
3279 * config/pru/lib2divQI.c: New file.
3280 * config/pru/lib2divSI.c: New file.
3281 * config/pru/libgcc-eabi.ver: New file.
3282 * config/pru/ltd.c: New file.
3283 * config/pru/ltf.c: New file.
3284 * config/pru/mpyll.S: New file.
3285 * config/pru/pru-abi.h: New file.
3286 * config/pru/pru-asm.h: New file.
3287 * config/pru/pru-divmod.h: New file.
3288 * config/pru/sfp-machine.h: New file.
3289 * config/pru/t-pru: New file.
3290
0d7b3e47
JJ
32912019-06-11 Jakub Jelinek <jakub@redhat.com>
3292
3293 * libgcov-merge.c (__gcov_merge_single): Revert previous change.
3294
54e2d83c
ML
32952019-06-10 Martin Liska <mliska@suse.cz>
3296
3297 PR bootstrap/90808
3298 * libgcov.h: Add ATTRIBUTE_UNUSED.
3299
92d41717
ML
33002019-06-10 Martin Liska <mliska@suse.cz>
3301
3302 * Makefile.in: Add __gcov_one_value_profiler_v2,
3303 __gcov_one_value_profiler_v2_atomic and
3304 __gcov_indirect_call_profiler_v4.
3305 * libgcov-merge.c (__gcov_merge_single): Change
3306 function signature.
3307 (merge_single_value_set): New.
3308 * libgcov-profiler.c (__gcov_one_value_profiler_body):
3309 Update functionality.
3310 (__gcov_one_value_profiler): Remove.
3311 (__gcov_one_value_profiler_v2): ... this.
3312 (__gcov_one_value_profiler_atomic): Rename to ...
3313 (__gcov_one_value_profiler_v2_atomic): this.
3314 (__gcov_indirect_call_profiler_v3): Rename to ...
3315 (__gcov_indirect_call_profiler_v4): ... this.
3316 * libgcov.h (__gcov_one_value_profiler): Remove.
3317 (__gcov_one_value_profiler_atomic): Remove.
3318 (__gcov_one_value_profiler_v2_atomic): New.
3319 (__gcov_indirect_call_profiler_v3): Remove.
3320 (__gcov_one_value_profiler_v2): New.
3321 (__gcov_indirect_call_profiler_v4): New.
3322 (gcov_get_counter_ignore_scaling): New function.
3323
e37333ba
ML
33242019-06-07 Martin Liska <mliska@suse.cz>
3325
3326 * Makefile.in: Remove usage of
3327 _gcov_merge_icall_topn.
3328 * libgcov-driver.c (gcov_sort_n_vals): Remove.
3329 (gcov_sort_icall_topn_counter): Likewise.
3330 (gcov_sort_topn_counter_arrays): Likewise.
3331 (dump_one_gcov): Remove call to gcov_sort_topn_counter_arrays.
3332 * libgcov-merge.c (__gcov_merge_icall_topn): Remove.
3333 * libgcov-profiler.c (__gcov_topn_value_profiler_body):
3334 Likewise.
3335 (GCOV_ICALL_COUNTER_CLEAR_THRESHOLD): Remove.
3336 (struct indirect_call_tuple): Remove.
3337 (__gcov_indirect_call_topn_profiler): Remove.
3338 * libgcov-util.c (__gcov_icall_topn_counter_op): Remove.
3339 * libgcov.h (gcov_sort_n_vals): Remove.
3340 (L_gcov_merge_icall_topn): Likewise.
3341 (__gcov_merge_icall_topn): Likewise.
3342 (__gcov_indirect_call_topn_profiler): Likewise.
3343
34a4a9c2
IS
33442019-06-06 Iain Sandoe <iain@sandoe.co.uk>
3345
3346 * config/rs6000/t-darwin: Ensure that the unwinder is built with
3347 altivec enabled.
3348
d1b2f85f
JL
33492019-06-06 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3350
3351 * config/msp430/slli.S (__mspabi_slli_n): Put function in its own
3352 section.
3353 (__mspabi_slli): Likewise.
3354 (__mspabi_slll_n): Likewise.
3355 (__mspabi_slll): Likewise.
3356 * config/msp430/srai.S (__mspabi_srai_n): Likewise.
3357 (__mspabi_srai): Likewise.
3358 (__mspabi_sral_n): Likewise.
3359 (__mspabi_sral): Likewise.
3360 * config/msp430/srli.S (__mspabi_srli_n): Likewise.
3361 (__mspabi_srli): Likewise.
3362 (__mspabi_srll_n): Likewise.
3363 (__mspabi_srll): Likewise.
3364
e69a13d1
YS
33652019-06-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3366
3367 * config.host (rx-*-linux*): Add t-fdpbit to tmake_file
3368 Add appropriate tm_file clause as well.
3369 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Remove.
3370
b009eac1
JC
33712019-06-05 James Clarke <jrtc27@jrtc27.com>
3372
3373 * config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
3374 rather than .data/.bss so it can be accessed via gp-relative
3375 addressing.
3376
781d39f2
DE
33772019-06-05 David Edelsohn <dje.gcc@gmail.com>
3378
3379 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
3380 (CR2_REGNO): Rename to R_CR2.
3381 (XER_REGNO): Rename to R_XER.
3382 (FIRST_ALTIVEC_REGNO): Rename to R_FIRST_ALTIVEC.
3383 (VRSAVE_REGNO): Rename to R_VRSAVE.
3384 (VSCR_REGNO): R_VSCR.
3385
76aaa9cd
YS
33862019-05-29 Yoshinori Sato <ysato@users.sourceforge.jp>
3387
3388 * config.host (rx-*-linux*): Add new case.
3389 * config/rx/t-rx (HOST_LIBGCC2_CFLAGS): Force DFmode to SFmode.
3390
8fc16d72
ST
33912019-05-29 Sam Tebbs <sam.tebbs@arm.com>
3392
3393 * config/aarch64/aarch64-unwind.h (aarch64_cie_signed_with_b_key): New
3394 function.
3395 * config/aarch64/aarch64-unwind.h (aarch64_post_extract_frame_addr,
3396 aarch64_post_frob_eh_handler_addr): Add check for b-key.
3397 * config/aarch64/aarch64-unwind-h (aarch64_post_extract_frame_addr,
3398 aarch64_post_frob_eh_handler_addr, aarch64_post_frob_update_context):
3399 Rename RA_A_SIGNED_BIT to RA_SIGNED_BIT.
3400 * unwind-dw2-fde.c (get_cie_encoding): Add check for 'B' in augmentation
3401 string.
3402 * unwind-dw2.c (extract_cie_info): Add check for 'B' in augmentation
3403 string.
3404 (RA_A_SIGNED_BIT): Rename to RA_SIGNED_BIT.
3405
e54b1a92
RO
34062019-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3407
3408 * config/sparc/sol2-unwind.h [__arch64__] (sparc64_is_sighandler):
3409 Remove Solaris 9 and 10 support.
3410 (sparc_is_sighandler): Likewise.
3411
abbb8307
JDA
34122019-05-26 John David Anglin <danglin@gcc.gnu.org>
3413
3414 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
3415
2581344d
L
34162019-05-17 H.J. Lu <hongjiu.lu@intel.com>
3417
3418 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3419 4_FP_W_TYPEs are used for IEEE quad precision.
3420 * soft-fp/extendhftf2.c: Likewise.
3421 * soft-fp/extendsftf2.c: Likewise.
3422 * soft-fp/extendxftf2.c: Likewise.
3423 * soft-fp/trunctfdf2.c: Likewise.
3424 * soft-fp/trunctfhf2.c: Likewise.
3425 * soft-fp/trunctfsf2.c: Likewise.
3426 * soft-fp/trunctfxf2.c: Likewise.
3427 * config/rs6000/ibm-ldouble.c: Likewise.
3428
ccd1242e
RO
34292019-05-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3430
3431 * config.host: Simplify various *-*-solaris2.1[0-9]* to
3432 *-*-solaris2*.
3433 * configure.ac: Likewise.
3434 * configure: Regenerate.
3435
3436 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
3437 Solaris 10 and Solaris 11 < snv_125 handling.
3438
ef5eb79d
IS
34392019-05-12 Iain Sandoe <iain@sandoe.co.uk>
3440
3441 * config/rs6000/darwin-vecsave.S: Set .machine appropriately.
3442
4f0e90fa
HL
34432019-05-07 Hongtao Liu <hongtao.liu@intel.com>
3444
3445 * config/i386/cpuinfo.c (get_available_features): Detect BF16.
3446 * config/i386/cpuinfo.h (enum processor_features): Add
3447 FEATURE_AVX512BF16.
3448
48528842
RR
34492019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3450 Bernd Edlinger <bernd.edlinger@hotmail.de>
3451 Jakub Jelinek <jakub@redhat.com>
3452
3453 PR target/89093
3454 * config/arm/pr-support.c: Add #pragma GCC target("general-regs-only").
3455 * config/arm/unwind-arm.c: Likewise.
3456 * unwind-c.c (PERSONALITY_FUNCTION): Add general-regs-only target
3457 attribute for ARM.
3458
887e182f
MC
34592019-04-15 Monk Chiang <sh.chiang04@gmail.com>
3460
3461 * config/nds32/linux-unwind.h (SIGRETURN): Remove.
3462 (RT_SIGRETURN): Update.
3463 (nds32_fallback_frame_state): Update.
3464
a90b0cdd
MS
34652019-02-21 Martin Sebor <msebor@redhat.com>
3466
3467 * libgcc2.h (__clear_cache): Correct signature.
3468 * libgcc2.c (__clear_cache): Same.
3469
1ed28eda
UB
34702019-02-20 Uroš Bizjak <ubizjak@gmail.com>
3471
3472 * config/alpha/linux-unwind.h (alpha_fallback_frame_state):
3473 Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'.
3474
fe95aee9
UB
34752019-02-19 Uroš Bizjak <ubizjak@gmail.com>
3476
3477 * unwind-dw2.c (_Unwind_GetGR) [DWARF_ZERO_REG]: Compare
3478 regno instead of index to DWARF_ZERO_REG.
3479
bf7988f1
EB
34802019-02-15 Eric Botcazou <ebotcazou@adacore.com>
3481
3482 * config/visium/lib2funcs.c (__set_trampoline_parity): Replace
3483 TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__.
3484
ba2c1ca8
UB
34852019-01-31 Uroš Bizjak <ubizjak@gmail.com>
3486
3487 * config/alpha/t-linux: Add -mfp-rounding-mode=d
3488 to HOST_LIBGCC2_CFLAGS.
3489
6395ba73
L
34902019-01-23 Joseph Myers <joseph@codesourcery.com>
3491
3492 PR libgcc/88931
ba2c1ca8 3493 * libgcc2.c (FSTYPE FUNC (DWtype u)): Correct no leading bits case.
6395ba73 3494
756721ba
ML
34952019-01-18 Martin Liska <mliska@suse.cz>
3496
3497 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Rename
3498 to ...
3499 (__gcov_indirect_call_profiler_v3): ... this.
3500 * libgcov.h (__gcov_indirect_call_profiler_v2): Likewise.
3501 (__gcov_indirect_call_profiler_v3): Likewise.
3502 * Makefile.in: Bump function name.
3503
d273c40a
ML
35042019-01-18 Martin Liska <mliska@suse.cz>
3505
3506 * libgcov-driver.c (GCOV_PROF_PREFIX): Define.
3507 (gcov_version): Use in gcov_error.
3508 (merge_one_data): Likewise.
3509 (dump_one_gcov): Likewise.
3510
be9d9fdb
ML
35112019-01-18 Martin Liska <mliska@suse.cz>
3512
3513 * libgcov-driver.c (gcov_version_string): New function.
3514 (gcov_version): Convert version integer into string.
3515
91d7b7fe
AS
35162019-01-17 Andrew Stubbs <ams@codesourcery.com>
3517 Kwok Cheung Yeung <kcy@codesourcery.com>
3518 Julian Brown <julian@codesourcery.com>
3519 Tom de Vries <tom@codesourcery.com>
3520
3521 * config.host: Recognize amdgcn*-*-amdhsa.
3522 * config/gcn/crt0.c: New file.
3523 * config/gcn/lib2-divmod-hi.c: New file.
3524 * config/gcn/lib2-divmod.c: New file.
3525 * config/gcn/lib2-gcn.h: New file.
3526 * config/gcn/sfp-machine.h: New file.
3527 * config/gcn/t-amdgcn: New file.
3528
67914693
SL
35292019-01-09 Sandra Loosemore <sandra@codesourcery.com>
3530
3531 PR other/16615
3532
3533 * config/c6x/libunwind.S: Mechanically replace "can not" with
3534 "cannot".
3535 * config/tilepro/atomic.h: Likewise.
3536 * config/vxlib-tls.c: Likewise.
3537 * generic-morestack-thread.c: Likewise.
3538 * generic-morestack.c: Likewise.
3539 * mkmap-symver.awk: Likewise.
3540
a5544970
JJ
35412019-01-01 Jakub Jelinek <jakub@redhat.com>
3542
3543 Update copyright years.
3544
da77eace
L
35452018-12-20 H.J. Lu <hongjiu.lu@intel.com>
3546
3547 * unwind-pe.h (read_encoded_value_with_base): Add GCC pragma
3548 to ignore -Waddress-of-packed-member.
3549
72e3a529
TP
35502018-12-19 Thomas Preud'homme <thomas.preudhomme@linaro.org>
3551
3552 * /config/arm/lib1funcs.S (FUNC_START): Remove unused sp_section
3553 parameter and corresponding code.
3554 (ARM_FUNC_START): Likewise in both definitions.
3555 Also update footer comment about condition that need to match with
3556 gcc/config/arm/elf.h to also include libgcc/config/arm/t-arm.
3557 * config/arm/ieee754-df.S (muldf3): Also build it if L_arm_muldf3 is
3558 defined. Weakly define it in this case.
3559 * config/arm/ieee754-sf.S (mulsf3): Likewise with L_arm_mulsf3.
3560 * config/arm/t-elf (LIB1ASMFUNCS): Build _arm_muldf3.o and
3561 _arm_mulsf3.o before muldiv versions if targeting Thumb-1 only. Add
3562 comment to keep condition in sync with the one in
3563 libgcc/config/arm/lib1funcs.S and gcc/config/arm/elf.h.
3564
5d54c798
WX
35652018-12-18 Wei Xiao <wei3.xiao@intel.com>
3566
3567 * config/i386/cpuinfo.c (get_intel_cpu): Handle cascadelake.
3568 * config/i386/cpuinfo.h: Add INTEL_COREI7_CASCADELAKE.
3569
5a2580b6
RV
35702018-12-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3571
3572 * config/rs6000/tramp.S (__trampoline_setup): Also emit .size
3573 and .cfi_endproc directives for VxWorks targets.
3574
c0c5112b
PK
35752018-12-05 Paul Koning <ni1d@arrl.net>
3576
3577 * udivmodhi4.c (__udivmodhi4): Fix loop end check.
3578
1ea7ea18
AM
35792018-11-27 Alan Modra <amodra@gmail.com>
3580
3581 * config/rs6000/morestack.S (__stack_split_initialize),
3582 (__morestack_get_guard, __morestack_set_guard),
3583 (__morestack_make_guard): Provide CFI covering these functions.
3584 * config/rs6000/tramp.S (__trampoline_setup): Likewise.
3585
ff641ae1
XQ
35862018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3587
1ea7ea18 3588 * config/csky/linux-unwind.h (sc_pt_regs): Update for kernel.
ff641ae1
XQ
3589 (sc_pt_regs_lr): Update for kernel.
3590 (sc_pt_regs_tls): Update for kernel.
3591
28209372
XQ
35922018-11-15 Xianmiao Qu <xianmiao_qu@c-sky.com>
3593
3594 * config/csky/linux-unwind.h: Fix coding style.
3595
b2a71af6
XQ
35962018-11-13 Xianmiao Qu <xianmiao_qu@c-sky.com>
3597
3598 * config/csky/linux-unwind.h (_sig_ucontext_t): Remove.
1ea7ea18 3599 (csky_fallback_frame_state): Modify the check of the
b2a71af6
XQ
3600 instructions to adapt to changes in the kernel
3601
d929e137
SH
36022018-11-09 Stafford Horne <shorne@gmail.com>
3603 Richard Henderson <rth@twiddle.net>
3604
3605 * config.host: Add OpenRISC support.
3606 * config/or1k/*: New.
3607
222cfefa
KC
36082018-11-08 Kito Cheng <kito@andestech.com>
3609
3610 * soft-fp/adddf3.c: Update from glibc.
3611 * soft-fp/addsf3.c: Likewise.
3612 * soft-fp/addtf3.c: Likewise.
3613 * soft-fp/divdf3.c: Likewise.
3614 * soft-fp/divsf3.c: Likewise.
3615 * soft-fp/divtf3.c: Likewise.
3616 * soft-fp/double.h: Likewise.
3617 * soft-fp/eqdf2.c: Likewise.
3618 * soft-fp/eqsf2.c: Likewise.
3619 * soft-fp/eqtf2.c: Likewise.
3620 * soft-fp/extenddftf2.c: Likewise.
3621 * soft-fp/extended.h: Likewise.
3622 * soft-fp/extendhftf2.c: Likewise.
3623 * soft-fp/extendsfdf2.c: Likewise.
3624 * soft-fp/extendsftf2.c: Likewise.
3625 * soft-fp/extendxftf2.c: Likewise.
3626 * soft-fp/fixdfdi.c: Likewise.
3627 * soft-fp/fixdfsi.c: Likewise.
3628 * soft-fp/fixdfti.c: Likewise.
3629 * soft-fp/fixhfti.c: Likewise.
3630 * soft-fp/fixsfdi.c: Likewise.
3631 * soft-fp/fixsfsi.c: Likewise.
3632 * soft-fp/fixsfti.c: Likewise.
3633 * soft-fp/fixtfdi.c: Likewise.
3634 * soft-fp/fixtfsi.c: Likewise.
3635 * soft-fp/fixtfti.c: Likewise.
3636 * soft-fp/fixunsdfdi.c: Likewise.
3637 * soft-fp/fixunsdfsi.c: Likewise.
3638 * soft-fp/fixunsdfti.c: Likewise.
3639 * soft-fp/fixunshfti.c: Likewise.
3640 * soft-fp/fixunssfdi.c: Likewise.
3641 * soft-fp/fixunssfsi.c: Likewise.
3642 * soft-fp/fixunssfti.c: Likewise.
3643 * soft-fp/fixunstfdi.c: Likewise.
3644 * soft-fp/fixunstfsi.c: Likewise.
3645 * soft-fp/fixunstfti.c: Likewise.
3646 * soft-fp/floatdidf.c: Likewise.
3647 * soft-fp/floatdisf.c: Likewise.
3648 * soft-fp/floatditf.c: Likewise.
3649 * soft-fp/floatsidf.c: Likewise.
3650 * soft-fp/floatsisf.c: Likewise.
3651 * soft-fp/floatsitf.c: Likewise.
3652 * soft-fp/floattidf.c: Likewise.
3653 * soft-fp/floattihf.c: Likewise.
3654 * soft-fp/floattisf.c: Likewise.
3655 * soft-fp/floattitf.c: Likewise.
3656 * soft-fp/floatundidf.c: Likewise.
3657 * soft-fp/floatundisf.c: Likewise.
3658 * soft-fp/floatunditf.c: Likewise.
3659 * soft-fp/floatunsidf.c: Likewise.
3660 * soft-fp/floatunsisf.c: Likewise.
3661 * soft-fp/floatunsitf.c: Likewise.
3662 * soft-fp/floatuntidf.c: Likewise.
3663 * soft-fp/floatuntihf.c: Likewise.
3664 * soft-fp/floatuntisf.c: Likewise.
3665 * soft-fp/floatuntitf.c: Likewise.
3666 * soft-fp/gedf2.c: Likewise.
3667 * soft-fp/gesf2.c: Likewise.
3668 * soft-fp/getf2.c: Likewise.
3669 * soft-fp/half.h: Likewise.
3670 * soft-fp/ledf2.c: Likewise.
3671 * soft-fp/lesf2.c: Likewise.
3672 * soft-fp/letf2.c: Likewise.
3673 * soft-fp/muldf3.c: Likewise.
3674 * soft-fp/mulsf3.c: Likewise.
3675 * soft-fp/multf3.c: Likewise.
3676 * soft-fp/negdf2.c: Likewise.
3677 * soft-fp/negsf2.c: Likewise.
3678 * soft-fp/negtf2.c: Likewise.
3679 * soft-fp/op-1.h: Likewise.
3680 * soft-fp/op-2.h: Likewise.
3681 * soft-fp/op-4.h: Likewise.
3682 * soft-fp/op-8.h: Likewise.
3683 * soft-fp/op-common.h: Likewise.
3684 * soft-fp/quad.h: Likewise.
3685 * soft-fp/single.h: Likewise.
3686 * soft-fp/soft-fp.h: Likewise.
3687 * soft-fp/subdf3.c: Likewise.
3688 * soft-fp/subsf3.c: Likewise.
3689 * soft-fp/subtf3.c: Likewise.
3690 * soft-fp/truncdfsf2.c: Likewise.
3691 * soft-fp/trunctfdf2.c: Likewise.
3692 * soft-fp/trunctfhf2.c: Likewise.
3693 * soft-fp/trunctfsf2.c: Likewise.
3694 * soft-fp/trunctfxf2.c: Likewise.
3695 * soft-fp/unorddf2.c: Likewise.
3696 * soft-fp/unordsf2.c: Likewise.
3697 * soft-fp/unordtf2.c: Likewise.
3698
2901f42f
VK
36992018-11-04 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3700
3701 * config/i386/cpuinfo.c: (get_amd_cpu): Add znver2.
3702 * config/i386/cpuinfo.h (processor_types): Add znver2.
3703
4310ca66
PK
37042018-11-01 Paul Koning <ni1d@arrl.net>
3705
3706 * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c.
3707 (HOST_LIBGCC2_CFLAGS): Change to optimize for size.
3708
22e05272
JM
37092018-10-31 Joseph Myers <joseph@codesourcery.com>
3710
3711 PR bootstrap/82856
3712 * configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
3713 * configure: Regenerate.
3714
8180cde0
CZ
37152018-10-31 Claudiu Zissulescu <claziss@synopsys.com>
3716
3717 * config/arc/lib1funcs.S (_muldi3): New function.
3718 * config/arc/t-arc (LIB1ASMFUNCS): Add _muldi3.
3719
be7b071e
RV
37202018-10-30 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3721
3722 * config/gthr-vxworks.h (__gthread_mutex_destroy): Call semDelete.
3723
3239d726
ML
37242018-10-25 Martin Liska <mliska@suse.cz>
3725
3726 PR other/87735
3727 * libgcov-profiler.c: Revert.
3728
19b55958
ML
37292018-10-24 Martin Liska <mliska@suse.cz>
3730
3731 * libgcov-profiler.c: Start from 1 in order to distinguish
3732 functions which were seen and these that were not.
3733
a9a2fddb
PK
37342018-10-18 Paul Koning <ni1d@arrl.net>
3735
3736 * udivmodsi4.c (__udivmodsi4): Rename to conform to coding
3737 standard.
3738 * divmod.c: Update references to __udivmodsi4.
3739 * udivmod.c: Ditto.
3740 * udivhi3.c: New file.
3741 * udivmodhi4.c: New file.
3742 * config/pdp11/t-pdp11 (LIB2ADD): Add the new files.
3743
fc8abc46
RV
37442018-10-17 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3745
3746 * Makefile.in (LIB2FUNCS_ST): Filter out LIB2FUNCS_EXCLUDE.
3747
87f918e3
OH
37482018-10-12 Olivier Hainque <hainque@adacore.com>
3749
3750 * config/rs6000/ibm-ldouble.c: Augment the toplevel guard with
3751 defined (__FLOAT128_TYPE__) || defined (__LONG_DOUBLE_128__).
3752
be86efa7
PK
37532018-10-08 Paul Koning <ni1d@arrl.net>
3754
3755 * config/pdp11/t-pdp11: Remove -mfloat32 switch.
3756
3edbcdbe
ML
37572018-10-04 Martin Liska <mliska@suse.cz>
3758
3759 PR gcov-profile/84107
3760 * libgcov-profiler.c (__gcov_indirect_call):
3761 Change type to indirect_call_tuple.
3762 (struct indirect_call_tuple): New struct.
3763 (__gcov_indirect_call_topn_profiler): Change type.
3764 (__gcov_indirect_call_profiler_v2): Use the new
3765 variables.
3766 * libgcov.h (struct indirect_call_tuple): New struct
3767 definition.
3768
af8096fc
UB
37692018-10-03 Uros Bizjak <ubizjak@gmail.com>
3770
3771 * libgcc2.c (isnan): Use __builtin_isnan.
3772 (isfinite): Use __builtin_isfinite.
3773 (isinf): Use __builtin_isinf.
3774
0a76bba4
UB
37752018-09-26 Uros Bizjak <ubizjak@gmail.com>
3776
3777 * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.
3778
5244089f
OH
37792018-09-21 Alexandre Oliva <oliva@adacore.com>
3780
3781 * config/vxcache.c: New file. Provide __clear_cache, based on
3782 the cacheTextUpdate VxWorks service.
3783 * config/t-vxworks (LIB2ADD): Add vxcache.c.
3784 (LIB2FUNCS_EXCLUDE): Add _clear_cache.
3785 * config/t-vxwoks7: Likewise.
3786
512cc015
ML
37872018-09-21 Martin Liska <mliska@suse.cz>
3788
3789 * libgcov-driver.c (crc32_unsigned): Remove.
3790 (gcov_histogram_insert): Likewise.
3791 (gcov_compute_histogram): Likewise.
3792 (compute_summary): Simplify rapidly.
3793 (merge_one_data): Do not handle PROGRAM_SUMMARY tag.
3794 (merge_summary): Rapidly simplify.
3795 (dump_one_gcov): Ignore gcov_summary.
3796 (gcov_do_dump): Do not handle program summary, it's not
3797 used.
3798 * libgcov-util.c (tag_summary): Remove.
3799 (read_gcda_finalize): Fix coding style.
3800 (read_gcda_file): Initialize curr_object_summary.
3801 (compute_summary): Remove.
3802 (calculate_overlap): Remove settings of run_max.
3803
36ff254b
MC
38042018-09-21 Monk Chiang <sh.chiang04@gmail.com>
3805
3806 * config/nds32/linux-unwind.h (struct _rt_sigframe): Use struct
3807 ucontext_t type instead.
3808 (nds32_fallback_frame_state): Remove struct _sigframe statement.
3809
229a033d
KC
38102018-09-21 Kito Cheng <kito.cheng@gmail.com>
3811
3812 * config/nds32/t-nds32-glibc: New file.
3813
53c6feb2
RO
38142018-09-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3815
3816 * configure.ac (solaris_ld_v2_maps): New test.
3817 * configure: Regenerate.
3818 * Makefile.in (solaris_ld_v2_maps): New variable.
3819 * config/t-slibgcc-sld (libgcc-unwind.map): Emit v2 mapfile syntax
3820 if supported.
3821
ebdb6f23
RE
38222018-08-23 Richard Earnshaw <rearnsha@arm.com>
3823
3824 PR target/86951
3825 * config/arm/lib1funcs.asm (speculation_barrier): New function.
3826 * config/arm/t-arm (LIB1ASMFUNCS): Add it to list of functions
3827 to build.
3828
a49c064e
IS
38292018-08-22 Iain Sandoe <iain@sandoe.co.uk>
3830
1ea7ea18 3831 * config/unwind-dw2-fde-darwin.c
a49c064e
IS
3832 (_darwin10_Unwind_FindEnclosingFunction): move from here ...
3833 * config/darwin10-unwind-find-enc-func.c: … to here.
3834 * config/t-darwin: Build Darwin10 unwinder shim crt.
3835 * libgcc/config.host: Add the Darwin10 unwinder shim.
3836
9a5b8df7
RV
38372018-08-21 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3838
3839 * config.host: Add crtbegin.o and crtend.o for
3840 powerpc-wrs-vxworks target.
3841
4cd0bc3b
J
38422018-08-17 Jojo <jijie_rong@c-sky.com>
3843 Huibin Wang <huibin_wang@c-sky.com>
3844 Sandra Loosemore <sandra@codesourcery.com>
3845 Chung-Lin Tang <cltang@codesourcery.com>
3846
3847 C-SKY port: libgcc
3848
3849 * config.host: Add C-SKY support.
3850 * config/csky/*: New.
3851
a4931745
CJW
38522018-08-12 Chung-Ju Wu <jasonwucj@gmail.com>
3853
3854 * config/nds32/t-nds32-isr: Rearrange object dependency.
3855 * config/nds32/initfini.c: Add dwarf2 unwinding support.
3856 * config/nds32/isr-library/adj_intr_lvl.inc: Consider new extensions
3857 and registers usage.
3858 * config/nds32/isr-library/excp_isr.S: Ditto.
3859 * config/nds32/isr-library/intr_isr.S: Ditto.
3860 * config/nds32/isr-library/reset.S: Ditto.
3861 * config/nds32/isr-library/restore_all.inc: Ditto.
3862 * config/nds32/isr-library/restore_mac_regs.inc: Ditto.
3863 * config/nds32/isr-library/restore_partial.inc: Ditto.
3864 * config/nds32/isr-library/restore_usr_regs.inc: Ditto.
3865 * config/nds32/isr-library/save_all.inc: Ditto.
3866 * config/nds32/isr-library/save_mac_regs.inc: Ditto.
3867 * config/nds32/isr-library/save_partial.inc: Ditto.
3868 * config/nds32/isr-library/save_usr_regs.inc: Ditto.
3869 * config/nds32/isr-library/vec_vid*.S: Consider 4-byte vector size.
3870
2b1969f6
JDA
38712018-08-11 John David Anglin <danglin@gcc.gnu.org>
3872
3873 * config/pa/linux-atomic.c: Update comment.
3874 (FETCH_AND_OP_2, OP_AND_FETCH_2, FETCH_AND_OP_WORD, OP_AND_FETCH_WORD,
3875 COMPARE_AND_SWAP_2, __sync_val_compare_and_swap_4,
3876 SYNC_LOCK_TEST_AND_SET_2, __sync_lock_test_and_set_4): Use
3877 __ATOMIC_RELAXED for atomic loads.
3878 (SYNC_LOCK_RELEASE_1): New define. Use __sync_synchronize() and
3879 unordered store to release lock.
3880 (__sync_lock_release_8): Likewise.
3881 (SYNC_LOCK_RELEASE_2): Remove define.
af8096fc 3882
89fff9cc
NP
38832018-08-02 Nicolas Pitre <nico@fluxnic.net>
3884
3885 PR libgcc/86512
3886 * config/arm/ieee754-df.S: Don't shortcut denormal handling when
3887 exponent goes negative. Update my email address.
3888 * config/arm/ieee754-sf.S: Likewise.
3889
fd2e1dcd
ML
38902018-08-01 Martin Liska <mliska@suse.cz>
3891
3892 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2): Do not
92a285c1 3893 check that __gcov_indirect_call_callee is non-null.
fd2e1dcd 3894
b7415975
CL
38952018-07-30 Christophe Lyon <christophe.lyon@linaro.org>
3896
3897 * config/arm/ieee754-df.S: Fix comment for code working on
3898 architectures >= 4.
3899 * config/arm/ieee754-sf.S: Likewise.
3900
b72e71a3
L
39012018-07-27 H.J. Lu <hongjiu.lu@intel.com>
3902
3903 PR libgcc/85334
3904 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
3905 Removed.
3906
1c686aa4
JC
39072018-07-05 James Clarke <jrtc27@jrtc27.com>
3908
3909 * configure: Regenerated.
3910
b61c9b99
RO
39112018-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3912
3913 * Makefile.in (install_leaf): Use enable_gcov instead of
3914 enable_libgcov.
3915
1765b023
RV
39162018-06-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3917
3918 * configure.ac: Add --disable-gcov option.
3919 * configure: Regenerate.
3920 * Makefile.in: Honour @enable_gcov@.
3921
9b2e34ef
CL
39222018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3923
3924 * config/arm/lib1funcs.S (__ARM_ARCH__): Remove definitions, use
3925 __ARM_ARCH and __ARM_FEATURE_CLZ instead.
3926 (HAVE_ARM_CLZ): Remove definition, use __ARM_FEATURE_CLZ instead.
3927 * config/arm/ieee754-df.S: Use __ARM_FEATURE_CLZ instead of
3928 __ARM_ARCH__.
3929 * config/arm/ieee754-sf.S: Likewise.
3930 * config/arm/libunwind.S: Use __ARM_ARCH instead of __ARM_ARCH__.
3931
d1b0dd54
CL
39322018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
3933
3934 * config/arm/ieee754-df.S: Remove code for __ARM_ARCH__ < 4, no
3935 longer supported.
3936 * config/arm/ieee754-sf.S: Likewise.
3937
1f3fa525
TM
39382018-06-20 Than McIntosh <thanm@google.com>
3939
3940 PR libgcc/86213
3941 * generic-morestack.c (allocate_segment): Move calls to getenv and
3942 getpagesize to __morestack_load_mmap.
3943 (__morestack_load_mmap) Initialize static_pagesize and
3944 use_guard_page here so as to avoid clobbering SSE regs during a
3945 __morestack call.
3946
6a8886e4
MM
39472018-06-18 Michael Meissner <meissner@linux.ibm.com>
3948
3949 * config/rs6000/t-float128 (FP128_CFLAGS_SW): Compile float128
3950 support modules with -mno-gnu-attribute.
3951 * config/rs6000/t-float128-hw (FP128_CFLAGS_HW): Likewise.
3952
fb997097
OH
39532018-06-07 Olivier Hainque <hainque@adacore.com>
3954
3955 * config/t-vxworks (LIBGCC_INCLUDES): Add
3956 -I$(MULTIBUILDTOP)../../gcc/include.
3957 * config/t-vxworks7: Likewise. Reformat a bit to match
3958 the t-vxworks layout.
3959
a548a5a1
OM
39602018-06-07 Olga Makhotina <olga.makhotina@intel.com>
3961
3962 * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT.
3963
244aebfd
ML
39642018-06-07 Martin Liska <mliska@suse.cz>
3965
3966 * libgcov-driver.c: Rename cs_all to all and assign it from
92a285c1 3967 all_prg.
244aebfd 3968
6c086e8c
ML
39692018-06-07 Martin Liska <mliska@suse.cz>
3970
92a285c1 3971 PR bootstrap/86057
6c086e8c 3972 * libgcov-driver-system.c (replace_filename_variables): Use
92a285c1 3973 memcpy instead of mempcpy.
6c086e8c 3974 (allocate_filename_struct): Do not allocate filename, allocate
92a285c1 3975 prefix and set it.
6c086e8c 3976 (gcov_exit_open_gcda_file): Allocate memory for gf->filename
92a285c1 3977 here and properly copy content into it.
6c086e8c 3978 * libgcov-driver.c (struct gcov_filename): Remove max_length
92a285c1 3979 field, change prefix from size_t into char *.
6c086e8c
ML
3980 (compute_summary): Do not calculate longest filename.
3981 (gcov_do_dump): Release memory of gf.filename after each file.
3982 * libgcov-util.c (compute_summary): Use new signature of
92a285c1 3983 compute_summary.
6c086e8c
ML
3984 (calculate_overlap): Likewise.
3985
97a53d1d
ML
39862018-06-05 Martin Liska <mliska@suse.cz>
3987
3988 PR gcov-profile/47618
3989 * libgcov-driver-system.c (replace_filename_variables): New
92a285c1 3990 function.
97a53d1d
ML
3991 (gcov_exit_open_gcda_file): Use it.
3992
7f3577f5
ML
39932018-06-05 Martin Liska <mliska@suse.cz>
3994
3995 * libgcov-driver.c (gcov_compute_histogram): Remove usage
3996 of gcov_ctr_summary.
3997 (compute_summary): Do it just for a single summary.
3998 (merge_one_data): Likewise.
3999 (merge_summary): Simplify as we read just single summary.
4000 (dump_one_gcov): Pass proper argument.
4001 * libgcov-util.c (compute_one_gcov): Simplify as we have just
4002 single summary.
4003 (gcov_info_count_all_cold): Likewise.
4004 (calculate_overlap): Likewise.
4005
cf3cd43d
CJW
40062018-06-02 Chung-Ju Wu <jasonwucj@gmail.com>
4007 Monk Chiang <sh.chiang04@gmail.com>
4008
4009 * config.host (nds32*-linux*): New.
4010 * config/nds32/linux-atomic.c: New file.
4011 * config/nds32/linux-unwind.h: New file.
4012
8b8003ed
UB
40132018-05-31 Uros Bizjak <ubizjak@gmail.com>
4014
4015 PR target/85591
4016 * config/i386/cpuinfo.c (get_amd_cpu): Return
4017 AMDFAM15H_BDVER2 for AMDFAM15H model 0x2.
4018
bbdf026f
RV
40192018-05-30 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
4020
92a285c1 4021 * crtstuff.c: Remove declaration of _Jv_RegisterClasses.
bbdf026f 4022
0e8f29da
ML
40232018-05-29 Martin Liska <mliska@suse.cz>
4024
92a285c1 4025 PR gcov-profile/85759
0e8f29da 4026 * libgcov-driver-system.c (gcov_error): Introduce usage of
92a285c1 4027 GCOV_EXIT_AT_ERROR env. variable.
0e8f29da 4028 * libgcov-driver.c (merge_one_data): Print error that we
92a285c1 4029 overwrite a gcov file with a different timestamp.
0e8f29da 4030
54fd1590
K
40312018-05-23 Kalamatee <kalamatee@gmail.com>
4032
4033 * config/m68k/lb1sf68.S (Laddsf$nf): Fix sign bit handling in
4034 path to Lf$finfty.
4035
09baee1a
KC
40362018-05-18 Kito Cheng <kito.cheng@gmail.com>
4037 Monk Chiang <sh.chiang04@gmail.com>
4038 Jim Wilson <jimw@sifive.com>
4039
4040 * config/riscv/save-restore.S: Add support for rv32e.
4041
c3f808d3
KT
40422018-05-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4043
4044 * config/arm/libunwind.S: Update comment relating to armv5.
4045
fcf4f831
JL
40462018-05-17 Jerome Lambourg <lambourg@adacore.com>
4047
4048 * config/arm/cmse.c (cmse_check_address_range): Replace
4049 UINTPTR_MAX with __UINTPTR_MAX__ and uintptr_t with __UINTPTR_TYPE__.
4050
74b2bb19
OM
40512018-05-17 Olga Makhotina <olga.makhotina@intel.com>
4052
4053 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT_PLUS.
4054 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont Plus.
4055
50e461df
OM
40562018-05-08 Olga Makhotina <olga.makhotina@intel.com>
4057
4058 * config/i386/cpuinfo.h (processor_types): Add INTEL_GOLDMONT.
4059 * config/i386/cpuinfo.c (get_intel_cpu): Detect Goldmont.
4060
e5f1cdb1
AC
40612018-05-07 Amaan Cheval <amaan.cheval@gmail.com>
4062
4063 * config.host (x86_64-*-rtems*): Build crti.o and crtn.o.
4064
8f479d7a
AT
40652018-04-27 Andreas Tobler <andreast@gcc.gnu.org>
4066 Maryse Levavasseur <maryse.levavasseur@stormshield.eu>
4067
4068 PR libgcc/84292
4069 * config/arm/freebsd-atomic.c (SYNC_OP_AND_FETCH_N): Fix the
4070 op_and_fetch to return the right result.
4071
ae043291
AM
40722018-04-27 Alan Modra <amodra@gmail.com>
4073
4074 PR libgcc/85532
4075 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add
4076 -fno-asynchronous-unwind-tables.
4077
ba169b74
CJW
40782018-04-25 Chung-Ju Wu <jasonwucj@gmail.com>
4079
4080 * config/nds32/sfp-machine.h: Fix settings for NDS32_ABI_2FP_PLUS.
4081 * config/nds32/t-nds32-newlib (HOST_LIBGCC2_CFLAGS): Use -fwrapv.
4082
ffc2fc06
L
40832018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4084
4085 * config/i386/linux-unwind.h: Add (__CET__ & 2) != 0 check
4086 when including "config/i386/shadow-stack-unwind.h".
4087
7b47ecf2
L
40882018-04-24 H.J. Lu <hongjiu.lu@intel.com>
4089
4090 * configure: Regenerated.
4091
661eb8f9
MM
40922018-04-20 Michael Meissner <meissner@linux.ibm.com>
4093
4094 PR target/85456
4095 * config/rs6000/_powikf2.c: New file. Add support for the
4096 __builtin_powil function when long double is IEEE 128-bit floating
4097 point.
4098 * config/rs6000/float128-ifunc.c (__powikf2_resolve): Add
4099 __powikf2 support.
4100 (__powikf2): Likewise.
4101 * config/rs6000/quad-float128.h (__powikf2_sw): Likewise.
4102 (__powikf2_hw): Likewise.
4103 (__powikf2): Likewise.
4104 * config/rs6000/t-float128 (fp128_ppc_funcs): Likewise.
4105 * config/rs6000/t-float128-hw (fp128_hw_func): Likewise.
4106 (_powikf2-hw.c): Likewise.
4107
5707be3c
L
41082018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4109
4110 PR libgcc/85334
4111 * unwind-generic.h (_Unwind_Frames_Increment): New.
4112 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Increment):
4113 Likewise.
4114 * unwind.inc (_Unwind_RaiseException_Phase2): Increment frame
4115 count with _Unwind_Frames_Increment.
4116 (_Unwind_ForcedUnwind_Phase2): Likewise.
4117
5f9ca0b8
L
41182018-04-19 H.J. Lu <hongjiu.lu@intel.com>
4119
4120 PR libgcc/85379
4121 * config/i386/morestack.S (__stack_split_initialize): Add
4122 _CET_ENDBR.
4123
a0e1df88
JJ
41242018-04-19 Jakub Jelinek <jakub@redhat.com>
4125
4126 * configure: Regenerated.
4127
001ddaa8
DM
41282018-04-18 David Malcolm <dmalcolm@redhat.com>
4129
4130 PR jit/85384
4131 * configure: Regenerate.
4132
a57f99ba
JJ
41332018-04-16 Jakub Jelinek <jakub@redhat.com>
4134
4135 PR target/84945
4136 * config/i386/cpuinfo.c (set_feature): Wrap into do while (0) to avoid
4137 -Wdangling-else warnings. Mask shift counts to avoid
4138 -Wshift-count-negative and -Wshift-count-overflow false positives.
4139
4d47fe5a
RB
41402018-04-06 Ruslan Bukin <br@bsdpad.com>
4141
4142 * config.host (riscv*-*-freebsd*): Add RISC-V FreeBSD support.
4143
059cc8ac
L
41442018-03-29 H.J. Lu <hongjiu.lu@intel.com>
4145
4146 PR target/85100
4147 * config/i386/cpuinfo.c (XCR_XFEATURE_ENABLED_MASK): New.
4148 (XSTATE_FP): Likewise.
4149 (XSTATE_SSE): Likewise.
4150 (XSTATE_YMM): Likewise.
4151 (XSTATE_OPMASK): Likewise.
4152 (XSTATE_ZMM): Likewise.
4153 (XSTATE_HI_ZMM): Likewise.
4154 (XCR_AVX_ENABLED_MASK): Likewise.
4155 (XCR_AVX512F_ENABLED_MASK): Likewise.
4156 (get_available_features): Enable AVX and AVX512 features only
4157 if their states are supported by OSXSAVE.
4158
f2620385
IT
41592018-03-22 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4160
4161 PR target/85025
4162 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4163 Fix a typo, tmp => 255.
4164
ae6dca8c
JJ
41652018-03-20 Jakub Jelinek <jakub@redhat.com>
4166
4167 PR target/84945
4168 * config/i386/cpuinfo.h (__cpu_features2): Declare.
4169 * config/i386/cpuinfo.c (__cpu_features2): New variable for
4170 ifndef SHARED only.
4171 (set_feature): Define.
4172 (get_available_features): Use set_feature macro. Set __cpu_features2
4173 to the second word of features ifndef SHARED.
4174
c36b04c1
JK
41752018-03-15 Julia Koval <julia.koval@intel.com>
4176
4177 * config/i386/cpuinfo.c (get_available_features): Add
4178 FEATURE_AVX512VBMI2, FEATURE_GFNI, FEATURE_VPCLMULQDQ,
4179 FEATURE_AVX512VNNI, FEATURE_AVX512BITALG.
4180 * config/i386/cpuinfo.h (processor_features): Add FEATURE_AVX512VBMI2,
4181 FEATURE_GFNI, FEATURE_VPCLMULQDQ, FEATURE_AVX512VNNI,
4182 FEATURE_AVX512BITALG.
4183
79ab5364
JK
41842018-03-14 Julia Koval <julia.koval@intel.com>
4185
4186 * config/i386/cpuinfo.h (processor_subtypes): Split up icelake on
4187 icelake client and icelake server.
4188
66a00b11
JDA
41892018-03-06 John David Anglin <danglin@gcc.gnu.org>
4190
4191 * config/pa/fptr.c (_dl_read_access_allowed): New.
4192 (__canonicalize_funcptr_for_compare): Use it.
af8096fc 4193
ce579a4f
JJ
41942018-02-28 Jakub Jelinek <jakub@redhat.com>
4195
4196 PR debug/83917
4197 * configure.ac (AS_HIDDEN_DIRECTIVE): AC_DEFINE_UNQUOTED this to
4198 $asm_hidden_op if visibility ("hidden") attribute works.
4199 (HAVE_AS_CFI_SECTIONS): New AC_DEFINE.
4200 * config/i386/i386-asm.h: Don't include auto-host.h.
4201 (PACKAGE_VERSION, PACKAGE_NAME, PACKAGE_STRING, PACKAGE_TARNAME,
4202 PACKAGE_URL): Don't undefine.
4203 (USE_GAS_CFI_DIRECTIVES): Don't use nor define this macro, instead
4204 guard cfi_startproc only on ifdef __GCC_HAVE_DWARF2_CFI_ASM.
4205 (FN_HIDDEN): Change guard from #ifdef HAVE_GAS_HIDDEN to
4206 #ifdef AS_HIDDEN_DIRECTIVE, use AS_HIDDEN_DIRECTIVE macro in the
4207 definition instead of hardcoded .hidden.
4208 * config/i386/cygwin.S: Include i386-asm.h first before .cfi_sections
4209 directive. Use #ifdef HAVE_AS_CFI_SECTIONS rather than
4210 #ifdef HAVE_GAS_CFI_SECTIONS_DIRECTIVE to guard .cfi_sections.
4211 (USE_GAS_CFI_DIRECTIVES): Don't define.
4212 * configure: Regenerated.
4213 * config.in: Likewise.
4214
e5868319
JJ
42152018-02-26 Jakub Jelinek <jakub@redhat.com>
4216
4217 PR debug/83917
4218 * config/i386/i386-asm.h (PACKAGE_VERSION, PACKAGE_NAME,
4219 PACKAGE_STRING, PACKAGE_TARNAME, PACKAGE_URL): Undefine between
4220 inclusion of auto-target.h and auto-host.h.
4221 (USE_GAS_CFI_DIRECTIVES): Define if not defined already based on
4222 __GCC_HAVE_DWARF2_CFI_ASM.
4223 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4224 cfi_def_cfa_register, cfi_def_cfa, cfi_register, cfi_offset, cfi_push,
4225 cfi_pop): Define.
4226 * config/i386/cygwin.S: Don't include auto-host.h here, just
4227 define USE_GAS_CFI_DIRECTIVES to 1 or 0 and include i386-asm.h.
4228 (cfi_startproc, cfi_endproc, cfi_adjust_cfa_offset,
4229 cfi_def_cfa_register, cfi_register, cfi_push, cfi_pop): Remove.
4230 * config/i386/resms64fx.h: Add cfi_* directives.
4231 * config/i386/resms64x.h: Likewise.
4232
faef260e
MF
42332018-02-20 Max Filippov <jcmvbkbc@gmail.com>
4234
4235 * config/xtensa/ieee754-df.S (__adddf3_aux): Add
4236 .literal_position directive.
4237 * config/xtensa/ieee754-sf.S (__addsf3_aux): Likewise.
4238
14e335ed
IT
42392018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4240
4241 PR target/84148
4242 * configure: Regenerate.
4243
95df0433
IT
42442018-02-16 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4245
4246 PR target/84239
4247 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
4248 Include cetintrin.h not x86intrin.h.
4249
f8de876d
IT
42502018-02-08 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4251
4252 PR target/84239
95df0433 4253 * config/i386/shadow-stack-unwind.h (_Unwind_Frames_Extra):
f8de876d
IT
4254 Use new _get_ssp and _inc_ssp intrinsics.
4255
02da1e9c
JK
42562018-02-02 Julia Koval <julia.koval@intel.com>
4257
4258 * config/i386/cpuinfo.h (processor_subtypes): Add INTEL_COREI7_ICELAKE.
4259
048c6a9a
CZ
42602018-01-26 Claudiu Zissulescu <claziss@synopsys.com>
4261
4262 * config/arc/lib1funcs.S (__udivmodsi4): Use safe version for RF16
4263 option.
4264 (__divsi3): Use RF16 safe registers.
4265 (__modsi3): Likewise.
4266
0889f168
MF
42672018-01-23 Max Filippov <jcmvbkbc@gmail.com>
4268
4269 * config/xtensa/ieee754-df.S (__addsf3, __subsf3, __mulsf3)
4270 (__divsf3): Make NaN return value quiet.
4271 * config/xtensa/ieee754-sf.S (__adddf3, __subdf3, __muldf3)
4272 (__divdf3): Make NaN return value quiet.
4273
bc8b0d04
SP
42742018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4275
4276 * config/rl78/anddi3.S: New assembly file.
4277 * config/rl78/t-rl78: Added anddi3.S to LIB2ADD.
4278
99cc06ea
SP
42792018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4280
4281 * config/rl78/umindi3.S: New assembly file.
4282 * config/rl78/t-rl78: Added umindi3.S to LIB2ADD.
4283
6e9007a0
SP
42842018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
4285
4286 * config/rl78/smindi3.S: New assembly file.
4287 * config/rl78/t-rl78: Added smindi3.S to LIB2ADD.
4288
d975e494 42892018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4290
d975e494
SP
4291 * config/rl78/smaxdi3.S: New assembly file.
4292 * config/rl78/t-rl78: Added smaxdi3.S to LIB2ADD.
4293
6a18c146 42942018-01-22 Sebastian Perta <sebastian.perta@renesas.com>
af8096fc 4295
5dd16013
SP
4296 * config/rl78/umaxdi3.S: New assembly file.
4297 * config/rl78/t-rl78: Added umaxdi3.S to LIB2ADD.
af8096fc 4298
07baf4a5
JDA
42992018-01-21 John David Anglin <danglin@gcc.gnu.org>
4300
4301 PR lto/83452
4302 * config/pa/stublib.c (L_gnu_lto_v1): New stub definition.
4303 * config/pa/t-stublib (gnu_lto_v1-stub.o): Add make fragment.
af8096fc 4304
dbc3af4f
RS
43052018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
4306
4307 * config/aarch64/value-unwind.h (aarch64_vg): New function.
4308 (DWARF_LAZY_REGISTER_VALUE): Define.
4309 * unwind-dw2.c (_Unwind_GetGR): Use DWARF_LAZY_REGISTER_VALUE
4310 to provide a fallback register value.
4311
68df9882
MM
43122018-01-08 Michael Meissner <meissner@linux.vnet.ibm.com>
4313
4314 * config/rs6000/quad-float128.h (IBM128_TYPE): Explicitly use
4315 __ibm128, instead of trying to use long double.
4316 (CVT_FLOAT128_TO_IBM128): Use TFtype instead of __float128 to
4317 accomidate -mabi=ieeelongdouble multilibs.
4318 (CVT_IBM128_TO_FLOAT128): Likewise.
4319 * config/rs6000/ibm-ldouble.c (IBM128_TYPE): New macro to define
4320 the appropriate IBM extended double type.
4321 (__gcc_qadd): Change all occurances of long double to IBM128_TYPE.
4322 (__gcc_qsub): Likewise.
4323 (__gcc_qmul): Likewise.
4324 (__gcc_qdiv): Likewise.
4325 (pack_ldouble): Likewise.
4326 (__gcc_qneg): Likewise.
4327 (__gcc_qeq): Likewise.
4328 (__gcc_qne): Likewise.
4329 (__gcc_qge): Likewise.
4330 (__gcc_qle): Likewise.
4331 (__gcc_stoq): Likewise.
4332 (__gcc_dtoq): Likewise.
4333 (__gcc_itoq): Likewise.
4334 (__gcc_utoq): Likewise.
4335 (__gcc_qunord): Likewise.
4336 * config/rs6000/_mulkc3.c (toplevel): Include soft-fp.h and
4337 quad-float128.h for the definitions.
4338 (COPYSIGN): Use the f128 version instead of the q version.
4339 (INFINITY): Likewise.
4340 (__mulkc3): Use TFmode/TCmode for float128 scalar/complex types.
4341 * config/rs6000/_divkc3.c (toplevel): Include soft-fp.h and
4342 quad-float128.h for the definitions.
4343 (COPYSIGN): Use the f128 version instead of the q version.
4344 (INFINITY): Likewise.
4345 (FABS): Likewise.
4346 (__divkc3): Use TFmode/TCmode for float128 scalar/complex types.
4347 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): Likewise.
4348 * config/rs6000/trunctfkf2-sw.c (__trunctfkf2_sw): Likewise.
4349
64b371b1
SH
43502018-01-05 Sebastian Huber <sebastian.huber@embedded-brains.de>
4351
4352 * config.host (epiphany-*-elf*): Add (epiphany-*-rtems*)
4353 configuration.
4354
85ec4feb
JJ
43552018-01-03 Jakub Jelinek <jakub@redhat.com>
4356
4357 Update copyright years.
4358
43592017-12-12 Kito Cheng <kito.cheng@gmail.com>
b8d7e076
KC
4360
4361 * config/riscv/t-elf: Use multi3.c instead of multi3.S.
4362 * config/riscv/multi3.c: New file.
4363 * config/riscv/multi3.S: Remove.
4364
3a4c600f
JW
43652017-12-08 Jim Wilson <jimw@sifive.com>
4366
4367 * config/riscv/div.S: Use FUNC_* macros.
4368 * config/riscv/muldi3.S, config/riscv/multi3.S: Likewise
4369 * config/riscv/save-restore.S: Likewise.
4370 * config/riscv/riscv-asm.h: New.
4371
75ad35b5
MM
43722017-11-30 Michael Meissner <meissner@linux.vnet.ibm.com>
4373
6ae3512c
MM
4374 * config/rs6000/_mulkc3.c (__mulkc3): Add forward declaration.
4375 * config/rs6000/_divkc3.c (__divkc3): Likewise.
4376
75ad35b5
MM
4377 PR libgcc/83112
4378 * config/rs6000/float128-ifunc.c (__addkf3_resolve): Use the
4379 correct type for all ifunc resolvers to silence -Wattribute-alias
4380 warnings. Eliminate the forward declaration of the resolver
4381 functions which is no longer needed.
4382 (__subkf3_resolve): Likewise.
4383 (__mulkf3_resolve): Likewise.
4384 (__divkf3_resolve): Likewise.
4385 (__negkf2_resolve): Likewise.
4386 (__eqkf2_resolve): Likewise.
4387 (__nekf2_resolve): Likewise.
4388 (__gekf2_resolve): Likewise.
4389 (__gtkf2_resolve): Likewise.
4390 (__lekf2_resolve): Likewise.
4391 (__ltkf2_resolve): Likewise.
4392 (__unordkf2_resolve): Likewise.
4393 (__extendsfkf2_resolve): Likewise.
4394 (__extenddfkf2_resolve): Likewise.
4395 (__trunckfsf2_resolve): Likewise.
4396 (__trunckfdf2_resolve): Likewise.
4397 (__fixkfsi_resolve): Likewise.
4398 (__fixkfdi_resolve): Likewise.
4399 (__fixunskfsi_resolve): Likewise.
4400 (__fixunskfdi_resolve): Likewise.
4401 (__floatsikf_resolve): Likewise.
4402 (__floatdikf_resolve): Likewise.
4403 (__floatunsikf_resolve): Likewise.
4404 (__floatundikf_resolve): Likewise.
4405 (__extendkftf2_resolve): Likewise.
4406 (__trunctfkf2_resolve): Likewise.
4407
4408 PR libgcc/83103
4409 * config/rs6000/quad-float128.h (TF): Don't define if long double
4410 is IEEE 128-bit floating point.
4411 (TCtype): Define as either TCmode or KCmode, depending on whether
4412 long double is IEEE 128-bit floating point.
4413 (__mulkc3_sw): Add declarations for software/hardware versions of
4414 complex multiply/divide.
4415 (__divkc3_sw): Likewise.
4416 (__mulkc3_hw): Likewise.
4417 (__divkc3_hw): Likewise.
4418 * config/rs6000/_mulkc3.c (_mulkc3): If we are building ifunc
4419 handlers to switch between using software emulation and hardware
4420 float128 instructions, build the complex multiply/divide functions
4421 for both software and hardware support.
4422 * config/rs6000/_divkc3.c (_divkc3): Likewise.
4423 * config/rs6000/float128-ifunc.c (__mulkc3_resolve): Likewise.
4424 (__divkc3_resolve): Likewise.
4425 (__mulkc3): Likewise.
4426 (__divkc3): Likewise.
4427 * config/rs6000/t-float128-hw (fp128_hardfp_src): Likewise.
4428 (fp128_hw_src): Likewise.
4429 (fp128_hw_static_obj): Likewise.
4430 (fp128_hw_shared_obj): Likewise.
4431 (_mulkc3-hw.c): Create _mulkc3-hw.c and _divkc3-hw.c from
4432 _mulkc3.c and _divkc3.c, changing the function name.
4433 (_divkc3-hw.c): Likewise.
4434 * config/rs6000/t-float128 (clean-float128): Delete _mulkc3-hw.c
4435 and _divkc3-hw.c.
4436
c234d831
UB
44372017-11-26 Julia Koval <julia.koval@intel.com>
4438
4439 * config/i386/cpuinfo.c (get_intel_cpu): Handle cannonlake.
4440 * config/i386/cpuinfo.h (processor_subtypes): Add
4441 INTEL_COREI7_CANNONLAKE.
4442
1ebafce0
IT
44432017-11-20 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4444
4445 PR bootstrap/83015
4446 * config/cr16/unwind-cr16.c (uw_install_context): Add FRAMES
4447 parameter.
4448 * config/xtensa/unwind-dw2-xtensa.c: Likewise
4449 * config/ia64/unwind-ia64.c: Add frames parameter.
4450 * unwind-sjlj.c: Likewise.
4451
6a10fff4
IT
44522017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4453
4454 * config/i386/linux-unwind.h: Include
4455 config/i386/shadow-stack-unwind.h.
4456 * config/i386/shadow-stack-unwind.h: New file.
4457 * unwind-dw2.c: (uw_install_context): Add a frame parameter and
4458 pass it to _Unwind_Frames_Extra.
4459 * unwind-generic.h (_Unwind_Frames_Extra): New.
4460 * unwind.inc (_Unwind_RaiseException_Phase2): Add frames_p
4461 parameter. Add local variable frames to count number of frames.
4462 (_Unwind_ForcedUnwind_Phase2): Likewise.
4463 (_Unwind_RaiseException): Add local variable frames to count
4464 number of frames, pass it to _Unwind_RaiseException_Phase2 and
4465 uw_install_context.
4466 (_Unwind_ForcedUnwind): Likewise.
4467 (_Unwind_Resume): Likewise.
4468 (_Unwind_Resume_or_Rethrow): Likewise.
4469
1ecae1fc
IT
44702017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
4471
4472 * Makefile.in (configure_deps): Add $(srcdir)/../config/cet.m4.
4473 (CET_FLAGS): New.
4474 * config/i386/morestack.S: Include <cet.h>.
4475 (__morestack_large_model): Add _CET_ENDBR at function entrance.
4476 * config/i386/resms64.h: Include <cet.h>.
4477 * config/i386/resms64f.h: Likewise.
4478 * config/i386/resms64fx.h: Likewise.
4479 * config/i386/resms64x.h: Likewise.
4480 * config/i386/savms64.h: Likewise.
4481 * config/i386/savms64f.h: Likewise.
4482 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add $(CET_FLAGS).
4483 (CRTSTUFF_T_CFLAGS): Likewise.
4484 * configure.ac: Include ../config/cet.m4.
4485 Set and substitute CET_FLAGS.
4486 * configure: Regenerated.
4487
f021f1d3
RO
44882017-11-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
4489
4490 * config.host (*-*-solaris2*): Adapt comment for Solaris 12
4491 renaming.
4492 * config/sol2/crtpg.c (__start_crt_compiler): Likewise.
4493 * configure.ac (libgcc_cv_solaris_crts): Likewise.
4494 * configure: Regenerate.
4495
65f480c7
TV
44962017-11-07 Tom de Vries <tom@codesourcery.com>
4497
4498 * config/rs6000/aix-unwind.h (REGISTER_CFA_OFFSET_FOR): Remove semicolon
4499 after "do {} while (0)".
4500
2a321acb
TV
45012017-11-07 Tom de Vries <tom@codesourcery.com>
4502
4503 PR other/82784
4504 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Remove
4505 semicolon after "do {} while (0)".
4506 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4507 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4508 * config/mips/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4509 * config/rs6000/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Same.
4510
59fcf6c3
AT
45112017-11-04 Andreas Tobler <andreast@gcc.gnu.org>
4512
4513 PR libgcc/82635
4514 * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
4515 sysctl to determine whether we're in a trampoline.
4516 Keep the pattern matching method for systems without
4517 KERN_PROC_SIGTRAMP sysctl.
4518
b0c7ddf8
CM
45192017-11-03 Cupertino Miranda <cmiranda@synopsys.com>
4520 Vineet Gupta <vgupta@synopsys.com>
4521
4522 * config.host (arc*-*-linux*): Set md_unwind_header variable.
4523 * config/arc/linux-unwind-reg.def: New file.
4524 * config/arc/linux-unwind-reg.h: Likewise.
4525
5feee954
SP
45262017-10-23 Sebastian Perta <sebastian.perta@renesas.com>
4527
4528 * config/rl78/subdi3.S: New assembly file.
4529 * config/rl78/t-rl78: Added subdi3.S to LIB2ADD.
4530
a0bf6cf7
SP
45312017-10-13 Sebastian Perta <sebastian.perta@renesas.com>
4532
4533 * config/rl78/adddi3.S: New assembly file.
4534 * config/rl78/t-rl78: Added adddi3.S to LIB2ADD.
4535
e7176f75
JJ
45362017-10-13 Jakub Jelinek <jakub@redhat.com>
4537
4538 PR target/82274
4539 * libgcc2.c (__mulvDI3): If both operands have
4540 the same highpart of -1 and the topmost bit of lowpart is 0,
4541 multiplication overflows even if both lowparts are 0.
4542
db6601d2
JB
45432017-09-28 James Bowman <james.bowman@ftdichip.com>
4544
4545 * config/ft32/crti-hw.S: Add watchdog vector, FT930 IRQ support.
4546
938b6f1e
JM
45472017-09-26 Joseph Myers <joseph@codesourcery.com>
4548
4549 * config/microblaze/crti.S, config/microblaze/crtn.S,
4550 config/microblaze/divsi3.S, config/microblaze/moddi3.S,
4551 config/microblaze/modsi3.S, config/microblaze/muldi3_hard.S,
4552 config/microblaze/mulsi3.S,
4553 config/microblaze/stack_overflow_exit.S,
4554 config/microblaze/udivsi3.S, config/microblaze/umodsi3.S,
4555 config/pa/milli64.S: Add .note.GNU-stack section.
4556
89762a83
DS
45572017-09-23 Daniel Santos <daniel.santos@pobox.com>
4558
4559 * configure.ac: Add Check for HAVE_AS_AVX.
4560 * config.in: Regenerate.
4561 * configure: Likewise.
4562 * config/i386/i386-asm.h: Include auto-target.h from libgcc.
4563 (SSE_SAVE, SSE_RESTORE): Emit .byte sequence for !HAVE_AS_AVX.
4564 Correct out-of-date comments.
4565
cace2309
SP
45662017-09-20 Sebastian Peryt <sebastian.peryt@intel.com>
4567
4568 * config/i386/cpuinfo.h (processor_types): Add INTEL_KNM.
4569 * config/i386/cpuinfo.c (get_intel_cpu): Detect Knights Mill.
4570
3cb626e4
DS
45712017-09-17 Daniel Santos <daniel.santos@pobox.com>
4572
cace2309 4573 * config/i386/i386-asm.h (PASTE2): New macro.
3cb626e4
DS
4574 (ASMNAME): Modify to use PASTE2.
4575 (MS2SYSV_STUB_PREFIX): New macro for isa prefix.
4576 (MS2SYSV_STUB_BEGIN, MS2SYSV_STUB_END): New macros for stub headers.
cace2309 4577 * config/i386/resms64.S: Rename to a header file, use MS2SYSV_STUB_BEGIN
3cb626e4 4578 instead of HIDDEN_FUNC and MS2SYSV_STUB_END instead of FUNC_END.
cace2309
SP
4579 * config/i386/resms64f.S: Likewise.
4580 * config/i386/resms64fx.S: Likewise.
4581 * config/i386/resms64x.S: Likewise.
4582 * config/i386/savms64.S: Likewise.
4583 * config/i386/savms64f.S: Likewise.
4584 * config/i386/avx_resms64.S: New file that only defines a macro and
3cb626e4 4585 includes it's corresponding header file.
cace2309
SP
4586 * config/i386/avx_resms64f.S: Likewise.
4587 * config/i386/avx_resms64fx.S: Likewise.
4588 * config/i386/avx_resms64x.S: Likewise.
4589 * config/i386/avx_savms64.S: Likewise.
4590 * config/i386/avx_savms64f.S: Likewise.
4591 * config/i386/sse_resms64.S: Likewise.
4592 * config/i386/sse_resms64f.S: Likewise.
4593 * config/i386/sse_resms64fx.S: Likewise.
4594 * config/i386/sse_resms64x.S: Likewise.
4595 * config/i386/sse_savms64.S: Likewise.
4596 * config/i386/sse_savms64f.S: Likewise.
4597 * config/i386/t-msabi: Modified to add avx and sse versions of stubs.
3cb626e4 4598
2f19c491 45992017-09-01 Olivier Hainque <hainque@adacore.com>
2f19c491
OH
4600 * config.host (*-*-vxworks7): Widen scope to vxworks7*.
4601
611e7036
OH
46022017-08-31 Olivier Hainque <hainque@adacore.com>
4603
4604 * config.host (powerpc-wrs-vxworks|vxworksae|vxworksmils): Now
4605 match as powerpc-wrs-vxworks*.
4606
c8f34527
JY
46072017-08-07 Jonathan Yong <10walls@gmail.com>
4608
4609 * config.host (*-cygwin): Include file from mingw
4610 config/i386/enable-execute-stack-mingw32.c
4611
0b458d2b 46122017-08-01 Jerome Lambourg <lambourg@adacore.com>
92a285c1
ML
4613 Doug Rupp <rupp@adacore.com>
4614 Olivier Hainque <hainque@adacore.com>
0b458d2b
JL
4615
4616 * config.host (arm-wrs-vxworks*): Rework to handle arm-wrs-vxworks7
4617 as well as arm-wrs-vxworks.
4618 * config/arm/t-vxworks7: New file. Add unwind-arm-vxworks.c to
4619 LIB2ADDEH.
4620 * config/arm/unwind-arm-vxworks.c: New file. Provide dummy
4621 __exidx_start and __exidx_end for downloadable modules.
4622
4df612fa
OH
46232017-08-01 Olivier Hainque <hainque@adacore.com>
4624
4625 * config/t-vxworks (LIBGCC2_INCLUDES): Start with -I. after -nostdinc.
4626 * config/t-vxworks7: Likewise.
4627
5560e8c0
OH
46282017-08-01 Olivier Hainque <hainque@adacore.com>
4629
4630 * config/t-vxworks: Instead of redefining LIB2ADD,
4631 augment LIB2ADDEH with vxlib.c and vxlib-tls.c.
4632
16bab95a
SH
46332017-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
4634
4635 * config/rs6000/ibm-ldouble.c: Disable if defined __rtems__.
4636
9cbc07cc
DS
46372017-07-24 Daniel Santos <daniel.santos@pobox.com>
4638
4639 PR testsuite/80759
4640 * config.host: include i386/t-msabi for darwin and solaris.
4641 * config/i386/i386-asm.h
4642 (ELFFN): Rename to FN_TYPE.
4643 (FN_SIZE): New macro.
4644 (FN_HIDDEN): Likewise.
4645 (ASMNAME): Likewise.
4646 (FUNC_START): Rename to FUNC_BEGIN, use ASMNAME, replace .global with
4647 .globl.
4648 (HIDDEN_FUNC): Use ASMNAME and .globl instead of .global.
4649 (SSE_SAVE): Convert to cpp macro, hard-code offset (always 0x60).
4650 * config/i386/resms64.S: Use SSE_SAVE as cpp macro instead of gas
4651 .macro.
4652 * config/i386/resms64f.S: Likewise.
4653 * config/i386/resms64fx.S: Likewise.
4654 * config/i386/resms64x.S: Likewise.
4655 * config/i386/savms64.S: Likewise.
4656 * config/i386/savms64f.S: Likewise.
4657
de742204
JM
46582017-07-19 John Marino <gnugcc@marino.st>
4659
4660 * config/i386/dragonfly-unwind.h: Handle sigtramp relocation.
4661
3787ee47
MM
46622017-07-12 Michael Meissner <meissner@linux.vnet.ibm.com>
4663
4664 PR target/81193
4665 * configure.ac (PowerPC float128 hardware support): Test whether
4666 we can use __builtin_cpu_supports before enabling the ifunc
4667 handler.
4668 * configure: Regenerate.
4669
b1938888
VG
46702017-07-10 Vineet Gupta <vgupta@synopsys.com>
4671
4672 * config.host: Remove uclibc from arc target spec.
4673
bec75e53
KW
46742017-07-09 Krister Walfridsson <krister.walfridsson@gmail.com>
4675
4676 * config.host (*-*-netbsd*): Remove check for aout NetBSD releases.
4677
d4391a62
PB
46782017-07-07 Peter Bergner <bergner@vnet.ibm.com>
4679
4680 * config/rs6000/float128-ifunc.c: Don't include auxv.h.
4681 (have_ieee_hw_p): Delete function.
4682 (SW_OR_HW) Use __builtin_cpu_supports().
4683
9296dd9b
TP
46842017-07-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
4685
4686 * config/arm/lib1funcs.S: Defined __ARM_ARCH__ to 8 for ARMv8-R.
4687
b85a969e
OH
46882017-07-03 Olivier Hainque <hainque@adacore.com>
4689
d4391a62 4690 * config/t-vxworks7: New file, really.
b85a969e 4691
883312dc
JM
46922017-06-28 Joseph Myers <joseph@codesourcery.com>
4693
4694 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state),
4695 config/alpha/linux-unwind.h (alpha_fallback_frame_state),
4696 config/bfin/linux-unwind.h (bfin_fallback_frame_state),
4697 config/i386/linux-unwind.h (x86_64_fallback_frame_state,
4698 x86_fallback_frame_state), config/m68k/linux-unwind.h (struct
4699 uw_ucontext), config/nios2/linux-unwind.h (struct nios2_ucontext),
4700 config/pa/linux-unwind.h (pa32_fallback_frame_state),
4701 config/riscv/linux-unwind.h (riscv_fallback_frame_state),
4702 config/sh/linux-unwind.h (sh_fallback_frame_state),
4703 config/tilepro/linux-unwind.h (tile_fallback_frame_state),
4704 config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Use
4705 ucontext_t instead of struct ucontext.
4706
50567938
JL
47072017-06-27 Jerome Lambourg <lambourg@adacore.com>
4708
4709 * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
4710 (x86_64-wrs-vxworks7): Likewise.
4711
e4b0df93
OH
47122017-06-27 Olivier Hainque <hainque@adacore.com>
4713
4714 * config/t-vxworks7: New file.
4715 * config.host (*-*-vxworks7): Use it.
4716
60edf8bb
MT
47172017-06-22 Matt Turner <mattst88@gmail.com>
4718
4719 * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
4720 skylake case.
4721
a51a76e5
RB
47222017-06-21 Richard Biener <rguenther@suse.de>
4723
4724 PR gcov-profile/81080
4725 * configure.ac: Add AC_SYS_LARGEFILE.
4726 * libgcov.h: Include auto-target.h before tsystem.h to pick
4727 up _FILE_OFFSET_BITS which might differ for multilibs.
4728 * config.in: Regenerate.
4729 * configure: Likewise.
4730
f0cd49c5
RE
47312017-06-16 Richard Earnshaw <rearnsha@arm.com>
4732
4733 * config/arm/cmse_nonsecure_call.S: Explicitly set the FPU.
4734
4f751c54
ML
47352017-06-09 Martin Liska <mliska@suse.cz>
4736
4737 * libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
4738 Reset __gcov_indirect_call_callee to NULL.
4739
1ac644c8
OH
47402017-06-08 Olivier Hainque <hainque@adacore.com>
4741
4742 * config/t-vxworks (LIBGCC2_INCLUDES): Add path to wrn/coreip to
4743 the set of -I options, support for direct inclusions of net/uio.h
4744 by VxWorks header files via ioLib.h.
4745
d8b9cd27
TR
47462017-06-07 Tony Reix <tony.reix@atos.net>
4747 Matthieu Sarter <matthieu.sarter.external@atos.net>
4748 David Edelsohn <dje.gcc@gmail.com>
4749
92a285c1
ML
4750 * config/rs6000/aix-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Define
4751 unconditionally.
4752 (ucontext_for): Add 64-bit AIX 6.1, 7.1, 7.2 support. Add 32-bit
4753 AIX 7.2 support.
d8b9cd27 4754
38a75ccc
OH
47552017-06-02 Olivier Hainque <hainque@adacore.com>
4756
4757 * config/vxlib.c (__gthread_once): Add missing value to
4758 return statement.
4759
5b2edf53
OH
47602017-05-30 Olivier Hainque <hainque@adacore.com>
4761
4762 * config/t-vxworks (LIBGCC2_INCLUDES): Remove extraneous
4763 dollar sign before $(MULTIDIR).
4764
7d66e265
RH
47652017-05-26 Richard Henderson <rth@redhat.com>
4766
4767 PR libgcc/80037
4768 * config/alpha/t-alpha (CRTSTUFF_T_CFLAGS): New.
4769
78eca309
AT
47702017-05-17 Andreas Tobler <andreast@gcc.gnu.org>
4771
4772 * config/arm/unwind-arm.h: Make _Unwind_GetIP, _Unwind_GetIPInfo and
4773 _Unwind_SetIP available as functions for arm*-*-freebsd*.
4774 * config/arm/unwind-arm.c: Implement the above.
4775
c39d309a
AZ
47762017-05-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4777
4778 * config/sparc/lb1spc.S [__ELF__ && __linux__]: Emit .note.GNU-stack
4779 section for a non-executable stack.
4780
eac8c9f2
KW
47812017-05-14 Krister Walfridsson <krister.walfridsson@gmail.com>
4782
4783 PR target/80600
4784 * config.host (*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file.
4785
d6d4d770
DS
47862017-05-14 Daniel Santos <daniel.santos@pobox.com>
4787
4788 * config.host: Add i386/t-msabi to i386/t-linux file list.
4789 * config/i386/i386-asm.h: New file.
4790 * config/i386/resms64.S: New file.
4791 * config/i386/resms64f.S: New file.
4792 * config/i386/resms64fx.S: New file.
4793 * config/i386/resms64x.S: New file.
4794 * config/i386/savms64.S: New file.
4795 * config/i386/savms64f.S: New file.
4796 * config/i386/t-msabi: New file.
4797
8ef2b9a7
AT
47982017-05-09 Andreas Tobler <andreast@gcc.gnu.org>
4799
4800 * config.host: Use the generic FreeBSD t-slibgcc-elf-ver for
4801 arm*-*-freebsd* instead of the t-slibgcc-libgcc.
4802
7ab8766a
JC
48032017-05-05 Joshua Conner <joshconner@google.com>
4804
4805 * config/arm/unwind-arm.h (_Unwind_decode_typeinfo_ptr): Use
4806 pc-relative indirect handling for fuchsia.
4807 * config/t-slibgcc-fuchsia: New file.
4808 * config.host (*-*-fuchsia*, aarch64*-*-fuchsia*, arm*-*-fuchsia*,
d6d4d770 4809 x86_64-*-fuchsia*): Add definitions.
7ab8766a 4810
46928a8f
ML
48112017-04-19 Martin Liska <mliska@suse.cz>
4812
4813 PR gcov-profile/80435
4814 * Makefile.in: Install gcov.h.
4815 * gcov.h: New file.
4816 * libgcov.h: Use the header and make __gcov_flush publicly
4817 visible.
4818
63971184
ML
48192017-04-18 Martin Liska <mliska@suse.cz>
4820
4821 PR gcov-profile/78783
4822 * libgcov-driver.c (gcov_get_filename): New function.
4823
29d8aae6
JL
48242017-04-07 Jeff Law <law@redhat.com>
4825
4826 * Makefile.in: Swap definition of LIBGCC_LINKS and inclusion of
4827 target makefile fragment.
4828 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Depend on LIBGCC_LINKS.
4829
2bdf7fc6
AM
48302017-04-07 Alan Modra <amodra@gmail.com>
4831
4832 PR target/45053
4833 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2.
4834
5764ee3c
JW
48352017-04-03 Jonathan Wakely <jwakely@redhat.com>
4836
4837 * config/c6x/pr-support.c (__gnu_unwind_execute): Fix typo in comment.
4838
c4192ad7
CZ
48392017-03-27 Claudiu Zissulescu <claziss@synopsys.com>
4840
4841 * config/arc/ieee-754/divdf3.S (__divdf3): Use __ARCEM__.
4842
4ccfdb28
JM
48432017-03-10 John Marino <gnugcc@marino.st>
4844
4845 * config/aarch64/freebsd-unwind.h: New file.
4846 * config.host: Add aarch64-*-freebsd unwinder.
4847
4144e4e3
SB
48482017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4849
4850 * config/rs6000/crtrestvr.s: Use .machine altivec.
4851 * config/rs6000/crtsavevr.s: Ditto.
4852
7502c597
SB
48532017-03-10 Segher Boessenkool <segher@kernel.crashing.org>
4854
4855 * configure.ac (test for libgcc_cv_powerpc_float128): Temporarily
4856 modify CFLAGS. Add -mabi=altivec -mvsx -mfloat128.
4857 (test for libgcc_cv_powerpc_float128_hw): Add -mpower9-vector and
4858 -mfloat128-hardware to the CFLAGS. Fix syntax error in the C snippet.
4859 * configure: Regenerate.
4860 * config.in: Regenerate.
4861
db9f7f65
JY
48622017-03-02 Jonathan Yong <10walls@gmail.com>
4863
4864 * config/i386/gthr-win32.h: Define NOGDI before
4865 windows.h include to prevent w32api CC_NONE macro
4866 clash with libgfortran.
4867
126437c5
JY
48682017-03-02 Jonathan Yong <10walls@gmail.com>
4869
4870 * unwind-seh.c: Suppress warnings for RtlUnwindEx calls.
4871
31927af6
AP
48722017-02-16 Andrew Pinski <apinski@cavium.com>
4873
4874 * config/aarch64/value-unwind.h: New file.
4875 * config.host (aarch64*-*-*): Add aarch64/value-unwind.h
4876 to tm_file.
4877
0bd99911
PD
48782017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
4879
4880 * config.host: Add RISC-V tuples.
4881 * config/riscv/atomic.c: New file.
4882 * config/riscv/crti.S: Likewise.
4883 * config/riscv/crtn.S: Likewise.
4884 * config/riscv/div.S: Likewise.
4885 * config/riscv/linux-unwind.h: Likewise.
4886 * config/riscv/muldi3.S: Likewise.
4887 * config/riscv/multi3.S: Likewise.
4888 * config/riscv/save-restore.S: Likewise.
4889 * config/riscv/sfp-machine.h: Likewise.
4890 * config/riscv/t-elf: Likewise.
4891 * config/riscv/t-elf32: Likewise.
4892 * config/riscv/t-elf64: Likewise.
4893 * config/riscv/t-softfp32: Likewise.
4894 * config/riscv/t-softfp64: Likewise.
4895
a8c9ef2a
JJ
48962017-01-24 Jakub Jelinek <jakub@redhat.com>
4897
4898 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4899 /* FALLTHRU */ comments.
4900
c6c82710
GP
49012017-01-21 Gerald Pfeifer <gerald@pfeifer.com>
4902
4903 * config/i386/cygming-crtbegin.c (LIBGCJ_SONAME): No longer #define.
4904
a876231c
JW
49052017-01-20 Jiong Wang <jiong.wang@arm.com>
4906
4907 * config/aarch64/aarch64-unwind.h: Empty this file on ILP32.
4908 * unwind-dw2.c (execute_cfa_program): Only multiplexing
4909 DW_CFA_GNU_window_save for AArch64 and LP64.
4910
aa348be2
JW
49112017-01-20 Jiong Wang <jiong.wang@arm.com>
4912
4913 * config/aarch64/linux-unwind.h: Always include aarch64-unwind.h.
4914
5636faf2
JW
49152017-01-19 Jiong Wang <jiong.wang@arm.com>
4916
4917 * config/aarch64/aarch64-unwind.h: New file.
4918 (DWARF_REGNUM_AARCH64_RA_STATE): Define.
4919 (MD_POST_EXTRACT_ROOT_ADDR): New target marcro and define it on AArch64.
4920 (MD_POST_EXTRACT_FRAME_ADDR): Likewise.
4921 (MD_POST_FROB_EH_HANDLER_ADDR): Likewise.
4922 (MD_FROB_UPDATE_CONTEXT): Define it on AArch64.
4923 (aarch64_post_extract_frame_addr): New function.
4924 (aarch64_post_frob_eh_handler_addr): New function.
4925 (aarch64_frob_update_context): New function.
4926 * config/aarch64/linux-unwind.h: Include aarch64-unwind.h
4927 * config.host (aarch64*-*-elf, aarch64*-*-rtems*,
4928 aarch64*-*-freebsd*):
4929 Initialize md_unwind_header to include aarch64-unwind.h.
4930 * unwind-dw2.c (struct _Unwind_Context): Define "RA_A_SIGNED_BIT".
4931 (execute_cfa_program): Multiplex DW_CFA_GNU_window_save for
4932 __aarch64__.
4933 (uw_update_context): Honor MD_POST_EXTRACT_FRAME_ADDR.
4934 (uw_init_context_1): Honor MD_POST_EXTRACT_ROOT_ADDR.
4935 (uw_frob_return_addr): New function.
4936 (uw_install_context): Use uw_frob_return_addr.
4937
3c36aa6b
JJ
49382017-01-17 Jakub Jelinek <jakub@redhat.com>
4939
4940 PR other/79046
4941 * configure.ac: Add GCC_BASE_VER.
4942 * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4943 version from BASE-VER file.
4944 * configure: Regenerated.
4945
829afb8f
JS
49462017-01-13 Joe Seymour <joe.s@somniumtech.com>
4947
4948 * config/msp430/t-msp430 (libmul_none.a, libmul_16.a, libmul_32.a,
4949 libmul_f5.a): Filter archived prerequisites.
4950
79fc8ffe
AS
49512017-01-10 Andrew Senkevich <andrew.senkevich@intel.com>
4952
4953 * config/i386/cpuinfo.h (processor_features): Add
4954 FEATURE_AVX512VPOPCNTDQ.
4955 * config/i386/cpuinfo.c (get_available_features): Habdle new
4956 feature.
4957
fec5f4e0
JM
49582017-01-04 Joseph Myers <joseph@codesourcery.com>
4959
4960 * config/mips/sfp-machine.h (_FP_CHOOSENAN): Always preserve NaN
4961 payload if [__mips_nan2008].
4962
8f56cb51
AM
49632017-01-04 Alan Modra <amodra@gmail.com>
4964
4965 * Makefile.in (configure_deps): Update.
4966 * configure: Regenerate.
4967
cbe34bb5
JJ
49682017-01-01 Jakub Jelinek <jakub@redhat.com>
4969
4970 Update copyright years.
4971
ab955692
KW
49722016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
4973
4974 * config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
4975 * crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
4976 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
4977
de34320f
MK
49782016-12-17 Matthias Klose <doko@ubuntu.com>
4979
4980 * config/arc/gmon: Remove empty directory.
4981
e04ea1da
CZ
49822016-12-16 Claudiu Zissulescu <claziss@synopsys.com>
4983
4984 * config.host (arc*-*-linux-uclibc*): Remove libgmon, crtg, and
4985 crtgend.
4986 (arc*-*-elf*): Likewise.
4987 * config/arc/t-arc: Remove old gmon lib targets.
4988 * config/arc/crtg.S: Remove.
4989 * config/arc/crtgend.S: Likewise.
4990 * config/arc/gmon/atomic.h: Likewise.
4991 * config/arc/gmon/auxreg.h: Likewise.
4992 * config/arc/gmon/dcache_linesz.S: Likewise.
4993 * config/arc/gmon/gmon.c: Likewise.
4994 * config/arc/gmon/machine-gmon.h: Likewise.
4995 * config/arc/gmon/mcount.c: Likewise.
4996 * config/arc/gmon/prof-freq-stub.S: Likewise.
4997 * config/arc/gmon/prof-freq.c: Likewise.
4998 * config/arc/gmon/profil.S: Likewise.
4999 * config/arc/gmon/sys/gmon.h: Likewise.
5000 * config/arc/gmon/sys/gmon_out.h: Likewise.
5001 * config/arc/t-arc-newlib: Likewise.
5002 * config/arc/t-arc700-uClibc: Renamed to t-arc-uClibc.
5003
8ae1c2c1
GS
50042016-12-12 George Spelvin <linux@sciencehorizons.net>
5005
5006 * config/avr/lib1funcs.S (__ashrdi3): Fix typo from r243545.
5007
a5b947fa
GS
50082016-12-12 George Spelvin <linux@sciencehorizons.net>
5009
5010 * config/avr/lib1funcs.S (__ashldi3): Use __tmp_reg__ to restore
5011 R16 instead of push + pop.
5012 (__ashrdi3, __lshrdi3): Same. And use __zero_reg__ for signs.
5013
d6574dd1
KW
50142016-12-10 Krister Walfridsson <krister.walfridsson@gmail.com>
5015
5016 * config.host (i[34567]86-*-netbsdelf*): Add i386/t-crtstuff to
5017 tmake_file.
5018
62440b4f
CM
50192016-12-05 Cupertino Miranda <cmiranda@synopsys.com>
5020
5021 * config.host (arc*-*-linux-uclibc*): Use default extra
5022 objects. Include linux-android header.
5023 * config/arc/crti.S (_init): Declare symbol as function.
5024 (_fini): Likewise.
5025
31cfd832
TK
50262016-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
5027
5028 PR fortran/78379
5029 * config/i386/cpuinfo.c: Move denums for processor vendors,
5030 processor type, processor subtypes and declaration of
5031 struct __processor_model into
5032 * config/i386/cpuinfo.h: New header file.
5033
c92e08e3
AV
50342016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5035 Thomas Preud'homme <thomas.preudhomme@arm.com>
5036
5037 * config/arm/cmse_nonsecure_call.S: New.
5038 * config/arm/t-arm: Compile cmse_nonsecure_call.S
5039
de7b5723
AV
50402016-12-02 Andre Vieira <andre.simoesdiasvieira@arm.com>
5041 Thomas Preud'homme <thomas.preudhomme@arm.com>
5042
5043 * config/arm/t-arm (HAVE_CMSE): New.
5044 * config/arm/cmse.c: New.
5045
7a0d2bce
TP
50462016-11-28 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
5047
b3a5bff4
TP
5048 PR gcc/74748
5049 * libgcc/config/bfin/libgcc-glibc.ver, libgcc/config/bfin/t-linux:
5050 use generic linker version information on Blackfin.
5051
7a0d2bce
TP
5052 PR gcc/74748
5053 * libgcc/mkmap-symver.awk: add support for skip_underscore
5054
b410cf1d
IS
50552016-11-27 Iain Sandoe <iain@codesourcery.com>
5056 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5057
5058 PR target/67710
5059 * config/t-darwin: Default builds to 10.5 codegen.
5060
2e5f8203
JG
50612016-11-24 James Greenhalgh <james.greenhalgh@arm.com>
5062
5063 * config/aarch64/sfp-machine.h (_FP_NANFRAC_H): Define.
5064 (_FP_NANSIGN_H): Likewise.
5065 * config/aarch64/t-softfp (softfp_extensions): Add hftf.
5066 (softfp_truncations): Add tfhf.
5067 (softfp_extras): Add required conversion functions.
5068
bea64ca3
JG
50692016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5070 Matthew Wahab <matthew.wahab@arm.com>
5071
5072 * config/arm/fp16.c (binary64): New.
5073 (__gnu_d2h_internal): New.
5074 (__gnu_d2h_ieee): New.
5075 (__gnu_d2h_alternative): New.
5076
8630cadb
JG
50772016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5078 Matthew Wahab <matthew.wahab@arm.com>
5079
5080 * config/arm/fp16.c (struct format): New.
5081 (binary32): New.
5082 (__gnu_float2h_internal): New. Body moved from
5083 __gnu_f2h_internal and generalize.
5084 (_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
5085 Call it with binary32.
5086
5823ef23
JG
50872016-11-23 James Greenhalgh <james.greenhalgh@arm.com>
5088
5089 * soft-fp/extendhftf2.c: Update from glibc.
5090 * soft-fp/fixhfti.c: Likewise.
5091 * soft-fp/fixunshfti.c: Likewise.
5092 * soft-fp/floattihf.c: Likewise.
5093 * soft-fp/floatuntihf.c: Likewise.
5094 * soft-fp/half.h: Likewise.
5095 * soft-fp/trunctfhf2.c: Likewise.
5096
62a7df9f
MG
50972016-11-20 Marc Glisse <marc.glisse@inria.fr>
5098
5099 PR libgcc/77813
5100 * crtstuff.c (deregister_tm_clones, register_tm_clones): Hide
5101 __TMC_END__ behind a passthrough asm.
5102
7a384912
WL
51032016-11-18 Walter Lee <walt@tilera.com>
5104
62a7df9f 5105 * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc to tmake_file.
7a384912 5106
9775c1a5
L
51072016-11-17 Andrew Senkevich <andrew.senkevich@intel.com>
5108
5109 * config/i386/cpuinfo.c (processor_features): Add
5110 FEATURE_AVX5124VNNIW, FEATURE_AVX5124FMAPS.
5111
48c842ab
CZ
51122016-11-17 Claudiu Zissulescu <claziss@synopsys.com>
5113
5114 * config/arc/dp-hack.h (ARC_OPTFPE): Define.
5115 (__ARC_NORM__): Use instead ARC_OPTFPE.
5116 * config/arc/fp-hack.h: Likewise.
5117 * config/arc/lib1funcs.S (ARC_OPTFPE): Define.
5118 (__ARC_MPY__): Use it insetead of __ARC700__ and __HS__.
5119
5012919d
AM
51202016-11-16 Alexander Monakov <amonakov@ispras.ru>
5121
5122 * config/nvptx/crt0.c (__main): Setup __nvptx_stacks and __nvptx_uni.
5123 * config/nvptx/mgomp.c: New file.
5124 * config/nvptx/t-nvptx: Add mgomp.c
5125
00178b98
WB
51262016-11-16 Waldemar Brodkorb <wbx@openadk.org>
5127
5128 PR libgcc/68468
5129 * unwind-dw2-fde-dip.c: Fix build on FDPIC targets.
5130
d64af69f
CZ
51312016-11-15 Claudiu Zissulescu <claziss@synopsys.com>
5132
5133 * config/arc/lib1funcs.S (__mulsi3): Use feature defines instead
5134 of checking for cpus.
5135 (__umulsidi3, __umulsi3_highpart, __udivmodsi4, __divsi3)
5136 (__modsi3, __clzsi2): Likewise.
5137
9d8f95de
SN
51382016-11-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
5139
5140 * config.host (i[3456]86-*-musl*, x86_64-*-musl*): Use
5141 i386/t-cpuinfo-static instead of i386/t-cpuinfo.
5142 * config/i386/t-cpuinfo-static: New.
5143
7d29f8e3
ML
51442016-11-03 Martin Liska <mliska@suse.cz>
5145
5146 * libgcov-profiler.c (__gcov_time_profiler): Remove.
5147 (__gcov_time_profiler_atomic): Likewise.
5148
5de3e2d8
BE
51492016-11-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
5150
5151 PR libgcc/78067
5152 * libgcc2.c (__floatdisf, __floatdidf): Avoid undefined results from
5153 count_leading_zeros.
5154
18362447
UB
51552016-11-02 Uros Bizjak <ubizjak@gmail.com>
5156
5157 * Makefile.in (LIB2_DIVMOD_FUNCS): Add _divmoddi4.
5158 * libgcc2.c (__divmoddi4): New function.
5159 * libgcc2.h (__divmoddi4): Declare.
5160 * libgcc-std.ver.in (GCC_7.0.0): New. Add __PFX_divmoddi4
5161 and __PFX_divmodti4.
5162
33107571
FW
51632016-10-24 Florian Weimer <fweimer@redhat.com>
5164
5165 PR libgcc/78064
5166 * unwind-c.c: Include auto-target.h.
5167
4c6d7494
JDA
51682016-10-19 John David Anglin <danglin@gcc.gnu.org>
5169
18362447 5170 * config/pa/pa64-hpux-lib.h: New file.
4c6d7494
JDA
5171 (EH_FRAME_SECTION_NAME): Rename to __LIBGCC_EH_FRAME_SECTION_NAME__.
5172 (DTORS_SECTION_ASM_OP): Rename to __LIBGCC_DTORS_SECTION_ASM_OP__.
5173 * config.host (tm_file): Add pa/pa64-hpux-lib.h to tm_file on
5174 hppa*64*-*-hpux11*.
5175
2a26adf1
MF
51762016-10-18 Max Filippov <jcmvbkbc@gmail.com>
5177
5178 * config/xtensa/t-elf (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5179 definition.
5180 * config/xtensa/t-linux (LIB2ADDEH_XTENSA_UNWIND_DW2_FDE): New
5181 definition.
5182 * config/xtensa/t-windowed (LIB2ADDEH): Use
5183 LIB2ADDEH_XTENSA_UNWIND_DW2_FDE defined by either xtensa/t-elf
5184 or xtensa/t-linux.
5185
66192aa1
DKC
51862016-10-18 Ding-Kai Chen <dkchen@cadence.com>
5187
5188 * config/xtensa/ieee754-df.S (__recipdf2, __rsqrtdf2,
5189 __ieee754_sqrt): New functions.
5190 (__divdf3): Add implementation with new FPU instructions under
5191 #if XCHAL_HAVE_DFP_DIV.
5192 * config/xtensa/ieee754-sf.S (__recipsf2, __rsqrtsf2,
5193 __ieee754_sqrtf): New functions.
5194 (__divsf3): Add implementation with new FPU instructions under
5195 #if XCHAL_HAVE_FP_DIV.
5196 * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add _sqrtf, _recipsf2
5197 _rsqrtsf2, _sqrt, _recipdf2 and _rsqrtdf2.
5198
4d0cdd0c
TP
51992016-10-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
5200
5201 * libgcov-profiler.c: Replace MEMMODEL_* macros by their __ATOMIC_*
5202 equivalent.
5203 * config/tilepro/atomic.c: Likewise and stop casting model to
5204 enum memmodel.
5205
73f01cca
JM
52062016-10-10 Joseph Myers <joseph@codesourcery.com>
5207
5208 PR target/77586
5209 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64-hp-*vms*): Use
5210 soft-fp.
5211
b20e7532
AT
52122016-10-10 Andreas Tobler <andreast@gcc.gnu.org>
5213
5214 * config.host: Add support for aarch64-*-freebsd*.
5215
a786cec4
AS
52162016-10-05 Andreas Schwab <schwab@suse.de>
5217
5218 * config/ia64/crtbegin.S (__do_jv_register_classes): Remove.
5219 (.section .init_array): Don't call __do_jv_register_classes.
5220 (.section .init): Likewise.
5221
5a79befb
JJ
52222016-10-04 Jakub Jelinek <jakub@redhat.com>
5223
5224 * config/i386/cygming-crtbegin.c (_Jv_RegisterClasses): Remove.
5225 (__JCR_LIST__): Remove.
5226 (__gcc_register_frame): Don't attempt to _Jv_RegisterClasses.
5227 * config/i386/cygming-crtend.c (__JCR_END__): Remove.
5228 * config/ia64/crtbegin.S (__JCR_LIST__): Remove.
5229 * config/ia64/crtend.S (__JCR_END__): Remove.
5230 * crtstuff.c: Remove __LIBGCC_JCR_SECTION_NAME__ from preprocessor
5231 conditionals.
5232 (__JCR_LIST__, __JCR_END__): Remove.
5233 (frame_dummy): Don't attempt to _Jv_RegisterClasses.
5234 (__do_global_ctors_1): Likewise.
5235
e0ab3753
UB
52362015-09-28 Uros Bizjak <ubizjak@gmail.com>
5237
5238 * config/i386/cpuinfo.c (__get_cpuid_output): Remove.
5239 (__cpu_indicator_init): Call __get_cpuid, not __get_cpuid_output.
5240
8c9434c2
ML
52412016-09-27 Martin Liska <mliska@suse.cz>
5242
5243 PR gcov-profile/7970
5244 PR gcov-profile/16855
5245 PR gcov-profile/44779
5246 * libgcov-driver.c (__gcov_init): Do not register a atexit
5247 handler.
5248 (__gcov_exit): Rename from gcov_exit.
5249 * libgcov.h (__gcov_exit): Declare.
5250
56b653f1
ML
52512016-09-27 Martin Liska <mliska@suse.cz>
5252
5253 PR bootstrap/77749
5254 * Makefile.in: Remove _gcov_merge_delta.
5255 * libgcov-merge.c (void __gcov_merge_delta): Remove.
5256 * libgcov-util.c (__gcov_delta_counter_op): Remove.
5257 * libgcov.h: Remove declaration of __gcov_merge_delta.
5258
7e02fd1b
EB
52592016-09-21 Eric Botcazou <ebotcazou@adacore.com>
5260
5261 * configure.ac: Do not create links, only substitute the filenames.
5262 * configure: Regenerate.
5263 * Makefile.in: Assign the substitution results to variables.
5264 (LIBGCC_LINKS): Define.
5265 (enable-execute-stack.c): New rule.
5266 (unwind.h): Likewise.
5267 (md-unwind-support.h): Likewise.
5268 (sfp-machine.h): Likewise.
5269 (gthr-default.h): Likewise.
5270 Add $(LIBGCC_LINKS) to the prerequisites of all object files and
5271 unwind.h as prerequisite of install-unwind_h-forbuild.
5272
29991048
JJ
52732016-09-16 Jakub Jelinek <jakub@redhat.com>
5274
5275 PR libgcc/71744
5276 * unwind-dw2-fde.c (ATOMIC_FDE_FAST_PATH): Define if __register_frame*
5277 is not the primary registry and atomics are available.
5278 (any_objects_registered): New variable.
5279 (__register_frame_info_bases, __register_frame_info_table_bases):
5280 Atomically store 1 to any_objects_registered after registering first
5281 unwind info.
5282 (_Unwind_Find_FDE): Return early if any_objects_registered is 0.
5283
0abcd6cc
JG
52842016-09-09 James Greenhalgh <james.greenhalgh@arm.com>
5285
5286 PR target/63250
5287 * Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
5288 * libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
5289 (HFtype): Likewise.
5290 (HCtype): Likewise.
5291 (__divhc3): Likewise.
5292 (__mulhc3): Likewise.
5293 * libgcc2.c: Support _mulhc3 and _divhc3.
5294
d758aeb5
JM
52952016-09-07 Joseph Myers <joseph@codesourcery.com>
5296
5297 PR libgcc/77519
5298 * libgcc2.c (NOTRUNC): Invert settings.
5299
7fe76f6a
ML
53002016-09-06 Martin Liska <mliska@suse.cz>
5301
5302 PR gcov-profile/77378
5303 PR gcov-profile/77466
5304 * libgcov-profiler.c: Use __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{4,8} to
5305 conditionaly enable/disable *_atomic functions.
5306
21184026
JM
53072016-08-26 Joseph Myers <joseph@codesourcery.com>
5308
5309 * config.host (i[34567]86-*-* | x86_64-*-*): Enable TFmode soft-fp
5310 where not already enabled.
5311
726f49c3
SN
53122016-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
5313
5314 * config/mips/linux-unwind.h: Use sys/syscall.h.
5315
feeb6268
JM
53162016-08-16 Joseph Myers <joseph@codesourcery.com>
5317
5318 PR libgcc/77265
5319 * soft-fp/adddf3.c: Update from glibc.
5320 * soft-fp/addsf3.c: Likewise.
5321 * soft-fp/addtf3.c: Likewise.
5322 * soft-fp/divdf3.c: Likewise.
5323 * soft-fp/divsf3.c: Likewise.
5324 * soft-fp/divtf3.c: Likewise.
5325 * soft-fp/double.h: Likewise.
5326 * soft-fp/eqdf2.c: Likewise.
5327 * soft-fp/eqsf2.c: Likewise.
5328 * soft-fp/eqtf2.c: Likewise.
5329 * soft-fp/extenddftf2.c: Likewise.
5330 * soft-fp/extended.h: Likewise.
5331 * soft-fp/extendsfdf2.c: Likewise.
5332 * soft-fp/extendsftf2.c: Likewise.
5333 * soft-fp/extendxftf2.c: Likewise.
5334 * soft-fp/fixdfdi.c: Likewise.
5335 * soft-fp/fixdfsi.c: Likewise.
5336 * soft-fp/fixdfti.c: Likewise.
5337 * soft-fp/fixsfdi.c: Likewise.
5338 * soft-fp/fixsfsi.c: Likewise.
5339 * soft-fp/fixsfti.c: Likewise.
5340 * soft-fp/fixtfdi.c: Likewise.
5341 * soft-fp/fixtfsi.c: Likewise.
5342 * soft-fp/fixtfti.c: Likewise.
5343 * soft-fp/fixunsdfdi.c: Likewise.
5344 * soft-fp/fixunsdfsi.c: Likewise.
5345 * soft-fp/fixunsdfti.c: Likewise.
5346 * soft-fp/fixunssfdi.c: Likewise.
5347 * soft-fp/fixunssfsi.c: Likewise.
5348 * soft-fp/fixunssfti.c: Likewise.
5349 * soft-fp/fixunstfdi.c: Likewise.
5350 * soft-fp/fixunstfsi.c: Likewise.
5351 * soft-fp/fixunstfti.c: Likewise.
5352 * soft-fp/floatdidf.c: Likewise.
5353 * soft-fp/floatdisf.c: Likewise.
5354 * soft-fp/floatditf.c: Likewise.
5355 * soft-fp/floatsidf.c: Likewise.
5356 * soft-fp/floatsisf.c: Likewise.
5357 * soft-fp/floatsitf.c: Likewise.
5358 * soft-fp/floattidf.c: Likewise.
5359 * soft-fp/floattisf.c: Likewise.
5360 * soft-fp/floattitf.c: Likewise.
5361 * soft-fp/floatundidf.c: Likewise.
5362 * soft-fp/floatundisf.c: Likewise.
5363 * soft-fp/floatunditf.c: Likewise.
5364 * soft-fp/floatunsidf.c: Likewise.
5365 * soft-fp/floatunsisf.c: Likewise.
5366 * soft-fp/floatunsitf.c: Likewise.
5367 * soft-fp/floatuntidf.c: Likewise.
5368 * soft-fp/floatuntisf.c: Likewise.
5369 * soft-fp/floatuntitf.c: Likewise.
5370 * soft-fp/gedf2.c: Likewise.
5371 * soft-fp/gesf2.c: Likewise.
5372 * soft-fp/getf2.c: Likewise.
5373 * soft-fp/ledf2.c: Likewise.
5374 * soft-fp/lesf2.c: Likewise.
5375 * soft-fp/letf2.c: Likewise.
5376 * soft-fp/muldf3.c: Likewise.
5377 * soft-fp/mulsf3.c: Likewise.
5378 * soft-fp/multf3.c: Likewise.
5379 * soft-fp/negdf2.c: Likewise.
5380 * soft-fp/negsf2.c: Likewise.
5381 * soft-fp/negtf2.c: Likewise.
5382 * soft-fp/op-1.h: Likewise.
5383 * soft-fp/op-2.h: Likewise.
5384 * soft-fp/op-4.h: Likewise.
5385 * soft-fp/op-8.h: Likewise.
5386 * soft-fp/op-common.h: Likewise.
5387 * soft-fp/quad.h: Likewise.
5388 * soft-fp/single.h: Likewise.
5389 * soft-fp/soft-fp.h: Likewise.
5390 * soft-fp/subdf3.c: Likewise.
5391 * soft-fp/subsf3.c: Likewise.
5392 * soft-fp/subtf3.c: Likewise.
5393 * soft-fp/truncdfsf2.c: Likewise.
5394 * soft-fp/trunctfdf2.c: Likewise.
5395 * soft-fp/trunctfsf2.c: Likewise.
5396 * soft-fp/trunctfxf2.c: Likewise.
5397 * soft-fp/unorddf2.c: Likewise.
5398 * soft-fp/unordsf2.c: Likewise.
5399 * soft-fp/unordtf2.c: Likewise.
5400
2e6fc1ac
GG
54012016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
5402
5403 PR gcov-profile/67097
5404 * libgcov-util.c (gcov_profile_merge): Skip missing files.
5405
a266236e
ML
54062016-08-10 Martin Liska <mliska@suse.cz>
5407
5408 PR gcov-profile/58306
5409 * Makefile.in: New functions (modules) are added.
5410 * libgcov-profiler.c (__gcov_interval_profiler_atomic): New
5411 function.
5412 (__gcov_pow2_profiler_atomic): New function.
5413 (__gcov_one_value_profiler_body): New argument is instroduced.
5414 (__gcov_one_value_profiler): Call with the new argument.
5415 (__gcov_one_value_profiler_atomic): Likewise.
5416 (__gcov_indirect_call_profiler_v2): Likewise.
5417 (__gcov_time_profiler_atomic): New function.
5418 (__gcov_average_profiler_atomic): Likewise.
5419 (__gcov_ior_profiler_atomic): Likewise.
5420 * libgcov.h: Declare the aforementioned functions.
5421
e0c8eebf
ML
54222016-08-09 Martin Liska <mliska@suse.cz>
5423
5424 * libgcov-util.c: Fix typo and GNU coding style.
5425
6dce6418
ML
54262016-08-09 Martin Liska <mliska@suse.cz>
5427
5428 * Makefile.in: Remove __gcov_indirect_call_profiler.
5429 * libgcov-profiler.c (__gcov_indirect_call_profiler): Remove
5430 function.
5431 * libgcov.h: And the declaration of the function.
5432
dcb1e137
ML
54332016-08-09 Martin Liska <mliska@suse.cz>
5434
5435 * libgcov-profiler.c (__gcov_pow2_profiler): Consider 0 as not
5436 power of two.
5437
d6e69705
BS
54382016-07-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5439
5440 * config/rs6000/_divkc3.c: Add copyright/license boilerplate.
5441 * config/rs6000/_mulkc3.c: Likewise.
5442
96aa1f95
GJL
54432016-07-29 Georg-Johann Lay <avr@gjlay.de>
5444
5445 * config/avr/lib1funcs.S (__muldi3) [have MUL]: No need to clear
5446 zero_reg as previous call to __umulhisi3 already cleared it.
5447
a1b01d34
AJ
54482016-07-21 Aurelien Jarno <aurelien@aurel32.net>
5449
5450 PR target/59833
5451 * config/arm/ieee754-df.S (extendsfdf2): Convert sNaN to qNaN.
5452
985a47b2
NC
54532016-07-19 Nick Clifton <nickc@redhat.com>
5454
5455 * config.host (m32r): Add m32r/t-m32r to tmake_file.
5456 Add crtinit.o and crtfini.o to extra_parts.
5457
f906f5ed
BS
54582016-07-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5459
5460 * config/rs6000/_divkc3.c: New.
5461 * config/rs6000/_mulkc3.c: New.
5462 * config/rs6000/quad-float128.h: Define TFtype; declare _mulkc3
5463 and _divkc3.
5464 * config/rs6000/t-float128: Add _mulkc3 and _divkc3 to
5465 fp128_ppc_funcs.
5466
82742404
HW
54672016-07-11 Hale Wang <hale.wang@arm.com>
5468 Andre Vieira <andre.simoesdiasvieira@arm.com>
5469
5470 * config/arm/lib1funcs.S: Add new wrapper.
5471
05a437c1
TP
54722016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5473
5474 * config/arm/lib1funcs.S (__ARM_ARCH__): Define to 8 for ARMv8-M.
5475
3d16d9ec
TP
54762016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5477
5478 * config/arm/lib1funcs.S (HAVE_ARM_CLZ): Define for ARMv6* or later
5479 and ARMv5t* rather than for a fixed list of architectures.
5480
6f493951
TP
54812016-07-07 Thomas Preud'homme <thomas.preudhomme@arm.com>
5482
5483 * config/arm/bpabi-v6m.S: Clarify what architectures is the
5484 implementation suitable for.
5485 * config/arm/lib1funcs.S (__prefer_thumb__): Define among other cases
5486 for all Thumb-1 only targets.
5487 (NOT_ISA_TARGET_32BIT): Define for Thumb-1 only targets.
5488 (THUMB_LDIV0): Test for NOT_ISA_TARGET_32BIT rather than
5489 __ARM_ARCH_6M__.
5490 (EQUIV): Likewise.
5491 (ARM_FUNC_ALIAS): Likewise.
5492 (umodsi3): Add check to __ARM_ARCH_ISA_THUMB != 1 to guard the idiv
5493 version.
5494 (modsi3): Likewise.
5495 (clzsi2): Test for NOT_ISA_TARGET_32BIT rather than __ARM_ARCH_6M__.
5496 (clzdi2): Likewise.
5497 (ctzsi2): Likewise.
5498 (L_interwork_call_via_rX): Test for __ARM_ARCH_ISA_ARM rather than
5499 __ARM_ARCH_6M__ in guard for checking whether it is defined.
5500 (final includes): Test for NOT_ISA_TARGET_32BIT rather than
5501 __ARM_ARCH_6M__ and add comment to indicate the connection between
5502 this condition and the one in gcc/config/arm/elf.h.
5503 * config/arm/libunwind.S: Test for __ARM_ARCH_ISA_THUMB and
5504 __ARM_ARCH_ISA_ARM rather than __ARM_ARCH_6M__.
5505 * config/arm/t-softfp: Likewise.
5506
1770511a
TS
55072016-07-06 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5508
5509 * libgcc2.c (SYMBOL__MAIN): Remove checks for
5510 CTOR_LISTS_DEFINED_EXTERNALLY.
5511
ba6be749
WL
55122016-06-28 Walter Lee <walt@tilera.com>
5513
5514 * config/tilepro/atomic.h: Do not include arch/spr_def.h and
5515 asm/unistd.h.
5516 (SPR_CMPEXCH_VALUE): Define for tilegx.
5517 (__NR_FAST_cmpxchg): Define for tilepro.
5518 (__NR_FAST_atomic_update): Define for tilepro.
5519 (__NR_FAST_cmpxchg64): Define for tilepro.
5520
a34c0db5
JS
55212016-06-23 Jakub Sejdak <jakub.sejdak@phoesys.com>
5522
18362447 5523 * config.host: Add suport for arm*-*-phoenix* targets.
a34c0db5 5524
0609abda
TS
55252016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5526
5527 * config.host: Remove support for mep-*.
5528 * config/mep/lib1funcs.S: Remove.
5529 * config/mep/lib2funcs.c: Remove.
5530 * config/mep/t-mep: Remove.
5531 * config/mep/tramp.c: Remove.
5532
3e326935
TS
55332016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5534
5535 * config.host: Remove support for avr-rtems.
5536 * config/avr/t-rtems: Remove.
5537
914b155c
TS
55382016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5539
5540 * config.host: Remove m32r-rtems support.
5541
5ebf89bd
TS
55422016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5543
5544 * config.host: Remove h8300-rtems support.
5545
8466af06
TS
55462016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5547
5548 * config.host: Remove support for knetbsd.
5549
d980e738
TS
55502016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5551
5552 * config.host: Remove support for openbsd 2 and 3.
5553
ee2499b4
TS
55542016-06-21 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5555
5556 * config.host: Remove interix support.
5557 * config/i386/t-interix: Remove.
5558
9f92937b
JDA
55592016-06-18 John David Anglin <danglin@gcc.gnu.org>
5560
5561 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Don't set
5562 least-significant bit in function pointer for fixup.
5563
0a0ec53d
AC
55642016-06-05 Aaron Conole <aconole@redhat.com>
5565 Nathan Sidwell <nathan@acm.org>
5566
5567 PR libgcc/71400
5568 * libgcov-driver-system.c (__gcov_error_file): Disable if IN_GCOV_TOOL.
5569 (get_gcov_error_file): Check __gcov_error_file before trying to
5570 initialize it.
5571 (gcov_error): Always use get_gcov_error_file.
5572
8aa5bdd6
AC
55732016-06-02 Aaron Conole <aconole@redhat.com>
5574
5575 * libgcov-driver-system.c (__gcov_error_file): New.
5576 (get_gcov_error_file): New.
5577 (gcov_error): Use and set __gcov_error_file.
5578 (gcov_error_exit): New.
5579 * libgcov-driver.c (gcov_exit): Call gcov_error_exit.
5580
40774faf
NS
55812016-05-26 Nathan Sidwell <nathan@acm.org>
5582
5583 * config/nvptx/free.asm: Delete.
5584 * config/nvptx/malloc.asm: Delete.
5585 * config/nvptx/realloc.c: Delete.
5586 * t-nvptx: Update.
5587
69a6d5ad
NS
55882016-05-25 Nathan Sidwell <nathan@acm.org>
5589
5590 * config/nvptx/crt0.s: Delete.
5591 * config/nvptx/crt0.c: New.
5592 * t-nvptx: Update.
5593
6befaff6
SL
55942016-05-19 Sandra Loosemore <sandra@codesourcery.com>
5595
385c7747 5596 * config.host [x86_64-*-cygwin*]: Handle tmake_eh_file for mixed
6befaff6
SL
5597 dw2/seh configuration.
5598 [x86_64-*-mingw*]: Likewise.
5599
ad251dfd
JS
56002016-05-10 Joel Sherrill <joel@rtems.org>
5601
5602 PR libgcc/70720
5603 * config.host (moxie-*-rtems*): Merge this stanza with other moxie
5604 targets so the same extra_parts are built. Also have tmake_file add
5605 on to its value rather than override.
5606
bc6d9014
OE
56072016-04-30 Oleg Endo <olegendo@gcc.gnu.org>
5608
5609 * config.host: Remove SH5 support.
5610 * configure: Likewise.
5611
9129c8cf
OE
56122016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
5613
5614 * config/sh/crt1.S: Remove SH5 support.
5615 * config/sh/crti.S: Likewise.
5616 * config/sh/crtn.S: Likewise.
5617 * config/sh/lib1funcs-4-300.S: Likewise.
5618 * config/sh/lib1funcs-Os-4-200.S: Likewise.
5619 * config/sh/lib1funcs.S: Likewise.
5620 * config/sh/linux-unwind.h: Likewise.
5621 * config/sh/t-sh64: Delete.
5622
39d50464
CZ
56232016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
5624
5625 * config/arc/ieee-754/eqdf2.S: Handle FPX NaN.
5626
8b48923b
CZ
56272016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
5628 Joern Rennecke <joern.rennecke@embecosm.com>
5629
5630 * config/arc/crttls.S: New file.
5631 * config/arc/t-arc: New rule.
5632 * config.host (arc*-*-elf*, arc*-*-linux*): Add crttls.o.
5633
2de1cf8c
NC
56342016-04-25 Nick Clifton <nickc@redhat.com>
5635
5636 * config/msp430/cmpd.c (__mspabi_cmpf): Add prototype.
5637 (__mspabi_cmpd): Likewise.
5638 * config/msp430/floathidf.c (__floathidf): Likewise.
5639 * config/msp430/floathisf.c (__floathisf): Likewise
5640 * config/msp430/floatunhidf.c (__floatunssidf): Likewise.
5641 * config/msp430/floatunhisf.c (__floatunshisf): Likewise.
5642 * config/msp430/lib2shift.c (__ashlsi3): Take a signed char as the
5643 second parameter.
5644 (__ashrsi3): Likewise.
5645
b8ce3fe2
WB
56462016-04-21 Waldemar Brodkorb <wbx@openadk.org>
5647
5648 * config/m68k/linux-atomic.c: Do not include unistd.h
5649
4986f823
MG
56502016-04-20 Martin Galvan <martin.galvan@tallertechnologies.com>
5651
5652 * config/arm/ieee754-df.S: Fix typos in comments.
5653
35fbda43
MM
56542016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
5655
5656 PR target/70381
5657 * configure.ac (powerpc*-*-linux*): Rework tests to build
5658 __float128 emulation routines to not depend on using #pragma GCC
5659 target to enable -mfloat128.
5660 * configure: Regnerate.
5661
72d1a48d
EB
56622016-04-04 Eric Botcazou <ebotcazou@adacore.com>
5663
5664 PR target/67172
5665 * libgcc2.c (L__main): Undefine __LIBGCC_EH_FRAME_SECTION_NAME__ if
5666 __MINGW32__ is defined.
5667
dc2e8995
JB
56682016-03-28 James Bowman <james.bowman@ftdichip.com>
5669
385c7747 5670 * libgcc/config/ft32/lib1funcs.S (*divsi3, *modsi3): New.
dc2e8995 5671
104cdaf1
MM
56722016-03-22 Michael Meissner <meissner@linux.vnet.ibm.com>
5673
5674 PR libgcc/70363
5675 * config/rs6000/extendkftf2-sw.c (__extendkftf2_sw): If libgcc was
5676 built with an assembler that does not support ISA 3.0
5677 instructions, rename __extendkftf2_sw to __extendkftf2.
5678
a5046f48
RO
56792016-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5680
5681 PR target/38239
5682 * config/sol2/gmon.c [__i386__] (_mcount): Save and restore
5683 call-clobbered registers.
5684 (internal_mcount): Remove __i386__ handling.
5685
df674f74
JS
56862016-02-26 Joel Sherrill <joel@rtems.org>
5687
5688 * config.host: Add x86_64-*-rtems*.
5689
7cb065d6
JS
56902016-02-26 Joel Sherrill <joel@rtems.org>
5691
5692 * libgcc/config.host: Add aarch64-*-rtems*.
5693
47dfdc53
PM
56942016-02-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5695 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5696
5697 * config/rs6000/sfp-machine.h (_FP_DECL_EX): Declare _fpsr as a
5698 union of u64 and double.
5699 (FP_TRAPPING_EXCEPTIONS): Return a bitmask of trapping exceptions.
5700 (FP_INIT_ROUNDMODE): Read the fpscr instead of writing a mystery
5701 value.
5702 (FP_ROUNDMODE): Update the usage of _fpscr.
5703
e6861a99
IV
57042016-02-25 Ilya Verbin <ilya.verbin@intel.com>
5705
5706 PR driver/68463
5707 * Makefile.in (crtoffloadtable$(objext)): New rule.
5708 * configure.ac (extra_parts): Add crtoffloadtable$(objext) if
5709 enable_offload_targets is not empty.
5710 * configure: Regenerate.
5711 * offloadstuff.c: Move __OFFLOAD_TABLE__ from crtoffloadend to
5712 crtoffloadtable.
5713
9bfcbdee
MF
57142016-02-17 Max Filippov <jcmvbkbc@gmail.com>
5715
5716 * config/xtensa/ieee754-df.S (__muldf3_aux, __divdf3_aux): Add
5717 .literal_position before the function.
5718 * config/xtensa/ieee754-sf.S (__mulsf3_aux, __divsf3_aux):
5719 Likewise.
5720
4cb4721f
MK
57212016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5722
5723 * config.host: Use t-stack and t-stack-s390 for s390*-*-linux.
5724 * config/s390/morestack.S: New file.
5725 * config/s390/t-stack-s390: New file.
5726 * generic-morestack.c (__splitstack_find): Add s390-specific code.
5727
b29d9a29
WL
57282016-02-12 Walter Lee <walt@tilera.com>
5729
5730 * config.host (tilegx*-*-linux*): remove ti from
5731 softfp_int_modes for 32-bit configs.
5732
03a0ae7d
ILT
57332016-02-10 Ian Lance Taylor <iant@google.com>
5734
5735 PR go/68562
5736 * config/i386/morestack.S (__stack_split_initialize): Align
5737 stack.
5738
68750bce
AT
57392016-02-03 Andreas Tobler <andreast@gcc.gnu.org>
5740
5741 PR bootstrap/69611
5742 * config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
5743 __FLOAT128__ to compile only for __float128 capable targets.
5744
7d296953
JJ
57452016-01-25 Jakub Jelinek <jakub@redhat.com>
5746
5747 PR target/69444
5748 * config/rs6000/sfp-machine.h: Fix a typo in #ifndef - __NO_FPRS__
5749 instead of ___NO_FPRS__.
5750
a71c0334 57512016-01-21 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5752 Steven Munroe <munroesj@linux.vnet.ibm.com>
5753 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
a71c0334
MM
5754
5755 * config/rs6000/float128-sed: New files to convert TF names to KF
5756 names for PowerPC IEEE 128-bit floating point support.
5757 * config/rs6000/float128-sed-hw: Likewise.
5758
5759 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5760 floating point hardware support.
5761
5762 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5763 128-bit floating point software emulation or use ISA 3.0 hardware
5764 support if it is available.
5765
5766 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5767 floating point.
5768
5769 * config/rs6000/extendkftf2-sw.c: New file, convert IEEE 128-bit
5770 floating point to IBM extended double.
5771
5772 * config/rs6000/trunctfkf2-sw.c: New file, convert IBM extended
5773 double to IEEE 128-bit floating point.
5774
5775 * config/rs6000/t-float128: New Makefile fragments to enable
5776 building __float128 emulation support.
5777 * config/rs6000/t-float128-hw: Likewise.
5778
5779 * config/rs6000/sfp-exceptions.c: New file to provide exception
5780 support for IEEE 128-bit floating point.
5781
5782 * config/rs6000/floattikf.c: New files for converting between IEEE
5783 128-bit floating point and signed/unsigned 128-bit integers.
5784 * config/rs6000/fixunskfti.c: Likewise.
5785 * config/rs6000/fixkfti.c: Likewise.
5786 * config/rs6000/floatuntikf.c: Likewise.
5787
5788 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5789 when building on 64-bit systems, or when VSX is enabled.
5790 (_FP_W_TYPE): Likewise.
5791 (_FP_WS_TYPE): Likewise.
5792 (_FP_I_TYPE): Likewise.
5793 (TItype): Define on 64-bit systems.
5794 (UTItype): Likewise.
5795 (TI_BITS): Likewise.
5796 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5797 (_FP_MUL_MEAT_Q): Likewise.
5798 (_FP_DIV_MEAT_D): Likewise.
5799 (_FP_DIV_MEAT_Q): Likewise.
5800 (_FP_NANFRAC_D): Likewise.
5801 (_FP_NANFRAC_Q): Likewise.
5802 (ISA_BIT): Add exception support if we are being compiled on a
5803 machine with hardware floating point support to build the IEEE
5804 128-bit emulation functions.
5805 (FP_EX_INVALID): Likewise.
5806 (FP_EX_OVERFLOW): Likewise.
5807 (FP_EX_UNDERFLOW): Likewise.
5808 (FP_EX_DIVZERO): Likewise.
5809 (FP_EX_INEXACT): Likewise.
5810 (FP_EX_ALL): Likewise.
5811 (__sfp_handle_exceptions): Likewise.
5812 (FP_HANDLE_EXCEPTIONS): Likewise.
5813 (FP_RND_NEAREST): Likewise.
5814 (FP_RND_ZERO): Likewise.
5815 (FP_RND_PINF): Likewise.
5816 (FP_RND_MINF): Likewise.
5817 (FP_RND_MASK): Likewise.
5818 (_FP_DECL_EX): Likewise.
5819 (FP_INIT_ROUNDMODE): Likewise.
5820 (FP_ROUNDMODE): Likewise.
5821
5822 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5823 VSX code, enable IEEE 128-bit floating point. If the compiler can
5824 compile IEEE 128-bit floating point code with ISA 3.0 IEEE 128-bit
5825 floating point hardware instructions and it supports declaring
5826 functions with the ifunc attribute, enable ifunc functions to
5827 switch between software and hardware support.
5828 * configure.ac (powerpc*-*-linux*): Likewise.
5829 * configure: Regenerate.
5830
bdc27e50
NC
58312016-01-15 Nick Clifton <nickc@redhat.com>
5832
5833 * config/msp430/t-msp430 (lib2_mul_none.o): Only use the first
5834 dependency as the source file to be compiled.
5835 (lib2_mul_16bit.o, lib2hw_mul_16.o, lib2hw_mul_32.o)
5836 (lib2hw_mul_f5.o): Likewise.
5837
006df05d
MM
58382016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
5839
5840 * libgcc/config/rs6000/extendkftf2-sw.c: Revert 2016-01-13 change.
5841 * libgcc/config/rs6000/fixkfti.c: Likewise.
5842 * libgcc/config/rs6000/fixunskfti.c: Likewise.
5843 * libgcc/config/rs6000/float128-hw.c: Likewise.
5844 * libgcc/config/rs6000/float128-ifunc.c: Likewise.
5845 * libgcc/config/rs6000/float128-sed: Likewise.
5846 * libgcc/config/rs6000/floattikf.c: Likewise.
5847 * libgcc/config/rs6000/floatuntikf.c: Likewise.
5848 * libgcc/config/rs6000/quad-float128.h: Likewise.
5849 * libgcc/config/rs6000/sfp-exceptions.c: Likewise.
5850 * libgcc/config/rs6000/sfp-machine.h: Likewise.
5851 * libgcc/config/rs6000/t-float128: Likewise.
5852 * libgcc/config/rs6000/t-float128-hw: Likewise.
5853 * libgcc/config/rs6000/trunctfkf2-sw.c: Likewise.
5854 * libgcc/config.host: Likewise.
5855 * libgcc/configure: Likewise.
5856 * libgcc/configure.ac: Likewise.
5857
29176d57 58582016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
7d296953
JJ
5859 Steven Munroe <munroesj@linux.vnet.ibm.com>
5860 Tulio Magno Quites Machado Filho <tulioqm@br.ibm.com>
29176d57
MM
5861
5862 * config/rs6000/sfp-exceptions.c: New file to provide exception
5863 support for IEEE 128-bit floating point.
5864
5865 * config/rs6000/float128-hw.c: New file for ISA 3.0 IEEE 128-bit
5866 floating point hardware support.
5867
5868 * config/rs6000/floattikf.c: New files for IEEE 128-bit floating
5869 point conversions.
5870 * config/rs6000/fixunskfti.c: Likewise.
5871 * config/rs6000/fixkfti.c: Likewise.
5872 * config/rs6000/floatuntikf.c: Likewise.
5873 * config/rs6000/extendkftf2-sw.c: Likewise.
5874 * config/rs6000/trunctfkf2-sw.c: Likewise.
5875
5876 * config/rs6000/float128-ifunc.c: New file to pick either IEEE
5877 128-bit floating point software emulation or use ISA 3.0 hardware
5878 support if it is available.
5879
5880 * config/rs6000/quad-float128.h: New file to support IEEE 128-bit
5881 floating point.
5882
5883 * config/rs6000/t-float128: New Makefile fragments to enable
5884 building __float128 emulation support.
5885 * config/rs6000/t-float128-hw: Likewise.
5886
5887 * config/rs6000/float128-sed: New file to convert TF names to KF
5888 names for PowerPC IEEE 128-bit floating point support.
5889
5890 * config/rs6000/sfp-machine.h (_FP_W_TYPE_SIZE): Use 64-bit types
5891 when building on 64-bit systems, or when VSX is enabled.
5892 (_FP_W_TYPE): Likewise.
5893 (_FP_WS_TYPE): Likewise.
5894 (_FP_I_TYPE): Likewise.
5895 (TItype): Define on 64-bit systems.
5896 (UTItype): Likewise.
5897 (TI_BITS): Likewise.
5898 (_FP_MUL_MEAT_D): Add support for using 64-bit types.
5899 (_FP_MUL_MEAT_Q): Likewise.
5900 (_FP_DIV_MEAT_D): Likewise.
5901 (_FP_DIV_MEAT_Q): Likewise.
5902 (_FP_NANFRAC_D): Likewise.
5903 (_FP_NANFRAC_Q): Likewise.
5904 (ISA_BIT): Add exception support if we are being compiled on a
5905 machine with hardware floating point support to build the IEEE
5906 128-bit emulation functions.
5907 (FP_EX_INVALID): Likewise.
5908 (FP_EX_OVERFLOW): Likewise.
5909 (FP_EX_UNDERFLOW): Likewise.
5910 (FP_EX_DIVZERO): Likewise.
5911 (FP_EX_INEXACT): Likewise.
5912 (FP_EX_ALL): Likewise.
5913 (__sfp_handle_exceptions): Likewise.
5914 (FP_HANDLE_EXCEPTIONS): Likewise.
5915 (FP_RND_NEAREST): Likewise.
5916 (FP_RND_ZERO): Likewise.
5917 (FP_RND_PINF): Likewise.
5918 (FP_RND_MINF): Likewise.
5919 (FP_RND_MASK): Likewise.
5920 (_FP_DECL_EX): Likewise.
5921 (FP_INIT_ROUNDMODE): Likewise.
5922 (FP_ROUNDMODE): Likewise.
5923
5924 * configure.ac (powerpc*-*-linux*): Check whether the PowerPC
5925 compiler can do __float128.
5926 * configure: Regenerate.
5927
5928 * libgcc/config.host (powerpc*-*-linux*): If compiler can compile
5929 VSX code, enable IEEE 128-bit floating point.
5930
a2218983
OH
59312016-01-05 Olivier Hainque <hainque@adacore.com>
5932
5933 * config/rs6000/aix-unwind.h (ucontext_for): Handle AIX 7.1
29176d57 5934 specificities.
a2218983 5935
818ab71a
JJ
59362016-01-04 Jakub Jelinek <jakub@redhat.com>
5937
5938 Update copyright years.
5939
5a6c8ffa
AP
59402015-12-18 Andris Pavenis <andris.pavenis@iki.fi>
5941
5942 * config.host: Add *-*-msdosdjgpp to lists of i[34567]86-*-*
29176d57 5943 soft-fp targets.
5a6c8ffa 5944
077067a5
BE
59452015-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
5946
5947 * unwind-generic.h (_Unwind_GetTextRelBase): Call __builtin_abort
5948 instead of abort to avoid dependency on stdlib.h.
5949
787c1027
JDA
59502015-12-09 John David Anglin <danglin@gcc.gnu.org>
5951
5952 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Remove code
5953 to initialize call to __dl_fixup once.
5954
04a9ae28
NC
59552015-12-04 Nick Clifton <nickc@redhat.com>
5956
5957 * config/msp430/mpy.c (__mulhi3): Use a faster algorithm.
5958 Allow for the second argument being negative.
5959 * config.host (extra_parts): Define for MSP430. Create separate
5960 libraries for each of the hardware multiply formats.
5961 * config/msp430/lib2hw_mul.S: Build only the multiply routines
5962 that are needed.
5963 * config/msp430/lib2mul.c: Likewise.
5964 * config/msp430/t-msp430 (LIB2ADD): Remove lib2hw_mul.S.
5965 Add rules to build hardware multiply libraries.
5966 * config/msp430/lib2divSI.c: (__mspabi_divlu): Alias for
5967 __mspabi_divul function.
5968 (__mspabi_divllu): New stub function.
5969
9a32d437
JDA
59702015-12-01 John David Anglin <danglin@gcc.gnu.org>
5971
5972 * config/pa/fptr.c (__canonicalize_funcptr_for_compare): Initialize
5973 fixup values if saved GOT address doesn't match runtime address.
5974 (fixup_branch_offset): Reorder list.
5975
e5ef217c
RO
59762015-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
5977
5978 * Makefile.in (VTV_CFLAGS): New variable.
5979 (vtv_start$(objext), vtv_end$(objext), vtv_end$(objext))
5980 (vtv_start_preinit$(objext), vtv_end_preinit$(objext)): Use it.
5981 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
5982 Add vtv_start.o, vtv_end.o, vtv_start_preinit.o, vtv_end_preinit.o
5983 to extra_parts if $enable_vtable_verify = yes.
5984
78cc43a2
SN
59852015-11-23 Szabolcs Nagy <szabolcs.nagy@arm.com>
5986
5987 PR target/68059
5988 * config/arm/linux-atomic-64bit.c (__write): Rename to...
5989 (write): ...this and fix the return type.
5990
9afebea2
DD
59912015-11-19 DJ Delorie <dj@redhat.com>
5992
5993 * config/msp430/lib2hw_mul.S: Fix alignment.
5994
33f47f42
NS
59952015-11-18 Nathan Sidwell <nathan@codesourcery.com>
5996
5997 * config/nvptx/reduction.c: New.
5998 * config/nvptx/t-nvptx (LIB2ADD): Add it.
5999
d9adb476
DE
60002015-11-15 David Edelsohn <dje.gcc@gmail.com>
6001
6002 * config/rs6000/on_exit.c: New file.
6003 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build on_exit.c.
6004 * config/rs6000/libgcc-aix-cxa.ver (on_exit): Add symbol to exports.
6005
c0ab1970
CZ
60062015-11-11 Claudiu Zissulescu <claziss@synopsys.com>
6007
6008 * config/arc/dp-hack.h: Add support for ARCHS.
6009 * config/arc/ieee-754/divdf3.S: Likewise.
6010 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
6011 * config/arc/ieee-754/muldf3.S: Likewise.
6012 * config/arc/ieee-754/mulsf3.S: Likewise
6013 * config/arc/lib1funcs.S: Likewise
6014 * config/arc/gmon/dcache_linesz.S: Don't read the build register
6015 for ARCv2 cores.
6016 * config/arc/gmon/profil.S (__profil, __profil_irq): Don't profile
6017 for ARCv2 cores.
6018 * config/arc/ieee-754/arc-ieee-754.h (MPYHU, MPYH): Define.
6019 * config/arc/t-arc700-uClibc: Remove hard selection for ARC 700
6020 cores.
6021
e6b6bf09
RO
60222015-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6023
6024 * config/ia64/crtbegin.S: Check HAVE_INITFINI_ARRAY_SUPPORT
6025 value.
6026 * config/ia64/crtend.S: Likewise.
6027
a153644f
TS
60282015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
6029
6030 * config/visium/lib2funcs.c (__set_trampoline_parity): Use
6031 __CHAR_BIT__ instead of BITS_PER_UNIT.
6032 * fixed-bit.h: Likewise.
6033 * fp-bit.h: Likewise.
6034 * libgcc2.c (__popcountSI2): Likewise.
6035 (__popcountDI2): Likewise.
6036 * libgcc2.h: Likewise.
6037 * libgcov.h: Likewise.
6038
3dee689d
DE
60392015-11-07 David Edelsohn <dje.gcc@gmail.com>
6040
6041 * config/rs6000/atexit.c: New file.
6042 * config/rs6000/t-aix-cxa (LIB2ADDEH): Build atexit.c.
6043 * config/rs6000/libgcc-aix-cxa.ver (atexit): Add symbol to exports.
6044 * config/rs6000/cxa_finalize.c
6045 (catomic_compare_and_exchange_bool_acq): Negate return value.
6046
2ef543e4
VK
60472015-10-30 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
6048
6049 * config/i386/cpuinfo.c (enum processor_types): Add AMDFAM17H.
6050 (processor_subtypes): Add znver1.
6051 (get_amd_cpu): Detect znver1.
6052
1300f017
CL
60532015-10-29 Christophe Lyon <christophe.lyon@linaro.org>
6054
6055 * config.host (arm*-*-eabi*, arm*-*-symbianelf*, arm*-*-rtems*):
6056 Include crtfastmath.o.
6057
3e5bb7ee
JR
60582015-10-23 Joern Rennecke <joern.rennecke@embecosm.com>
6059
6060 PR libgcc/66883
6061 * config/epiphany/udivsi3-float.c: Fix CONCISE test, and comment typo.
1300f017 6062
793aa938
KP
60632015-10-16 Kaushik Phatak <kaushik.phatak@kpit.com>
6064
6065 * config/rl78/divmodqi.S: Return 0x00 by default for div by 0.
6066 * config/rl78/divmodsi.S: Update return register to r8.
6067 * config/rl78/divmodhi.S: Update return register to r8,r9.
6068 Branch to main_loop_done_himode to pop registers before return.
6069
7d296953 60702015-10-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
fac812f0
VK
6071
6072 * config/i386/cpuinfo.c (get_amd_cpu): Detect bdver4.
6073 (__cpu_indicator_init): Fix model selection for AMD CPUs.
6074
6a192b5a
KY
60752015-10-05 Kirill Yukhin <kirill.yukhin@intel.com>
6076
6077 * config/i386/cpuinfo.c (get_intel_cpu): Detect "skylake-avx512".
6078
4a0a9457
MF
60792015-10-03 Max Filippov <jcmvbkbc@gmail.com>
6080
6081 * config.host (xtensa*-*-uclinux*): New configuration.
6082
ab91c076
KY
60832015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
6084
385c7747 6085 * config/i386/cpuinfo.c (processor_features): Add
ab91c076
KY
6086 FEATURE_AVX512VBMI and FEATURE_AVX512VBMI.
6087
30954527
JM
60882015-09-28 Joseph Myers <joseph@codesourcery.com>
6089
6090 * soft-fp/adddf3.c: Update from glibc.
6091 * soft-fp/addsf3.c: Likewise.
6092 * soft-fp/addtf3.c: Likewise.
6093 * soft-fp/divdf3.c: Likewise.
6094 * soft-fp/divsf3.c: Likewise.
6095 * soft-fp/divtf3.c: Likewise.
6096 * soft-fp/double.h: Likewise.
6097 * soft-fp/eqdf2.c: Likewise.
6098 * soft-fp/eqsf2.c: Likewise.
6099 * soft-fp/eqtf2.c: Likewise.
6100 * soft-fp/extenddftf2.c: Likewise.
6101 * soft-fp/extended.h: Likewise.
6102 * soft-fp/extendsfdf2.c: Likewise.
6103 * soft-fp/extendsftf2.c: Likewise.
6104 * soft-fp/extendxftf2.c: Likewise.
6105 * soft-fp/fixdfdi.c: Likewise.
6106 * soft-fp/fixdfsi.c: Likewise.
6107 * soft-fp/fixdfti.c: Likewise.
6108 * soft-fp/fixsfdi.c: Likewise.
6109 * soft-fp/fixsfsi.c: Likewise.
6110 * soft-fp/fixsfti.c: Likewise.
6111 * soft-fp/fixtfdi.c: Likewise.
6112 * soft-fp/fixtfsi.c: Likewise.
6113 * soft-fp/fixtfti.c: Likewise.
6114 * soft-fp/fixunsdfdi.c: Likewise.
6115 * soft-fp/fixunsdfsi.c: Likewise.
6116 * soft-fp/fixunsdfti.c: Likewise.
6117 * soft-fp/fixunssfdi.c: Likewise.
6118 * soft-fp/fixunssfsi.c: Likewise.
6119 * soft-fp/fixunssfti.c: Likewise.
6120 * soft-fp/fixunstfdi.c: Likewise.
6121 * soft-fp/fixunstfsi.c: Likewise.
6122 * soft-fp/fixunstfti.c: Likewise.
6123 * soft-fp/floatdidf.c: Likewise.
6124 * soft-fp/floatdisf.c: Likewise.
6125 * soft-fp/floatditf.c: Likewise.
6126 * soft-fp/floatsidf.c: Likewise.
6127 * soft-fp/floatsisf.c: Likewise.
6128 * soft-fp/floatsitf.c: Likewise.
6129 * soft-fp/floattidf.c: Likewise.
6130 * soft-fp/floattisf.c: Likewise.
6131 * soft-fp/floattitf.c: Likewise.
6132 * soft-fp/floatundidf.c: Likewise.
6133 * soft-fp/floatundisf.c: Likewise.
6134 * soft-fp/floatunditf.c: Likewise.
6135 * soft-fp/floatunsidf.c: Likewise.
6136 * soft-fp/floatunsisf.c: Likewise.
6137 * soft-fp/floatunsitf.c: Likewise.
6138 * soft-fp/floatuntidf.c: Likewise.
6139 * soft-fp/floatuntisf.c: Likewise.
6140 * soft-fp/floatuntitf.c: Likewise.
6141 * soft-fp/gedf2.c: Likewise.
6142 * soft-fp/gesf2.c: Likewise.
6143 * soft-fp/getf2.c: Likewise.
6144 * soft-fp/ledf2.c: Likewise.
6145 * soft-fp/lesf2.c: Likewise.
6146 * soft-fp/letf2.c: Likewise.
6147 * soft-fp/muldf3.c: Likewise.
6148 * soft-fp/mulsf3.c: Likewise.
6149 * soft-fp/multf3.c: Likewise.
6150 * soft-fp/negdf2.c: Likewise.
6151 * soft-fp/negsf2.c: Likewise.
6152 * soft-fp/negtf2.c: Likewise.
6153 * soft-fp/op-1.h: Likewise.
6154 * soft-fp/op-2.h: Likewise.
6155 * soft-fp/op-4.h: Likewise.
6156 * soft-fp/op-8.h: Likewise.
6157 * soft-fp/op-common.h: Likewise.
6158 * soft-fp/quad.h: Likewise.
6159 * soft-fp/single.h: Likewise.
6160 * soft-fp/soft-fp.h: Likewise.
6161 * soft-fp/subdf3.c: Likewise.
6162 * soft-fp/subsf3.c: Likewise.
6163 * soft-fp/subtf3.c: Likewise.
6164 * soft-fp/truncdfsf2.c: Likewise.
6165 * soft-fp/trunctfdf2.c: Likewise.
6166 * soft-fp/trunctfsf2.c: Likewise.
6167 * soft-fp/trunctfxf2.c: Likewise.
6168 * soft-fp/unorddf2.c: Likewise.
6169 * soft-fp/unordsf2.c: Likewise.
6170 * soft-fp/unordtf2.c: Likewise.
6171
4dfe21ac
RE
61722015-09-24 Richard Earnshaw <rearnsha@arm.com>
6173
6174 PR libgcc/67624
6175 * config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
6176
df2a1cc4
RO
61772015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6178
6179 * config.host (*-*-solaris2*): Add t-crtstuff-pic to tmake_file.
6180 Add crtbeginS.o, crtendS.o to extra_parts if libgcc_cv_solaris_crts.
6181 * config/sol2/gmon.c: (monstartup): Don't write trailing NUL of
6182 messages.
6183 (internal_mcount): Likewise.
6184 * config/sol2/t-sol2 (crtp.o, crtpg.o, gmon.o): Compile with
6185 crt_compile, add CRTSTUFF_T_CFLAGS_S.
6186
2d110442
RO
61872015-09-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6188
6189 * configure.ac (libgcc_cv_solaris_crts): New test.
6190 * configure: Regenerate.
6191 * config.in: Regenerate.
6192 * config/sol2/crtp.c, config/sol2/crtpg.c: New files.
6193 * config/gmon-sol2.c: Rename to ...
6194 * config/sol2/gmon.c: ... this.
6195 Include auto-target.h.
6196 (internal_mcount): Wrap setup handling in !HAVE_SOLARIS_CRTS.
6197 * config/t-sol2: Rename to ...
6198 * config/sol2/t-sol2: ... this.
6199 (gmon.o): Reflect renaming.
6200 (crtp.o, crtpg.o): New rules.
6201 * config.host (*-*-solaris2*): Reflect renaming.
6202 Use system CRTs if present.
6203 Remove default CRT case.
6204
d572e439
JDA
62052015-09-23 John David Anglin <danglin@gcc.gnu.org>
6206
6207 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Reorder error checks.
6208 (__sync_fetch_and_##OP##_##WIDTH): Change result to match type of
6209 __kernel_cmpxchg2.
6210 (__sync_##OP##_and_fetch_##WIDTH): Likewise.
6211 (__sync_val_compare_and_swap_##WIDTH): Likewise.
6212 (__sync_bool_compare_and_swap_##WIDTH): Likewise.
6213 (__sync_lock_test_and_set_##WIDTH): Likewise.
6214 (__sync_lock_release_##WIDTH): Likewise.
6215 (__sync_fetch_and_##OP##_4): Change result to match type of
6216 __kernel_cmpxchg.
6217 (__sync_##OP##_and_fetch_4): Likewise.
6218 (__sync_val_compare_and_swap_4): Likewise.
6219 (__sync_bool_compare_and_swap_4): likewise.
6220 (__sync_lock_test_and_set_4): Likewise.
6221 (__sync_lock_release_4): Likewise.
6222 (FETCH_AND_OP_2): Add long long variants.
6223 (OP_AND_FETCH_2): Likewise.
6224 (COMPARE_AND_SWAP_2 ): Likewise.
6225 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6226 (SYNC_LOCK_RELEASE_2): Likewise.
6227 (__sync_bool_compare_and_swap_##WIDTH): Correct return.
6228
7d296953 62292015-09-22 Kirill Yukhin <kirill.yukhin@intel.com>
06caf59d
KY
6230
6231 * libgcc/config/i386/cpuinfo.c (enum processor_features): Add
6232 FEATURE_AVX512VL, FEATURE_AVX512BW, FEATURE_AVX512DQ,
6233 FEATURE_AVX512CD, FEATURE_AVX512ER, FEATURE_AVX512PF.
6234 (get_available_features): Habdle new features.
6235
131314e1
JB
62362015-09-21 James Bowman <james.bowman@ftdichip.com>
6237
6238 * config/ft32/crti-hw.S: Use __PMSIZE to allow configurable
6239 memory layout. Deal correctly with BSS region larger than 32K.
6240 Handle a watchdog reset like a power-on reset. Clean up unused
6241 code.
6242
04218b35
AD
62432015-09-18 Andrew Dixie <andrewd@gentrack.com>
6244 David Edelsohn <dje.gcc@gmail.com>
6245
6246 * config.host (powerpc-ibm-aix*): Add crtdbase.o to extra_parts.
6247 * config/rs6000/crtdbase.S: New file.
6248 * config/rs6000/t-aix-cxa: Build crtdbase.o.
6249
c8338173
MF
62502015-09-15 Max Filippov <jcmvbkbc@gmail.com>
6251
6252 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state):
6253 Add support for call0 ABI.
6254
7a84bf71
JDA
62552015-09-13 John David Anglin <danglin@gcc.gnu.org>
6256
6257 * config/pa/fptr.c (SIGN_EXTEND): Cast -1 to unsigned.
6258
4efab402
SH
62592015-09-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
6260
6261 * config/gthr-rtems.h (__GTHREADS_CXX0X): New.
6262 (__GTHREAD_HAS_COND): Likewise.
6263 (__gthread_t): Likewise.
6264 (__gthread_cond_t): Likewise.
6265 (__gthread_time_t): Likewise.
6266 (__GTHREAD_MUTEX_INIT): Likewise.
6267 (__GTHREAD_RECURSIVE_MUTEX_INIT): Likewise.
6268 (__GTHREAD_COND_INIT): Likewise.
6269 (__GTHREAD_COND_INIT_FUNCTION): Likewise.
6270 (__GTHREAD_TIME_INIT): Likewise.
6271 (__gthread_create): Likewise.
6272 (__gthread_join): Likewise.
6273 (__gthread_detach): Likewise.
6274 (__gthread_equal): Likewise.
6275 (__gthread_self): Likewise.
6276 (__gthread_yield): Likewise.
6277 (__gthread_cond_broadcast): Likewise.
6278 (__gthread_cond_signal): Likewise.
6279 (__gthread_cond_wait): Likewise.
6280 (__gthread_cond_timedwait): Likewise.
6281 (__gthread_cond_wait_recursive): Likewise.
6282 (__gthread_cond_destroy): Likewise.
6283 (rtems_gxx_once): Delete.
6284 (rtems_gxx_key_create): Likewise.
6285 (rtems_gxx_key_delete): Likewise.
6286 (rtems_gxx_getspecific): Likewise.
6287 (rtems_gxx_setspecific): Likewise.
6288 (rtems_gxx_mutex_init): Likewise.
6289 (rtems_gxx_mutex_destroy): Likewise.
6290 (rtems_gxx_mutex_lock): Likewise.
6291 (rtems_gxx_mutex_trylock): Likewise.
6292 (rtems_gxx_mutex_unlock): Likewise.
6293 (rtems_gxx_recursive_mutex_init): Likewise.
6294 (rtems_gxx_recursive_mutex_lock): Likewise.
6295 (rtems_gxx_recursive_mutex_trylock): Likewise.
6296 (rtems_gxx_recursive_mutex_unlock): Likewise.
6297 (__GTHREAD_ONCE_INIT): Use <pthread.h> initializer.
6298 (__GTHREAD_MUTEX_INIT_FUNCTION): Use <pthread.h> function.
6299 (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Likewise.
6300 (__gthread_once): Likewise.
6301 (__gthread_key_create): Likewise.
6302 (__gthread_key_delete): Likewise.
6303 (__gthread_getspecific): Likewise.
6304 (__gthread_setspecific): Likewise.
6305 (__gthread_key_t): Use <pthread.h> type.
6306 (__gthread_once_t): Likewise
6307 (__gthread_mutex_t): Use <sys/lock.h> type.
6308 (__gthread_recursive_mutex_t): Likewise
6309 (__gthread_mutex_lock): Use <sys/lock.h> function.
6310 (__gthread_mutex_trylock): Likewise.
6311 (__gthread_mutex_timedlock): Likewise.
6312 (__gthread_mutex_unlock): Likewise.
6313 (__gthread_mutex_destroy): Likewise.
6314 (__gthread_recursive_mutex_lock): Likewise.
6315 (__gthread_recursive_mutex_trylock): Likewise.
6316 (__gthread_recursive_mutex_timedlock): Likewise.
6317 (__gthread_recursive_mutex_unlock): Likewise.
6318 (__gthread_recursive_mutex_destroy): Likewise.
6319
991995c4
MF
63202015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6321
6322 * config/xtensa/unwind-dw2-xtensa.c (_Unwind_GetCFA): Return
6323 context->sp instead of context->cfa.
6324
0e19db59
MF
63252015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6326
6327 * config/xtensa/t-windowed (LIB2ADDEH): Replace unwind-dw2-fde
6328 with unwind-dw2-fde-dip.
6329
b6ac5f62
MF
63302015-08-18 Max Filippov <jcmvbkbc@gmail.com>
6331
6332 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill): Use
6333 CALL12 followed by series of ENTRY to spill windowed registers.
6334 (__xtensa_nonlocal_goto): Call __xtensa_libgcc_window_spill
6335 instead of making linux spill syscall.
6336
3e0f3349
YR
63372015-08-14 Yuri Rumyantsev <ysrumyan@gmail.com>
6338
6339 * config/i386/cpuinfo.c (enum processor_subtypes): Add skylake.
6340 (get_intel_cpu): Likewise.
6341
51c728b1
L
63422015-08-12 H.J. Lu <hongjiu.lu@intel.com>
6343
6344 * config/i386/cpuinfo.c (processor_types): Add INTEL_KNL.
6345 (get_intel_cpu): Add Knights Landing support.
6346
aff4eeac
UB
63472015-08-11 Uros Bizjak <ubizjak@gmail.com>
6348
6349 PR target/66954
6350 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_PCLMUL.
6351 (get_available_features): Handle FEATURE_PCLMUL.
6352
736e56da
L
63532015-08-10 H.J. Lu <hongjiu.lu@intel.com>
6354
6355 * config/i386/cpuinfo.c (get_intel_cpu): Treat model == 0x4f as
6356 Broadwell.
6357
54d22142
UB
63582015-07-22 Uros Bizjak <ubizjak@gmail.com>
6359
6360 PR target/66954
6361 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_AES.
6362 (get_available_features): Handle FEATURE_AES.
6363
20ca17e4
CLT
63642015-07-22 Chung-Lin Tang <cltang@codesourcery.com>
6365
6366 * config/nios2/linux-atomic.c (<asm/unistd.h>): Remove #include.
6367 (EFAULT,EBUSY,ENOSYS): Delete unused #defines.
6368
ebe4a560
NS
63692015-07-17 Nathan Sidwell <nathan@codesourcery.com>
6370
6371 * offloadstuff.c: Constify host data.
6372
180744c0
JB
63732015-07-17 Jan Beulich <jbeulich@suse.com>
6374
6375 * config/t-softfp: Split up "else ifneq".
6376
a03c6ae3
SL
63772015-07-14 Sandra Loosemore <sandra@codesourcery.com>
6378 Cesar Philippidis <cesar@codesourcery.com>
6379 Chung-Lin Tang <cltang@codesourcery.com>
6380
6381 * config/nios2/tramp.c (MOVHI, ORI, JMP): Conditionalize
6382 for __nios2_arch__ level.
6383
73358db5
JM
63842015-07-13 John Marino <gnugcc@marino.st>
6385
6386 * config/i386/t-dragonfly: New.
6387
f9a12f7b
JDA
63882015-07-01 John David Anglin <danglin@gcc.gnu.org>
6389
6390 * config/pa/linux-atomic.c (__kernel_cmpxchg): Reorder arguments to
6391 better match light-weight syscall argument order.
6392 (__kernel_cmpxchg2): Likewise.
6393 Adjust callers.
6394
cb78b51c
L
63952015-06-30 H.J. Lu <hongjiu.lu@intel.com>
6396
6397 * config.host: Support i[34567]86-*-elfiamcu target.
6398 * config/t-softfp-sfdftf: New file.
6399 * config/i386/32/t-iamcu: Likewise.
6400 * configure: Regenerated.
6401
4fa0f9ea
JL
64022015-06-23 James Lemke <jwlemke@codesourcery.com>
6403
6404 libgcc/config/arm/
6405 * lib1funcs.S (aeabi_idiv0, aeabi_ldiv0): Add CFI entries.
6406
428b3812
L
64072015-05-27 H.J. Lu <hongjiu.lu@intel.com>
6408
6409 * Makefile.in (CRTSTUFF_CFLAGS): Add $(NO_PIE_CFLAGS).
6410
7d296953 64112015-05-27 John Marino <gnugcc@marino.st>
89c54dd3
JM
6412
6413 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Set
6414 md_unwind_header
6415 * config/i386/freebsd-unwind.h: New.
6416
9b789cc1
UB
64172015-05-22 Uros Bizjak <ubizjak@gmail.com>
6418
6419 * config.host (i[34567]-*-*, x86_64-*-*): Add t-crtfm instead of
6420 i386/t-crtfm to tmake_file.
6421 * config/i386/crtfastmath.c (set_fast_math_sse): New function.
6422 (set_fast_math): Use set_fast_math_sse for SSE targets.
6423 * config/i386/t-crtfm: Remove.
6424
3dafb220
AM
64252015-05-21 Alan Modra <amodra@gmail.com>
6426
6427 PR libgcc/66225
6428 * config/rs6000/morestack.S: Remove ".abiversion 1".
6429
0f0fd745
AM
64302015-05-20 Alan Modra <amodra@gmail.com>
6431
6432 * config/rs6000/morestack.S: New.
6433 * config/rs6000/t-stack-rs6000: New.
6434 * config.host (powerpc*-*-linux*): Add t-stack and t-stack-rs6000
6435 to tmake_file.
6436 * generic-morestack.c: Don't build for powerpc 32-bit.
6437
515ae71b
EB
64382015-05-19 Eric Botcazou <ebotcazou@adacore.com>
6439
6440 * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
6441 Remove useless endif/ifneq ($(enable_shared),yes) pair.
6442
36805406
JL
64432015-05-16 James Bowman <james.bowman@ftdichip.com>
6444
6445 * config.host: FT32 target added.
6446 * config/ft32/*: New files for FT32 target.
6447
ff935d0c
MG
64482015-05-15 Martin Galvan <martin.galvan@tallertechnologies.com>
6449
385c7747
UB
6450 * config/arm/lib1funcs.S (CFI_START_FUNCTION, CFI_END_FUNCTION):
6451 New macros.
6452 * config/arm/ieee754-df.S: Add CFI directives.
6453 * config/arm/ieee754-sf.S: Add CFI directives.
ff935d0c 6454
9b92a9f3
EB
64552015-05-13 Eric Botcazou <ebotcazou@adacore.com>
6456
6457 * configure.ac: Include config/sjlj.m4.
6458 Remove manual SJLJ check, add GCC_CHECK_SJLJ_EXCEPTIONS and adjust.
6459 * config.in: Regenerate.
6460 * configure: Likewise.
6461 * config.host: Replace enable_sjlj_exceptions by ac_cv_sjlj_exceptions.
6462
98b5dc61
UB
64632015-05-12 Uros Bizjak <ubizjak@gmail.com>
6464
6465 * libgcov-util.c: Add space between string literal and macro name.
6466
5a0ff57c
SL
64672015-05-06 Sandra Loosemore <sandra@codesourcery.com>
6468 Chris Jones <chrisj@nvidia.com>
6469 Joshua Conner <jconner@nvidia.com>
6470
6471 * config.host (arm*-*-linux*): Add support for crtfastmath.o.
6472 (arm*-*-uclinux*): Likewise.
6473 (arm*-*-eabi* | arm*-*-rtems*): Likewise.
6474 * config/arm/crtfastmath.c: New file.
6475
d28ad5d4
BS
64762014-04-29 Bernd Schmidt <bernds@codesourcery.com>
6477
6478 * Makefile.in (real_host_noncanonical): New variable.
6479 (libsubdir): Use it.
6480 * configure.ac (real_host_noncanonical): Compute. Remove special
6481 case for intelmicemul.
6482 * configure: Regenerate.
6483
cc86234f
UB
64842015-04-28 Uros Bizjak <ubizjak@gmail.com>
6485
6486 * config/frv/elf-lib.h: New file.
6487 (CRT_GET_RFIB_DATA): Move definition from gcc/config/frv/frv.h.
6488 * libgcc/config.host (frv-*elf, frv-*-*linux*): Add frv/elf-lib.h
6489 to tm_file.
6490
64912015-04-28 Uros Bizjak <ubizjak@gmail.com>
6492
6493 * config/frv/frvbengin.c: Do not include defaults.h
6494 * config/frv/frvend.c: Ditto.
6495
2f6bd6eb
YS
64962015-04-27 Yoshinori Sato <ysato@users.sourceforge.jp>
6497
6498 * config.host: Add h8300-*-linux
6499 * config/h8300/t-linux: New file.
6500 * config/h8300/lib1funs.s: Change symbol prefix.
6501 * config/h8300/sfp-machine.h: 64bit double support.
6502
15aa7b44
GR
65032015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
6504 Szabolcs Nagy <szabolcs.nagy@arm.com>
6505
6506 * unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME): Define it on
6507 Linux if target provides dl_iterate_phdr.
6508
abd0cdc9
L
65092015-04-17 H.J. Lu <hongjiu.lu@intel.com>
6510
6511 PR target/65612
6512 * config.host (tmake_file): Add t-slibgcc-libgcc for Linux/x86.
6513 * config/i386/cpuinfo.c (__cpu_model): Initialize.
6514 (__cpu_indicator_init@GCC_4.8.0): New.
6515 (__cpu_model@GCC_4.8.0): Likewise.
6516 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): Add
6517 -DUSE_ELF_SYMVER.
6518
72ed1126
NC
65192015-04-16 Nick Clifton <nickc@redhat.com>
6520
6521 * config/rl78/divmodhi.S: Add G14 and G13 versions of the __divhi3
6522 and __modhi3 functions.
6523 * config/rl78/divmodso.S: Add G14 and G13 versions of the
6524 __divsi3, __udivsi3, __modsi3 and __umodsi3 functions.
6525
d26b2237
CG
65262015-04-15 Chen Gang <gang.chen.5i5j@gmail.com>
6527
6528 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Use empty
6529 do-while loop as macro body to avoid warnings.
6530
cacf1f59
JJ
65312015-04-10 Jakub Jelinek <jakub@redhat.com>
6532 Iain Sandoe <iain@codesourcery.com>
6533
6534 PR target/65351
6535 * configure: Regenerate.
6536
e8a4ed3b
JJ
65372015-04-07 Jakub Jelinek <jakub@redhat.com>
6538 Iain Sandoe <iain@codesourcery.com>
6539
6540 PR target/65351
6541 * configure: Regenerate.
6542
0341335e
CLT
65432015-03-25 Chung-Lin Tang <cltang@codesourcery.com>
6544
6545 * config.host (nios2-*-linux*): Remove 'extra_parts' setting.
6546
590e2636 65472015-03-03 Max Filippov <jcmvbkbc@gmail.com>
0341335e 6548
590e2636
MF
6549 Implement call0 ABI for xtensa
6550 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
6551 __xtensa_nonlocal_goto): Don't compile for call0 ABI.
6552 (__xtensa_sync_caches): Only use entry and retw in windowed ABI,
6553 use ret in call0 ABI.
6554 * config/xtensa/t-windowed: New file.
6555 * libgcc/config/xtensa/t-xtensa (LIB2ADDEH): Move to t-windowed.
6556 * libgcc/configure: Regenerated.
6557 * libgcc/configure.ac: Check if xtensa target is configured for
6558 windowed ABI and thus needs to use custom unwind code.
6559
7727f8f2
JW
65602015-02-12 Jonathan Wakely <jwakely@redhat.com>
6561
6562 PR libgcc/64885
6563 * gthr-single.h: Use __unused__ attribute instead of unused.
6564 * config/gthr-vxworks.h: Likewise.
6565 * config/i386/gthr-win32.h: Likewise.
6566
0e4a0def
KT
65672015-02-27 Kai Tietz <ktietz@redhat.com>
6568
6569 PR target/65038
6570 * config.in: Regenerated.
6571 * configure: Likewise.
6572 * configure.ac (AC_HEADER_STDC): Added explicit.
6573 (AC_CHECK_HEADERS): Check for default headers plus
6574 for ftw.h header.
6575 * libgcov-util.c (gcov_read_profile_dir): Disable use
6576 of ftw-function, if header is not found.
6577 (ftw_read_file): Likewise.
6578
b6530d0a
TS
65792015-02-23 Thomas Schwinge <thomas@codesourcery.com>
6580
6581 PR target/65181
6582 * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
6583 -Dinhibit_libc.
6584
53cfb467
SL
65852015-02-17 Sandra Loosemore <sandra@codesourcery.com>
6586
6587 * config/arm/bpabi.S (test_div_by_zero): Make label names
6588 consistent between thumb2 and arm mode cases. Separate the
6589 signed comparison on the high word of the numerator from the
6590 unsigned comparison on the low word.
6591 * config/arm/bpabi-v6m.S (test_div_by_zero): Similarly separate
6592 signed comparison.
6593
77d10a1b
JM
65942015-02-17 Joseph Myers <joseph@codesourcery.com>
6595
6596 * config/nvptx/realloc.c: Include <stddef.h> instead of <stdlib.h>
6597 and <string.h>.
6598 (__nvptx_realloc): Call __builtin_memcpy instead of memcpy.
6599
98174188
RE
66002015-02-10 Rainer Emrich <rainer@emrich-ebersheim.de>
6601
6602 PR gcov-profile/61889
471274de 6603 * libgcov-driver-system.c: undefine clashing macro for mkdir.
98174188 6604
771bef14
NC
66052015-02-02 Nick Clifton <nickc@redhat.com>
6606
6607 * config/rl78/fpmath-sf.S (__rl78_int_pack_a_r8): Fix edge case
6608 rounding up the fraction.
6609
40702893
JDA
66102015-01-31 John David Anglin <danglin@gcc.gnu.org>
6611
6612 * config/pa/linux-atomic.c (__kernel_cmpxchg2): Change declaration of
6613 oldval and newval to const void *. Fix typo.
6614 (FETCH_AND_OP_2): Use __atomic_load_n to load value.
6615 (FETCH_AND_OP_WORD): Likewise.
6616 (OP_AND_FETCH_WORD): Likewise.
6617 (COMPARE_AND_SWAP_2): Likewise.
6618 (__sync_val_compare_and_swap_4): Likewise.
6619 (__sync_lock_test_and_set_4): Likewise.
6620 (SYNC_LOCK_RELEASE_2): Likewise.
6621 Remove support for long long atomic operations.
6622
f7f049fa
CT
66232015-01-27 Caroline Tice <cmtice@google.com>
6624
6625 Committing VTV Cywin/Ming patch for Patrick Wollgast
6626 * Makefile.in: Move rules to build vtv_*.o out of the check
6627 for CUSTOM_CRTSTUFF.
6628 * config.host (i[34567]86-*-cygwin*, x86_64-*-cygwin*,
6629 i[34567]86-*-mingw*)
3d3b561f 6630 (x86_64-*-mingw*): Only add vtv_*.o to extra_parts if
f7f049fa
CT
6631 enable_vtable_verify.
6632
8410904a
NC
66332015-01-27 Nick Clifton <nickc@redhat.com>
6634
6635 * config/rl78/cmpsi2.S: Use function start and end macros.
6636 (__gcc_bcmp): New function.
6637 * config/rl78/lshrsi3.S: Use function start and end macros.
6638 * config/rl78/mulsi3.S: Add support for G10.
6639 (__mulqi3): New function for G10.
6640 * config/rl78/signbit.S: Use function start and end macros.
6641 * config/rl78/t-rl78 (LIB2ADD): Add bit-count.S, fpbit-sf.S and
6642 fpmath-sf.S.
6643 (LIB2FUNCS_EXCLUDE): Define.
6644 (LIB2FUNCS_ST): Define.
6645 * config/rl78/trampoline.S: Use function start and end macros.
6646 * config/rl78/vregs.h (START_FUNC): New macro.
6647 (START_ANOTHER_FUNC): New macro.
6648 (END_FUNC): New macro.
6649 (END_ANOTHER_FUNC): New macro.
6650 * config/rl78/bit-count.S: New file. Contains assembler
6651 implementations of the bit counting functions: ___clzhi2,
6652 __clzsi2, ctzhi2, ctzsi2, ffshi2, ffssi2, __partityhi2,
6653 __paritysi2, __popcounthi2 and __popcountsi2.
6654 * config/rl78/fpbit-sf.S: New file. Contains assembler
6655 implementationas of the math functions: __negsf2, __cmpsf2,
6656 __eqsf2, __nesf2, __lesf2, __ltsf2, __gesf2, gtsf2, __unordsf2,
6657 __fixsfsi, __fixunssfsi, __floatsisf and __floatunssisf.
6658 * config/rl78/fpmath-sf.S: New file. Contains assembler
6659 implementations of the math functions: __subsf3, __addsf3,
6660 __mulsf3 and __divsf3
6661
f962fbf1
RO
66622015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
6663
6664 * config.host (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*):
6665 Add i386/elf-lib.h to tm_file.
6666 * config/i386/elf-lib.h: Fix comment.
6667 * unwind-dw2-fde-dip.c (_Unwind_IteratePhdrCallback) [__x86_64__
6668 && __sun__ && __svr4__]: Remove workaround.
6669
939911c5
ASJ
66702015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
6671
6672 * config/i386/cpuinfo.c (enum processor_features): Add FEATURE_BMI and
6673 FEATURE_BMI2.
6674 (get_available_features): Detect FEATURE_BMI and FEATURE_BMI2.
6675
c8f2dff2
L
66762015-01-24 H.J. Lu <hongjiu.lu@intel.com>
6677
6678 * config/i386/cpuinfo.c (processor_subtypes): Add
6679 INTEL_COREI7_BROADWELL.
6680 (get_intel_cpu): Support new Silvermont, Haswell and Broadwell
6681 model numbers.
6682
7bbf9734
UB
66832015-01-23 Uros Bizjak <ubizjak@gmail.com>
6684
6685 * config/i386/elf-lib.h: New file.
6686 (CRT_GET_RFIB_DATA): Move definition from gcc/config/i386/gnu-user.h.
6687 Wrap definition in #ifdef __i386__.
6688 * libgcc/config.host (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu)
6689 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*)
6690 (i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux*)
6691 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Add i386/elf-lib.h
6692 to tm_file.
6693
324820f1
CG
66942015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
6695
6696 * unwind-dw2-fde.h (last_fde): Use "(const fde *)" instead of
6697 "(char *)" to avoid qualifier warning by 'xgcc' compiling.
6698
a9ce4e4a
CLT
66992015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
6700
6701 * config/nios2/linux-unwind.h (nios2_fallback_frame_state):
6702 Update rt_sigframe format and address for current Nios II
6703 Linux conventions.
6704
82a19768
AT
67052015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
6706
6707 * config.host (arm*-*-freebsd*): Add new configuration for
6708 arm*-*-freebsd*.
6709 * config/arm/freebsd-atomic.c: New file.
6710 * config/arm/t-freebsd: Likewise.
6711 * config/arm/unwind-arm.h: Add __FreeBSD__ to the list of
6712 'PC-relative indirect' OS's.
6713
0969ec7d
EB
67142015-01-06 Eric Botcazou <ebotcazou@adacore.com>
6715
6716 * config.host: Add Visium support.
6717 * config/visium: New directory.
6718
5624e564
JJ
67192015-01-05 Jakub Jelinek <jakub@redhat.com>
6720
6721 Update copyright years.
6722
82f84ecb
MF
67232014-12-19 Matthew Fortune <matthew.fortune@imgtec.com>
6724
6725 * config.host: Support mipsisa32r6 and mipsisa64r6.
6726 * config/mips/mips16.S: Do not build for R6.
6727
69044fa9
OE
67282014-12-17 Oleg Endo <olegendo@gcc.gnu.org>
6729
6730 * config/sh/crt.h: New.
6731 * config/sh/crti.S: Use GLOBAL macro from crt.h for _init and _fini
6732 symbols.
6733 * config/sh/crt1.S: Likewise.
6734
2405e0ea
UB
67352014-12-15 Uros Bizjak <ubizjak@gmail.com>
6736
6737 PR libgcc/63832
6738 * crtstuff.c (__do_global_dtors_aux) [HIDDEN_DTOR_LIST_END]: Use
6739 func_ptr *dtor_list temporary variable to avoid "array subscript
6740 is above array bounds" warnings.
6741
7d296953 67422014-12-09 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
dd913323
MH
6743
6744 * Makefile.in (with_aix_soname): Define.
6745 * config/rs6000/t-slibgcc-aix: Act upon --with-aix-soname option.
6746 * configure.ac: Accept --with-aix-soname=aix|svr4|both option.
6747 * configure: Recreate.
6748
a66272f6
OH
67492014-12-05 Olivier Hainque <hainque@adacore.com>
6750
6751 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Remove default def,
6752 now provided by defaults.h.
6753
6342b2c5
OE
67542014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
6755
7d0ee249 6756 PR target/55351
6342b2c5
OE
6757 * config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
6758 whether it's defined.
6759
c17eac85
IT
67602014-11-27 Ilya Tocar <ilya.tocar@intel.com>
6761
6762 * config/i386/cpuinfo.c (processor_features): Add FEATURE_AVX512F.
6763 * config/i386/cpuinfo.c (get_available_features): Detect it.
6764
1025cb6c
TW
67652014-11-27 Tony Wang <tony.wang@arm.com>
6766
6767 * config/arm/lib1funcs.S (FUNC_START): Add conditional section
6768 redefine for macro L_arm_muldivsf3 and L_arm_muldivdf3.
6769 (SYM_END, ARM_SYM_START): Add macros used to expose function Symbols.
6770
d19f2e38
SB
67712014-11-25 Segher Boessenkool <segher@kernel.crashing.org>
6772
6773 * crtstuff.c (__do_glbal_ctors_1): Add missing semicolon.
6774
17f6e9a3
JDA
67752014-11-24 John David Anglin <danglin@gcc.gnu.org>
6776
6777 * config/pa/linux-atomic.c (ABORT_INSTRUCTION): Use __builtin_trap()
6778 instead.
6779
0cd7c672
GM
67802014-11-21 Guy Martin <gmsoft@tuxicoman.be>
6781 John David Anglin <danglin@gcc.gnu.org>
6782
6783 * config/pa/linux-atomic.c (__kernel_cmpxchg2): New.
6784 (FETCH_AND_OP_2): New. Use for subword and double word operations.
6785 (OP_AND_FETCH_2): Likewise.
6786 (COMPARE_AND_SWAP_2): Likewise.
6787 (SYNC_LOCK_TEST_AND_SET_2): Likewise.
6788 (SYNC_LOCK_RELEASE_2): Likewise.
6789 (SUBWORD_SYNC_OP): Remove.
6790 (SUBWORD_VAL_CAS): Likewise.
6791 (SUBWORD_BOOL_CAS): Likewise.
6792 (FETCH_AND_OP_WORD): Update.
6793 Consistently use signed types.
cc86234f 6794
85c64bbe
BS
67952014-11-13 Bernd Schmidt <bernds@codesourcery.com>
6796 Thomas Schwinge <thomas@codesourcery.com>
6797 Ilya Verbin <ilya.verbin@intel.com>
6798 Andrey Turetskiy <andrey.turetskiy@intel.com>
6799
6800 * Makefile.in (crtoffloadbegin$(objext)): New rule.
6801 (crtoffloadend$(objext)): Likewise.
6802 * configure: Regenerate.
6803 * configure.ac (accel_dir_suffix): Compute new variable.
6804 (extra_parts): Add crtoffloadbegin.o and crtoffloadend.o
6805 if enable_offload_targets is not empty.
6806 * offloadstuff.c: New file.
6807
52a1ff8b
NC
68082014-11-13 Nick Clifton <nickc@redhat.com>
6809
6810 * config/rl78/divmodhi.S: Add support for the G10 architecture.
6811 Use START_FUNC and END_FUNC macros to enable linker garbage
6812 collection.
6813 * config/rl78/divmodqi.S: Likewise.
6814 * config/rl78/divmodsi.S: Likewise.
6815 * config/rl78/mulsi3.S: Likewise.
6816 * config/rl78/lib2div.c: Remove G10 functions.
6817 * config/rl78/lib2muls.c: Likewise.
6818 * config/rl78/t-rl8 (HOST_LIBGCC2_CFLAGS): Define.
6819 * config/rl78/vregs.h (START_FUNC): New macro.
6820 (END_FUNC): New macro.
6821
050af144
MF
68222014-11-12 Matthew Fortune <matthew.fortune@imgtec.com>
6823
6824 * config/mips/mips16.S: Set .module when supported. Update O32
6825 FP64 calling convention and use for FPXX when possible. Add FPXX
6826 calling convention fallback case.
6827
738f2522
BS
68282014-11-06 Bernd Schmidt <bernds@codesourcery.com>
6829
6830 * config.host: Handle nvptx-*-*.
6831 * shared-object.mk (as-flags-$o): Define.
6832 ($(base)$(objext), $(base)_s$(objext)): Use it instead of
6833 -xassembler-with-cpp.
6834 * static-object.mk: Identical changes.
6835 * config/nvptx/t-nvptx: New file.
6836 * config/nvptx/crt0.s: New file.
6837 * config/nvptx/free.asm: New file.
6838 * config/nvptx/malloc.asm: New file.
6839 * config/nvptx/realloc.c: New file.
6840
e610393c
JM
68412014-10-30 Joseph Myers <joseph@codesourcery.com>
6842
6843 * Makefile.in (libgcc.map.in): New target.
6844 (libgcc.map): Use libgcc.map.in.
6845 * config/t-softfp (softfp_compat): New variable to be set by
6846 users.
6847 [$(softfp_compat) = y] (softfp_map_dep, softfp_set_symver): New
6848 variables.
6849 [$(softfp_compat) = y] (softfp_file_list): Use files in the build
6850 directory.
6851 [$(softfp_compat) = y] ($(softfp_file_list)): Generate wrappers
6852 that use compat symbols and disable all code unless [SHARED].
6853 * config/t-softfp-compat: New file.
6854 * find-symver.awk: New file.
6855 * configure.ac (--with-glibc-version): New configure option.
6856 (ppc_fp_compat): New variable set for powerpc*-*-linux*.
6857 * configure: Regenerate.
6858 * config.host (powerpc*-*-linux*): Use ${ppc_fp_compat} for
6859 soft-float and e500.
6860
bc1b3a88
JM
68612014-10-29 Joseph Myers <joseph@codesourcery.com>
6862
6863 * config/t-hardfp (hardfp_exclusions): Document new variable for
6864 user to define.
6865 (hardfp_func_list): Exclude functions from $(hardfp_exclusions).
6866 * config/t-softfp (softfp_extras): Document new variable for user
6867 to define.
6868 (softfp_func_list): Add functions from $(softfp_extras).
6869 * config/rs6000/t-e500v1-fp, config/rs6000/t-e500v2-fp: New files.
6870 * config.host (powerpc*-*-linux*): For e500v1, use
6871 rs6000/t-e500v1-fp and t-hardfp; do not use t-softfp-sfdf and
6872 t-softfp-excl. For e500v2, use t-hardfp-sfdf, rs6000/t-e500v2-fp
6873 and t-hardfp; do not use t-softfp-sfdf and t-softfp-excl.
6874
ef2810c1
JDA
68752014-10-26 John David Anglin <danglin@gcc.gnu.org>
6876
6877 * config/pa/linux-unwind.h (pa32_read_access_ok): New function.
6878 (pa32_fallback_frame_state): Use pa32_read_access_ok to check if
6879 memory read accesses are ok.
6880
d80c2bea
JM
68812014-10-25 Joseph Myers <joseph@codesourcery.com>
6882
6883 * configure.ac (ppc_fp_type): Set variable on powerpc*-*-linux*.
6884 * configure: Regenerate.
6885 * config.host (powerpc*-*-linux*): Use $ppc_fp_type to determine
6886 additions to tmake_file. Use t-hardfp-sfdf and t-hardfp instead
6887 of soft-fp for 32-bit classic hard float. Do not use
6888 t-softfp-excl for soft float.
6889
693b297b
JM
68902014-10-22 Joseph Myers <joseph@codesourcery.com>
6891
6892 * config.host (powerpc*-*-linux*): Only use soft-fp for 32-bit
6893 configurations.
6894 * config/rs6000/t-ppc64-fp (softfp_wrap_start, softfp_wrap_end):
6895 Remove variables.
6896
18a3415e
GJL
68972014-10-22 Georg-Johann Lay <avr@gjlay.de>
6898
6899 * config/avr/lib1funcs.S (__do_global_dtors): Fix wrong code
6900 introduced with 2014-10-21 trunk r216525.
6901
c1dd9790 69022014-10-21 Joern Rennecke <joern.rennecke@embecosm.com>
7d296953
JJ
6903 Vidya Praveen <vidya.praveen@atmel.com>
6904 Praveen Kumar Kaushik <Praveen_Kumar.Kaushik@atmel.com>
6905 Senthil Kumar Selvaraj <Senthil_Kumar.Selvaraj@atmel.com>
6906 Pitchumani Sivanupandi <Pitchumani.S@atmel.com>
c1dd9790
JR
6907
6908 * config/avr/lib1funcs.S (__do_global_dtors): Go back to descending
6909 order.
6910
6911 Updated library functions for AVRTINY arch.
6912 * config/avr/lib1funcs.S: Updated zero/tmp regs for AVRTINY.
6913 Replaced occurrences of r0/r1 with tmp/zero reg macros.
6914 Added wsubi/ wadi macros that expands conditionally as sbiw/ adiw
6915 or AVRTINY equivalent. Replaced occurrences of sbiw/adiw with
6916 wsubi/wadi macors.
6917 (__mulsi3_helper): Update stack, preserve callee saved regs and
6918 argument from stack. Restore callee save registers.
6919 (__mulpsi3): Likewise.
6920 (__muldi3, __udivmodsi4, __divmodsi4, __negsi2, __umoddi3, __udivmod64,
6921 __moddi3, __adddi3, __adddi3_s8, __subdi3, __cmpdi2, __cmpdi2_s8,
18a3415e 6922 __negdi2, __prologue_saves__, __epilogue_restores__): Excluded for
c1dd9790
JR
6923 AVRTINY.
6924 (__tablejump2__): Added lpm equivalent instructions for AVRTINY.
6925 (__do_copy_data): Added new definition for AVRTINY.
6926 (__do_clear_bss): Replace r17 by r18 to preserve zero reg for AVRTINY.
6927 (__load_3, __load_4, __xload_1, __xload_2, __xload_3,
6928 __xload_4, __movmemx_qi, __movmemx_hi): Excluded for AVRTINY.
6929 * config/avr/lib1funcs-fixed.S: Replaced occurrences of r0/r1 with
6930 tmp/zero reg macros. Replaced occurrences of sbiw/adiw with wsubi/wadi
6931 macors.
18a3415e 6932 * config/avr/t-avr (LIB1ASMFUNCS): Remove unsupported functions for
c1dd9790
JR
6933 AVRTINY.
6934
18a3415e 6935 Fix broken long multiplication on tiny arch.
c1dd9790 6936
5f606431
JM
69372014-10-09 Joseph Myers <joseph@codesourcery.com>
6938
6939 * soft-fp/double.h: Update from glibc.
6940 * soft-fp/eqdf2.c: Likewise.
6941 * soft-fp/eqsf2.c: Likewise.
6942 * soft-fp/eqtf2.c: Likewise.
6943 * soft-fp/extenddftf2.c: Likewise.
6944 * soft-fp/extended.h: Likewise.
6945 * soft-fp/extendsfdf2.c: Likewise.
6946 * soft-fp/extendsftf2.c: Likewise.
6947 * soft-fp/extendxftf2.c: Likewise.
6948 * soft-fp/gedf2.c: Likewise.
6949 * soft-fp/gesf2.c: Likewise.
6950 * soft-fp/getf2.c: Likewise.
6951 * soft-fp/ledf2.c: Likewise.
6952 * soft-fp/lesf2.c: Likewise.
6953 * soft-fp/letf2.c: Likewise.
6954 * soft-fp/op-1.h: Likewise.
6955 * soft-fp/op-2.h: Likewise.
6956 * soft-fp/op-4.h: Likewise.
6957 * soft-fp/op-8.h: Likewise.
6958 * soft-fp/op-common.h: Likewise.
6959 * soft-fp/quad.h: Likewise.
6960 * soft-fp/single.h: Likewise.
6961 * soft-fp/soft-fp.h: Likewise.
6962 * soft-fp/unorddf2.c: Likewise.
6963 * soft-fp/unordsf2.c: Likewise.
6964 * soft-fp/unordtf2.c: Likewise.
6965 * config/c6x/eqd.c (__c6xabi_eqd): Update call to FP_CMP_EQ_D.
6966 * config/c6x/eqf.c (__c6xabi_eqf): Update call to FP_CMP_EQ_S.
6967 * config/c6x/ged.c (__c6xabi_ged): Update call to FP_CMP_D.
6968 * config/c6x/gef.c (__c6xabi_gef): Update call to FP_CMP_S.
6969 * config/c6x/gtd.c (__c6xabi_gtd): Update call to FP_CMP_D.
6970 * config/c6x/gtf.c (__c6xabi_gtf): Update call to FP_CMP_S.
6971 * config/c6x/led.c (__c6xabi_led): Update call to FP_CMP_D.
6972 * config/c6x/lef.c (__c6xabi_lef): Update call to FP_CMP_S.
6973 * config/c6x/ltd.c (__c6xabi_ltd): Update call to FP_CMP_D.
6974 * config/c6x/ltf.c (__c6xabi_ltf): Update call to FP_CMP_S.
6975
9b84e7a8
RX
69762014-10-08 Rong Xu <xur@google.com>
6977
6978 * libgcov-util.c (read_gcda_file): Fix format.
6979 (find_match_gcov_info): Ditto.
6980 (calculate_2_entries): New.
6981 (compute_one_gcov): Ditto.
6982 (gcov_info_count_all_cold): Ditto.
6983 (gcov_info_count_all_zero): Ditto.
6984 (extract_file_basename): Ditto.
6985 (get_file_basename): Ditto.
6986 (set_flag): Ditto.
6987 (matched_gcov_info): Ditto.
6988 (calculate_overlap): Ditto.
6989 (gcov_profile_overlap): Ditto.
6990 * libgcov-driver.c (compute_summary): Make
6991 it avavilable for external calls.
6992
fe1090c1
RX
69932014-10-06 Rong Xu <xur@google.com>
6994
6995 * Makefile.in: Ditto.
6996 * libgcov-driver.c (gcov_sort_n_vals): New utility function.
6997 (gcov_sort_icall_topn_counter): Ditto.
6998 (gcov_sort_topn_counter_arrays): Ditto.
6999 (dump_one_gcov): Sort indirect_call topn counters.
7000 * libgcov-merge.c (__gcov_merge_icall_topn): New merge
7001 function.
7002 * libgcov-profiler.c (__gcov_topn_value_profiler_body): New
7003 utility function.
7004 (__gcov_indirect_call_topn_profiler): New profiler function.
7005 * libgcov-util.c (__gcov_icall_topn_counter_op): New.
7006 * libgcov.h: New decls.
7007
3daa7bbf
TS
70082014-10-04 Trevor Saunders <tsaunders@mozilla.com>
7009
7010 * config.host: Remove support for score-*.
7011
9a79452d
JM
70122014-09-22 Joseph Myers <joseph@codesourcery.com>
7013
7014 * dfp-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7015 (__LIBGCC_XF_MANT_DIG__): Define if not already defined.
7016 (LONG_DOUBLE_HAS_XF_MODE): Define in terms of
7017 __LIBGCC_XF_MANT_DIG__.
7018 (__LIBGCC_TF_MANT_DIG__): Define if not already defined.
7019 (LONG_DOUBLE_HAS_TF_MODE): Define in terms of
7020 __LIBGCC_TF_MANT_DIG__.
7021 * libgcc2.c (NOTRUNC): Define in terms of
7022 __LIBGCC_*_EXCESS_PRECISION__, not LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
7023 * libgcc2.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Remove.
7024
1a849e50
JM
70252014-09-22 Joseph Myers <joseph@codesourcery.com>
7026
7027 PR target/63312
7028 * config/ia64/sfp-machine.h (FE_EX_ALL, FP_TRAPPING_EXCEPTIONS):
7029 New macros.
7030
598a1586
HPN
70312014-09-22 Hans-Peter Nilsson <hp@axis.com>
7032
7033 * crtstuff.c (USE_EH_FRAME_REGISTRY): Let USE_EH_FRAME_REGISTRY_ALWAYS
7034 override USE_PT_GNU_EH_FRAME.
7035 [__LIBGCC_EH_FRAME_SECTION_NAME__ && !USE_PT_GNU_EH_FRAME]: Sanity-
7036 check USE_EH_FRAME_REGISTRY_ALWAYS against
7037 __LIBGCC_EH_FRAME_SECTION_NAME__, emit error if unsane.
7038 * Makefile.in (FORCE_EXPLICIT_EH_REGISTRY): New
7039 variable for substituted force_explicit_eh_registry.
7040 (CRTSTUFF_CFLAGS): Add FORCE_EXPLICIT_EH_REGISTRY.
7041 * configure.ac (explicit-exception-frame-registration):
7042 New AC_ARG_ENABLE.
7043 * configure: Regenerate.
7044
3a8fe7c6
OH
70452014-09-19 Olivier Hainque <hainque@adacore.com>
7046
7047 * config.host (powerpc-wrs-vxworksmils): New configuration,
7048 same as vxworksae.
7049
dd69f047
JM
70502014-09-18 Joseph Myers <joseph@codesourcery.com>
7051
7052 * libgcc2.c (CEXT): Define using __LIBGCC_*_FUNC_EXT__.
7053
e770bfd9
JM
70542014-09-18 Joseph Myers <joseph@codesourcery.com>
7055
7056 * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear
7057 bits not set bits as indicating trapping exceptions.
7058
cadb2b96
NS
70592014-09-17 Nathan sidwell <nathan@acm.org>
7060
7061 * Makefile.in (LIBGCOV_INTERFACE): Add _gcov_dump from ...
7062 (LIBGCOV_DRIVER): ... here.
7063 * libgcov-driver.c (gcov_master): New.
7064 (gcov_exit): Remove from master chain.
7065 (__gcov_init): Add to master chain if version compatible. Don't
7066 clear the version.
7067 * libgcov_interface (__gcov_flust): Call gcov_dump_int.
7068 (gcov_reset_int): Clear master chain, if compatible.
7069 (gcov_dump_int): New internal interface. Dump master chain, if
7070 compatible.
7071 (gcov_dump): Alias for gcov_dump_int.
7072 * libgcov.h (struct gcov_root): Add next and prev fields.
7073 (struct gcov_master): New struct.
7074 (__gcov_master): New.
7075 (gcov_dump_int): Declare.
7076
580d22a3
OH
70772014-09-17 Olivier Hainque <hainque@adacore.com>
7078
7079 * config.host (x86_64-*-mingw*): Add i386/t-cygming to tmake_file
7080 and crtbegin.o + crtend.o to extra_parts.
7081
8cc4b7a2
JM
70822014-09-12 Joseph Myers <joseph@codesourcery.com>
7083
7084 * libgcc2.h (LIBGCC2_HAS_SF_MODE): Define using
7085 __LIBGCC_HAS_SF_MODE__.
7086 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7087 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7088 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7089 * config/libbid/bid_gcc_intrinsics.h
7090 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7091 (LIBGCC2_HAS_XF_MODE): Define using __LIBGCC_HAS_XF_MODE__.
7092 (LIBGCC2_HAS_TF_MODE): Define using __LIBGCC_HAS_TF_MODE__.
7093 * fixed-bit.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Do not define.
7094 (LIBGCC2_HAS_SF_MODE): Define using __LIBGCC_HAS_SF_MODE__.
7095 (LIBGCC2_HAS_DF_MODE): Define using __LIBGCC_HAS_DF_MODE__.
7096
ea3f2b24
GJL
70972014-09-11 Georg-Johann Lay <avr@gjlay.de>
7098
7099 PR target/63223
7100 * config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
7101 and R24 as needed. Make work for all devices and .text locations.
7102 (__do_global_ctors, __do_global_dtors): Use word addresses.
7103 (__tablejump__, __tablejump_elpm__): Remove functions.
7104 * t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
7105 Add _tablejump2.
7106 (XICALL, XIJMP): New macros.
7107
b677236a
MS
71082014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
7109 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7110
7111 * config.host (aarch64*): Include crtfastmath.o and
7112 t-crtfm.
7113 * config/aarch64/crtfastmath.c: New file.
7114
157e859f
TS
71152014-09-08 Trevor Saunders <tsaunders@mozilla.com>
7116
7117 * config.host: Remove picochip support.
7118 * config/picochip/adddi3.S: Remove.
7119 * config/picochip/ashlsi3.S: Remove.
7120 * config/picochip/ashlsi3.c: Remove.
7121 * config/picochip/ashrsi3.S: Remove.
7122 * config/picochip/ashrsi3.c: Remove.
7123 * config/picochip/clzsi2.S: Remove.
7124 * config/picochip/cmpsi2.S: Remove.
7125 * config/picochip/divmod15.S: Remove.
7126 * config/picochip/divmodhi4.S: Remove.
7127 * config/picochip/divmodsi4.S: Remove.
7128 * config/picochip/lib1funcs.S: Remove.
7129 * config/picochip/longjmp.S: Remove.
7130 * config/picochip/lshrsi3.S: Remove.
7131 * config/picochip/lshrsi3.c: Remove.
7132 * config/picochip/parityhi2.S: Remove.
7133 * config/picochip/popcounthi2.S: Remove.
7134 * config/picochip/setjmp.S: Remove.
7135 * config/picochip/subdi3.S: Remove.
7136 * config/picochip/t-picochip: Remove.
7137 * config/picochip/ucmpsi2.S: Remove.
7138 * config/picochip/udivmodhi4.S: Remove.
7139 * config/picochip/udivmodsi4.S: Remove.
7140
66bb34c0
JM
71412014-09-08 Joseph Myers <joseph@codesourcery.com>
7142
7143 * libgcc2.c (SF_SIZE): Change all uses to __LIBGCC_SF_MANT_DIG__.
7144 (DF_SIZE): Change all uses to __LIBGCC_DF_MANT_DIG__.
7145 (XF_SIZE): Change all uses to __LIBGCC_XF_MANT_DIG__.
7146 (TF_SIZE): Change all uses to __LIBGCC_TF_MANT_DIG__.
7147 * libgcc2.h (SF_SIZE): Change to __LIBGCC_SF_MANT_DIG__. Give
7148 error if not defined and LIBGCC2_HAS_SF_MODE is defined.
7149 (DF_SIZE): Change to __LIBGCC_DF_MANT_DIG__. Give error if not
7150 defined and LIBGCC2_HAS_DF_MODE is defined.
7151 (XF_SIZE): Change to __LIBGCC_XF_MANT_DIG__. Give error if not
7152 defined and LIBGCC2_HAS_XF_MODE is defined.
7153 (TF_SIZE): Change to __LIBGCC_TF_MANT_DIG__. Give error if not
7154 defined and LIBGCC2_HAS_TF_MODE is defined.
7155
9686a2e6
JM
71562014-09-08 Joseph Myers <joseph@codesourcery.com>
7157
7158 * fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
7159 and ROUND_TOWARDS_ZERO conditionals.
7160
71c3e2ef
NS
71612014-09-07 Nathan sidwell <nathan@acm.org>
7162
7163 * libgcov-interface.c (STRONG_ALIAS): Rename to ...
7164 (ALIAS_weak): ... here. Use forwarding function. Adjust uses.
7165
53d68b9f
JM
71662014-09-05 Joseph Myers <joseph@codesourcery.com>
7167
7168 * Makefile.in (CRTSTUFF_CFLAGS): Add -fbuilding-libgcc.
7169 * config/aarch64/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7170 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7171 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7172 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7173 * config/alpha/vms-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7174 Change use to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7175 * config/cr16/unwind-cr16.c (STACK_GROWS_DOWNWARD): Change all
7176 uses to __LIBGCC_STACK_GROWS_DOWNWARD__.
7177 (DWARF_FRAME_REGISTERS): Change all uses to
7178 __LIBGCC_DWARF_FRAME_REGISTERS__.
7179 (EH_RETURN_STACKADJ_RTX): Change all uses to
7180 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7181 * config/cr16/unwind-dw2.h (DWARF_FRAME_REGISTERS): Change use to
7182 __LIBGCC_DWARF_FRAME_REGISTERS__. Remove conditional definition.
7183 * config/i386/cygming-crtbegin.c (EH_FRAME_SECTION_NAME): Change
7184 use to __LIBGCC_EH_FRAME_SECTION_NAME__.
7185 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__.
7186 * config/i386/cygming-crtend.c (EH_FRAME_SECTION_NAME): Change use
7187 to __LIBGCC_EH_FRAME_SECTION_NAME__.
7188 (JCR_SECTION_NAME): Change use to __LIBGCC_JCR_SECTION_NAME__
7189 * config/mips/linux-unwind.h (STACK_POINTER_REGNUM): Change use to
7190 __LIBGCC_STACK_POINTER_REGNUM__.
7191 (DWARF_ALT_FRAME_RETURN_COLUMN): Change all uses to
7192 __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7193 * config/nios2/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7194 to __LIBGCC_STACK_POINTER_REGNUM__.
7195 * config/pa/hpux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7196 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7197 * config/pa/linux-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN): Change
7198 all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7199 * config/rs6000/aix-unwind.h (DWARF_ALT_FRAME_RETURN_COLUMN):
7200 Change all uses to __LIBGCC_DWARF_ALT_FRAME_RETURN_COLUMN__.
7201 (STACK_POINTER_REGNUM): Change all uses to
7202 __LIBGCC_STACK_POINTER_REGNUM__.
7203 * config/rs6000/darwin-fallback.c (STACK_POINTER_REGNUM): Change
7204 use to __LIBGCC_STACK_POINTER_REGNUM__.
7205 * config/rs6000/linux-unwind.h (STACK_POINTER_REGNUM): Change all
7206 uses to __LIBGCC_STACK_POINTER_REGNUM__.
7207 * config/sparc/linux-unwind.h (DWARF_FRAME_REGISTERS): Change use
7208 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7209 * config/sparc/sol2-unwind.h (DWARF_FRAME_REGISTERS): Change use
7210 to __LIBGCC_DWARF_FRAME_REGISTERS__.
7211 * config/tilepro/linux-unwind.h (STACK_POINTER_REGNUM): Change use
7212 to __LIBGCC_STACK_POINTER_REGNUM__.
7213 * config/xtensa/unwind-dw2-xtensa.h (DWARF_FRAME_REGISTERS):
7214 Remove conditional definition.
7215 * crtstuff.c (TEXT_SECTION_ASM_OP): Change all uses to
7216 __LIBGCC_TEXT_SECTION_ASM_OP__.
7217 (EH_FRAME_SECTION_NAME): Change all uses to
7218 __LIBGCC_EH_FRAME_SECTION_NAME__.
7219 (EH_TABLES_CAN_BE_READ_ONLY): Change all uses to
7220 __LIBGCC_EH_TABLES_CAN_BE_READ_ONLY__.
7221 (CTORS_SECTION_ASM_OP): Change all uses to
7222 __LIBGCC_CTORS_SECTION_ASM_OP__.
7223 (DTORS_SECTION_ASM_OP): Change all uses to
7224 __LIBGCC_DTORS_SECTION_ASM_OP__.
7225 (JCR_SECTION_NAME): Change all uses to
7226 __LIBGCC_JCR_SECTION_NAME__.
7227 (INIT_SECTION_ASM_OP): Change all uses to
7228 __LIBGCC_INIT_SECTION_ASM_OP__.
7229 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7230 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7231 * generic-morestack.c (STACK_GROWS_DOWNWARD): Change all uses to
7232 __LIBGCC_STACK_GROWS_DOWNWARD__.
7233 * libgcc2.c (INIT_SECTION_ASM_OP): Change all uses to
7234 __LIBGCC_INIT_SECTION_ASM_OP__.
7235 (INIT_ARRAY_SECTION_ASM_OP): Change all uses to
7236 __LIBGCC_INIT_ARRAY_SECTION_ASM_OP__.
7237 (EH_FRAME_SECTION_NAME): Change all uses to
7238 __LIBGCC_EH_FRAME_SECTION_NAME__.
7239 * libgcov-profiler.c (VTABLE_USES_DESCRIPTORS): Remove conditional
7240 definitions. Change all uses to
7241 __LIBGCC_VTABLE_USES_DESCRIPTORS__.
7242 * unwind-dw2.c (STACK_GROWS_DOWNWARD): Change all uses to
7243 __LIBGCC_STACK_GROWS_DOWNWARD__.
7244 (DWARF_FRAME_REGISTERS): Change all uses to
7245 __LIBGCC_DWARF_FRAME_REGISTERS__.
7246 (EH_RETURN_STACKADJ_RTX): Change all uses to
7247 __LIBGCC_EH_RETURN_STACKADJ_RTX__.
7248 * unwind-dw2.h (DWARF_FRAME_REGISTERS): Remove conditional
7249 definition. Change use to __LIBGCC_DWARF_FRAME_REGISTERS__.
7250 * unwind-sjlj.c (DONT_USE_BUILTIN_SETJMP): Change all uses to
7251 __LIBGCC_DONT_USE_BUILTIN_SETJMP__.
7252 (JMP_BUF_SIZE): Change use to __LIBGCC_JMP_BUF_SIZE__.
7253
b20ee094
NS
72542014-09-02 Nathan sidwell <nathan@acm.org>
7255
7256 * libgcov-interface.c (STRONG_ALIAS): New.
7257 (__gcov_flush): Call __gcov_reset_int.
7258 (__gcov_reset): Strong alias for ...
7259 (__gcov_reset_ing): ... this renamed hidden version.
7260 * libgcov.h (__gcov_reset_int): New declaration.
7261
1ac83976
YS
72622014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
7263
25efdb9f
YS
7264 * config/i386/cygming-crtend.c (register_frame_ctor): Move atexit
7265 call from here...
7266 * config/i386/cygming-crtbegin.c (__gcc_register_frame): to here.
7267 (__dso_handle): Define on Cygwin.
7268 * config/i386/t-cygming (crtbeginS.o): New rule.
7269 * config.host (*-*-cygwin*): Add crtbeginS.o to extra_parts.
7270
1ac83976
YS
7271 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Fix
7272 declaration syntax.
7273
c6f9ea3b
SE
72742014-08-13 Steve Ellcey <sellcey@mips.com>
7275
7276 * crtstuff.c: Undef caddr_t.
7277
5b1ea7c5
SE
72782014-08-12 Steve Ellcey <sellcey@mips.com>
7279
7280 * config/mips/mips16.S: Skip when __mips_soft_float is defined.
7281
4303c581
NS
72822014-08-07 Nathan Sidwell <nathan@acm.org>
7283
7284 * Makefile.in (LIBGCOV_INTERFACE): Move _gcov_dump ...
7285 (LIBGCOV_DRIVER): ... to here.
7286 * libgcov.h (gcov_do_dump): New #define.
7287 (struct gcov_root): New.
7288 (__gcov_root): New declaration.
7289 (__gcov_dump_one): Declare.
7290 * libgcov-driver.c (gcov_list, gcov_dump_complete,
7291 run_accounted): Delete.
7292 (gcov_compute_histogram): Add LIST argument, adjust.
7293 (compute_summary): Adjust gcov_compute_histogram call.
7294 (gcov_do_dump): Not hidden, static in libgcov.
7295 (gcov_clear): Move to interface.c.
7296 (__gcov_dump_one): New, broken out of ...
7297 (gcov_exit): ... here. Make static.
7298 (__gcov_root): New.
7299 (__gcov_init): Adjust.
7300 * libgcov-interface.c (gcov_clear, gcov_exit): Remove
7301 declarations.
7302 (__gcov_flush): Use __gcov_dump_one and __gcov_reset.
7303 (gcov_clear): Moved from driver.c. Add LIST argument.
7304 (__gcov_reset): Adjust for changed interfaces.
7305 (__gcov_fork): Remove local declaration of __gcov_flush_mx.
7306
23742a9e
RAR
73072014-08-04 Rohit <rohitarulraj@freescale.com>
7308
7309 PR target/60102
7310 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Update
d406ae47 7311 based on change in SPE high register numbers and 3 HTM registers.
23742a9e 7312
b98a872b
NS
73132014-08-01 Nathan Sidwell <nathan@acm.org>
7314
7315 * Makefile.in (LIBGCOV_MERGE, LIBGCOV_PROFILER,
7316 LIBGCOV_INTERFACE): Reformat.
7317 * libgcov-driver.c (gcov_exit, __gcov_init): Disable when
7318 IN_GCOV_TOOL.
7319 * libgcov-interface.c: Reformat some comments.
7320 (__gcov_flush_mx): Add declaration. Tidy up definition.
7321
6adaaa1d
AM
73222014-07-31 Alan Modra <amodra@gmail.com>
7323 Peter Bergner <bergner@vnet.ibm.com>
7324
7325 * config/rs6000/ibm-ldouble.c (typedef union longDblUnion): Delete.
7326 (pack_ldouble): New function.
7327 (__gcc_qadd): Use it.
7328 (__gcc_qmul): Likewise.
7329 (__gcc_qdiv): Likewise.
7330 (__gcc_qneg): Likewise.
7331 (__gcc_stoq): Likewise.
7332 (__gcc_dtoq): Likewise.
7333
87cb0c0c
UW
73342014-07-30 J. D. Johnston <jjohnst@us.ibm.com>
7335
7336 * config/s390/tpf-unwind.h: Include <stdbool.h>.
7337 (__tpf_eh_return): Add original return address as second parameter.
7338 Handle cases where unwinder routines were called directly, instead
7339 of from within the C++ library.
7340
19926161
NS
73412014-07-29 Nathan Sidwell <nathan@acm.org>
7342
7343 * libgcov.h: Move renaming of entry points to lib gcov specific
7344 portion.
7345 (gcov_do_dump): New rename.
7346 (gcov_rewrite): Remove inline, make HIDDEN.
7347 * libgcov-driver.c (gcov_clear, gcov_exit): Remove declarations.
7348 (gcov_exit_compute_summary): Rename to ...
7349 (compute_summary): ... here. Add LIST argument.
7350 (gcov_exit_merge_gcda): Rename to ...
7351 (merge_one_data): ... here.
7352 (gcov_exit_write_gcda): Rename to ...
7353 (write_one_data): ... here.
7354 (gcov_exit_merge_summary): Rename to ...
7355 (merge_summary): Add RUN_COUNTED argument.
7356 (gcov_exit_dump_gcov): Rename to ...
7357 (dump_one_gcov): Add RUN_COUNTED argument.
7358 (gcov_do_dump): New function, broken out of ...
7359 (gcov_exit): ... here. Call it.
7360
17522262
AG
73612014-07-27 Anthony Green <green@moxielogic.com>
7362
7363 * config.host: Add moxiebox configuration suppport.
7364
6dc33097
NS
73652014-07-27 Nathan Sidwell <nathan@acm.org>
7366
7367 * libgcov-driver.c (struct gcov_filename_aux): Rename ...
7368 (struct gcov_filename): ... here. Include buffer and max length
7369 fields.
7370 (gcov_max_filename): Remove.
7371 (gi_filename): Remove.
7372 (gcov_exit_compute_summary): Compute max filename here.
7373 (gcov_exit_merge_gcda): Add filename parm, adjust.
7374 (gcov_exit_merge_summary): Likewise.
7375 (gcov_exit_dump_gcov): Adjust for struct gcov_filename changes.
7376 (gcov_exit): Likewise.
7377 (__gcov_init): Don't calculate max length here.
7378 * libgcov_util.c (max_filename_len): Remove.
7379 (read_gcda_file): Don't calculate max length here.
7380 (gcov_read_profile_dir): Don't propagate here.
7381 * libgcov-driver-system.c (alloc_filename_struct): Adjust for
7382 struct gcov_filename changes.
7383 (gcov_exit_open_gcda_file): Likewise.
7384
770f687d
NS
73852014-07-25 Nathan Sidwell <nathan@acm.org>
7386
7387 * libgcov-driver.c (set_gcov_dump_complete,
7388 reset_gcov_dump_complete, get_gcov_dump_complete): Remove global
7389 functions polluting user's namespace.
7390 (gcov_exit): Set variable directly.
7391 (gcov_clear): Reset variable directly.
7392 * libgcov-interface.c (get_gcov_dymp_complete,
7393 reset_gov_dump_complete): Remove declarations.
7394 (__gcov_reset, __gcov_dump): Don't call them.
7395
fabf71ba
DD
73962014-07-24 DJ Delorie <dj@redhat.com>
7397
7398 * config/i386/cygming-crtbegin.c (deregister_frame_fn): Newly public.
770f687d
NS
7399 (__gcc_deregister_frame): Move logic to detect deregister function
7400 to ...
7401 (__gcc_register_frame): here, so it's consistent with the register
7402 logic.
fabf71ba 7403
d10ee722
NS
74042014-07-23 Nathan Sidwell <nathan@acm.org>
7405
7406 * libgcov-driver.c (set_gcov_list): Remove.
7407 (gcov_list): Make non-static in GCOV_TOOL.
7408 * libgcov.h (GCOV_TOOL_LINKAGE): Remove unused #define.
7409
a4137090
JDA
74102014-07-17 John David Anglin <danglin@gcc.gnu.org>
7411
7412 * config/pa/linux-atomic.c (__sync_lock_release_4): New.
7413 (SYNC_LOCK_RELEASE): Update to use __kernel_cmpxchg for release.
7414 Don't use SYNC_LOCK_RELEASE for int type.
7415
72602c6c
RB
74162014-07-14 Richard Biener <rguenther@suse.de>
7417
7418 * libgcov.h (struct gcov_fn_info): Make ctrs size 1.
7419
d5313205
RX
74202014-07-11 Rong Xu <xur@google.com>
7421
7422 * libgcov-util.c (gcov_max_filename): Fix declartion.
7423
c77556a5
RX
74242014-07-10 Rong Xu <xur@google.com>
7425
7426 Add gcov-tool: an offline gcda profile processing tool
7427 Support.
7428 * libgcov-driver.c (gcov_max_filename): Make available
7429 to gcov-tool.
7430 * libgcov-merge.c (__gcov_merge_add): Replace
7431 gcov_read_counter() with a Macro.
7432 (__gcov_merge_ior): Ditto.
7433 (__gcov_merge_time_profile): Ditto.
7434 (__gcov_merge_single): Ditto.
7435 (__gcov_merge_delta): Ditto.
7436 * libgcov-util.c (void gcov_set_verbose): Set the verbose flag
7437 in the utility functions.
7438 (set_fn_ctrs): Utility function for reading gcda files to in-memory
7439 gcov_list object link lists.
7440 (tag_function): Ditto.
7441 (tag_blocks): Ditto.
7442 (tag_arcs): Ditto.
7443 (tag_lines): Ditto.
7444 (tag_counters): Ditto.
7445 (tag_summary): Ditto.
7446 (read_gcda_finalize): Ditto.
7447 (read_gcda_file): Ditto.
7448 (ftw_read_file): Ditto.
7449 (read_profile_dir_init): Ditto.
7450 (gcov_read_profile_dir): Ditto.
7451 (gcov_read_counter_mem): Ditto.
7452 (gcov_get_merge_weight): Ditto.
7453 (merge_wrapper): A wrapper function that calls merging handler.
7454 (gcov_merge): Merge two gcov_info objects with weights.
7455 (find_match_gcov_info): Find the matched gcov_info in the list.
7456 (gcov_profile_merge): Merge two gcov_info object lists.
7457 (__gcov_add_counter_op): Process edge profile counter values.
7458 (__gcov_ior_counter_op): Process IOR profile counter values.
7459 (__gcov_delta_counter_op): Process delta profile counter values.
7460 (__gcov_single_counter_op): Process single profile counter values.
7461 (fp_scale): Callback function for float-point scaling.
cc86234f 7462 (int_scale): Callback function for integer fraction scaling.
c77556a5
RX
7463 (gcov_profile_scale): Scaling profile counters.
7464 (gcov_profile_normalize): Normalize profile counters.
7465 * libgcov.h: Add headers and functions for gcov-tool use.
7466 (gcov_get_counter): New.
7467 (gcov_get_counter_target): Ditto.
7468 (struct gcov_info): Make the functions field mutable in gcov-tool
7469 compilation.
7470
5c7dac8a
KT
74712014-06-23 Kai Tietz <ktietz@redhat.com>
7472
7473 PR libgcc/61585
7474 * unwind-seh.c (_Unwind_GetGR): Check for proper
7475 index range.
7476 (_Unwind_SetGR): Likewise.
7477
161c9312
NC
74782014-05-22 Nick Clifton <nickc@redhat.com>
7479
7480 * config/msp430/t-msp430 (HOST_LIBGCC2_CFLAGS): Add
7481 -mhwmult=none.
7482
e3f0315f
TJ
74832014-05-22 Teresa Johnson <tejohnson@google.com>
7484
7485 * libgcov-driver.c (gcov_error): Move declaration before gcov-io.c
7486 include.
7487
dbed5a9b
JM
74882014-05-20 John Marino <gnugcc@marino.st>
7489
7490 * config.host (*-*-dragonfly*): New target.
7491 * crtstuff.c: Make dl_iterate_support generic on *bsd.
7492 * enable-execute-stack-mprotect.c: Always mprotect on FreeBSD.
7493 * unwind-dw2-fde-dip.c: Add dl_iterate_phr support for DragonFly.
7494 * config/i386/dragonfly-unwind.h: New.
7495
1ec380e5
MR
74962014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7497
7498 PR libgcc/60166
7499 * config/arm/sfp-machine.h (_FP_NANFRAC_H, _FP_NANFRAC_S)
7500 (_FP_NANFRAC_D, _FP_NANSIGN_Q): Set the quiet bit.
7501
54fde020
BE
75022014-05-13 Bernd Edlinger <bernd.edlinger@hotmail.de>
7503
7504 * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
7505 implementation.
7506
999db125
GJL
75072014-05-12 Georg-Johann Lay <avr@gjlay.de>
7508
7509 * config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.
7510
cceaf54a
RO
75112014-05-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7512
7513 PR libgcc/61097
7514 * config/t-slibgcc-sld: Only build and install libgcc-unwind.map
7515 if --enable-shared.
7516
e3fe9b5b
BE
75172014-04-30 Bernd Edlinger <bernd.edlinger@hotmail.de>
7518
7519 Work around for current cygwin32 build problems.
7520 * config/i386/cygming-crtbegin.c (__register_frame_info,
7521 __deregister_frame_info, _Jv_RegisterClasses): Compile weak default
7522 functions only for 64-bit systems.
7523
54cf37e9
RO
75242014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7525
7526 * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]
7527 (sigill_caught, sigill_hdlr): Remove.
7528
d9f069ab
RO
75292014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7530
7531 * config/i386/crtfastmath.c (set_fast_math): Remove SSE execution
7532 check.
7533 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
7534 Solaris 9 single-threaded support.
7535 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
7536 Solaris 9 single-threaded support. Add call_user_handler code
7537 sequences.
7538 (sparc_is_sighandler): Likewise.
7539
59976ef8
AK
75402014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7541
7542 * config.host: Append t-floattodi to tmake_file depending on
7543 host_address.
7544
d02bbcf3
JS
75452014-03-20 Joel Sherrill <joel.sherrill@oarcorp.com>
7546
31466bc0 7547 * config.host (v850*-*-*): Add to tmake_file instead of resetting it.
d02bbcf3 7548
c2e7e597
UB
75492014-03-10 Uros Bizjak <ubizjak@gmail.com>
7550
7551 PR libgcc/60472
7552 * crtstuff.c (frame_dummy): Use void **jcr_list temporary
2405e0ea 7553 variable to avoid "array subscript is above array bounds" warnings.
c2e7e597
UB
7554 Use __builtin_expect when checking *jcr_list for NULL.
7555
227a7dc8
RO
75562014-03-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7557
7558 PR libgcc/59339
7559 * config.host (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu)
7560 (*-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu): Only add
7561 vtv_*.o to extra_parts if enable_vtable_verify.
7562
df2b279c
NC
75632014-03-06 Nick Clifton <nickc@redhat.com>
7564
7565 * config/msp430/t-msp430 (LIB2ADD): Add lib2hw_mul.S
7566 * config/msp430/lib2hw_mul.S: New: Hardware multiply routines.
7567
dc11d79b
JY
75682014-02-28 Joey Ye <joey.ye@arm.com>
7569
7570 PR libgcc/60166
7571 * config/arm/sfp-machine.h (_FP_NANFRAC_H,
7572 _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
7573 Set to zero.
7574
341c653c
WL
75752014-02-24 Walter Lee <walt@tilera.com>
7576
7577 * config.host: Support "tilegx*" and "tilepro*" triplets.
7578 * config/tilegx/sfp-machine32.h (__BYTE_ORDER): Handle big endian.
7579 * config/tilegx/sfp-machine64.h (__BYTE_ORDER): Handle big endian.
7580
95ce7613
CLT
75812014-02-20 Sandra Loosemore <sandra@codesourcery.com>
7582 Chung-Lin Tang <cltang@codesourcery.com>
7583
7584 * config/nios2/t-nios2 (CRTSTUFF_T_CFLAGS): Add -mno-gpopt.
7585 * config/nios2/crti.S: Remove .file directive.
7586 * config/nios2/crtn.S: Likewise.
7587
0bb4fc05
KT
75882014-02-18 Kai Tietz <ktietz@redhat.com>
7589 Jonathan Schleifer <js@webkeks.org>
7590
7591 PR objc/56870
7592 * unwind-seh.c (_GCC_specific_handler): Pass proper
7593 value to unwind-handler.
7594
9acf28f1
JM
75952014-02-12 Joseph Myers <joseph@codesourcery.com>
7596
7597 * soft-fp/adddf3.c: Update from glibc.
7598 * soft-fp/addsf3.c: Likewise.
7599 * soft-fp/addtf3.c: Likewise.
7600 * soft-fp/divdf3.c: Likewise.
7601 * soft-fp/divsf3.c: Likewise.
7602 * soft-fp/divtf3.c: Likewise.
7603 * soft-fp/double.h: Likewise.
7604 * soft-fp/eqdf2.c: Likewise.
7605 * soft-fp/eqsf2.c: Likewise.
7606 * soft-fp/eqtf2.c: Likewise.
7607 * soft-fp/extenddftf2.c: Likewise.
7608 * soft-fp/extended.h: Likewise.
7609 * soft-fp/extendsfdf2.c: Likewise.
7610 * soft-fp/extendsftf2.c: Likewise.
7611 * soft-fp/extendxftf2.c: Likewise.
7612 * soft-fp/fixdfdi.c: Likewise.
7613 * soft-fp/fixdfsi.c: Likewise.
7614 * soft-fp/fixdfti.c: Likewise.
7615 * soft-fp/fixsfdi.c: Likewise.
7616 * soft-fp/fixsfsi.c: Likewise.
7617 * soft-fp/fixsfti.c: Likewise.
7618 * soft-fp/fixtfdi.c: Likewise.
7619 * soft-fp/fixtfsi.c: Likewise.
7620 * soft-fp/fixtfti.c: Likewise.
7621 * soft-fp/fixunsdfdi.c: Likewise.
7622 * soft-fp/fixunsdfsi.c: Likewise.
7623 * soft-fp/fixunsdfti.c: Likewise.
7624 * soft-fp/fixunssfdi.c: Likewise.
7625 * soft-fp/fixunssfsi.c: Likewise.
7626 * soft-fp/fixunssfti.c: Likewise.
7627 * soft-fp/fixunstfdi.c: Likewise.
7628 * soft-fp/fixunstfsi.c: Likewise.
7629 * soft-fp/fixunstfti.c: Likewise.
7630 * soft-fp/floatdidf.c: Likewise.
7631 * soft-fp/floatdisf.c: Likewise.
7632 * soft-fp/floatditf.c: Likewise.
7633 * soft-fp/floatsidf.c: Likewise.
7634 * soft-fp/floatsisf.c: Likewise.
7635 * soft-fp/floatsitf.c: Likewise.
7636 * soft-fp/floattidf.c: Likewise.
7637 * soft-fp/floattisf.c: Likewise.
7638 * soft-fp/floattitf.c: Likewise.
7639 * soft-fp/floatundidf.c: Likewise.
7640 * soft-fp/floatundisf.c: Likewise.
7641 * soft-fp/floatunditf.c: Likewise.
7642 * soft-fp/floatunsidf.c: Likewise.
7643 * soft-fp/floatunsisf.c: Likewise.
7644 * soft-fp/floatunsitf.c: Likewise.
7645 * soft-fp/floatuntidf.c: Likewise.
7646 * soft-fp/floatuntisf.c: Likewise.
7647 * soft-fp/floatuntitf.c: Likewise.
7648 * soft-fp/gedf2.c: Likewise.
7649 * soft-fp/gesf2.c: Likewise.
7650 * soft-fp/getf2.c: Likewise.
7651 * soft-fp/ledf2.c: Likewise.
7652 * soft-fp/lesf2.c: Likewise.
7653 * soft-fp/letf2.c: Likewise.
7654 * soft-fp/muldf3.c: Likewise.
7655 * soft-fp/mulsf3.c: Likewise.
7656 * soft-fp/multf3.c: Likewise.
7657 * soft-fp/negdf2.c: Likewise.
7658 * soft-fp/negsf2.c: Likewise.
7659 * soft-fp/negtf2.c: Likewise.
7660 * soft-fp/op-1.h: Likewise.
7661 * soft-fp/op-2.h: Likewise.
7662 * soft-fp/op-4.h: Likewise.
7663 * soft-fp/op-8.h: Likewise.
7664 * soft-fp/op-common.h: Likewise.
7665 * soft-fp/quad.h: Likewise.
7666 * soft-fp/single.h: Likewise.
7667 * soft-fp/soft-fp.h: Likewise.
7668 * soft-fp/subdf3.c: Likewise.
7669 * soft-fp/subsf3.c: Likewise.
7670 * soft-fp/subtf3.c: Likewise.
7671 * soft-fp/truncdfsf2.c: Likewise.
7672 * soft-fp/trunctfdf2.c: Likewise.
7673 * soft-fp/trunctfsf2.c: Likewise.
7674 * soft-fp/trunctfxf2.c: Likewise.
7675 * soft-fp/unorddf2.c: Likewise.
7676 * soft-fp/unordsf2.c: Likewise.
7677 * soft-fp/unordtf2.c: Likewise.
7678 * config/aarch64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING): New
7679 macro.
7680 * config/arm/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7681 Likewise.
7682 * config/c6x/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7683 Likewise.
7684 * config/cris/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7685 Likewise.
7686 * config/i386/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7687 Likewise.
7688 * config/ia64/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7689 Likewise.
7690 * config/lm32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7691 Likewise.
7692 * config/mips/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7693 Likewise.
7694 * config/moxie/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7695 Likewise.
7696 * config/nds32/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7697 Likewise.
7698 * config/nios2/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7699 Likewise.
7700 * config/rs6000/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7701 Likewise.
7702 * config/score/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7703 Likewise.
7704 * config/tilegx/sfp-machine32.h (_FP_TININESS_AFTER_ROUNDING):
7705 Likewise.
7706 * config/tilegx/sfp-machine64.h (_FP_TININESS_AFTER_ROUNDING):
7707 Likewise.
7708 * config/tilepro/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7709 Likewise.
7710
ce245ec6
AK
77112014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7712
7713 * config/s390/32/_fixdfdi.c: Throw invalid exception if number
7714 cannot be represented.
7715 * config/s390/32/_fixsfdi.c: Likewise.
7716 * config/s390/32/_fixtfdi.c: Likewise.
7717 * config/s390/32/_fixunsdfdi.c: Likewise.
7718 * config/s390/32/_fixunssfdi.c: Likewise.
7719 * config/s390/32/_fixunstfdi.c: Likewise.
7720
1c51d688
RS
77212014-02-07 Richard Sandiford <rdsandiford@googlemail.com>
7722
7723 * configure.ac (libgcc_cv_mips_hard_float): New.
7724 * configure: Regenerate.
7725 * config.host (mips*-*-*): Use t-hardfp-sfdf rather than
7726 t-softfp-sfdf for hard-float targets.
7727 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Reinstate.
7728 (softfp_float_modes, softfp_int_modes, softfp_extensions)
7729 (softfp_truncations, softfp_exclude_libgcc2): New.
7730 * config/t-hardfp: New file.
7731 * config/t-hardfp-sfdf: Likewise.
7732 * config/hardfp.c: Likewise.
7733
bbf391db
AK
77342014-02-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7735
7736 * config.host: Include t-floattodi also for s390x.
7737 * config/s390/32/_fixdfdi.c: Omit in 64 bit mode.
7738 * config/s390/32/_fixsfdi.c: Likewise.
7739 * config/s390/32/_fixtfdi.c: Likewise.
7740 * config/s390/32/_fixunsdfdi.c: Likewise.
7741 * config/s390/32/_fixunssfdi.c: Likewise.
7742 * config/s390/32/_fixunstfdi.c: Likewise.
7743
91da0481
RO
77442014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7745
7746 PR target/59788
7747 * config/t-slibgcc-sld (libgcc-unwind.map): New target.
7748 (install-libgcc-unwind-map-forbuild): New target.
7749 (all): Depend on install-libgcc-unwind-map-forbuild.
7750 (install-libgcc-unwind-map): New target.
7751 (install): Depend on install-libgcc-unwind-map.
7752
02b67731
SL
77532014-02-02 Sandra Loosemore <sandra@codesourcery.com>
7754
7755 * config/nios2/crti.S (_init): Initialize GOT pointer from
7756 _gp_got instead of _GLOBAL_OFFSET_TABLE_.
7757
1ea0a651
RS
77582014-02-02 Richard Sandiford <rdsandiford@googlemail.com>
7759
7760 * configure.ac: Check __mips64 when setting host_address.
7761 * configure: Regenerate.
7762 * config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
7763 mips/t-mips64 and t-softfp.
7764 (mips*-*-linux*): Don't add mips/t-tpbit.
7765 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
7766 (DPBIT, DPBIT_CFLAGS): Delete.
7767 * config/mips/sfp-machine.h: New file.
7768 * config/mips/t-mips64: Likewise.
7769 * config/mips/t-softfp-tf: Likewise.
7770 * config/mips/t-tpbit: Delete.
7771
f32b0061
MS
77722014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com>
7773
7774 * config/aarch64/sfp-machine.h (_FP_I_TYPE): Define
7775 as long long.
7776
a5420aa4
WL
77772014-01-25 Walter Lee <walt@tilera.com>
7778
7779 * config/tilepro/atomic.c: Include tconfig.h. Don't include
7780 config.h or system.h.
7781 (bool) Define.
7782
24534912
WL
77832014-01-25 Walter Lee <walt@tilera.com>
7784
7785 * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline.
7786 (post_atomic_barrier): Ditto.
7787 (__fetch_and_do): New macro.
7788 (__atomic_fetch_and_do): Use __fetch_and_do.
7789 (__sync_fetch_and_do): New macro.
7790 (__sync_fetch_and_add_4): New function.
7791 (__sync_fetch_and_sub_4): New function.
7792 (__sync_fetch_and_or_4): New function.
7793 (__sync_fetch_and_and_4): New function.
7794 (__sync_fetch_and_xor_4): New function.
7795 (__sync_fetch_and_nand_4): New function.
7796 (__sync_fetch_and_add_8): New function.
7797 (__sync_fetch_and_sub_8): New function.
7798 (__sync_fetch_and_or_8): New function.
7799 (__sync_fetch_and_and_8): New function.
7800 (__sync_fetch_and_xor_8): New function.
7801 (__sync_fetch_and_nand_8): New function.
7802 (__do_and_fetch): New macro.
7803 (__atomic_do_and_fetch): Use __do_and_fetch.
7804 (__sync_do_and_fetch): New macro.
7805 (__sync_add_and_fetch_4): New function.
7806 (__sync_sub_and_fetch_4): New function.
7807 (__sync_or_and_fetch_4): New function.
7808 (__sync_and_and_fetch_4): New function.
7809 (__sync_xor_and_fetch_4): New function.
7810 (__sync_nand_and_fetch_4): New function.
7811 (__sync_add_and_fetch_8): New function.
7812 (__sync_sub_and_fetch_8): New function.
7813 (__sync_or_and_fetch_8): New function.
7814 (__sync_and_and_fetch_8): New function.
7815 (__sync_xor_and_fetch_8): New function.
7816 (__sync_nand_and_fetch_8): New function.
7817 (__sync_exchange_methods): New macro.
7818 (__sync_val_compare_and_swap_4): New function.
7819 (__sync_bool_compare_and_swap_4): New function.
7820 (__sync_lock_test_and_test_4): New function.
7821 (__sync_val_compare_and_swap_8): New function.
7822 (__sync_bool_compare_and_swap_8): New function.
7823 (__sync_lock_test_and_test_8): New function.
7824 (__subword_cmpxchg_body): New macro.
7825 (__atomic_compare_exchange_1): Use __subword_cmpxchg_body.
7826 (__atomic_compare_exchange_2): Ditto.
7827 (__sync_subword_cmpxchg): New macro.
7828 (__sync_val_compare_and_swap_1): New function.
7829 (__sync_bool_compare_and_swap_1): New function.
7830 (__sync_val_compare_and_swap_2): New function.
7831 (__sync_bool_compare_and_swap_2): New function.
7832 (__atomic_subword): Rename to ...
7833 (__subword): ... New name.
7834 (__atomic_subword_fetch): Use __subword.
7835 (__sync_subword_fetch): New macro.
7836 (__sync_fetch_and_add_1): New function.
7837 (__sync_fetch_and_sub_1): New function.
7838 (__sync_fetch_and_or_1): New function.
7839 (__sync_fetch_and_and_1): New function.
7840 (__sync_fetch_and_xor_1): New function.
7841 (__sync_fetch_and_nand_1): New function.
7842 (__sync_fetch_and_add_2): New function.
7843 (__sync_fetch_and_sub_2): New function.
7844 (__sync_fetch_and_or_2): New function.
7845 (__sync_fetch_and_and_2): New function.
7846 (__sync_fetch_and_xor_2): New function.
7847 (__sync_fetch_and_nand_2): New function.
7848 (__sync_add_and_fetch_1): New function.
7849 (__sync_sub_and_fetch_1): New function.
7850 (__sync_or_and_fetch_1): New function.
7851 (__sync_and_and_fetch_1): New function.
7852 (__sync_xor_and_fetch_1): New function.
7853 (__sync_nand_and_fetch_1): New function.
7854 (__sync_add_and_fetch_2): New function.
7855 (__sync_sub_and_fetch_2): New function.
7856 (__sync_or_and_fetch_2): New function.
7857 (__sync_and_and_fetch_2): New function.
7858 (__sync_xor_and_fetch_2): New function.
7859 (__sync_nand_and_fetch_2): New function.
7860 (__atomic_subword_lock): Use __subword.
7861 (__sync_subword_lock): New macro.
7862 (__sync_lock_test_and_set_1): New function.
7863 (__sync_lock_test_and_set_2): New function.
7864
4d6d3bc5
WL
78652014-01-25 Walter Lee <walt@tilera.com>
7866
7867 * config/tilepro/atomic.c (BIT_OFFSET): Define.
7868 (__atomic_subword_cmpxchg): Use BIT_OFFSET.
7869 (__atomic_subword): Ditto.
7870
cbd9890e
WL
78712014-01-25 Walter Lee <walt@tilera.com>
7872
7873 * config/tilepro/atomic.c (__atomic_do_and_fetch): Add
7874 a prefix op argument.
7875 (__atomic_nand_fetch_4): Add prefix op.
7876 (__atomic_nand_fetch_8): Ditto.
7877
7d296953 78782014-01-21 Baruch Siach <barch@tkos.co.il>
800d8bd5
BS
7879
7880 * config.host (tmake_file): add t-slibgcc-libgcc for xtensa*-*-linux*.
7881
46dd1242
L
78822014-01-09 Rong Xu <xur@google.com>
7883
7884 * libgcov-driver.c (this_prg): make it local to save
7885 bss space.
7886 (gcov_exit_compute_summary): Ditto.
7887 (gcov_exit_merge_gcda): Ditto.
7888 (gcov_exit_merge_summary): Ditto.
7889 (gcov_exit_dump_gcov): Ditto.
7890
cc86234f 78912014-01-08 Rong Xu <xur@google.com>
40d6b753
RX
7892
7893 * libgcov-driver.c: Use libgcov.h.
7894 (buffer_fn_data): Use xmalloc instead of malloc.
7895 (gcov_exit_merge_gcda): Ditto.
7896 * libgcov-driver-system.c (allocate_filename_struct): Ditto.
7897 * libgcov.h: New common header files for libgcov-*.h.
7898 * libgcov-interface.c: Use libgcov.h
7899 * libgcov-merge.c: Ditto.
7900 * libgcov-profiler.c: Ditto.
7901 * Makefile.in: Add dependence to libgcov.h
7902
a02e7bdd
JM
79032014-01-02 Joseph Myers <joseph@codesourcery.com>
7904
7905 * config/rs6000/ibm-ldouble.c (__gcc_qdiv): Scale up arguments in
7906 case of small numerator and finite nonzero result.
7907
ac1dca3c
RS
79082014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7909
7910 Update copyright years
7911
f9030485
RS
79122014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
7913
7914 * config/arc/asm.h, config/arc/crtg.S, config/arc/crtgend.S,
7915 config/arc/crti.S, config/arc/crtn.S, config/arc/divtab-arc700.c,
7916 config/arc/dp-hack.h, config/arc/fp-hack.h,
7917 config/arc/ieee-754/adddf3.S, config/arc/ieee-754/addsf3.S,
7918 config/arc/ieee-754/arc600-dsp/divdf3.S,
7919 config/arc/ieee-754/arc600-dsp/divsf3.S,
7920 config/arc/ieee-754/arc600-dsp/muldf3.S,
7921 config/arc/ieee-754/arc600-dsp/mulsf3.S,
7922 config/arc/ieee-754/arc600-mul64/divdf3.S,
7923 config/arc/ieee-754/arc600-mul64/divsf3.S,
7924 config/arc/ieee-754/arc600-mul64/muldf3.S,
7925 config/arc/ieee-754/arc600-mul64/mulsf3.S,
7926 config/arc/ieee-754/arc600/divsf3.S,
7927 config/arc/ieee-754/arc600/mulsf3.S,
7928 config/arc/ieee-754/divdf3.S, config/arc/ieee-754/divsf3-stdmul.S,
7929 config/arc/ieee-754/divsf3.S, config/arc/ieee-754/divtab-arc-df.c,
7930 config/arc/ieee-754/divtab-arc-sf.c, config/arc/ieee-754/eqdf2.S,
7931 config/arc/ieee-754/eqsf2.S, config/arc/ieee-754/extendsfdf2.S,
7932 config/arc/ieee-754/fixdfsi.S, config/arc/ieee-754/fixsfsi.S,
7933 config/arc/ieee-754/fixunsdfsi.S, config/arc/ieee-754/floatsidf.S,
7934 config/arc/ieee-754/floatsisf.S, config/arc/ieee-754/floatunsidf.S,
7935 config/arc/ieee-754/gedf2.S, config/arc/ieee-754/gesf2.S,
7936 config/arc/ieee-754/gtdf2.S, config/arc/ieee-754/gtsf2.S,
7937 config/arc/ieee-754/muldf3.S, config/arc/ieee-754/mulsf3.S,
7938 config/arc/ieee-754/orddf2.S, config/arc/ieee-754/ordsf2.S,
7939 config/arc/ieee-754/truncdfsf2.S, config/arc/ieee-754/uneqdf2.S,
7940 config/arc/ieee-754/uneqsf2.S, config/arc/initfini.c,
7941 config/arc/lib1funcs.S, config/arc/t-arc, config/arc/t-arc-newlib,
7942 config/cris/umulsidi3.S, config/msp430/cmpsi2.S,
7943 config/msp430/epilogue.S, config/msp430/lib2bitcountHI.c,
7944 config/msp430/lib2divHI.c, config/msp430/lib2divQI.c,
7945 config/msp430/lib2divSI.c, config/msp430/lib2mul.c,
7946 config/msp430/msp430-divmod.h, config/msp430/msp430-mul.h,
7947 config/msp430/slli.S, config/msp430/srai.S, config/msp430/srli.S,
7948 config/rl78/divmodhi.S, config/rl78/divmodqi.S, config/rl78/divmodsi.S,
7949 config/rl78/signbit.S, vtv_end.c, vtv_end_preinit.c, vtv_start.c,
7950 vtv_start_preinit.c: Use the standard form for the copyright notice.
7951
e430824f
CLT
79522013-12-31 Sandra Loosemore <sandra@codesourcery.com>
7953 Chung-Lin Tang <cltang@codesourcery.com>
3d3b561f 7954 Based on patches from Altera Corporation
e430824f
CLT
7955
7956 * config.host (nios2-*-*,nios2-*-linux*): Add nios2 host cases.
7957 * config/nios2/lib2-nios2.h: New file.
7958 * config/nios2/lib2-divmod-hi.c: New file.
7959 * config/nios2/linux-unwind.h: New file.
7960 * config/nios2/lib2-divmod.c: New file.
7961 * config/nios2/linux-atomic.c: New file.
7962 * config/nios2/t-nios2: New file.
7963 * config/nios2/crti.asm: New file.
7964 * config/nios2/t-linux: New file.
7965 * config/nios2/lib2-divtable.c: New file.
7966 * config/nios2/lib2-mul.c: New file.
7967 * config/nios2/tramp.c: New file.
7968 * config/nios2/crtn.asm: New file.
7969
1879e97f
UB
79702013-12-26 Uros Bizjak <ubizjak@gmail.com>
7971
7972 * config/i386/cpuinfo.c (enum vendor_signatures): Remove.
7973 (__cpu_indicator_init): Use signature_INTEL_ebx and signature_AMD_ebx
7974 from cpuid.h to check vendor signatures.
7975
f4a4bdbb
GG
79762013-12-26 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com>
7977
c2e7e597 7978 * config/i386/cpuinfo.c (processor_types): Rename AMD cpu names
f4a4bdbb
GG
7979 AMD_BOBCAT to AMD_BTVER1 and AMD_JAGUAR to AMD_BTVER2.
7980 (get_amd_cpu): Likewise.
7981
8d2ae544
L
79822013-12-25 H.J. Lu <hongjiu.lu@intel.com>
7983
7984 * config/i386/cpuinfo.c (get_intel_cpu): Remove model 0x3f from
7985 Haswell.
7986
74924838
ASJ
79872013-12-25 Allan Sandfeld Jensen <sandfeld@kde.org>
7988 H.J. Lu <hongjiu.lu@intel.com>
7989
0bb52f25
L
7990 PR target/59422
7991 * config/i386/cpuinfo.c (enum processor_types): Add AMD_BOBCAT
74924838
ASJ
7992 and AMD_JAGUAR.
7993 (enum processor_subtypes): Add AMDFAM15H_BDVER3, AMDFAM15H_BDVER4,
7994 INTEL_COREI7_IVYBRIDGE and INTEL_COREI7_HASWELL.
7995 (enum processor_features): Add FEATURE_SSE4_A, FEATURE_FMA4,
7996 FEATURE_XOP and FEATURE_FMA.
7997 (get_amd_cpu): Handle AMD_BOBCAT, AMD_JAGUAR, AMDFAM15H_BDVER2 and
7998 AMDFAM15H_BDVER3.
7999 (get_intel_cpu): Handle INTEL_COREI7 and INTEL_COREI7_HASWELL.
0bb52f25 8000 (get_available_features): Handle FEATURE_FMA, FEATURE_SSE4_A,
74924838
ASJ
8001 FEATURE_FMA4 and FEATURE_XOP.
8002
d3c11974
L
80032013-12-23 H.J. Lu <hongjiu.lu@intel.com>
8004
8005 * config/i386/cpuinfo.c (processor_subtypes): Replace INTEL_ATOM,
8006 INTEL_SLM with INTEL_BONNELL, INTEL_SILVERMONT.
8007 (get_intel_cpu): Updated.
8008
064c4ff2
ZC
80092013-12-12 Zhenqiang Chen <zhenqiang.chen@arm.com>
8010
8011 * config.host (arm*-*-uclinux*): Move t-arm before t-bpabi.
8012
8b02e720
UB
80132013-12-09 Uros Bizjak <ubizjak@gmail.com>
8014
8015 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
1f71a3c3 8016 instructions when __SSE_MATH__ is defined.
8b02e720 8017
3fa2ccb4
RC
80182013-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
8019
8020 * config.host (microblaze-*-rtems*): New.
8021
ecd78fc9
KV
80222013-12-04 Kugan Vivekanandarajah <kuganv@linaro.org>
8023
8024 * config/arm/bpapi-lib.h (TARGET_HAS_NO_HW_DIVIDE): Define for
8025 architectures that do not have hardware divide instruction.
8026 i.e. architectures that do not define __ARM_ARCH_EXT_IDIV__.
8027
b21fbbd2
RS
80282013-12-04 Richard Sandiford <rdsandiford@googlemail.com>
8029
8030 * longlong.h: Delete (moved to include/).
8031
b03fb8c9
AZ
80322013-12-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8033
8034 * config/rs6000/ibm-ldouble.c (__gcc_qadd): Fix add
8035 of normal number and qNaN to not raise an inexact exception.
8036
3c716922
UB
80372013-11-28 Uros Bizjak <ubizjak@gmail.com>
8038
8039 * config/i386/32/sfp-machine.h (__FP_FRAC_ADDI_4): New macro.
8040
80412013-11-28 Matthew Leach <matthew.leach@arm.com>
cceeb9a9
ML
8042
8043 * config/aarch64/linux-unwind.h (aarch64_fallback_frame_state): Check
8044 for correct opcodes on BE.
8045
a3458d22
UB
80462013-11-27 Uros Bizjak <ubizjak@gmail.com>
8047
8048 * soft-fp/op-4.h: Update from glibc.
8049
30b8f78b
KV
80502013-11-27 Kugan Vivekanandarajah <kuganv@linaro.org>
8051
8052 * libgcc2.c (__udivmoddi4): Define new implementation when
8053 TARGET_HAS_NO_HW_DIVIDE is defined, for processors without any
8054 divide instructions.
8055
82552a29
OE
80562013-11-25 Oleg Endo <olegendo@gcc.gnu.org>
8057
8058 * config/sh/crt1.S (start): Don't do VBR_SETUP for SH2E.
8059
80e87457
RO
80602013-11-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8061
8062 * config/t-softfp (soft-fp-objects-base): New variable.
8063 (soft-fp-objects): Use it.
8064
44178879
DE
80652013-11-23 David Edelson <dje.gcc@gmail.com>
8066 Andrew Dixie <andrewd@gentrack.com>
8067
8068 PR target/33704
8069 * config/rs6000/aixinitfini.c: New file.
8070 * config/rs6000/t-aix-cxa (LIB2ADD_ST): Add aixinitfini.c.
8071 * config/rs6000/libgcc-aix-cxa.ver (GCC_4.9): Add libgcc initfini
8072 symbols.
8073
e5287671
YR
80742013-11-22 Yuri Rumyantsev <ysrumyan@gmail.com>
8075
a3458d22 8076 * config/i386/cpuinfo.c (get_intel_cpu): Add Silvermont cases.
e5287671 8077
867c8b03
JH
80782013-11-18 Jan Hubicka <jh@suse.cz>
8079
7f369373
JH
8080 * libgcov-driver.c (run_accounted): Make global level static.
8081 (gcov_exit_merge_summary): Silence warning; do not clear
8082 run_accounted here.
8083 (gcov_exit): Clear it here.
8084
1d0b3334
JH
8085 * libgcov-driver.c (gcov_exit_merge_summary): Fix setting
8086 run_accounted.
8087
867c8b03
JH
8088 * libgcov-driver.c (get_gcov_dump_complete): Update comments.
8089 (all_prg, crc32): Remove static vars.
8090 (gcov_exit_compute_summary): Rewrite to return crc32; do not clear
8091 all_prg.
8092 (gcov_exit_merge_gcda): Add crc32 parameter.
8093 (gcov_exit_merge_summary): Add crc32 and all_prg parameter;
8094 do not account run if it was already accounted.
8095 (gcov_exit_dump_gcov): Add crc32 and all_prg parameters.
8096 (gcov_exit): Initialize all_prg; update.
8097
66204992
AS
80982013-11-15 Andreas Schwab <schwab@linux-m68k.org>
8099
8100 * configure: Regenerate.
8101
b54214fe
UW
81022013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8103 Alan Modra <amodra@gmail.com>
8104
8105 * config/rs6000/linux-unwind.h (TOC_SAVE_SLOT): Define.
8106 (frob_update_context): Use it.
8107
81082013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8109 Alan Modra <amodra@gmail.com>
8110
8111 * config/rs6000/tramp.S [__powerpc64__ && _CALL_ELF == 2]:
8112 (trampoline_initial): Provide ELFv2 variant.
8113 (__trampoline_setup): Likewise.
8114
8115 * config/rs6000/linux-unwind.h (frob_update_context): Do not
8116 check for AIX indirect function call sequence if _CALL_ELF == 2.
8117
81182013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8119 Alan Modra <amodra@gmail.com>
8120
8121 * config/rs6000/linux-unwind.h (get_regs): Do not support
8122 old kernel versions if _CALL_ELF == 2.
8123 (frob_update_context): Do not support PLT stub variants only
8124 generated by old linkers if _CALL_ELF == 2.
8125
13e0981a
UW
81262013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8127 Alan Modra <amodra@gmail.com>
8128
8129 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Correct
8130 location of CR save area for 64-bit little-endian systems.
8131
1a80085d
EB
81322013-11-11 Eric Botcazou <ebotcazou@adacore.com>
8133
8134 * config.host (arm-wrs-vxworks): Replace arm/t-vxworks with arm/t-elf
8135 in tmake_file.
8136 * config/arm/t-vxworks: Delete.
8137
cabeea52
KT
81382013-11-10 Kai Tietz <ktietz@redhat.com>
8139
8140 * config/i386/cygming-crtbegin.c (__gcc_register_frame):
8141 Increment load-count on use of LIBGCC_SONAME DLL.
8142 (hmod_libgcc): New static variable to hold handle of
8143 LIBGCC_SONAME DLL.
8144 (__gcc_deregister_frame): Decrement load-count of
8145 LIBGCC_SONAME DLL.
8146
ac088ba1
BRF
81472013-11-08 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
8148
8149 * configure.ac (libgcc_cv_dfp): Extend check to probe fenv.h
8150 availability.
8151 * configure: Regenerate
8152
d59a8fcc
UB
81532013-11-07 Uros Bizjak <ubizjak@gmail.com>
8154
8155 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Handle
8156 FP_EX_DENORM. Store result to volatile location after SSE division
8157 to close interrupt window. Remove unneeded fwait after x87
8158 division since interrupt window will be closed by emitted fstp.
9de84e84 8159 Rewrite FP_EX_INEXACT handling.
d59a8fcc 8160
9954c743
JM
81612013-11-06 Joseph Myers <joseph@codesourcery.com>
8162
8163 * soft-fp/README: Update.
8164 * soft-fp/adddf3.c: Update from glibc.
8165 * soft-fp/addsf3.c: Likewise.
8166 * soft-fp/addtf3.c: Likewise.
8167 * soft-fp/divdf3.c: Likewise.
8168 * soft-fp/divsf3.c: Likewise.
8169 * soft-fp/divtf3.c: Likewise.
8170 * soft-fp/double.h: Likewise.
8171 * soft-fp/eqdf2.c: Likewise.
8172 * soft-fp/eqsf2.c: Likewise.
8173 * soft-fp/eqtf2.c: Likewise.
8174 * soft-fp/extenddftf2.c: Likewise.
8175 * soft-fp/extended.h: Likewise.
8176 * soft-fp/extendsfdf2.c: Likewise.
8177 * soft-fp/extendsftf2.c: Likewise.
8178 * soft-fp/extendxftf2.c: Likewise.
8179 * soft-fp/fixdfdi.c: Likewise.
8180 * soft-fp/fixdfsi.c: Likewise.
8181 * soft-fp/fixdfti.c: Likewise.
8182 * soft-fp/fixsfdi.c: Likewise.
8183 * soft-fp/fixsfsi.c: Likewise.
8184 * soft-fp/fixsfti.c: Likewise.
8185 * soft-fp/fixtfdi.c: Likewise.
8186 * soft-fp/fixtfsi.c: Likewise.
8187 * soft-fp/fixtfti.c: Likewise.
8188 * soft-fp/fixunsdfdi.c: Likewise.
8189 * soft-fp/fixunsdfsi.c: Likewise.
8190 * soft-fp/fixunsdfti.c: Likewise.
8191 * soft-fp/fixunssfdi.c: Likewise.
8192 * soft-fp/fixunssfsi.c: Likewise.
8193 * soft-fp/fixunssfti.c: Likewise.
8194 * soft-fp/fixunstfdi.c: Likewise.
8195 * soft-fp/fixunstfsi.c: Likewise.
8196 * soft-fp/fixunstfti.c: Likewise.
8197 * soft-fp/floatdidf.c: Likewise.
8198 * soft-fp/floatdisf.c: Likewise.
8199 * soft-fp/floatditf.c: Likewise.
8200 * soft-fp/floatsidf.c: Likewise.
8201 * soft-fp/floatsisf.c: Likewise.
8202 * soft-fp/floatsitf.c: Likewise.
8203 * soft-fp/floattidf.c: Likewise.
8204 * soft-fp/floattisf.c: Likewise.
8205 * soft-fp/floattitf.c: Likewise.
8206 * soft-fp/floatundidf.c: Likewise.
8207 * soft-fp/floatundisf.c: Likewise.
8208 * soft-fp/floatunditf.c: Likewise.
8209 * soft-fp/floatunsidf.c: Likewise.
8210 * soft-fp/floatunsisf.c: Likewise.
8211 * soft-fp/floatunsitf.c: Likewise.
8212 * soft-fp/floatuntidf.c: Likewise.
8213 * soft-fp/floatuntisf.c: Likewise.
8214 * soft-fp/floatuntitf.c: Likewise.
8215 * soft-fp/gedf2.c: Likewise.
8216 * soft-fp/gesf2.c: Likewise.
8217 * soft-fp/getf2.c: Likewise.
8218 * soft-fp/ledf2.c: Likewise.
8219 * soft-fp/lesf2.c: Likewise.
8220 * soft-fp/letf2.c: Likewise.
8221 * soft-fp/muldf3.c: Likewise.
8222 * soft-fp/mulsf3.c: Likewise.
8223 * soft-fp/multf3.c: Likewise.
8224 * soft-fp/negdf2.c: Likewise.
8225 * soft-fp/negsf2.c: Likewise.
8226 * soft-fp/negtf2.c: Likewise.
8227 * soft-fp/op-1.h: Likewise.
8228 * soft-fp/op-2.h: Likewise.
8229 * soft-fp/op-4.h: Likewise.
8230 * soft-fp/op-8.h: Likewise.
8231 * soft-fp/op-common.h: Likewise.
8232 * soft-fp/quad.h: Likewise.
8233 * soft-fp/single.h: Likewise.
8234 * soft-fp/soft-fp.h: Likewise.
8235 * soft-fp/subdf3.c: Likewise.
8236 * soft-fp/subsf3.c: Likewise.
8237 * soft-fp/subtf3.c: Likewise.
8238 * soft-fp/truncdfsf2.c: Likewise.
8239 * soft-fp/trunctfdf2.c: Likewise.
8240 * soft-fp/trunctfsf2.c: Likewise.
8241 * soft-fp/trunctfxf2.c: Likewise.
8242 * soft-fp/unorddf2.c: Likewise.
8243 * soft-fp/unordsf2.c: Likewise.
8244 * soft-fp/unordtf2.c: Likewise.
8245
02ac9503
UB
82462013-11-05 Uros Bizjak <ubizjak@gmail.com>
8247
8248 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Define.
8249 (_FP_MUL_MEAT_D): Ditto.
8250 (_FP_DIV_MEAT_S): Ditto.
8251 (_FP_DIV_MEAT_D): Ditto.
8252 * config.host (i[34567]86-*-rtems*): Remove i386/t-softfp, add
8253 t-softfp-sfdf and t-softfp to tmake_file.
8254
61221141
UB
82552013-11-03 Uros Bizjak <ubizjak@gmail.com>
8256
8257 * config/i386/crtfastmath.c: Compile only for !_SOFT_FLOAT.
8258 * config/i386/crtprec.c: Ditto.
8259
9304f876
CJW
82602013-10-31 Chung-Ju Wu <jasonwucj@gmail.com>
8261 Shiva Chen <shiva0217@gmail.com>
8262
8263 * config.host (nds32*-elf*): Add nds32 target.
8264 * config/nds32 : New directory and files.
8265
0e499e75
HPN
82662013-10-16 Hans-Peter Nilsson <hp@axis.com>
8267
8268 For CRIS ports, switch to soft-fp. Improve arit.c and longlong.h.
8269 * config.host (cpu_type) <Setting default>: Add entry for
8270 crisv32-*-*.
8271 (tmake_file) <crisv32-*-elf, cris-*-elf, cris-*-linux*>
8272 <crisv32-*-linux*>: Adjust.
8273 * longlong.h: Wrap the whole CRIS section in a single
8274 defined(__CRIS__) conditional. Add comment about add_ssaaaa
8275 and sub_ddmmss.
8276 (COUNT_LEADING_ZEROS_0): Define when count_leading_zeros is
8277 defined.
8278 [__CRIS__] (__umulsidi3): Define.
8279 [__CRIS__] (umul_ppmm): Define in terms of __umulsidi3.
8280 * config/cris/sfp-machine.h: New file.
8281 * config/cris/umulsidi3.S: New file.
8282 * config/cris/t-elfmulti (LIB2ADD_ST): Add umulsidi3.S.
8283 * config/cris/arit.c (SIGNMULT): New macro.
8284 (__Div, __Mod): Use SIGNMULT instead of naked multiplication.
8285 * config/cris/mulsi3.S: Tweak to avoid redundant register-copying;
8286 saving 3 out of originally 33 cycles from the fastest
8287 path, 3 out of 54 from the medium path and one from the longest
8288 path. Improve comments.
8289
16022041
RS
82902013-10-15 Richard Sandiford <rdsandiford@googlemail.com>
8291
8292 * sync.c: Remove static aliases and define each function directly
8293 under its real name.
8294
69778659
JDA
82952013-10-02 John David Anglin <danglin@gcc.gnu.org>
8296
8297 * config.host (hppa*64*-*-linux*): Define extra_parts.
8298 (hppa*-*-linux*): Likewise.
8299
2deaf8b0
JR
83002013-10-02 Joern Rennecke <joern.rennecke@embecosm.com>
8301
8302 * config/arc/crtgend.S: Add 2013 to Copyright years.
8303 * config/arc/gmon/atomic.h: Likewise.
8304 * config/arc/gmon/auxreg.h: Likewise.
8305 * config/arc/gmon/sys/gmon_out.h: Likewise.
8306 * config/arc/gmon/sys/gmon.h: Likewise.
8307 * config/arc/gmon/prof-freq.c: Likewise.
8308 * config/arc/gmon/mcount.c: Likewise.
8309 * config/arc/gmon/prof-freq-stub.S: Likewise.
8310 * config/arc/gmon/gmon.c: Likewise.
8311 * config/arc/gmon/machine-gmon.h: Likewise.
8312 * config/arc/gmon/profil.S: Likewise.
8313 * config/arc/gmon/dcache_linesz.S: Likewise.
8314 * config/arc/crtg.S: Likewise.
8315 * config/arc/ieee-754/arc600-mul64/divsf3.S: Likewise.
8316 * config/arc/ieee-754/arc600-mul64/divdf3.S: Likewise.
8317 * config/arc/ieee-754/adddf3.S: Likewise.
8318 * config/arc/ieee-754/truncdfsf2.S: Likewise.
8319 * config/arc/ieee-754/fixsfsi.S: Likewise.
8320 * config/arc/ieee-754/gtsf2.S: Likewise.
8321 * config/arc/ieee-754/floatsisf.S: Likewise.
8322 * config/arc/ieee-754/arc600-dsp/divsf3.S: Likewise.
8323 * config/arc/ieee-754/arc600-dsp/divdf3.S: Likewise.
8324 * config/arc/ieee-754/arc600-dsp/mulsf3.S: Likewise.
8325 * config/arc/ieee-754/fixdfsi.S: Likewise.
8326 * config/arc/ieee-754/addsf3.S: Likewise.
8327 * config/arc/ieee-754/gesf2.S: Likewise.
8328 * config/arc/ieee-754/floatsidf.S: Likewise.
8329 * config/arc/ieee-754/extendsfdf2.S: Likewise.
8330 * config/arc/ieee-754/divtab-arc-df.c: Likewise.
8331 * config/arc/ieee-754/gtdf2.S: Likewise.
8332 * config/arc/ieee-754/fixunsdfsi.S: Likewise.
8333 * config/arc/ieee-754/uneqdf2.S: Likewise.
8334 * config/arc/ieee-754/divsf3-stdmul.S: Likewise.
8335 * config/arc/ieee-754/uneqsf2.S: Likewise.
8336 * config/arc/ieee-754/arc-ieee-754.h: Likewise.
8337 * config/arc/ieee-754/divtab-arc-sf.c: Likewise.
8338 * config/arc/ieee-754/eqdf2.S: Likewise.
8339 * config/arc/ieee-754/ordsf2.S: Likewise.
8340 * config/arc/ieee-754/divsf3.S: Likewise.
8341 * config/arc/ieee-754/divdf3.S: Likewise.
8342 * config/arc/ieee-754/floatunsidf.S: Likewise.
8343 * config/arc/ieee-754/orddf2.S: Likewise.
8344 * config/arc/ieee-754/eqsf2.S: Likewise.
8345 * config/arc/ieee-754/gedf2.S: Likewise.
8346 * config/arc/crtn.S: Likewise.
8347 * config/arc/crti.S: Likewise.
8348 * config/arc/t-arc700-uClibc: Likewise.
8349 * config/arc/asm.h: Likewise.
8350 * config/arc/libgcc-excl.ver: Likewise.
8351 * config/arc/t-arc-newlib: Likewise.
8352 * config/arc/divtab-arc700.c: Likewise.
8353 * config/arc/initfini.c: Likewise.
8354 * config/arc/fp-hack.h: Likewise.
8355
c8e318b0
JR
83562013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8357 Diego Novillo <dnovillo@google.com>
8358
8359 * config/arc/gmon/mcount.c (_MCOUNT_DECL): Comment typo fix.
a07c5b47
JR
8360 * config/arc/ieee-754/arc600-dsp/muldf3.S (.Linf_denorm): Likewise.
8361 * config/arc/ieee-754/arc600-mul64/muldf3.S (.Linf_denorm): Likewise.
8362 * config/arc/ieee-754/muldf3.S (.Linf_denorm): Likewise.
c8e318b0 8363
d38a64b4
JR
83642013-10-01 Joern Rennecke <joern.rennecke@embecosm.com>
8365 Brendan Kehoe <brendan@zen.org>
8366 Simon Cook <simon.cook@embecosm.com>
8367
8368 * config.host (arc*-*-elf*, arc*-*-linux-uclibc*): New configurations.
8369 * config/arc: New directory.
8370 * longlong.h [__arc__] (umul_ppmm): Remove.
8371 [__arc__] (__umulsidi3): Define.
8372 [__arc__ && __ARC_NORM__] (count_leading_zeroes): Define.
8373 [__arc__ && __ARC_NORM__] (COUNT_LEADING_ZEROS_0): Likewise.
8374
dff717d2
JC
83752013-09-17 Jacek Caban <jacek@codeweavers.com>
8376
8377 * config/i386/gthr-win32.c: CreateSemaphoreW instead of
8378 CreateSemaphoreA.
8379 * config/i386/gthr-win32.h: Likewise.
8380
5c0029de
DD
83812013-09-16 DJ Delorie <dj@redhat.com>
8382
844ad6c6 8383 * config/rl78/vregs.h: Add G10 register definitions.
5c0029de
DD
8384 * config/rl78/lib2mul.c: Enable for RL78/G10.
8385 * config/rl78/lib2div.c: Likewise.
8386 * config/rl78/lshrsi3.S: Use vregs.h.
8387 * config/rl78/cmpsi2.S: Likewise.
8388 * config/rl78/trampoline.S: Likewise.
8389 * config/rl78/mulsi2.S: Likewise. Disable for RL78/G10.
8390
ceb2fc49
DD
83912013-09-14 DJ Delorie <dj@redhat.com>
8392 Nick Clifton <nickc@redhat.com>
8393
8394 * config/rl78/mulsi3.S: Remove a few unneeded moves and branches.
8395 * config/rl78/vregs.h: New.
8396 * config/rl78/signbit.S: New file. Implements signbit function.
8397 * config/rl78/divmodsi.S: New.
8398 * config/rl78/divmodhi.S: New.
8399 * config/rl78/divmodqi.S: New.
8400 * config/rl78/t-rl78: Build them here...
8401 * config/rl78/lib2div.c: ...but not here.
8402
f6a83b4a
DD
84032013-09-12 DJ Delorie <dj@redhat.com>
8404
8405 * config.host (msp*-*-elf): New.
8406 * config/msp430/: New port.
8407
9107b096
IS
84082013-08-18 Iain Sandoe <iain@codesourcery.com>
8409
8410 PR gcov-profile/58127
8411 * libgcov.c (__gcov_indirect_call_callee): Don't make this a
8412 __thread var for emulated TLS.
8413 (__gcov_indirect_call_counters): Likewise.
8414
0f9bde1f 84152013-08-16 Maciej W. Rozycki <macro@codesourcery.com>
61221141 8416 Catherine Moore <clm@codesourcery.com>
7d296953 8417 Richard Sandiford <rdsandiford@googlemail.com>
0f9bde1f
MR
8418
8419 * config/mips/mips16.S (CE_STARTFN, CE_ENDFN): New macros.
8420 (RET_FUNCTION): Use them in place of STARTFN and ENDFN.
8421 (CALL_STUB_NO_RET): Likewise.
8422 (CALL_STUB_RET): Likewise.
8423 * config/mips/libgcc-mips16.ver: Remove __mips16_call_stub and
8424 __mips16_ret call/return stub symbols.
8425 * config.host <mips*-*-linux>: For non-R5900 add t-slibgcc-libgcc
8426 to tmake_file.
8427
2dc14aac
MR
84282013-08-13 Maciej W. Rozycki <macro@codesourcery.com>
8429
8430 * config.host <mips*-*-linux*>: Remove a stray comment.
8431
748d71f3
JH
84322013-08-10 Jan Hubicka <jh@suse.cz>
8433
8434 Work around binutils PR14342
8435 * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol.
8436 * libgcov.c (L_gcov_indirect_call_profiler): Restore original API.
8437 (L_gcov_indirect_call_profiler_v2): New.
8438
2fa3d31b
JH
84392013-08-06 Jan Hubicka <jh@suse.cz>
8440
8441 * libgcov.c (__gcov_indirect_call_callee,
8442 __gcov_indirect_call_counters): New global vars.
8443 (__gcov_indirect_call_profiler): replace by ...
8444 (__gcov_indirect_call_profiler_v2) ... this one.
8445
2077db1b
CT
84462013-08-06 Caroline Tice <cmtice@google.com>
8447
d0595b65 8448 * config.host (extra_parts): Add vtv_start.o, vtv_end.o
2077db1b 8449 vtv_start_preinit.o and vtv_end_preinit.o.
d0595b65
CT
8450 * configure.ac: Add code to check/set enable_vtable_verify.
8451 * Makefile.in: Add rules to build vtv_*.o, if enable_vtable_verify is
2077db1b 8452 true.
d0595b65
CT
8453 * vtv_start_preinit.c: New file.
8454 * vtv_end_preinit.c: New file.
8455 * vtv_start.c: New file.
8456 * vtv_end.c: New file.
8457 * configure: Regenerated.
2077db1b 8458
46549c20
MK
84592013-08-01 Maxim Kuvyrkov <maxim@kugelworks.com>
8460
8461 * config/aarch64/sfp-machine.h, config/aarch64/sync-cache.c,
8462 * config/i386/cpuinfo.c, config/ia64/unwind-ia64.h,
8463 * config/mips/vr4120-div.S: Fix license from GPL-3.0+ to
8464 GPL-3.0-with-GCC-exception.
8465
72be589b
MR
84662013-07-30 Maciej W. Rozycki <macro@codesourcery.com>
8467
8468 * config/mips/mips16.S (DELAYf): Alias to DELAYt for the MIPS IV
8469 ISA and up.
8470
902a3faf
AK
84712013-07-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8472
8473 * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
8474 mapping for FPRs when creating the fallback framestate.
8475
02371798
GJL
84762013-07-19 Georg-Johann Lay <avr@gjlay.de>
8477
8478 PR target/57516
8479 * config/avr/lib1funcs-fixed.S (__roundqq3, __rounduqq3)
8480 (__round_s2_const, __round_u2_const)
8481 (__round_s4_const, __round_u4_const, __round_x8):
8482 Saturate result if addition result cannot be represented.
8483
ab0e8379
MK
84842013-07-15 Matthias Klose <doko@ubuntu.com>
8485
8486 * libgcc2.c: Don't include <limits.h>.
8487
7da38058
JJ
84882013-07-09 Janis Johnson <janisjo@codesourcery.com>
8489
8490 * config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
8491
1f6eac90
JJ
84922013-07-06 Jakub Jelinek <jakub@redhat.com>
8493
8494 PR target/29776
8495 * libgcc2.c (__floattisf): Avoid undefined signed overflow.
8496
4ea3d774
JJ
84972013-06-28 Jakub Jelinek <jakub@redhat.com>
8498
8499 PR middle-end/36041
8500 * libgcc2.c (POPCOUNTCST2, POPCOUNTCST4, POPCOUNTCST8, POPCOUNTCST):
8501 Define.
8502 (__popcountSI2): For __SIZEOF_INT__ > 2 targets use arithmetics
8503 instead of table lookups.
8504 (__popcountDI2): Likewise.
8505
9d2cdf25
CJW
85062013-06-25 Chung-Ju Wu <jasonwucj@gmail.com>
8507
8508 * Makefile.in (clean, distclean): Remove auto-target.h and stamp-h
8509 correctly.
8510
fa1e55b0
JM
85112013-06-21 Joseph Myers <joseph@codesourcery.com>
8512
8513 PR other/53317
8514 * soft-fp/adddf3.c: Update from glibc.
8515 * soft-fp/addsf3.c: Likewise.
8516 * soft-fp/addtf3.c: Likewise.
8517 * soft-fp/divdf3.c: Likewise.
8518 * soft-fp/divsf3.c: Likewise.
8519 * soft-fp/divtf3.c: Likewise.
8520 * soft-fp/double.h: Likewise.
8521 * soft-fp/eqdf2.c: Likewise.
8522 * soft-fp/eqsf2.c: Likewise.
8523 * soft-fp/eqtf2.c: Likewise.
8524 * soft-fp/extenddftf2.c: Likewise.
8525 * soft-fp/extended.h: Likewise.
8526 * soft-fp/extendsfdf2.c: Likewise.
8527 * soft-fp/extendsftf2.c: Likewise.
8528 * soft-fp/fixdfdi.c: Likewise.
8529 * soft-fp/fixdfsi.c: Likewise.
8530 * soft-fp/fixsfdi.c: Likewise.
8531 * soft-fp/fixsfsi.c: Likewise.
8532 * soft-fp/fixtfdi.c: Likewise.
8533 * soft-fp/fixtfsi.c: Likewise.
8534 * soft-fp/fixunsdfdi.c: Likewise.
8535 * soft-fp/fixunsdfsi.c: Likewise.
8536 * soft-fp/fixunssfdi.c: Likewise.
8537 * soft-fp/fixunssfsi.c: Likewise.
8538 * soft-fp/fixunstfdi.c: Likewise.
8539 * soft-fp/fixunstfsi.c: Likewise.
8540 * soft-fp/floatdidf.c: Likewise.
8541 * soft-fp/floatdisf.c: Likewise.
8542 * soft-fp/floatditf.c: Likewise.
8543 * soft-fp/floatsidf.c: Likewise.
8544 * soft-fp/floatsisf.c: Likewise.
8545 * soft-fp/floatsitf.c: Likewise.
8546 * soft-fp/floatundidf.c: Likewise.
8547 * soft-fp/floatundisf.c: Likewise.
8548 * soft-fp/floatunditf.c: Likewise.
8549 * soft-fp/floatunsidf.c: Likewise.
8550 * soft-fp/floatunsisf.c: Likewise.
8551 * soft-fp/floatunsitf.c: Likewise.
8552 * soft-fp/gedf2.c: Likewise.
8553 * soft-fp/gesf2.c: Likewise.
8554 * soft-fp/getf2.c: Likewise.
8555 * soft-fp/ledf2.c: Likewise.
8556 * soft-fp/lesf2.c: Likewise.
8557 * soft-fp/letf2.c: Likewise.
8558 * soft-fp/muldf3.c: Likewise.
8559 * soft-fp/mulsf3.c: Likewise.
8560 * soft-fp/multf3.c: Likewise.
8561 * soft-fp/negdf2.c: Likewise.
8562 * soft-fp/negsf2.c: Likewise.
8563 * soft-fp/negtf2.c: Likewise.
8564 * soft-fp/op-1.h: Likewise.
8565 * soft-fp/op-2.h: Likewise.
8566 * soft-fp/op-4.h: Likewise.
8567 * soft-fp/op-8.h: Likewise.
8568 * soft-fp/op-common.h: Likewise.
8569 * soft-fp/quad.h: Likewise.
8570 * soft-fp/single.h: Likewise.
8571 * soft-fp/soft-fp.h: Likewise.
8572 * soft-fp/subdf3.c: Likewise.
8573 * soft-fp/subsf3.c: Likewise.
8574 * soft-fp/subtf3.c: Likewise.
8575 * soft-fp/truncdfsf2.c: Likewise.
8576 * soft-fp/trunctfdf2.c: Likewise.
8577 * soft-fp/trunctfsf2.c: Likewise.
8578 * soft-fp/unorddf2.c: Likewise.
8579 * soft-fp/unordsf2.c: Likewise.
8580 * soft-fp/unordtf2.c: Likewise.
8581 * config/aarch64/sfp-machine.h (_FP_QNANNEGATEDP): Define to 0.
8582 * config/arm/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8583 * config/c6x/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8584 * config/i386/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8585 * config/ia64/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8586 * config/lm32/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8587 * config/moxie/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8588 * config/rs6000/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8589 * config/score/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8590 * config/tilegx/sfp-machine32.h (_FP_QNANNEGATEDP): Likewise.
8591 * config/tilegx/sfp-machine64.h (_FP_QNANNEGATEDP): Likewise.
8592 * config/tilepro/sfp-machine.h (_FP_QNANNEGATEDP): Likewise.
8593
0de86a92
JU
85942013-06-16 JĂĽrgen Urban <JuergenUrban@gmx.de>
8595
8596 * config/mips/lib2funcs.c: New file.
8597 * config/mips/t-mips (LIB2ADD_ST): Add it.
8598
0d008882
OE
85992013-06-09 Oleg Endo <olegendo@gcc.gnu.org>
8600
8601 PR target/6526
8602 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Do not change bits
8603 other than FPSCR.PR and FPSCR.SZ. Add SH4A implementation.
8604
776434d1
WL
86052013-06-08 Walter Lee <walt@tilera.com>
8606
8607 * config/tilepro/atomic.h: Don't include stdint.h or features.h.
8608 Replace int64_t with long long. Add __extension__ where
8609 appropriate.
8610 * config/tilepro/atomic.c: Include config.h.
8611
6ab3ebb4
DR
86122013-06-06 Douglas B Rupp <rupp@adacore.com>
8613
8614 * config.host (arm-wrs-vxworks): Configure with other soft float.
8615
107eea2c
JU
86162013-06-04 JĂĽrgen Urban <JuergenUrban@gmx.de>
8617
8618 * config.host (mipsr5900-*-elf*, mipsr5900el-*-elf*, mips64r5900-*-elf*)
8619 (mips64r5900el-*-elf*): New configurations.
8620
5cc19c62
AM
86212013-06-04 Alan Modra <amodra@gmail.com>
8622
8623 * config/rs6000/ibm-ldouble.c: Enable for little-endian.
8624
0f1d3965
YR
86252013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
8626
8627 * config/i386/cpuinfo.c (INTEL_SLM): New enum value.
8628
0ba045df
EB
86292013-05-28 Eric Botcazou <ebotcazou@adacore.com>
8630
8631 * config/sparc/sol2-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Do not set
8632 fs->signal_frame for SIGFPE raised for IEEE-754 exceptions.
8633 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Likewise.
8634
49dcafd4
EB
86352013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8636
8637 * config.host (powerpc-*-elf*): Add rs6000/t-savresfgpr to tmake_file.
8638 (powerpc-wrs-vxworks): Likewise.
8639
4fcb5d87
EB
86402013-05-22 Eric Botcazou <ebotcazou@adacore.com>
8641
8642 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Do it for
8643 signal frames as well.
8644 (MD_FALLBACK_FRAME_STATE_FOR): Do minor cleanups throughout and add the
8645 STACK_BIAS to the CFA offset.
8646
0ec33224
RH
86472013-05-17 Richard Henderson <rth@redhat.com>
8648
8649 PR target/49146
8650 * unwind-dw2.c (UNWIND_COLUMN_IN_RANGE): New macro.
8651 (execute_cfa_program): Use it when storing to fs->regs.
8652
492a8029
KT
86532013-05-08 Kai Tietz <ktietz@redhat.com>
8654
8655 * config/i386/cygming-crtbegin.c (__register_frame_info): Make weak.
8656 (__deregister_frame_info): Likewise.
8657
701e2f0a
TS
86582013-05-06 Thomas Schwinge <thomas@codesourcery.com>
8659
e5123d08
TS
8660 * fp-bit.c (unpack_d, pack_d): Properly preserve and restore a
8661 NaN's payload.
8662
701e2f0a
TS
8663 * fp-bit.h [FLOAT] (QUIET_NAN): Correct value.
8664
b9a7eb5d
AM
86652013-04-25 Alan Modra <amodra@gmail.com>
8666
8667 * config.host: Match little-endian powerpc-linux.
8668
dfe192f5
YZ
86692013-04-19 Yufeng Zhang <yufeng.zhang@arm.com>
8670
8671 * config/aarch64/sfp-machine.h (_FP_W_TYPE): Change to define
8672 as 'unsigned long long' instead of 'unsigned long'.
8673 (_FP_WS_TYPE): Change to define as 'signed long long' instead of
8674 'signed long'.
8675
b6b9af2f
JB
86762013-04-10 Julian Brown <julian@codesourcery.com>
8677
8678 * config/arm/linux-atomic.c (SUBWORD_SYNC_OP, SUBWORD_VAL_CAS)
8679 (SUBWORD_TEST_AND_SET): Use signed char/short types instead of
8680 unsigned char/unsigned short.
8681 (__sync_val_compare_and_swap_{1,2}): Handle signed argument.
8682
ecabdd00
JDA
86832013-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8684
8685 PR other/55274
8686 * config/t-slibgcc-hpux (SHLIB_MAPFILES): Define.
8687
34652576
MI
86882013-04-04 Meador Inge <meadori@codesourcery.com>
8689
8690 * config/arm/bpabi.S (aeabi_ldivmod): Add DWARF information for
8691 computing the location of the link register.
8692 (aeabi_uldivmod): Ditto.
8693
e9fd8c19
KT
86942013-03-27 Kai Tietz <ktietz@redhat.com>
8695
8696 * config.host: Add support for cygwin x64 target.
8697 * configure: Regenerated.
8698
a6406324
WL
86992013-03-26 Walter Lee <walt@tilera.com>
8700
8701 * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables
8702 -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable.
8703
55446c7e
KT
87042013-03-25 Kai Tietz <ktietz@redhat.com>
8705
8706 * config/i386/cygwin.S: Replace use of _WIN64 by __x86_64__.
8707
d2ae19d9
RM
87082013-03-20 Robert Mason <rbmj@verizon.net>
8709
8710 * config/vxlib-tls.c (__gthread_get_tsd_data,)
8711 (__gthread_set_tsd_data, __gthread_enter_tsd_dtor_context,)
8712 (__gthread_leave_tsd_dtor_context): Add prototypes.
8713 (tls_delete_hook): Update.
8714
22c4c869
CM
87152013-03-20 Catherine Moore <clm@codesourcery.com>
8716 Joseph Myers <joseph@codesourcery.com>
8717 Chao-ying Fu <fu@mips.com>
8718
8719 * config/mips/mips16.S: Don't build for microMIPS.
8720 * config/mips/linux-unwind.h: Handle microMIPS frame.
8721 * config/mips/crtn.S (fini, init): New labels.
8722
fbd28bc3
JJ
87232013-03-14 Jakub Jelinek <jakub@redhat.com>
8724
8725 PR tree-optimization/53265
8726 * unwind-dw2.c (execute_cfa_program): Avoid
8727 -Waggressive-array-optimizations warnings for DW_CFA_GNU_window_save
8728 on targets with DWARF_FRAME_REGISTERS < 32.
8729
decc676e
OE
87302013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
8731
8732 PR target/49880
8733 * config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
8734 (sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
8735
84ea618a
ST
87362013-03-07 Sriraman Tallam <tmsriram@google.com>
8737
8738 * config/i386/cpuinfo.c (get_intel_cpu): Fix cpuid codes for
8739 sandybridge processors.
8740
8f6d1c86
OE
87412013-03-06 Oleg Endo <olegendo@gcc.gnu.org>
8742
8743 PR target/56529
8744 * config/sh/lib1funcs.S (udivsi3_i4i, sdivsi3_i4i): Add __SH2A__ to
8745 inclusion list.
8746
ecdbd01a 87472013-03-04 Edgar E. Iglesias <edgar.iglesias@gmail.com>
409b1de4
EI
8748
8749 * config/microblaze/crti.S: Setup stack protection at entry
8750
0b4ce21b
GJL
87512013-03-04 Georg-Johann Lay <avr@gjlay.de>
8752
8753 * config/avr/lib1funcs.S (__ashrdi3, __lshrdi3, __ashldi3)
8754 (__rotldi3): Shift bytewise if applicable.
8755
b7c3f1ca
JG
87562013-03-01 James Greenhalgh <james.greenhalgh@arm.com>
8757
8758 * config/aarch64/sync-cache.c
8759 (__aarch64_sync_cache_range): Silence warnings.
8760
6d65e8f1
CM
87612013-02-25 Catherine Moore <clm@codesourcery.com>
8762
8763 Revert:
8764 2013-02-24 Catherine Moore <clm@codesourcery.com>
8765 Joseph Myers <joseph@codesourcery.com>
8766 Chao-ying Fu <fu@mips.com>
8767
8768 * config/mips/mips16.S: Don't build for microMIPS.
8769 * config/mips/linux-unwind.h: Handle microMIPS frame.
8770 * config/mips/crtn.S (fini, init): New labels.
8771
6941b508
CM
87722013-02-24 Catherine Moore <clm@codesourcery.com>
8773 Joseph Myers <joseph@codesourcery.com>
8774 Chao-ying Fu <fu@mips.com>
8775
8776 * config/mips/mips16.S: Don't build for microMIPS.
8777 * config/mips/linux-unwind.h: Handle microMIPS frame.
8778 * config/mips/crtn.S (fini, init): New labels.
8779
7c422dbb 87802012-02-19 Edgar E. Iglesias <edgar.iglesias@gmail.com>
cc86234f 8781 * config/microblaze/modsi3.S (modsi3): Fix case with 0x80000000
7c422dbb
EI
8782 as dividend.
8783
110207ad
AM
87842013-02-16 Alan Modra <amodra@gmail.com>
8785
8786 PR target/55431
8787 * config/rs6000/linux-unwind.h (ppc_linux_aux_vector): Delete.
8788 (ppc_fallback_frame_state): Always set up save locations for fp
8789 and altivec. Don't bother with non-callee-saved regs, r0-r13
8790 except for r2 on ppc64, fr0-fr13, v0-v19, vscr.
8791
e68a4ef6
GJL
87922013-02-12 Georg-Johann Lay <avr@gjlay.de>
8793
8794 PR target/54222
8795 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add: _usmulUHA, _usmulUSA,
8796 _ssmulHA, _ssmulSA.
8797 (LIB1ASMFUNCS): Add: _muldi3_6, _mulsidi3, _umulsidi3, _usmuluha3,
8798 _ssmulha3, _usmulusa3, _ssmulsa3.
8799 * config/avr/lib1funcs.S (__muldi3_6): Break out of __muldi3.
8800 (__muldi3): XCALL __muldi3_6 instead of rcall.
8801 (__umulsidi3, __mulsidi3): New functions.
8802 (do_prologue_saves, do_epilogue_restores): New .macros.
8803 (__divdi3_moddi3): Use them.
8804 * config/avr/lib1funcs-fixed.S (__usmuluha3, __ssmulha3)
8805 (__usmulusa3, __ssmulsa3): New functions.
8806
6c59ffd1
IS
88072013-02-11 Iain Sandoe <iain@codesourcery.com>
8808 Jack Howarth <howarth@bromo.med.uc.edu>
8809 Patrick Marlier <patrick.marlier@gmail.com>
8810
8811 PR libitm/55693
8812 * config/darwin-crt-tm.c: Remove dummy functions hack.
8813
85d768f3
GJL
88142013-02-08 Georg-Johann Lay <avr@gjlay.de>
8815
8816 PR target/54222
8817 * config/avr/lib2funcs.c: New C sources for modules for libgcc.a.
8818 * config/avr/lib2-object.mk: New iterator to build objects from it.
8819 * config/avr/t-avr: Iterate lib2-object.mk to build objects from
8820 lib2funcs.c.
8821 (LIB2FUNCS_EXCLUDE): Add _clrsbdi2.
8822 (LIB1ASMFUNCS): Add: _ssabs_1, _mask1, _ret, _roundqq3, _rounduqq3,
8823 _round_s2, _round_u2, _round_2_const, _addmask_2, _round_s4,
8824 _round_u4, _round_4_const, _addmask_4, _round_x8, _rounddq3
8825 _roundudq3, _roundda3 _rounduda3, _roundta3 _rounduta3.
8826 * config/avr/lib1funcs-fixed.S: Implement them.
8827
5d5bf775
RS
88282013-02-04 Richard Sandiford <rdsandiford@googlemail.com>
8829
8830 Update copyright years.
8831
99113dff
DE
88322013-02-01 David Edelsohn <dje.gcc@gmail.com>
8833
8834 PR target/54601
8835 * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
8836 Add crtcxa to extra_parts.
8837 * config/rs6000/exit.h: New file.
8838 * config/rs6000/cxa_atexit.c: New file.
8839 * config/rs6000/cxa_finalize.c: New file.
8840 * config/rs6000/crtcxa.c: New file.
8841 * config/rs6000/t-aix-cxa: New file.
8842 * config/rs6000/libgcc-aix-cxa.ver: New file.
8843
dbdbd982
NC
88442013-01-31 Nick Clifton <nickc@redhat.com>
8845
8846 * config/v850/lib1funcs.S: Add support for e3v5 architecture
8847 variant.
8848
5893f158
GJL
88492013-01-29 Georg-Johann Lay <avr@gjlay.de>
8850
8851 PR target/54222
8852 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add:
8853 _mulQQ, _mulHQ, _mulHA, _mulSA,
8854 _mulUQQ, _mulUHQ, _mulUHA, _mulUSA,
8855 _divQQ, _divHQ, _divHA, _divSA,
8856 _divUQQ, _divUHQ, _divUHA, _divUSA.
8857
ecdbd01a 88582013-01-26 David Holsgrove <david.holsgrove@xilinx.com>
fbf0cf90 8859
dbdbd982 8860 * config.host(microblaze*-linux*): tmake_file: Remove
fbf0cf90
DH
8861 t-slibgcc-nolc-override, add t-slibgcc-libgcc.
8862 * config/microblaze/t-microblaze: Set LIB2FUNCS_EXCLUDE
8863 to exclude functions from being built with libgcc.c and use
8864 the microblaze assembly.
8865
ecdbd01a 88662013-01-26 Edgar E. Iglesias <edgar.iglesias@gmail.com>
6f14eef2
EI
8867
8868 * config.host (microblaze*-*-*): Rename microblaze*-*-elf, update
8869 extra_parts.
8870
922c57d1
YZ
88712013-01-17 Yufeng Zhang <yufeng.zhang@arm.com>
8872
8873 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
8874 results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
8875 __UINTPTR_TYPE__; also cast 'base' to the same type before the
8876 alignment operation.
8877
e0f8b6a0
SN
88782013-01-15 Sofiane Naci <sofiane.naci@arm.com>
8879
8880 * config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Update
8881 loop start address for cache clearing.
8882
00892272
GJL
88832013-01-14 Georg-Johann Lay <avr@gjlay.de>
8884
8885 * config/avr/lib1funcs.S: Remove trailing blanks.
8886 * config/avr/lib1funcs-fixed.S: Ditto.
8887
e59ec5fd
GJL
88882013-01-14 Georg-Johann Lay <avr@gjlay.de>
8889
8890 * config/avr/avr-lib.h: Add GPL copyright notice.
8891
3ffc1958
GJL
88922013-01-14 Georg-Johann Lay <avr@gjlay.de>
8893
8894 * fixed-bit.c (SATFRACT) <FROM_TYPE=1, TO_TYPE=4>: Only
8895 declare / set min_low, min_high if TO_MODE_UNSIGNED == 0.
8896 (SATFRACT) <FROM_TYPE=TO_TYPE=4>: Only declare / set min_low,
8897 min_high if FROM_MODE_UNSIGNED == 0 and TO_MODE_UNSIGNED == 0.
8898
25c210f9
MK
88992013-01-07 Mark Kettenis <kettenis@openbsd.org>
8900
8901 * config.host (i[34567]86-*-openbsd* and x86_64-*-openbsd*):
8902 Add to lists of i[34567]86-*-* and x86_64-*-* soft-fp targets.
2bc15360 8903
db59befb
NC
89042013-01-04 Nick Clifton <nickc@redhat.com>
8905
8906 * config/v850/lib1funcs.S: Only provide CALLT support functions if
8907 the CALLT instruction is supported.
8908
5aa12dbf
JW
89092012-12-20 Jonathan Wakely <jwakely.gcc@gmail.com>
8910
8911 * gthr.h (__gthread_cond_timedwait_recursive): Do not require.
8912 * gthr-posix.h (__gthread_cond_timedwait_recursive): Remove.
8913
65f14117
JT
89142012-12-13 John Tytgat <John@bass-software.com>
8915
8916 * config/arm/fp16.c (__gnu_f2h_internal): Fix inaccuracy when aexp
8917 is 25.
8918
ee3ae4f7
JJ
89192012-12-12 Jakub Jelinek <jakub@redhat.com>
8920
8921 PR libgcc/55451
8922 * fixed-bit.c (FIXED_SSADD, FIXED_SSSUB, FIXED_SSNEG): Avoid
8923 undefined signed overflows.
8924
2fcfba3d
UB
89252012-12-09 Uros Bizjak <ubizjak@gmail.com>
8926
8927 PR target/55344
8928 * config/alpha/linux-unwind.h: Disable when inhibit_libc is defined.
8929
4f2b3dc2
UB
89302012-12-06 Uros Bizjak <ubizjak@gmail.com>
8931
8932 * config/i386/sfp-machine.h (FP_EX_ALL): Define.
8933 (FP_TRAPPING_EXCEPTIONS): Define.
8934 * config/i386/32/sfp-machine.h (FP_EX_SHIFT): Define.
8935 * config/i386/64/sfp-machine.h (FP_EX_SHIFT): Ditto.
8936
066161a2
RH
89372012-12-04 Richard Henderson <rth@redhat.com>
8938
8939 PR bootstrap/55571
8940 * Makefile.in (libgcc_s.so): Depend on and link with libgcc.a.
8941
7d296953 89422012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
25626181 8943
4f2b3dc2 8944 * config/aarch64/sfp-machine.h (FP_EX_ALL): Define.
25626181
MS
8945 (FP_EX_SHIFT): Define.
8946 (FP_TRAPPING_EXCEPTIONS): Define.
8947
7d296953 89482012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
868395e8
MS
8949
8950 * config/aarch64/sfp-machine.h (FP_RND_MASK): Define.
8951 (FP_ROUNDMODE): Use FP_RND_MASK.
8952 * config/aarch64/sfp-exceptions.c: New.
8953 * config/aarch64/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8954 Use __sfp_handle_exceptions.
8955
5005fe22
RE
89562012-12-04 Richard Earnshaw <rearnsha@arm.com>
8957
8958 * config.host: (arm*-*-freebsd*): Remove.
8959 (arm*-*-linux*, arm*-*-uclinux*): Simplify logic.
8960 (arm*-*-elf*): Remove.
8961 (arm*-*-wince-pe*): Remove.
8962 * arm/unwind-arm.c (struct fpa_reg): Delete.
8963 (struct fpa_regs): Delete.
8964 (phase1_vrs): Remove fpa element.
8965 (_Unwind_VRS_Get): Remove _UVRSC_FPA.
8966 (_Unwind_VRS_Set, _Unwind_VRS_Pop): Likewise.
8967 * arm/pr-support.c (__gnu_unwind_execute): Remove FPA support.
8968 * ieee754-sf.S (floatundisf): Remove FPA support.
8969 (floatdisf): Likewise.
8970 * ieee75f-df.S (floatundidf): Likewise.
8971 (floatdidf): Likewise.
8972
e5a81c8e
KT
89732012-11-29 Kai Tietz <ktietz@redhat.com>
8974
8975 PR target/55445
8976 * unwind-c.c (__SEH__): Make sure SjLj isn't active.
8977 * unwind-generic.h: Likewise.
8978 * unwind-seh.c: Likewise.
8979
f4919e4a
RH
89802012-11-28 Richard Henderson <rth@redhat.com>
8981
8982 PR libgcc/48076
8983 * emutls.c (__emutls_get_address): Avoid race condition between
8984 obj->loc.offset read and emutls_key initialization.
4f2b3dc2 8985
e13d9d5a
GJL
89862012-11-22 Georg-Johann Lay <avr@gjlay.de>
8987
8988 Adjust decimal point of signed accum mode to GCC default.
8989
8990 PR target/54222
8991 * config/avr/t-avr (LIB1ASMFUNCS): Add _fractsfsq _fractsfusq,
8992 _divqq_helper.
8993 * config/avr/lib1funcs-fixed.S (__fractqqsf, __fracthqsf)
8994 (__fractsasf, __fractsfha, __fractusqsf, __fractsfsa)
8995 (__mulha3, __mulsa3)
8996 (__divqq3, __divha3, __divsa3): Adjust to new position of
4f2b3dc2
UB
8997 decimal point of signed accum types.
8998
e13d9d5a
GJL
8999 (__mulusa3_round): New function.
9000 (__mulusa3): Use it.
9001 (__divqq_helper): New function.
9002 (__udivuqq3): Use it.
9003
1b845c6e
JJ
90042012-11-20 Jakub Jelinek <jakub@redhat.com>
9005
9006 PR bootstrap/55370
9007 * libgcc-std.ver.in: Add GCC_4.8.0 and %inherit for it.
9008
822a258a
TJ
90092012-11-18 Teresa Johnson <tejohnson@google.com>
9010
9011 PR bootstrap/55051
9012 * libgcov.c (gcov_exit): Remove merged program summary
9013 comparison unless !GCOV_LOCKED.
9014
7d296953 90152012-11-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
54f4eaf0
MS
9016
9017 * soft-fp: Updated from glibc upstream.
9018
e808687a
ILT
90192012-11-06 Ian Lance Taylor <iant@google.com>
9020
9021 * generic-morestack.c (__generic_morestack): Align the returned
9022 stack pointer to a 32 byte boundary.
9023 * config/i386/morestack.S (__morestack_non_split) [32-bit]: Don't
9024 increment the return address until we have decided that we don't
9025 have a varargs function.
9026 (__morestack) [32-bit]: Align stack correctly when calling C
9027 functions.
9028 (__morestack) [64-bit]: Likewise.
9029
460277e0
TS
90302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9031
9032 * configure: Regenerate.
9033
73edb277
UB
90342012-11-02 Uros Bizjak <ubizjak@gmail.com>
9035
9036 PR target/55175
9037 * config/i386/sfp-exceptions.c: Guard with _SOFT_FLOAT.
9038 * config/i386/sfp-machine.h: Guard exception handling
9039 code with _SOFT_FLOAT.
9040 * config/i386/32/sfp-machine.h: Guard rounding handling
9041 code with _SOFT_FLOAT.
9042 * config/i386/64/sfp-machine.h: Ditto.
9043
c1d4fa04
JS
90442012-10-31 Joel Sherrill <joel.sherrill@oarcorp.com>
9045
9046 * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o
9047 as extra_parts.
9048
eff6ca85
UB
90492012-10-26 Uros Bizjak <ubizjak@gmail.com>
9050
9051 * config/i386/crtfastmath.c (set_fast_math): Use __builtin_ia32_fxsave.
9052 Clear only fxsave.mxcsr_mask. Use saved mxcsr from fxsave structure
9053 when appropriate. Correct structure element types.
9054 * config/i386/t-crtfm (crtfastmath.o): Compile with -mfxsr, remove
9055 -minline-all-stringops from compile flags.
9056
7d296953 90572012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
43a8f1a1
RC
9058
9059 * config.host (sparc64-*-rtems*): Remove sparc/t-elf.
9060
7d296953 90612012-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
76c78361 9062
eff6ca85 9063 * config.host (sh*-*-rtems*): Add sh*-*-elf*'s extra_parts.
76c78361 9064
6f288860
SH
90652012-10-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
9066
9067 * config.host (powerpc-*-rtems*): Add rs6000/t-savresfgpr to
9068 tmake_file.
9069
1e3d5096
IB
90702012-10-23 Ian Bolton <ian.bolton@arm.com>
9071 Jim MacArthur <jim.macarthur@arm.com>
9072 Marcus Shawcroft <marcus.shawcroft@arm.com>
9073 Nigel Stephens <nigel.stephens@arm.com>
9074 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
9075 Richard Earnshaw <rearnsha@arm.com>
9076 Sofiane Naci <sofiane.naci@arm.com>
9077 Stephen Thomas <stephen.thomas@arm.com>
9078 Tejas Belagod <tejas.belagod@arm.com>
9079 Yufeng Zhang <yufeng.zhang@arm.com>
9080
9081 * config.host (aarch64*-*-elf, aarch64*-*-linux*): New.
9082 * config/aarch64/crti.S: New file.
9083 * config/aarch64/crtn.S: New file.
9084 * config/aarch64/linux-unwind.h: New file.
9085 * config/aarch64/sfp-machine.h: New file.
9086 * config/aarch64/sync-cache.c: New file.
9087 * config/aarch64/t-aarch64: New file.
9088 * config/aarch64/t-softfp: New file.
9089
8a740f07
HPN
90902012-10-21 Hans-Peter Nilsson <hp@bitrange.com>
9091
9092 * config/mmix/crti.S: Mark program and data addresses using PRELD.
9093 Remove typo'd and unnecessary alignment-LOC for .data. Remove
9094 no-longer-needed LDBU insns.
9095
7d296953 90962012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
153c8397
SH
9097
9098 * config.host
9099 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
9100 "arm*-*-rtemseabi*" to "arm*-*-rtems*".
9101
595fefee
MGD
91022012-10-17 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
9103
9104 * config/arm/lib1funcs.S (__ARM_ARCH__): Define for ARMv8-A.
9105
9945a876
MK
91062012-10-15 Matthias Klose <doko@ubuntu.com>
9107
9108 * config.host: Match arm*-*-linux-* for ARM Linux/GNU.
9109
1183dc2c
PC
91102012-10-15 Pavel Chupin <pavel.v.chupin@intel.com>
9111
9112 * configure: Regenerate.
9113 * configure.ac: Replace code with GCC_AC_THREAD_HEADER use.
9114
945a9c1f
UB
91152012-10-10 Uros Bizjak <ubizjak@gmail.com>
9116
9117 * config/i386/sfp-exceptions.c (__sfp_handle_exceptions): Emit SSE
9118 instructions for 64bit targets only.
9119
fb8bf47a
UB
91202012-10-10 Uros Bizjak <ubizjak@gmail.com>
9121
9122 * config/i386/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9123 FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX): Move to ...
9124 * config/i386/32/sfp-machine.h: ... here.
9125 * config/i386/64/sfp-machine.h (FP_RND_NEAREST, FP_RND_ZERO,
9126 FP_RND_PINF, FP_RND_MINF, FP_RND_MASK, FP_INIT_ROUNDMODE, _FP_DECL_EX):
9127 New defines.
9128
acb72498
MK
91292012-10-07 Matthias Klose <doko@ubuntu.com>
9130
9131 * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
9132 as unused.
9133 (_Unwind_decode_typeinfo_ptr): Mark base as unused.
9134
8eaee0f0
MK
91352012-10-06 Mark Kettenis <kettenis@openbsd.org>
9136
9137 * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
9138 * unwind-dw2-fde-dip.c: Don't include <elf.h> on OpenBSD.
9139 (USE_PT_GNU_EH_FRAME): Define for OpenBSD.
9140 (ElfW): Likewise.
9141
5e3e4fe8
JW
91422012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
9143
9144 PR other/53889
9145 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9146 Fix parameter names.
9147
86086376
OE
91482012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
9149
9150 PR target/33135
9151 * config/sh/t-sh (HOST_LIBGCC2_CFLAGS): Delete.
9152 * config/sh/t-netbsd (HOST_LIBGCC2_CFLAGS): Delete.
9153 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Remove mieee option.
9154
9597375a
OE
91552012-10-03 Oleg Endo <olegendo@gcc.gnu.org>
9156
9157 PR target/50457
9158 * config/sh/linux-atomic.S: Delete.
9159 * config/sh/linux-atomic.c: New.
9160 * config/sh/t-linux (LIB2ADD): Replace linux-atomic.S with
9161 linux-atomic.c. Add cflags to disable warnings.
9162
1504e3e1
JW
91632012-10-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9164
9165 PR other/53889
9166 * gthr.h (__gthread_recursive_mutex_destroy): Document new required
9167 function.
9168 * gthr-posix.h (__gthread_recursive_mutex_destroy): Define.
9169 * gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
9170 * config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
9171 * config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
5e3e4fe8
JW
9172 * config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
9173 Likewise.
1504e3e1
JW
9174 * config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
9175 Likewise.
9176 * config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):
9177 Likewise.
9178 * config/pa/gthr-dce.h (__gthread_recursive_mutex_destroy): Likewise.
9179 * config/s390/gthr-tpf.h (__gthread_recursive_mutex_destroy): Likewise.
9180
17f293b0
MK
91812012-09-19 Mark Kettenis <kettenis@openbsd.org>
9182
9597375a
OE
9183 * config.host (hppa-*-openbsd*): New target.
9184 * config/pa/t-openbsd: New file.
17f293b0 9185
51526856
GJL
91862012-09-15 Georg-Johann Lay <avr@gjlay.de>
9187
9188 PR target/54222
9189 * config/avr/lib1funcs-fixed.S (__ssneg_2, __ssabs_2, __ssneg_4,
9190 __ssabs_4, __clr_8, __ssneg_8, __ssabs_8,
9191 __usadd_8, __ussub_8, __ssadd_8, __sssub_8): New functions.
9192 (__divsa3): Use __negsi2 to negate r_quoL.
9193 * config/avr/lib1funcs.S (FALIAS): New macro.
9194 (__divmodsi4): Break out and use __divmodsi4_neg1 as...
9195 (__negsi2): ...this new function.
9196 * config/avr/t-avr (LIB1ASMFUNCS): Add _negsi2, _clr_8,
9197 _ssneg_2, _ssneg_4, _ssneg_8, _ssabs_2, _ssabs_4,
9198 _ssabs_8, _ssadd_8, _sssub_8, _usadd_8, _ussub_8.
9199 (LIB2FUNCS_EXCLUDE): Fix typo for _add _sub.
9200 Add: _ssadd*, _sssub*, _ssneg*, _ssabs* for signed fixed modes.
9201 Add: _usadd*, _ussub*, _usneg* for unsigned fixed modes.
9202
aadb5b43
OE
92032012-09-10 Oleg Endo <olegendo@gcc.gnu.org>
9204
9205 PR target/54089
9206 * config/sh/lib1funcs.S (ashlsi3): Reimplement as ashlsi3_r0.
9207 (lshrsi3): Reimplement as lshrsi3_r0.
9208
d5d66749
AS
92092012-09-10 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 PR target/46191
9212 * config/t-slibgcc-libgcc (SHLIB_MAKE_SOLINK): Use -lgcc instead
9213 of libgcc.a.
9214
c6c36e73
TJ
92152012-09-07 Teresa Johnson <tejohnson@google.com>
9216
9597375a 9217 PR gcov-profile/54487
c6c36e73 9218 * libgcc/libgcov.c (gcov_exit): Avoid warning on histogram
9597375a 9219 differences.
c6c36e73 9220
b588ae30
GJL
92212012-09-05 Georg-Johann Lay <avr@gjlay.de>
9222
9223 PR target/54461
9224 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if
9225 not configured --with-avrlibc=no.
9226 * config/avr/t-avrlibc: New file.
9227 * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE.
9228 (DPBIT_FUNCS): Ditto.
9229 (TPBIT_FUNCS): Ditto.
9230
abd16fb1
TJ
92312012-09-04 Teresa Johnson <tejohnson@google.com>
9232
9233 * libgcov.c (struct gcov_summary_buffer): New structure.
9234 (gcov_histogram_insert): New function.
9235 (gcov_compute_histogram): Ditto.
9236 (gcov_exit): Invoke gcov_compute_histogram, and perform merging of
9237 histograms during summary merging.
9238
613061fd
MK
92392012-09-01 Mark Kettenis <kettenis@openbsd.org>
9240
9241 * config.host (x86_64-*-openbsd*): New target.
73edb277 9242
867a8345
CLT
92432012-08-29 Chung-Lin Tang <cltang@codesourcery.com>
9244
9245 * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16'
9246 attribute.
9247
4aeaaca3
GJL
92482012-08-24 Georg-Johann Lay <avr@gjlay.de>
9249
9250 PR target/54222
9251 * config/avr/t-avr (conv_X): Rename to func_X.
9252
e55e4056
GJL
92532012-08-24 Georg-Johann Lay <avr@gjlay.de>
9254
9255 PR target/54222
9256 * config/avr/lib1funcs-fixed.S: New file.
9257 * config/avr/lib1funcs.S: Include it. Undefine some divmodsi
9258 after they are used.
9259 (neg2, neg4): New macros.
9260 (__mulqihi3,__umulqihi3,__mulhi3): Rewrite non-MUL variants.
9261 (__mulhisi3,__umulhisi3,__mulsi3): Rewrite non-MUL variants.
9262 (__umulhisi3): Speed up MUL variant if there is enough flash.
9263 * config/avr/avr-lib.h (TA, UTA): Adjust according to gcc's
9264 avr-modes.def.
9265 * config/avr/t-avr (LIB1ASMFUNCS): Add: _fractqqsf, _fractuqqsf,
9266 _fracthqsf, _fractuhqsf, _fracthasf, _fractuhasf, _fractsasf,
9267 _fractusasf, _fractsfqq, _fractsfuqq, _fractsfhq, _fractsfuhq,
9268 _fractsfha, _fractsfsa, _mulqq3, _muluqq3, _mulhq3, _muluhq3,
9269 _mulha3, _muluha3, _mulsa3, _mulusa3, _divqq3, _udivuqq3, _divhq3,
9270 _udivuhq3, _divha3, _udivuha3, _divsa3, _udivusa3.
9271 (LIB2FUNCS_EXCLUDE): Add supported functions.
9272
a147b6d2
GJL
92732012-08-22 Georg-Johann Lay <avr@gjlay.de>
9274
9275 * Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out
9276 LIB2FUNCS_EXCLUDE before adding them to libgcc-objects,
9277 libgcc-s-objects.
9278 * fixed-obj.mk: Only expand dependency if $o is not in
9279 LIB2FUNCS_EXCLUDE.
9280
c637141a
L
92812012-08-22 H.J. Lu <hongjiu.lu@intel.com>
9282
9283 * config/i386/t-linux (HOST_LIBGCC2_CFLAGS): New.
9284
130e00bd
JM
92852012-08-22 Joseph Myers <joseph@codesourcery.com>
9286
9287 * Makefile.in (vis_hide, gen-hide-list): Do not make definitions
9288 depend on --enable-shared.
9289 ($(lib1asmfuncs-o)): Use %.vis files independent of
9290 --enable-shared.
9291 * static-object.mk ($(base)$(objext), $(base).vis)
9292 ($(base)_s$(objext)): Use same rules for visibility handling as in
9293 shared-object.mk.
9294
4b1b3788
ILT
92952012-08-21 Ian Lance Taylor <iant@google.com>
9296
9297 * config/i386/morestack.S (__morestack_non_split): Increase amount
9298 of space allocated for non-split code stack.
9299
d2468141
JM
93002012-08-19 Joseph Myers <joseph@codesourcery.com>
9301
9302 * crtstuff.c (USE_PT_GNU_EH_FRAME): Define for systems using glibc
9303 even if inhibit_libc.
9304
a508e1a8
JB
93052012-08-17 Julian Brown <julian@codesourcery.com>
9306
9307 * Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
9308 -fexceptions -fnon-call-exceptions if not defined.
9309 ($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
9310 * config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): Define.
9311
5615a07d
AS
93122012-08-17 Andreas Schwab <schwab@linux-m68k.org>
9313
9314 * config/m68k/linux-atomic.c (__sync_lock_test_and_set_1): Fix
9315 type.
9316
138f5acd
DE
93172012-08-16 David Edelsohn <dje.gcc@gmail.com>
9318
9319 * config.host (*-*-aix*): Move rs6000/t-ibm-ldouble after
9320 rs6000/t-slibgcc-aix.
9321
18efc0dd
SB
93222012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9323
9324 * longlong.h: (powerpc): Delete _ARCH_PWR and _ARCH_COM handling.
9325
6b39bc38
SB
93262012-08-15 Segher Boessenkool <segher@kernel.crashing.org>
9327
9328 * longlong.h: (whole file, powerpc): Adjust to single assembler syntax.
9329
cd25dea0
L
93302012-08-03 H.J. Lu <hongjiu.lu@intel.com>
9331
9332 PR driver/54171
9333 * Makefile.in (version): Replace top_srcdir with srcdir.
9334
a3dda30b
JY
93352012-08-03 Jonathan Yong <jon_y@users.sourceforge.net>
9336
9337 * Makefile.in (version): set to BASE-VER file from gcc directory.
9338
d04aacfc
NC
93392012-08-01 Nick Clifton <nickc@redhat.com>
9340
9341 * config/m32c/lib2funcs.c (__clrsbhi2): New function.
9342 Implements __clrsb for an HImode argument.
9343
0d13c974
NC
93442012-07-31 Nick Clifton <nickc@redhat.com>
9345
9346 * config/stormy16/lib2funcs.c (__clrsbhi2): New function.
9347 Implements __clrsb for an HImode argument.
9348 * config/stormy16/clrsbhi2.c: New file:
9349 * config/stormy16/t-stormy16 (LIB2ADD): Add clrsbhi2.c.
9350
efbb59b2
SB
93512012-07-22 Steven Bosscher <steven@gcc.gnu.org>
9352
9353 * libgcov.c (__gcov_ior_profiler): Benign comment fix.
9354
bf1431e3
TG
93552012-07-19 Tristan Gingold <gingold@adacore.com>
9356 Richard Henderson <rth@redhat.com>
9357
9358 * unwind-seh.c: New file.
9359 * unwind-generic.h: Include windows.h for SEH.
9360 (_Unwind_Exception): Use 6 private fields for SEH.
9361 (_GCC_specific_handler): Declare.
9362 * unwind-c.c (__gcc_personality_seh0): New function.
9363 Adjust for SEH.
9364 * config/i386/libgcc-cygming.ver: New file.
9365 * config/i386/t-seh-eh: New file.
9366 * config.host (x86_64-*-mingw*): Default to seh.
9367
659140c8
SB
93682012-07-14 Steven Bosscher <steven@gcc.gnu.org>
9369
9370 * config/t-darwin (crt3.0): Remove work-around for fixed PR26840.
9371
a20d08fd
UB
93722012-06-17 Uros Bizjak <ubizjak@gmail.com>
9373
9374 * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
9375 __builtin_expect when checking for exceptions.
9376 * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
9377
79261115
UB
93782012-06-13 Uros Bizjak <ubizjak@gmail.com>
9379
4a172156
UB
9380 * config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
9381 function declaration.
9382 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9383 (FP_RND_MASK): New.
9384 * config/ia64/sfp-exceptions.c: New.
9385 * config/ia64/t-softfp (LIB2ADD): Add sfp-exceptions.c.
79261115 9386
bb5c97d4
UB
93872012-06-13 Uros Bizjak <ubizjak@gmail.com>
9388
9389 * config/i386/32/sfp-machine.h (_FP_NANSIGN_S, _FP_NANSIGN_D,
9390 _FP_NANSIGN_E, _FP_NANSIGN_Q): Move ...
9391 * config/i386/64/sfp-machine: ... (delete here) ...
9392 * config/i386/sfp-machine.h: ... to here.
9393 (FP_EX_MASK): Remove.
9394 (FP_RND_MASK): New.
9395 (FP_INIT_ROUNDMODE): Declare asm as volatile.
9396
91fe5efb
ST
93972012-06-11 Sriraman Tallam <tmsriram@google.com>
9398
9399 * config/i386/libgcc-bsd.ver: Version symbol __cpu_indicator_init.
9400 * config/i386/libgcc-sol2.ver: Ditto.
9401 * config/i386/libgcc-glibc.ver: Ditto.
9402
67a218c5
RM
94032012-06-11 Roland McGrath <mcgrathr@google.com>
9404
9405 * gthr-posix.h [neither FreeBSD nor Solaris] (__gthread_active_p):
9406 If __GLIBC__ is defined, refer to __pthread_key_create instead of
9407 pthread_cancel.
9408
492fbea1
UB
94092012-06-09 Uros Bizjak <ubizjak@gmail.com>
9410
9411 * config/i386/32/sfp-machine.h (__gcc_CMPtype, CMPtype,
9412 _FP_KEEPNANFRACP, _FP_CHOOSENAN, FP_EX_INVALID, FP_EX_DENORM,
9413 FP_EX_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT,
9414 FP_HANDLE_EXCEPTIONS, FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF,
9415 FP_RND_MINF, _FP_DEXL_EX, FP_INIT_ROUNDMODE, FP_ROUNDMODE,
9416 __LITTLE_ENDIAN, __BIG_ENDIAN, strong_alias): Move ...
9417 * config/i386/64/sfp-machine: ... (delete here) ...
9418 * config/i386/sfp-machine.h: ... to here.
9419 (FP_EX_MASK): New.
9420 (__sfp_handle_exceptions): New function declaration.
9421 (FP_HANDLE_EXCEPTIONS): Use __sfp_handle_exceptions.
9422 * config/i386/sfp-exceptions.c: New.
9423 * config/i386/t-softfp: New.
9424 * config.host (i[34567]86-*-* and x86_64-*-* soft-fp targets): Add
9425 i386/t-softfp to tmake_file.
9426
7b4cf266
DM
94272012-06-03 David S. Miller <davem@davemloft.net>
9428
9429 * longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
9430 change.
9431
0de0d5c6
DM
94322012-05-31 David S. Miller <davem@davemloft.net>
9433
9434 * longlong.h [SPARC] (umul_ppmm, udiv_qrnnd): Use hardware integer
9435 multiply and divide instructions on 32-bit when V9.
9436 (add_ssaaaa, sub_ddmmss): Convert to branchless code on 64-bit.
9437
d8c9d391
JM
94382012-05-29 Joseph Myers <joseph@codesourcery.com>
9439
9440 * config/arm/ieee754-df.S: Fix typos.
9441 * config/arm/ieee754-sf.S: Fix typos.
9442 * config/c6x/libunwind.S: Fix typos.
9443 * config/epiphany/udivsi3-float.c: Fix typos.
9444 * config/microblaze/muldi3_hard.S: Fix typos.
9445 * config/picochip/adddi3.S: Fix typos.
9446 * config/picochip/ashlsi3.S: Fix typos.
9447 * config/picochip/ashrsi3.S: Fix typos.
9448 * config/picochip/clzsi2.S: Fix typos.
9449 * config/picochip/cmpsi2.S: Fix typos.
9450 * config/picochip/divmod15.S: Fix typos.
9451 * config/picochip/divmodhi4.S: Fix typos.
9452 * config/picochip/divmodsi4.S: Fix typos.
9453 * config/picochip/longjmp.S: Fix typos.
9454 * config/picochip/lshrsi3.S: Fix typos.
9455 * config/picochip/parityhi2.S: Fix typos.
9456 * config/picochip/popcounthi2.S: Fix typos.
9457 * config/picochip/setjmp.S: Fix typos.
9458 * config/picochip/subdi3.S: Fix typos.
9459 * config/picochip/ucmpsi2.S: Fix typos.
9460 * config/picochip/udivmodhi4.S: Fix typos.
9461 * config/picochip/udivmodsi4.S: Fix typos.
9462 * config/spu/divv2df3.c: Fix typos.
9463 * config/spu/mfc_multi_tag_release.c: Fix typos.
9464 * config/spu/mfc_tag_release.c: Fix typos.
9465 * configure.ac: Fix typos.
9466 * configure: Regenerate.
9467
31a18a7e
ILT
94682012-05-25 Ian Lance Taylor <iant@google.com>
9469
9470 * config/i386/morestack.S (__morestack_non_split): Check whether
9471 caller is varargs and needs %bp to hold the stack frame on return.
9472
c5768510
OH
94732012-05-25 Olivier Hainque <hainque@adacore.com>
9474
9475 * config/rs6000/vxworks/tramp.S (trampoline_setup): Use a longcall
9476 sequence in the non pic case on VxWorks.
9477
7c7c339b
OH
94782012-05-24 Olivier Hainque <hainque@adacore.com>
9479
73fb7630 9480 * Makefile.in: Move dependency on install-unwind_h from
7c7c339b
OH
9481 "install-leaf" to "install".
9482
fdc1b7d3
OH
94832012-05-24 Olivier Hainque <hainque@adacore.com>
9484
9485 * Makefile.in (clean): Remove libgcc_tm.stamp as well.
9486 Use a separate command for stamp removals.
9487
07ba94b9
AP
94882012-05-21 Andrew Pinski <apinski@cavium.com>
9489
9490 PR bootstrap/53183
9491 * configure.ac: Define the default includes to being none.
9492 * configure: Regenerate.
9493
4677d2eb
OH
94942012-05-16 Olivier Hainque <hainque@adacore.com>
9495
9496 * Makefile.in (install-unwind_h): Rename into ...
9497 (install-unwind_h-forbuild): New target.
9498 (all): Use it instead of the former install-unwind_h.
9499 (install-unwind_h): Reinstate, copy to user install destination
9500 for include files, not to the internal gcc object directory one.
9501 (install-leaf): Depend on it.
9502
7d67c380
OH
95032012-05-15 Olivier Hainque <hainque@adacore.com>
9504
9505 * config/rs6000/aix-unwind.h (*_REGNO): New, set of useful
9506 register numbers. LR_REGNO replaces R_LR.
9507 (ucontext_for): New, helper for ...
9508 (ppc_aix_fallback_frame_state): New, implementation for aix 5.2
9509 and 5.3 of ...
9510 (MD_FALLBACK_FRAME_STATE_FOR): Define for 32bit configurations.
9511
aca06c90
RO
95122012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9513
9514 * config.host (i[34567]86-*-linux*, x86_64-*-linux*)
9515 (i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu)
9516 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Move
9517 i386/t-cpuinfo ...
9518 (i[34567]86-*-*, x86_64-*-*): ... here.
9519
9520 * config/i386/libgcc-bsd.ver (GCC_4.8.0): New version.
9521 * config/i386/libgcc-sol2.ver (GCC_4.8.0): New version.
9522
9523 * config/i386/i386-cpuinfo.c: Rename to ...
9524 * config/i386/cpuinfo.c: ... this.
9525 * config/i386/t-cpuinfo (LIB2ADD): Reflect this.
9526
9527 * configure.ac (AC_CONFIG_HEADER): Call for auto-target.h.
9528 (libgcc_cv_init_priority): New test.
9529 * configure: Regenerate.
9530 * config.in: New file.
9531 * Makefile.in (clean): Rename config.h to auto-target.h.
9532 (config.h): Likewise.
9533 (stamp-h): Likewise.
9534
9535 * config/i386/cpuinfo.c (auto-target.h): Include.
9536 (CONSTRUCTOR_PRIORITY): Define.
9537 (__cpu_indicator_init): Use it.
9538
0d03ac1b
L
95392012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9540
9541 * longlong.h: Use a URL instead of an FSF postal address.
9542 Replace spaces with tab.
9543
4a172156 95442012-05-08 Teresa Johnson <tejohnson@google.com>
4e8ee9cb
TJ
9545
9546 * libgcov.c (gcov_clear, __gcov_reset): New functions.
9547 (__gcov_dump): Ditto.
9548 (gcov_dump_complete): New global variable.
9549 (gcov_exit): Export hidden to enable use in L_gcov_dump.
9550 (__gcov_flush): Outline functionality now in gcov_clear.
9551 * Makefile.in (L_gcov_reset, L_gcov_dump): Define.
9552
e4bb767e
AJ
95532012-04-28 Aurelien Jarno <aurelien@aurel32.net>
9554
31a18a7e
ILT
9555 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*): Remove.
9556 (mips*-*-linux*): Include mips/t-tpbit when long double is
9557 16 bytes long.
e4bb767e 9558
5ddecff9
ST
95592012-04-25 Sriraman Tallam <tmsriram@google.com>
9560
9561 * config/i386/i386-cpuinfo.c (FEATURE_AVX2): New enum value.
9562 (get_available_features): New argument. Check for AVX2.
9563 (__cpu_indicator_init): Modify call to get_available_features.
9564
b427dd7a
AM
95652012-04-25 Alan Modra <amodra@gmail.com>
9566
9567 * config/rs6000/crtsavevr.S: New file.
9568 * config/rs6000/crtrestvr.S: New file.
9569 * config/rs6000/t-savresfgpr: Build the above.
9570 * config/rs6000/t-netbsd: Likewise.
9571
ad491329
ST
95722012-04-24 Sriraman Tallam <tmsriram@google.com>
9573
9574 * libgcc/config/i386/i386-cpuinfo.c: Set __cpu_vendor always.
9575
792317cc
ST
95762012-04-24 Sriraman Tallam <tmsriram@google.com>
9577
9578 * libgcc/config/i386/i386-cpuinfo.c: New file.
9579 * libgcc/config/i386/t-cpuinfo: New file.
9580 * libgcc/config.host: Include t-cpuinfo.
9581 * libgcc/config/i386/libgcc-glibc.ver: Version symbol __cpu_model.
9582
e1be98a4
CF
95832012-04-24 Chao-ying Fu <fu@mips.com>
9584
9585 * unwind-dw2-fde-dip.c: Define USE_PT_GNU_EH_FRAME for BIONIC.
9586
1bde7dab
TS
95872012-04-20 Thomas Schwinge <thomas@codesourcery.com>
9588
9589 struct siginfo vs. siginfo_t
9590
9591 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
9592 siginfo_t instead of struct siginfo.
9593 * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
9594 * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
9595 * config/ia64/linux-unwind.h (ia64_fallback_frame_state)
9596 (ia64_handle_unwabi): Likewise.
9597 * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
9598 * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
9599 * config/sh/linux-unwind.h (shmedia_fallback_frame_state)
9600 (sh_fallback_frame_state): Likewise.
9601 * config/tilepro/linux-unwind.h (tile_fallback_frame_state): Likewise.
9602 * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
9603
24590f66
L
96042012-04-02 H.J. Lu <hongjiu.lu@intel.com>
9605
9606 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
9607 system call number.
9608
9a9dcce8
EB
96092012-03-31 Eric Botcazou <ebotcazou@adacore.com>
9610
9611 * config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
9612 if it hasn't been previously saved.
9613
6401aaf5
L
96142012-03-29 H.J. Lu <hongjiu.lu@intel.com>
9615
9616 * config/i386/linux-unwind.h (x86_64_fallback_frame_state): Define
9617 only for glibc.
9618
7fd6378e
GJL
96192012-03-28 Georg-Johann Lay <avr@gjlay.de>
9620
9621 PR target/52737
9622 * config/avr/lib1funcs.S: Use __AVR_HAVE_SPH__ for SP_H checks
9623 instead of __AVR_HAVE_8BIT_SP__.
9624
9e916de7
TG
96252012-03-26 Tristan Gingold <gingold@adacore.com>
9626
9627 * config/ia64/unwind-ia64.h: Declare unw_word and unw_sword.
9628 (unw_table_entry): Use unw_word instead of unsigned long.
9629 (_Unwind_FindTableEntry): Likewise.
9630 * config/ia64/fde-glibc.c (_Unwind_FindTableEntry): Likewise.
9631 * config/ia64/fde-vms.c (vms_unwtable_entry): Likewise.
9632 (_Unwind_FindTableEntry): Likewise.
9633 * config/ia64/unwind-ia64.c (unw_reg_info, unw_reg_state)
9634 (unw_labeled_state, unw_state_record, unw_stack, _Uwind_Context)
9635 (set_reg, alloc_spill_area, finish_prologue, ia64_rse_slot_num)
9636 (ia64_rse_is_rnat_slot, ia64_rse_rnat_addr, ia64_rse_num_regs)
9637 (ia64_rse_skip_regs, ia64_copy_rbs, unw_access_gr)
9638 (uw_frame_state_for, uw_update_reg_address, uw_update_context)
9639 (uw_init_context_1, uw_install_context): Likewise.
9640 (unw_word): Move to unwind-ia64.h
9641
4b12e93d
TG
96422012-03-26 Tristan Gingold <gingold@adacore.com>
9643
9644 * config/vms/vms-ucrt0.c: Update copyright years.
9645 Add a sanity check.
9646 (___gcc_main_flags): Declare.
9647 (__main): Check flags to remap argv and exit code.
9648 * config.host (*-*-*vms*): Adjust extra_parts.
9649 * config/vms/t-vms (vcrt0.o, pcrt0.o): Remove.
9650 (crt0.o): Add.
9651
06ea7371
RE
96522012-03-22 Richard Earnshaw <rearnsha@arm.com>
9653
9654 * arm/lib1funcs.asm (ctzsi2): New function.
9655 * arm/t-elf (LIB1ASMFUNCS): Add _ctzsi2.
9656 * arm/t-linux (LIB1ASMFUNCS): Likewise.
9657 * arm/t-strongarm-elf (LIB1ASMFUNCS): Likewise.
9658 * arm/t-symbian (LIB1ASMFUNCS): Likewise.
9659 * arm/t-vxworks (LIB1ASMFUNCS): Likewise.
9660 * arm/t-wince-pe (LIB1ASMFUNCS): Likewise.
9661
d82ad50d
AT
96622012-03-21 Andreas Tobler <andreast@fgznet.ch>
9663
9664 * config.host: Add bits to support powerpc64-*-freebsd*.
9665 * config/rs6000/freebsd-unwind.h: New file.
9666 * config/rs6000/t-freebsd64: New file.
9667
b260a8c0
RG
96682012-03-20 Richard Guenther <rguenther@suse.de>
9669
9670 PR gcov-profile/52627
9671 * libgcov.c (init_mx): Fix mutex name.
9672
86286a8a
TG
96732012-03-16 Tristan Gingold <gingold@adacore.com>
9674
9675 * config/ia64/vms-unwind.h: Remove ulong (and replace
9676 it by unw_reg where used). Define unw_reg with __int64.
9677
7888f266
RO
96782012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9679
9680 * config/i386/sol2-unwind.h (x86_fallback_frame_state): Remove
9681 Solaris 8 handling.
9682 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove
9683 Solaris 8 handling.
9684 (sparc_is_sighandler): Likewise.
9685
f155bc64
L
96862012-03-13 H.J. Lu <hongjiu.lu@intel.com>
9687
9688 * unwind-dw2.c (_Unwind_SetGRValue): Assert DWARF register size
9689 <= saved reg size.
9690
d47657bd
RO
96912012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9692
9693 * config/arm/crtn.S: Fix typo.
9694
5bef73a1
RG
96952012-03-13 Richard Guenther <rguenther@suse.de>
9696
9697 * libgcov.c: Remove stdio.h include and NULL un-define.
9698
9c4271f3
RG
96992012-03-13 Richard Guenther <rguenther@suse.de>
9700
9701 PR target/52569
9702 * unwind-dw2-fde.c: Make avoid-include-gthr.h hacks work again.
9703
c6d10e7c
RG
97042012-03-13 Richard Guenther <rguenther@suse.de>
9705
9706 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Fix definition.
9707
074a385f
RG
97082012-03-13 Richard Guenther <rguenther@suse.de>
9709
9710 * gthr-posix.h: Remove duplicate __GTHREAD_MUTEX_INIT_FUNCTION
9711 and __gthread_mutex_init_function definitions.
9712
c4bc5c25
RO
97132012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9714
9715 * config.host (mips*-*-openbsd*): Remove.
9716
5c30094f
RO
97172012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9718
9719 * config.host: Remove alpha*-dec-osf5.1* handling.
9720 * config/alpha/gthr-posix.c: Remove.
9721 * config/alpha/libgcc-osf5.ver: Remove.
9722 * config/alpha/osf5-unwind.h: Remove.
9723 * config/alpha/t-osf-pthread: Remove.
9724 * config/alpha/t-slibgcc-osf: Remove.
9725 * config/t-crtfm (crtfastmath.o): Remove -frandom-seed.
9726 * gthr-posix.h [!_REENTRANT && __osf__] (_REENTRANT): Don't define.
9727 [__osf__ && _PTHREAD_USE_MANGLED_NAMES_]: Remove.
9728 * mkmap-flat.awk: Remove osf_export handling.
9729
33e3e24d
RG
97302012-03-12 Richard Guenther <rguenther@suse.de>
9731
9732 * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification.
9733 * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9734 (__gthread_mutex_init_function): New function.
9735 * gthr-single.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.
9736
9737 PR gcov/49484
9738 * libgcov.c: Include gthr.h.
9739 (__gcov_flush_mx): New global variable.
9740 (init_mx, init_mx_once): New functions.
9741 (__gcov_flush): Protect self with a mutex.
9742 (__gcov_fork): Re-initialize mutex after forking.
9743 * unwind-dw2-fde.c: Change condition under which to use
9744 __GTHREAD_MUTEX_INIT_FUNCTION.
9745
d8aba32a
TG
97462012-03-12 Tristan Gingold <gingold@adacore.com>
9747
9748 * config/alpha/t-vms: Define HOST_LIBGCC2_CFLAGS.
9749 * config/ia64/t-vms: Likewise.
9750
75ffafdc
MH
97512012-03-11 Michael Hope <michael.hope@linaro.org>
9752
4a172156
UB
9753 * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
9754 for Thumb-2.
75ffafdc 9755
ef6c2c53
WL
97562012-03-07 Walter Lee <walt@tilera.com>
9757
9758 * config/tilepro/atomic.c: Rename "atomic_" prefix to
9759 "arch_atomic_".
9760 (atomic_xor): Rename and move definition to
9761 config/tilepro/atomic.h.
9762 (atomic_nand): Ditto.
9763 * config/tilepro/atomic.h: Rename "atomic_" prefix to
9764 "arch_atomic_".
9765 (arch_atomic_xor): Move from config/tilepro/atomic.c.
9766 (arch_atomic_nand): Ditto.
9767
4e30d980
GJL
97682012-03-07 Georg-Johann Lay <avr@gjlay.de>
9769
9770 PR target/52507
9771 * config/avr/lib1funcs.S (__movmemx_hi): Fix loop label in RAM-part.
9772
61108225
GJL
97732012-03-07 Georg-Johann Lay <avr@gjlay.de>
9774
9775 PR target/52505
9776 * config/avr/lib1funcs.S (__xload_1): Don't read unintentionally
9777 from RAM.
9778
b30e10ab
GJL
97792012-03-07 Georg-Johann Lay <avr@gjlay.de>
9780
9781 PR target/52461
9782 PR target/52508
9783 * config/avr/lib1funcs.S (__do_copy_data): Clear RAMPZ after usage
9784 if RAMPZ affects reading from RAM.
9785 (__tablejump_elpm__): Ditto.
9786 (.xload): Ditto.
9787 (__movmemx_hi): Ditto.
9788 (__do_global_ctors): Right condition for RAMPZ usage is "have ELPM".
9789 (__do_global_dtors): Ditto.
9790 (__xload_1, __xload_2, __xload_3, __xload_4): Ditto.
9791 (__movmemx_hi): Ditto.
9792
8993fde4
RH
97932012-03-05 Richard Henderson <rth@redhat.com>
9794
9795 * longlong.h [ARM] (umul_ppmm): Use umull for arm3m and later.
9796 [ARM] (count_trailing_zeros): Use the builtin.
9797
b7633ee3
KT
97982012-03-01 Kai Tietz <ktietz@redhat.com>
9799
9800 * soft-fp: Imported from glibc upstream.
9801
fbd3340c
KT
98022012-02-28 Kai Tietz <ktietz@redhat.com>
9803
9804 * config/i386/sfp-machine.h (_FP_STRUCT_LAYOUT): Define it
9805 for mingw-targets as attribute gcc_struct.
9806
e9e053eb
ILT
98072012-02-28 Ian Lance Taylor <iant@google.com>
9808
9809 * generic-morestack.c (__splitstack_releasecontext): Correct call
9810 to __morestack_release_segments.
9811
d80c632e
ST
98122012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
9813
9814 PR target/52390
9815 * generic-morestack.c (__generic_morestack_set_initial_sp): Test
9816 for __linux__ when removing signals from __morestack_fullmask.
9817
0253a8b1
GJL
98182012-02-23 Georg-Johann Lay <avr@gjlay.de>
9819
9820 PR target/52261
9821 * config/avr/lib1funcs.S (__AVR__XMEGA__): Fix tippo to __AVR_XMEGA__.
9822
e10e461e
UW
98232012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9824
9825 * config/ia64/crtbegin.S: Use HAVE_INITFINI_ARRAY_SUPPORT
9826 instead of HAVE_INITFINI_ARRAY.
9827 * config/ia64/crtend.S: Likewise.
9828
0c0c6398
KT
98292012-02-20 Kai Tietz <ktietz@redhat.com>
9830
d7470374
KT
9831 PR libstdc++/52300
9832 * gthr.h (GTHREAD_USE_WEAK): Define as zero for mingw.
9833
0c0c6398
KT
9834 * config.host (i686-*-mingw*): Set md_unwind_header only for dw2-mode
9835 to w32-unwind.h header.
9836
78c27266
RS
98372012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9838
9839 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*)
9840 (mips*-*-linux*): Remove t-slibgcc-libgcc.
9841 * config/mips/t-mips16 (LIB1ASMFUNCS): Remove __mips16_rdhwr.
9842 * config/mips/mips16.S (__mips16_rdhwr): Delete.
9843
5adeb246
RS
98442012-02-19 Richard Sandiford <rdsandiford@googlemail.com>
9845
9846 * config/mips/mips16.S (CALL_STUB_RET): Add CFI information.
9847
672ed313
IS
98482012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9849
9850 PR libitm/52220
9851 * config/darwin-crt-tm.c: Correct typo.
e9e053eb 9852
e948a1fb
IS
98532012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9854 Patrick Marlier <patrick.marlier@gmail.com>
9855
9856 PR libitm/52220
9857 * config/darwin-crt-tm.c: Generate dummy functions.
9858
6017aed3
IS
98592012-02-15 Iain Sandoe <iains@gcc.gnu.org>
9860 Patrick Marlier <patrick.marlier@gmail.com>
9861
9862 PR libitm/52042
9863 * config/darwin-crt-tm.c (getTMCloneTable): New function.
9864 (__doTMRegistrations): Call it.
e9e053eb 9865 (__doTMdeRegistrations): Likewise.
6017aed3 9866
2da8c1ad 98672012-01-15 Georg-Johann Lay <avr@gjlay.de>
7d296953
JJ
9868 Anatoly Sokolov <aesok@post.ru>
9869 Eric Weddington <eric.weddington@atmel.com>
2da8c1ad
GJL
9870
9871 PR target/52261
9872 * config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
9873 (__epilogue_restores__): Ditto.
9874
0f952eb4
EB
98752012-02-15 Eric Botcazou <ebotcazou@adacore.com>
9876
9877 PR target/51921
9878 PR target/52205
9879 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
9880 Solaris 11 and slightly reformat.
9881 (sparc_is_sighandler): Likewise.
9882
dd552284
WL
98832012-02-14 Walter Lee <walt@tilera.com>
9884
9885 * config.host: Handle tilegx and tilepro.
9886 * config/tilegx/sfp-machine.h: New file.
9887 * config/tilegx/sfp-machine32.h: New file.
9888 * config/tilegx/sfp-machine64.h: New file.
9889 * config/tilegx/t-crtstuff: New file.
9890 * config/tilegx/t-softfp: New file.
9891 * config/tilegx/t-tilegx: New file.
9892 * config/tilepro/atomic.c: New file.
9893 * config/tilepro/atomic.h: New file.
9894 * config/tilepro/linux-unwind.h: New file.
9895 * config/tilepro/sfp-machine.h: New file.
9896 * config/tilepro/softdivide.c: New file.
9897 * config/tilepro/softmpy.S: New file.
9898 * config/tilepro/t-crtstuff: New file.
9899 * config/tilepro/t-tilepro: New file.
9900
b59cbd50
JW
99012012-02-07 Jonathan Wakely <jwakely.gcc@gmail.com>
9902
9903 PR libstdc++/51296
9904 PR libstdc++/51906
9905 * gthr-posix.h: Allow static initializer macros to be disabled.
9906 (__gthrw_pthread_cond_init): Define weak reference unconditionally.
9907
6caf807f
CLT
99082012-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9909
9910 * config.host (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*):
9911 Add t-slibgcc-libgcc to tmake_file.
9912 * config/mips/libgcc-mips16.ver: Revert previous patch.
9913 * config/mips/mips16.S (__mips16_rdhwr): Hide.
9914
7d296953
JJ
99152012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com>
9916 Jayant R Sonar <jayant.sonar@kpitcummins.com>
b25364a0
S
9917
9918 * config.host: Add National Semiconductor CR16 target (cr16-*-*).
9919 * config/cr16/crti.S: New file.
9920 * config/cr16/crtlibid.S: New file.
9921 * config/cr16/crtn.S: New file.
9922 * config/cr16/lib1funcs.S: New file.
9923 * config/cr16/t-cr16: New file.
9924 * config/cr16/t-crtlibid: New file.
9925 * config/cr16/unwind-dw2.h: New file.
9926 * config/cr16/unwind-cr16.c: New file.
9927 * config/cr16/divmodhi3.c: New file.
9928
8ef03aa7
AM
99292012-01-25 Alan Modra <amodra@gmail.com>
9930
9931 * config/rs6000/t-linux64: Delete. Move..
9932 * config/rs6000/t-ppc64-fp: ..softfp_wrap defines to here..
9933 * config/rs6000/t-linux: ..and libgcc flags to here.
9934
daecebc8
DR
99352012-01-22 Douglas B Rupp <rupp@gnat.com>
9936
9937 * config.host (i[34567]86-*-interix3*):
8ef03aa7 9938 Change triplet to i[34567]86-*-interix[3-9]*.
daecebc8
DR
9939 * configure: Regenerate.
9940
ddaf8125
RS
99412012-01-15 Chung-Lin Tang <cltang@codesourcery.com>
9942 Richard Sandiford <rdsandiford@googlemail.com>
9943
9944 * config/mips/libgcc-mips16.ver (__mips16_rdhwr): Add.
9945 * config/mips/mips16.S (__mips16_rdhwr): New function.
9946 * config/mips/t-mips16 (LIB1ASMFUNCS): Add _m16rdhwr.
9947
2cd8b32c
NS
99482012-01-11 Nathan Sidwell <nathan@acm.org>
9949
9950 * libgcov.c (__gcov_init): Ignore objects with no functions.
9951
cba300dd
GJL
99522012-01-10 Georg-Johann Lay <avr@gjlay.de>
9953
9954 PR target/49868
9955 Extend __pgmx semantics to linearize memory.
9956 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_1, _movmemx.
9957 * config/avr/lib1funcs.S (__xload_1): New function.
9958 (__movmemx_qi, __movmemx_hi): New functions.
9959 (__xload_2, __xload_3, __xload_4): Rewrite to fit new __pgmx
9960 semantics.
9ffaf4bc 9961
3d137660
EB
99622012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9963
9964 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Check that the
9965 purported sigacthandler address isn't null before dereferencing it.
9966 (sparc_is_sighandler): Likewise.
9967
bf4db96c
EB
99682012-01-09 Eric Botcazou <ebotcazou@adacore.com>
9969
9970 PR ada/41929
9971 * config/sparc/sol2-unwind.h (sparc64_is_sighandler): Remove SAVPC and
9972 add CFA. Revert back to old code for Solaris 8+ multi-threaded.
9973 (sparc_is_sighandler): Likewise.
9974 (MD_FALLBACK_FRAME_STATE_FOR): Adjust call to IS_SIGHANDLER.
9975
1ab3568b
TG
99762012-01-06 Tristan Gingold <gingold@adacore.com>
9977
9978 * config/ia64/t-ia64 (LIB1ASMFUNCS): Move backward
9979 compatibility thunks...
9980 (CUSTOM_CRTSTUFF, crtbegin.o, crtend.o)
9981 (crtbeginS.o, crtendS.o): ... and these to ...
9982 * config/ia64/t-ia64-elf: ... this new file.
9983 * config.host (ia64*-*-elf*, ia64*-*-freebsd*, ia64*-*-linux*)
9984 (ia64*-*-hpux*): Add ia64/t-ia64-elf in tmake_file.
9985
925b0ed8
AK
99862012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9987
9988 * configure: Regenerate.
9989 * config/s390/t-crtstuff: Remove -fPIC.
9990
a99ad737
JW
99912012-01-02 Jonathan Wakely <jwakely.gcc@gmail.com>
9992
9993 PR bootstrap/51006
9994 * enable-execute-stack-mprotect.c (getpagesize): Do not define
9995 for NetBSD.
9996
884f56d1
GJL
99972012-01-02 Georg-Johann Lay <avr@gjlay.de>
9998
9999 PR target/51345
10000 * config/avr/lib1funcs.S: Remove FIXME comments.
10001 (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
10002
8c57e547
GJL
100032012-01-02 Georg-Johann Lay <avr@gjlay.de>
10004
10005 Implement light-weight DImode support.
10006 * config/avr/t-avr (LIB1ASMFUNCS): Add _adddi3, _adddi3_s8,
10007 _subdi3, _cmpdi2, _cmpdi2_s8, _rotldi3.
10008 * config/avr/lib1funcs.S (__adddi3, __adddi3_s8, __subdi3,
10009 __cmpdi2, __cmpdi2_s8, __rotldi3): New functions.
10010
04dbc287
NS
100112011-12-30 Nathan Sidwell <nathan@acm.org>
10012
10013 * libgcov.c (gcov_crc32): Remove global var.
10014 (free_fn_data): New function.
10015 (buffer_fn_data): Pass in filename, more robust error recovery.
10016 (crc32_unsigned): New function.
10017 (gcov_exit): More robust detection of new program. More robust
10018 error recovery.
10019 (__gcov_init): Do not update program's crc here.
10020
8e1d97d4
TG
100212011-12-21 Tristan Gingold <gingold@adacore.com>
10022
10023 * config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.
10024
9ffaf4bc
ILT
100252011-12-21 Ian Lance Taylor <iant@google.com>
10026
10027 * config/i386/morestack.S: Simplify CFI opcodes throughout.
10028
a0c8d0c1
ILT
100292011-12-20 Ian Lance Taylor <iant@google.com>
10030
10031 * config/i386/morestack.S (__morestack_non_split): If there is
10032 enough stack space already, don't split. Ask for more stack space
10033 than we required.
10034
69048898
SDJ
100352011-12-20 Sergio Durigan Junior <sergiodj@redhat.com>
10036
10037 * unwind-arm-common.inc: Include `tconfig.h', `tsystem.h' and
10038 `sys/sdt.h'.
10039 (_Unwind_DebugHook): New function.
10040 (uw_restore_core_regs): New define.
10041 (unwind_phase2): Use uw_restore_core_regs instead of
10042 restore_core_regs.
10043 (unwind_phase2_forced): Likewise.
10044 (__gnu_Unwind_Resume): Likewise.
10045
1bb4b6a3
UB
100462011-12-20 Uros Bizjak <ubizjak@gmail.com>
10047
10048 * config/alpha/linux-unwind.h: Update copyright years.
10049 (MD_FROB_UPDATE_CONTEXT): New define.
10050 (alpha_frob_update_context): New function.
10051
eb028768
RS
100522011-12-17 Richard Sandiford <rdsandiford@googlemail.com>
10053
10054 * config.host (mips*-sde-elf*, mipsisa64sr71k-*-elf*): Add to
10055 tmake_file rather replacing it.
10056
6a2045bf
IS
100572011-12-15 Iain Sandoe <iains@gcc.gnu.org>
10058
10059 * config/rs6000/darwin-world.S (toplevel): Make it clear that this
1bb4b6a3 10060 function is not used for PPC64.
6a2045bf
IS
10061 (save_world): Amend comments. Update the VRsave mask to reflect the
10062 saved regs.
10063 (rest_world): Update comments, do not clobber r10, do not use r8.
10064 (eh_rest_world_r10): Amend comments, do not use r8.
10065 (rest_world_eh_r7r8): Rename as local Lrest_world_eh_r7, since r8 is
10066 no longer used, move restore of CR and target address to the end of
10067 the routine.
10068
a13780a6
L
100692011-12-14 H.J. Lu <hongjiu.lu@intel.com>
10070
10071 * generic-morestack.c (__generic_morestack_set_initial_sp): Check
10072 __GLIBC__ instead of __linux__ when using __SIGRTMIN.
10073
d7288dfb
GJL
100742011-12-14 Georg-Johann Lay <avr@gjlay.de>
10075
10076 PR target/49313
10077 * config/avr/t-avr (LIB1ASMSRC): Add _mulpsi3, _mulsqipsi3.
10078 * config/avr/lib1funcs.S (__mulpsi3, __mulsqipsi3): New functions.
10079
8d2c862d
EB
100802011-12-11 Eric Botcazou <ebotcazou@adacore.com>
10081
10082 * config/sparc/sol2-unwind.h: Use #ifdef directive consistently.
10083
3447cae6
GJL
100842011-12-09 Georg-Johann Lay <avr@gjlay.de>
10085
10086 PR target/49313
10087 * config/avr/t-avr (LIB1ASMFUNCS): Add _muldi3.
10088 * config/avr/lib1funcs.S (__muldi3): New function.
10089
806fc6aa
AP
100902011-12-06 Andrew Pinski <apinski@cavium.com>
10091
10092 * crtstuff.c (__do_global_dtors_aux_fini_array_entry): Align to the
10093 size of func_ptr.
10094 (__frame_dummy_init_array_entry): Likewise.
10095
28c5e6b5
GJL
100962011-12-06 Georg-Johann Lay <avr@gjlay.de>
10097
10098 Forward-port from gcc-4_6-branch r181936 2011-12-02.
10099
10100 PR target/51345
10101 PR target/51002
10102 * config/avr/lib1funcs.S (__prologue_saves__,
10103 __epilogue_restores__, __divdi3_moddi3): Enclose parts using
10104 __SP_H__ in !defined (__AVR_HAVE_8BIT_SP__). Add FIXME comments.
10105
8f90394a
IS
101062011-12-04 Iain Sandoe <iains@gcc.gnu.org>
10107
10108 * config/rs6000/t-darwin64 (LIB2ADD): Add fp and gp save routines.
10109
06dd33ac
JDA
101102011-11-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10111
10112 PR other/51272
10113 * config/pa/stublib.c (_ITM_registerTMCloneTable): New stub.
10114 (_ITM_deregisterTMCloneTable): Likewise.
10115 (__register_frame_info): Fix unused warning.
10116 (__deregister_frame_info, __cxa_finalize, _Jv_RegisterClasses,
10117 pthread_default_stacksize_np): Likewise.
10118 * config/pa/t-stublib (LIBGCCSTUB_OBJS): Add new objects and rules.
1bb4b6a3 10119
85b8555e
DD
101202011-11-29 DJ Delorie <dj@redhat.com>
10121
10122 * config.host (rl78-*-elf): New case.
10123 * config/rl78: New directory for the Renesas RL78.
10124
4d5ae4ea
BS
101252011-11-29 Bernd Schmidt <bernds@codesourcery.com>
10126
10127 * config.host (tic6x-*-uclinux): Append to extra_parts. Fix
10128 formatting.
10129
f9c55897
RO
101302011-11-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10131
10132 PR other/51022
10133 * config/rs6000/t-savresfgpr: New file.
10134 * config/rs6000/t-ppccomm (LIB2ADD_ST): Remove all but
10135 $(srcdir)/config/rs6000/eabi.S.
10136 * config/rs6000/t-ppccomm-ldbl: Remove.
10137 * config.host (powerpc-*-freebsd*): Add rs6000/t-savresfgpr to
10138 tmake_file.
10139 (powerpc-*-eabispe*): Likewise.
10140 (powerpc-*-eabi*): Likewise.
10141 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
10142 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add rs6000/t-ppccomm
10143 to tmake_file, remove rs6000/t-ppccomm-ldbl.
10144 (powerpc-*-eabisimaltivec*): Remove rs6000/t-ppccomm-ldbl from
10145 tmake_file.
10146 (powerpc-*-eabisim*): Likewise.
10147 (powerpc-*-elf*): Likewise.
10148 (powerpc-*-eabialtivec*): Likewise.
10149 (powerpc-xilinx-eabi*): Likewise.
10150 (powerpc-*-rtems*): Likewise.
10151 (powerpcle-*-elf*): Likewise.
10152 (powerpcle-*-eabisim*): Likewise.
10153 (powerpcle-*-eabi*): Likewise.
10154
a01207c4
ILT
101552011-11-27 Ian Lance Taylor <iant@google.com>
10156
10157 * generic-morestack.c (__splitstack_find): Check for NULL old
10158 stack value.
10159 (__splitstack_resetcontext): New function.
10160 (__splitstack_releasecontext): New function.
10161 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10162
2b0b8ab2
IS
101632011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10164
10165 * config/darwin-crt-tm.c: Correct comments, use correct licence.
10166
c1d8101c
IS
101672011-11-27 Iain Sandoe <iains@gcc.gnu.org>
10168
10169 * config/darwin-crt-tm.c: Remove dummy _ITM_ functions.
10170
8b281334
RH
101712011-11-26 Richard Henderson <rth@redhat.com>
10172
10173 * config/m68k/linux-atomic.c: New file.
10174 * config/m68k/t-linux: New file.
10175 * config.host (m68k-uclinux, m68k-linux): Use it.
10176
7546aa9d
RH
101772011-11-26 Richard Henderson <rth@redhat.com>
10178
10179 * crtstuff.c (__TMC_LIST__): Mark used not unused.
10180 (__TMC_END__): Only declare if hidden is available; in the definition,
10181 if hidden is unavailable add a null record.
10182 (deregister_tm_clones, register_tm_clones): New.
10183 (__do_global_dtors_aux, frame_dummy): Use them.
10184 (__do_global_dtors, __do_global_ctors_1): Likewise.
10185
e2362f5d
IS
101862011-11-22 Iain Sandoe <iains@gcc.gnu.org>
10187
10188 * config/darwin-crt-tm.c: New file.
10189 * config.host (darwin): Build crttms.o crttme.o to provide
10190 startup and shutdown for tm clones.
10191 * config/t-darwin (crttms.o): New build rule.
10192 (crttme.o): Likewise.
10193
6685dd96
HPN
101942011-11-21 Hans-Peter Nilsson <hp@axis.com>
10195
10196 * Makefile.in ($(srcdir)/emutls.c): Explain why it's in LIB2ADDEH
10197 et al.
10198
b0dc7e4c
RH
101992011-11-21 Richard Henderson <rth@redhat.com>
10200
10201 * crtstuff.c (USE_TM_CLONE_REGISTRY): Default to 1 on ELF.
10202 (__TMC_LIST__, __TMC_END__): New.
10203 (__do_global_dtors_aux): Call _ITM_deregisterTMCloneTable.
10204 (__do_global_dtors): Likewise.
10205 (frame_dummy): Call _ITM_registerTMCloneTable.
10206 (__do_global_ctors_1): Likewise.
10207
d4b4b542
RO
102082011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10209
10210 * config.host (iq2000*-*-elf*): Add iq2000/t-iq2000 to tmake_file.
10211 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
10212 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add to tmake_file.
10213 (powerpc-*-lynxos*): Add rs6000/t-lynx to tmake_file.
10214 * config/i386/t-darwin64: Remove.
10215 * config/sh/t-netbsd (LIB2ADD): Remove.
10216
989bdb74
GJL
102172011-11-21 Georg-Johann Lay <avr@gjlay.de>
10218
10219 PR target/49313
10220 * config/avr/t-avr (LIB2FUNCS_EXCLUDE): Add _moddi3, _umoddi3.
10221 (LIB1ASMFUNCS): Add _divdi3, _udivdi3, _udivmod64, _negdi2.
10222 * config/avr/lib1funcs.S (wmov): New assembler macro.
10223 (__umoddi3, __udivdi3, __udivdi3_umoddi3): New functions.
10224 (__moddi3, __divdi3, __divdi3_moddi3): New functions.
10225 (__udivmod64): New function.
10226 (__negdi2): New function.
10227
515a0cfc
GP
102282011-11-21 Gerald Pfeifer <gerald@pfeifer.com>
10229
10230 * config.host (*-*-freebsd[12], *-*-freebsd[12].*,
10231 *-*-freebsd*aout*): Remove.
10232
0115d17f
HPN
102332011-11-20 Hans-Peter Nilsson <hp@axis.com>
10234
10235 * static-object.mk (c_flags-$o): Save c_flags.
10236 ($(base)$(objext)): Use it.
10237
93aeb62b
SE
102382011-11-18 Steve Ellcey <sje@cup.hp.com>
10239
10240 * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
10241
7bc6df2c
GJL
102422011-11-18 Georg-Johann Lay <avr@gjlay.de>
10243
10244 PR target/49868
10245 * config/avr/t-avr (LIB1ASMFUNCS): Add _xload_2 _xload_3 _xload_4.
10246 * config/avr/lib1funcs.S (__xload_2, __xload_3, __xload_4):
10247 New functions.
10248
425d737b
MGD
102492011-11-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
10250
10251 * config/arm/lib1funcs.asm (udivsi3): Add support for divide
10252 functions.
1bb4b6a3 10253 (aeabi_uidivmod): Likewise.
425d737b
MGD
10254 (umodsi3): Likewise.
10255 (divsi3): Likewise.
10256 (aeabi_idivmod): Likewise.
10257 (modsi3): Likewise.
10258
f2a176dc
TG
102592011-11-16 Tristan Gingold <gingold@adacore.com>
10260
10261 * config/alpha/qrnnd.S: Use specific pseudos for VMS.
10262
7c209481
GJL
102632011-11-15 Georg-Johann Lay <avr@gjlay.de>
10264
10265 PR target/49868
10266 * config/avr/t-avr (LIB1ASMFUNCS): Add _load_3, _load_4.
10267 * config/avr/lib1funcs.S (__load_3, __load_4, __xload_2): New functions.
10268
9dfd5832
JDA
102692011-11-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10270
10271 * config.host (hppa*64*-*-hpux11*): Remove pa/t-stublib64 from
10272 tmake_file list.
10273 * config/pa/t-stublib: Merge rules from config/pa/t-stublib64.
10274 * config/pa/t-stublib64: Delete.
10275
f77dca5d
RH
102762011-11-12 Richard Henderson <rth@redhat.com>
10277
10278 * config/rs6000/linux-unwind.h (frob_update_context): Properly
10279 cast the pointer argument to _Unwind_SetGRPtr.
10280
902828f0
RO
102812011-11-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10282
10283 * config/spu/t-elf (LIB2ADD): Use LIB2FUNCS_EXCLUDE instead.
10284
e14304ef
ILT
102852011-11-09 Ian Lance Taylor <iant@google.com>
10286
10287 * generic-morestack.c: Include <string.h>.
10288 (uintptr_type): Define.
10289 (struct initial_sp): Add dont_block_signals field. Reduce size of
10290 extra array by 1.
10291 (allocate_segment): Set prev field to NULL. Don't set
10292 __morestack_current_segment or __morestack_segments.
10293 (__generic_morestack): Update current->prev and *pp after calling
10294 allocate_segment.
10295 (__morestack_block_signals): Don't do anything if
10296 dont_block_signals is set.
10297 (__morestack_unblock_signals): Likewise.
10298 (__generic_findstack): Check for initial_sp == NULL. Add casts to
10299 uintptr_type.
10300 (__splitstack_block_signals): New function.
10301 (enum __splitstack_content_offsets): Define.
10302 (__splitstack_getcontext, __splitstack_setcontext): New functions.
10303 (__splitstack_makecontext): New function.
10304 (__splitstack_block_signals_context): New function.
10305 (__splitstack_find_context): New function.
10306 * config/i386/morestack.S (__morestack_get_guard): New function.
10307 (__morestack_set_guard, __morestack_make_guard): New functions.
10308 * libgcc-std.ver.in: Add new functions to GCC_4.7.0.
10309
e3d871e4
RO
103102011-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10311
10312 * config.host (i[34567]86-*-cygwin*): Move i386/t-mingw-pthread ...
10313 (i[34567]86-*-mingw*): ... here.
10314 (x86_64-*-mingw*): ... here.
10315
e55cef40
RO
103162011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10317
10318 * config/c6x/t-elf (LIB2ADD): Add instead of assigning.
10319
5366b186
NS
103202011-11-07 Nathan Sidwell <nathan@acm.org>
10321
10322 * libgcov.c (struct gcov_fn_buffer): New struct.
10323 (buffer_fn_data): New helper.
10324 (gcov_exit): Rework for new gcov data structures.
10325
74155a6f
GJL
103262011-11-07 Georg-Johann Lay <avr@gjlay.de>
10327
10328 PR target/49313
10329 * config/avr/lib1funcs.S (__divmodhi4, __divmodsi4): Tweak speed.
10330
200feb07
RO
103312011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10332
10333 * config.host (tmake_file): Correct comment.
10334 (bfin*-elf*): Remove bfin/t-elf from tmake_file, add
10335 t-libgcc-pic.
10336 (bfin*-uclinux*): Likewise.
10337 (bfin*-linux-uclibc*): Likewise.
10338 (xstormy16-*-elf): Add stormy16/t-stormy16 to tmake_file.
10339
10340 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Append instead of
10341 assigning.
10342 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10343 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Likewise.
10344 * config/c6x/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10345 * config/h8300/t-h8300 (HOST_LIBGCC2_CFLAGS): Likewise.
10346 * config/lm32/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10347 * config/m32r/t-m32r (HOST_LIBGCC2_CFLAGS): Likewise.
10348 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Likewise.
10349 * config/mips/t-elf (HOST_LIBGCC2_CFLAGS): Likewise.
10350 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Likewise.
10351 * config/pdp11/t-pdp11 (HOST_LIBGCC2_CFLAGS): Likewise.
10352 * config/picochip/t-picochip (HOST_LIBGCC2_CFLAGS): Likewise.
10353 * config/stormy16/t-stormy16 (HOST_LIBGCC2_CFLAGS): Likewise.
10354 * config/t-openbsd-thread (HOST_LIBGCC2_CFLAGS): Likewise.
10355
10356 * config/bfin/t-elf: Remove.
10357 * config/t-vxworks (HOST_LIBGCC2_CFLAGS): Remove.
10358
c9cd1a07
RO
103592011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10360
10361 * config.host (*-*-rtems*): Add t-rtems to tmake_file.
10362 (i[34567]86-*-rtems*): Remove t-rtems from tmake_file.
10363 (lm32-*-elf*, lm32-*-rtems*): Split into ...
10364 (lm32-*-elf*): ... this.
10365 (lm32-*-rtems*): ... and this.
10366 Add to tmake_file.
10367 (m32r-*-rtems*): Add to tmake_file.
10368 (moxie-*-rtems*): Likewise.
10369 (sparc-*-rtems*): Likewise.
10370 Remove t-rtems from tmake_file.
10371 (sparc64-*-rtems*): Likewise.
10372 * config/t-rtems (HOST_LIBGCC2_CFLAGS): Use LIBGCC2_INCLUDES
10373 instead.
10374
9fbcc75d
RO
103752011-11-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10376
10377 PR bootstrap/50982
10378 * config/gthr-posix.h: Move ...
10379 * gthr-posix.h: ... here.
10380 * config/gthr-lynx.h: Reflect this.
10381 * config/gthr-vxworks.h: Likewise.
10382 * config/rs6000/gthr-aix.h: Likewise.
10383 * configure.ac (target_thread_file): Likewise.
10384 * configure: Regenerate.
10385
76644b68
SH
103862011-11-06 Sebastian Huber <sebastian.huber@embedded-brains.de>
10387
10388 * config.host (arm*-*-rtemseabi*): New target.
10389
5e490f2a
JDA
103902011-11-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
10391
10392 PR other/50991
10393 * Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
10394 extra-parts.
10395
feeeff5c
JR
103962011-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
10397
10398 * config.host (epiphany-*-elf*): New configuration.
10399 * config/epiphany: New Directory.
10400
d618bb2c
RC
104012011-11-05 Ralf Corsépius <ralf.corsepius@rtems.org>
10402
10403 * config.host (avr-*-rtems*): Add config/avr/t-rtems.
10404 * config/avr/t-rtems: New.
10405 Filter out _exit from LIB1ASMFUNCS.
10406
1bb6f778
DM
104072011-11-04 David S. Miller <davem@davemloft.net>
10408
10409 * configure.ac: Test for 64-bit addresses on !x86 using __LP64__.
10410 * configure: Rebuild.
10411
9a7f7422
AK
104122011-11-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10413
10414 * config/s390/t-crtstuff: Add -fPIC to CRTSTUFF_T_CFLAGS_S
10415 variable.
10416
e4fe948a
GJL
104172011-11-04 Georg-Johann Lay <avr@gjlay.de>
10418
10419 PR target/50931
10420 * config/t-avr (LIB1ASMFUNCS): Add _divmodpsi4, _udivmodpsi4.
10421 * config/lib1funcs.S (__udivmodpsi4, __divmodpsi4): New functions.
10422
7084e037
JS
104232011-11-04 Joel Sherrill <joel.sherrill@oarcorp.com>
10424
10425 PR target/50989
10426 * config.host (sparc-*-rtems*): Add sparc/t-softmul.
10427
1a032034
RO
104282011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10429
10430 * config/c6x/t-elf (LIB2ADDEH): Set.
10431 * config/c6x/t-c6x-elf: Remove.
10432
d385f772
RO
104332011-11-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10434
10435 * config/i386/sol2-ci.S: Rename to ...
10436 * config/i386/crti.S: ... this.
10437 * config/i386/sol2-cn.S: Rename to ...
10438 * config/i386/crtn.S: ... this.
10439 * config/sparc/sol2-ci.S: Rename to ...
10440 * config/sparc/crti.S: ... this.
10441 * config/sparc/sol2-cn.S: Rename to ...
10442 * config/sparc/crtn.S: ... this.
10443 * config/t-sol2 (CUSTOM_CRTIN): Remove.
10444 (crti.o, crtn.o): Remove.
10445
1ba878a9
TG
104462011-11-04 Tristan Gingold <gingold@adacore.com>
10447
10448 * config/ia64/fde-vms.c: Do not include md-unwind-support.h
10449
02750c15
KK
104502011-11-04 Kaz Kojima <kkojima@gcc.gnu.org>
10451
10452 * config/sh/t-sh: Use $(gcc_compile) instead of $(compile).
10453
bf86b067
HPN
104542011-11-03 Hans-Peter Nilsson <hp@axis.com>
10455
10456 * config.host (crisv32-*-none, cris-*-none): Remove.
10457 (crisv32-*-elf): Append to tmake_file, don't just set it.
10458 (cris-*-elf): Add missing t-fdpbit to tmake_file.
10459
d0bc53bd
RO
104602011-11-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10461
10462 * config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
10463 (ecrtn$(objext)): Likewise.
10464 (ncrti$(objext)): Likewise.
10465 (ncrtn$(objext)): Likewise.
10466
036da830
AS
104672011-11-03 Andreas Schwab <schwab@redhat.com>
10468
10469 * config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
10470
d2a7d041
DM
104712011-11-02 David S. Miller <davem@davemloft.net>
10472
10473 * configure.ac: Set host_address on sparc too.
10474 * configure: Regenerate.
10475 * config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
10476 based upon host_address.
10477 * config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
10478
af8ed618
JM
104792011-11-02 Jason Merrill <jason@redhat.com>
10480
10481 * config/rs6000/t-ppccomm: Add missing \.
10482
5d1c8e77
RO
104832011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10484
10485 * gthr-single.h, gthr.h: New files.
10486 * config/gthr-lynx.h, config/gthr-posix.h., config/gthr-rtems.h,
10487 config/gthr-vxworks.h, config/i386/gthr-win32.h,
10488 config/mips/gthr-mipssde.h, config/pa/gthr-dce.h,
10489 config/rs6000/gthr-aix.h, config/s390/gthr-tpf.h: New files.
10490 * config/i386/gthr-win32.c: Include "gthr-win32.h".
10491 * configure.ac (thread_header): New variable.
10492 Set it depending on target_thread_file.
10493 (gthr-default.h): Link from $thread_header.
10494 * configure: Regenerate.
10495 * Makefile.in (LIBGCC2_CFLAGS): Remove $(GTHREAD_FLAGS).
10496
852b75ed
RO
104972011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10498
10499 * configure.ac (tm_file_): New variable.
10500 Determine from tm_file.
10501 (tm_file, tm_defines): Substitute.
10502 * configure: Regenerate.
10503 * mkheader.sh: New file.
10504 * Makefile.in (clean): Remove libgcc_tm.h.
10505 ($(objects)): Depend on libgcc_tm.h.
10506 (libgcc_tm_defines, libgcc_tm_file): New variables.
10507 (libgcc_tm.h, libgcc_tm.stamp): New targets.
10508 ($(libgcc-objects), $(libgcc-s-objects), $(libgcc-eh-objects))
10509 ($(libgcov-objects), $(libunwind-objects), $(libunwind-s-objects))
10510 ($(extra-parts)): Depend on libgcc_tm.h.
10511 * config.host (tm_defines, tm_file): New variable.
10512 (arm*-*-linux*): Set tm_file for arm*-*-linux-*eabi.
10513 (arm*-*-uclinux*): Set tm_file for arm*-*-uclinux*eabi.
10514 (arm*-*-eabi*, arm*-*-symbianelf*): Set tm_file.
10515 (avr-*-rtems*): Likewise.
10516 (avr-*-*): Likewise.
10517 (frv-*-elf): Likewise.
10518 (frv-*-*linux*): Likewise.
10519 (h8300-*-rtems*): Likewise.
10520 (h8300-*-elf*): Likewise.
10521 (i[34567]86-*-darwin*): Likewise.
10522 (x86_64-*-darwin*): Likewise.
10523 (rx-*-elf): Likewise.
10524 (tic6x-*-uclinux): Likewise.
10525 (tic6x-*-elf): Likewise.
10526 (i[34567]86-*-linux*, x86_64-*-linux*): Likewise.
10527 * config/alpha/gthr-posix.c: Include libgcc_tm.h.
10528 * config/i386/cygming-crtbegin.c: Likewise.
10529 * config/i386/cygming-crtend.c: Likewise.
10530 * config/ia64/fde-vms.c: Likewise.
10531 * config/ia64/unwind-ia64.c: Likewise.
10532 * config/libbid/bid_gcc_intrinsics.h: Likewise.
10533 * config/rs6000/darwin-fallback.c: Likewise.
10534 * config/stormy16/lib2funcs.c: Likewise.
10535 * config/xtensa/unwind-dw2-xtensa.c: Likewise.
10536 * crtstuff.c: Likewise.
10537 * dfp-bit.h: Likewise.
10538 * emutls.c: Likewise.
10539 * fixed-bit.c: Likewise.
10540 * fp-bit.c: Likewise.
10541 * generic-morestack-thread.c: Likewise.
10542 * generic-morestack.c: Likewise.
10543 * libgcc2.c: Likewise.
10544 * libgcov.c: Likewise.
10545 * unwind-dw2-fde-dip.c: Likewise.
10546 * unwind-dw2-fde.c: Likewise.
10547 * unwind-dw2.c: Likewise.
10548 * unwind-sjlj.c: Likewise.
10549
f9989b51
RO
105502011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10551
10552 * configure.ac: Include ../config/picflag.m4.
10553 (GCC_PICFLAG): Call it.
10554 Substitute.
10555 * configure: Regenerate.
10556 * Makefile.in (gcc_srcdir): Remove.
10557 (LIBGCC2_DEBUG_CFLAGS, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES)
10558 (HOST_LIBGCC2_CFLAGS, PICFLAG, LIB2FUNCS_ST, LIB2FUNCS_EXCLUDE)
10559 (LIB2_DIVMOD_FUNCS, LIB2ADD, LIB2ADD_ST): Set.
10560 ($(lib2funcs-o), $(lib2funcs-s-o), $(lib2-divmod-o))
10561 ($(lib2-divmod-s-o)): Use $(srcdir) to refer to libgcc2.c.
10562 Use $<.
10563 Remove comment.
10564 * libgcc2.c, libgcc2.h, gbl-ctors.h, longlong.h: New files.
10565 * siditi-object.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir)
10566 to refer to libgcc2.c.
10567 Use $<.
10568 * config/darwin-64.c: New file.
10569 * config/darwin-crt3.c: Remove comment.
10570 * config/divmod.c, config/floatunsidf.c, config/floatunsisf.c,
10571 config/floatunsitf.c, config/floatunsixf.c, config/udivmod.c,
10572 config/udivmodsi4.c: New files.
10573 * config/memcmp.c, config/memcpy.c, config/memmove.c,
10574 config/memset.c: New files.
10575 * config/t-crtstuff-pic (CRTSTUFF_T_CFLAGS_S): Use $(PICFLAG).
10576 * config/t-darwin (HOST_LIBGCC2_CFLAGS): Set.
10577 * config/t-freebsd-thread, config/t-libgcc-pic: New files.
10578 * config/t-libunwind (HOST_LIBGCC2_CFLAGS): Set.
10579 * config/t-openbsd-thread: New file.
10580 * config/t-sol2 (HOST_LIBGCC2_CFLAGS): Remove.
10581 * config/t-vxworks, config/vxlib-tls.c, config/vxlib.c: New files.
10582 * config/alpha/gthr-posix.c, config/alpha/qrnnd.S: New files.
10583 * config/alpha/t-alpha (LIB2ADD): Use $(srcdir) to refer to
10584 qrnnd.S.
10585 Adapt filename.
10586 * config/alpha/t-osf-pthread (LIB2ADD): Use $(srcdir)/config/alpha
10587 to refer to gthr-posix.c.
10588 * config/alpha/t-vms (LIB2ADD): Set.
10589 * config/alpha/vms-gcc_shell_handler.c: New file.
10590 * config/arm/bpabi.c, config/arm/fp16.c,
10591 config/arm/linux-atomic.c, config/arm/linux-atomic-64bit.c,
10592 config/arm/unaligned-funcs.c: New files.
10593 * config/arm/t-bpabi (LIB2ADD, LIB2ADD_ST): Set.
10594 * config/arm/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10595 * config/arm/t-linux: Likewise.
10596 * config/arm/t-linux-eabi (LIB2ADD_ST): Add.
10597 * config/arm/t-netbsd: New file.
10598 * config/arm/t-strongarm-elf (HOST_LIBGCC2_CFLAGS): Set.
10599 * config/arm/t-symbian (LIB2ADD_ST): Set.
10600 * config/avr/t-avr (LIB2FUNCS_EXCLUDE, HOST_LIBGCC2_CFLAGS): Set.
10601 * config/bfin/t-crtstuff (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10602 * config/bfin/t-elf: New file.
10603 * config/c6x/eqd.c, config/c6x/eqf.c, config/c6x/ged.c,
10604 config/c6x/gef.c, config/c6x/gtd.c, config/c6x/gtf.c,
10605 config/c6x/led.c, config/c6x/lef.c, config/c6x/ltd.c,
10606 config/c6x/ltf.c: New files.
10607 * config/c6x/t-elf (LIB2FUNCS_EXCLUDE, LIB2ADD)
10608 (HOST_LIBGCC2_CFLAGS): Set.
10609 * config/c6x/t-uclinux (HOST_LIBGCC2_CFLAGS): Set.
10610 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10611 * config/cris/arit.c, config/cris/mulsi3.S, config/cris/t-cris:
10612 New files.
10613 * config/cris/t-elfmulti (LIB2ADD_ST): Set.
10614 * config/cris/t-linux (HOST_LIBGCC2_CFLAGS): Remove.
10615 * config/frv/cmovd.c, config/frv/cmovh.c, config/frv/cmovw.c,
10616 config/frv/modi.c, config/frv/uitod.c, config/frv/uitof.c,
10617 config/frv/ulltod.c, config/frv/ulltof.c, config/frv/umodi.c: New
10618 files.
10619 * config/frv/t-frv (LIB2ADD): Set.
10620 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10621 * config/h8300/clzhi2.c, config/h8300/ctzhi2.c,
10622 config/h8300/fixunssfsi.c, config/h8300/parityhi2.c,
10623 config/h8300/popcounthi2.c: New files.
10624 * config/h8300/t-h8300 (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10625 * config/i386/gthr-win32.c: New file.
10626 * config/i386/t-cygming (LIBGCC2_INCLUDES): Set.
10627 * config/i386/t-cygwin: Likewise.
10628 * config/i386/t-darwin, config/i386/t-darwin64,
10629 config/i386/t-gthr-win32, config/i386/t-interix: New files.
10630 * config/i386/t-nto (HOST_LIBGCC2_CFLAGS): Set.
10631 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10632 * config/i386/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10633 * config/ia64/quadlib.c: New file.
10634 * config/ia64/t-hpux (LIB2ADD): Set.
10635 * config/ia64/t-ia64: Add comment.
10636 * config/iq2000/lib2funcs.c, config/iq2000/t-iq2000: New files.
10637 * config/lm32/t-uclinux (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10638 (HOST_LIBGCC2_CFLAGS): Append, remove -fPIC.
10639 * config/m32c/lib2funcs.c, config/m32c/trapv.c: New files.
10640 * config/m32c/t-m32c (LIB2ADD): Set.
10641 * config/m32r/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10642 * config/m32r/t-m32r: Likewise.
10643 * config/m68k/fpgnulib.c: New file.
10644 * config/m68k/t-floatlib (LIB2ADD): Set.
10645 (xfgnulib.c): New target.
10646 * config/mcore/t-mcore (HOST_LIBGCC2_CFLAGS): Set.
10647 * config/mep/lib2funcs.c, config/mep/tramp.c: New files.
10648 * config/mep/t-mep (LIB2ADD): Set.
10649 * config/microblaze/divsi3.asm: Rename to divsi3.S.
10650 * config/microblaze/moddi3.asm: Rename to moddi3.S.
10651 * config/microblaze/modsi3.asm: Rename to modsi3.S.
10652 * config/microblaze/muldi3_hard.asm: Rename to hard.S.
10653 * config/microblaze/mulsi3.asm: Rename to mulsi3.S.
10654 * config/microblaze/stack_overflow_exit.asm: Rename to exit.S.
10655 * config/microblaze/udivsi3.asm: Rename to udivsi3.S.
10656 * config/microblaze/umodsi3.asm: Rename to umodsi3.S.
10657 * config/microblaze/t-microblaze (LIB2ADD): Reflect this.
10658 * config/mips/t-elf, config/mips/t-vr, config/mips/vr4120-div.S:
10659 New files.
10660 * config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS): Set.
10661 * config/mmix/t-mmix (HOST_LIBGCC2_CFLAGS): Set.
10662 * config/pa/fptr.c, config/pa/lib2funcs.S,
10663 config/pa/linux-atomic.c, config/pa/quadlib.c: New files.
10664 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS): Set.
10665 (LIB2ADD, LIB2ADD_ST): Set.
10666 * config/pa/t-hpux, config/pa/t-hpux10, config/pa/t-pa64: New files.
10667 * config/pa/t-linux (HOST_LIBGCC2_CFLAGS, LIB2ADD, LIB2ADD_ST):
10668 Set.
10669 * config/pa/t-linux64 (LIB2ADD_ST, HOST_LIBGCC2_CFLAGS): Set.
10670 * config/pdp11/t-pdp11: New file.
10671 * config/picochip/libgccExtras/adddi3.S,
10672 config/picochip/libgccExtras/ashlsi3.S,
10673 config/picochip/libgccExtras/ashrsi3.S,
10674 config/picochip/libgccExtras/clzsi2.S,
10675 config/picochip/libgccExtras/cmpsi2.S,
10676 config/picochip/libgccExtras/divmod15.S,
10677 config/picochip/libgccExtras/divmodhi4.S,
10678 config/picochip/libgccExtras/divmodsi4.S,
10679 config/picochip/libgccExtras/lshrsi3.S,
10680 config/picochip/libgccExtras/parityhi2.S,
10681 config/picochip/libgccExtras/popcounthi2.S,
10682 config/picochip/libgccExtras/subdi3.S,
10683 config/picochip/libgccExtras/ucmpsi2.S,
10684 config/picochip/libgccExtras/udivmodhi4.S,
10685 config/picochip/libgccExtras/udivmodsi4.S: New files.
10686 * config/picochip/t-picochip (LIB2ADD, HOST_LIBGCC2_CFLAGS)
10687 (LIBGCC2_DEBUG_CFLAGS, RANLIB_FOR_TARGET): Set.
10688 * config/rs6000/crtresfpr.S, config/rs6000/crtresgpr.S,
10689 config/rs6000/crtresxfpr.S, config/rs6000/crtresxgpr.S,
10690 config/rs6000/crtsavfpr.S, config/rs6000/crtsavgpr.S)
10691 config/rs6000/darwin-asm.h, config/rs6000/darwin-fpsave.S,
10692 config/rs6000/darwin-gpsave.S, config/rs6000/darwin-tramp.S,
10693 config/rs6000/darwin-vecsave.S, config/rs6000/darwin-world.S: New
10694 files.
10695 * config/rs6000/t-darwin (LIB2ADD, LIB2ADD_ST)
10696 (HOST_LIBGCC2_CFLAGS): Set.
10697 * config/rs6000/t-darwin64: New file.
10698 * config/rs6000/t-linux64 (HOST_LIBGCC2_CFLAGS): Set.
10699 * config/rs6000/t-lynx, config/rs6000/t-netbsd: New files.
10700 * config/rs6000/t-ppccomm (LIB2ADD): Add
10701 $(srcdir)/config/rs6000/tramp.S.
10702 (LIB2ADD_ST): Use $(srcdir)/config/rs6000 to refer to sources.
10703 Add $(srcdir)/config/rs6000/eabi.S.
10704 (crtsavfpr.S, crtresfpr.S, crtsavgpr.S, crtresgpr.S, crtresxfpr.S)
10705 (crtresxgpr.S, e500crtres32gpr.S, e500crtres64gpr.S)
10706 (e500crtres64gprctr.S, e500crtrest32gpr.S, e500crtrest64gpr.S)
10707 (e500crtresx32gpr.S, e500crtresx64gpr.S, e500crtsav32gpr.S)
10708 (e500crtsav64gpr.S, e500crtsav64gprctr.S, e500crtsavg32gpr.S)
10709 (e500crtsavg64gpr.S, e500crtsavg64gprctr.S): Remove.
10710 * config/rs6000/tramp.S: New file.
10711 * config/s390/t-tpf: Remove.
10712 * config/sh/linux-atomic.S: New file.
10713 * config/sh/t-linux (LIB2ADD): Set.
10714 (HOST_LIBGCC2_CFLAGS): Append, remove -fpic.
10715 * config/sh/t-netbsd (LIB2ADD, HOST_LIBGCC2_CFLAGS): Set.
10716 * config/sh/t-sh (unwind-dw2-Os-4-200.o): Use $(srcdir) to refer
10717 to unwind-dw2.c.
10718 (HOST_LIBGCC2_CFLAGS): Set.
10719 * config/sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use $(PICFLAG).
10720 * config/spu/divmodti4.c, config/spu/divv2df3.c,
10721 config/spu/float_disf.c, config/spu/float_unsdidf.c,
10722 config/spu/float_unsdisf.c, config/spu/float_unssidf.c,
10723 config/spu/mfc_multi_tag_release.c,
10724 config/spu/mfc_multi_tag_reserve.c, config/spu/mfc_tag_release.c,
10725 config/spu/mfc_tag_reserve.c, config/spu/mfc_tag_table.c,
10726 config/spu/multi3.c: New files.
10727 * config/spu/t-elf (LIB2ADD, LIB2ADD_ST, LIB2_SIDITI_CONV_FUNCS)
10728 (HOST_LIBGCC2_CFLAGS): Set.
10729 * config/stormy16/ashlsi3.c, config/stormy16/ashrsi3.c,
10730 config/stormy16/clzhi2.c, config/stormy16/cmpsi2.c,
10731 config/stormy16/ctzhi2.c, config/stormy16/divsi3.c,
10732 config/stormy16/ffshi2.c, config/stormy16/lib2.c,
10733 config/stormy16/lshrsi3.c, config/stormy16/modsi3.c,
10734 config/stormy16/parityhi2.c, config/stormy16/popcounthi2.c,
10735 config/stormy16/t-stormy16, config/stormy16/ucmpsi2.c,
10736 config/stormy16/udivmodsi4.c, config/stormy16/udivsi3.c,
10737 config/stormy16/umodsi3.c: New files.
10738 * config/xtensa/lib2funcs.S: New file.
10739 * config/xtensa/t-elf (HOST_LIBGCC2_CFLAGS): Set.
10740 * config/xtensa/t-xtensa (LIB2ADD): Set.
10741 * config.host (*-*-darwin*): Add t-libgcc-pic to tmake_file.
10742 (*-*-freebsd*): Add t-freebsd, t-libgcc-pic to tmake_file.
10743 Add t-freebsd-thread to tmake_file for posix threads.
10744 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu)
10745 (*-*-gnu*, *-*-kopensolaris*-gnu): Add t-libgcc-pic to tmake_file.
10746 (*-*-lynxos*): Likewise.
10747 (*-*-netbsd*): Likewise.
10748 (*-*-openbsd*): Likewise.
10749 Add t-openbsd-thread to tmake_file for posix threads.
10750 (*-*-solaris2*): Add t-libgcc-pic to tmake_file.
10751 (*-*-vxworks*): Set tmake_file.
10752 (alpha*-*-linux*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10753 (alpha*-*-freebsd*): Likewise.
10754 (alpha*-*-netbsd*): Likewise.
10755 (alpha*-*-openbsd*): Likewise.
10756 (alpha*-dec-osf5.1*): Remove qrnnd.o, gthr-posix.o from extra_parts.
10757 (alpha64-dec-*vms*): Add alpha/t-alpha, alpha/t-ieee to tmake_file.
10758 (alpha*-dec-*vms*): Likewise.
10759 (arm*-*-netbsdelf*): Add arm/t-netbsd to tmake_file.
10760 (bfin*-elf*): Add bfin/t-elf to tmake_file.
10761 (bfin*-uclinux*): Likewise.
10762 (bfin*-linux-uclibc*): Likewise.
10763 (crisv32-*-elf): Add cris/t-cris to tmake_file.
10764 (crisv32-*-none): Likewise.
10765 (cris-*-elf): Likewise.
10766 (cris-*-none): Likewise.
10767 (cris-*-linux*, crisv32-*-linux*): Likewise.
10768 (hppa[12]*-*-hpux10*): Add pa/t-hpux pa/t-hpux10, t-libgcc-pic to
10769 tmake_file.
10770 (hppa*64*-*-hpux11*): Add pa/t-hpux, pa/t-pa64, t-libgcc-pic to
10771 tmake_file.
10772 (hppa[12]*-*-hpux11*): Add pa/t-hpux, t-libgcc-pic to tmake_file.
10773 (i[34567]86-*-elf*): Add t-libgcc-pic to tmake_file.
10774 (x86_64-*-elf*): Likewise.
10775 (i[34567]86-*-nto-qnx*): Likewise.
10776 (i[34567]86-*-mingw*): Add i386/t-gthr-win32 to tmake_file for
10777 win32 threads.
10778 (x86_64-*-mingw*): Likewise.
10779 (i[34567]86-*-interix3*): Add i386/t-interix to tmake_file.
10780 (lm32-*-uclinux*): Add t-libgcc-pic to tmake_file.
10781 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
10782 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
10783 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-elf to
10784 tmake_file.
10785 (mipsisa64sr71k-*-elf*): Likewise.
10786 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
10787 (mips-*-elf*, mipsel-*-elf*): Likewise.
10788 (mips64-*-elf*, mips64el-*-elf*): Likewise.
10789 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
10790 (mips*-*-rtems*): Likewise.
10791 (mips64vr-*-elf*, mips64vrel-*-elf*): Add mips/t-elf, mips/t-vr
10792 to tmake_file.
10793 (pdp11-*-*): Add pdp11/t-pdp11 to tmake_file.
10794 (powerpc64-*-darwin*): Add rs6000/t-darwin64 to tmake_file.
10795 (s390x-ibm-tpf*): Add t-libgcc-pic to tmake_file.
10796 (spu-*-elf*): Likewise.
10797 (tic6x-*-uclinux): Add t-libgcc-pic to tmake_file.
10798
45b86625
RO
107992011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10800
10801 * Makefile.in ($(lib1asmfuncs-o), $(lib1asmfuncs-s-o)): Use
10802 $(srcdir) to refer to $(LIB1ASMSRC).
10803 Use $<.
10804 * config/arm/bpabi-v6m.S, config/arm/bpabi.S,
10805 config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
10806 config/arm/lib1funcs.S: New files.
10807 * config/arm/libunwind.S [!__symbian__]: Use lib1funcs.S.
10808 * config/arm/t-arm: New file.
10809 * config/arm/t-bpabi (LIB1ASMFUNCS): Set.
10810 * config/arm/t-elf, config/arm/t-linux, config/arm/t-linux-eabi,
10811 config/arm/t-strongarm-elf: New files.
10812 * config/arm/t-symbian (LIB1ASMFUNCS): Set.
10813 * config/arm/t-vxworks, config/arm/t-wince-pe: New files.
10814 * config/avr/lib1funcs.S: New file.
10815 * config/avr/t-avr (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10816 * config/bfin/lib1funcs.S, config/bfin/t-bfin: New files.
10817 * config/c6x/lib1funcs.S: New file.
10818 * config/c6x/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10819 * config/fr30/lib1funcs.S, config/fr30/t-fr30: New files.
10820 * config/frv/lib1funcs.S: New file.
10821 * config/frv/t-frv (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10822 * config/h8300/lib1funcs.S, config/h8300/t-h8300: New files.
10823 * config/i386/cygwin.S, config/i386/t-chkstk: New files.
10824 * config/ia64/__divxf3.asm: Rename to ...
10825 * config/ia64/__divxf3.S: ... this.
10826 Adapt lib1funcs.asm filename.
10827 * config/ia64/_fixtfdi.asm: Rename to ...
10828 * config/ia64/_fixtfdi.S: ... this.
10829 Adapt lib1funcs.asm filename.
10830 * config/ia64/_fixunstfdi.asm: Rename to ...
10831 * config/ia64/_fixunstfdi.S: ... this.
10832 Adapt lib1funcs.asm filename.
10833 * config/ia64/_floatditf.asm: Rename to ...
10834 * config/ia64/_floatditf.S: ... this.
10835 Adapt lib1funcs.asm filename.
10836 * config/ia64/lib1funcs.S: New file.
10837 * config/ia64/t-hpux (LIB1ASMFUNCS): Set.
10838 * config/ia64/t-ia64 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10839 * config/ia64/t-softfp-compat (libgcc1-tf-compats): Adapt suffix.
10840 * config/m32c/lib1funcs.S, config/m32c/t-m32c: New files.
10841 * config/m68k/lb1sf68.S, config/m68k/t-floatlib: New files.
10842 * config/mcore/lib1funcs.S, config/mcore/t-mcore: New files.
10843 * config/mep/lib1funcs.S: New file.
10844 * config/mep/t-mep (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10845 * config/mips/mips16.S: New file.
10846 * config/mips/t-mips16 (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10847 * config/pa/milli64.S: New file.
10848 * config/pa/t-linux, config/pa/t-linux64: New files.
10849 * config/picochip/lib1funcs.S: New file.
10850 * config/picochip/t-picochip (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10851 * config/sh/lib1funcs.S, config/sh/lib1funcs.h: New files.
10852 * config/sh/t-linux (LIB1ASMFUNCS_CACHE): Set.
10853 * config/sh/t-netbsd: New file.
10854 * config/sh/t-sh (LIB1ASMSRC, LIB1ASMFUNCS, LIB1ASMFUNCS_CACHE): Set.
10855 Use $(srcdir) to refer to lib1funcs.S, adapt filename.
10856 * config/sh/t-sh64: New file.
10857 * config/sparc/lb1spc.S: New file.
10858 * config/sparc/t-softmul (LIB1ASMSRC): Adapt sparc/lb1spc.asm
10859 filename.
10860 * config/v850/lib1funcs.S, config/v850/t-v850: New files.
10861 * config/vax/lib1funcs.S, config/vax/t-linux: New files.
10862 * config/xtensa/ieee754-df.S, config/xtensa/ieee754-sf.S,
10863 config/xtensa/lib1funcs.S: New files.
10864 * config/xtensa/t-xtensa (LIB1ASMSRC, LIB1ASMFUNCS): Set.
10865 * config.host (arm-wrs-vxworks): Add arm/t-arm, arm/t-vxworks to
10866 tmake_file.
10867 (arm*-*-freebsd*): Add arm/t-arm, arm/t-strongarm-elf to tmake_file.
10868 (arm*-*-netbsdelf*): Add arm/t-arm to tmake_file.
10869 (arm*-*-linux*): Likewise.
10870 Add arm/t-elf, arm/t-bpabi, arm/t-linux-eabi to tmake_file for
10871 arm*-*-linux-*eabi, add arm/t-linux otherwise.
10872 (arm*-*-uclinux*): Add arm/t-arm, arm/t-elf to tmake_file.
10873 (arm*-*-ecos-elf): Likewise.
10874 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
10875 (arm*-*-rtems*): Likewise.
10876 (arm*-*-elf): Likewise.
10877 (arm*-wince-pe*): Add arm/t-arm, arm/t-wince-pe to tmake_file.
10878 (avr-*-rtems*): Add to tmake_file, add avr/t-avr.
10879 (bfin*-elf*): Add bfin/t-bfin to tmake_file.
10880 (bfin*-uclinux*): Likewise.
10881 (bfin*-linux-uclibc*): Likewise.
10882 (bfin*-rtems*): Likewise.
10883 (bfin*-*): Likewise.
10884 (fido-*-elf): Merge into m68k-*-elf*.
10885 (fr30-*-elf)): Add fr30/t-fr30 to tmake_file.
10886 (frv-*-*linux*): Add frv/t-frv to tmake_file.
10887 (h8300-*-rtems*): Add h8300/t-h8300 to tmake_file.
10888 (h8300-*-elf*): Likewise.
10889 (hppa*64*-*-linux*): Add pa/t-linux, pa/t-linux64 to tmake_file.
10890 (hppa*-*-linux*): Add pa/t-linux to tmake_file.
10891 (i[34567]86-*-cygwin*): Add i386/t-chkstk to tmake_file.
10892 (i[34567]86-*-mingw*): Likewise.
10893 (x86_64-*-mingw*): Likewise.
10894 (i[34567]86-*-interix3*): Likewise.
10895 (ia64*-*-hpux*): Add ia64/t-ia64, ia64/t-hpux to tmake_file.
10896 (ia64-hp-*vms*): Add ia64/t-ia64 to tmake_file.
10897 (m68k-*-elf*): Also handle fido-*-elf.
10898 Add m68k/t-floatlib to tmake_file.
10899 (m68k-*-uclinux*): Add m68k/t-floatlib to tmake_file.
10900 (m68k-*-linux*): Likewise.
10901 (m68k-*-rtems*): Likewise.
10902 (mcore-*-elf): Add mcore/t-mcore to tmake_file.
10903 (sh-*-elf*, sh[12346l]*-*-elf*): Add sh/t-sh64 to tmake_file for
10904 sh64*-*-*.
10905 (sh-*-linux*, sh[2346lbe]*-*-linux*): Add sh/t-sh to tmake_file.
10906 Add sh/t-sh64 to tmake_file for sh64*-*-linux*.
10907 (sh-*-netbsdelf*, shl*-*-netbsdelf*, sh5-*-netbsd*)
10908 (sh5l*-*-netbsd*, sh64-*-netbsd*, sh64l*-*-netbsd*): Add sh/t-sh,
10909 sh/t-netbsd to tmake_file.
10910 Add sh/t-sh64 to tmake_file for sh5*-*-netbsd*, sh64*-netbsd*.
10911 (sh-*-rtems*): Add sh/t-sh to tmake_file.
10912 (sh-wrs-vxworks): Likewise.
10913 (sparc-*-linux*): Add sparc/t-softmul to tmake_file except for
10914 *-leon[3-9]*.
10915 (v850*-*-*): Add v850/t-v850 to tmake_file.
10916 (vax-*-linux*): Add vax/t-linux to tmake_file.
10917 (m32c-*-elf*, m32c-*-rtems*): Add m32c/t-m32c to tmake_file.
10918
5f73c6cc
RO
109192011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
10920
10921 * crtstuff.c: New file.
10922 * Makefile.in (CRTSTUFF_CFLAGS): Define.
10923 (CRTSTUFF_T_CFLAGS): Define.
10924 (extra-parts, INSTALL_PARTS): Remove conditional assignments.
10925 (crtbegin$(objext), crtend$(objext), crtbeginS$(objext))
10926 (crtendS$(objext), crtbeginT.o): Use $(srcdir) to refer to
10927 crtstuff.c.
10928 Use $<.
10929 (crtbeginT.o): Use $(objext).
10930 [!CUSTOM_CRTIN] (crti$(objext), crtn$(objext)): New rules.
10931 (libgcc-extra-parts): Don't compare EXTRA_PARTS, GCC_EXTRA_PARTS.
10932 (gcc-extra-parts): Remove.
10933 * config.host (*-*-freebsd*): Add t-crtstuff-pic to tmake_file.
10934 Set extra_parts.
10935 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
10936 *-*-gnu*): Also handle *-*-kopensolaris*-gnu.
10937 Add t-crtstuff-pic to tmake_file.
10938 (*-*-lynxos*): New case.
10939 Set tmake_file, extra_parts.
10940 (*-*-netbsd*): Add t-crtstuff-pic to tmake_file.
10941 Set extra_parts for *-*-netbsd*1.[7-9]*, *-*-netbsd[2-9]*,
10942 *-*-netbsdelf[2-9]*.
10943 (*-*-openbsd*): Add t-crtstuff-pic to tmake_file.
10944 (*-*-rtems*): Set extra_parts.
10945 (*-*-solaris2*): Remove t-crtin from tmake_file for Solaris < 10.
10946 (*-*-uclinux*): New case.
10947 Set extra_parts.
10948 (*-*-vms*): New case.
10949 Set tmake_file, extra_parts.
10950 (*-*-elf): Set extra_parts.
10951 (alpha*-*-freebsd*): Add crtbeginT.o to extra_parts.
10952 (alpha64-dec-*vms*): Append to tmake_file, remove vms/t-vms,
10953 vms/t-vms64.
10954 Set extra_parts.
10955 (alpha*-dec-*vms*): Append to tmake_file, remove vms/t-vms.
10956 Set extra_parts.
10957 (arm*-*-freebsd*): Add t-crtin to tmake_file.
10958 Add crtbegin.o, crtend.o, crti.o, crtn.o to extra_parts.
10959 (arm-wrs-vxworks): Append to tmake_file.
10960 Set extra_parts.
10961 (arm*-*-uclinux*): Set extra_parts.
10962 (arm*-*-ecos-elf): Likewise.
10963 (arm*-*-eabi*, arm*-*-symbianelf*): Set extra_parts for
10964 arm*-*-eabi*.
10965 (arm*-*-rtems*): Set extra_parts.
10966 (arm*-*-elf): Likewise.
10967 (avr-*-rtems*): Clear extra_parts.
10968 (bfin*-elf*): Add bfin/t-crtlibid, bfin/t-crtstuff to extra_parts.
10969 Set extra_parts.
10970 (bfin*-uclinux*): Likewise.
10971 (bfin*-linux-uclibc*): Add bfin/t-crtstuff to tmake_file.
10972 (bfin*-rtems*): Append to tmake_file.
10973 Set extra_parts.
10974 (bfin*-*): Likewise.
10975 (crisv32-*-elf, crisv32-*-none, cris-*-elf, cris-*-none): Split into ...
10976 (crisv32-*-elf): ... this.
10977 (crisv32-*-none): ... this.
10978 (cris-*-elf, cris-*-none): New cases.
10979 Add cris/t-elfmulti to tmake_file.
10980 (fr30-*-elf): Append to tmake_file.
10981 Set extra_parts.
10982 (frv-*-elf): Append to tmake_file, add frv/t-frv.
10983 Set extra_parts.
10984 (h8300-*-rtems*): Append to tmake_file.
10985 Set extra_parts.
10986 (h8300-*-elf*): Likewise.
10987 (hppa*64*-*-hpux11*): Add pa/t-stublib, pa/t-stublib64 to tmake_file.
10988 Set extra_parts.
10989 (hppa[12]*-*-hpux11*): Add pa/t-stublib to tmake_file.
10990 Set extra_parts.
10991 (i[34567]86-*-elf*): Add i386/t-crtstuff, t-crtstuff-pic to tmake_file.
10992 (x86_64-*-elf*): Likewise.
10993 (i[34567]86-*-freebsd*): Add i386/t-crtstuff to tmake_file.
10994 (x86_64-*-freebsd*): Likewise.
10995 (x86_64-*-netbsd*): Likewise.
10996 (i[34567]86-*-linux*): Likewise.
10997 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
10998 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
10999 (x86_64-*-linux*): Likewise.
11000 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11001 (i[34567]86-*-lynxos*): Add t-crtstuff-pic, i386/t-crtstuff to
11002 tmake_file.
11003 Set extra_parts.
11004 (i[34567]86-*-nto-qnx*): Set tmake_file, extra_parts.
11005 (i[34567]86-*-rtems*): Append to tmake_file, remove t-crtin.
11006 Append to extra_parts, remove crtbegin.o, crtend.o.
11007 (ia64*-*-elf*): Append to extra_parts, remove crtbegin.o, crtend.o.
11008 (ia64*-*-freebsd*): Append to extra_parts, remove crtbegin.o,
11009 crtend.o, crtbeginS.o, crtendS.o.
11010 (ia64*-*-linux*): Comment extra_parts.
11011 (ia64-hp-*vms*): Append to tmake_file, remove vms/t-vms, vms/t-vms64.
11012 Set extra_parts.
11013 (iq2000*-*-elf*): Clear extra_parts.
11014 (lm32-*-elf*, lm32-*-rtems*): Add t-crtin to tmake_file.
11015 (lm32-*-uclinux*): Add to extra_parts, remove crtbegin.o, crtend.o
11016 (m32r-*-elf*, m32r-*-rtems*): Split off ...
11017 (m32r-*-rtems*): ... this.
11018 Add m32r/t-m32r to tmake_file.
11019 (m68k-*-elf*): Add t-crtin to tmake_file.
11020 (m68k-*-rtems*): Add crti.o, crtn.o to extra_parts.
11021 (mcore-*-elf): Likewise.
11022 (microblaze*-*-*): Set extra_parts.
11023 (mips*-sde-elf*): New case.
11024 Set tmake_file, extra_parts.
11025 (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*)
11026 (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*)
11027 (mipsisa64r2-*-elf*, mipsisa64r2el-*-elf*): Add mips/t-crtstuff to
11028 tmake_file.
11029 Set extra_parts.
11030 (mipsisa64sr71k-*-elf*): Likewise.
11031 (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*): Likewise.
11032 (mips-*-elf*, mipsel-*-elf*): Likewise.
11033 (mips64-*-elf*, mips64el-*-elf*): Likewise.
11034 (mips64vr-*-elf*, mips64vrel-*-elf*): Likewise.
11035 (mips64orion-*-elf*, mips64orionel-*-elf*): Likewise.
11036 (mips*-*-rtems*): Likewise.
11037 (mipstx39-*-elf*, mipstx39el-*-elf*): Likewise.
11038 (moxie-*-*): Split into ...
11039 (moxie-*-elf, moxie-*-uclinux*): ... this.
11040 Add to extra_parts, remove crtbegin.o, crtend.o.
11041 (moxie-*-rtems*): New case.
11042 Set tmake_file.
11043 Clear extra_parts.
11044 (powerpc-*-freebsd*): Add rs6000/t-crtstuff to tmake_file.
11045 Set extra_parts.
11046 (powerpc-*-netbsd*): Add rs6000/t-netbsd to tmake_file.
11047 (powerpc-*-eabispe*): Add rs6000/t-crtstuff, t-crtstuff-pic to
11048 tmake_file.
11049 Set extra_parts.
11050 (powerpc-*-eabisimaltivec*): Add to tmake_file, add rs6000/t-ppccomm,
11051 rs6000/t-crtstuff, t-crtstuff-pic to tmake_file.
11052 Set extra_parts.
11053 (powerpc-*-eabisim*): Likewise.
11054 (powerpc-*-elf*): Likewise.
11055 (powerpc-*-eabialtivec*): Likewise.
11056 (powerpc-xilinx-eabi*): Likewise.
11057 (powerpc-*-eabi*): Likewise.
11058 (powerpc-*-rtems*): Likewise.
11059 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-crtstuff to
11060 tmake_file.
11061 Set extra_parts.
11062 (powerpc-*-lynxos*): Add to tmake_file.
11063 (powerpcle-*-elf*): Add to tmake_file, add rs6000/t-ppccomm,
11064 rs6000/t-crtstuff, t-crtstuff-pic.
11065 Set extra_parts.
11066 (powerpcle-*-eabisim*): Likewise.
11067 (powerpcle-*-eabi*): Likewise.
11068 (rx-*-elf): Remove extra_parts.
11069 (s390x-ibm-tpf*): Set extra_parts.
11070 (score-*-elf): Set extra_parts.
11071 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11072 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11073 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11074 (sh64l*-*-netbsd*): Split into ...
11075 (sh-*-elf*, sh[12346l]*-*-elf*): ... this.
11076 Add t-crtstuff-pic to tmake_file.
11077 Set extra_parts.
11078 (sh-*-rtems*): Add to tmake_file, add t-crtstuff-pic.
11079 Set extra_parts.
11080 (sh-wrs-vxworks): Add to tmake_file, add t-crtstuff-pic.
11081 (sparc-*-elf*): Remove t-crtin from tmake_file.
11082 Add to extra_parts, remove crtbegin.o, crtend.o.
11083 (sparc-*-linux*): Add sparc/t-linux64 to tmake_file.
11084 (sparc64-*-linux*): Likewise.
11085 (sparc-*-rtems*): Remove sparc/t-elf from tmake_file.
11086 Add to extra_parts, remove crtbegin.o, crtend.o.
11087 (sparc64-*-elf*): Remove t-crtin from tmake_file.
11088 Add to extra_parts, remove crtbegin.o, crtend.o.
11089 (sparc64-*-rtems*): Remove t-crtin from tmake_file.
11090 Add to extra_parts, remove crtbegin.o, crtend.o.
11091 (sparc64-*-freebsd*, ultrasparc-*-freebsd*): Add to extra_parts.
11092 (sparc64-*-linux*): Add sparc/t-linux64 to tmake_file.
11093 (spu-*-elf*): Add to tmake_file, add spu/t-elf.
11094 Set extra_parts.
11095 (tic6x-*-uclinux): Add c6x/t-uxlinux, t-crtstuff-pic to tmake_file.
11096 Set extra_parts.
11097 (tic6x-*-*): Change to ...
11098 (tic6x-*-elf): ... this.
11099 Set extra_parts.
11100 (xtensa*-*-elf*): Add to tmake_file, add xtensa/t-elf.
11101 Set extra_parts.
11102 (am33_2.0-*-linux*): Add comment.
11103 (mep*-*-*): Add mep/t-mep to tmake_file.
11104 Set extra_parts.
11105 * config/alpha/t-vms: New file.
11106 * config/alpha/vms-dwarf2.S, config/alpha/vms-dwarf2eh.S: New files.
11107 * config/arm/crti.S, config/arm/crtn.S: New files.
11108 * config/bfin/crti.S, config/bfin/crtn.S: New files.
11109 * config/bfin/crtlibid.S: New file.
11110 * config/bfin/t-crtlibid, config/bfin/t-crtstuff: New files.
11111 * config/c6x/crti.S, config/c6x/crtn.S: New files.
11112 * config/c6x/t-elf (CUSTOM_CRTIN): Set.
11113 (crti.o, crtin.o): New rules.
11114 (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11115 * config/c6x/t-uclinux: New file.
11116 * config/cris/t-elfmulti: New file.
11117 * config/cris/t-linux (CRTSTUFF_T_CFLAGS_S): Set.
11118 * config/fr30/crti.S, config/fr30/crtn.S: New files.
11119 * config/frv/frvbegin.c, config/frv/frvend.c: New files.
11120 * config/frv/t-frv: New file.
11121 * config/frv/t-linux (CRTSTUFF_T_CFLAGS): Set.
11122 * config/h8300/crti.S, config/h8300/crtn.S: New files.
11123 * config/i386/cygming-crtbegin.c, config/i386/cygming-crtend.c:
11124 New files.
11125 * config/i386/t-cygming (crtbegin.o, crtend.o): Use $(srcdir) to
11126 refer to cygming-crtbegin.c, cygming-crtend.c.
11127 Use $<.
11128 * config/i386/t-nto: New file.
11129 * config/ia64/crtbegin.S, config/ia64/crtend.S: New files.
11130 * config/ia64/crti.S, config/ia64/crtn.S: New files.
11131 * config/ia64/t-ia64 (crtbegin.o, crtend.o, crtbeginS.o,
11132 crtendS.o): Use $(srcdir) to refer to crtbegin.S, crtend.S.
11133 Use .S extension.
11134 Use $<.
11135 * config/ia64/t-vms (CRTSTUFF_T_CFLAGS, CRTSTUFF_T_CFLAGS_S): Set.
11136 (crtinitS.o): New rule.
11137 * config/ia64/vms-crtinit.S: New file.
11138 * config/lm32/t-elf ($(T)crti.o, $(T)crtn.o): Remove.
11139 * config/m32r/initfini.c: New file.
11140 * config/m32r/t-linux, config/m32r/t-m32r: New files.
11141 * config/m68k/crti.S, config/m68k/crtn.S: New files.
11142 * config/mcore/crti.S, config/mcore/crtn.S: New files.
11143 * config/mep/t-mep: New file.
11144 * config/microblaze/crti.S, config/microblaze/crtn.S: New files.
11145 * config/microblaze/t-microblaze (MULTILIB_OPTIONS): Remove.
11146 * config/mips/crti.S, config/mips/crtn.S: New files.
11147 * config/mips/t-crtstuff: New file.
11148 * config/mmix/crti.S, config/mmix/crtn.S: New files.
11149 * config/mmix/t-mmix (CRTSTUFF_T_CFLAGS): Set.
11150 (CUSTOM_CRTIN): Set.
11151 ($(T)crti.o, $(T)crtn.o): Remove $(T),
11152 dependencies.
11153 Use $(srcdir) to refer to crti.S, crtn.S.
11154 Use .S extension, $<.
11155 * config/moxie/crti.asm: Rename to ...
11156 * config/moxie/crti.S: ... this.
11157 * config/moxie/crtn.asm: Rename to ...
11158 * config/moxie/crtn.S: ... this.
11159 * config/moxie/t-moxie: Remove.
11160 * config/pa/stublib.c: New file.
11161 * config/pa/t-stublib, config/pa/t-stublib64: New files.
11162 * config/rs6000/eabi-ci.S, config/rs6000/eabi-cn.S: New files.
11163 * config/rs6000/sol-ci.S, config/rs6000/sol-cn.S: New files.
11164 * config/rs6000/t-crtstuff: New file.
11165 * config/rs6000/t-ppccomm (EXTRA_PARTS): Remove.
11166 (ecrti.S, ecrtn.S, ncrti.S, ncrtn.S): Remove.
11167 (ecrti$(objext)): Depend on $(srcdir)/config/rs6000/eabi-ci.S.
11168 Make output file explicit.
11169 (ecrtn$(objext)): Depend on $(srcdir)/config/rs6000/eabi-cn.S.
11170 Make output file explicit.
11171 (ncrti$(objext): Depend on $(srcdir)/config/rs6000/sol-ci.S.
11172 Make output file explicit.
11173 (ncrtn$(objext)): Depend on $(srcdir)/config/rs6000/sol-cn.S.
11174 Make output file explicit.
11175 * config/score/crti.S, config/score/crtn.S: New files.
11176 * config/sh/crt1.S, config/sh/crti.S, config/sh/crtn.S: New files.
11177 * config/sh/lib1funcs-4-300.S, config/sh/lib1funcs-Os-4-200.S: New
11178 files.
11179 * config/sh/t-sh, config/sh/t-superh: New files.
11180 * config/sparc/t-linux64: New file.
11181 * config/spu/cache.S, config/spu/cachemgr.c: New files.
11182 * config/spu/t-elf (CRTSTUFF_T_CFLAGS): Set.
11183 (cachemgr.o, cachemgr_nonatomic.o, libgcc_%.a, cache8k.o)
11184 (cache16k.o, cache32k.o, cache64k.o, cache128k.o): New rules.
11185 * config/t-crtin: Remove.
11186 * config/t-crtstuff-pic: New file.
11187 * config/t-sol2 (CUSTOM_CRTIN): Set.
11188 (crti.o, crtn.o): New rules.
11189 * config/vms/t-vms: New file.
11190 * config/vms/vms-ucrt0.c: New file.
11191 * config/xtensa/t-elf: New file.
11192
b040f2be
RO
111932011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11194
11195 * Makefile.in (SHLIB_NM_FLAGS): Set.
11196 * mkmap-flat.awk, mkmap-symver.awk: New files.
11197 * configure.ac (libgcc_cv_lib_sjlj_exceptions): Check for SjLj
11198 exceptions.
11199 * configure: Regenerate.
11200 * config/libgcc-glibc.ver: New file.
11201 * config/libgcc-libsystem.ver: New file.
11202 * config/t-libunwind (SHLIB_LC): Set.
11203 * config/t-linux: New file.
11204 * config/t-slibgcc (INSTALL_SHLIB): New.
11205 (SHLIB_INSTALL): Use it.
11206 * config/t-slibgcc-darwin (SHLIB_MKMAP): Use $(srcdir) to refer
11207 to mkmap-symver.awk.
11208 (SHLIB_MAPFILES): Don't append, adapt pathname.
11209 (SHLIB_VERPFX): Set.
11210 * config/t-slibgcc-elf-ver (SHLIB_MKMAP): Use $(srcdir) to refer
11211 to mkmap-symver.awk.
11212 * config/t-slibgcc-gld-nover, config/t-slibgcc-hpux,
11213 config/t-slibgcc-libgcc, config/t-slibgcc-vms: New files.
11214 * config/alpha/libgcc-alpha-ldbl.ver, config/alpha/t-linux: New files.
11215 * config/alpha/t-slibgcc-osf (SHLIB_MKMAP): Use $(srcdir) to refer
11216 to mkmap-flat.awk.
11217 * config/arm/t-bpabi (SHLIB_MAPFILES): Set.
11218 * config/bfin/libgcc-glibc.ver, config/bfin/t-linux: New files.
11219 * config/c6x/libgcc-eabi.ver, config/c6x/t-elf: New files.
11220 * config/cris/libgcc-glibc.ver, config/cris/t-linux: New files.
11221 * config/frv/libgcc-frv.ver, config/frv/t-linux: New files.
11222 * config/i386/libgcc-darwin.10.4.ver,
11223 config/i386/libgcc-darwin.10.5.ver, config/i386/libgcc-glibc.ver:
11224 New files.
11225 * config/i386/t-darwin: Remove.
11226 * config/i386/t-darwin64: Likewise.
11227 * config/i386/t-dw2-eh, config/i386/t-sjlj-eh: New files.
11228 * config/i386/t-slibgcc-cygming, config/i386/t-cygwin,
11229 config/i386/t-dlldir, config/i386/t-dlldir-x: New files.
11230 * config/i386/t-linux: New file.
11231 * config/i386/t-mingw32: New file.
11232 * config/ia64/libgcc-glibc.ver, config/ia64/libgcc-ia64.ver: New files.
11233 * config/ia64/t-glibc: Rename to ...
11234 * config/ia64/t-linux: ... this.
11235 (SHLIB_MAPFILES): Set.
11236 * config/ia64/t-glibc-libunwind: Rename to ...
11237 * config/ia64/t-linux-libunwind: ... this.
11238 * config/ia64/t-ia64 (SHLIB_MAPFILES): Set.
11239 * config/ia64/t-slibgcc-hpux: New file.
11240 * config/m32r/libgcc-glibc.ver, config/m32r/t-linux: New files.
11241 * config/m68k/t-slibgcc-elf-ver: New file.
11242 * config/mips/t-mips16 (SHLIB_MAPFILES): Set.
11243 * config/mips/t-slibgcc-irix (SHLIB_MKMAP): Use $(srcdir) to refer
11244 to mkmap-flat.awk.
11245 * config/pa/t-slibgcc-hpux: New file.
11246 * config/pa/t-slibgcc-dwarf-ver, config/pa/t-slibgcc-sjsj-ver: New
11247 files.
11248 * config/rs6000/libgcc-darwin.10.4.ver,
11249 config/rs6000/libgcc-darwin.10.5.ver: New files.
11250 * config/rs6000/libgcc-ppc-glibc.ver: Rename to
11251 config/rs6000/libgcc-glibc.ver.
11252 * config/rs6000/libgcc-ppc64.ver: Rename to
11253 config/rs6000/libgcc-ibm-ldouble.ver.
11254 * config/rs6000/t-darwin (SHLIB_VERPFX): Remove.
11255 * config/rs6000/t-ibm-ldouble (SHLIB_MAPFILES): Adapt filename.
11256 * config/rs6000/t-ldbl128: Rename to ...
11257 * config/rs6000/t-linux: ... this.
11258 (SHLIB_MAPFILES): Adapt filename.
11259 * config/rs6000/t-slibgcc-aix: New file.
11260 * config/sh/libgcc-excl.ver, config/sh/libgcc-glibc.ver: New files.
11261 * config/sh/t-linux (SHLIB_MAPFILES): Use $(srcdir) to refer to
11262 libgcc-excl.ver, libgcc-glibc.ver.
11263 (SHLIB_LINK, SHLIB_INSTALL): Remove.
11264 * config/sparc/libgcc-glibc.ver: New file.
11265 * config/sparc/t-linux: New file.
11266 * config/xtensa/libgcc-glibc.ver, config/xtensa/t-linux: New files.
11267 * config.host (*-*-freebsd*): Add t-slibgcc, t-slibgcc-gld,
11268 t-slibgcc-elf-ver to tmake_file.
11269 Add t-slibgcc-nolc-override to tmake_file for posix threads on
11270 *-*-freebsd[34].
11271 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11272 *-*-gnu*, *-*-kopensolaris*-gnu): Add t-slibgcc, t-slibgcc-gld,
11273 t-slibgcc-elf-ver, t-linux to tmake_file.
11274 (*-*-netbsd*): Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to
11275 tmake_file.
11276 (alpha*-*-linux*): Add alpha/t-linux to tmake_file.
11277 (alpha64-dec-*vms*): Add t-slibgcc-vms to tmake_file.
11278 (alpha*-dec-*vms*): Likewise.
11279 (arm*-*-freebsd*): Append to tmake_file.
11280 (arm*-*-netbsdelf*): Add t-slibgcc-gld-nover to tmake_file.
11281 (arm*-*-linux*): Add t-slibgcc-libgcc to tmake_file for
11282 arm*-*-linux-*eabi.
11283 (arm*-*-eabi*, arm*-*-symbianelf*): Add t-slibgcc-nolc-override to
11284 tmake_file for arm*-*-symbianelf*.
11285 (bfin*-linux-uclibc*): Append to tmake_file, add bfin/t-linux.
11286 (cris-*-linux*, crisv32-*-linux*): Append to tmake_file, add
11287 cris/t-linux.
11288 (frv-*-*linux*): Append to tmake_file, add frv/t-linux.
11289 (hppa*-*-linux*): Add t-slibgcc-libgcc, pa/t-slibgcc-sjlj-ver,
11290 pa/t-slibgcc-dwarf-ver to tmake_file.
11291 (hppa[12]*-*-hpux10*): Add t-slibgcc, pa/t-slibgcc-sjlj-ver,
11292 pa/t-slibgcc-dwarf-ver, t-slibgcc-hpux, pa/t-slibgcc-hpux to tmake_file.
11293 (hppa*64*-*-hpux11*): Likewise.
11294 (hppa[12]*-*-hpux11*): Likewise.
11295 (x86_64-*-darwin*): Don't override tmake_file, but only keep
11296 i386/t-crtpc, i386/t-crtfm.
11297 (i[34567]86-*-cygwin*): Set tmake_eh_file, tmake_dlldir_file.
11298 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11299 to tmake_file.
11300 Add i386/t-cygwin to tmake_file.
11301 Prepent i386/t-mingw-pthread to tmake_file for posix threads.
11302 (i[34567]86-*-mingw*): Set tmake_eh_file, tmake_dlldir_file.
11303 Prepend $tmake_eh_file, $tmake_dlldir_file, i386/t-slibgcc-cygming
11304 to tmake_file.
11305 Add i386/t-mingw32 to tmake_file.
11306 (x86_64-*-mingw*): Likewise.
11307 (ia64*-*-freebsd*): Append to tmake_file.
11308 (ia64*-*-linux*): Append to tmake_file.
11309 Replace ia64/t-glibc by ia64/t-linux.
11310 Replace ia64/t-glibc-libunwind by ia64/t-linux-libunwind if using
11311 system libunwind.
11312 (ia64*-*-hpux*): Add t-slibgcc, ia64/t-slibgcc-hpux,
11313 t-slibgcc-hpux to tmake_file.
11314 (ia64-hp-*vms*): Add t-slibgcc-vms to tmake_file.
11315 (m32r-*-linux*): Append to tmake_file, add m32r/t-linux.
11316 (m32rle-*-linux*): Likewise.
11317 (m68k-*-linux*)): Add m68k/t-slibgcc-elf-ver to tmake_file unless
11318 sjlj exceptions.
11319 (microblaze*-linux*): New case.
11320 Append to tmake_file, add t-slibgcc-nolc-override.
11321 (powerpc-*-freebsd*): Add t-slibgcc-libgcc to tmake_file.
11322 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11323 Replace rs6000/t-ldbl128 by rs6000/t-linux in tmake_file.
11324 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11325 rs6000/t-slibgcc-aix to tmake_file.
11326 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11327 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11328 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11329 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11330 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11331 (sh64l*-*-netbsd*): Add t-slibgcc-libgcc to tmake_file for
11332 sh*-*-linux*.
11333 (sparc-*-linux*): Append to tmake_file for *-leon*.
11334 Add sparc/t-linux to tmake_file for non-Leon targets.
11335 (sparc64-*-linux*): Add sparc/t-linux to tmake_file.
11336 (tic6x-*-uclinux): New case.
11337 Add t-slibgcc, t-slibgcc-gld, t-slibgcc-elf-ver to tmake_file.
11338 (tic6x-*-*): Add c6x/t-elf to tmake_file.
11339 (xtensa*-*-linux*): Append to tmake_file, add xtensa/t-linux.
11340 (am33_2.0-*-linux*): Append to tmake_file.
11341 (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu)
11342 (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*): Also handle
11343 x86_64-*-kfreebsd*-gnu.
11344 Add i386/t-linux to tmake_file.
11345
18b4bd7b
ILT
113462011-10-28 Ian Lance Taylor <iant@google.com>
11347
11348 * config/i386/morestack.S: Correct CFI information to do proper
11349 returns throughout function. In 32-bit mode, save %ebx so that it
11350 is restored on unwind.
11351
5b2d9d90
BS
113522011-10-25 Bernd Schmidt <bernds@codesourcery.com>
11353
11354 * config/c6x/pr-support.c (__gnu_unwind_24bit): Correct logic for the
11355 case where B3 isn't the return register.
11356
0d53e346
BS
11357 * config/c6x/pr-support.c (pop_compact_frame, pop_frame): Correct
11358 logic for doubleword pops.
11359
cbffbd59
AT
113602011-10-25 Andreas Tobler <andreast@fgznet.ch>
11361
11362 * config/rs6000/t-freebsd: Add wildcard.
11363
56dc349e
PB
113642011-10-21 Paul Brook <paul@codesourcery.com>
11365
11366 * unwind-arm-common.inc: Handle ID3/4 unwinding data.
11367
1e06b07d
UB
113682011-10-16 Uros Bizjak <ubizjak@gmail.com>
11369 Eric Botcazou <ebotcazou@adacore.com>
11370
11371 PR target/50737
11372 * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Set
11373 fs->signal_frame to 1.
11374
b5204884
ILT
113752011-10-07 Ian Lance Taylor <iant@google.com>
11376
11377 * generic-morestack-thread.c: #include <errno.h>.
11378
91a639a1
ILT
113792011-10-07 Ian Lance Taylor <iant@google.com>
11380
11381 PR target/46093
11382 * generic-morestack.c (__generic_morestack): Make sure the segment
11383 is large enough for both the stack frame and the copied
11384 parameters.
11385
cc49116d
RO
113862011-10-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11387
11388 PR bootstrap/49804
11389 * config.host: Add crtbegin.o, crtbeginS.o, crtend.o, crtendS.o to
11390 extra_parts.
11391
2996d8c3
NC
113922011-09-28 Nick Clifton <nickc@redhat.com>
11393
11394 * config/rx/rx-lib.h: Always restrict doubles to the SF type when
11395 64-bit doubles are not enabled.
11396 * config/rx/rx-abi.h: Fix extraneous renaming of the floatsisf
11397 and floatunsisf functions.
11398
1e874273 113992011-09-13 Paul Brook <paul@codesourcery.com>
2996d8c3 11400
1e874273
PB
11401 * config.host (tic6x-*-*): Add c6x/t-c6x-elf. Set unwind_header.
11402 * unwind-c.c (PERSONALITY_FUNCTION): Use UNWIND_POINTER_REG.
11403 * unwind-arm-common.inc: New file.
11404 * config/arm/unwind-arm.c: Use unwind-arm-common.inc.
11405 * config/arm/unwind-arm.h: Use unwind-arm-common.h.
11406 (_GLIBCXX_OVERRIDE_TTYPE_ENCODING): Define.
11407 * config/c6x/libunwind.S: New file.
11408 * config/c6x/pr-support.c: New file.
11409 * config/c6x/unwind-c6x.c: New file.
11410 * config/c6x/unwind-c6x.h: New file.
11411 * config/c6x/t-c6x-elf: New file.
11412
f70c879a
UB
114132011-08-23 Uros Bizjak <ubizjak@gmail.com>
11414
11415 * config/i386/64/sfp-machine.h (ASM_INVALID): New define.
11416 (ASM_DIVZERO): Ditto.
11417 (FP_HANLDE_EXCEPTIONS): Use ASM_INVALID and ASM_DIVZERO.
11418
c55b374b
RS
114192011-08-18 Richard Sandiford <richard.sandiford@linaro.org>
11420
11421 * config/arm/bpabi-lib.h (RENAME_LIBRARY_SET): Delete.
11422
1e138510
RS
114232011-08-17 Richard Sandiford <richard.sandiford@linaro.org>
11424
11425 PR target/50090
11426 * config/arm/bpabi-lib.h (RENAME_LIBRARY): Use a C-level alias
11427 instead of an assembly one.
11428
1563503d
PB
114292011-08-12 Paolo Bonzini <bonzini@gnu.org>
11430
11431 PR bootstrap/50047
11432 * Makefile.in (install-unwind_h): Create
11433 $(gcc_objdir)/include/unwind.h atomically.
11434
3627ac1a
RO
114352011-08-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11436
11437 * Makefile.in (install-unwind_h): Remove destination file first.
11438
c6412d86
RO
114392011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11440
11441 * sync.c: New file.
11442 * config/mips/t-mips16: New file.
11443 * config.host (mips64*-*-linux*): Add mips/t-mips16 to tmake_file.
11444 (mips*-*-linux*): Likewise.
11445 (mips*-sde-elf*): Likewise.
11446 (mipsisa32-*-elf*): Join with mipsisa32r2-*-elf*,
11447 mipsisa64-*-elf*, mipsisa64r2-*-elf*.
11448 Add mips/t-mips16 to tmake_file.
11449 (mipsisa64sb1-*-elf*): Add mips/t-mips16 to tmake_file.
11450 (mips-*-elf*): Likewise.
11451 (mips64-*-elf*): Likewise.
11452 (mips64orion-*-elf*): Likewise.
11453 (mips*-*-rtems*): Likewise.
11454 (mipstx39-*-elf*): Likewise.
11455 * Makefile.in: Use SYNC instead of LIBGCC_SYNC.
11456 ($(libgcc-sync-size-funcs-o)): Use SYNC_CFLAGS instead of
11457 LIBGCC_SYNC_CFLAGS.
11458 Use $(srcdir) to refer to sync.c.
11459 Use $<.
11460 ($(libgcc-sync-funcs-o)): Likewise.
11461 ($(libgcc-sync-size-funcs-s-o)): Likewise.
11462 ($(libgcc-sync-funcs-s-o)): Likewise.
11463
3cb6e5bd
AS
114642011-08-09 Andreas Schwab <schwab@linux-m68k.org>
11465
11466 * config.host (ia64*-*-linux*): Move ia64/t-glibc after
11467 t-libunwind.
11468
cca2207a
L
114692011-08-08 H.J. Lu <hongjiu.lu@intel.com>
11470
11471 PR other/48007
11472 * config/i386/value-unwind.h: New.
11473
ed39fbad
RS
114742011-08-06 Richard Sandiford <rdsandiford@googlemail.com>
11475
11476 * config.host (*-*-darwin*, *-*-freebsd*, *-*-linux*, frv-*-*linux*)
11477 (*-*-kfreebsd*-gnu, *-*-knetbsd*-gnu, *-*-gnu*, *-*-kopensolaris*-gnu):
11478 Add to tmake_file rather than overriding it.
11479
aca0b0b3
RO
114802011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11481
11482 * config/t-softfp: Remove.
11483 * soft-fp: Moved from ../gcc/config.
11484 * soft-fp/README: Remove t-softfp reference.
11485 * soft-fp/t-softfp: Move to config/t-softfp.
11486 (softfp_machine_header): Remove.
11487 (softfp_file_list): Remove config subdir.
11488 (soft-fp-objects): New variable.
11489 ($(soft-fp-objects)): Set INTERNAL_CFLAGS.
11490 (LIB2FUNCS_EXTRA): Add to LIB2ADD instead.
11491 (SFP_MACHINE, $(SFP_MACHINE)): Remove.
11492 * config/t-softfp-excl: New file.
11493 * config/t-softfp-sfdf: New file.
11494 * config/t-softfp-tf: New file.
11495 * config/no-sfp-machine.h: New file.
11496 * config/arm/sfp-machine.h: New file.
11497 * config/arm/t-softfp: New file.
11498 * config/c6x/sfp-machine.h: New file.
11499 * config/i386/32/t-fprules-softfp: Rename to ...
11500 * config/i386/32/t-softfp: ... this.
11501 (tifunctions, LIB2ADD): Remove.
11502 (softfp_int_modes): Override.
11503 * config/i386/64/t-softfp-compat (tf-functions): Remove config
11504 subdir.
11505 * config/i386/64/eqtf2.c: Likewise.
11506 * config/i386/64/getf2.c: Likewise.
11507 * config/i386/64/letf2.c: Likewise.
11508 * config/ia64/sft-machine.h: New file.
11509 * config/ia64/t-fprules-softfp: Rename to ...
11510 * config/ia64/t-softfp: ... this.
11511 * config/lm32/sfp-machine.h: New file.
11512 * config/moxie/t-moxie-softfp: Remove.
11513 * config/rs6000/ibm-ldouble-format: New file.
11514 * config/rs6000/ibm-ldouble.c: New file.
11515 * config/rs6000/libgcc-ppc-glibc.ver: New file
11516 * config/rs6000/libgcc-ppc64.ver: New file
11517 * config/rs6000/sfp-machine.h: New file.
11518 * config/rs6000/t-freebsd: New file.
11519 * config/rs6000/t-ibm-ldouble: New file.
11520 * config/rs6000/t-ldbl128: Use $(srcdir) to refer to
11521 libgcc-ppc-glibc.ver.
11522 * config/rs6000/t-linux64: New file.
11523 * config/rs6000/t-ppccomm (LIB2ADD): Add
11524 $(srcdir)/config/rs6000/ibm-ldouble.c.
11525 * config/rs6000/t-ppccomm-ldbl: New file.
11526 * config/score/sfp-machine.h: New file.
11527 * config.host (sfp_machine_header): Explain.
11528 (arm*-*-linux*): Add t-softfp-sfdf, t-softfp-excl, arm/t-softfp,
11529 t-softfp to tmake_file.
11530 (arm*-*-uclinux*): Likewise.
11531 (arm*-*-ecos-elf): Likewise.
11532 (arm*-*-eabi*, arm*-*-symbianelf*): Likewise.
11533 (arm*-*-rtems*): Likewise.
11534 (arm*-*-elf): Likewise.
11535 (ia64*-*-linux*): Replace ia64/t-fprules-softfp by ia64/t-softfp
11536 in tmake_file.
11537 Add t-softfp-tf, t-softfp-excl, t-softfp to tmake_file.
11538 (lm32-*-elf*, lm32-*-rtems*): Add t-softfp-sfdf, t-softfp to tmake_file.
11539 (lm32-*-uclinux*): Likewise.
11540 (moxie-*-*): Replace moxie/t-moxie-softfp by t-softfp-sfdf,
11541 t-softfp-excl, t-softfp.
11542 (powerpc-*-darwin*): Add rs6000/t-ibm-ldouble to tmake_file.
11543 (powerpc64-*-darwin*): Likewise.
11544 (powerpc-*-freebsd*): Add t-softfp-sfdf, t-softfp-excl, t-softfp
11545 to tmake_file.
11546 (powerpc-*-eabisimaltivec*): Add rs6000/t-ppccomm-ldbl to
11547 tmake_file.
11548 (powerpc-*-eabisim*): Likewise.
11549 (powerpc-*-elf*): Likewise.
11550 (powerpc-*-eabialtivec*): Likewise.
11551 (powerpc-xilinx-eabi*): Likewise.
11552 (powerpc-*-rtems*): Likewise.
11553 (powerpc-*-linux*, powerpc64-*-linux*): Add t-softfp-sfdf,
11554 t-softfp-excl, t-softfp to tmake_file.
11555 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add
11556 rs6000/t-ppccomm-ldbl to tmake_file.
11557 (powerpcle-*-elf*): Likewise.
11558 (powerpcle-*-eabisim*): Likewise.
11559 (powerpcle-*-eabi*): Likewise.
11560 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11561 rs6000/t-ibm-ldouble to tmake_file.
11562 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11563 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11564 (score-*-elf): Add t-softfp-sfdf, t-softfp-excl, t-softfp to tmake_file.
11565 (tic6x-*-*): Likewise.
11566 (i[34567]86-*-darwin*, x86_64-*-darwin*,
11567 i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu,
11568 i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-gnu*,
11569 i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*,
11570 i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*,
11571 i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add t-softfp-tf,
11572 t-softfp to tmake_file.
11573 * configure.ac (sfp_machine_header): Provide default if unset.
11574 Substitute.
11575 Link sfp-machine.h to config/$sfp_machine_header.
11576 * configure: Regenerate.
11577
569dc494
RO
115782011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11579
11580 * Makefile.in (double_type_size, long_double_type_size): Set.
11581 Remove $(fpbit-in-libgcc) support.
11582 (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): New variables.
11583 (fpbit-src): New variable.
11584 ($(fpbit-o), $(fpbit-s-o)): Use $(fpbit-src) instead of $(FPBIT).
11585 Compile with -DFLOAT $(FPBIT_CFLAGS).
11586 Use $<.
11587 ($(dpbit-o), $(dpbit-s-o)): Use $(fpbit-src) instead of $(DPBIT).
11588 Compile with $(FPBIT_CFLAGS).
11589 Use $<.
11590 ($(tpbit-o), $(tpbit-s-o): Use $(fpbit-src) instead of $(TPBIT).
11591 Compile with -DFLOAT $(TPBIT_CFLAGS).
11592 Use $<.
11593 * configure.ac (double_type_size, long_double_type_size):
11594 Determine and substitute.
11595 * configure: Regenerate.
11596 * fp-bit.c, fp-bit.h: New files.
11597 * config/avr/avr-lib.h, config/h8300/h8300-lib.h: New files.
11598 * config/mips/t-irix6 (TPBIT, $(gcc_objdir)/tp-bit.c): Remove.
11599 * config/mips/t-mips: New file.
11600 * config/mips/t-sdemtk: New file.
11601 * config/rs6000/ppc64-fp.c: New file.
11602 * config/rs6000/t-darwin (LIB2ADD): Add
11603 $(srcdir)/config/rs6000/ppc64-fp.c.
11604 * config/rs6000/t-ppc64-fp: New file.
11605 * config/rx/rx-lib.h: New file.
11606 * config/rx/t-rx (FPBIT): Set to true.
11607 ($(gcc_objdir)/fp-bit.c): Remove.
11608 (DPBIT): Set to true only with -m64bit-doubles.
11609 ($(gcc_objdir)/dp-bit.c): Remove.
11610 * config/sparc/t-softfp: Remove.
11611 * config/spu/t-elf: New file.
11612 * config/t-fdpbit, config/t-fpbit: New files.
11613 * config.host (m32c*-*-*): Add t-fdpbit to tmake_file.
11614 (mips*-*-*): Likewise.
11615 (arm-wrs-vxworks): Likewise.
11616 (arm*-*-freebsd*): Likewise.
11617 (avr-*-rtems*): Add t-fpbit to tmake_file.
11618 (avr-*-*): Likewise.
11619 (bfin*-elf*): Add t-fdpbit to tmake_file.
11620 (bfin*-uclinux*): Likewise.
11621 (bfin*-linux-uclibc*): Likewise.
11622 (bfin*-rtems*): New case.
11623 Add t-fdpbit to tmake_file.
11624 (bfin*-*): Add t-fdpbit to tmake_file.
11625 (crisv32-*-elf): Likewise.
11626 (cris-*-linux*): Likewise.
11627 (fr30-*-elf): Likewise.
11628 (frv-*-elf, frv-*-*linux*): Likewise.
11629 (h8300-*-rtems*, h8300-*-elf*): Add t-fpbit to tmake_file.
11630 (iq2000*-*-elf*): Add t-fdpbit to tmake_file.
11631 (m32r-*-elf*): Likewise.
11632 (m32rle-*-elf*): Likewise.
11633 (m32r-*-linux*): Likewise.
11634 (m32rle-*-linux*): Likewise.
11635 (mcore-*-elf): Add t-fdpbit to tmake_file.
11636 (microblaze*-*-*): Likewise.
11637 (mips-sgi-irix6.5*): Add t-tpbit to tmake_file.
11638 (mips*-*-netbsd*): Add mips/t-mips to tmake_file.
11639 (mips64*-*-linux*): Also handle mipsisa64*-*-linux*.
11640 Fix typo.
11641 Add mips/t-tpbit to tmake-file.
11642 (mips*-*-linux*): Fix typo.
11643 (mips*-sde-elf*): New case
11644 Add mips/t-sdemtk unless using newlib.
11645 (mipsisa64sr71k-*-elf*): Add t-fdpbit to tmake_file.
11646 (mipsisa64sb1-*-elf*): Add mips/t-mips to tmake_file.
11647 (mn10300-*-*): Likewise.
11648 (pdp11-*-*): Likewise.
11649 (picochip-*-*): Add t-fpbit to tmake_file.
11650 (powerpc-*-eabisimaltivec*): Likewise.
11651 (powerpc-*-eabisim*): Likewise.
11652 (powerpc-*-elf*): Likewise.
11653 (powerpc-*-eabialtivec*): Likewise.
11654 (powerpc-xilinx-eabi*): New case.
11655 Add t-fdpbit to tmake_file.
11656 (powerpc-*-eabi*): Add t-fdpbit to tmake_file.
11657 (powerpc-*-rtems*): Likewise.
11658 (powerpc-*-linux*, powerpc64-*-linux*): Add rs6000/t-ppc64-fp to
11659 tmake_file.
11660 (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Add t-fdpbit to
11661 tmake_file.
11662 (powerpc-*-lynxos*): Likewise.
11663 (powerpcle-*-elf*): Likewise.
11664 (powerpcle-*-eabisim*): Likewise.
11665 (powerpcle-*-eabi*): Likewise.
11666 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Add
11667 t-fdpbit, rs6000/t-ppc64-fp to tmake_file.
11668 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11669 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11670 (rx-*-elf): Add t-fdpbit to tmake_file.
11671 (sh-*-elf*, sh[12346l]*-*-elf*, sh-*-linux*)
11672 (sh[2346lbe]*-*-linux*, sh-*-netbsdelf*, shl*-*-netbsdelf*)
11673 (sh5-*-netbsd*, sh5l*-*-netbsd*, sh64-*-netbsd*)
11674 (sh64l*-*-netbsd*): Add t-fdpbit to tmake_file except on
11675 sh*-*-netbsd*.
11676 (sh-*-rtems*): Add t-fdpbit to tmake_file.
11677 (sh-wrs-vxworks): Likewise.
11678 (sparc-*-elf*): Replace sparc/t-softfp by t-fdpbit in tmake_file.
11679 (sparc-*-linux*): Add t-fdpbit to tmake_file for *-leon*.
11680 (sparc-*-rtems*, sparc64-*-rtems*): Split off ...
11681 (sparc64-*-rtems*): ... new case.
11682 (sparc-*-rtems*): Add t-fdpbit to tmake_file.
11683 (spu-*-elf*): Likewise.
11684 Add spu/t-elf to tmake_file.
11685 (v850*-*-*): Add t-fdpbit to tmake_file.
11686 (xstormy16-*-elf): Likewise.
11687 (am33_2.0-*-linux*): Add t-fdpbit to tmake_file.
11688 (mep*-*-*): Likewise.
11689
201cdb74
RO
116902011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11691
11692 * Makefile.in (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): New
11693 variables.
11694 (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): New variables.
11695 (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Add $(srcdir)/emutls.c.
11696 (install-unwind_h): New target.
11697 (all): Depend on it.
11698 * config.host (unwind_header): New variable.
11699 (*-*-freebsd*): Set tmake_file to t-eh-dw2-dip.
11700 (*-*-linux*, frv-*-*linux*, *-*-kfreebsd*-gnu, *-*-knetbsd*-gnu,
11701 *-*-gnu*): Likewise, also for *-*-kopensolaris*-gnu.
11702 (*-*-solaris2*): Add t-eh-dw2-dip to tmake_file.
11703 (arm*-*-linux*): Add arm/t-bpabi for arm*-*-linux-*eabi.
11704 Set unwind_header.
11705 (arm*-*-uclinux*): Add arm/t-bpabi for arm*-*-uclinux*eabi.
11706 Set unwind_header.
11707 (arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi for
11708 arm*-*-eabi*.
11709 Add arm/t-symbian to tmake_file for arm*-*-symbianelf*.
11710 Set unwind_header.
11711 (ia64*-*-elf*): Add ia64/t-eh-ia64 to tmake_file.
11712 (ia64*-*-freebsd*): Likewise.
11713 (ia64*-*-linux*): Add ia64/t-glibc, ia64/t-eh-ia64, t-libunwind to
11714 tmake_file.
11715 Add t-libunwind-elf, ia64/t-glibc-libunwind unless
11716 $with_system_libunwind.
11717 (ia64*-*-hpux*): Set tmake_file.
11718 (ia64-hp-*vms*): Add ia64/t-eh-ia64 to tmake_file.
11719 (picochip-*-*): Set tmake_file.
11720 (rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Set
11721 md_unwind_header.
11722 (rs6000-ibm-aix5.1.*, powerpc-ibm-aix5.1.*): Likewise.
11723 (rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
11724 (s390x-ibm-tpf*): Add t-eh-dw2-dip to tmake_file.
11725 (xtensa*-*-elf*): Set tmake_file.
11726 (xtensa*-*-linux*): Likewise.
11727 * configure.ac: Include ../config/unwind_ipinfo.m4.
11728 Call GCC_CHECK_UNWIND_GETIPINFO.
11729 Link unwind.h to $unwind_header.
11730 * configure: Regenerate.
11731 * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h,
11732 unwind-dw2-fde-compat.c, unwind-dw2-fde-dip.c, unwind-dw2-fde.c,
11733 unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h,
11734 unwind-pe.h, unwind-sjlj.c, unwind.inc: New files.
11735 * config/unwind-dw2-fde-darwin.c: New file.
11736 * config/arm/libunwind.S, config/arm/pr-support.c,
11737 config/arm/t-bpabi, config/arm/t-symbian, config/arm/unwind-arm.c,
11738 config/arm/unwind-arm.h,: New files.
11739 * config/ia64/fde-glibc.c, config/ia64/fde-vms.c,
11740 config/ia64/t-eh-ia64, config/ia64/t-glibc,
11741 config/ia64/t-glibc-libunwind, config/ia64/t-hpux,
11742 config/ia64/t-vms, config/ia64/unwind-ia64.c,
11743 config/ia64/unwind-ia64.h: New files.
11744 * config/picochip/t-picochip: New file.
11745 * config/rs6000/aix-unwind.h, config/rs6000/darwin-fallback.c: New
11746 files.
11747 * config/rs6000/t-darwin (LIB2ADDEH): Set.
11748 * config/s390/t-tpf (LIB2ADDEH): Remove.
11749 * config/t-darwin (LIB2ADDEH): Set.
11750 * config/t-eh-dw2-dip: New file.
11751 * config/t-libunwind, config/t-libunwind-elf: New files.
11752 * config/t-sol2 (LIB2ADDEH): Remove.
11753 * config/xtensa/t-xtensa: New file.
11754
40f2f11f
L
117552011-08-02 H.J. Lu <hongjiu.lu@intel.com>
11756
11757 * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): New.
11758 (x86_64_fallback_frame_state): Use RT_SIGRETURN_SYSCALL and
11759 long long to check rt_sigreturn syscall.
11760
bd15e32c
AM
117612011-08-02 Alan Modra <amodra@gmail.com>
11762
11763 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11764 Restore for indirect call bcrtl from correct stack slot, and only
11765 if cfa+40 isn't valid.
11766
655b30bf
JB
117672011-08-01 Julian Brown <julian@codesourcery.com>
11768
11769 * config.host (arm*-*-linux*, arm*-*-uclinux*, arm*-*-eabi*)
11770 (arm*-*-symbianelf*): Add t-fixedpoint-gnu-prefix makefile fragment.
11771 * config/arm/bpabi-lib.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define.
11772
247eb06f
JB
117732011-08-01 Julian Brown <julian@codesourcery.com>
11774
11775 * Makefile.in (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): New.
11776 (libgcc-std.ver.in): Use above.
11777 * fixed-bit.h (LIBGCC2_FIXEDBIT_GNU_PREFIX): Define, if
11778 LIBGCC2_GNU_PREFIX is defined. Use instead of LIBGCC2_GNU_PREFIX
11779 throughout file.
11780 * config/t-fixedpoint-gnu-prefix: New file.
11781 * config/t-gnu-prefix (LIBGCC_VER_FIXEDPOINT_GNU_PREFIX): Set.
11782 * libgcc-std.ver.in (fixed-point routines): Use __FIXPTPFX__
11783 instead of __PFX__.
11784
02a8fe00
L
117852011-07-28 H.J. Lu <hongjiu.lu@intel.com>
11786
11787 * config/i386/morestack.S (X86_64_SAVE_NEW_STACK_BOUNDARY): New.
11788 Use X86_64_SAVE_NEW_STACK_BOUNDARY to save the new stack boundary
11789 for x86-64. Properly check __x86_64__ and __LP64__.
11790
5fce9126
L
117912010-07-28 H.J. Lu <hongjiu.lu@intel.com>
11792
11793 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Always use _WIN64
11794 version.
11795 (_FP_WS_TYPE): Likewise.
11796 (_FP_I_TYPE): Likewise.
11797
2374a88a
AM
117982011-07-28 Alan Modra <amodra@gmail.com>
11799
11800 * config/rs6000/linux-unwind.h (frob_update_context <__powerpc64__>):
11801 Leave r2 REG_UNSAVED if stopped on the instruction that saves r2
11802 in a plt call stub. Do restore r2 if stopped on bctrl.
11803
e44dbbe1
RO
118042011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11805
11806 * config.host (i[3456x]86-*-netware*): Remove.
11807 * config/i386/netware-crt0.c, config/i386/t-nwld,
11808 config/i386/t-slibgcc-nwld: Remove.
11809
bcead286
BS
118102011-07-15 Bernd Schmidt <bernds@codesourcery.com>
11811
11812 * config.host: Handle tic6x-*-*.
11813 * config/c6x/c6x-abi.h: New file.
11814
b3fe1584
RO
118152011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11816
11817 * config/i386/crtprec.c: New file.
11818 * config/i386/t-crtpc: Use $(srcdir) to refer to crtprec.c.
11819 * config.host (i[34567]86-*-darwin*): Add i386/t-crtpc to tmake_file.
11820 Add crtprec32.o, crtprec64.o, crtprec80.o to extra_parts.
11821 (x86_64-*-darwin*): Likewise.
11822 (i[34567]86-*-solaris2*: Likewise.
11823
35d8090d
RO
118242011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11825
11826 * config/alpha/crtfastmath.c: New file.
11827 * config/i386/crtfastmath.c: New file.
11828 * config/ia64/crtfastmath.c: New file.
11829 * config/mips/crtfastmath.c: New file.
11830 * config/sparc/crtfastmath.c: New file.
11831
11832 * config/t-crtfm (crtfastmath.o): Use $(srcdir) to refer to
11833 crtfastmath.c.
11834 Add -frandom-seed=gcc-crtfastmath.
11835 * config/alpha/t-crtfm: Remove.
11836 * config/i386/t-crtfm: Use $(srcdir) to refer to crtfastmath.c.
11837 * config/ia64/t-ia64 (crtfastmath.o): Remove.
11838
11839 * config.host (alpha*-*-linux*): Replace alpha/t-crtfm by t-crtfm.
11840 (alpha*-dec-osf5.1*): Likewise.
11841 (alpha*-*-freebsd*): Add t-crtfm to tmake_file.
11842 Add crtfastmath.o to extra_parts.
11843 (i[34567]86-*-darwin*): Add i386/t-crtfm to tmake_file.
11844 Add crtfastmath.o to extra_parts.
11845 (x86_64-*-darwin*): Likewise.
11846 (x86_64-*-mingw*): Likewise.
11847 (ia64*-*-elf*): Add t-crtfm to tmake_file.
11848 (ia64*-*-freebsd*): Likewise.
11849 (ia64*-*-linux*): Likewise.
11850 (sparc64-*-freebsd*): Add t-crtfm to tmake_file.
11851 Add crtfastmath.o to extra_parts.
11852
e141542e
RO
118532011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11854
11855 * config/darwin-crt3.o: New file.
11856 * config/rs6000/darwin-crt2.c: New file.
11857 * config/t-darwin: New file.
11858 * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New variable.
11859 (crt2.o): New rule.
11860 * config.host (*-*-darwin*): Add crt3.o to extra_parts.
11861 (powerpc-*-darwin*): Add crt2.o to extra_parts.
11862 (powerpc64-*-darwin*): Likewise.
11863
2d1efe2d
RO
118642011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11865
11866 * config/i386/netware-crt0.c: New file.
11867 * config/i386/t-nwld: Rename to ...
11868 * config/i386/t-slibgcc-nwld: ... this.
11869 * config/i386/t-nwld: New file.
11870 * config.host (i[3456x]86-*-netware*): Add i386/t-slibgcc-nwld to
11871 tmake_file.
11872 Add crt0.o, libgcc.def, libc.def, libcpre.def, posixpre.def to
11873 extra_parts.
11874
4a8bb046
RO
118752011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11876
11877 * configure.ac (i?86-*-solaris2*): Use libgcc copy of
11878 i386/t-crtstuff.
11879 * configure: Regenerate.
11880
2d8d5935
RO
118812011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11882
11883 * dfp-bit.c, dfp-bit.h: New files.
11884 * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): New
11885 variables.
11886 ($(d32pbit-o)): Use $(srcdir) to refer to dfp-bit.c
11887 ($(d64pbit-o)): Likewise.
11888 ($(d128pbit-o)): Likewise.
11889 * config/t-dfprules: New file.
11890 * config.host (i[34567]86-*-linux*): Add t-dfprules to tmake_file.
11891 (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu,
11892 i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Likewise.
11893 (x86_64-*-linux*): Likewise.
11894 (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): Likewise.
11895 (i[34567]86-*-cygwin*): Likewise.
11896 (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise.
11897 (powerpc-*-linux*, powerpc64-*-linux*): Likewise.
11898
2c50b2c3
RO
118992011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11900
11901 * Makfile.in (LIBGCOV): New variable.
11902 ($(libgcov-objects)): Use $(srcdir) to refer to libgcov.c.
11903 * libgcov.c: New file.
11904
a039d7c2
RO
119052011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11906
11907 * fixed-bit.c, fixed-bit.h: New files.
11908 * fixed-obj.mk ($o$(objext), $(o)_s$(objext)): Use $(srcdir) to
11909 refer to fixed-bit.c.
11910
1e4b2746
JM
119112011-07-07 Joseph Myers <joseph@codesourcery.com>
11912
11913 * config.host (*local*): Remove.
11914
fbdd5d87
RO
119152011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11916
11917 PR target/39150
11918 * config.host (*-*-solaris2*): Handle x86_64-*-solaris2.1[0-9]*
11919 like i?86-*-solaris2.1[0-9]*.
11920 (i[34567]86-*-solaris2*): Also handle x86_64-*-solaris2.1[0-9]*.
11921 * configure.ac (i?86-*-solaris2*): Likewise.
11922 * configure: Regenerate.
11923
9e7714f4
TS
119242011-07-06 Thomas Schwinge <thomas@schwinge.name>
11925
11926 * config.host (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-knetbsd*-gnu)
11927 (i[34567]86-*-gnu*, i[34567]86-*-kopensolaris*-gnu): Remove
11928 md_unwind_header by splitting out of...
11929 (i[34567]86-*-linux*): ... this.
11930 * config.host (x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu):
11931 Remove md_unwind_header by splitting out of...
11932 (x86_64-*-linux*): ... this.
11933
6dab9931
GJL
119342011-07-04 Georg-Johann Lay <avr@gjlay.de>
11935
11936 * config/avr/t-avr (intfuncs16): Add _clrsbXX2.
11937
4be46d19
NC
119382011-06-28 Nick Clifton <nickc@redhat.com>
11939
11940 * config.host: Recognize all V850 variants.
11941
1da9434b
UB
119422011-06-22 Uros Bizjak <ubizjak@gmail.com>
11943
11944 * enable-execute-stack-empty.c (__enable_execute_stack): Add prototype.
11945
e4d48a4d
RO
119462011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11947
11948 * shared-object.mk (c_flags-$o): Save c_flags.
11949 ($(base)$(objext)): Use it.
11950 ($(base)_s$(objext)): Likewise.
11951
3801c801
BS
119522011-06-21 Bernd Schmidt <bernds@codesourcery.com>
11953
11954 * Makefile.in (lib2funcs): Add _clrsbsi2 and _clrsbdi2.
11955 * libgcc-std.ver.in (GCC_4.7.0): New section.
11956
0ad8bb3b 119572011-06-16 Georg-Johann Lay <avr@gjlay.de>
1da9434b 11958
0ad8bb3b
GJL
11959 PR target/49313
11960 PR target/29524
11961 * config/avr/t-avr: Fix line endings.
11962 (intfuncs16): Remove _ffsXX2, _clzXX2, _ctzXX2, _popcountXX2,
11963 _parityXX2.
11964
ea963999
OH
119652011-06-14 Olivier Hainque <hainque@adacore.com>
11966 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11967
11968 * config/mips/irix6-unwind.h: New file.
11969 * config.host (mips-sgi-irix6.5*): Set md_unwind_header.
11970
b11b0904
EB
119712011-06-10 Eric Botcazou <ebotcazou@adacore.com>
11972
11973 * config/sparc/linux-unwind.h (STACK_BIAS): Define.
11974 (sparc64_fallback_frame_state): Use it.
11975 (sparc64_frob_update_context): Further adjust context.
11976 * config/sparc/sol2-unwind.h (sparc64_frob_update_context): Likewise.
11977 * config/sparc/sol2-ci.S: Add TARGET_FLAT handling.
11978 * config/sparc/sol2-cn.S: Likewise.
11979
10e48e39
RO
119802011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11981
11982 * enable-execute-stack-empty.c: New file.
11983 * enable-execute-stack-mprotect.c: New file.
11984 * config/i386/enable-execute-stack-mingw32.c: New file.
11985 * config.host (enable_execute_stack): New variable.
11986 Select appropriate variants.
11987 * configure.ac: Link enable-execute-stack.c to
11988 $enable_execute_stack.
11989 * configure: Regenerate.
11990 * Makefile.in (LIB2ADD): Add enable-execute-stack.c.
11991 (lib2funcs): Remove _enable_execute_stack.
11992
10c4cabc
DM
119932011-06-09 David S. Miller <davem@davemloft.net>
11994 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
11995
11996 * config.host (sparc-*-linux*): Correct md_unwind_header
11997 filename.
11998 (s390x-ibm-tpf*): Fix typo.
11999
aa4203e7
RO
120002011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12001
12002 * config.host (mips-sgi-irix6.5*): Add t-crtfm to tmake_file.
12003 Add crtfastmath.o to extra_parts.
12004 (mips64*-*-linux*, mips*-*-linux*): Use t-crtfm instead of
12005 mips/t-crtfm.
12006 * config/mips/t-crtfm: Remove.
12007
0defd786
JDA
120082011-06-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12009
12010 * config.host (hppa*-*-linux*): Correct md_unwind_header name.
12011
82f247af
KK
120122011-06-04 Kaz Kojima <kkojima@gcc.gnu.org>
12013
12014 * config.host (sh*-*-linux*): Fix typo.
12015
58cd1d70
RO
120162011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12017
12018 * config/alpha/linux-unwind.h: Move from ../gcc/config/alpha.
12019 * config/alpha/osf5-unwind.h: Move from ../gcc/config/alpha.
12020 * config/alpha/vms-unwind.h: Move from ../gcc/config/alpha.
12021 * config/bfin/linux-unwind.h: Move from ../gcc/config/bfin.
12022 * config/i386/linux-unwind.h: Move from ../gcc/config/i386.
12023 * config/i386/sol2-unwind.h: Move from ../gcc/config/i386.
12024 * config/i386/w32-unwind.h: Move from ../gcc/config/i386.
12025 Wrap in !__MINGW64__.
12026 * config/ia64/linux-unwind.h: Move from ../gcc/config/ia64.
12027 * config/ia64/vms-unwind.h: Move from ../gcc/config/ia64.
12028 * config/m68k/linux-unwind.h: Move from ../gcc/config/m68k.
12029 * config/mips/linux-unwind.h: Move from ../gcc/config/mips.
12030 * config/pa/hpux-unwind.h: Move from ../gcc/config/pa.
12031 * config/pa/linux-unwind.h: Move from ../gcc/config/pa.
12032 * config/rs6000/darwin-unwind.h: Move from ../gcc/config/rs6000.
12033 Wrap in !__LP64__.
12034 * config/rs6000/linux-unwind.h: Move from ../gcc/config/rs6000.
12035 * config/s390/linux-unwind.h: Move from ../gcc/config/s390.
12036 * config/s390/tpf-unwind.h: Move from ../gcc/config/s390.
12037 * config/sh/linux-unwind.h: Move from ../gcc/config/sh.
12038 * config/sparc/linux-unwind.h: Move from ../gcc/config/sparc.
12039 * config/sparc/sol2-unwind.h: Move from ../gcc/config/sparc.
12040 * config/xtensa/linux-unwind.h: Move from ../gcc/config/xtensa.
12041 * config/no-unwind.h: New file.
12042 * config.host (md_unwind_header): Document.
12043 Define.
12044 (alpha*-*-linux*, alpha*-dec-osf5.1*, alpha64-dec-*vms*,
12045 alpha*-dec-*vms*, bfin*-uclinux*, bfin*-linux-uclibc*,
12046 hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
12047 hppa[12]*-*-hpux11*): Set md_unwind_header.
12048 (i[34567]86-*-linux*): Handle i[34567]86-*-kopensolaris*-gnu.
12049 Set md_unwind_header.
12050 (x86_64-*-linux*, i[34567]86-*-solaris2*): Set md_unwind_header.
12051 (i[34567]86-*-cygwin*): Split from i[34567]86-*-mingw*.
12052 (i[34567]86-*-mingw*, ia64*-*-linux*, ia64-hp-*vms*,
12053 m68k-*-uclinux*, m68k-*-linux*, mips64*-*-linux*, mips*-*-linux*,
12054 powerpc-*-darwin*, powerpc-*-linux*, s390-*-linux*,
12055 s390x-*-linux*, s390x-ibm-tpf*, sh*-*-linux*, sparc-*-linux*,
12056 sparc*-*-solaris2*, sparc64-*-linux*, xtensa*-*-linux*): Set
12057 md_unwind_header.
12058 * configure.ac: Link md-unwind-support.h to $md_unwind_header.
12059 * configure: Regenerate.
12060
737346fa
RO
120612011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12062
12063 * config.host (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*.
12064 Set tmake_file, extra_parts.
12065 * config/mips/irix-crti.S: Move from ../gcc/config/mips/irix-crti.asm.
12066 Remove O32 support.
12067 * config/mips/irix-crtn.S: Move from ../gcc/config/mips/irix-crtn.asm.
12068 Remove O32 support.
12069 * config/mips/t-irix6: New file.
12070 * config/mips/t-slibgcc-irix: New file.
12071
c192cee6
RO
120722011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12073
12074 * config/s390/t-tpf (LIB2ADDEHDEP): Remove.
12075 * config/t-sol2 (LIB2ADDEH): Use gcc_srcdir, add emutls.c.
12076
ee33b5f0
RO
120772011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12078
12079 * configure.ac (target_thread_file): Determine thread model.
12080 * configure: Regenerate.
12081 * config.host (alpha*-dec-osf5.1*): Set tmake_file, extra_parts.
12082 * config/alpha/t-alpha: New file.
12083 * config/alpha/t-crtfm: Use $<.
12084 * config/alpha/t-ieee: New file.
12085 * config/alpha/t-osf-pthread: New file.
12086 * config/alpha/t-slibgcc-osf: New file.
12087 * config/alpha/libgcc-osf5.ver: New file.
12088
0699e415
RO
120892011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12090
12091 * config.host (i[34567]86-*-solaris2*): Add i386/t-crtfm to
12092 tmake_file.
12093 Add crtfastmath.o to extra_parts.
12094
a3fab9c2
RO
120952011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12096
12097 * config/gmon-sol2.c: Reindent.
12098 Cleanup comments.
12099 Remove, correct casts.
12100 Use STDERR_FILENO, NULL.
12101 (BASEADDRESS): Remove.
12102 (minbrk): Remove.
12103 (errno, sbrk): Remove declarations.
12104 (monstartup) [hp300]: Remove.
12105 (mcount): Remove.
12106
ca24c5ad
RO
121072011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12108
12109 * Makefile.in (cpu_type): Define.
12110 * config.host (i[34567]86-*-rtems*): Handle it.
12111 (i[34567]86-*-solaris2*): Move body ...
12112 (*-*-solaris2*): ... here.
12113 New case, generalize.
12114 (sparc-*-elf*): Handle it.
12115 (sparc-*-linux*, sparc64-*-linux*): Replace sparc/t-crtfm by t-crtfm.
12116 (sparc-*-rtems*, sparc64-*-rtems*); Handle it.
12117 (sparc64-*-solaris2*, sparcv9-*-solaris2*, sparc-*-solaris2*):
12118 Fold into ...
12119 (sparc*-*-solaris2*): ... this.
12120 New case.
12121 (sparc64-*-elf*): Handle it.
12122 * config/gmon-sol2.c: Move from ../gcc/config/sparc.
12123 Merge ../gcc/config/i386/gmon-sol2.c.
12124 * config/i386/sol2-c1.S: Move from ../gcc/config/i386/sol2-c1.asm.
12125 Use C comments.
12126 Merge ../gcc/config/i386/sol2-gc1.asm.
12127 * config/i386/sol2-ci.S: Move from ../gcc/config/i386/sol2-ci.asm.
12128 Use C comments.
12129 * config/i386/sol2-cn.S: Move from ../gcc/config/i386/sol2-cn.asm.
12130 Use C comments.
12131 * config/i386/t-crtfm (crtfastmath.o): Use $<.
12132 * config/i386/t-crtstuff: New file.
12133 * config/i386/t-softfp: New file.
12134 * config/i386/t-sol2 ($(T)gmon.o, $(T)gcrt1.o, $(T)crt1.o),
12135 $(T)crti.o, $(T)crtn.o): Remove.
12136 (gcrt1.o): New rule.
12137 (TARGET_LIBGCC2_CFLAGS): Remove.
12138 * config/sparc/sol2-c1.S: Move from ../gcc/config/sparc/sol2-c1.asm.
12139 * config/sparc/sol2-ci.S: Move from ../gcc/config/sparc/sol2-ci.asm.
12140 * config/sparc/sol2-cn.S: Move from ../gcc/config/sparc/sol2-cn.asm.
12141 * config/sparc/t-sol2: New file.
12142 * config/sparc/t-crtfm: Move to ...
12143 * config/t-crtfm: ... this.
12144 Use $(cpu_type), $<.
12145 * config/t-crtin: New file.
12146 * config/sparc/t-softfp: New file.
12147 * config/sparc/t-softmul: New file.
12148 * config/t-rtems: New file.
12149 * config/t-slibgcc: New file.
12150 * config/t-slibgcc-elf-ver: New file.
12151 * config/t-slibgcc-gld: New file.
12152 * config/t-slibgcc-sld: New file.
12153 * config/t-sol2: New file.
12154 * configure.ac: Include ../config/lib-ld.m4.
12155 Call AC_LIB_PROG_LD_GNU.
12156 Substitute cpu_type.
12157 * configure: Regenerate.
12158
ad5f3d7b
BS
121592011-05-27 Bernd Schmidt <bernds@codesourcery.com>
12160
12161 PR bootstrap/49173
12162 * config/t-slibgcc-darwin (SHLIB_MAPFILES): Look for
12163 libgcc-std.ver in the build directory.
12164 * config/s390/t-linux (SHLIB_MAPFILES): Likewise.
12165 * config/sh/t-linux (SHLIB_MAPFILES): Likewise.
12166
cdbf4541
BS
121672011-05-25 Bernd Schmidt <bernds@codesourcery.com>
12168
12169 * libgcc-std.ver.in: New file.
12170 * Makefile.in (LIBGCC_VER_GNU_PREFIX, LIBGCC_VER_SYMBOLS_PREFIX): New
12171 variables.
12172 (libgcc-std.ver): New rule.
12173 * config/t-gnu-prefix: New file.
12174
c8028650
RO
121752011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12176
12177 * config/s390/t-tpf (LIB2ADDEH): Remove $(gcc_srcdir)/gthr-gnat.c.
12178
4a68b4ca
JM
121792011-05-10 Joseph Myers <joseph@codesourcery.com>
12180
12181 * config/i386/darwin-lib.h: New file.
12182
80cf2e08
JM
121832011-05-10 Joseph Myers <joseph@codesourcery.com>
12184
12185 * config/arm/symbian-lib.h: New.
12186
a3330c9d
CD
121872011-05-04 Chris Demetriou <cgd@google.com>
12188
12189 * config/i386/morestack.S (__i686.get_pc_thunk.bx): Rename to...
12190 (__x86.get_pc_thunk.bx): ...this.
12191 (__morestack): Adjust for rename, remove undef of __i686.
12192
6ace0756
CD
121932011-05-03 Chris Demetriou <cgd@google.com>
12194
12195 * config/i386/morestack.S (__i686.get_pc_thunk.bx): New.
12196
ebb9f8b0
JM
121972011-03-22 Joseph Myers <joseph@codesourcery.com>
12198
12199 * config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
12200 arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
12201 m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
12202 powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
12203 sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
12204 Remove cases.
12205
9cfa1499
AT
122062011-03-14 Andreas Tobler <andreast@fgznet.ch>
12207
12208 * config.host (cpu_type): Add FreeBSD PowerPC specific parts.
12209 Adjust copyright year.
12210
457186f6
ILT
122112011-03-07 Ian Lance Taylor <iant@google.com>
12212
12213 * generic-morestack.c (__splitstack_find): Adjust returned stack
12214 pointer to include all registers pushed by __morestack.
12215
58c741a6
DK
122162011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
12217
12218 PR target/40125
12219 * configure.ac: Call ACX_NONCANONICAL_TARGET.
12220 (toolexecdir): Calculate and AC_SUBST.
12221 (toolexeclibdir): Likewise.
12222 * Makefile.in (target_noncanonical): Import.
12223 (toolexecdir): Likewise.
12224 (toolexeclibdir): Likewise.
12225 * configure: Regenerate.
12226
26716c44
NF
122272010-12-13 Nathan Froyd <froydnj@codesourcery.com>
12228
12229 PR target/46040
12230 * config/arm/bpabi.h: Rename to...
12231 * config/arm/bpabi-lib.h: ...this.
12232
b595b1a1
RO
122332010-12-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12234
12235 * configure.ac: Use i386/t-crtstuff on i?86-*-solaris2* if
12236 appropriate.
12237 * configure: Regenerate.
12238
a3abe41c
NF
122392010-11-24 Nathan Froyd <froydnj@codesourcery.com>
12240
12241 * config/libbid/bid_conf.h (BID_BIG_ENDIAN): Define in terms of
12242 __FLOAT_WORD_ORDER__.
12243 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN):
12244 Delete.
12245
455c8f48
RW
122462010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12247
12248 PR other/46202
12249 * Makefile.in (install-strip): New phony target.
12250
f3824a8b
ILT
122512010-11-07 Ian Lance Taylor <iant@google.com>
12252
12253 PR target/46089
12254 * config/i386/morestack.S (__morestack_large_model): New
12255 function.
12256
18ed6ee4
NF
122572010-10-23 Nathan Froyd <froydnj@codesourcery.com>
12258
12259 * config/libbid/bid_gcc_intrinsics.h (LIBGCC2_WORDS_BIG_ENDIAN):
12260 Delete.
12261 (LIBGCC2_FLOAT_WORDS_BIG_ENDIAN): Test __BYTE_ORDER__.
12262
8ac7fdcb
NF
122632010-10-14 Nathan Froyd <froydnj@codesourcery.com>
12264
12265 * config/arm/bpabi.h: New file.
12266 * config/frv/frv-abi.h: New file.
12267
cdb388c2
ILT
122682010-10-01 Ian Lance Taylor <iant@google.com>
12269
12270 * config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD.
12271 * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise.
12272
ef7c141c
L
122732010-10-01 H.J. Lu <hongjiu.lu@intel.com>
12274
12275 PR target/45858
12276 * config.host: Add the missing `$'.
12277
80920132
ME
122782010-09-30 Michael Eager <eager@eagercon.com>
12279
12280 * config.host: Add microblaze*-*-*.
12281 * config/microblaze/{divsi3.asm,divsi3_table.c,moddi3.asm,modsi3.asm,
12282 muldi3_hard.asm,mulsi3.asm,stack_overflow_exit.asm,t-microblaze,
12283 udivsi3.asm,umodsi3.asm}: New.
12284
6dace308
ILT
122852010-09-28 Ian Lance Taylor <iant@google.com>
12286
12287 * configure.ac: Adjust CFI test to test assembler directly rather
12288 than checking gcc preprocessor macro.
12289 * configure: Rebuild.
12290
b6110d6d
ILT
122912010-09-27 Ian Lance Taylor <iant@google.com>
12292
12293 * configure.ac: Test whether assembler supports CFI directives.
12294 * config.host: Only add t-stack and i386/t-stack-i386 to
12295 tmake_file if libgcc_cv_cfi is "yes".
12296 * configure: Rebuild.
12297
7458026b
ILT
122982010-09-27 Ian Lance Taylor <iant@google.com>
12299
12300 * generic-morestack.h: New file.
12301 * generic-morestack.c: New file.
12302 * generic-morestack-thread.c: New file.
12303 * config/i386/morestack.S: New file.
12304 * config/t-stack: New file.
12305 * config/i386/t-stack-i386: New file.
12306 * config.host (i[34567]86-*-linux* and friends): Add t-stack and
12307 i386/t-stack-i386 to tmake_file.
12308
5b50fc0c
IS
123092010-09-21 Iain Sandoe <iains@gcc.gnu.org>
12310
12311 * Makefile.in (libgcc-extra-parts): Check for static archives and
12312 invoke ranlib after installing them.
12313 (gcc-extra-parts): Likewise.
12314 (install-leaf): Likewise.
12315
b93cf342
L
123162010-09-14 H.J. Lu <hongjiu.lu@intel.com>
12317
12318 * configure: Regenerated.
12319
996b42ef
KT
123202010-09-10 Kai Tietz <kai.tietz@onevision.com>
12321
b93cf342 12322 * configure: Regenerated.
996b42ef 12323
be1c764e
GP
123242010-09-09 Gerald Pfeifer <gerald@pfeifer.com>
12325 Andrew Pinski <pinskia@gmail.com>
12326
1da9434b 12327 PR target/40959
be1c764e
GP
12328 * config.host (ia64*-*-freebsd*): Set extra_parts. Set tmake_file.
12329
cc0ae0ca
L
123302010-09-06 H.J. Lu <hongjiu.lu@intel.com>
12331
12332 PR target/45524
12333 * configure: Regenerated.
12334
84f47d20
AS
123352010-09-06 Andreas Schwab <schwab@redhat.com>
12336
12337 * configure: Regenerate.
12338
4159fb8d
UB
123392010-09-03 Uros Bizjak <ubizjak@gmail.com>
12340
12341 * config/i386/t-sol2 (__copysigntf3, __fabstf3): Disable for
12342 64bit targets.
12343 (__fixtfti, __fixunstfti, __floattitf, __floatuntitf): Enable only
12344 for 64bit targets.
12345
0df8fcc8
UB
123462010-09-03 Uros Bizjak <ubizjak@gmail.com>
12347 Iain Sandoe <iains@gcc.gnu.org>
12348
12349 PR target/45476
12350 * Makefile.in (sifuncs, difuncs, tifuncs): Filter out
12351 LIB2FUNCS_EXCLUDE functions.
12352
3c39bca6
AK
123532010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12354
12355 * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro.
12356 Include dfp.m4.
12357 * configure: Regenerate.
12358
d78552bd
UB
123592010-09-01 Uros Bizjak <ubizjak@gmail.com>
12360
12361 * config.host (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Add
12362 i386/t-freebsd to tmake_file.
12363 * config/i386/t-freebsd: New file.
12364 * config/i386/libgcc-bsd.ver: New file.
12365
c5b79d4e
NF
123662010-07-23 Nathan Froyd <froydnj@codesourcery.com>
12367
12368 * config.host (powerpc*-eabispe*): Set tmake_file.
12369 (powerpc*-eabi*): Likewise.
12370 * config/rs6000/t-ppccomm (EXTRA_PARTS): Add crtbegin, crtend,
12371 crtbeginS, crtendS, crtbeginT.
12372
48b09a92
KH
123732010-06-12 Kazu Hirata <kazu@codesourcery.com>
12374
12375 * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm
12376 to tmake_file. Add crtfastmath.o to extra_parts.
12377 * config/mips/t-crtfm: New.
12378
7d296953 123792010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com>
a4389204
JS
12380
12381 * config.host (sparc64-*-rtems*): New target.
12382
ed104137
RO
123832010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12384
12385 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12386 assembler syntax.
12387
3f56ef8b
TS
123882010-04-15 Thomas Schwinge <tschwinge@gnu.org>
12389
12390 * config.host <i[34567]86-*-gnu*>: Handle softfp as for Linux.
12391
8c200350
RO
123922010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12393
12394 * config.host (alpha*-dec-osf[45]*): Removed alpha*-dec-osf4*,
12395 alpha-dec-osf5.0* support.
12396
7d296953 123972010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org>
c1b14424
RC
12398
12399 * config.host: Add lm32-*-rtems*.
12400
f128db92 124012010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7d296953 12402 Uros Bizjak <ubizjak@gmail.com>
f128db92
RO
12403
12404 PR target/39048
12405 * config.host (i[34567]86-*-solaris2): Handle 32-bit Solaris 2/x86
12406 like other remaining 32-bit x86 OSes.
12407 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Support Sun
12408 assembler syntax.
12409 * config/i386/libgcc-sol2.ver: New file.
12410 * config/i386/t-sol2 (SHLIB_MAPFILES): Add it.
12411
7d296953 124122010-03-30 Jack Howarth <howarth@bromo.med.uc.edu>
368fabd5
JH
12413
12414 PR c/43553
12415 * Makefile.in (INTERNAL_CFLAGS): Add @set_use_emutls@.
12416 * configure.ac: Use GCC_CHECK_EMUTLS to see if emulated TLS
12417 is used and substitute set_use_emutls.
12418 * configure: Regenerated.
12419
15baf7f8
TG
124202010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr>
12421
12422 * config/lm32/t-lm32: Remove misplaced MULTILIB_OPTIONS.
12423
7f5441df
RO
124242010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
12425
12426 PR target/38085
12427 * config/i386/t-sol2 ($(T)gmon.o): Use CFLAGS instead of
12428 MULTILIB_CFLAGS.
12429 ($(T)gcrt1.o): Likewise.
12430 ($(T)crt1.o): Likewise.
12431 ($(T)crti.o): Likewise.
12432 ($(T)crtn.o): Likewise.
12433
ef74edbd
RW
124342010-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12435
12436 PR other/42980
12437 * Makefile.in (install): Use $(MAKE) string in rule, for
12438 parallel make.
12439
e7c914db
HPN
124402010-02-22 Hans-Peter Nilsson <hp@bitrange.com>
12441
12442 Migrate from broken pre-libgcc legacy support to libgcc-centric rules.
12443 * config/mmix/t-mmix: New file.
12444 * config.host <mmix-knuth-mmixware> (extra_parts, tmake_file): Set.
12445
1bcb71c4
JH
124462010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
12447
12448 PR java/41991
12449 * config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
12450 SHLIB_MAPFILES.
12451
e6e50811
AG
124522010-01-04 Anthony Green <green@moxielogic.com>
12453
12454 * config/moxie/crti.asm, config/moxie/crtn.asm,
12455 config/moxie/t-moxie-softfp, config/moxie/sfp-machine.h,
12456 config/moxie/t-moxie: New files.
12457 * config.host: Add t-moxie-softfp reference.
12458
7d296953 124592009-11-18 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
ca8520ad
IS
12460
12461 PR other/39888
12462 * config/t-slibgcc-darwin: Fix embedded rpaths for
12463 --enable-version-specific-runtime-libs, build extension stub
12464 libs exposing features available from current libgcc_s.
12465
7d296953 124662009-11-11 Jon Beniston <jon@beniston.com>
aa4945c1 12467
d78552bd
UB
12468 * config.host: Add lm32 targets.
12469 * config/lm32: New directory.
12470 * config/lm32/libgcc_lm32.h: New file.
12471 * config/lm32/_mulsi3.c: New file.
12472 * config/lm32/_udivmodsi4.c: New file.
12473 * config/lm32/_divsi3.c: New file.
12474 * config/lm32/_modsi3.c: New file.
12475 * config/lm32/_udivsi3.c: New file.
12476 * config/lm32/_umodsi3.c: New file.
12477 * config/lm32/_lshrsi3.S: New file.
12478 * config/lm32/_ashrsi3.S: New file.
12479 * config/lm32/_ashlsi3.S: New file.
12480 * config/lm32/crti.S: New file.
12481 * config/lm32/crtn.S: New file.
12482 * config/lm32/t-lm32: New file.
12483 * config/lm32/t-elf: New file.
12484 * config/lm32/t-uclinux: New file.
aa4945c1 12485
65a324b4
NC
124862009-10-26 Nick Clifton <nickc@redhat.com>
12487
12488 * config.host: Add support for RX target.
12489 * config/rx: New directory.
12490 * config/rx/rx-abi-functions.c: New file. Supplementary
12491 functions for libgcc to support the RX ABI.
12492 * config/rx/rx-abi.h: New file. Supplementary header file for
12493 libgcc RX ABI functions.
12494 * config/rx/t-rx: New file: Makefile fragment for building
12495 libgcc for the RX.
12496
dfb3b0e3
UB
124972009-10-09 Uros Bizjak <ubizjak@gmail.com>
12498
12499 * config/i386/32/sfp-machine.h (__FP_FRAC_SUB_4): Change operand
12500 constraint of y0 to "g".
12501
81dd9fd7
AK
125022009-10-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12503
12504 * config.host: Include the s390 makefile fragments.
12505 * config/s390/32/_fixdfdi.c: New file.
12506 * config/s390/32/_fixsfdi.c: New file.
12507 * config/s390/32/_fixtfdi.c: New file.
12508 * config/s390/32/_fixunsdfdi.c: New file.
12509 * config/s390/32/_fixunssfdi.c: New file.
12510 * config/s390/32/_fixunstfdi.c: New file.
12511 * config/s390/32/t-floattodi: New file.
12512 * config/s390/libgcc-glibc.ver: New file.
12513 * config/s390/t-crtstuff: New file.
12514 * config/s390/t-linux: New file.
12515 * config/s390/t-tpf: New file.
12516
df58e648
RW
125172009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12518
12519 * configure.ac (AC_PREREQ): Bump to 2.64.
12520
79052be3
KK
125212009-08-22 Kaz Kojima <kkojima@gcc.gnu.org>
12522
12523 * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.
12524
5213506e
RW
125252009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12526
12527 * configure: Regenerate.
12528
a9a25daa
DR
125292009-08-09 Douglas B Rupp <rupp@gnat.com>
12530
12531 * config.host (ia64-hp-*vms*): New target.
12532 (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
12533 with ia64-hp-*vms*.
12534
6efbd53f
RW
125352009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12536
12537 * configure.ac: Add snippet for maintainer-mode.
12538 * configure: Regenerate.
12539 * Makefile.in (AUTOCONF, configure_deps): New variables.
12540 ($(srcdir)/configure)): New rule, active only with maintainer
12541 mode turned on.
12542
7acf4da6
DD
125432009-06-23 DJ Delorie <dj@redhat.com>
12544
12545 Add MeP port.
12546 * config.host: Add mep support.
12547
54f549af
KT
125482009-06-22 Kai Tietz <kai.tietz@onevision.com>
12549
34481f28 12550 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12551 t-softfp to tmake_file for i[34567]86-*-mingw*, x86_64-*-mingw*.
34481f28
UB
12552
12553 * config/i386/64/_divtc3.c: Disable usage of .symver assembly symbol
12554 for mingw targets.
54f549af
KT
12555 * config/i386/64/_multc3.c: Likewise.
12556 * config/i386/64/_powitf2.c: Likewise.
12557 * config/i386/64/eqtf2.c: Likewise.
12558 * config/i386/64/getf2.c: Likewise.
12559 * config/i386/64/letf2.c: Likewise.
12560 * config/i386/64/letf2.c: Likewise.
34481f28
UB
12561 * config/i386/64/sfp-machine.h (_FP_W_TYPE): Define as
12562 unsigned long long for x64 mingw targets.
12563 (_FP_WS_TYPE): Define as signed long long for x64 mingw target.
12564 (_FP_I_TYPE): Define as long long for x64 mingw target.
54f549af 12565
fea96e25
MR
125662009-06-10 Maciej W. Rozycki <macro@linux-mips.org>
12567
12568 * config.host (vax-*-linux*): New.
12569
cceb575c
AG
125702009-05-31 Anthony Green <green@moxielogic.com>
12571
12572 * config.host: Add moxie support.
12573 * config/moxie/t-moxie: New file.
12574
7d296953 125752009-05-29 David Billinghurst <billingd@gcc.gnu.org>
e997fb9c
DB
12576
12577 * config.host: Add i386/${host_address}/t-fprules-softfp and
dfb3b0e3 12578 t-softfp to tmake_file for i[34567]86-*-cygwin*.
e997fb9c 12579
532bfb0a
AJ
125802009-04-17 Aurelien Jarno <aurelien@aurel32.net>
12581
12582 * config.host: Add i386/${host_address}/t-fprules-softfp to
12583 tmake_file for i[34567]86-*-kfreebsd*-gnu, x86_64-*-kfreebsd*-gnu*.
12584
748086b7
JJ
125852009-04-09 Nick Clifton <nickc@redhat.com>
12586
12587 * config/ia64/tf-signs.c: Change copyright header to refer to
12588 version 3 of the GNU General Public License with version 3.1
12589 of the GCC Runtime Library Exception and to point readers at
12590 the COPYING3 and COPYING3.RUNTIME files and the FSF's license
12591 web page.
12592 * config/i386/32/tf-signs.c: Likewise.
12593 * config/libbid/_addsub_dd.c: Likewise.
12594 * config/libbid/_addsub_sd.c: Likewise.
12595 * config/libbid/_addsub_td.c: Likewise.
12596 * config/libbid/_dd_to_df.c: Likewise.
12597 * config/libbid/_dd_to_di.c: Likewise.
12598 * config/libbid/_dd_to_sd.c: Likewise.
12599 * config/libbid/_dd_to_sf.c: Likewise.
12600 * config/libbid/_dd_to_si.c: Likewise.
12601 * config/libbid/_dd_to_td.c: Likewise.
12602 * config/libbid/_dd_to_tf.c: Likewise.
12603 * config/libbid/_dd_to_udi.c: Likewise.
12604 * config/libbid/_dd_to_usi.c: Likewise.
12605 * config/libbid/_dd_to_xf.c: Likewise.
12606 * config/libbid/_df_to_dd.c: Likewise.
12607 * config/libbid/_df_to_sd.c: Likewise.
12608 * config/libbid/_df_to_td.c: Likewise.
12609 * config/libbid/_di_to_dd.c: Likewise.
12610 * config/libbid/_di_to_sd.c: Likewise.
12611 * config/libbid/_di_to_td.c: Likewise.
12612 * config/libbid/_div_dd.c: Likewise.
12613 * config/libbid/_div_sd.c: Likewise.
12614 * config/libbid/_div_td.c: Likewise.
12615 * config/libbid/_eq_dd.c: Likewise.
12616 * config/libbid/_eq_sd.c: Likewise.
12617 * config/libbid/_eq_td.c: Likewise.
12618 * config/libbid/_ge_dd.c: Likewise.
12619 * config/libbid/_ge_sd.c: Likewise.
12620 * config/libbid/_ge_td.c: Likewise.
12621 * config/libbid/_gt_dd.c: Likewise.
12622 * config/libbid/_gt_sd.c: Likewise.
12623 * config/libbid/_gt_td.c: Likewise.
12624 * config/libbid/_isinfd128.c: Likewise.
12625 * config/libbid/_isinfd32.c: Likewise.
12626 * config/libbid/_isinfd64.c: Likewise.
12627 * config/libbid/_le_dd.c: Likewise.
12628 * config/libbid/_le_sd.c: Likewise.
12629 * config/libbid/_le_td.c: Likewise.
12630 * config/libbid/_lt_dd.c: Likewise.
12631 * config/libbid/_lt_sd.c: Likewise.
12632 * config/libbid/_lt_td.c: Likewise.
12633 * config/libbid/_mul_dd.c: Likewise.
12634 * config/libbid/_mul_sd.c: Likewise.
12635 * config/libbid/_mul_td.c: Likewise.
12636 * config/libbid/_ne_dd.c: Likewise.
12637 * config/libbid/_ne_sd.c: Likewise.
12638 * config/libbid/_ne_td.c: Likewise.
12639 * config/libbid/_sd_to_dd.c: Likewise.
12640 * config/libbid/_sd_to_df.c: Likewise.
12641 * config/libbid/_sd_to_di.c: Likewise.
12642 * config/libbid/_sd_to_sf.c: Likewise.
12643 * config/libbid/_sd_to_si.c: Likewise.
12644 * config/libbid/_sd_to_td.c: Likewise.
12645 * config/libbid/_sd_to_tf.c: Likewise.
12646 * config/libbid/_sd_to_udi.c: Likewise.
12647 * config/libbid/_sd_to_usi.c: Likewise.
12648 * config/libbid/_sd_to_xf.c: Likewise.
12649 * config/libbid/_sf_to_dd.c: Likewise.
12650 * config/libbid/_sf_to_sd.c: Likewise.
12651 * config/libbid/_sf_to_td.c: Likewise.
12652 * config/libbid/_si_to_dd.c: Likewise.
12653 * config/libbid/_si_to_sd.c: Likewise.
12654 * config/libbid/_si_to_td.c: Likewise.
12655 * config/libbid/_td_to_dd.c: Likewise.
12656 * config/libbid/_td_to_df.c: Likewise.
12657 * config/libbid/_td_to_di.c: Likewise.
12658 * config/libbid/_td_to_sd.c: Likewise.
12659 * config/libbid/_td_to_sf.c: Likewise.
12660 * config/libbid/_td_to_si.c: Likewise.
12661 * config/libbid/_td_to_tf.c: Likewise.
12662 * config/libbid/_td_to_udi.c: Likewise.
12663 * config/libbid/_td_to_usi.c: Likewise.
12664 * config/libbid/_td_to_xf.c: Likewise.
12665 * config/libbid/_tf_to_dd.c: Likewise.
12666 * config/libbid/_tf_to_sd.c: Likewise.
12667 * config/libbid/_tf_to_td.c: Likewise.
12668 * config/libbid/_udi_to_dd.c: Likewise.
12669 * config/libbid/_udi_to_sd.c: Likewise.
12670 * config/libbid/_udi_to_td.c: Likewise.
12671 * config/libbid/_unord_dd.c: Likewise.
12672 * config/libbid/_unord_sd.c: Likewise.
12673 * config/libbid/_unord_td.c: Likewise.
12674 * config/libbid/_usi_to_dd.c: Likewise.
12675 * config/libbid/_usi_to_sd.c: Likewise.
12676 * config/libbid/_usi_to_td.c: Likewise.
12677 * config/libbid/_xf_to_dd.c: Likewise.
12678 * config/libbid/_xf_to_sd.c: Likewise.
12679 * config/libbid/_xf_to_td.c: Likewise.
12680 * config/libbid/bid128.c: Likewise.
12681 * config/libbid/bid128_2_str.h: Likewise.
12682 * config/libbid/bid128_2_str_macros.h: Likewise.
12683 * config/libbid/bid128_2_str_tables.c: Likewise.
12684 * config/libbid/bid128_add.c: Likewise.
12685 * config/libbid/bid128_compare.c: Likewise.
12686 * config/libbid/bid128_div.c: Likewise.
12687 * config/libbid/bid128_fma.c: Likewise.
12688 * config/libbid/bid128_logb.c: Likewise.
12689 * config/libbid/bid128_minmax.c: Likewise.
12690 * config/libbid/bid128_mul.c: Likewise.
12691 * config/libbid/bid128_next.c: Likewise.
12692 * config/libbid/bid128_noncomp.c: Likewise.
12693 * config/libbid/bid128_quantize.c: Likewise.
12694 * config/libbid/bid128_rem.c: Likewise.
12695 * config/libbid/bid128_round_integral.c: Likewise.
12696 * config/libbid/bid128_scalb.c: Likewise.
12697 * config/libbid/bid128_sqrt.c: Likewise.
12698 * config/libbid/bid128_string.c: Likewise.
12699 * config/libbid/bid128_to_int16.c: Likewise.
12700 * config/libbid/bid128_to_int32.c: Likewise.
12701 * config/libbid/bid128_to_int64.c: Likewise.
12702 * config/libbid/bid128_to_int8.c: Likewise.
12703 * config/libbid/bid128_to_uint16.c: Likewise.
12704 * config/libbid/bid128_to_uint32.c: Likewise.
12705 * config/libbid/bid128_to_uint64.c: Likewise.
12706 * config/libbid/bid128_to_uint8.c: Likewise.
12707 * config/libbid/bid32_to_bid128.c: Likewise.
12708 * config/libbid/bid32_to_bid64.c: Likewise.
12709 * config/libbid/bid64_add.c: Likewise.
12710 * config/libbid/bid64_compare.c: Likewise.
12711 * config/libbid/bid64_div.c: Likewise.
12712 * config/libbid/bid64_fma.c: Likewise.
12713 * config/libbid/bid64_logb.c: Likewise.
12714 * config/libbid/bid64_minmax.c: Likewise.
12715 * config/libbid/bid64_mul.c: Likewise.
12716 * config/libbid/bid64_next.c: Likewise.
12717 * config/libbid/bid64_noncomp.c: Likewise.
12718 * config/libbid/bid64_quantize.c: Likewise.
12719 * config/libbid/bid64_rem.c: Likewise.
12720 * config/libbid/bid64_round_integral.c: Likewise.
12721 * config/libbid/bid64_scalb.c: Likewise.
12722 * config/libbid/bid64_sqrt.c: Likewise.
12723 * config/libbid/bid64_string.c: Likewise.
12724 * config/libbid/bid64_to_bid128.c: Likewise.
12725 * config/libbid/bid64_to_int16.c: Likewise.
12726 * config/libbid/bid64_to_int32.c: Likewise.
12727 * config/libbid/bid64_to_int64.c: Likewise.
12728 * config/libbid/bid64_to_int8.c: Likewise.
12729 * config/libbid/bid64_to_uint16.c: Likewise.
12730 * config/libbid/bid64_to_uint32.c: Likewise.
12731 * config/libbid/bid64_to_uint64.c: Likewise.
12732 * config/libbid/bid64_to_uint8.c: Likewise.
12733 * config/libbid/bid_b2d.h: Likewise.
12734 * config/libbid/bid_binarydecimal.c: Likewise.
12735 * config/libbid/bid_conf.h: Likewise.
12736 * config/libbid/bid_convert_data.c: Likewise.
12737 * config/libbid/bid_decimal_data.c: Likewise.
12738 * config/libbid/bid_decimal_globals.c: Likewise.
12739 * config/libbid/bid_div_macros.h: Likewise.
12740 * config/libbid/bid_dpd.c: Likewise.
12741 * config/libbid/bid_flag_operations.c: Likewise.
12742 * config/libbid/bid_from_int.c: Likewise.
12743 * config/libbid/bid_functions.h: Likewise.
12744 * config/libbid/bid_gcc_intrinsics.h: Likewise.
12745 * config/libbid/bid_inline_add.h: Likewise.
12746 * config/libbid/bid_internal.h: Likewise.
12747 * config/libbid/bid_round.c: Likewise.
12748 * config/libbid/bid_sqrt_macros.h: Likewise.
12749
127502009-04-09 Jakub Jelinek <jakub@redhat.com>
12751
12752 * Makefile.in: Change copyright header to refer to version
12753 3 of the GNU General Public License and to point readers at the
12754 COPYING3 file and the FSF's license web page.
12755 * config.host: Likewise.
12756
633dd061
AM
127572009-04-07 Alan Modra <amodra@bigpond.net.au>
12758
12759 * config.host: Reorder and merge to match config.gcc change.
12760
457d1d00
AM
127612009-04-03 Alan Modra <amodra@bigpond.net.au>
12762
12763 * config.host (powerpc-*-linux*altivec*, powerpc-*-linux*spe): Delete.
12764
52c0e446
JM
127652009-03-28 Joseph Myers <joseph@codesourcery.com>
12766
12767 * config.host (arm-*-coff*, armel-*-coff*, arm-semi-aof,
12768 armel-semi-aof, h8300-*-*, i[34567]86-*-aout*, i[34567]86-*-coff*,
12769 m68k-*-aout*, m68k-*-coff*, pdp11-*-bsd, rs6000-ibm-aix4.[12]*,
12770 powerpc-ibm-aix4.[12]*, sh-*-*): Remove.
12771
ba181049
UB
127722009-02-12 Uros Bizjak <ubizjak@gmail.com>
12773
12774 * config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
12775 * config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12776
c252db20
L
127772009-02-12 H.J. Lu <hongjiu.lu@intel.com>
12778
ba181049
UB
12779 * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
12780 ia64/t-softfp-compat to tmake_file.
c252db20
L
12781
12782 * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
12783
12784 * config/ia64/__divxf3.asm: New.
12785 * config/ia64/_fixtfdi.asm: Likewise.
12786 * config/ia64/_fixunstfdi.asm: Likewise.
12787 * config/ia64/_floatditf.asm: Likewise.
12788 * config/ia64/t-fprules-softfp: Likewise.
12789 * config/ia64/t-softfp-compat: Likewise.
12790 * config/ia64/tf-signs.c: Likewise.
12791
c60535f9
BE
127922009-01-18 Ben Elliston <bje@au.ibm.com>
12793
12794 * config/i386/32/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
12795
ce16861e
BE
127962009-01-16 Ben Elliston <bje@au.ibm.com>
12797
12798 * config.host (i[34567]86-*-linux*, x86_64-*-linux*): Add t-softfp
12799 to tmake_file.
12800
bcf4713b
BE
128012009-01-13 Ben Elliston <bje@au.ibm.com>
12802
12803 * config/t-softfp: New file.
12804 * config.host (powerpc64-*-linux*, powerpc64-*-gnu*): Add t-softfp.
12805 (powerpc-*-linux*spe*, powerpc-*-linux*): Likewise.
12806
7d296953 128072009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
2042cb04
JS
12808
12809 * config.host: Add m32r*-*-rtems*.
12810
7d296953 128112008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
541ed00e
JS
12812
12813 * config.host: Add m32c*-*-rtems*.
12814
19523300
RO
128152008-11-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12816
12817 PR bootstrap/33100
12818 * configure.ac (i?86-*-solaris2.1[0-9]*): Only include
12819 i386/t-crtstuff if linker supports ZERO terminator unwind entries.
12820 * configure: Regenerate.
12821 * config.host (i[34567]86-*-solaris2*): Move i386/t-sol2 in
12822 tmake_file here from gcc/config.gcc.
12823 Move extra_parts here from gcc/config.gcc.
12824 * config/i386/t-sol2: Move here from gcc/config/i386.
12825 Use gcc_srcdir instead of srcdir.
12826
0a4a51c7
AN
128272008-11-18 Adam Nemet <anemet@caviumnetworks.com>
12828
12829 * config.host (mipsisa64r2-*-elf* | mipsisa64r2el-*-elf*): New
12830 case.
12831
2a761e46
TS
128322008-11-09 Thomas Schwinge <tschwinge@gnu.org>
12833
12834 * config.host <t-tls>: Also enable for GNU/kFreeBSD and GNU/kNetBSD.
12835
c0451df7
TS
128362008-10-08 Thomas Schwinge <tschwinge@gnu.org>
12837
12838 * config.host: Fold `*-*-gnu*' cases into the Linux ones.
12839
358da97e
HS
128402008-09-03 Hari Sandanagobalane <hariharan@picochip.com>
12841
12842 Add picoChip port.
12843 * config.host: Add picochip-*-*.
12844
c660f132
BW
128452008-08-06 Bob Wilson <bob.wilson@acm.org>
12846
12847 * config.host: Match more processor names for Xtensa.
12848
d1349557
L
128492008-07-08 H.J. Lu <hongjiu.lu@intel.com>
12850
12851 * config/i386/64/t-softfp-compat: Update comments.
12852
dd7b73c0
L
128532008-07-07 H.J. Lu <hongjiu.lu@intel.com>
12854
12855 * config/i386/64/_divtc3-compat.c: Moved to ...
12856 * config/i386/64/_divtc3.c: Here.
12857
12858 * config/i386/64/_multc3-compat.c: Moved to ...
12859 * config/i386/64/_multc3.c: Here.
12860
12861 * config/i386/64/_powitf2-compat.c: Moved to ...
12862 * config/i386/64/_powitf2.c: Here.
12863
12864 * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add
12865 .c suffix instead of -compat.c.
12866
6e1fab3d
UB
128672008-07-05 Uros Bizjak <ubizjak@gmail.com>
12868
12869 * config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove.
12870 (_FP_MUL_MEAT_D): Ditto.
12871 (_FP_DIV_MEAT_S): Ditto.
12872 (_FP_DIV_MEAT_D): Ditto.
12873
f92518d7
RS
128742008-07-03 Richard Sandiford <rdsandiford@googlemail.com>
12875
12876 * Makefile.in: Add support for __sync_* libgcc functions.
12877
d0aede14
L
128782008-07-03 H.J. Lu <hongjiu.lu@intel.com>
12879
12880 * shared-object.mk ($(base)_s$(objext)): Remove -DSHARED.
12881
c174f11c
L
128822008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12883
12884 PR boostrap/36702
12885 * config.host: Only include 32bit t-fprules-softfp for Darwin/x86
12886 and Linux/x86. Include 64bit t-softfp-compat for Linux/x86.
12887
12888 * config/i386/64/t-fprules-softfp: Moved to ...
12889 * config/i386/64/t-softfp-compat: This. New.
12890
5f464fa2
UB
128912008-07-02 Uros Bizjak <ubizjak@gmail.com>
12892
12893 * config/i386/32/sfp-machine.h (FP_HANDLE_EXCEPTIONS) [FP_EX_INVALID]:
12894 Initialize f with 0.0.
12895
ff473280
L
128962008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12897
12898 PR target/36669
12899 * shared-object.mk ($(base)_s$(objext)): Add -DSHARED.
12900
12901 * config/i386/64/_divtc3-compat.c: New.
12902 * config/i386/64/_multc3-compat.c: Likewise.
12903 * config/i386/64/_powitf2-compat.c: Likewise.
12904 * config/i386/64/eqtf2.c: Likewise.
12905 * config/i386/64/getf2.c: Likewise.
12906 * config/i386/64/letf2.c: Likewise.
12907 * config/i386/64/t-fprules-softfp: Likewise.
12908
129092008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12910
12911 * config.host: Add i386/${host_address}/t-fprules-softfp to
12912 tmake_file for i[34567]86-*-darwin*, x86_64-*-darwin*,
dfb3b0e3 12913 i[34567]86-*-linux*, x86_64-*-linux*.
ff473280
L
12914
12915 * configure.ac: Set host_address to 64 or 32 for x86.
12916 * configure: Regenerated.
12917
12918 * Makefile.in (config.status): Also depend on
12919 $(srcdir)/config.host.
12920
12921 * config/i386/32/t-fprules-softfp: New.
12922 * config/i386/32/tf-signs.c: Likewise.
12923
12924 * config/i386/64/sfp-machine.h: New. Moved from gcc.
12925
129262008-07-02 H.J. Lu <hongjiu.lu@intel.com>
12927 Uros Bizjak <ubizjak@gmail.com>
12928
12929 * config/i386/32/sfp-machine.h: New.
12930
30551d99
NF
129312008-06-26 Nathan Froyd <froydnj@codesourcery.com>
12932
12933 * config/rs6000/t-ppccomm: Remove rules that conflict with
12934 auto-generated rules.
12935
18c04407
RW
129362008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12937
12938 * configure.ac: sinclude override.m4.
12939 * configure: Regenerate.
12940
10fbe77a
BRF
129412008-06-11 Bernhard Fischer <aldot@gcc.gnu.org>
12942
12943 * configure: Regenerate.
12944
bc6d4c3f
JM
129452008-06-10 Joseph Myers <joseph@codesourcery.com>
12946
12947 * Makefile.in (DECNUMINC): Remove
12948 -I$(MULTIBUILDTOP)../../libdecnumber.
12949 * gstdint.h: New.
12950
cd985f66
JM
129512008-06-07 Joseph Myers <joseph@codesourcery.com>
12952
12953 * config.host (strongarm*-*-*, ep9312*-*-*, xscale-*-*,
12954 parisc*-*-*, m680[012]0-*-*, *-*-linux*libc1*, *-*-linux*aout*,
12955 alpha*-*-unicosmk*, strongarm*-*-freebsd*, ep9312-*-elf,
12956 arm*-*-kaos*, cris-*-aout, parisc*64*-*-linux*, parisc*-*-linux*,
12957 hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
12958 i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
12959 i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-sco3.2v5*,
12960 i[34567]86-*-sysv5*, i[34567]86-*-sysv4*, i[34567]86-*-uwin*,
12961 i[34567]86-*-kaos*, m68020-*-elf*, m68010-*-netbsdelf*,
12962 mips-wrs-windiss, mt-*-elf, powerpc-*-beos*, powerpc-*-chorusos*,
12963 powerpc-wrs-windiss*, powerpcle-*-sysv*, powerpc-*-kaos*,
12964 powerpcle-*-kaos*, sh*-*-kaos*, sparc-*-sysv4*, strongarm-*-elf*,
12965 strongarm-*-pe, strongarm-*-kaos*, vax-*-bsd*, vax-*-sysv*,
12966 vax-*-ultrix*, xscale-*-elf, xscale-*-coff): Remove.
12967
93fea8d3
AL
129682008-05-25 Arthur Loiret <arthur.loiret@u-psud.fr>
12969
12970 * config.host (sh2[lbe]*-*-linux*): Allow target.
12971
18724e30
NF
129722008-04-30 Nathan Froyd <froydnj@codesourcery.com>
12973
12974 * config/rs6000/t-ppccomm: Add build rules for new files.
12975 (LIB2ADD_ST): New variable.
12976
47583040
AH
129772008-04-07 Andy Hutchinson <hutchinsonandy@aim.com>
12978
12979 PR target/34210
12980 PR target/35508
12981 * config.host (avr-*-*): Add avr cpu_type and avr tmake_file.
12982 * config/t-avr: New file. Build 16bit libgcc functions.
12983
cf8e67fe
JJ
129842008-03-02 Jakub Jelinek <jakub@redhat.com>
12985
12986 PR target/35401
12987 * config/t-slibgcc-darwin: Make install-leaf dependent on
12988 install-darwin-libgcc-stubs instead of install.
12989
8d8da227
JM
129902008-01-25 Joseph Myers <joseph@codesourcery.com>
12991
12992 * config.host (tic4x-*-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*,
12993 tic4x-*, h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
12994 sh-*-rtemscoff*): Remove cases.
12995
edbf8b16
RS
129962007-12-27 Richard Sandiford <rsandifo@nildram.co.uk>
12997
12998 * Makefile.in (all): Use install-leaf rather than install.
12999 (install): Split most of the rule into...
13000 (install-leaf): ...this new one.
13001
89deeaff
EK
130022007-12-19 Etsushi Kato <ek.kato@gmail.com>
13003 Paolo Bonzini <bonzini@gnu.org>
13004
13005 PR target/30572
5f464fa2
UB
13006 * Makefile.in: Use @shlib_slibdir@ substitution to get
13007 correct install name on darwin.
89deeaff 13008 * config/t-slibgcc-darwin: Use @shlib_slibdir@ for -install_name.
dfb3b0e3 13009
4081d704
HPN
130102007-12-15 Hans-Peter Nilsson <hp@axis.com>
13011
13012 * config.host (crisv32-*-elf, crisv32-*-none): New, same as
13013 cris-*-elf and cris-*-none.
13014 (crisv32-*-linux*): Similar, as cris-*-linux*.
13015
f43e89a3
RIL
130162007-11-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
13017
13018 * config.host (ia64*-*-elf*): Build ia64 specific libgcc parts.
13019
b4e9c2c6
L
130202007-10-27 H.J. Lu <hongjiu.lu@intel.com>
13021
13022 PR regression/33926
13023 * configure.ac: Replace have_cc_tls with gcc_cv_have_cc_tls.
13024 * configure: Regenerated.
13025
b2a00c89
L
130262007-09-27 H.J. Lu <hongjiu.lu@intel.com>
13027
13028 * Makefile.in (dfp-filenames): Replace decimal_globals,
13029 decimal_data, binarydecimal and convert_data with
13030 bid_decimal_globals, bid_decimal_data, bid_binarydecimal
13031 and bid_convert_data, respectively.
13032
8d2a9e0e
CF
130332007-09-17 Chao-ying Fu <fu@mips.com>
13034 Nigel Stephens <nigel@mips.com>
13035
13036 * fixed-obj.mk: New file to support fine-grain fixed-point functions.
13037 * Makefile.in (fixed_point): Define.
13038 Check if fixed_point is yes to build support functions.
13039 * configure.ac: Check for fixed_point support.
13040 * configure: Regenerated.
13041 * gen-fixed.sh: New file to generate lists of fixed-point labels,
13042 funcs, modes, from, to.
13043
2b53935d
JJ
130442007-09-11 Janis Johnson <janis187@us.ibm.com
13045
13046 * Makefile.in (dfp-filenames): Add bid128_noncomp.
13047
2533577f
JJ
130482007-09-10 Janis Johnson <janis187@us.ibm.com>
13049
13050 * Makefile.in (dfp-filenames): Remove decUtility, add
13051 decDouble, decPacked, decQuad, decSingle.
13052
3ae3dbd6
HK
130532007-08-27 Hans Kester <hans.kester@ellips.nl>
13054
13055 * config.host : Add x86_64-elf target.
13056
22867d02
L
130572007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13058
13059 * configure.ac (set_have_cc_tls): Add a missing =.
13060 * configure: Regenerated.
13061
6f461e76
L
130622007-07-06 H.J. Lu <hongjiu.lu@intel.com>
13063
13064 * config.host (tmake_file): Add t-tls for i[34567]86-*-linux*
13065 and x86_64-*-linux*.
13066
13067 * config/t-tls: New file.
13068
dfb3b0e3 13069 * Makefile.in (INTERNAL_CFLAGS): Add @set_have_cc_tls@.
6f461e76
L
13070
13071 * configure.ac: Include ../config/enable.m4 and
13072 ../config/tls.m4. Use GCC_CHECK_CC_TLS to check if assembler
13073 supports TLS and substitute set_have_cc_tls.
13074 * configure: Regenerated.
13075
200359e8
L
130762007-07-04 H.J. Lu <hongjiu.lu@intel.com>
13077
13078 * Makefile.in: Use libbid for DFP when BID is enabled.
13079
76f5e200
DS
130802007-06-14 Danny Smith <dannysmith@users.sourceforge.net>
13081
13082 * config.host(*-cygwin* |*-mingw* ): Add crtbegin.o, crtend.o to
dfb3b0e3 13083 extra_parts. Add config/i386/t-cygming to tmake_file.
76f5e200
DS
13084 * config/i386/t-cygming: New file with rules for crtbegin.o, crtend.o.
13085
9bd196f0 130862007-05-29 Zuxy Meng <zuxy.meng@gmail.com>
200359e8 13087 Danny Smith <dannysmith@users.sourceforge.net>
9bd196f0
ZM
13088
13089 PR target/29498
13090 * config.host (i[34567]86-*-cygwin* | i[34567]86-*-mingw*) Add
13091 crtfastmath.o to extra_parts. Add i386/t-crtfm to tmake_file.
13092 * config/i386/t-crtfm: Compile crtfastmath.o with
13093 -minline-all-stringops.
13094
1910440e
RS
130952007-05-10 Richard Sandiford <richard@codesourcery.com>
13096
13097 * config.host (sparc-wrs-vxworks): New target.
13098
7d33c31d
KH
130992007-04-14 Kazu Hirata <kazu@codesourcery.com>
13100
13101 * config.host: Recognize fido.
13102
96fccd0d
JJ
131032007-04-04 Janis Johnson <janis187@us.ibm.com>
13104
13105 * configure: Check host, not target, for decimal float support.
13106
577565f9
UB
131072007-04-03 Uros Bizjak <ubizjak@gmail.com>
13108
13109 * config/i386/t-crtpc: New file.
13110 * config.host (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file.
5f464fa2 13111 (x86_64-*-linux*): Ditto.
577565f9 13112
ccf8e764
RH
131132007-02-30 Kai Tietz <kai.tietz@onevision.com>
13114
13115 * config.host (x86_64-*-mingw*): New target.
13116
79b87c74
MM
131172007-03-23 Michael Meissner <michael.meissner@amd.com>
13118 H.J. Lu <hongjiu.lu@intel.com>
13119
13120 * Makefile.in (enable_decimal_float): New.
13121 (DECNUMINC): Add
13122 -I$(srcdir)/../libdecnumber/$(enable_decimal_float).
13123 (dec-objects): Move decimal32, decimal64 and decimal128 to ...
13124 (decbits-filenames): This.
13125 (decbits-objects): New.
13126 (libgcc-objects): Add $(decbits-objects).
13127
13128 * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}.
13129 Substitute enable_decimal_float.
13130 * configure: Regenerated.
13131
8fce4e31
HPN
131322007-03-19 Hans-Peter Nilsson <hp@axis.com>
13133
13134 * config.host (cris-*-elf | cris-*-none): Set extra_parts.
13135
e8bb4597
BM
131362007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
13137
13138 * Makefile.in (install-info): New dummy target.
13139
344189f9
BS
131402007-03-05 Bernd Schmidt <bernd.schmidt@analog.com>
13141
13142 * config.host (bfin*-linux-uclibc*): Set extra_parts.
13143
ac84c172
BM
131442007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
13145
13146 * Makefile.in: Add install-html and install-pdf dummy
13147 targets.
13148
cd5c2357
RS
131492007-02-05 Roger Sayle <roger@eyesopen.com>
13150 Daniel Jacobowitz <dan@codesourcery.com>
13151
13152 * Makefile.in <LIBUNWIND>: Make libgcc_s.so depend on libunwind.so.
13153 (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK).
13154 (libunwind.so): Likewise for $(SHLIBUNWIND_LINK).
13155
d9a66f98
JJ
131562007-01-29 Janis Johnson <janis187@us.ibm.com>
13157
13158 * Makefile.in (dec-filenames): Add decExcept.
13159
9891ec5f
DJ
131602007-01-28 Daniel Jacobowitz <dan@codesourcery.com>
13161
13162 PR bootstrap/30469
13163 * Makefile.in (CFLAGS): Forcibly remove -fprofile-generate and
13164 -fprofile-use.
13165
d6efbf5a
DJ
131662007-01-25 Daniel Jacobowitz <dan@codesourcery.com>
13167
13168 * configure.ac: Add --enable-version-specific-runtime-libs.
13169 Correct $slibdir default.
13170 * configure: Regenerated.
13171
17caeff2
JM
131722007-01-23 Joseph Myers <joseph@codesourcery.com>
13173
13174 * config/rs6000/t-ldbl128: Always use -mlong-double-128.
13175
5ea41e3a
AP
131762007-01-21 Andrew Pinski <pinskia@gmail.com>
13177
13178 PR target/30519
13179 * config.host (alpha*-*-linux*): Set extra_parts.
13180
26900826
KK
131812007-01-09 Kaz Kojima <kkojima@gcc.gnu.org>
13182
13183 * config/sh/t-linux: New.
13184 * config.host (sh*-*-linux*): Set tmake_file.
13185
97af925b
DJ
131862007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
13187
13188 * Makefile.in (install): Handle multilibs.
13189
b0088af7
BM
131902007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13191
13192 * Makefile.in: Added .PHONY entry for documentation targets.
13193
e0a9456a
BM
131942007-01-04 Brooks Moses <brooks.moses@codesourcery.com>
13195
13196 * Makefile.in: Add empty info, html, dvi, pdf targets.
13197
7fd453b4
MS
131982007-01-04 Mike Stump <mrs@apple.com>
13199
13200 * Makefile.in (MAKEINFO): Remove.
13201 (PERL): Likewise.
13202
14e8fc8b
PB
132032007-01-04 Paolo Bonzini <bonzini@gnu.org>
13204
13205 * configure.ac: Add GCC_TOPLEV_SUBDIRS.
13206 * configure: Regenerate.
13207 * Makefile.in (host_subdir): Substitute it.
dfb3b0e3 13208 (gcc_objdir): Use it.
14e8fc8b 13209
1555beba
DJ
132102007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13211
13212 * config.host (ia64*-*-linux*): Set tmake_file.
13213
79e6eaeb
DJ
132142007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
13215
13216 * Makefile.in (version): Define.
13217
fa958513
DJ
132182007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
13219 Paolo Bonzini <bonzini@gnu.org>
13220
13221 * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
13222 config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
13223 config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
13224 config/sparc/t-crtfm, config/t-slibgcc-darwin,
13225 config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
13226 shared-object.mk, siditi-object.mk, static-object.mk: New files.
13227 * configure: Generated.
818ab71a 13228\f
68127a8e 13229Copyright (C) 2007-2023 Free Software Foundation, Inc.
818ab71a
JJ
13230
13231Copying and distribution of this file, with or without modification,
13232are permitted in any medium without royalty provided the copyright
13233notice and this notice are preserved.